Skip to content

release: v8.0.0-rc.1 - #178

Merged
flyingrobots merged 3 commits into
mainfrom
release/v8.0.0-rc.1
Dec 1, 2026
Merged

flyingrobots merged 3 commits into
mainfrom
release/v8.0.0-rc.1

Conversation

@flyingrobots

Copy link
Copy Markdown
Member

Prepares git-cas 8.0.0-rc.1 for npm under the next dist-tag. Plumbing 4.0.0 is itself at rc.1, so git-cas ships as a release candidate and latest stays on 7.2.0.

Why a major version

  • git-cas depends on @git-stunts/plumbing 4.x.
  • An application that injects its own plumbing instance must use plumbing 4, installed as the same copy, because git-cas matches plumbing errors by class.
  • GitPersistenceAdapter.readBlobStream() starts its one-shot git command on first read.

Changes

  • package.json, jsr.json and src/package-version.js go to 8.0.0-rc.1; the new release notes join the package file list.
  • @git-stunts/plumbing moves from exactly 4.0.0-rc.1 to ^4.0.0-rc.1, so 4.0.0 final also satisfies it. pnpm-lock.yaml changes only the specifier; it still resolves 4.0.0-rc.1.
  • .github/workflows/release.yml: the validate job derives npm-dist-tag and prerelease from the version it already outputs. A version containing - publishes with npm publish --access public --tag next and creates a GitHub prerelease. A plain version publishes with --tag latest and a normal release. The publish step re-derives the expected tag from the version and refuses to run on a mismatch or an empty tag. New tests execute the workflow's own shell blocks for both cases.
  • Manifest formatVersion fix. The manifest schema has accepted only MAJOR.MINOR.PATCH since 6.0.0, and the facade stamped the full package version, so 8.0.0-rc.1 would have made every new manifest fail validation (v7.0.0 avoided this by not shipping a prerelease). The facade and the encryption migration script now stamp the version's core, 8.0.0, which 7.x readers also accept. Tests cover both producers.
  • CHANGELOG: Unreleased becomes [8.0.0-rc.1] — 2026-12-01 (the repo's em-dash heading style) with a Breaking Changes summary first; every existing entry is kept, and the plumbing entry now describes the range.
  • docs/releases/v8.0.0-rc.1.md, UPGRADING.md (7.2.0 to 8.0.0-rc.1), README, STATUS and BEARING. The release-state test now orders prerelease versions correctly instead of comparing NaN.

This 8.0.0 is not the planned v8.0.0 Cleave workspace split (#133); that milestone's numbering needs a maintainer decision.

Evidence

Lint is clean, and the Docker Node unit suite passes 2,527 tests (3 skips). npm run release:verify and npm pack --dry-run results follow in a comment. The release notes claim no published artifact.

The manifest schema has accepted only MAJOR.MINOR.PATCH formatVersion
values since 6.0.0. A prerelease package version such as 8.0.0-rc.1
would make every new manifest fail validation, and older readers would
refuse it. The facade and the encryption migration script now stamp the
version's core (8.0.0).
The validate job derives npm-dist-tag and prerelease outputs from the
package version. A version containing a hyphen publishes with
--tag next and creates a GitHub prerelease; a plain version publishes
under latest. The publish step refuses a dist-tag that disagrees with
the version. Tests execute the workflow's shell blocks.
Moves @git-stunts/plumbing from exactly 4.0.0-rc.1 to ^4.0.0-rc.1, bumps
package.json, jsr.json and src/package-version.js to 8.0.0-rc.1, dates
the changelog section, and adds release notes and the 7.2.0 to
8.0.0-rc.1 upgrade guide. The release-state test now orders prerelease
versions.

BREAKING CHANGE: git-cas depends on @git-stunts/plumbing 4. An
application that injects its own plumbing instance must use plumbing 4
installed as the same copy, because git-cas matches plumbing errors by
class. GitPersistenceAdapter.readBlobStream() starts its one-shot git
command on first read.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 00e2dd9f-4fad-49ea-bd14-a796bca57f67
Commits

Reviewing files that changed from the base of the PR and between b8f705a and 6b8b114.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 15

  • .github/workflows/release.yml
  • BEARING.md
  • CHANGELOG.md
  • README.md
  • STATUS.md
  • UPGRADING.md
  • docs/releases/v8.0.0-rc.1.md
  • index.js
  • jsr.json
  • package.json
  • scripts/migrate-encryption.js
  • src/package-version.js
  • test/unit/docs/release-state.test.js
  • test/unit/facade/ContentAddressableStore.format-version.test.js
  • test/unit/scripts/release-workflow.test.js
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@flyingrobots

Copy link
Copy Markdown
Member Author

Release review, round 1 (head 6b8b114)

No findings in git diff origin/main...HEAD, reviewed at 6b8b114b2fa6d957adba2ffd75e73787ce91d026 against origin/main at b8f705a73d314c9e3fd70b35685f0756af96fdcc.

  1. Version consistency: package.json, jsr.json, and src/package-version.js agree on 8.0.0-rc.1. The package files list includes the new release notes. CHANGELOG, UPGRADING, README, STATUS, and BEARING consistently distinguish the unpublished candidate from published 7.2.0. The manifest stamp is intentionally 8.0.0, as documented.

  2. Release workflow: Validation derives next and prerelease=true from a version containing a hyphen; a plain version produces latest and prerelease=false. Both outputs are correctly wired between jobs. The publish step explicitly supplies --tag and rejects an empty version, an empty dist-tag, or a mismatched dist-tag before invoking npm. All jobs check out the same selected release ref, including for workflow_dispatch. The GitHub Release input explicitly compares the output to 'true', so the string 'false' does not become truthy. This matches GitHub’s expression semantics.

  3. Dependency and lockfile: ^4.0.0-rc.1 accepts 4.0.0 final and later stable 4.x versions, while excluding 5.x. It does not generally admit prereleases of later minor versions, consistent with npm’s prerelease range rules. The lockfile matches the declared range and retains the valid 4.0.0-rc.1 resolution.

  4. Documentation and breaking changes: The release documentation describes the plumbing migration, shared-instance requirement, lazy one-shot stream behavior, and manifest stamp change. The stamp remains valid under the existing manifest schema. I found no unlisted breaking change introduced by this diff.

  5. Tests: The additions exercise the actual workflow shell scripts and the façade and migration service configuration. Existing assertions remain intact. All 23 tests across the three changed test files passed in Docker. The changed JavaScript files passed ESLint, and git diff --check passed. I did not run the full unit or integration suites.

Repository and GitHub state were left unchanged.

🎬 git-cas release review 🟢 100% (5/5) [git-cas:🟢]
→ no change

VERDICT: APPROVE

@flyingrobots

Copy link
Copy Markdown
Member Author

Local release verification (head 6b8b114)

npm run release:verify on the branch head, test suites in Docker, before any tag exists:

  • Version: 8.0.0-rc.1
  • Steps passed: 14/14
  • Total tests observed: 8661
Step Status Tests
Lint PASS —
Unit Tests (Node) PASS 2527
Example: store-and-restore PASS —
Example: encrypted-workflow PASS —
Example: progress-tracking PASS —
Unit Tests (Bun) PASS 2527
Unit Tests (Deno) PASS 2518
Public type compatibility PASS —
Integration Tests (Node) PASS 363
Integration Tests (Bun) PASS 363
Integration Tests (Deno) PASS 363
Build metadata stamp PASS —
npm pack dry-run PASS —
JSR publish dry-run PASS —
exit=0

npm pack --dry-run: @git-stunts/[email protected], 323 entries, 862,680 bytes packed (2,505,972 unpacked). It contains package.json, index.js/index.d.ts, files.js/files.d.ts, build-info.json, bin/, src/ (including src/package-version.js), scripts/migrate-encryption.js, docs/releases/v8.0.0-rc.1.md, UPGRADING, CHANGELOG, README and LICENSE. No tests (except test/CONVENTIONS.md and test/cycles/README.md, which are listed), workflows, design, method or archive docs, or lockfile are in the tarball.

@flyingrobots

Copy link
Copy Markdown
Member Author

Footprint

16 files, +321/-26 · origin/main...origin/release/v8.0.0-rc.1

Structural, as graft struct review reads it: 2 files changed shape (+2/-0/~1 symbols), 3 labelled formatting.

  • graft's label, not footprint's claim: it saw no symbol added, removed or changed in index.js, jsr.json, scripts/migrate-encryption.js. A changed value inside an existing symbol (a rule table, a constant) can carry that label, so read the diff.

  • 1 breaking change(s), as graft struct review lists them.

Composition
pie showData
    title Changed lines by file kind
    "source" : 27
    "test" : 217
    "docs" : 63
    "config" : 9
    "ci" : 29
    "generated" : 2
Loading
Kind Files +/- Share
source 3 +20/-7 7.8%
test 3 +211/-6 62.5%
docs 6 +57/-6 18.2%
config 2 +5/-4 2.6%
ci 1 +27/-2 8.4%
generated 1 +1/-1 0.6%
total 16 +321/-26 100%
Files (16)

ci

  • .github/workflows/release.yml +27/-2

docs

  • BEARING.md +1/-1
  • CHANGELOG.md +11/-1
  • README.md +2/-0
  • STATUS.md +1/-1
  • UPGRADING.md +17/-3
  • docs/releases/v8.0.0-rc.1.md +25/-0

source

  • index.js +2/-2
  • scripts/migrate-encryption.js +2/-4
  • src/package-version.js +16/-1

config

  • jsr.json +1/-1
  • package.json +4/-3

generated

  • pnpm-lock.yaml +1/-1

test

  • test/unit/docs/release-state.test.js +31/-5
  • test/unit/facade/ContentAddressableStore.format-version.test.js +63/-0
  • test/unit/scripts/release-workflow.test.js +117/-1

Figures computed from git diff --numstat. Composition is a sanity check, not a verdict.

Before merge

  • Generated files. 1 generated or vendored file in this change: pnpm-lock.yaml. These are produced by a tool rather than written, so they are worth confirming as regenerated rather than hand-edited.

After merge

No landing steps are declared: RELEASE.md is absent; AGENTS.md declares no release or landing section. footprint states none rather than inventing them.

After-merge steps are read from this repository's own RELEASE.md and AGENTS.md, never invented. The guard rule is path patterns, documented in footprint's docs/topics/landing/README.md.

Blast radius

+2 added / -0 removed / ~1 signature-changed exported symbols · b8f705a73d314c9e3fd70b35685f0756af96fdcc → 6b8b114b2fa6d957adba2ffd75e73787ce91d026 · graft struct exports reads this as a major change

Exported symbols (3)
Change Symbol File Kind Call sites Signature
added MANIFEST_FORMAT_VERSION src/package-version.js export 11
added manifestFormatVersion src/package-version.js function 7 manifestFormatVersion(version)
signature-changed files package.json field 290 files: array (50 items) → files: array (51 items)
Call sites by system (308 across 8 systems, 1087 scanned files)

Symbols with more than 50 call sites — counted by system instead of listed, because a name that common matches whole-word almost anywhere. The result line carries every site.

Symbol Call sites By system Not None needed Impact Data flow
files 290 .github 1, (unassigned) 47, bin 6, docs 169, examples 7, scripts 3, src 3, test 54 230 .github: None: the word 'files' in a workflow, not a reader of package.json's files list.
(unassigned): The package.json files array gains docs/releases/v8.0.0-rc.1.md; other matches are root docs prose.
bin: None: unrelated identifier or prose named 'files'; nothing in bin reads package.json's files list.
docs: None: prose mentions of 'files'. The only change to the list adds docs/releases/v8.0.0-rc.1.md to the npm tarball.
examples: None: unrelated uses of the word 'files'.
scripts: scripts/release/verify.js parses npm pack --json 'files' entries; one more packed file does not change its required-file check (build-info.json still present). Other matches are unrelated.
src: None: unrelated identifiers named 'files'.
test: package-docs tests read package.json files to check packaged docs and links; the new release notes link only to packaged UPGRADING.md and CHANGELOG.md and external URLs, and those tests pass. Other matches are unrelated.
.github: None.
(unassigned): npm pack and package-docs tests read the array.
bin: None.
docs: npm pack reads package.json files; the new entry ships the release notes (verified by npm pack --dry-run).
examples: None.
scripts: npm pack output -> extractNpmPackFilePaths -> requiredFiles check.
src: None.
test: package.json files -> package-docs.test.js packaged-doc and link checks.

.github — 1 call site

1 call site here belong to the symbols counted above rather than listed.

bin — 6 call sites

6 call sites here belong to the symbols counted above rather than listed.

docs — 169 call sites

169 call sites here belong to the symbols counted above rather than listed.

examples — 7 call sites

7 call sites here belong to the symbols counted above rather than listed.

scripts — 5 call sites

Symbol Call site Mitigation Impact Data flow
MANIFEST_FORMAT_VERSION scripts/migrate-encryption.js:492 Call site in scripts, outside the changed file. The encryption migration's legacy CasService instances now stamp formatVersion with the core version (8.0.0) instead of the full package version; for stable versions the value is unchanged, for 8.0.0-rc.1 it avoids manifests that fail schema validation. Imported lazily from src/package-version.js in buildLegacyDeps and passed as deps.formatVersion to every CasService the migration builds; CasService writes it into each migrated manifest that lacks one.
MANIFEST_FORMAT_VERSION scripts/migrate-encryption.js:501 Call site in scripts, outside the changed file. The encryption migration's legacy CasService instances now stamp formatVersion with the core version (8.0.0) instead of the full package version; for stable versions the value is unchanged, for 8.0.0-rc.1 it avoids manifests that fail schema validation. Imported lazily from src/package-version.js in buildLegacyDeps and passed as deps.formatVersion to every CasService the migration builds; CasService writes it into each migrated manifest that lacks one.

3 call sites here belong to the symbols counted above rather than listed.

src — 6 call sites

Symbol Call site Mitigation Impact Data flow
MANIFEST_FORMAT_VERSION src/package-version.js:16 None needed not assessed not assessed
manifestFormatVersion src/package-version.js:12 None needed not assessed not assessed
manifestFormatVersion src/package-version.js:16 None needed not assessed not assessed

3 call sites here belong to the symbols counted above rather than listed.

test — 65 call sites

Symbol Call site Mitigation Impact Data flow
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:8 None needed not assessed not assessed
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:40 None needed not assessed not assessed
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:41 None needed not assessed not assessed
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:49 None needed not assessed not assessed
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:58 None needed not assessed not assessed
MANIFEST_FORMAT_VERSION test/unit/facade/ContentAddressableStore.format-version.test.js:60 None needed not assessed not assessed
manifestFormatVersion test/unit/facade/ContentAddressableStore.format-version.test.js:9 None needed not assessed not assessed
manifestFormatVersion test/unit/facade/ContentAddressableStore.format-version.test.js:33 None needed not assessed not assessed
manifestFormatVersion test/unit/facade/ContentAddressableStore.format-version.test.js:34 None needed not assessed not assessed
manifestFormatVersion test/unit/facade/ContentAddressableStore.format-version.test.js:35 None needed not assessed not assessed
manifestFormatVersion test/unit/facade/ContentAddressableStore.format-version.test.js:36 None needed not assessed not assessed

54 call sites here belong to the symbols counted above rather than listed.

(unassigned) — 49 call sites

Symbol Call site Mitigation Impact Data flow
MANIFEST_FORMAT_VERSION index.js:46 Call site outside every known system, outside the changed file. The facade passes the core version to CasService, so every manifest the public store writes records 8.0.0 rather than 8.0.0-rc.1, which ManifestSchema and 6.x/7.x readers accept. PKG_VERSION is still used for the CLI version and the restoreFile docs URL. index.js imports it from src/package-version.js and passes it as formatVersion to new CasService in #initService; CasService copies it into manifest data on store.
MANIFEST_FORMAT_VERSION index.js:339 Call site outside every known system, outside the changed file. The facade passes the core version to CasService, so every manifest the public store writes records 8.0.0 rather than 8.0.0-rc.1, which ManifestSchema and 6.x/7.x readers accept. PKG_VERSION is still used for the CLI version and the restoreFile docs URL. index.js imports it from src/package-version.js and passes it as formatVersion to new CasService in #initService; CasService copies it into manifest data on store.

47 call sites here belong to the symbols counted above rather than listed.

Impact and Data flow are the reading of the agent that posted this report, from the code at this head, not footprint's measurement: footprint found the call sites and cannot see run-time behaviour. not assessed marks a row the agent did not assess.

Exported symbols from graft struct exports --json (graft.cli.struct_exports 1.0.0). Whatever graft parses counts as an export surface, including fields in config and lock files.

Call sites are footprint's own whole-word identifier scan, not graft's: every whole-word occurrence of the name in the tracked, non-binary files of the working tree (grep -w's boundary -- a letter, digit or underscore in any script). It counts the declaration itself and a mention in a comment, a string or prose, and it cannot see a call through dynamic dispatch or a re-export under another name. Evidence to check, not a call graph.

The grouping. A system is the first path segment of a call site's repository-relative path: the directory immediately under the repository root, however deep the file sits inside it. A file at the repository root has no such segment and is grouped under (unassigned), which is listed last and never dropped. Systems are ordered by name so the grouping follows the tree rather than the order the scan found the sites in. The mitigations. Every row's mitigation is derived from two reported facts about that call site and nothing else: whether it is in the very file the symbol is exported from, and what classify() calls that file. A call site in the symbol's own declaring file, or in a test file, is "None needed"; any other call site states the system it is in, or that it is outside every known system. No mitigation is a judgement about importance, risk or coverage, and none is advice: footprint reports and does not judge (AGENTS.md).

Every changed source file was in a language footprint recognises graft's grammars can parse.

Open pull requests

No other pull request is open, so nothing can overlap this change.

Proposed merge order (1 wave)

Wave 1 — #178

No two open pull requests change the same file, so they can land in any order.

Pull requests from gh pr list; their files from gh pr diff --name-only; the symbols of a shared file from git diff -U0 against each side's merge base and the top-level symbols of graft read outline at both ends (0 of at most 24 outline calls this run). Merge waves are greedy first-fit over the conflict graph: a proposal, not a minimum, and not a gate.

Changelog
Timestamp SHA Change Reason Remarks
2026-12-01T11:39:50Z 6b8b114 First report: 16 files, +321/-26; MANIFEST_FORMAT_VERSION and manifestFormatVersion added; package.json files gains release notes Pull request opened Generated pnpm-lock.yaml was regenerated by pnpm install (specifier only). No other PR open.

@flyingrobots
flyingrobots merged commit 7d14b11 into main Dec 1, 2026
6 checks passed
@flyingrobots
flyingrobots deleted the release/v8.0.0-rc.1 branch December 1, 2026 11:41
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.

1 participant