[P1] Enforce crate dependency boundaries in workspace #3

Open
opened 2026-03-31 19:58:36 -05:00 by joe · 0 comments
Owner

Council finding: with the multi-crate workspace now established, explicit dependency rules should be enforced to prevent future cycles.

Desired boundary rules:

  • notcore is a leaf crate — depends on nothing in this workspace
  • notsecrets, nothooks, notfiles depend on notcore but NOT on each other
  • notstrap is the top-level orchestrator — may depend on all others

How to enforce:

  • Add cargo-deny rules or workspace [patch] guards
  • Document the dependency graph in CLAUDE.md or architecture docs
  • Consider a CI check that fails on unexpected cross-crate deps

Source: devloop council analysis 2026-03-31

Council finding: with the multi-crate workspace now established, explicit dependency rules should be enforced to prevent future cycles. **Desired boundary rules:** - `notcore` is a leaf crate — depends on nothing in this workspace - `notsecrets`, `nothooks`, `notfiles` depend on `notcore` but NOT on each other - `notstrap` is the top-level orchestrator — may depend on all others **How to enforce:** - Add `cargo-deny` rules or workspace `[patch]` guards - Document the dependency graph in CLAUDE.md or architecture docs - Consider a CI check that fails on unexpected cross-crate deps Source: devloop council analysis 2026-03-31
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joe/notfiles#3