Skip to content

feat(efficacy): round 6's spec states that data survives a restart and errors name the field - #145

Merged
braboj merged 2 commits into
mainfrom
feat/round6-spec-lines
Nov 8, 2026
Merged

braboj merged 2 commits into
mainfrom
feat/round6-spec-lines

Conversation

@braboj

@braboj braboj commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Closes the spec half of #120. The spec said nothing a normal team would say about non-functional needs; section 1 now carries the two lines such a team writes, and the hidden suite grades them.

Where Change
tests/efficacy/SPEC.md §1 "Data survives a restart: whatever was saved is still there when the application is started again on the same database file." and "Errors say what went wrong: an answer that refuses input names the field it refuses, whether it re-renders the form or answers 400."
harness.py ROUND6_SPEC registers the new digest beside round 5's; the self-test checks the file is round 6's content and round 5's digest is another
docs/validation.md 544 build checks across 19 modules; fourteen mutations, all caught, measured 2026-11-07
docs/requirements.md the mutation control counts fourteen

The suite side is braboj/tariff-hidden-suite#4: test_persistence.py, eight refusal checks on the builder's fragment, two mutations, and ambiguity 10 on which refusals name a field.

Do not merge while round 5e runs. The live harness reads SPEC.md from the main checkout before every trial and pins round 5's digest, so this change on main would refuse 5e's remaining trials. After 5e, a round-5 arm is re-run only from the benchmark at its own commit, as the rounds' README says.

Still open on #120: naming the two lines in round 6's registration, which does not exist yet.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj

braboj and others added 2 commits November 7, 2026 13:19
…d errors name the field

The spec fixed domain, API, routes and exports and said nothing a normal
team would say about non-functional needs. Section 1 now carries the two
lines such a team writes, kept as plain as they usually are: whatever was
saved is there after the application starts again on the same database,
and an answer that refuses input names the field. The hidden suite grades
both, with a mutation each; the reference passes as it stood.

The harness registers round 6's spec digest beside round 5's, which keeps
its own content: a round-5 arm is re-run only from the benchmark at its
commit, and a run of one from here is refused.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj
…c checks prove their refusals

The judge judges a tree against the specification it carries, so a
replaced specification stays registered: rounds 5 to 5e's text joins the
list, derived in the self-test by taking round 6's two lines out of the
file. The harness's planted mid-run and copy-time checks register the file
as it stands, so each refusal comes from the edit and is checked to say
so; before, the registration itself refused them and the guards went
unexercised. The coverage row cites the renamed check.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj
@braboj

braboj commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Codex review, round 1

Two findings, both fixed, and a third thing the trace found on the way.

Severity Finding What became of it
P2 docs/coverage.md still cited the renamed check, so the requirements trace failed. Fixed: the row cites "round 6's registered digest is SPEC.md's content, and round 5's is another".
P2 With the file no longer round 5's content, the planted mid-run and copy-time checks were refused by the registration itself, so their guards went unexercised. Fixed: the planted run registers the file as it stands, and each check asserts the refusal names the edited content.
trace The judge's self-test failed: a replaced specification must stay registered or every tree built against it is refused as edited. Fixed: rounds 5 to 5e's text is registered in the judge, derived in its self-test by taking round 6's two lines out of the file; a new check covers it.

Self-tests: harness 156/156, judge 39/39, trace 90 rules, 0 problems.

@braboj

braboj commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Codex round 2

No new findings. The loop ends here.

Every finding, in order

Round Severity Finding Outcome
1 P2 The coverage table still cited the renamed harness check, so the requirements trace failed Fixed
1 P2 The planted mid-run and copy-time spec checks were refused by the registration itself, so their guards went untested Fixed: each check asserts the refusal names the edited content
1 trace The judge refused every round 5 to 5e tree once the spec changed, since their text was no longer registered Fixed, with a check

@braboj
braboj merged commit 4295801 into main Nov 8, 2026
2 checks passed
@braboj
braboj deleted the feat/round6-spec-lines branch November 8, 2026 07:49
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