Skip to content

conveyor-engine: keep-docs-current violations (engine module map, libsimlin simlin_sim_new, docs/README queues index) #881

Closed

Description

@bpowers

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:

  1. 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 into lib.rs (conveyor, conveyor_compile, conveyor_tests, queue, queue_compile).
  2. src/libsimlin/CLAUDE.md:34 still asserts simlin_sim_new compiles "via compile_project_incremental (both LTM and non-LTM use the same incremental pipeline)" -- now false after a third special-stock build path was added.
  3. docs/design/queues.md was added without the docs/README.md index entry that docs/CLAUDE.md:3 requires (design/conveyors.md is 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, though lib.rs:34-75 declares all five modules totaling ~8553 new lines).
  • An agent reading src/libsimlin/CLAUDE.md:34 believes simlin_sim_new always routes through the incremental salsa pipeline and participates in LTM, when for any conveyor/queue model it instead takes queue_compile::build_compiled on 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:34 pub mod conveyor;, :35 pub mod conveyor_compile;, :37 mod conveyor_tests;, :74 pub mod queue;, :75 pub mod queue_compile;
  • src/libsimlin/CLAUDE.md:34 claims the incremental pipeline; contradicted by src/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-106
  • docs/CLAUDE.md:3 requires updating README.md; docs/README.md:7 lists design/conveyors.md; grep -in queue docs/README.md => none; docs/design/queues.md is 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

  1. added
    hygiene
    docs
    on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docshygiene

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions