[DIC-21] quarantine-eval CLI — DecaySignal → QuarantineDecision (#6032)#8714
Draft
an0mium wants to merge 3 commits into
Draft
[DIC-21] quarantine-eval CLI — DecaySignal → QuarantineDecision (#6032)#8714an0mium wants to merge 3 commits into
an0mium wants to merge 3 commits into
Conversation
Adds `aragora quarantine-eval --signal <file>` operator verb that reads a DecaySignal JSON, applies apply_quarantine_policy, and emits the QuarantineDecision as text or JSON. Flag-gated (ARAGORA_QUARANTINE_POLICY_ENABLED, default OFF); no live queue effect. Advances #6032.
… LOC) - Replace `_parse_signal() -> _Signal` with `-> Any` to drop the one type: ignore[arg-type] that pushed the repo count from 700 to 701. - Compact _add_quarantine_eval_parser in parser.py (38 → 22 lines): single-line docstring, drop description=, 1-line --signal arg, remove redundant default=False from --request-live-swap. Brings parser.py from 5415 → 5399 LOC (limit 5400). 17/17 DIC-21 tests still pass; ruff check + format clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TqVG9qv9bkUkUVZp9WYjh2
This was referenced Jun 30, 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.
Slice
Adds the
aragora quarantine-evalCLI subcommand — the operator surface for DIC-21 (fail-closed quarantine policy, issue #6032).Every other DIC-18..28 item already has a CLI command (
dic18_truth_map.py,dic19_proof_units.py,dic20_decay_monitor.py,dic24_genealogy.py,dic26_coherence.py,dic28_crux_garden.py). DIC-21 was the only one missing an operator surface despite having a complete Python implementation (aragora/epistemic/quarantine_policy.py) already on main.Files changed (3, net +348 LOC — no deletions):
aragora/cli/commands/dic21_quarantine.py— new CLI command implementation (125 lines)aragora/cli/parser.py— registers_add_quarantine_eval_parser()at line ~225 with comment# DIC-21 / #6032(+41 lines)tests/cli/test_dic21_quarantine.py— 17 hermetic tests (182 lines)The command reads a
DecaySignalJSON file (fromaragora decay-monitoroutput), appliesapply_quarantine_policy(), and emits theQuarantineDecisionas text or--json. No queue writes, no live-routing calls.Gating
ARAGORA_QUARANTINE_POLICY_ENABLED(default OFF)live_swapis permanently blocked for all unit classes (enforced insideapply_quarantine_policy, not in the CLI)vision-layerlabel only; notboss-readyorautonomousTests
Run locally with:
Validation
ruff check— all checks passedruff format --check— 2 files already formattedorigin/main(cherry-picked 2 commits; diff is pure addition)Out of scope
boss-readypromotion (blocked until proof-first Foreman gate opens)aragora/epistemic/quarantine_policy.py(already tested and on main)Generated by Claude Code