← ClaudeAtlas

dxkit-looplisted

Set up and operate the dxkit Stop-gate for autonomous coding loops — register the hook, run the preflight, explain why a loop was blocked, read the loop ledger, and switch the blocking posture (security-only vs full-debt). Use when the user says "set up the loop gate", "why did the loop get blocked", "stop the agent from shipping debt", "run a safe agent loop", "show the loop ledger", "switch the loop to full-debt", or anything about running an unattended Claude Code loop behind dxkit.
vyuh-labs/dxkit · ★ 10 · Code & Development · score 72
Install: claude install-skill vyuh-labs/dxkit
# dxkit-loop This skill owns the **loop pack**: the deterministic preflight/postflight layer that keeps an autonomous coding loop from declaring "done" while it has introduced net-new findings. Reach for it to set the gate up, to explain a block, or to tune the posture. ## What the loop pack is When Claude Code runs in a loop (it keeps working until it decides to stop), a **Stop hook** runs `vyuh-dxkit hook stop-gate` every time the agent tries to stop. The gate re-runs the guardrail check against the baseline and: - **net-new findings → blocks the stop** and feeds the exact findings back to the model so it repairs them, then tries to stop again; - **clean → allows the stop** (optionally after a configured test command passes); - **gate can't run (no baseline / config error) → blocks once for the operator** (a problem the model can't fix), then allows on the next attempt to avoid thrashing. Every Stop event is appended to an audit trail at `.dxkit/loop/ledger.jsonl`. The value is **predictability, not a new scanner**: the gate bounds the "loop shipped debt and never fixed it" failure mode to zero. It uses the same findings, baseline, and identity contract as the rest of dxkit — it does not detect anything new. ## See it first (no setup) ```bash # No API key, no Claude Code, no scanners — runs the real gate over an example # finding and shows the block → repair → clean flow offline. npx vyuh-dxkit demo loop-guardrail ``` ## Setup ```bash # Register the Stop hook + CL