24 lines
1.9 KiB
JSON
24 lines
1.9 KiB
JSON
{
|
|
"task_id": "DEV-000167",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0018",
|
|
"base_repo_revision": "c7b57daaf8233b0f0e79c77c02e92040378921d5",
|
|
"risk_tier": "E",
|
|
"intent": "Use the bounded CPU provider HTTP client for the authenticated readiness probe so /readyz reports the same truthful result as fleet readiness.",
|
|
"requirement_ids": ["WP-601", "Model fleet/failover"],
|
|
"allowed_change_scope": {"modules": ["cognitive-worker"], "paths": ["cmd/cognitive-worker/main.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000167-cpu-readiness-client-timeout.json"]},
|
|
"forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "deploy/**", "contracts/**", "adapters/**", ".gitea/**"]},
|
|
"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 readiness Probe contract", "existing authenticated CPU fleet endpoint"], "may_change": []},
|
|
"semantic_owner": "cognitive-worker",
|
|
"canonical_state": [],
|
|
"state_transitions": ["CPU provider response -> consistent /readyz and fleet readiness state"],
|
|
"side_effects_and_privileges": ["no new privilege; existing provider auth only"],
|
|
"persistence_and_migrations": ["none"],
|
|
"failure_retry_restart": ["CPU readiness remains bounded at 10 seconds; opportunistic GPU remains 2 seconds"],
|
|
"assumptions": ["The CPU provider is authenticated with the existing file-backed API key"],
|
|
"acceptance_scenarios": ["/readyz can report CPU AVAILABLE when fleet readiness reports CPU AVAILABLE", "GPU remains bounded", "Lifeboat fallback remains unchanged"],
|
|
"required_tests": ["go test ./...", "go vet ./...", "preflight", "check-diff", "check-architecture", "independent", "git diff --check", "CI", "production /readyz and fleet readiness"],
|
|
"terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_CONFLICT"]
|
|
}
|