[sovereignty] Cut the Cloud Umbilical — closes #94 #107
Reference in New Issue
Block a user
Delete Branch "gemini/operational-hygiene"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Problem (Issue #94)
The active config had three cloud leaks:
fallback_modelgenerativelanguage.googleapis.com)localhost:11434)model=null, provider=null(inherits cloud)hermes3:lateston Ollamatts.openai.modelgpt-4o-mini-ttsThe fallback was the most dangerous: whenever local inference failed (Ollama down, model not loaded, timeout), Hermes silently fell through to Google's API. Every response from that path was a sovereignty violation.
What Changed
config.yaml
fallback_model→hermes3:latestonlocalhost:11434(emergency only)— still available for explicit--model gemini-2.5-prooverride but never inherited automaticallytts.openai.model→ disabled (empty string)cron/jobs.json
model,provider,base_urlfields pointing to local Ollamatests/test_sovereignty_enforcement.py (NEW — 13 tests)
TestDefaultModelIsLocalTestFallbackIsLocalTestCronSovereigntyTestCustomProvidersTestVoiceSovereigntyThese tests are regression guards — they'll catch any future commit that reintroduces cloud defaults.
tests/test_local_runtime_defaults.py (UPDATED)
gemini-2.5-pro→hermes3:latestWhat Still Works
Google Gemini is still available for explicit override:
It's just never automatic anymore. You have to ask for it.
Full Suite
36/36 pass. Zero regressions.
Acceptance Criteria (from #94)