Clara Docs
All docs

Launch checklist

Project records10 min readEdit on GitHub

On this page

The steps only a person may take, in the order SPEC E2 gives them. Clara's build did none of them, with one exception: at the owner's request, version 0.1.0 was published to npm by hand on 2026-11-25, which claimed the name (step 1). Nothing was deployed or changed in repository settings.

Two workflows release Clara, and both do nothing until a person turns them on with the repository variable CLARA_PUBLISH (step 8):

  • .github/workflows/release.yml runs release-please on each push to main, which keeps a release pull request open. Merging it is the decision to release: the workflow tags the release, creates the GitHub release with its changelog, publishes to npm and moves the Action's major tag. A person can also start it by hand, to rehearse or to publish the version in package.json; that is how the first version goes out (step 1).
  • .github/workflows/canary.yml publishes each push to main under the npm tag next.
CLARA_PUBLISH release.yml on a push canary.yml
not set nothing runs nothing runs
false keeps the release pull request up to date; a merged one waits, untagged nothing runs
true as above, and a merged release pull request is released publishes next

1. Claim the npm name

The package is named clara-ipm, for Clara intelligent project management (D-135). It installs two commands, clara and clara-ipm. npm view clara-ipm found nothing on 2026-11-24. The Claude Code plugin, the settings clara setup writes and the workflows clara github setup writes all start Clara through npx by that name, so they work only once it is published.

Done for 0.1.0 by hand, with npm publish from a clean build, so 0.1.0 has no provenance. The steps below are the way this checklist meant it to happen, and the environment, the changelog section and the release markers in them still apply before the next release.

Publishing the first version claims the name. It is published by hand, with a short-lived token, because npm sets up trusted publishing from the package's settings page, which exists only once a version does. Started by hand, release.yml refuses unless the version typed matches package.json, runs every gate first, and is a dry run unless told otherwise (D-067).

  • Re-check: npm view clara-ipm must say it is not found.
  • Create an environment named npm (Settings, then Environments). Add the second maintainer as a required reviewer, so every release waits for a second person, and under "Deployment branches and tags" allow only main.
  • Name the changelog's section for the version. In CHANGELOG.md, change ## Unreleased to ## 0.1.0 (<today, as YYYY-MM-DD>) and push it to main (docs: name the changelog section for 0.1.0). release-please writes each later release above the first heading that starts with a version. Without one it would put its own title and section above the file's, and turn the file's title into a section.
  • Rehearse: gh workflow run release.yml --ref main -f version=0.1.0. This is a dry run. Read the list of files it would publish in the run's log.
  • Create a granular access token on npmjs.com that can publish clara-ipm and expires in a day. Add it as a secret named NPM_TOKEN on the npm environment, not on the whole repository.
  • Publish: gh workflow run release.yml --ref main -f version=0.1.0 -f dry_run=false.
  • Mark what was published, so release-please starts from it. With <commit> the commit the run published (its page names it): sh awk '/^## 0\.1\.0/{f=1;next} /^## /{f=0} f' CHANGELOG.md > notes.md gh release create v0.1.0 --target <commit> --title v0.1.0 --notes-file notes.md gh api repos/sherwinvishesh/clara/git/refs -f ref=refs/tags/v0 -f sha=<commit> v0 is the Action's major tag: uses: sherwinvishesh/clara/action@v0 runs 0.1.0. From now on release.yml moves it.

2. Trusted publishing

After this step no token can publish Clara, and no token is stored anywhere (D-067). npm allows several trusted publishers on one package; Clara needs two, one per workflow.

  • Create an environment named npm-next, with "Deployment branches and tags" limited to main and no reviewer: the canary publishes on every push once turned on.
  • On npmjs.com, open the package's Settings, then Trusted publishing. Choose GitHub Actions and add:
    • user sherwinvishesh, repository Clara, workflow release.yml, environment npm;
    • user sherwinvishesh, repository Clara, workflow canary.yml, environment npm-next.
  • Delete the NPM_TOKEN secret and revoke the token.
  • Under the package's Publishing access, choose "Require two-factor authentication and disallow tokens". From now on only those two workflows, on this repository, can publish.
  • Check the provenance: the package page on npmjs.com shows a "Provenance" section that links to the commit and the workflow run.

3. GitHub Pages

Clara keeps its own board with its own Action: .github/workflows/clara.yml (validate on pull requests, sync by hand) and .github/workflows/pages.yml (the website, by hand: the landing page from website/, the docs under docs/ and Clara's own board under board/). Both build the Action from the checkout, so they work before anything is published. The workflows clara github setup writes for other repositories run npx clara-ipm@<version>, so they wait for step 1.

  • Turn on GitHub Pages: Settings, then Pages, then Source: GitHub Actions. Then gh workflow run pages.yml --ref main, open the site, its docs and board/, and put the site's address in the README.

4. Branch protection

  • Add the second maintainer's GitHub handle to .github/CODEOWNERS.
  • Make the repository public when ready. CI then runs the full matrix, and CodeQL and dependency review start working (D-004, D-027).
  • Protect main: require the check named "CI passed".
  • Let GitHub Actions push to main, or sync cannot commit the board.
  • Turn CI on for pushes again (D-028). During the build it was limited to pull requests and manual runs to save runner minutes. Once the repository is public, standard runners are free: add push: { branches: [main] } under on: in .github/workflows/ci.yml and .github/workflows/codeql.yml. Until then, run it with gh workflow run ci.yml --ref main.
  • At the same time, add push: { branches: [main] } to clara.yml and pages.yml, and give the sync job if: github.event_name != 'pull_request'.
  • Turn on private vulnerability reporting (Settings, then Security, then "Private vulnerability reporting"). SECURITY.md sends reporters there.

5. The GitHub OAuth app

Each team that wants a hosted board does steps 5 and 6 once, for its own repository. The build made none, and created no OAuth app (B5). HOSTED.md explains each step.

  • Create a GitHub OAuth app (Settings → Developer settings → OAuth Apps → New). Homepage: the deployment's address. Callback URL: https://<deployment>/api/auth/callback. Keep the client secret somewhere safe.
  • Make the cookie secret: openssl rand -base64 32.

6. A hosted board on Vercel

  • Import the repository into Vercel, leaving the build settings to vercel.json, and set CLARA_REPO, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET and CLARA_SECRET (and CLARA_PUBLIC_READ=true only for a public repository whose board anyone may read).
  • Deploy, open it, sign in, and move a ticket. Check that the commit on the board's branch carries your name.
  • For agents: make a fine-grained token limited to the board's repository with Contents: Read and write, and point the agent's MCP settings at https://<deployment>/api/mcp as HOSTED.md shows.

7. Agent credentials for the Actions runtime

  • For the work workflow in a repository that uses it: add the agent's key as a repository secret (ANTHROPIC_API_KEY, OPENAI_API_KEY or GEMINI_API_KEY), and under Settings, Actions, General, allow GitHub Actions to create and approve pull requests. Pull requests opened with the workflow's own token start no workflows; to run CI on them, give the workflow a GitHub App's token instead (token: input of the Action).
  • For digest: a CLARA_WEBHOOK_URL secret with the Slack, Discord or other webhook.

8. Cut the first release

From here on releases follow the commits. release-please reads the Conventional Commit titles on main since the last release: fix: raises the patch version, feat: the minor one, and while the version is below 1.0.0 a breaking change raises the minor one too. A commit whose message has a Release-As: 1.0.0 line asks for that version.

  • Under Settings, Actions, General, Workflow permissions, allow GitHub Actions to create and approve pull requests. release-please opens its pull request with the workflow's token.
  • Turn on the release pull request: gh variable set CLARA_PUBLISH --body false. The next push to main opens one, labelled autorelease: pending.
  • Read it: the version, and in CHANGELOG.md a new section between the file's introduction and ## 0.1.0, which is untouched.
  • Run CI on it. A pull request opened with the workflow's token starts no workflows, so start it on the pull request's branch: gh workflow run ci.yml --ref <branch>, or close and reopen the pull request.
  • Turn on publishing: gh variable set CLARA_PUBLISH --body true. This also turns on the next builds.
  • Merge the release pull request. The release workflow tags v<version>, creates the GitHub release, waits for the npm environment's reviewer, runs every gate, publishes, and moves v0. The next push to main publishes the first next build.
  • Check: npm view clara-ipm dist-tags shows the version as latest, the package page shows its provenance, and gh release view v<version> shows the changelog.
  • If publishing failed after the release was created, fix the cause and re-run the failed jobs of that run (gh run rerun <run id> --failed). It publishes the tagged commit.

To stop releasing, set CLARA_PUBLISH to false (the pull request is kept up to date, nothing is published) or delete it (nothing runs).

9. The Claude Code plugin

The plugin is in plugin/, listed by the marketplace at .claude-plugin/marketplace.json, and generated by npm run docs. Its version follows package.json: the release pull request raises both. Claude Code 2.1.327 validated it, installed it and connected to its server during the build (docs/EVIDENCE/M3.md). Its MCP server and its hook start Clara through npx by name, so all of this waits for step 1.

  • Add an icon: a square PNG, 512 to 2048 px a side, under 2 MB, at plugin/.claude-plugin/icon.png. Claude Code's validator warns without one (ICON_MISSING). The listing takes the icon only the first time the plugin is saved or submitted, so add it before that.
  • Run one session in a Claude Code that is signed in, in a throwaway repository with a board: /plugin marketplace add sherwinvishesh/clara, /plugin install clara@clara, then ask it to call clara_project and clara_next. The build could not: its Claude Code had no sign-in, and the build may not use yours (docs/EVIDENCE/M3.md).
  • Put the install line in the README: /plugin install clara --marketplace sherwinvishesh/clara (Claude Code 2.1.275 or later), with clara setup <agent> for the other agents.
  • Optionally submit it to the plugin directory. Check first with claude plugin validate plugin --profile directory.
  • Publish the Action on the GitHub Marketplace if wanted: from a release of this repository, choose "Publish this Action to the GitHub Marketplace". action/action.yml is the action; users then write uses: sherwinvishesh/clara/action@v0, or a commit.

10. The one real Claude Code run

Done once on 2026-11-28, with the owner's yes: a headless run with Haiku went from claim to review (docs/VERIFIED.md, "One real headless run"), and the Claude Code adapter is no longer labelled as not yet run. The smoke script adds a send-back and a second start; run it again before a release that changes the adapter.

  • On a machine where claude is installed and signed in, from a clone of the repository: npm ci --ignore-scripts && npm run build && node scripts/claude-smoke.mjs --yes. It makes a throwaway repository under the OS temporary folder, runs one small ticket through clara start, sends it back once and starts it again. Each of the two runs is capped at 12 turns, $0.40 and 10 minutes. It exits 0 when both runs reach review.
  • Paste the report it prints (also written next to the throwaway repository as report.md) into docs/EVIDENCE/M5.md, and check it for anything you would not publish.
  • If it failed, set experimental: true again in library/conductor/adapters/claude.ts, update the Claude Code row of docs/STATUS.md, and run npm run ci.

11. Publishing the skill

npm run docs writes the main skill, its tools reference and its query guide to skills/clara/ (D-167). npx skills add reads a skill from a public GitHub repository, so the skill can be installed this way only once this repository is public.

  • Make the repository public (Settings, General, Danger zone, Change visibility).
  • From an empty folder, check it installs: npx skills add sherwinvishesh/clara. It should find skills/clara/SKILL.md and copy the three files.
  • skills.sh lists a skill from the installs it counts; there is no form to submit. Search for "clara" there after the first installs.
  • Then, and not before, say in the README and the website that the skill is on skills.sh.