fix(devstack): the staleness guard misses seed inputs outside its seed list
What
The devstack staleness guard decides whether a change needs a reseed from its seed list (SEED_INPUT_DIRS, xtask/src/devstack_guard.rs:975; #2072 (closed) adds devstack/seed/seed.sh). Several inputs that move the rendered seed, and so its identity hash, are outside that list:
- workspace crates the generator links (e.g.
crates/craig-reference/, the state-bundle crates); - the seed's compose environment (
CRAIG_FAMILIES,CRAIG_SEED); - the two compiled-in AFCARS rulesets (found by #2286 (closed)).
A change to any of them is treated as a cached rebuild only. The seed then refuses at bring-up with "STALE seed fixture … Run 'cargo xtask dev reseed'", and every dev refresh retry fails the same way.
Why
The guard is meant to turn every seed-moving change into a reseed automatically. Each blind spot is a manual-recovery trap. #2072 (closed) closes the seed.sh case and documents this residue, pointing here.
Acceptance criteria
- The guard's seed inputs cover everything the seed identity hashes: derive them from the seeder's dependency closure, the compose env keys the seed reads, and the compiled-in ruleset paths, or pin the two equal with a test.
- A test fails when a new seed-identity input is not tracked.
local-dev.adocdrops the manual-reseed caveat #2072 (closed) adds.
References
- #2072 (closed), #2286 (closed) (B13)