{ "task_id": "DEV-000274", "task_revision": 1, "architecture_revision": "ADR-0018", "base_repo_revision": "5205845", "risk_tier": "E", "intent": "Make the default chat path refuse unverified factual answers instead of exposing model speculation; preserve explicitly classified internal status paths and leave a general research capability for the next routing stage.", "requirement_ids": ["truth-first default", "no fabricated factual answers", "semantic routing without entity word lists"], "allowed_change_scope": {"modules": ["creator-web", "cognitive-worker"], "paths": ["cmd/creator-web/server.go", "cmd/creator-web/chat_test.go", "cmd/cognitive-worker/interpretation.go", "cmd/cognitive-worker/interpretation_test.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000274-truth-first-question-gate.json", "docs/PROJECT_STATUS.md", "docs/evidence/**"]}, "forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "contracts/**", "deploy/**", "LLM-local/**"]}, "allowed_architecture_delta": {"new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 0, "new_third_party_dependencies": 0, "new_database_owner_roles": 0}, "contracts": {"consume": ["existing semantic speech act and information request", "existing local cognitive gateway"], "may_change": ["truthful chat presentation gate", "interpretation prompt guidance"]}, "semantic_owner": "interaction semantics and creator-web presentation boundary", "canonical_state": ["existing semantic interpretation", "existing verified internal status paths"], "state_transitions": ["unverified question -> truthful verification-required response", "explicitly classified internal status -> existing status response"], "side_effects_and_privileges": ["none; no provider call is made for an unverified factual question"], "persistence_and_migrations": ["none"], "failure_retry_restart": ["missing research capability never becomes a fabricated answer"], "assumptions": ["a later task will connect WEB_RESEARCH to a read-only source connector", "explicit user requests to discuss hypotheses/options remain a separate cognitive path"], "acceptance_scenarios": ["weather-like factual question does not expose a model-generated answer without evidence", "response explains that verification is unavailable and names safe source category", "internal classified status path remains functional", "no city/entity keyword list is introduced"], "required_tests": ["go test ./cmd/creator-web/... ./cmd/cognitive-worker/...", "go vet ./cmd/creator-web/... ./cmd/cognitive-worker/...", "go run ./cmd/devctl preflight -active dev/ACTIVE_TASK.json", "go run ./cmd/devctl check-diff -active dev/ACTIVE_TASK.json", "go run ./cmd/devctl check-architecture", "go run ./cmd/devctl/independent", "git diff --check", "CI", "production health smoke"], "terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY"] }