24 lines
2.2 KiB
JSON
24 lines
2.2 KiB
JSON
{
|
|
"task_id": "DEV-000216",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0018",
|
|
"base_repo_revision": "62f0c529b3f8b3c92e4a69fcc6298d59b3015fde",
|
|
"risk_tier": "E",
|
|
"intent": "Keep agent-worker status truthful when the protected external execution bridge is absent while retaining local task-evaluation fallback.",
|
|
"requirement_ids": ["WP-301", "truthful degraded status", "local fallback"],
|
|
"allowed_change_scope": {"modules": ["agent-worker"], "paths": ["cmd/agent-worker/main.go", "cmd/agent-worker/status_test.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000216-agent-worker-status-truth.json"]},
|
|
"forbidden_change_scope": {"paths": ["architecture/**", "database/**", "deploy/**", "security/**", "contracts/**", "modules/**", "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": ["protected bridge file", "agent-worker status response", "local task-evaluation fallback"], "may_change": []},
|
|
"semantic_owner": "work",
|
|
"canonical_state": ["existing worker status projection and durable dispatch lifecycle"],
|
|
"state_transitions": ["bridge absent -> local-fallback status", "bridge present -> execution status"],
|
|
"side_effects_and_privileges": ["no external mutation; no new credentials; no persistence change"],
|
|
"persistence_and_migrations": ["none"],
|
|
"failure_retry_restart": ["bridge absence remains explicit after restart; local evaluator remains available for bounded qualification work"],
|
|
"assumptions": ["task-evaluation fallback is not general external agent execution"],
|
|
"acceptance_scenarios": ["worker marks local_fallback when protected bridge URL is absent", "status never reports executor_configured=true for local fallback", "configured bridge path remains execution mode", "no secret value is exposed"],
|
|
"required_tests": ["go test ./cmd/agent-worker", "go vet ./cmd/agent-worker", "preflight", "check-diff", "check-architecture", "independent", "git diff --check", "CI", "production worker status"],
|
|
"terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_SPEC_GAP"]
|
|
}
|