Files
Assistant/dev/tasks/DEV-000264-capability-aware-agent-worker-readiness.json
m 381e4d52e8
CI / test (push) Successful in 51s
CI / test (pull_request) Successful in 1m18s
fix(agent-worker): report local capability readiness
2026-08-24 00:08:18 +03:00

24 lines
2.4 KiB
JSON

{
"task_id": "DEV-000264",
"task_revision": 1,
"architecture_revision": "ADR-0018",
"base_repo_revision": "c8dc9ed",
"risk_tier": "E",
"intent": "Report agent-worker readiness for the bounded local capability while keeping unsupported work durably waiting and external bridge state explicit.",
"requirement_ids": ["Agent Execution runtime and recovery", "local-first fallback", "truthful operational readiness"],
"allowed_change_scope": {"modules": ["agent-worker"], "paths": ["cmd/agent-worker/status.go", "cmd/agent-worker/status_test.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000264-capability-aware-agent-worker-readiness.json"]},
"forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "deploy/**", "contracts/**", "LLM-local/**", "modules/**", "adapters/**"]},
"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": ["agent-worker status response", "local task-evaluation capability"], "may_change": ["readiness semantics only"]},
"semantic_owner": "Agent worker operational status",
"canonical_state": ["none"],
"state_transitions": ["local capability unavailable -> recovery-only; local task-evaluation capability available -> capability-ready; external bridge configured -> execution-ready"],
"side_effects_and_privileges": ["status/readiness response only"],
"persistence_and_migrations": ["none"],
"failure_retry_restart": ["unsupported work remains WAITING; stale claims remain recoverable"],
"assumptions": ["ready means at least one advertised capability can accept work, not that every arbitrary agent operation is supported"],
"acceptance_scenarios": ["recovery-only remains not ready", "local task-evaluation reports ready without claiming external bridge", "configured bridge remains ready", "local capability and unsupported-work distinction is explicit"],
"required_tests": ["go test ./cmd/agent-worker/...", "go vet ./cmd/agent-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", "independent evidence review", "git diff --check", "CI", "production health smoke"],
"terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_SPEC_GAP"]
}