48 lines
2.7 KiB
JSON
48 lines
2.7 KiB
JSON
{
|
|
"task_id": "DEV-000227",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0018",
|
|
"base_repo_revision": "1f6ca363ee241b41a89bff1f1b603f15e9873b00",
|
|
"risk_tier": "E",
|
|
"intent": "Make the existing bounded local task-evaluation path an explicit local executor capability while preserving truthful durable waiting for unsupported work and keeping the external bridge optional.",
|
|
"requirement_ids": ["local executor", "truthful degraded execution", "optional external bridge"],
|
|
"allowed_change_scope": {
|
|
"modules": ["agent-worker", "operations-status"],
|
|
"paths": [
|
|
"cmd/agent-worker/local_fallback.go",
|
|
"cmd/agent-worker/local_fallback_test.go",
|
|
"cmd/agent-worker/task_evaluation_executor.go",
|
|
"cmd/agent-worker/status.go",
|
|
"cmd/agent-worker/status_test.go",
|
|
"cmd/agent-worker/main.go",
|
|
"dev/ACTIVE_TASK.json",
|
|
"dev/tasks/DEV-000227-local-executor.json",
|
|
"docs/PROJECT_STATUS.md"
|
|
]
|
|
},
|
|
"forbidden_change_scope": {
|
|
"paths": ["architecture/**", "security/**", "contracts/**", "database/**", "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": ["work.AgentExecutor", "typed task-evaluation runtime endpoints"],
|
|
"may_change": ["agent-worker status projection adds local executor capability metadata"]
|
|
},
|
|
"semantic_owner": "work agent-worker runtime",
|
|
"canonical_state": ["existing durable Work dispatch, lease and callback state"],
|
|
"state_transitions": ["unsupported local request -> WAITING", "supported task evaluation -> verified callback"],
|
|
"side_effects_and_privileges": ["existing bounded internal task-evaluation calls and Work callback only; no external mutation authority"],
|
|
"persistence_and_migrations": ["none"],
|
|
"failure_retry_restart": ["unsupported work remains durable WAITING; existing lease recovery remains authoritative"],
|
|
"assumptions": ["task-evaluation execution and verification endpoints are already deployed internal capabilities", "external bridge may remain absent"],
|
|
"acceptance_scenarios": ["local status names bounded local executor and capability", "unsupported work never claims completion", "task evaluation still executes, verifies and callbacks", "external bridge status remains separate", "no secret or new privilege is introduced"],
|
|
"required_tests": ["go test ./cmd/agent-worker/...", "go vet ./cmd/agent-worker/...", "preflight", "check-diff", "check-architecture", "independent", "git diff --check", "CI", "production status smoke"],
|
|
"terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_SPEC_GAP"]
|
|
}
|