{ id = "0008", slug = "claude-ontology-context", description = "Add Ontological Context section to .claude/CLAUDE.md with describe command reference and constraint index", check = { tag = "Grep", pattern = "Ontological Context", paths = [".claude/CLAUDE.md"], must_be_empty = false, }, instructions = " Add the following section to .claude/CLAUDE.md, immediately before the Agent Entry-Point Protocol section (or before the last major section if that section does not exist yet). ## Ontological Context ### Full context — single call (agents and complex sessions) ONTOREF_ACTOR=agent ontoref describe guides --actor agent Returns: identity, axioms, practices, hard constraints, gate state, FSM dimensions, actor policy, API surface filtered for agent actor, available modes. ### Targeted reads ontoref describe project — identity, axioms, tensions, practices, FSM dimensions ontoref describe constraints — invariants + hard constraints from all accepted ADRs ontoref describe state — FSM dimension current/desired/blocker per dimension ontoref describe capabilities — tools, modes + full DAG steps, backlog items, API routes, Cargo feature flags ### When to call what - Before touching .ontology/: describe project + describe state - Before touching Cargo.toml: describe constraints (check crate dep constraints) - Before starting any task: describe capabilities (backlog bugs may be relevant) - Full agent onboarding: describe guides --actor agent ", }