← Files AkinatorARCHIVED FILE
.github/copilot-instructions.md
5.45 KB · Oct 3, 2026 · 06:33 UTC
<!-- GENERATED FILE - DO NOT EDIT BY HAND. Generated by `scripts/render_routers.py` from `context/router-contract.md`. Edit the contract, then regenerate. Every router is rendered from it, so editing one directly forks the truth and the drift check fails. See `rules/09-routers-are-rendered-from-one-contract.md`. --> # Akinator Akinator - the knowledge-layer operating system for AI-maintained codebases. **One skill, one command, on every platform**: `/akinator:everything` on Claude Code, `$akinator` on Codex, `/akinator` on Cursor - and normally none at all, because it is always on. Installed into a repository, it makes it structurally impossible to change code without growing the knowledge around it. **This repo is maintained under its own discipline.** Every change here carries its own docs, skills, rules, context and memory delta. ## Start here - Rules (constraints you must not break): `rules/README.md` - The one skill and its station references: `docs/skills.md` - Agents (the boardroom lenses): `docs/agents.md` - Context (structural facts): `context/README.md` - Docs (architecture, decisions, compatibility): `docs/README.md` - Memory (durable decisions and surprises): `memory/index.md` - The brief (what a new session reads first): `.ai/BRIEF.md` - The ledger (what happened, and what recurs): `docs/ledger.md` - Templates (what Akinator ships to target repos): `templates/README.md` - The wiki home (product, business, requirements, drift, libraries, and the rest): `docs/wiki/index.md` ## Before you change anything - **Every batch declares a knowledge delta by path** - `rules/01-knowledge-delta-per-batch.md` - **Never add knowledge checks to git hooks** - `rules/05-no-git-hook-complication.md` - **The Codex pack and every router are generated** - `rules/07-codex-pack-is-generated.md` - **Routers are rendered from this contract** - `rules/09-routers-are-rendered-from-one-contract.md` - **Ledger records are redacted before write** - `rules/10-ledger-records-are-redacted-before-write.md` - **Every invariant ships with a test that proves it fires** - `rules/11-invariants-ship-with-a-mutation-test.md` - **Anything installed elsewhere names no local file** - `rules/12-artifacts-that-travel-name-nothing-local.md` - **Every prompt is documented everywhere it lands** - wiki, README, routers, rules, memory, context, ledger - `docs/adr/0010-every-prompt-documented-living-wiki.md` The one skill is `skills/everything/SKILL.md`; the full creed, loop and taxonomy are in its reference `skills/everything/references/akinator.md`. ## Running this repo | Task | Command | |---|---| | Test | `python -m pytest tests/ -q` | | Coverage check | `python skills/everything/scripts/akinator_coverage.py .` | | Coverage check (strict) | `python skills/everything/scripts/akinator_coverage.py . --strict` - the tier CI uses | | Regenerate the portable pack (Codex, Cursor) | `python scripts/build_codex_pack.py --write` | | Regenerate every router | `python scripts/render_routers.py --write` | | Regenerate the context brief | `python skills/everything/scripts/build_brief.py --write` | | Verify the ledger | `python skills/everything/scripts/akinator_ledger.py verify` | | Scope a pass to the change | `python skills/everything/scripts/akinator_scope.py plan` | | What recurs and needs a decision | `python skills/everything/scripts/akinator_distil.py detect` | | Regenerate the component map | `python scripts/extract_components.py --write` | | Regenerate the stack map | `python skills/everything/scripts/extract_stack.py --write` | | Regenerate the library pages | `python skills/everything/scripts/extract_libraries.py --write` | | Rebuild the wiki index / list its gaps | `python skills/everything/scripts/akinator_wiki.py index` / `gaps` | | Install from this checkout (all platforms) | `sh install.sh` - or `.\install.ps1` on Windows | Gate once, at the end of the batch, scoped to what you touched. See `rules/06-gate-once-scoped-at-the-end.md`. ## Layout | Directory | Holds | Generated? | |---|---|---| | `skills/everything/` | The one skill: `SKILL.md`, its station `references/` and its host-repo tools in `scripts/` | no, canonical | | `agents/` | The boardroom review lenses (Claude Code subagents) | no | | `hooks/` | SessionStart contract injection | no | | `templates/` | What Akinator writes into target repos, with filled examples | no | | `scripts/` | Build scripts that only make sense in this checkout - the pack and router generators, the component map, the eval runner | no | | `install.sh`, `install.ps1` | The one installer, for Claude Code, Codex and Cursor | no | | `evals/` | Behavioral eval suites and fixture repos | no | | `tests/` | Structural and enforcement tests | no | | `context/router-contract.md` | This file - the canonical router source | no, canonical | | `.agents/` | The portable pack: the one skill for Codex and Cursor, the portable contract, the Cursor rule | **yes** - `scripts/build_codex_pack.py` | | Every router file | CLAUDE, AGENTS, CODEX, GEMINI and the rest | **yes** - `scripts/render_routers.py` | <!-- akinator:tool-specific --> ## GitHub Copilot - Akinator is always-on for normal repository prompts; no slash command is required. - This file is one of several AI entry points in this repository. They are all rendered from `context/router-contract.md` and state the same facts. - If your tool reads skills from a directory, point it at `.agents/skills/` - Akinator's one skill, generated from `skills/everything/`. They cannot diverge: a drift check fails the build if they do.
SHA-256: 627eddc12eeba1b1df2c21e6d1808d5087230361d98c6e450631b8fdebbf00d1