Skip to content

Leave pre mode for 1.0.0 - #109

Merged
jimutt merged 2 commits into
mainfrom
claude/release-1.0
Nov 3, 2026
Merged

jimutt merged 2 commits into
mainfrom
claude/release-1.0

Conversation

@jimutt

@jimutt jimutt commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Prepares 1.0.0. Merging this doesn't publish anything. The release workflow then opens a Version Packages PR for 1.0.0, and merging that publishes to npm latest and creates the GitHub release. That release is not marked as a prerelease, because scripts/release.ts treats 1.0.0 as a normal release.

Changesets

  • npx changeset pre exit sets .changeset/pre.json to "mode": "exit".
  • .changeset/one-point-oh.md is a major changeset with the 1.0.0 summary. It points 0.x and RC users to the right upgrade step, then lists the changes since 0.9.0: install channels and init/update, the Node CLI replacing the bash scripts, the rule per agent, drafts and decision_edits, OVERVIEW-only snapshots, review settings, reindex, audit links and annotation_exclude, and the semver contract.
  • The rc.6 changesets are removed from .changeset/pre/. When leaving pre mode, Changesets also puts those into the stable release's changelog, so 1.0.0 would have repeated rc.6's changes relative to rc.5 under the summary. They stay in CHANGELOG.md under 1.0.0-rc.6.

Docs

  • README: the "1.0 is in release candidates" note becomes a short "Coming from 0.x?" pointer.
  • docs/releasing.md: "Release candidates" and "Releasing 1.0.0" are replaced by a "Prereleases" section. It covers how next and latest work after 1.0, entering and leaving pre mode, the .changeset/pre/ gotcha, and one line on how 1.0 went out.
  • docs/plan/v1.md is marked done. The pre-mode line is gone from .changeset/README.md.
  • docs/upgrading-from-0x.md adds the SNAPSHOT.md change, which 0.x users will hit.

Also: package-lock.json is removed in a separate commit. Nothing reads it, since dependencies come from bun.lock, and its version stopped at 1.0.0-rc.5 once Changesets took over the bumps. Drop that commit if you want to keep the file.

Checks

  • I ran npm run version-packages in a throwaway worktree of this branch. It gives 1.0.0 in package.json, in every stamp and in the manifests, and check:generated is clean.
  • The CHANGELOG.md 1.0.0 section is just the summary.
  • changeset status reports a major bump.
  • npm test (551 + 17) and Biome pass.

Generated by Claude Code

Exit Changesets pre mode and add the 1.0.0 changeset: a summary of the
changes since 0.9.0 that links the upgrade guide. Drop the rc.6
changesets from .changeset/pre/ so the 1.0.0 changelog is that summary
alone; they stay in the changelog under 1.0.0-rc.6. Replace the README's
release-candidate note with a pointer for 0.x users, describe
prereleases after 1.0 in docs/releasing.md, mark docs/plan/v1.md done,
and add the SNAPSHOT.md change to the upgrade guide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmUuswDi3BJNN76DyoJHCG
Dependencies are installed with Bun from bun.lock, and nothing reads
package-lock.json. It came in with the rc.1 version bump, and its version
stopped at 1.0.0-rc.5 when Changesets took over the bumps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmUuswDi3BJNN76DyoJHCG
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Unit test coverage

Lines Functions
Total 99.77% 98.78% (+0.01)

Changes are relative to main.
The floor is 90% of lines and functions in each file; ⚠️ marks files below it.

Per file
File Lines Functions
scripts/release.ts (new) 100.00% 100.00%
src/cli/command.ts 96.88% 100.00%
src/cli/commands/base-option.ts 100.00% 100.00%
src/cli/commands/check-decision-edits.ts 100.00% 100.00%
src/cli/commands/collect-active-decisions.ts 100.00% 100.00%
src/cli/commands/commit-reindex.ts 100.00% 100.00%
src/cli/commands/create-config.ts 100.00% 100.00%
src/cli/commands/create-decision.ts 100.00% 100.00%
src/cli/commands/create-directories.ts 100.00% 100.00%
src/cli/commands/create-empty-index.ts 100.00% 100.00%
src/cli/commands/detect-snapshot-changes.ts 100.00% 100.00%
src/cli/commands/find-annotations.ts 100.00% 100.00%
src/cli/commands/find-collisions.ts 100.00% 100.00%
src/cli/commands/find-missing-amends.ts 100.00% 100.00%
src/cli/commands/find-stale-mentions.ts 100.00% 100.00%
src/cli/commands/init.ts 100.00% 100.00%
src/cli/commands/install-rule.ts 100.00% 100.00%
src/cli/commands/list-proposed.ts 100.00% 100.00%
src/cli/commands/list-taken-ids.ts 100.00% 100.00%
src/cli/commands/next-id.ts 100.00% 100.00%
src/cli/commands/plan-renames.ts 100.00% 100.00%
src/cli/commands/regenerate-index.ts 100.00% 100.00%
src/cli/commands/related-decisions.ts 100.00% 100.00%
src/cli/commands/rename-decision.ts 100.00% 100.00%
src/cli/commands/resolve-base.ts 100.00% 100.00%
src/cli/commands/restore-decision-prose.ts 100.00% 100.00%
src/cli/commands/review-settings.ts 100.00% 100.00%
src/cli/commands/session-context.ts 100.00% 100.00%
src/cli/commands/update-audit-state.ts 100.00% 100.00%
src/cli/commands/update-snapshot-state.ts 100.00% 100.00%
src/cli/commands/update-status.ts 100.00% 100.00%
src/cli/commands/update.ts 100.00% 100.00%
src/cli/commands/verify-annotations.ts 100.00% 100.00%
src/cli/index.ts 100.00% 100.00%
src/cli/install.ts 100.00% 100.00%
src/core/annotations.ts 100.00% 93.75%
src/core/audit.ts 100.00% 100.00%
src/core/commit-reindex.ts 100.00% 100.00%
src/core/config.ts 100.00% 92.86%
src/core/decision-edits.ts 99.47% 100.00%
src/core/decisions.ts 100.00% 100.00%
src/core/errors.ts 100.00% 100.00%
src/core/files.ts 100.00% 100.00%
src/core/git.ts 100.00% 100.00%
src/core/ids.ts 100.00% 100.00%
src/core/index-file.ts 98.21% 100.00%
src/core/init.ts 100.00% 100.00%
src/core/mentions.ts 100.00% 100.00%
src/core/open-prs.ts 100.00% 100.00%
src/core/project.ts 100.00% 100.00%
src/core/proposed.ts 100.00% 100.00%
src/core/records.ts 100.00% 100.00%
src/core/reindex.ts 99.37% 100.00%
src/core/related.ts 97.56% 100.00%
src/core/rename-plan.ts 100.00% 100.00%
src/core/rename.ts 100.00% 100.00%
src/core/review-settings.ts 100.00% 100.00%
src/core/snapshot.ts 100.00% 100.00%
src/core/state.ts 97.92% 100.00%
src/generate/adapters.ts 100.00% 100.00%
src/generate/generate.ts 99.38% 96.15%
src/generate/gitattributes.ts 100.00% 100.00%
src/generate/gitignore.ts 100.00% 100.00%
src/generate/harnesses.ts 100.00% 100.00%
src/generate/install.ts 100.00% 100.00%
src/generate/plugins.ts 100.00% 100.00%
src/generate/rule.ts 100.00% 98.33%
src/generate/template.ts 100.00% 100.00%
src/node-context.ts 97.09% 95.56%
templates/rules/dld-workflow.md 100.00% 100.00%

@jimutt
jimutt merged commit 3c5c3e9 into main Nov 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants