Commit graph

323 commits

Author SHA1 Message Date
029e83117c
test(r8): move the live tests the move map missed
33 more tests of live behaviour from the deleted round files, each in
the test file named after its source and seen failing under a mutation
of that source (log in the project folder). Two stay dropped: one pinned
the removed gate states, one the old Phase 1.5 file comparison. The two
trekexecute.md sentences that still said /trekcontinue compares the two
prompt files now say it uses the project-folder file (line count kept).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:11:25 +01:00
8295601965
chore(cleanup): remove the June trials, orchestrator docs, dormant agent, caller-less code and the fix-round chain
R4-R7 of the cleanup list (decision 188): the June trial docs and
fixtures, the three orchestrator reference docs, the dormant
synthesis-agent, code with no caller (project-discovery, bash-normalize,
fidelity-diff, test-census, the next-session prompt validator, arm B and
the --workflow flag) and the fix-round chain. Living docs repointed; the
reasons for in-session orchestration and the all-opus pin are now written
in docs/architecture.md and docs/profiles.md.

New tests/lib/living-paths.test.mjs: living tracked text names only
plugin paths that exist (seen red with 22 dead pointers before this
commit). docs/T1-cc26-delegated-orchestration.md and
lib/review/gold-scorer.mjs stay until R-b: the frozen end-state registry
names them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:51:54 +01:00
308b149e70
refactor(gates): the autonomy gate is the --gates flag parser
lib/util/autonomy-gate.mjs keeps only gatesValue + parseGatesArgs and the
CLI ({"ok":true,"gates":true|false}; exact usage error on a bad value;
the old --state/--event arguments are a usage error). The four commands
run 'autonomy-gate.mjs --gates [value]' and read gates. Prose (README,
operations, architecture, sdlc-playbook-gap) and the S24, gates-flag
and [#1] tests follow (R9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:37:03 +01:00
651be3468b
test(r8): move the live tests out of the round files
R8 of cleanup R-a (plan .claude/projects/2026-11-07-cleanup-r-a, appendix A).
The live tests of the round files move into the test named after their
source; each moved test was seen red under a mutation of its source.
New: tests/lib/lib-imports.test.mjs, tests/lib/timing.test.mjs (from
timing-under-load). The [#1] --gates rule and shim-line pins move into
tests/lib/autonomy-gate.test.mjs.

Removed: the round test files (retterunde, retterunde-prose-pins,
trial-mechanical-fixes, trial2-fixes, trial2-minor, trial2-minor-prose-pins,
fix-round-4-5a-prose, fix-round-4-5b2-b-prose, timing-under-load), the 8 R8
e2e scripts, and seven round test files on the R-a removal list that pinned
them (fix-round-4-5b-prose, fix-round-4-5b-part-2/3/4-scripts,
fix-round-4-5b-part-4-prose, fix-round-4-5b2-b/c-scripts). The diff-mode e2e
pin (test 24) and the red-script round-wrapper cases go too.

tests/synthetic/plan-run-C.md becomes tests/fixtures/plan-run-c.md,
regenerated from buildPlan({ version: '1.9' }). The red judge, reporter and
judge test headers now name the shared red script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:19:49 +01:00
9edc998fac
refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:29:46 +01:00
6c8f7377bb
test(red-proof): fix round 4.5b2 part C red proof and changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:17:19 +01:00
5b9cbeba28
fix(review): the evidence writer takes a verdict only for the branch head
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:27:19 +01:00
d4daa9d787
fix(review): the instruction set holds nested rules files and a link's own name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:16:34 +01:00
d81bd39754
fix(review): an answer after a stopped prepare no longer locks the rounds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:05:04 +01:00
fc252f8d56
fix(review): the verdict gate refuses duplicate finding ids
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:40:25 +01:00
d38846f61d
test(red-proof): fix round 4.5b2 part B red proof and regression run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:27:24 +01:00
3cb3958238
fix(review): a dropped engine finding keeps the gate not measured, round 1 included
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:57:30 +01:00
a09e6c96a1
fix(review): scope_sha_start is bound to the fork point from main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:23:21 +01:00
57e7eba0a0
fix(review): R6 checks every parent of a commit after the review
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:07:08 +01:00
03c9f527a3
docs(changelog): review gate 4.5b2 part B, its door and known issues 2026-11-02 21:42:38 +01:00
ec5b6483ec
feat(hooks): the merge question says how the run was tested and how it is undone 2026-11-02 21:23:24 +01:00
fcba232ccd
feat(review): the code-correctness reviewer checks the repo's tracked instruction files 2026-11-02 20:47:15 +01:00
349a4fc789
feat(review): the standard path puts back engine findings the coordinator dropped 2026-11-02 20:12:46 +01:00
8d399fddfb
feat(review): a REVIEW.md policy caps and skips MINOR findings only 2026-11-02 19:43:54 +01:00
9e7e8d1516
feat(trekexecute): every MAJOR answered before merge, fixed runs the fix loop 2026-11-02 18:44:42 +01:00
635003e8aa
feat(review): review rounds carry findings until resolved, one cap of three 2026-11-02 17:44:23 +01:00
1464605e35
feat(review): pre-existing findings marked from git and re-derived by the gate 2026-11-02 16:37:24 +01:00
ce7dbc27a9
feat(review): a WARN opens the lock only when every counting MAJOR is answered 2026-11-02 15:45:37 +01:00
ce64851a0d
fix(review): an append of review answers to the approval log keeps the review current 2026-11-02 15:01:58 +01:00
5709957e10
feat(review): review_version 1.2 with answers, pre-existing, rounds and policy fields 2026-11-02 14:22:35 +01:00
ed67526987
feat(review): two CLAUDE.md rule keys at MINOR, the catalogue counts 17 2026-11-02 13:53:24 +01:00
63fd33daaf
test(red-proof): fix round 4.5b2 part A red proof and regression run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:34:40 +01:00
023ccc32af
docs(changelog): fix round 4.5b2 part A, the part 4 bullets brought in line, two findings and the minor ones as known issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:20:59 +01:00
1f5b42556e
test(red-proof): fix round 4.5b part 4 red proof and regression run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:08:57 +01:00
8b9b9439cf
docs(changelog): fix round 4.5b part 4, the review's other findings as known issues, and the TOK claim without never
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:57:48 +01:00
051331a5ef
test(red-proof): fix round 4.5b part 3 red proof and regression run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:04:36 +01:00
31af4fa774
docs(changelog): fix round 4.5b part 3 and the review's other two findings as known issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:54:24 +01:00
8c52c3c32e
fix(arg-parser): a quoted value closes at a quote that ends a word, also after whitespace
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:34:38 +01:00
c75ae2d3f5
refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:34:32 +01:00
712a51591d
docs(changelog): fix round 4.5b part 2, its red proof and the review's other findings as known issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:21:17 +01:00
f9cd08076e
fix(trekexecute): the checkpoint records the full commit id for the done line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:06:52 +01:00
1b9d5fd459
fix(review): a failed git check-ignore writes no pointer, whatever language git speaks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 15:46:43 +01:00
8be0c05221
fix(arg-parser): a quoted value stops at a quote that starts a word and never swallows a later flag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 15:18:55 +01:00
52c382c198
refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 20:39:40 +01:00
76f74793e9
test(red-proof): the two regression guards that pass at be0b631 get their own mutation ids
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 20:18:23 +01:00
ad053e0e0e
docs(changelog): fix round 4.5b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:02:58 +01:00
b9d173a7fd
test(red-proof): the tests the 4.5a discovered-error fix added carry their id tags
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:45:46 +01:00
c7fdbf0d8b
fix(review): applying a lesson skips a symlinked CLAUDE.md and an ignored lessons file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:27:33 +01:00
33ef2c1b3a
fix(trekexecute): run_seen is kept in progress.json and reported on every path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:05:43 +01:00
27280ca8cb
fix(docs): the deep-research merge and engine condition are stated and the research prose is pinned exactly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:53:37 +01:00
4b59ec7f16
fix(commands): the trekplan execute exits run Phase 12 and the research loop names its model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:40:24 +01:00
b99081f215
fix(trekbrief): every exit names Phase 7 with its auto_result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:30:30 +01:00
2c0a98c1ba
fix(commands): Phase 0 gives the arguments to the parser on stdin, never as shell words
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:55:21 +01:00
f1704f0800
fix(arg-parser): take the arguments as stdin text, and block a heredoc that closes early
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:40:21 +01:00
738efa3e24
fix(review): the coordinator and orchestrator texts say what the code does on refutation and the brief-conflict exception
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:18:03 +01:00