Files
Assistant/dev/tasks/DEV-000077-creator-chat-cognitive-bridge.json
m 9aa5771f55
CI / test (push) Successful in 20s
CI / test (pull_request) Successful in 19s
feat(chat): bridge cognitive status to console
2026-08-21 09:14:35 +03:00

48 lines
2.8 KiB
JSON

{
"task_id": "DEV-000077",
"task_revision": 1,
"architecture_revision": "DEV-000073-baseline",
"base_repo_revision": "75abfb204bb427a0500a8c37440c374576c2153c",
"risk_tier": "E",
"intent": "Make model configuration changes understandable from the human chat while keeping configuration mutation in the separate operator console.",
"requirement_ids": [
"User can manually re-check the cognitive channel from chat",
"Chat clearly directs configuration changes to the operator console",
"No configuration mutation is performed by the browser chat",
"The conversation remains free of technical runtime identifiers"
],
"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-000077-creator-chat-cognitive-bridge.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", "existing /admin operator surface"], "may_change": []},
"semantic_owner": "none-interface-adapter",
"canonical_state": [],
"state_transitions": ["User requests a fresh read-only health observation", "Browser presents console handoff when the channel is not ready"],
"side_effects_and_privileges": ["Read-only observation only", "No new privilege", "No provider/model routing change", "No chat mutation from status controls"],
"persistence_and_migrations": ["No persistence or migration"],
"failure_retry_restart": ["Manual check uses the same safe health route", "Polling remains the retry mechanism"],
"assumptions": ["The operator console remains the authorized place for runtime configuration changes", "The existing health route is sufficient to observe readiness"],
"acceptance_scenarios": ["Clicking status requests a fresh health observation", "Unavailable status exposes an operator-console handoff", "Available status hides the handoff", "Chat HTML remains free of internal identifiers"],
"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"]
}