141 lines
4.2 KiB
JSON
141 lines
4.2 KiB
JSON
{
|
|
"task_id": "DEV-000062",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0011",
|
|
"base_repo_revision": "69ba99099845ef24affc15bdd8f152717183bb10",
|
|
"risk_tier": "E",
|
|
"intent": "Add human intent, assertion/evidence boundary, project context and active focus semantics to Web Chat without new authority, provider binding, or execution capability.",
|
|
"requirement_ids": [
|
|
"ADR-0009",
|
|
"ADR-0010",
|
|
"ADR-0011",
|
|
"INV-EPI-001",
|
|
"INV-AUTH-001"
|
|
],
|
|
"allowed_change_scope": {
|
|
"modules": [
|
|
"interaction",
|
|
"situation",
|
|
"epistemics",
|
|
"work"
|
|
],
|
|
"paths": [
|
|
"architecture/adrs/ADR-0011-human-intent-project-context.md",
|
|
"architecture/architecture-registry.yaml",
|
|
"architecture/architecture-registry.json",
|
|
"contracts/interaction/**",
|
|
"contracts/situation/**",
|
|
"contracts/epistemics/**",
|
|
"modules/interaction/**",
|
|
"modules/situation/**",
|
|
"adapters/postgres/**",
|
|
"database/bootstrap/**",
|
|
"database/migrations/**",
|
|
"cmd/core-runtime/**",
|
|
"cmd/creator-web/**",
|
|
"deploy/**",
|
|
"tests/human_interaction/**",
|
|
"tests/architecture/**",
|
|
"docs/PROJECT_STATUS.md",
|
|
"dev/ACTIVE_TASK.json",
|
|
"dev/tasks/DEV-000062-human-intent-evidence-project-context.json"
|
|
]
|
|
},
|
|
"forbidden_change_scope": {
|
|
"paths": [
|
|
"architecture/ARCHITECTURE_CONSTITUTION.md",
|
|
"modules/authority/**",
|
|
"modules/commit/**",
|
|
"cmd/commit-runtime/**",
|
|
"cmd/cognitive-worker/**",
|
|
"security/**",
|
|
"ci/**",
|
|
".gitea/**"
|
|
]
|
|
},
|
|
"allowed_architecture_delta": {
|
|
"new_cross_module_dependencies": 3,
|
|
"new_canonical_owners": 0,
|
|
"new_privileges": 0,
|
|
"new_third_party_dependencies": 0,
|
|
"new_provider_adapters": 0
|
|
},
|
|
"contracts": {
|
|
"consume": [
|
|
"CreatorSession",
|
|
"Interaction Conversation/HumanUtterance",
|
|
"Situation ProjectRegistry/ActiveFocus",
|
|
"Epistemics assertion boundary",
|
|
"Cognitive Gateway advisory"
|
|
],
|
|
"may_change": [
|
|
"contracts/interaction@v1",
|
|
"contracts/situation@v1",
|
|
"contracts/epistemics@v1"
|
|
]
|
|
},
|
|
"semantic_owner": "interaction+situation",
|
|
"canonical_state": [
|
|
"UtteranceInterpretation",
|
|
"ProjectReference",
|
|
"ConversationProjectFocus",
|
|
"SituationProjectRegistry",
|
|
"SituationActiveFocus"
|
|
],
|
|
"state_transitions": [
|
|
"utterance RECORDED->INTERPRETED",
|
|
"active focus SWITCHED by explicit human intent",
|
|
"correction appended without rewriting prior utterance"
|
|
],
|
|
"side_effects_and_privileges": [
|
|
"authenticated human semantic persistence",
|
|
"project focus reference update only",
|
|
"no execution",
|
|
"no verified fact creation",
|
|
"no ACTIVE binding promotion"
|
|
],
|
|
"persistence_and_migrations": [
|
|
"interaction owner-local interpretation/project reference tables",
|
|
"situation owner-local project registry and active focus tables",
|
|
"no cross-owner FK",
|
|
"no cross-owner SQL join dependency"
|
|
],
|
|
"failure_retry_restart": [
|
|
"cognition unavailable keeps persistence working",
|
|
"invalid candidate interpretation fails closed",
|
|
"ambiguous destructive request requires clarification",
|
|
"original human utterance and intent remain append-only"
|
|
],
|
|
"assumptions": [
|
|
"DEV-000061 is production baseline",
|
|
"existing CPU CANARY remains allowed only through current policy",
|
|
"ACTIVE bindings remain none",
|
|
"Project Registry V1 may be minimal and alias-based under Situation"
|
|
],
|
|
"acceptance_scenarios": [
|
|
"explicit project focus switch",
|
|
"assertion persists as unverified",
|
|
"directive persists without execution claim",
|
|
"correction/supersession append-only",
|
|
"inherited focus for safe non-destructive reference",
|
|
"multiple project references in one utterance",
|
|
"ambiguous destructive request asks clarification",
|
|
"cognition unavailable does not corrupt semantic state"
|
|
],
|
|
"required_tests": [
|
|
"go test ./...",
|
|
"go vet ./...",
|
|
"architecture",
|
|
"owner ACL",
|
|
"LLM-free",
|
|
"human interaction",
|
|
"production live acceptance"
|
|
],
|
|
"terminal_gap_states": [
|
|
"BLOCKED_BY_ARCHITECTURE_GAP",
|
|
"BLOCKED_BY_SPEC_GAP",
|
|
"BLOCKED_BY_MISSING_CAPABILITY",
|
|
"BLOCKED_BY_CONFLICT"
|
|
]
|
|
}
|