Repository navigation
feat(efficacy): runs name their registration, and change tasks share one fixture - #182
Conversation
…on one fixture - REGISTRATIONS in harness.py: C1's spec, arms, K and prompt digest per task, and its change-fixture rule; a run names it with --round - Refuse an unknown round, an unregistered arm, a K past the round's, and a spec or prompt other than the pinned ones - Run and trial records carry the round, registration digest, task, arm and block; a root never mixes rounds, digests or unnamed records - C1's change task starts every arm of block b from the b-th qualifying round-5e none build, cycling, hash-checked from change-fixtures.json (empty for now, so the change run refuses), cleaned of instructions, settings, databases, caches, environments and history, one commit - Completeness per task, a change task counting whatever its build did - report.py reads the round from the run records and infers it from the arms only for records naming none - FR-13-11 to FR-13-16 with their coverage rows Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex round 1:
|
… its change tasks alone - recover() rewrites a run record with its round, registration and fixtures, so an interrupted C1 run leaves its root readable - A change run is refused when the manifest's sha256 or a block's fixture differs from the root's earlier change runs - report.py, for a named round, loads a change score whose build has no score as a trial of its own, keeps a reached build's change reading, scores it on its ISO axes as unmeasured, not broken, and reads no build Python for it; pilot rounds unchanged - FR-13-12, FR-13-15 reworded, FR-13-17 added, with coverage rows Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex round 1 fixes pushed (291d3ac). Round 2:
|
… did - For a named round, a broken build gates only the build's own ISO targets; the change targets, from a fixture, are read on their own, so one change result reads the same with its build unscored, working or broken - Pilot rounds keep the whole-axis gate - FR-13-17 reworded, its coverage row given the new check Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Round 2 fix pushed (5b70979). Codex round 3:
|
…e included - A run whose header names no round over trials that name one is refused, in the harness and in the report, rather than read as a pilot round - reuse.py writes the copied trials' round and registration digest in the header, and refuses to mix a named round's trials with another round's or with trials of none - FR-13-12 and FR-13-13 reworded, FR-13-18 added for reuse, with coverage Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex round 4: three P2s, fixing — named rounds skipped the preregistration check; archive verification loaded without the round; same-round reused trials read as cross-round. |
… round-aware - report.py refuses a named round unless its entry's document (C1: docs/rounds/round-c1.md, not yet written) landed on main before the first trial, a trial reused within the round counting toward its start - One entry point, round_trials and leave_out_reached, reads a round for both the report and the archive's verify, so a C1 change task's score changed in the archive fails the verify - reuse.py names the round and digest in a reused trial's origin, and the report pairs a trial reused within one named round with those run there - FR-13-18 reworded, FR-13-19 and FR-13-20 added, with coverage Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
…mpts - report.py refuses a named round whose scorable trial records another spec than its entry's, or a prompt other than the one pinned for its task, build or change, or records none - The change-only self-test's records carry C1's spec and change prompt, so it reaches the check it is for - FR-01-03 reworded, its coverage row given the new check Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex round 6: no findings. Ready for the owner's approval. |
…ts on planted repos - registration_problem() reads the main branch locally, else as origin/main, and refuses a clone with neither, with its reason, rather than crash, as a CI checkout of one branch did - The self-test of a trial reused within a named round reads a git repository it plants, not this one's branches - A check plants a clone with main, one with only origin/main and one with neither - FR-01-01 reworded, its coverage row given the new check Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
CI fix pushed (66c5e20: the self-tests plant their own repository; |
…identity Resolved as stack/c1-base (a643c29) resolved the same pairing: - docs/requirements.md, docs/coverage.md: both sides kept, FR-13-11 to FR-13-20 from this branch, then FR-13-21 from main; no ID taken twice - report.py load(): main's loop over security and quality readings, with this branch's rule that a change task standing alone takes none - report.py iso_trial_scores(): both docstrings' sentences, the named round's change targets and main's `axes` - change_only() also empties the quality reading, so a reached build's quality never stands on its change task Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
…1 registration test - A named round's change trial records its fixtures' directory as protected: its deny rules cover it, and the harness's scan and the report's re-scan flag any call naming a path into it - A run root inside the fixtures' directory is refused - The report reads a named round's registration from REPOSITORY, which its self-tests plant, so a real docs/rounds/round-c1.md changes nothing - FR-13-16 extended, with coverage Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Merged Codex review after the merge (gpt-6-astra, high): two findings, both fixed in 41558c1.
All self-tests, trace (121 rules, 0 problems) and pyflakes pass. Next round running. 🤖 Generated with Claude Code |
… roots in either case - The scans flag a fixture archive's name as a path component wherever it stands, and the fixtures' directory's own name after a climb (`../`), so a relative read from the workspace is caught; a folder of that name inside the workspace is not - The record names the run's archives; the report's re-scan reads them - The nested-root refusal compares resolved, normcased paths, and the deny rules carry each protected path as given, resolved and, on Windows, in lower case - FR-13-16 reworded Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex review after the merge, round 2 (gpt-6-astra, high): two findings, both fixed in 3342bb3.
harness 192/192, report 268/268, pyflakes clean. Next round running. 🤖 Generated with Claude Code |
- A symbolic or hard link the build froze stays in the change workspace where what it names stays; a link naming anything else, out of the tree, absolute or into what the cleaning drops, makes the fixture unusable, refused before the run and at its trial rather than silently dropped - FR-13-16 and chapter 8.2 state the scan's limit: it catches a named access, not a path the shell builds indirectly Refs #177. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
|
Codex review after the merge, round 3 (gpt-6-astra, high): two findings, handled in 2a3ec1b.
harness 194/194, pyflakes clean. Round 4 running. 🤖 Generated with Claude Code |
|
Codex review after the merge, round 4 (gpt-6-astra, high, at 2a3ec1b): no findings. The loop is clean. Merging once CI passes (owner approved). 🤖 Generated with Claude Code |
The harness and the report now know which round a run belongs to, so round 6 (
C1) can start, and every arm's change task starts from the same code.Before and after:
REGISTRATIONS["C1"]pins the spec, both prompt digests, the arms, K = 15 per task and the fixture rule; an unknown round, arm, K over 15, or mismatched digest is refusednonebuild (cycled); empty manifest, missing baseline or hash mismatch refuses the runtests/efficacy/change-fixtures.jsonis empty on purpose: qualification fills it (Round 6 (C1) registration #179), and until then C1's change runs are refused.lazysectionsandlazyref-oldjoinREGISTRATIONS["C1"]when they exist (Round 6: measure the check loop and section files, each paired within the round #169).harness self-test 188/188, report self-test 246/246,
trace.pyPASS, pyflakes cleaneach of 34 rules removed in turn fails its check
Closes #177.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3