← ClaudeAtlas

grounding-conformancelisted

Advisory grounding-conformance backfill sweep — classifies every frozen acceptance-contract.yaml in the corpus as GROUNDED / UNGROUNDED / STALE against the current system-state snapshot (from the system-state snapshot tool), reusing the system_grounding contract block's structural AND consistency validators (the system_grounding validators), and emits a deterministic backfill worklist naming every non-conformant atom. ADVISORY, NOT a merge gate — not part of the merge floor (ci.yml + btb-gates), is not a branch-protection required status, never rewrites a frozen contract. Trigger to measure how much of the AUTHORIZED corpus is reality-grounded and to surface the atoms still needing a system_grounding block backfilled or re-audited.
lukasrepublic/agentic-foundry · ★ 1 · AI & Automation · score 67
Install: claude install-skill lukasrepublic/agentic-foundry
# /foundry:grounding-conformance An operator/agent **ADVISORY** sweep that answers **"how much of the frozen corpus is reality-grounded, and which atoms are not?"** — the **coverage** analogue of `/foundry:drift-sweep` (the batch sweep, which answers a *delta* question: "did a schema change just invalidate frozen specs?"). This atom closes the reality-grounding gate's **retroactive gap**: atoms authorized **before** the gate existed (the system_grounding validators) carry **no** `system_grounding` block at all, so the corpus is only partially covered — this sweep measures the gap and lists exactly the atoms that still need attention. ```bash python3 "${CLAUDE_PLUGIN_ROOT}/scripts/foundry_grounding_conformance.py" \ --corpus-root "$CLAUDE_PROJECT_DIR" # default: $CLAUDE_PROJECT_DIR or cwd # --snapshot /path/to/snapshot.json # optional: inject a pre-built system-state snapshot; # default: build a fresh one host-side against --corpus-root ``` ## Input — the current system-state snapshot (host-side, HOW obtained is a wiring concern) The engine entrypoint, `foundry_grounding_conformance.classify_corpus(corpus_root, snapshot)`, takes an **already-built** snapshot from the system-state snapshot tool (`foundry_system_snapshot.build_system_snapshot()` — `{schema_ version, schema_grounded, module_grounded, grounding_configured, entities, modules, signature}`) as a parameter. It opens **no grounding source itself**. The standalo