fix(harness): realign SKILL projection and tests with question-language detection

bd416f73 hand-edited SKILL.md; port the same Language contract change to
projection.md.tmpl so the rendered projection is byte-identical again, and
update the approved baseline hash. The Postgres language-authority test
predated question detection: give the legacy manifest a too-short question
so it still proves the workspace fallback is pinned once and never re-read.
Also fix ruff E701 in test_administration.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codex
2026-10-17 23:03:21 +02:00
co-authored by Claude Opus 5.5
parent 8bd1f3e793
commit ca7ae1bcfb
4 changed files with 15 additions and 7 deletions
@@ -118,7 +118,8 @@ def test_cli_creation_and_resume_use_postgres_language_authority(database_url, m
session_id = json.loads(invoke("new", "Pazienti", "--interaction-language", "en", "--json"))["id"]
invoke("reopen", session_id)
assert json.loads(invoke("show", session_id, "--json"))["interaction_language"] == "en"
legacy = _manifest(str(uuid.uuid4()))
# Too short to detect: the legacy pin falls back to the workspace language, once.
legacy = _manifest(str(uuid.uuid4())).model_copy(update={"question": "Ablazioni?"})
_repository(database_url, "cli-language").create(legacy)
invoke("reopen", legacy.id)
cfg.language = "en"