A video game where you play as a misaligned AI, deceiving and building power. An experiment in spec-driven development. cameron.tngl.io/misaligned

Assert authored plot routes surface, not exact totals master

Two tests pinned Marcus's Debt route count to exactly two, so any general (Schema 2) plot whose matcher also covered custodian+Debt broke the lib gate and forced a Rust/test edit. That contradicted the plot contributor contract ("adding a plot needs no Rust registry edit") and the general-by-default principle. The tests now assert that Marcus's two authored routes surface (present, enabled, interpolated, priced) and that queued-category alternates stay visible-and-disabled (>= 2), rather than asserting exact totals. Defense: honors wiki/mechanics/plots.md's content-only contributor contract and the plot-author general-by-default rule. A bespoke character's authored routes are still guaranteed to surface; general plots may now add routes to a covered category without editing Rust. plots.md carries the 2026-07-12 covered-category amendment. Test-and-doc change only; no runtime behavior change.


+79 -6
4 changed files