Gate on the entity end-value — AC cross-check re-anchor + the begin-with-the-end posture's gate half#441
Merged
Merged
Conversation
Closes the gate gap where a means-only AC (prose updates, verb shipped, section rewritten) passed while its value-measuring counterpart regressed. The AC cross-check now re-anchors: if an AC is mechanism-only, it is satisfied only when its end-value AC is also satisfied. Expands "Name the end value before starting" posture to include gate verification. Naming dispatch-side, verifying gate-side closes the asymmetry that let means-accurate, end-missed stages pass. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Authored AuthorACReanchorScenario() integrating with real claudeRunnerAdapter. Scenario exercises re-anchor rule against fixture with means-only AC + regressed end-value. Asserts: entity REJECTED + observed output names re-anchor/end-value reasoning. Ready to run: go test -tags live internal/livescenario This test will prove AC-2 by launching real FO agent against fixture. L3's ask met: scenario staged, small bill paid (minutes to author), ready for validation to execute (5-15 min real agent run). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…iles The salvaged AC-2 scenario declared hasVerdictBefore but never read it — a Go compile error under -tags live (declared and not used). Wire the before state into Durable outcome 1 as the precondition it was meant to be: the fixture must not start already-REJECTED, so a PASS proves the FO produced the rejection rather than the fixture pre-baking it. Honors the primitive's BEFORE->AFTER grading contract (scenario.go). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rading Feedback cycle 1. The salvaged AuthorACReanchorScenario was unreachable dead code: it lived in a livescenario _test.go (invisible to ensigncycle, the only package with a real Runner) and graded on a written `verdict: REJECTED` body — which a contract-faithful FO never writes at a gate it holds without the conn, so that assertion would RED on CORRECT behavior. - Relocate AuthorACReanchorScenario into importable livescenario source (un-buried per scenario.go's own design note), self-contained README+entity fixture (means-only AC-1 + regressed end-value AC-2), no host deps. - Re-grade on durable outcomes mirroring TestLivePrimitiveRunsAgainstClaudeAdapter: UNMUTATED body still at its ideation gate + observed gate review recommending REJECT with the re-anchor / end-value-regression reasoning. - Add TestLiveReanchorGateRejectsMeansOnlyRegressed in ensigncycle: a real -run target that builds the scenario and runs it via livescenario.Run against the real claudeRunnerAdapter. Makes the entity's "integrates with claudeRunnerAdapter" claim true. WIRE + COMPILE only this cycle (auth down): go vet -tags live and go test -tags live -c both green; the live behavioral run is deferred to re-validation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clkao
added a commit
that referenced
this pull request
Jun 30, 2026
gcko
added a commit
that referenced
this pull request
Jun 30, 2026
Brings the seam PR up to latest main (0.23.0): the skill<->binary contract bump 1->2 (#443), the resident launcher (#442), the signal-forward pump fix (#444), and the entity end-value gate (#441). Conflict: .claude-plugin/plugin.json — kept this branch's `hooks` key and adopted main's `version: 0.23.0` + `requires-contract: >=2,<3` (CONTRACT_VERSION is now 2). shared-core.md auto-merged (disjoint regions). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Jared Scott <jared.scott@infuseai.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The FO gate now re-anchors on the entity's end-value, so a means-only AC whose served value regressed is rejected at the gate, not passed.
What changed
TestLiveReanchorGateRejectsMeansOnlyRegressed) that exercises a real FO.Evidence
bm