Expand description
Pluggable constrained compression (docs/CONTEXT_COMPILER.md §7, SCC-072) and cross-harness capsule export (docs/G7).
Functions§
- capsule_
markdown scc export capsule.md— portable startup capsule for any harness (Claude Code, Codex, Hermes, OpenCode…).- cmd_
context_ compress - cmd_
context_ compress_ json scc context compress <goal> [--cmd <cmd>] [--budget N] [--json]- cmd_
context_ compress_ json_ claims - Constrained generation seam (SCC-072, docs §71): with
claims=truethe external summarizer receives structured pack JSON (goal, content, entity_ids, evidence_summary) and MUST emit typed claims referencing known evidence; claims without valid evidence references are rejected — the LLM may label evidence, it may not invent it. - cmd_
setup_ codex scc setup codex— write AGENTS.md with the capsule + usage rules (docs/API_AND_INTEGRATIONS.md §5 for the Codex harness).- cmd_
setup_ opencode scc setup opencode(M10): AGENTS.md already carries the capsule (Codex/OpenCode/Hermes all read AGENTS.md); additionally write .opencode/opencode.json wiring the SCC MCP server so OpenCode sessions get the six semantic tools.