Repository navigation
Closed
Description
Found by branch review of conveyor-engine before merge (the in-flight XMILE conveyor+queue implementation; specs docs/design/conveyors.md + docs/design/queues.md). Filed from a review report that exceeded its 15-finding cap.
Note: this may be addressed on-branch before merge; filing so it is tracked regardless.
Summary
The conveyor+queue branch leaves three explicit keep-docs-current rules violated:
src/simlin-engine/CLAUDE.md's module map (line 3 "this file maps where functionality lives", line 5 "Keep this file up to date when adding, removing, or reorganizing modules") documents none of the five new modules it wires intolib.rs(conveyor,conveyor_compile,conveyor_tests,queue,queue_compile).src/libsimlin/CLAUDE.md:34still assertssimlin_sim_newcompiles "viacompile_project_incremental(both LTM and non-LTM use the same incremental pipeline)" -- now false after a third special-stock build path was added.docs/design/queues.mdwas added without thedocs/README.mdindex entry thatdocs/CLAUDE.md:3requires (design/conveyors.mdis listed).
Cost
- An agent reading
src/simlin-engine/CLAUDE.md's module map is told conveyors/queues do not exist (grep -i 'conveyor|queue' src/simlin-engine/CLAUDE.md=> 0 hits, thoughlib.rs:34-75declares all five modules totaling ~8553 new lines). - An agent reading
src/libsimlin/CLAUDE.md:34believessimlin_sim_newalways routes through the incremental salsa pipeline and participates in LTM, when for any conveyor/queue model it instead takesqueue_compile::build_compiledon a private db that bypasses incremental compile and skips LTM (simulation.rs:54-116). - The 431-line queue spec is undiscoverable from
docs/README.md, the index root CLAUDE.md points readers at.
Evidence
src/simlin-engine/CLAUDE.md:3"...this file maps where functionality lives." and:5"Maintenance note: Keep this file up to date when adding, removing, or reorganizing modules.";grep -in -E 'conveyor|queue' src/simlin-engine/CLAUDE.md=> none;lib.rs:34pub mod conveyor;,:35pub mod conveyor_compile;,:37mod conveyor_tests;,:74pub mod queue;,:75pub mod queue_compile;src/libsimlin/CLAUDE.md:34claims the incremental pipeline; contradicted bysrc/libsimlin/src/simulation.rs:54-58("Conveyor AND queue models compile through the dedicated special-stock-type build path (queue_compile::build_compiled)... uses a private db (bypassing the incremental salsa db) and does not participate in LTM") and:105-106docs/CLAUDE.md:3requires updatingREADME.md;docs/README.md:7listsdesign/conveyors.md;grep -in queue docs/README.md=> none;docs/design/queues.mdis present (~21945 bytes)
Suggested direction
Add the five modules to the simlin-engine CLAUDE.md module map; correct the libsimlin CLAUDE.md simlin_sim_new description to note the special-stock build path; add the design/queues.md entry to docs/README.md.
Activity