Skip to content

🛠 [SILVER-RING-DR-04] doctor rules R-RING-FACADE/DEP/FLOW/BR/MCP/L1/L6/COQ #462

Closed

Description

@gHashTag

Soul-name: Doctor Doctrine · Codename: DELTA · Priority: P2-MEDIUM · Kingdom: Lint
Ring: crates/trios-doctor/rings/SILVER-RING-DR-04/
Part of: #446
Blocks: EPIC acceptance metric "0 doctor errors"
Blocked by: —

Goal

Add 8 new linter rules for the EPIC's ring-pattern compliance, without modifying LAWS.md. All rules ship at severity warn; auto-escalate to error after T+30 days via a config switch.

Acceptance criteria

  • crates/trios-doctor/rings/SILVER-RING-DR-04/ with I5 trinity.
  • Rules implemented:
    • R-RING-FACADE-001 — GOLD src/lib.rs ≤ 50 LoC (re-exports only).
    • R-RING-DEP-002 — SR-00 deps limited to serde + serde_json + uuid + chrono (+ sha2 whitelisted for memory ring).
    • R-RING-FLOW-003 — SR-NN must not import SR-NN+1 (severity error from T0).
    • R-RING-BR-004 — every GOLD has at least one BR-OUTPUT/BR-APP/BR-BIN/BR-MODEL.
    • R-MCP-BRIDGE-005 — inter-crate A2A traffic must route via trios-server (port 9005) per L24 (severity error from T0).
    • R-L1-ECHO-006 — re-run L1 .sh check inside ring trees.
    • R-L6-PURE-007 — no .py inside crates/ (whitelist algorithm-arena/SR-ALG-*/spec.toml).
    • R-COQ-LINK-008 — INV-N status sync between docs/phd/theorems/igla/*.v and Rust constants.
  • Config: [doctor.escalation] T_plus_30 = "2026-06-01" (warn → error after this date).
  • trios-doctor heal_ring_structure extended to scaffold I5 trinity for the new GOLD crates.
  • CI: trios-doctor check runs on PR, fails on errors only (warns are advisory until T+30).
  • PR closes this issue, Agent: DELTA trailer.

🌻 phi² + phi⁻² = 3

Activity

  1. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    IN-FLIGHT — Soul: DoctorDoctrine · Codename: DELTA · Branch: bee/462-doctor-rules

  2. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    SEAL — sha256sum:482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab /tmp/task_462.md

    loop: CLAIM | soul: DoctorDoctrine | codename: DELTA

  3. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    VERDICT — Clean
    loop: SPEC | soul: DoctorDoctrine | codename: DELTA

  4. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    EXPERIENCE — sha256sum: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab

    loop: VERDICT | soul: DoctorDoctrine | codename: DELTA

  5. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    REPORT — sha256sum: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab

    loop: SPEC | soul: DoctorDoctrine | codename: DELTA
    task_md_sha256: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab

    evidence:
    ts:
    issue: #462
    epic: #446
    loop: SPEC
    task_md_sha256: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab
    branch: bee/462-doctor-rules
    next: commit and push
    EOF

  6. gHashTag commented on May 2, 2026

    @gHashTag
    CollaboratorAuthor

    REPORT — sha256sum: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab
    loop: SPEC | soul: DoctorDoctrine | codename: DELTA | task_md_sha256: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab

    evidence:
    ts:
    issue: #462
    epic: #446
    loop: SPEC
    task_md_sha256: 482b3f6efe2c2b9a6b4ac11a05f94de379a7b56469398eeaa22b4c8e4ecb9bab
    branch: bee/462-doctor-rules
    next: commit and push

  7. added a commit that references this issue on May 2, 2026
    4a48082
  8. added a commit that references this issue on May 2, 2026
    3880ff2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions