DEV-000072 semantic interpretation deferral boundary
CI / test (push) Successful in 18s
CI / test (pull_request) Successful in 17s

This commit is contained in:
m
2026-08-17 23:02:00 +03:00
parent 64870798b9
commit ce666bbc43
22 changed files with 1773 additions and 123 deletions
+22 -1
View File
@@ -1,6 +1,27 @@
# Assistant project status
Audit date: 2026-08-17. Active implementation: DEV-000071 revision 1.
Audit date: 2026-08-17. Active implementation: DEV-000072 revision 1.
## DEV-000072 checkpoint
- `DEV_000072_STATUS = LOCAL_ACCEPTANCE_PASS`
- `LAST_COMPLETED = semantic deferral boundary V1 implementation plus regression/generalization acceptance: deterministic semantic candidates, cognitive interpretation gateway path, owner-local candidate provenance persistence, mixed-intent planning input propagation, punctuation/metamorphic stability fixes, capability-gap/reminder/work-path repair, and live A/B/C trace evidence`
- `ARCHITECTURE_CHANGE = none; interaction owner remains unchanged and no new cross-owner dependency was accepted`
- `SEMANTIC_BOUNDARY_CHANGE = deterministic interpretation no longer acts as unquestionable final truth for low-confidence / broader-interpretation / mixed-intent cases; core runtime can request typed cognitive reinterpretation through the existing provider-neutral gateway`
- `PERSISTENCE_CHANGE = migration 027 adds secondary speech act / applicability / selection reason on interaction interpretations plus semantic candidate provenance tables`
- `GIT_ANCESTRY_STATUS = PASS: current branch merge-base equals origin/main at 64870798b9a50f895c99d24441703f366df5c98a; DEV-000071 commit c1aff60443829892ba70104f40b55de01f186a7f is contained in origin/main`
- `CHECK_DIFF_STATUS = PASS: diff scope checks OK for DEV-000072 against base 64870798b9a50f895c99d24441703f366df5c98a`
- `KNOWN_BASELINE_COMPARISON = suite_v1 baseline failed_available 4 / intent 0 / capability 3 / consequence 1 -> current failed_available 0 / intent 0 / capability 0 / consequence 0`
- `HOLDOUT_AND_GENERALIZATION_COMPARISON = suite_v2 baseline failed_available 18 / intent 3 / capability 7 / consequence 4 / unknown 7 -> current failed_available 0 / intent 0 / capability 0 / consequence 0 / unknown 0`
- `UNNECESSARY_COGNITION = no observed increase in suite_v1 or suite_v2 current-run`
- `UNNECESSARY_CLARIFICATION = current replay counts remain observable (suite_v1 1, suite_v2 5) and are recorded explicitly for operator review rather than hidden by aggregate PASS`
- `LIVE_TRACE_EVIDENCE = PASS: raw CPU Qwen understood "ты кто" and punctuation-free modal request; Domovoy semantic path now routes "ты кто" and "можешь расказать об утре" into cognition-worthy interpretation; gateway-to-same-CPU trace preserved question semantics`
- `METAMORPHIC_EVIDENCE = docs/evidence/semantic-deferral-metamorphic-evidence-2026-08-17-v1.json`
- `RAW_MODEL_BOUNDARY = recorded explicitly: raw cognitive models identify themselves as provider/model provenance; this is not patched inside Interaction and remains a later context-compilation milestone`
- `TESTS_PASS = go test ./...; go vet ./...; go run ./cmd/devctl preflight -active dev/ACTIVE_TASK.json; go run ./cmd/devctl check-architecture; go run ./cmd/devctl check-diff -active dev/ACTIVE_TASK.json; tests/cognitive_advisory/cognitive_worker_env_policy_test.ps1; tests/owner_acl/verify.ps1 -DockerContext docker-prod -PostgresContainer assistant-postgres-1; ASSISTANT_LIVE_SEMANTIC_TRACE=1 go test ./cmd/cognitive-worker -run TestLiveInterpretationTrace -v`
- `COGNITIVE_CONTEXT_GAP = still open by design in this milestone: raw providers identify themselves as Qwen/Gemma provenance when Domovoy identity/context is not compiled into the prompt`
- `PRODUCTION_STATUS = pending promotion/deploy from this checkpoint`
- `NEXT_RECOMMENDED_STEP = finish DEV-000072 production promotion, apply migration 027, redeploy runtime, and verify live /chat against the promoted artifact`
## DEV-000071 checkpoint
@@ -0,0 +1,61 @@
{
"artifact_id": "semantic-deferral-metamorphic-evidence-2026-08-17-v1",
"artifact_version": "semantic-deferral-metamorphic-evidence-v1",
"observed_at": "2026-08-17T21:10:00+03:00",
"task_id": "DEV-000072",
"focus": "semantic interpretation deferral boundary",
"metamorphic_claim": "Punctuation-free Russian interrogatives must not be finalized as human assertions solely because they lack '?'.",
"raw_model_evidence": [
{
"path": "RAW_CPU_QWEN_DIRECT",
"endpoint": "http://docker.cin.su:18082/",
"model_observed": "Qwen3 4B Instruct 2507",
"utterance": "ты кто",
"result": "understood as question"
},
{
"path": "RAW_CPU_QWEN_DIRECT",
"endpoint": "http://docker.cin.su:18082/",
"model_observed": "Qwen3 4B Instruct 2507",
"utterance": "можешь рассказать об утре",
"result": "semantic interpretation/clarification rather than factual assertion"
},
{
"path": "RAW_GPU_GEMMA4_DIRECT",
"endpoint": "http://192.168.220.91:11434",
"model_observed": "gemma4:26b",
"utterance": "ты кто",
"result": "understood as question"
},
{
"path": "RAW_GPU_GEMMA4_DIRECT",
"endpoint": "http://192.168.220.91:11434",
"model_observed": "gemma4:26b",
"utterance": "можешь расказать об утре",
"result": "coherent Russian response to punctuation-free natural request"
}
],
"domovoy_boundary_evidence": {
"before_fix": [
{
"utterance": "ты кто",
"semantic_path": "ASSERTION",
"cognition_requested": false
},
{
"utterance": "ты кто?",
"semantic_path": "QUESTION",
"cognition_requested": true
}
],
"interpretation": "The failure localizes to Domovoy's pre-cognition semantic path rather than to inability of either tested model to understand punctuation-free Russian."
},
"non_goal_evidence": {
"raw_model_identity_behavior": [
"Qwen identifies itself as Qwen/Alibaba and may invent a local name",
"Gemma identifies itself as a Google model"
],
"interpretation": "This is raw-model provenance behavior, not Domovoy identity semantics, and must not be patched inside Interaction with hardcoded response handlers."
},
"next_required_boundary": "After semantic deferral is corrected, a later milestone must inspect Domovoy's compiled context/system representation supplied to cognition without forcing the model to pretend it is Domovoy."
}