Anthropic is not just removed — it is banned. This commit adds
enforcement at every gate to prevent re-introduction.
1. architecture_linter.py — 9 BANNED rules for Anthropic patterns
(provider, model slugs, API endpoints, keys, model names).
Scans all yaml/py/sh/json/md. Skips training data and historical docs.
2. pre-commit.py — scan_banned_providers() runs on every staged file.
Blocks any commit that introduces Anthropic references.
Exempt: training/, evaluations/, changelogs, historical cost data.
3. test_sovereignty_enforcement.py — TestAnthropicBan class with 4 tests:
- No Anthropic in wizard configs
- No Anthropic in playbooks
- No Anthropic in fallback chain
- No Anthropic API key in bootstrap
4. BANNED_PROVIDERS.md — Hard policy document. Golden state config.
Replacement table. Exception list. Not advisory — mandatory.
Golden state: Kimi K2.5 primary → Gemini via OpenRouter → local Ollama.
Anthropic is gone from every active config, fallback chain, and loop script.
Wizard configs (3):
- allegro, bezalel, ezra: removed anthropic from fallback_providers,
replaced with gemini + ollama. Removed anthropic provider section.
Playbooks (7):
- All playbooks now use kimi-k2.5 as preferred, google/gemini-2.5-pro
as fallback. No claude model references remain.
Fleet scripts (8):
- claude-loop.sh: deprecated (exit 0, original preserved as reference)
- claudemax-watchdog.sh: deprecated (exit 0)
- agent-loop.sh: removed claude dispatch case
- start-loops.sh: removed claude-locks, claude-loop from proc list
- timmy-orchestrator.sh: removed claude worker monitoring
- fleet-status.sh: zeroed claude loop counter
- model-health-check.sh: replaced check_anthropic_model with check_kimi_model
- ops-gitea.sh, ops-helpers.sh, ops-panel.sh: removed claude from agent lists
Infrastructure (5):
- wizard_bootstrap.py: removed anthropic pip package and API key checks
- WIZARD_ENVIRONMENT_CONTRACT.md: replaced ANTHROPIC keys with KIMI
- DEPLOY.md: replaced ANTHROPIC_API_KEY with KIMI_API_KEY
- fallback-portfolios.yaml: replaced anthropic provider with kimi-coding
- fleet-vocabulary.md: updated Ezra and Claude entries to Kimi K2.5
Docs (2):
- sonnet-workforce.md: deprecated with notice
- GoldenRockachopa-checkin.md: updated model references
Preserved (not touched):
- training/ data (changing would corrupt training set)
- evaluations/ (historical benchmarks)
- RELEASE_*.md (changelogs)
- metrics_helpers.py (historical cost calculation)
- hermes-sovereign/githooks/pre-commit.py (secret detection - still useful)
- security/secret-scan.yml (key detection - still useful)
- architecture_linter.py (warns about anthropic usage - desired behavior)
- test_sovereignty_enforcement.py (tests anthropic is blocked - correct)
- son-of-timmy.md philosophical references (Claude as one of many backends)
Refs: Sovereignty directive, zero-cloud vision
This SOUL.md is the Bitcoin inscription version, not the narrative
identity document. Adding an HTML comment header to clarify.
The canonical narrative SOUL.md lives in timmy-home.
See: #388, #378
Replaces the subprocess call to mempalace CLI binary with direct SovereignStore import. L1 palace search now uses SQLite + FTS5 + HRR vectors in-process. No ONNX, no subprocess, no API calls.
Removes: import subprocess, MEMPALACE_BIN constant
Adds: SovereignStore lazy singleton, _get_store(), SOVEREIGN_DB path
Closes#383
Depends on #380 (sovereign_store.py)