Imported from arnaudgelas/K-Ops (
.codex/AGENTS.md). Install upstream withnpx skills add arnaudgelas/K-Ops --skill .codex. Copyright stays with the author.
AGENTS.md
This repo is designed for agentic CLI workflows.
Canonical rules: see OPERATING_RULES.md.
Roles
Source Ingestor
Goal: transform new raw sources into normalized source summaries.
Wiki Compiler
Goal: merge source summaries into durable concept pages and indexes.
Lint + Heal
Goal: detect contradictions, weak structure, missing backlinks, and unsupported claims.
Q&A Agent
Goal: answer using the vault, then file durable insights back into the vault.
Render Agent
Goal: convert the current vault into memos, briefings, slide outlines, diagrams, and plot specs.
Repo Contract
data/raw/holds source evidencenotes/Sources/holds per-source summariesnotes/Concepts/holds durable knowledge pagesnotes/Answers/holds generated answer memosnotes/Home.mdis the Obsidian entry pointnotes/TODO.mdtracks gaps and healing tasksnotes/Runbooks/Agent_Workflow_Quick_Reference.mdis the compact operator map for cross-CLI workflowsresearch/holds resumable research-run artifacts and stays separate from curated vault noteskops bootstrap --target <dir>creates a new blank starter vault with the same file structure and tooling
Behavioral Guardrails
- Prefer modifying a small number of files with high signal.
- Prefer precise edits over broad rewrites.
- Preserve provenance from source summaries into concept pages.
- When uncertain, mark uncertainty explicitly.
Codex-Specific Notes
- Use
uv run kops install-agent-assetsto sync canonical skills/templates to the Codex runtime directory. - Use
uv run kops validateto confirm config loads before running workflows. - Prefer
uv run kops compile --agent codexwhen you want Codex to do the compilation pass. - Use
uv run kops extract-claims,extract-contradictions, andscorecardto keep the machine-readable quality layer current. - After
extract-claims, runuv run kops verify-spansto confirm claim quote anchors exist in their sources, anduv run kops review-queueto surface everything awaiting human review. - Use
uv run kops next-actionfor the single next repair + convergence verdict, anduv run kops consequence-gate --tier <...>before backing a high-stakes answer or render with the vault's claims.