{ "task_id": "DEV-000245", "task_revision": 1, "architecture_revision": "ADR-0018", "base_repo_revision": "ea90bf0fabea43b735dcb901a2da2733db216369", "risk_tier": "E", "intent": "Expose live durable agent-worker cycle and recovery evidence through the existing internal status surface without changing dispatch, lease, executor, or canonical semantics.", "requirement_ids": ["Agent Execution runtime", "recovery observability", "fast operational verification"], "allowed_change_scope": {"modules": ["work"], "paths": ["cmd/agent-worker/**", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000245-agent-worker-recovery-status.json"]}, "forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "deploy/**", "contracts/**", "LLM-local/**", "modules/work/secrets/**"]}, "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 WorkerCycleResult", "existing worker status HTTP surface"], "may_change": ["derived worker status response fields"]}, "semantic_owner": "Work agent-worker runtime observability", "canonical_state": ["none; status is derived operational evidence"], "state_transitions": ["cycle start -> completed/failed status only"], "side_effects_and_privileges": ["read-only internal status endpoint; no new privilege"], "persistence_and_migrations": ["none"], "failure_retry_restart": ["status is process-local evidence and resets on restart; durable recovery remains repository-owned"], "assumptions": ["existing status address is reachable from creator-web and internal diagnostics"], "acceptance_scenarios": ["status reports cycle completion", "status reports recovered claims", "cycle error is visible without exposing secrets", "existing executor mode remains accurate"], "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", "git diff --check", "independent", "CI", "production health smoke"], "terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_SPEC_GAP"] }