152 lines
5.0 KiB
JSON
152 lines
5.0 KiB
JSON
{
|
|
"task_id": "DEV-000063",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0012",
|
|
"base_repo_revision": "18750c2ae69c90336900b333821cfbcf68769c16",
|
|
"risk_tier": "E",
|
|
"intent": "Add general HelpPath and optional Intent -> Goal -> Work Planning foundation without making Domovoy a Codex prompt generator or granting execution authority.",
|
|
"requirement_ids": [
|
|
"ADR-0012",
|
|
"INV-AUTH-001",
|
|
"INV-EPI-001",
|
|
"INV-OWN-001"
|
|
],
|
|
"allowed_change_scope": {
|
|
"modules": [
|
|
"work",
|
|
"interaction",
|
|
"situation",
|
|
"epistemics",
|
|
"capability"
|
|
],
|
|
"paths": [
|
|
"architecture/adrs/ADR-0012-intent-work-planning-foundation.md",
|
|
"architecture/architecture-registry.yaml",
|
|
"architecture/architecture-registry.json",
|
|
"contracts/work/**",
|
|
"contracts/interaction/**",
|
|
"contracts/capability/**",
|
|
"contracts/epistemics/**",
|
|
"modules/work/**",
|
|
"modules/interaction/**",
|
|
"adapters/postgres/**",
|
|
"database/bootstrap/**",
|
|
"database/migrations/**",
|
|
"cmd/core-runtime/**",
|
|
"cmd/creator-web/**",
|
|
"tests/work_planning/**",
|
|
"tests/architecture/**",
|
|
"docs/PROJECT_STATUS.md",
|
|
"dev/ACTIVE_TASK.json",
|
|
"dev/tasks/DEV-000063-intent-work-planning-foundation.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": [
|
|
"Interaction OriginalHumanIntent",
|
|
"Interaction UtteranceInterpretation",
|
|
"Situation ActiveProjectFocus",
|
|
"Epistemics VerificationState",
|
|
"Capability IDs/health/registry concepts",
|
|
"Authority boundary concepts"
|
|
],
|
|
"may_change": [
|
|
"contracts/work@v1",
|
|
"contracts/interaction@v1",
|
|
"contracts/capability@v1"
|
|
]
|
|
},
|
|
"semantic_owner": "work",
|
|
"canonical_state": [
|
|
"Goal",
|
|
"HelpPath",
|
|
"GoalLifecycle",
|
|
"PlanCandidate",
|
|
"WorkPlan",
|
|
"PlanStep",
|
|
"CapabilityRequirement",
|
|
"DelegationCandidate"
|
|
],
|
|
"state_transitions": [
|
|
"help path ANSWER/COGNITION/DIRECT_CAPABILITY/DURABLE_WORK/CAPABILITY_GAP selected before durable planning",
|
|
"goal PROPOSED->UNDERSTOOD->PLANNING->READY when durable work is actually needed",
|
|
"plan candidate PROPOSED->VALIDATED->ACCEPTED",
|
|
"no transition to IN_PROGRESS without future execution authority"
|
|
],
|
|
"side_effects_and_privileges": [
|
|
"planning-only canonical Work persistence",
|
|
"ordinary answer/direct capability/capability gap paths without durable Work persistence",
|
|
"no external mutation",
|
|
"no Commit/Executor invocation",
|
|
"no ACTIVE binding promotion",
|
|
"cognitive routing only through existing gateway when later enabled"
|
|
],
|
|
"persistence_and_migrations": [
|
|
"work owner-local goals",
|
|
"work owner-local plan candidates",
|
|
"work owner-local plan steps",
|
|
"work owner-local capability requirements",
|
|
"work owner-local delegation candidates",
|
|
"no cross-owner FK",
|
|
"no cross-owner SQL join dependency"
|
|
],
|
|
"failure_retry_restart": [
|
|
"intent persists even if planning falls back deterministically",
|
|
"Goal/Work/Plan are optional and not created for simple help",
|
|
"invalid plan candidate fails closed",
|
|
"cognition unavailable keeps deterministic planning available",
|
|
"planning never claims execution/completion"
|
|
],
|
|
"assumptions": [
|
|
"DEV-000062 is production baseline",
|
|
"Work owner is canonical Goal/Task/Decision owner per Core Semantic Model",
|
|
"existing CPU CANARY remains not ACTIVE",
|
|
"docker-test prohibited"
|
|
],
|
|
"acceptance_scenarios": [
|
|
"investigate UPO performance creates investigation plan, not Codex prompt",
|
|
"add support X in Assistant creates MODIFY_CODE requirement without hardcoded executor",
|
|
"review new email creates READ_EMAIL and COGNITIVE_REASONING requirements without Codex",
|
|
"reminder creates SCHEDULE_REMINDER requirement",
|
|
"unverified disk assertion creates verification requirement before risky model install",
|
|
"send email creates SEND_EMAIL planning without execution or authority claim",
|
|
"cognition unavailable still persists intent/goal/plan when durable work is needed",
|
|
"simple explanation can use answer/cognition path without durable Goal/Work/Plan",
|
|
"capability gap remains executor-neutral and future self-extension-ready"
|
|
],
|
|
"required_tests": [
|
|
"go test ./...",
|
|
"go vet ./...",
|
|
"architecture",
|
|
"owner ACL",
|
|
"LLM-free",
|
|
"work planning",
|
|
"production live acceptance"
|
|
],
|
|
"terminal_gap_states": [
|
|
"BLOCKED_BY_ARCHITECTURE_GAP",
|
|
"BLOCKED_BY_SPEC_GAP",
|
|
"BLOCKED_BY_MISSING_CAPABILITY",
|
|
"BLOCKED_BY_CONFLICT"
|
|
]
|
|
}
|