GitHub Copilot Instructions
GitHub Copilot Instructions for Vox
Section titled “GitHub Copilot Instructions for Vox”Vox uses AGENTS.md in the repository root as its single source of truth for cross-tool policy. Ensure you review it.
Critical Invariants
Section titled “Critical Invariants”-
Retired Surfaces (LLM Guard):
- Use
vox-orchestrator, NOTvox-dei. - Use
vox-openclaw-runtime, NOTvox-ars. - Use
vox-gamify, NOTvox-ludus. - Use
vox-compiler, NOTvox-lexer,vox-parser,vox-hir,vox-typeck. - Use
component Name() {}, NOT@component fn Name(). - Use
VOX_DB_URL/VOX_DB_TOKEN, NOTTURSO_URL/VOX_TURSO_URL/VOX_TURSO_TOKEN. - Use
MemoryManager::lookup_fact_by_key(or RAG retrieval), NOT deprecatedrecall()/recall_async(). - For writing facts, use
MemoryManager::persist_fact;sync_to_db()bulk-syncs MEMORY.md → DB only (not a drop-in forpersist_fact).
- Use
-
Secret Management:
- NEVER read secrets from environment variables directly (e.g.,
std::env::var). - ALWAYS use
vox_secrets::resolve_secret(...).
- NEVER read secrets from environment variables directly (e.g.,
-
TOESTUB & Governance:
- Skeleton code (
stub/todo,unimplemented!(), empty bodies) is blocked by CI. - Do NOT modify
contracts/without extreme care. - Do NOT write to
archive/ordocs/src/archive/. - Do NOT create
.pyfiles inscripts/; prefer Rust tooling.
- Skeleton code (