24 lines
2.4 KiB
JSON
24 lines
2.4 KiB
JSON
{
|
|
"task_id": "DEV-000085",
|
|
"task_revision": 1,
|
|
"architecture_revision": "DEV-000073-baseline",
|
|
"base_repo_revision": "cdc8eea1a747657ce0534b99ff35933ab3385877",
|
|
"risk_tier": "C",
|
|
"intent": "Keep Domovoy useful when external or active cognitive bindings are unavailable by invoking the built-in local lifeboat through the Cognitive Gateway and presenting an actionable recovery focus when all cognition fails.",
|
|
"requirement_ids": ["Built-in local cognition remains available", "Provider loss does not collapse conversation", "Recovery state is explained and actionable"],
|
|
"allowed_change_scope": {"modules": ["cognitive-worker"], "paths": ["cmd/cognitive-worker/gateway.go", "cmd/cognitive-worker/interpretation.go", "cmd/cognitive-worker/main.go", "cmd/cognitive-worker/gateway_registry_test.go", "cmd/cognitive-worker/interpretation_test.go", "dev/tasks/DEV-000085-builtin-cognitive-recovery.json"]},
|
|
"forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "deploy/**"]},
|
|
"allowed_architecture_delta": {"new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 0, "new_third_party_dependencies": 0, "new_provider_adapters": 0, "new_database_owner_roles": 0},
|
|
"contracts": {"consume": ["existing Cognitive Gateway and local provider adapter contracts"], "may_change": []},
|
|
"semantic_owner": "capability",
|
|
"canonical_state": [],
|
|
"state_transitions": ["No active binding -> built-in local invocation", "Built-in invocation failure -> recovery-focused degraded response"],
|
|
"side_effects_and_privileges": ["No new privilege", "Built-in path is local-only and cannot egress externally"],
|
|
"persistence_and_migrations": ["No persistence or migration"],
|
|
"failure_retry_restart": ["Provider failure remains observable; next request retries resolution and built-in local path"],
|
|
"assumptions": ["The configured local lifeboat endpoint is part of Domovoy and may be used without external egress acknowledgement"],
|
|
"acceptance_scenarios": ["Inactive registry with healthy local lifeboat invokes the local adapter", "Interpretation also uses the built-in local path", "All cognition failure returns an actionable recovery response"],
|
|
"required_tests": ["go test ./cmd/cognitive-worker", "go test ./...", "go vet ./...", "git diff --check"],
|
|
"terminal_gap_states": ["BLOCKED_BY_ARCHITECTURE_GAP", "BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_CONFLICT"]
|
|
}
|