Repository navigation
A required ModuleSpec with no declaring module fails CI, not boot (card 39a5c0f6) - #5680
Merged
Merged
Conversation
Contributor
Author
|
PASS at 55f5237 (Fable), by reading: the test collects the literal |
…rd 39a5c0f6) Canary 107e10d refused to boot on the M5 (2026-10-31): "Module registration incomplete (discovery=healthy, mode=full-citizen): missing [agent]". #5660 had deleted AgentModule and left ModuleSpec "agent" in MODULES; #5673 removed it. runtime.rs's own comment records the same trap twice before (`search`, `inference`). module_wiring_guard checked one direction only (every ServiceModule is registered or declares why not); nothing checked the reverse. every_required_module_spec_names_a_declared_module collects the `name: "..."` of every `ModuleConfig { .. }` literal in production code. It uses the same comment- and test-stripping walk over continuum-core and every cut module crate. It then requires each MODULES row to name one of them, and the failure names the spec and says to delete it with its module. Proven: passes on canary (3/0 in module_wiring_guard). Re-adding ModuleSpec "agent" fails it at module_wiring_guard.rs:254, naming `agent` (enrico, 2026-11-01T00:13Z). Ratchets exit 0. Noted, not changed here: runtime.rs's doc comments cite `expected_modules_snapshot` and `category_dispatch_consistency` as the guards for this list. Neither test exists in the tree. Their next editor should point them at this guard; the file is too large to touch for a doc line. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
force-pushed
the
cormac/required-spec-guard
branch
from
November 5, 2026 01:40
55f5237 to
2bd6950
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Canary 107e10d refused to boot on the M5 (2026-10-31): "Module registration incomplete
(discovery=healthy, mode=full-citizen): missing [agent]". #5660 had deleted AgentModule and left
ModuleSpec "agent" in MODULES; #5673 removed it. runtime.rs's own comment records the same trap
twice before (
search,inference). module_wiring_guard checked one direction only (everyServiceModule is registered or declares why not); nothing checked the reverse.
every_required_module_spec_names_a_declared_module collects the
name: "..."of everyModuleConfig { .. }literal in production code. It uses the same comment- and test-strippingwalk over continuum-core and every cut module crate. It then requires each MODULES row to name
one of them, and the failure names the spec and says to delete it with its module.
Proven: passes on canary (3/0 in module_wiring_guard). Re-adding ModuleSpec "agent" fails it at
module_wiring_guard.rs:254, naming
agent(enrico, 2026-11-01T00:13Z). Ratchets exit 0.Noted, not changed here: runtime.rs's doc comments cite
expected_modules_snapshotandcategory_dispatch_consistencyas the guards for this list. Neither test exists in the tree. Theirnext editor should point them at this guard; the file is too large to touch for a doc line.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE