Commit 8732bf8
Gate on the entity end-value — AC cross-check re-anchor + the begin-with-the-end posture's gate half (#441)
* FO-contract: end-value re-anchor in AC coverage cross-check + posture
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>
* AC-2 scenario: real livescenario test authored, ready for validation
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>
* fix(livescenario): wire before-state guard so ac2 re-anchor test compiles
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>
* fix(ac2): wire re-anchor scenario to a real -run target + gate-held grading
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>
---------
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 6ea56f9 commit 8732bf8
3 files changed
Lines changed: 166 additions & 2 deletions
File tree
- internal
- ensigncycle
- livescenario
- skills/first-officer/references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments