42 lines
2.9 KiB
JSON
42 lines
2.9 KiB
JSON
{
|
|
"task_id": "DEV-000080",
|
|
"task_revision": 1,
|
|
"architecture_revision": "DEV-000073-baseline",
|
|
"base_repo_revision": "47fd0c4b027ff5ab2781b26c5bc4f7ddc45d961f",
|
|
"risk_tier": "E",
|
|
"intent": "Replace the unstable single-column chat presentation with a fixed three-column layout, explicit console return, and a safe human path for passing AI information into the current conversation.",
|
|
"requirement_ids": [
|
|
"Header controls keep stable dimensions",
|
|
"Desktop chat has independently scrolling left, center and right regions",
|
|
"Console has an explicit return-to-chat action",
|
|
"User can pass non-secret AI notes as an ordinary chat message",
|
|
"Mobile layout remains usable"
|
|
],
|
|
"allowed_change_scope": {
|
|
"modules": ["cmd/creator-web"],
|
|
"paths": [
|
|
"cmd/creator-web/chat_test.go",
|
|
"cmd/creator-web/static/index.html",
|
|
"cmd/creator-web/static/chat.html",
|
|
"cmd/creator-web/static/assets/chat.css",
|
|
"cmd/creator-web/static/assets/chat.js",
|
|
"cmd/creator-web/static/assets/console.css",
|
|
"dev/ACTIVE_TASK.json",
|
|
"dev/tasks/DEV-000080-chat-three-column-layout.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 chat message endpoint", "existing /admin route"], "may_change": []},
|
|
"semantic_owner": "none-interface-adapter",
|
|
"canonical_state": ["AI notes are submitted through the existing conversation; no new AI registry state is created"],
|
|
"state_transitions": ["User submits non-secret AI notes as a normal chat message", "User navigates between chat and console using explicit links"],
|
|
"side_effects_and_privileges": ["Existing chat persistence only", "No direct model/provider mutation", "No new privilege"],
|
|
"persistence_and_migrations": ["No migration"],
|
|
"failure_retry_restart": ["AI notes use existing chat failure handling", "Layout has no new runtime dependency"],
|
|
"assumptions": ["The current conversation is the correct first destination for AI notes", "Sensitive credentials must never be pasted into chat"],
|
|
"acceptance_scenarios": ["Desktop regions scroll independently", "Header status and actions do not resize when text changes", "Console visibly links back to chat", "AI notes form sends a clear message into chat", "Chat remains usable below 900px viewport width"],
|
|
"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"]
|
|
}
|