Files
Assistant/dev/tasks/DEV-000076-creator-chat-cognitive-status.json
m b0ee54153b
CI / test (push) Successful in 20s
CI / test (pull_request) Successful in 19s
feat(chat): show cognitive channel status
2026-08-21 09:09:26 +03:00

48 lines
2.7 KiB
JSON

{
"task_id": "DEV-000076",
"task_revision": 1,
"architecture_revision": "DEV-000073-baseline",
"base_repo_revision": "26cf85108a63dfbd67866d9df0445dbcb54983be",
"risk_tier": "E",
"intent": "Show the human user whether Domovoy's primary cognitive channel is available without exposing provider internals or mixing technical events into the conversation.",
"requirement_ids": [
"Chat shows a human-readable cognitive channel status",
"Status is read-only and refreshed periodically",
"Chat does not expose provider, model or binding identifiers",
"Chat remains usable while status observation fails"
],
"allowed_change_scope": {
"modules": ["cmd/creator-web"],
"paths": [
"cmd/creator-web/chat_test.go",
"cmd/creator-web/static/chat.html",
"cmd/creator-web/static/assets/chat.css",
"cmd/creator-web/static/assets/chat.js",
"dev/ACTIVE_TASK.json",
"dev/tasks/DEV-000076-creator-chat-cognitive-status.json"
]
},
"forbidden_change_scope": {
"paths": ["architecture/**", "security/**", "database/**", "modules/**", "contracts/**", "adapters/**", "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 authenticated /api/capabilities/cognitive-proposal/health endpoint"], "may_change": []},
"semantic_owner": "none-interface-adapter",
"canonical_state": [],
"state_transitions": ["Browser polls existing cognitive capability health observation", "Browser renders coarse human-readable status"],
"side_effects_and_privileges": ["Read-only observation", "No new privilege", "No provider/model routing change"],
"persistence_and_migrations": ["No persistence or migration"],
"failure_retry_restart": ["Failed observation renders an unavailable/degraded notice; chat remains available", "Polling retries on the next interval"],
"assumptions": ["The existing health endpoint returns State or state with AVAILABLE, DEGRADED or UNAVAILABLE semantics", "The chat token authorizes the existing health endpoint"],
"acceptance_scenarios": ["Authenticated chat displays a status indicator", "Health polling does not reveal internal identifiers", "Mobile header keeps the status visible", "A failed health request does not disable the composer"],
"required_tests": ["go test ./cmd/creator-web", "go test ./...", "go vet ./...", "devctl preflight", "devctl check-diff", "devctl check-architecture", "git diff --check", "node --check cmd/creator-web/static/assets/chat.js"],
"terminal_gap_states": ["BLOCKED_BY_ARCHITECTURE_GAP", "BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_CONFLICT"]
}