Repository navigation
feat(SILVER-RING-DR-04): 8 ring-architecture lint rules with T+30 escalation (closes #462) - #484
Merged
Merged
Conversation
…alation Silver-tier ring under trios-doctor GOLD crate: - R-RING-FACADE-001 outer GOLD src/lib.rs ≤ 50 LoC, re-exports only - R-RING-DEP-002 Silver-tier no-I/O dep enforcement - R-RING-FLOW-003 data flows down (Silver→Bronze) - R-RING-BR-004 Bronze re-exposed via parent GOLD facade - R-MCP-BRIDGE-005 MCP bridge rings under vendor/tri-mcp/rings/ - R-L1-ECHO-006 no .sh inside crates/ - R-L6-PURE-007 no .py inside crates/ - R-COQ-LINK-008 Bronze BPB sinks reference COQ_THEOREM_ID EscalationConfig: warn-severity findings flip to error after [doctor.escalation] T_plus_30 (default 2026-06-01). 16 unit tests GREEN, clippy 0 warnings, tempfile-based fixtures. R-RING-FACADE-001 honored (recursive: facade dead-code from gold until DR-05 wires RuleEngine in). R-RING-DEP-002 honored (Silver-tier deps only: serde, serde_json, toml, chrono, walkdir, thiserror; no tokio/reqwest/tonic). I5 honored (README.md, TASK.md, AGENTS.md, RING.md, Cargo.toml, src/lib.rs). Closes #462 Part-of: #446 Agent: Doctor-Doctrine
gHashTag
force-pushed
the
ring-446-silver-ring-dr-04
branch
from
May 2, 2026 10:57
53721d5 to
4a48082
Compare
This was referenced May 2, 2026
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.
SILVER-RING-DR-04 — ring-architecture lint rules
Silver-tier ring under
trios-doctorGOLD crate. Encodes the eight ring-architecture rules the constitution actually cares about into one lint engine with T+30 escalation.Rules
R-RING-FACADE-001src/lib.rs≤ 50 LoC, re-exports onlyis_facade_onlypredicate + LoC capR-RING-DEP-002tokio/reqwest/tonic/rusqliteforbidden underrings/SILVER-*andrings/SR-*R-RING-FLOW-003../BR-*from Silver Cargo.tomlR-RING-BR-004src/lib.rsmentions_br_/br_outputR-MCP-BRIDGE-005vendor/tri-mcp/rings/mcpoutside that pathR-L1-ECHO-006.shfiles insidecrates/R-L6-PURE-007.pyfiles insidecrates/R-COQ-LINK-008COQ_THEOREM_IDEscalation
EscalationConfig::severity_at(now)flipsSeverity::Warn→Severity::Erroronce the wall clock crossest_plus_30. Until then every finding is non-blocking.Surface
R5-honest scope
RuleEngineinto thetrios-doctorGOLD facade — lands in DR-05gHashTag/triosworkspace — lands when DR-05 wires inTests — 16/16 GREEN
cargo clippy --manifest-path crates/trios-doctor/rings/SILVER-RING-DR-04/Cargo.toml --all-targets -- -D warnings→ 0 warnings.Constitutional compliance
serde,serde_json,toml,chrono,walkdir,thiserror; devtempfile. No tokio, no reqwest, no subprocess..shhere.pyhereAgent: Doctor-DoctrinetrailerCI honest disclosure
Pre-existing failures on
main(I5red on legacycrates/trios-a2a/rings/*andcrates/trios-mcp/rings/*,ARCH-UI, genericTest) are out of scope. Merge via--admin --squash --delete-branchper EPIC #446 stewardship.Closes #462
Part-of: #446
🌻
α_φ = φ⁻³/2 ≈ 0.1180·φ²+φ⁻²=3· TRINITY