Skip to content

feat(harness): pin the review invocation in the adapter contract; protocol 6 (#85) - #228

Merged
DanielNetzer merged 1 commit into
mainfrom
forgecell/issue-85-review-protocol
Oct 25, 2026
Merged

DanielNetzer merged 1 commit into
mainfrom
forgecell/issue-85-review-protocol

Conversation

@DanielNetzer

Copy link
Copy Markdown
Owner

Refs #85. This completes the v1 slice; see the note below.

The review Atom from #85's first slice (5f490f1) built a read-only review invocation that was never pinned by the adapter contract. This PR finishes that, per the operator decision recorded in the issue on 2026-10-25:

  • Protocol bump: AdapterProtocolVersion goes from "5" to "6", because the review invocation is a changed adapter invocation.
  • Pinned contract: adapterContractDigest now also covers review, review+extensions and review+model for codex, claude-code and cursor. The new "6" digest is pinned, and the historical pins 2–5 are unchanged.
  • Version test: TestSliceBAnalysisInstructionNamesLineRanges now accepts protocol 5 or later instead of exactly "5". This was an approved scope change.
  • Docs: docs/atoms.md states that the review invocation is part of protocol 6, that saved bindings need a reviewed init --rebind, and what is deferred.

The v1 acceptance is already covered by existing tests on main: per-adapter read-only flags, extensions refused, GH_TOKEN/GITHUB_TOKEN/CI tokens and plan credentials withheld from the provider, malformed output failing closed, bounded and escaped rendering, and high findings blocking delivery. Deferred (post-v1): the amendment loop, the issue follow-up policy and learn integration. After this merges, the Lab gets a reviewed launcher-only rebind to protocol 6.

Built by Forgecell Molecule mol-85-764070c59dae6ade5ceb3bcd (plan revision 2). On the candidate tree every check passed, including the full -timeout 20m baseline. Hand-delivered: the protected regression runs the base contract test, which has no "6" pin, so it fails by design. A clean-shell go test -timeout 25m ./..., vet and gofmt all pass.

🤖 Generated with Claude Code

…tocol 6 (#85)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DanielNetzer
DanielNetzer merged commit 3b11018 into main Oct 25, 2026
2 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.

1 participant