Files
rag-technical-docs-assistant/docs/evaluation/local-s2s/phase-02-queue-repair-20261016.json
T
11linear11 a94b8cd3ea feat(voice): implement local S2S retained history and provider selection
Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling.

Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
2026-10-16 17:09:27 -04:00

95 lines
3.9 KiB
JSON

{
"date": "2026-10-16",
"phase": 2,
"status": "in_progress",
"repair": "Preserve Queue type subscription while binding the existing fail-closed queue to its owner stop event",
"queue_capacity_before": 256,
"queue_capacity_after": 256,
"overflow_behavior": "unchanged: set stop event and raise LOCAL_ENGINE_QUEUE_CAPACITY",
"base_image_id": "sha256:5c80c77c54da4641318e69cdb8fff092391cd746e491fa8029280c2999ce27d1",
"corrected_image_id": "sha256:6ad4a6a418ef3122923724760b9b2fa8e55cd7db10189614492f5e2b1dc23a74",
"corrected_image_tag": "rag-local-s2s-candidate:phase2-queue-fix",
"corrected_image_bytes": 2349835421,
"build_recipe": "FROM rag-local-s2s-candidate:phase2\nCOPY services/local_s2s/engine.py /app/services/local_s2s/engine.py\n",
"build_command": "docker build --pull=false --network none --progress=plain -f .local-s2s-build/queue-fix.Dockerfile -t rag-local-s2s-candidate:phase2-queue-fix .",
"build_exit_code": 0,
"construction_exit_code": 0,
"construction_observations": [
{
"stage": "construction",
"passed": true,
"manifest_sha256": "869eb6be1f444ecded8908b9339078cc5845df367207a63ed28173c4974dca26",
"handlers": [
"VADHandler",
"OpenAICompatibleSTTHandler",
"TranscriptionNotifier",
"ChatCompletionsApiModelHandler",
"LMOutputProcessor",
"OpenAICompatibleTTSHandler"
],
"fixture_requests": [
"/api/v1/audio/transcriptions",
"/api/v1/chat/completions",
"/api/v1/audio/speech"
],
"counts": {
"accepted": 3,
"/v1/audio/transcriptions": 1,
"released": 3,
"/v1/chat/completions": 1,
"/v1/audio/speech": 1
},
"paid_calls": 0,
"queue_generic_and_capacity": "passed",
"queue_capacity": 256
},
{
"stage": "construction_cleanup",
"passed": true,
"runtime_state": "stopped",
"counts": {
"accepted": 3,
"/v1/audio/transcriptions": 1,
"released": 3,
"/v1/chat/completions": 1,
"/v1/audio/speech": 1,
"shutdown_pending": 0
}
}
],
"tests": {
"name": "pytest",
"errors": "0",
"failures": "0",
"skipped": "0",
"tests": "109",
"time": "9.741",
"timestamp": "2026-10-16T05:51:28.420746-04:00",
"hostname": "kali"
},
"test_command": "TRUSTED_HOSTS='[\"localhost:8000\",\"127.0.0.1:8000\"]' .venv/bin/python -m pytest tests/unit/test_local_s2s_engine.py tests/unit/test_local_s2s_repairs.py tests/unit/test_local_s2s_phase2.py -q --tb=short -p no:cacheprovider --junitxml=.local-s2s-build/queue-fix-tests.xml",
"fingerprints": {
"services/local_s2s/engine.py": "91e613aa17e7dee66cf28864317021e99c233bd30591f11cd19b85dc7880eca6",
"docs/evaluation/local-s2s/image-construction-smoke.py": "203b64546ea51a413dac011d2c945568ffd8483102deff9b3e6432261619c5cf",
"services/local_s2s/pipeline.yaml": "50c3fa906b0096db01dfdc8380cef72d6136eda10c699cb3cee317899ab25947",
"services/local_s2s/requirements-linux-cpu.lock": "fdcd9ad5d520012d9a31fa6b89492f69c39454339c6766172bde2df0bf0bd19a"
},
"initial_test_attempt": "22 loopback failures and 1 socket-validation setup error under restricted sandbox; 86 passed. Same tests passed 109/109 with loopback access; no assertions or config files changed.",
"initial_full_recipe_attempt": "network-none invalidated dependency RUN cache; pip could not resolve its pinned wheel URL, build exit 1. Reused verified image instead; no dependency or model downloads.",
"unchanged": [
"OpenAI/Gemini",
"audio buffers, playback credit and speed",
"pipeline settings",
"lock and dependencies",
"operational services and database",
"original candidate image tag"
],
"paid_calls": 0,
"downloads": 0,
"remaining": [
"native server start and session/audio controlled-I/O conformance",
"native pipeline Linux signal cleanup",
"authorized real components and Persian browser acceptance"
]
}