Skip to content

fix(release): continue agents-audit's version line at 0.5.0; freeze the bridge - #14

Merged
qmarcelle merged 2 commits into
mainfrom
feat/cli-0-5-0-version-line
Jul 26, 2026
Merged

fix(release): continue agents-audit's version line at 0.5.0; freeze the bridge#14
qmarcelle merged 2 commits into
mainfrom
feat/cli-0-5-0-version-line

Conversation

@qmarcelle

@qmarcelle qmarcelle commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #13, which landed the publisher but left three things inconsistent with how the packages are actually versioned.

@workspacejson/cli continues agents-audit's version line, starting at 0.5.0. agents-audit is frozen at 0.4.4 — locked for hackathon judging — and all forward development moves here, so the numbering carries over rather than restarting at 0.1.0.

Why 0.5.0 and not 0.4.5

Measured against agents-audit@0.4.4, this binary removes surface:

Before After
npx agents-audit generate npx workspacejson generate
npx agents-audit scan no equivalent — the producer does not audit
.agentsauditrc not read (naming a neutral config is deferred to META-245)

A patch bump promises a drop-in successor, and the first thing a migrating user hits is a missing scan. Under 0.x, breaking belongs in the minor slot. The migration table above ships in packages/cli/CHANGELOG.md.

0.5.0 is set directly in the manifest because changesets bumps relative to the current version and cannot jump 0.1.00.5.0. An empty changeset records that and keeps changeset status clean; from 0.5.0 onward the normal add-changeset → changeset version → tag flow applies.

The freeze is now mechanical, not conventional

Two independent mechanisms, so it cannot erode by inattention:

  • no workflow in this repository publishes agents-audit
  • .changeset/config.json lists it under ignore, so a workspace-wide changeset version cannot bump it

Verified that ignoring it is a valid changesets configuration. The reverse — ignoring @workspacejson/cli while agents-audit depended on it — was the invalid config that #13 fixed, so this needed checking rather than assuming.

Its [Unreleased] prose is restored and relabelled. Those changes exist in the tree but will not ship under that name: where they touched the shared producer they reach users through @workspacejson/cli; where they touched this package's own scan and presenter surface they stay unreleased.

Registry check

Published agents-audit@0.4.4 declares no dependency on @workspacejson/cli — confirmed against the registry, not inferred. It is self-contained, so freezing it leaves nothing dangling. That dependency exists only in this working tree, which has never shipped. Recorded in OWNERSHIP.md.

Also corrected

  • README.md and packages/cli/CHANGELOG.md still said the package "has never been published. Do not document npm install @workspacejson/cli as if it works" — true when written, false the moment ci(release): publish @workspacejson/cli from tagged releases (META-236) #13 merged.
  • Stale release metadata: [0.4.4] - Unreleased was published 2026-07-23, and ## 0.4.2 was missing brackets and date (2026-07-17). Both taken from the registry. Earlier entries show a day of drift against npm; left alone rather than rewriting history on a guess.
  • The pending block was headed "Patch Changes" while containing the generate --check --dry-run drift gate, which turns an exit 0 into an exit 1 — the change deferred from 0.4.4 under META-157 because it alters exit-code semantics. That mislabel is what made "is this a patch?" look settled when it wasn't.

Verification

  • pnpm -r typecheck
  • pnpm -r test — 104 tests (60 + 44)
  • pnpm -r build
  • node packages/agents-audit-compat/dist/cli.js scan . --fail-on error
  • bash migration/parity-agents-audit-runtime.shran in CI, passed (Compatibility parity vs frozen source, 1m8s). Not run locally; no agents-audit runtime code changed here (changelog, changeset config and docs only), and CI runs the harness unconditionally.

Also run:

Notes

Release once merged: git tag cli-v0.5.0 && git push --tags.

The NPM_TOKEN caveat from #13 still stands — @workspacejson/cli is a new package name, so a token scoped only to existing packages will not authorize the first publish.

…hangesets

Three fixes that were left inconsistent by the publisher landing in the previous
commit, plus the changeset/versioning cleanup they exposed.

Docs now match reality. README.md said publishing from this repository was
disabled outright and that `@workspacejson/cli` "has never been published. Do not
document `npm install @workspacejson/cli` as if it works" — true when written,
false the moment publish-cli.yml merges. It now carries a per-package publisher
table, the release commands, and the still-accurate constraint that
`agents-audit` cannot be published from here until META-243.

packages/cli/CHANGELOG.md carried the same claim and records why the version line
starts at 0.1.0 rather than continuing `agents-audit`: this is not that package
renamed, it is the producer `agents-audit` depends on, the two ship on
independent tags, and this binary has a deliberately smaller surface.

Stale release metadata: `[0.4.4] - Unreleased` was published on 2026-07-23, and
`## 0.4.2` was missing its brackets and date (2026-07-17). Both taken from the
registry. Earlier entries have date drift of a day or so against npm; left alone
rather than rewriting history on a guess.

Changesets had two sources of truth and no way to reconcile them. The pending
work lived as hand-written `[Unreleased]` prose while `.changeset/` held no
changeset files at all, so `pnpm changeset version` was a silent no-op — it would
never have bumped anything, and CI never ran it. The prose is now five changeset
files, one per change, and the changelog carries a pointer instead of a
duplicate.

That conversion also corrects a mislabel. The pending block was headed "Patch
Changes" while containing the `generate --check --dry-run` drift gate, which
turns an exit 0 into an exit 1 — the same change deferred from 0.4.4 under
META-157 *because* it alters exit-code semantics. It is marked `minor`; the other
four are `patch`. `changeset status` now resolves the release to 0.5.0.

No changeset for @workspacejson/cli: 0.1.0 is its initial release and the
manifest already says so.
…he bridge

Corrects the previous commit, which read the versioning question backwards. It
bumped `agents-audit` to 0.5.0 and wrote a rationale for `@workspacejson/cli`
NOT continuing that package's numbering. The opposite is intended:
`agents-audit` is frozen and the CLI carries the line forward.

`agents-audit` is locked at 0.4.4 for hackathon judging and gets no further
releases. The five changesets that would have bumped it are removed and its
`[Unreleased]` prose is restored — those changes exist in this tree but will not
ship under that name. Where they touched the shared producer they reach users
through `@workspacejson/cli`; where they touched this package's own `scan` and
presenter surface they stay unreleased.

The freeze is now mechanical rather than conventional: no workflow here
publishes `agents-audit`, and it is listed under `ignore` in
`.changeset/config.json` so a workspace-wide `changeset version` cannot bump it.
Verified that ignoring it is a valid configuration — the reverse (ignoring the
CLI while `agents-audit` depended on it) was the error this branch started by
fixing.

`@workspacejson/cli` goes to 0.5.0, not 0.4.5. Against `agents-audit@0.4.4` this
binary removes surface — no `scan`, no config file, and the binary is renamed —
so a patch would promise a drop-in successor that it is not. Under 0.x, breaking
belongs in the minor slot. The changelog carries a migration table for the three
differences. 0.5.0 is set directly in the manifest because changesets bumps
relative to the current version and cannot jump 0.1.0 to 0.5.0; an empty
changeset records that and keeps `changeset status` clean.

Also recorded in OWNERSHIP.md: published `agents-audit@0.4.4` declares no
dependency on `@workspacejson/cli`, confirmed against the registry. It is
self-contained, so freezing it leaves nothing dangling. That dependency exists
only in this working tree, which has never shipped.

Verified: architecture guard, typecheck, 100 tests, `changeset status` clean,
and release:verify-packs against both packed tarballs at their new versions
(workspacejson-cli-0.5.0.tgz, agents-audit-0.4.4.tgz).
Copilot AI review requested due to automatic review settings July 26, 2026 23:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@qmarcelle
qmarcelle merged commit 2a53400 into main Jul 26, 2026
3 checks passed
@qmarcelle
qmarcelle deleted the feat/cli-0-5-0-version-line branch July 26, 2026 23:57
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