claw-code/scripts
Bellman 49d5b3fcdc
Prevent poisoned ROADMAP ids before allocation (#3116)
Constraint: roadmap-next-id.sh must preserve single-id stdout on success while failing closed if duplicate validation cannot run.
Rejected: Relying only on CI/pre-push duplicate checks | the helper is used immediately before appending and must not certify an already-poisoned file.
Confidence: high
Scope-risk: narrow
Directive: Keep roadmap-next-id.sh stdout machine-clean; route validation failures and checker availability errors to stderr, and keep focused helper behavior coverage in the docs/ROADMAP CI path.
Tested: scripts/roadmap-next-id.sh ROADMAP.md printed 725 before appending #725 and 726 after; temp ROADMAP with duplicate 999 exited nonzero and listed duplicate id; scripts/roadmap-check-ids.sh ROADMAP.md; bash -n scripts/roadmap-next-id.sh scripts/roadmap-check-ids.sh; python -m unittest discover -s tests -p test_roadmap_helpers.py; python -m pytest tests/test_roadmap_helpers.py -q; SKIP_CLAW_PRE_PUSH_BUILD=1 bash .github/hooks/pre-push
Not-tested: full cargo workspace build, unchanged docs/script-only path
2026-05-26 09:10:02 +09:00
..
cc2_board.py Make the CC2 board schema executable for G001 2026-05-14 17:14:07 +09:00
dogfood-build.sh fix(scripts): inject GIT_SHA in dogfood-build.sh so provenance check passes (#2996) 2026-05-05 07:02:13 +09:00
fmt.sh Resolve fmt wrapper path from its own directory 2026-04-28 09:38:40 +00:00
generate_cc2_board.py Make the CC2 board schema executable for G001 2026-05-14 17:14:07 +09:00
roadmap-check-ids.sh Prevent helper-era ROADMAP id collisions before review (#3115) 2026-05-26 08:49:23 +09:00
roadmap-next-id.sh Prevent poisoned ROADMAP ids before allocation (#3116) 2026-05-26 09:10:02 +09:00
validate_cc2_board.py omx(team): auto-checkpoint worker-1 [1] 2026-05-14 16:58:43 +09:00