Skip to main content

AI reference

Governance + skills

See The Agentic Operating System and SOP source of truth.

ComponentSource path
Assistant core SOPhome/readonly_AGENTS.md
Assistant skillshome/exact_dot_agents/exact_skills/
Shared assistant hookshome/exact_dot_agents/exact_hooks/
Cursor CLI hookshome/dot_cursor/hooks.json

~/CLAUDE.md, ~/.gemini/GEMINI.md, ~/.cursor/AGENTS.md, ~/.codex/AGENTS.md, ~/.config/opencode/AGENTS.md, and ~/.copilot/copilot-instructions.md are symlinks to ~/AGENTS.md.

Git commit/push safety gate

executable_gemini-git-gate.py is a shared pre-shell hook (Cursor beforeShellExecution, Gemini BeforeTool, and the Pi/OMP runtime extensions) that asks for approval before a git commit or git push. It classifies the real subcommand behind chains, env/-C/-c, and recognized wrappers (sudo, command, time, bash -c, ...), and fails closed on anything ambiguous. Non-git commands are allowed even when they mention git, so .git path probes such as stat .git/index.lock run without prompting.

Harness configs

Per-tool config sources and the run_onchange_after_07-* hooks that render them. See Tool configs.

ToolSourceMerge hook
Claude Codehome/dot_claude/run_onchange_after_07-merge-claude-code-settings.sh.tmpl
Codexhome/dot_codex/run_onchange_after_07-merge-codex-config.sh.tmpl
Geminihome/dot_gemini/run_onchange_after_07-merge-gemini-settings.sh.tmpl
OpenCodehome/dot_config/opencode/run_onchange_after_07-merge-opencode-config.sh.tmpl
Pihome/dot_pi/agent/run_onchange_after_07-merge-pi-config.sh.tmpl
Copilothome/private_dot_copilot/run_onchange_after_07-merge-copilot-config.sh.tmpl
Cursorhome/dot_cursor/settings tracked directly

Model registry

Single source of truth for LiteLLM/Azure definitions, curated Cursor models, Pi extras, provider routes, and review-lane model policy; per-tool model configs and the generated mirror derive from it. See Model registry & routing.

ComponentSource path
Model definitionshome/.chezmoidata/ai_models.yaml
YAML readerscripts/ai_models.py
Pi models generatorscripts/generate_pi_models.py
OpenCode models mergescripts/merge_opencode_models.py
Display-name formattingscripts/model_display.py
Prompt-cache probescripts/probe_litellm_prompt_cache.py
Pi session analyzerscripts/analyze_pi_session.py

MCP

Canonical MCP registry plus generator/injectors. See MCP servers.

ComponentSource path
MCP registryhome/.chezmoidata/mcp_servers.yaml
Registry readerscripts/mcp_registry.py
Config generatorscripts/generate_mcp_configs.py
Codex injectorscripts/inject_mcp_into_codex_toml.py
OpenCode injectorscripts/inject_mcp_into_opencode_jsonc.py
Claude MCP mergescripts/merge_claude_mcp.py
Generate hookrun_onchange_after_07-generate-mcp-configs.sh.tmpl

Memory

Two distinct memory layers. See Agent memory.

ComponentSource path
AI knowledge base (,ai-kb)home/exact_bin/executable_,ai-kb, scripts/ai_kb.py
Proof ledger (,proof)home/exact_bin/executable_,proof, home/exact_lib/exact_,proof/main.py
Embedding servicescripts/embed.py, scripts/embed_runner.py
Vector retrievalscripts/vec_runner.py
Hook memory (,agent-memory)home/exact_bin/executable_,agent-memory, scripts/agent_memory.py

Local inference

See llama.cpp local inference.

ComponentSource path
GGUF model manifesthome/readonly_dot_default-llama-cpp-models.tmpl
Router presethome/dot_config/llama.cpp/models.ini.tmpl
Chat templatehome/dot_config/llama.cpp/readonly_qwen3.6-chat-template.jinja
Sync hook + helperrun_onchange_after_07-sync-llama-cpp-models.sh.tmpl, scripts/sync_llama_cpp_models.py
Control planehome/exact_bin/executable_,llama-cpp
Claude launcherhome/exact_bin/executable_,claude-llama-cpp
Codex launcherhome/exact_bin/executable_,codex-llama-cpp, home/exact_bin/executable_,codex, home/exact_lib/exact_,codex/main.py
OpenCode launcherhome/exact_bin/executable_,opencode-llama-cpp
Pi providerhome/dot_pi/agent/readonly_models.json