grounding-conformancelisted
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