Skip to Content

Config reference

The config file is justshipped.config.yaml at the root of the repository, or the file named by --config. It is optional, and so is every key in it: with no file, values are inferred from the repository (the app name from package.json or the folder, the release tool from its own config files, the forge from the origin remote). justshipped init writes the inferred values out as a file to edit.

A complete example for the invented habit tracker Pebble is in examples/pebble/justshipped.config.yaml. A short one:

app:
  name: Pebble
  site: https://pebble.example.com
voice:
  tone: Warm and plain. Short sentences.
outputs:
  social: { channels: [bluesky] }
  email: true

The tables below are written by bun run gen:schemas from the config's JSON Schema (packages/sdk/schemas/config.schema.json); bun run check:schemas fails when they are stale. Do not edit them by hand. The text around them is written by hand. Point your editor at the schema file to get completion and checking while you type.

justshipped doctor reports a config that is not valid, with the path of each problem.

app

Who the notes are about and who reads them.

KeyTypeDefaultAllowed
appobject
app.namestringnot empty
app.sitestringa URL
app.audiencestring
app.audienceslist of string["public","internal"]not empty; at least 1
  • name appears in headings, feed titles and image fields. Inferred from the repository when unset.
  • site is the link used in feeds and whats-new.json.
  • audience is one or two sentences describing the readers. It goes to the writing model as part of the voice.
  • audiences are the groups a change can be sorted into. Only public changes reach the notes; add your own (for example admins) to sort changes further in the studio.

voice

How the text should sound. Only used when a model writes.

KeyTypeDefaultAllowed
voiceobject
voice.tonestring
voice.ruleslist of string[]
voice.banned_wordslist of string[]
voice.glossarymap of string to list of string{}
voice.exampleslist of string[]
voice.profilestringnot empty
voice.languagesmap of string to object
  • tone and rules are plain sentences handed to the model.
  • banned_words must not appear in any output. Text that uses one is sent back to the model to rewrite.
  • glossary maps a preferred term to the alternatives that must not be used: check-in: [log, entry] means "say check-in, never log or entry".
  • examples are paths, relative to the repository and inside it, to past notes you like. They are shown to the model as the style to match, up to a total length cap.
  • profile is the path, relative to the repository and inside it, of your voice profile. Default: justshipped.voice.md beside the config file. See below.
  • languages adds checks for each language after the first, by language tag: languages.fr.banned_words and languages.fr.glossary apply to the French text beside banned_words and glossary above (a glossary term set for the language wins). See Languages.

Learning your voice

The voice profile is a short Markdown file of notes on how you write: tone, words you use and avoid, length and structure. You can write it yourself, or let Just Shipped learn it from the edits you made to past notes. Each time a model writes (the text, and the designs of the images), the profile goes into the prompt after the settings above. With no file, nothing changes.

justshipped voice learn                  # print a proposed profile, save nothing
justshipped voice learn --write          # save it to the profile's path
justshipped voice learn --since 1.4.0    # learn only from bundles made since 1.4.0

voice learn reads every bundle of this app under bundle_dir, takes each edit you made to a Markdown or text file together with the text the tool wrote before it, and sends them to the configured write model in one call, counted against model.max_tokens. It prints the proposal, and saves it only with --write; the studio's Settings → Voice does the same with Learn from my edits and saves only when you choose Save. With --no-ai, or with no model set up, it says so and does nothing. A rewrite the studio's model made for you is not learned from, and neither is an edit that repeats a security or embargoed change's title or link, or holds anything shaped like a credential.

An edit's "before" text is kept in release.json beside the edit (overrides[].generated). An edit saved in the studio records the text it replaced at once. An edit made in any other editor (or kept from an older version of Just Shipped) records it the next time generate runs, as what the tool writes for that file in that run; until then it is skipped.

The profile is checked each time it is read and before it is saved: at most 4 KB, no links, nothing shaped like a credential, and a path inside the repository through no symlink. A profile that fails is not used, with a warning.

brand

The look of generated images. Unset values fall back to a dark default.

KeyTypeDefaultAllowed
brandobject
brand.colorsobject
brand.colors.primarystringmatches ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
brand.colors.accentstringmatches ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
brand.colors.inkstringmatches ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
brand.colors.paperstringmatches ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
brand.fontsobject
brand.fonts.headingobject
brand.fonts.heading.filestringrequired
brand.fonts.heading.namestringrequired
brand.fonts.bodyobject
brand.fonts.body.filestringrequired
brand.fonts.body.namestringrequired
brand.fonts.fallbacklist of object
brand.fonts.fallback[].filestringrequired
brand.fonts.fallback[].namestringrequired
brand.logostring
  • colors.ink is the background, colors.paper the text, colors.accent the highlight. colors.primary stands in for accent when accent is unset.
  • fonts.heading and fonts.body each name a font file (file, a TTF or OTF path inside the repository) and the family name templates use.
  • fonts.fallback lists more fonts (TTF, OTF or WOFF, inside the repository), tried in order for characters the others lack, such as another script's for a translated image. A character no font has draws as the missing glyph, and the run warns with its code point.
  • logo is an image path inside the repository.

After changing any of these, justshipped render draws the images of an existing bundle again.

Finding the brand in the repository

justshipped brand looks through the repository for the app's own logo, colors and fonts and prints each value with the file it came from. justshipped init fills brand the same way, and the studio's Find my brand in Settings → Brand shows the same values to pick from.

justshipped brand                  # print what was found, and where
justshipped brand --write          # save it under brand in the config
justshipped brand --write --force  # also replace values already set
justshipped brand --json           # what was found, as JSON

--write keeps every value the config already sets unless --force is given, keeps the comments already in a YAML config, and puts a comment naming the source above each value it writes. With no config file it creates justshipped.config.yaml.

Where it looks:

ValuePlaces
logoFiles named logo*, wordmark*, mark* or icon* (SVG and PNG first) in brand/, assets/, public/, static/, docs/, .github/ and similar folders; the first local image at the top of the README; the largest icon of a web manifest; favicons and Apple touch icons; the largest icon of an iOS AppIcon.appiconset; the largest Android ic_launcher.
colors.primary, colors.accentCSS, Sass and Less variables such as --brand, --primary, --accent (light theme first); primary, brand, accent and secondary in a Tailwind config; a web manifest's theme_color; <meta name="theme-color">; an iOS AccentColor.colorset; Android colorPrimary and colorAccent or colorSecondary. Grays are not taken as a brand color.
colors.ink, colors.paper--background and --foreground style variables and a web manifest's background_color. They are chosen so text on the background meets WCAG AA contrast. When only a primary color is found, both are derived from it, and the output says so.
fonts.heading, fonts.bodyThe families used on headings and on the page in CSS, --font-heading and --font-sans style variables, and Tailwind's fontFamily, matched to a local TTF, OTF or WOFF file through @font-face or the file name. Images cannot use WOFF2 or a web font: when that is all there is, the family is reported with a note that a TTF or OTF file is needed.

Only local files are read, and nothing is fetched. A Tailwind config is read as text, never imported or run. Dependency, build, cache and vendored folders (node_modules, dist, build, vendor, hidden folders other than .github, and the like) are skipped, symbolic links are never followed, and the walk stops after a fixed number of folders, files and bytes per file.

model

Which AI provider sorts the changes and writes the text. See Getting started.

KeyTypeDefaultAllowed
modelobject
model.providerstringanthropic, openai, google, openrouter, ollama, claude-code, codex
model.classify_modelstring
model.write_modelstring
model.api_key_envstringmatches ^[A-Za-z_][A-Za-z0-9_]*$
model.base_urlstring or nulla URL
model.send_diffsbooleanfalse
model.exclude_pathslist of string[".env*","**/secrets/**"]
model.max_tokensintegermore than 0
  • provider: with none set, the first of ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, OPENROUTER_API_KEY that is set picks it. With no key either, the run uses rules only and says so once. A provider named here whose key is missing is an error (exit 5); pass --no-ai for a rules-only run. claude-code runs the Claude Code CLI installed on your computer, on your own subscription, with no key. codex does the same with the Codex CLI and your ChatGPT plan. ollama talks to http://localhost:11434 and needs no key.
  • classify_model and write_model override the provider's default model ids for sorting and for writing.
  • api_key_env is the name of the environment variable holding the key, never the key itself.
  • base_url points openai at any endpoint that serves the OpenAI Responses API, or ollama at another host.
  • send_diffs sends code diffs to the model. Off by default: only titles, bodies and paths are sent. exclude_paths are never sent even when it is on.
  • max_tokens is the token budget of one run, shared by every stage. It is checked before each model call, not inside one, so the call that crosses it still finishes and the run's total can end a little above it. Once it is reached, the remaining stages run by rules with a warning.

release

How versions and ranges are found.

KeyTypeDefaultAllowed
releaseobject
release.tag_patternstring
release.pathslist of string[]
release.version_sourcestringtag, package_json, build_number, date
release.toolstringrelease-please, changesets, semantic-release, none
release.prereleaseobject
release.prerelease.socialbooleanfalse
release.prerelease.storebooleanfalse
release.untaggedobject
release.untagged.modestring"marker"marker, bundle, explicit
release.untagged.marker_refstring"justshipped/{app}/last"
release.untagged.version_formatstring"YYYY.MM.DD"
  • tag_pattern picks this app's tags in a monorepo, such as web@* or api/v*. By default both v1.2.3 and 1.2.3 are release tags.
  • paths limits the release to changes touching these folders or globs.
  • version_source says where the version comes from when the end of the range has no release tag: package_json reads version from package.json, date formats the commit date, and build_number treats tags as build numbers.
  • tool is the release tool that opens your release pull request. Inferred when unset.
  • prerelease.social and prerelease.store turn those outputs on for pre-release versions, which skip them by default.
  • untagged is for continuous deployment with no tags. mode: marker starts each release where the last run ended, kept in the git ref marker_ref ({app} is replaced by the app name); bundle starts after the newest bundle on disk; explicit requires --from. version_format builds the version from the commit date.

See Release flow.

sources

Where changes are collected from. Each entry names a plugin and carries that plugin's own settings.

KeyTypeDefaultAllowed
sourceslist of object[{"plugin":"git"}]plus the plugin's own settings
sources[].pluginstringrequired; not empty
sources[].idstringnot empty

First-party sources: git, github, gitlab, gitea (also Forgejo), linear, jira, shortcut, sentry, posthog (feature usage, see below), and exec for a program of your own. With no sources, git is used, plus the forge of the origin remote when its token is set. justshipped plugins lists every plugin and checks the settings of the configured ones.

sources:
  - plugin: git
  - plugin: github # the repository comes from the origin remote
  - plugin: linear
    team: PEB

Tickets

Ticket sources collect nothing on their own. After every source has collected, each one is handed the references the collected changes name, looks up only those tickets (never a listing), and adds each as a change linked to the changes that named it. A ticket linked to a security, embargoed or excluded change is hidden with it. Ticket text is untrusted, like a commit message: it reaches a model only inside a data block.

SourceReferencesSettings
linearPEB-123 for the team keysteam, token_env (LINEAR_API_KEY)
jiraPEB-123 for the project keyshost (the Jira Cloud site, https only), project (key or list), email_env (JIRA_EMAIL), token_env (JIRA_API_TOKEN), max_tickets (50)
shortcutsc-123, [sc-123], and app.shortcut.com/<workspace>/story/123 linkstoken_env (SHORTCUT_API_TOKEN), workspace (only this workspace's links count), max_tickets (50)
github#123, fixes #123, owner/repo#123 that are issues, not pull requestsissue_repos (other repositories whose issues may be named; repo is always included), max_tickets (50)
sentryshort ids of the projects (PEBBLE-1Z) and issue links on the host (https://pebble-example.sentry.io/issues/4501/, /organizations/<org>/issues/4501/)org, projects (slug or list), host (https://sentry.io; a region such as https://de.sentry.io or your own, https only), token_env (SENTRY_AUTH_TOKEN, scope event:read), min_users (10), max_tickets (50)
sources:
  - plugin: git
  - plugin: github
    issue_repos: [example/pebble-docs]
  - plugin: jira
    host: https://pebble-example.atlassian.net # an invented site
    project: [PEB, WEB]
  - plugin: shortcut
    workspace: pebble
  - plugin: sentry
    org: pebble-example # an invented organization
    projects: pebble
  • Jira, Shortcut, GitHub issue and Sentry lookups are read-only GET requests, at most max_tickets per source in a run; references past the cap are skipped with a warning.
  • With a token (or, for Jira, the email) unset, the source warns once, naming the variable, and the run goes on without its tickets.
  • A key two trackers claim, such as a Linear team and a Jira project both called PEB (or a Jira project SC beside Shortcut), is ambiguous: the run warns and looks its references up in neither.
  • Sentry adds counts only: how many people an issue reached and how many times it happened, its first and last day seen, and its level. It never reads the issue's title, message, culprit, stack, tags or user data, which can hold personal data; the ticket's title is a fixed phrase such as Crash report PEBBLE-1Z. An issue that reached at least min_users people gets an impact on its change; the writer may then mention it, rounded ("a crash that hit about 1,200 people"), and claim checks accept those numbers: a count of people only from the people count, a count of crashes or times only from the event count, and "hundreds", "thousands" or "millions" only for a count in that range. Under min_users the issue is still linked, with no impact, and it is never mentioned.
  • Sentry is optional: when a lookup fails (an HTTP error, a redirect to another region, an unexpected reply), the run warns once with the status and host and goes on without those issues' impact.
  • A number a change itself names as its pull request ((#12) in a squash subject) is not looked up as an issue, and one that turns out to be a pull request is skipped.

Feature usage

With rules.features and an analytics source, an item touching a much-used feature ranks above one few people use. Each feature names the analytics events that count its use and the paths (globs or folders) or labels of the changes that touch it; nothing is guessed from commit messages or ticket text.

sources:
  - plugin: git
  - plugin: posthog
    host: https://eu.posthog.com # default https://us.posthog.com; any https host for self-hosted
    project_id: 4242
rules:
  features:
    - name: streak-levels
      paths: [src/streaks]
      events: [streak_level_up]
    - name: reminders
      labels: [area:reminders]
      events: [reminder_snoozed, reminder_sent]
posthog settingDefault
hosthttps://us.posthog.comhttps only, no path. The key is sent here.
project_idrequired: the project's number
token_envPOSTHOG_PERSONAL_API_KEYa personal API key with the Query Read scope
max_queries20the most events counted in a run, one query each
  • Counts only. For each event of a feature some item touches, one read-only query asks how many times it happened and for how many distinct people, over the time from the previous release's commit to this one's (the 30 days before it for a first release). No person, property, session, URL or event data is asked for or kept. The query text is fixed; event names and dates are passed as query values.
  • How it ranks. An item's usage is the sum over the features it touches. Items of equal importance are ordered by usage (people, then events). An item whose people count is at least half the release's highest is raised one importance step (up to 5). Usage never lowers an item, since a new feature has no use yet, and never changes an item whose importance a person or a label decided. Each item's counts, features, window and the reason it was or was not raised are recorded in release.json (items[].usage).
  • The writing model sees an item's two numbers beside it, rounded, to judge what matters most, and is told not to quote them: they are your own analytics, which you may not want public, so the claim check does not accept them either.
  • With the key unset, the source warns once and the run goes on without usage. A failed query warns and the items are ranked without it. Redirects are not followed.

rules

How changes are sorted before, or without, a model. The order is: a person's overrides, labels, these rules, then the model.

KeyTypeDefaultAllowed
rulesobject
rules.internal_commit_typeslist of string["chore","ci","test","docs","build","refactor","style"]
rules.internal_pathslist of string[]
rules.internal_authorslist of string["renovate[bot]","dependabot[bot]"]
rules.labelsobject
rules.labels.publicstring"release:public"
rules.labels.skipstring"release:skip"
rules.labels.embargostring"release:embargo"
rules.labels.securitystring"security"
rules.securityobject
rules.security.pathslist of string[]
rules.security.linestring"Security improvements."
rules.min_public_importanceinteger21 to 5
rules.featureslist of object[]
rules.features[].namestringrequired; not empty
rules.features[].pathslist of string[]not empty
rules.features[].labelslist of string[]not empty
rules.features[].eventslist of stringrequired; matches ^[A-Za-z0-9_$][A-Za-z0-9 _$.:/-]{0,199}$; at least 1
rules.generic_linestring"Bug fixes and performance improvements."
rules.linesmap of string to object
  • internal_commit_types, internal_paths and internal_authors mark a change as internal, so it stays out of the notes.
  • labels are the pull request labels that force a decision: public, skip (excluded), embargo (held back from every output until the label is removed) and security.
  • security.paths marks changes touching those paths as security changes. Every security change is folded into security.line, and its details never reach the writing model.
  • min_public_importance: a public change the model rates below this is folded into generic_line instead of being listed.
  • lines gives the generic and security lines of each language after the first, by language tag: lines.fr.generic and lines.fr.security. A language with no security keeps security.line word for word: the model never writes a security line. A language with no generic has generic_line translated by the model.

outputs

Which files a bundle holds. See Outputs for each file.

KeyTypeDefaultAllowed
outputsobject
outputs.bundle_dirstring"releases"
outputs.languageslist of string["en"]matches ^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$; at least 1
outputs.changelog_templatestring
outputs.postobject
outputs.post.enabledbooleantrue
outputs.post.min_importanceinteger41 to 5
outputs.socialobject
outputs.social.channelslist of string[]
outputs.social.image_templateslist of string[]
outputs.storeobject
outputs.store.app_storebooleanfalse
outputs.store.playbooleanfalse
outputs.store.localesmap of string to object
outputs.feedobject
outputs.feed.jsonbooleanfalse
outputs.feed.rssbooleanfalse
outputs.emailbooleanfalse
outputs.chatobject
outputs.chat.slackbooleanfalse
outputs.chat.discordbooleanfalse
outputs.siteobject
outputs.site.urlstringa URL
outputs.site.base_pathstringmatches ^\/(?:[A-Za-z0-9_~-][A-Za-z0-9._~-]*\/)*$
outputs.imagesobject
outputs.images.enabledbooleantrue
outputs.images.variationsinteger31 to 6
outputs.images.backdropobject
outputs.images.backdrop.pluginstringrequired; not empty
outputs.images.backdrop.settingsmap of string to any{}
outputs.images.backdrop.max_per_runinteger41 to 20
outputs.creditsobject
outputs.credits.release_bodybooleantrue
outputs.credits.changelogbooleanfalse
outputs.credits.socialbooleanfalse
outputs.screenshotsobjectplus the plugin's own settings
outputs.screenshots.pluginstringrequired; not empty
outputs.screenshots.idstringnot empty
outputs.videoobject
outputs.video.enabledbooleanfalse
outputs.video.shapeslist of string["vertical","square"]vertical, square; at least 1
outputs.video.max_secondsinteger3015 to 60
outputs.video.pluginstring"ffmpeg"not empty
outputs.video.settingsmap of string to any{}
outputs.versionsobject
outputs.versions.supportobject
outputs.versions.support.enabledbooleanfalse
outputs.versions.developerobject
outputs.versions.developer.enabledbooleanfalse
outputs.learn_from_engagementbooleanfalse
  • bundle_dir is the folder bundles are written under, one sub-folder per version.
  • languages lists the languages to write, by language tag (en, fr, pt-BR). The first keeps the plain file paths; each other one is translated from it by the model into a folder of its own (fr/changelog.md). See Languages.
  • changelog_template is a path inside the repository to your own changelog layout.
  • post.enabled turns the blog post off; post.min_importance: it is written only when an item is at least this important.
  • social.channels lists the platforms to write a post for (linkedin, instagram, x, bluesky, mastodon, threads, facebook, producthunt), each kept under the platform's length limit. A platform that is not listed gets nothing: no post and no image. A name of your own (lowercase letters, digits, - and _) is written too, with no length check. social.image_templates lists template ids or template file paths; the first is used for every image. A path is a code template (.tsx, .jsx) or a declarative one (.template.json, made in the studio under Settings → Image templates; see Studio).
  • images.enabled (on by default) makes one image per social post at its platform's size, plus a 1200×630 share image for the blog post and a 1200×600 header for the newsletter when those are made. See Images for the sizes.
  • images.variations is how many designs each image is offered in, to pick from in the studio (1 turns this off).
  • images.backdrop turns on a picture painted behind each image's words by an image model plugin (plugin: openai), with the plugin's own settings (api_key_env, model, quality, moderation) and max_per_run, the most new pictures one run makes (default 4). Absent, nothing is painted and nothing is sent. Each picture is a paid call. Collected text is never sent to the image provider directly, but the art director's description of each picture may reflect the featured item; it is checked, then sent. See A picture behind the words.
  • store.app_store and store.play write the stores' "What's New" text (4000 and 500 characters). store.locales maps a language to each store's locale code (fr: { app_store: fr-FR, play: fr-FR }), which the app-store and play targets write that language's text to.
  • feed.json writes whats-new.json; feed.rss writes feed.xml.
  • email writes a newsletter snippet.
  • chat.slack and chat.discord write announcement copy to paste into a Slack workspace (chat/slack.md) and a Discord server (chat/discord.md), each in its own formatting. Copy only: nothing is ever posted to either. See Slack and Discord.

The studio's Settings → What to make turns each of these on and off: every platform, the blog post, the newsletter, the store text, Slack and Discord, the site feed and images. It writes these same keys, so the command line and CI make the same pieces.

  • credits says where contributors are thanked.
  • screenshots names an optional screenshot renderer plugin, which needs a browser. Nothing else depends on it.
  • versions.support.enabled writes internal/support.md, notes for support and sales that no public target is ever sent; versions.developer.enabled writes developer.md, notes for developers. Both are off by default and written in the first language only. See Versions for each audience.
  • learn_from_engagement (off by default) gives the writing and art-direction model a short summary of how earlier releases' posts did, from their engagement.json (see "How the posts did" in Targets): averages of views, likes, shares, replies and clicks per channel, per image template, and for shorter against longer posts, from the 10 newest other bundles that have numbers. It is built from numbers, channel names and template ids only, the model is told never to quote it, and with it off no engagement number reaches a prompt.

targets

Where a bundle is sent by justshipped publish and justshipped ship. Each entry names a plugin, an optional id (needed when two entries use the same plugin), and the plugin's own settings.

KeyTypeDefaultAllowed
targetslist of object[]plus the plugin's own settings
targets[].pluginstringrequired; not empty
targets[].idstringnot empty

Targets lists every target and its settings. Scheduler targets only ever create drafts.

review

Comments and approvals for each piece, made in the studio and kept in the bundle's reviews.json. See Reviewing with your team.

KeyTypeDefaultAllowed
reviewobject
review.require_approvalbooleanfalse
review.share_on_branchbooleanfalse
  • require_approval: true makes justshipped publish and justshipped ship send approved pieces only. A target whose piece is not approved is skipped, and the run says which pieces it waits for; publish --plan shows the same. A scheduler sends the approved posts on the channels it maps, leaves out the rest, and is skipped when none of its own channels has an approved post. A folder, zip or webhook target is sent the bundle without the pieces not approved, and waits while the changelog is not approved. Off by default. Approvals are read from the bundle folder the run uses: in CI that is the bundle branch, so there it needs share_on_branch. A run that finds no reviews.json says so.
  • share_on_branch: true puts reviews.json on the bundle branch with every push (Push to release, preview, ship), so the team reviews through the release PR and a CI run sees the approvals. The branch may be public: use a private repository for team comments. Off by default: reviews stay on the computer they were made on, and Just Shipped never pushes, stages or commits them (add reviews.json to .gitignore if the bundle folder is in your repository).
Edit on GitHub

On this page