feat(rdlc): instantiate the RDLC regulator's interior blocks (NDCVB=M), honest-dark#66
Conversation
…), honest-dark
Instantiate RDLC (Research Development Life Cycle) as a SIBLING lifecycle of SDLC over
the claim-assertion plant, per the reorientation framework's "instantiate, not build":
supply the four-tuple <Phi ResearchCase, Xi RStage, psi validity_gates, beta admission>
and bind M=NDCVB, inheriting the tier-0 commons. Rendered honest-dark — only blocks
that exist are lit.
commons/ (tier-0): BaseGovernanceCase spine + the ordinal_stage helper (pure: imports no
lifecycle or model). AuthorityCase reparent + RiskTier/ledger extraction are DEFERRED to
a governance-authorized follow-up — beta is mid-flight on sdlc/authority_case.py, so this
lands ADDITIVE-ONLY with zero sdlc/ edits (no collision, no kernel change).
rdlc/ (the sibling): RStage (R0..R5, disposition-first — no SDLC code-mutation verbs),
ResearchCase (claim-plant fields only, fail-closed; no SDLC no-go fields by inheritance),
gate_status/gate_result (the {*} terminal-stalk theorem as a constructor invariant — a
DARK/PARTIAL gate carrying a verdict is UNCONSTRUCTABLE), m_binding (the sole ndcvb
importer; lazy/optional, so M absent => honest dark, not an import crash), validity_gates
(psi1 LIT / psi2-4 PARTIAL / psi5 freeze-lock DARK / psi6 dogfood DARK), admission (beta,
fail-closed allow-list), research_ledger (2nd ledger, same mechanism), validator CLI.
Designed + ground-truth-verified by a workflow; GO-WITH-FIXES from an adversarial fidelity
review (all 5 framework rules pass; every prior cross-fault avoided). Must-fixes applied:
psi1 is LIT-as-capability / per-case-dark until a run binds (R-A); the import-graph lint
pins commons tier-0 purity + the sole-ndcvb-importer + sibling-disjointness (R-C).
149 passed, ruff clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughIntroduces a new Changescommons tier-0 base and rdlc research lifecycle
Sequence Diagram(s)sequenceDiagram
participant CLI as validator CLI (main)
participant validate_file
participant ResearchCase
participant no_go_violations
participant assertion_admitted
participant construct_validity_gate
participant ndcvb
CLI->>validate_file: path, strict=True/False
validate_file->>ResearchCase: from_yaml(file_text)
ResearchCase-->>validate_file: ResearchCase instance
validate_file->>no_go_violations: no_go_violations()
no_go_violations-->>validate_file: list[str] violations
validate_file-->>CLI: issues list (PASS / FAIL)
Note over assertion_admitted,ndcvb: Separate admission flow
assertion_admitted->>construct_validity_gate: measurement
construct_validity_gate->>ndcvb: score(measurement)
ndcvb-->>construct_validity_gate: Verdict or error
construct_validity_gate-->>assertion_admitted: GateResult (LIT/DARK)
assertion_admitted-->>CLI: True (admitted) or False (blocked)
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
RDLC instantiation — interior blocks Φ/Ξ/ψ/M/β (NDCVB=M), honest-dark
Instantiates RDLC (Research Development Life Cycle) as a sibling lifecycle of SDLC over the
claim-assertion plant, per the reorientation framework's "instantiate, not build": supply the
four-tuple ⟨Φ
ResearchCase, ΞRStage, ψvalidity_gates, βadmission⟩ and bind M = NDCVB,inheriting a new tier-0
commons/. Rendered honest-dark — only blocks that exist are lit.Designed by a multi-agent workflow (3 designs → synthesis → adversarial fidelity review =
GO-WITH-FIXES; all five framework rules pass, every prior cross-fault avoided). Both must-fixes
applied.
What's here
commons/(tier-0, pure):BaseGovernanceCasespine +ordinal_stagehelper.rdlc/(the sibling):ResearchCase(Φ) — claim-plant fields only; no SDLC code-mutation no-go fields by inheritance (the category error is type-impossible).RStage(Ξ) — R0…R5, disposition-first (noallows_source_mutation/allows_release).gate_status/gate_result— the {∗} terminal-stalk theorem as a constructor invariant: a DARK/PARTIAL gate carrying a verdict is unconstructable.m_binding(M) — the solendcvbimporter, lazy/optional → instrument absent = honest dark, not an import crash.validity_gates(ψ) — 1 LIT (ψ1 = construct-validity via M), 3 PARTIAL, 2 DARK (freeze-lock never fired; reflexive-dogfood is vapor — both render dark, claim no protection).admission(β) — fail-closed allow-list;research_ledger;validatorCLI.Scope discipline (why additive-only)
Built with zero
sdlc/edits: beta is mid-flight onsdlc/authority_case.py, so thecommons-extraction + AuthorityCase reparent are a deferred, governance-authorized follow-up.
This PR introduces no governance-kernel change.
Must-fixes applied
ResearchCaseis per-case-dark until a realMeasurementbinds (construct_validity_gate(None)→ DARK).sdlc ⟂ rdlc).Evidence
sdlc/suite stays green — proving the additive build introduces zero regression.🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Testing