Files
Assistant/dev/tasks/DEV-000268-configurable-gpu-qualification-timeout.json
m ba162f6433
CI / test (push) Successful in 48s
CI / test (pull_request) Successful in 53s
fix: make gpu provider timeout configurable
2026-08-24 00:57:24 +03:00

24 lines
2.5 KiB
JSON

{
"task_id": "DEV-000268",
"task_revision": 1,
"architecture_revision": "ADR-0018",
"base_repo_revision": "3ca7ffa",
"risk_tier": "E",
"intent": "Make the GPU cognitive provider invocation deadline configurable and bounded so large local models are not rejected by an accidental ten-second cold-start limit.",
"requirement_ids": ["model fleet/failover", "quality separated from reachability", "hardware-neutral routing"],
"allowed_change_scope": {"modules": ["cognitive-worker", "deployment-governance"], "paths": ["cmd/cognitive-worker/**", "deploy/docker-compose.prod.yml", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000268-configurable-gpu-qualification-timeout.json", "docs/evidence/**", "docs/PROJECT_STATUS.md"]},
"forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "contracts/**", "LLM-local/**"]},
"allowed_architecture_delta": {"new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 1, "new_third_party_dependencies": 0, "new_database_owner_roles": 0},
"contracts": {"consume": ["existing OpenAI-compatible local provider adapter", "existing qualification route"], "may_change": ["deployment timeout configuration only"]},
"semantic_owner": "cognitive-worker invokes provider; capability remains qualification and promotion owner",
"canonical_state": ["existing qualification observations"],
"state_transitions": ["provider timeout window changes; no qualification or activation transition is inferred"],
"side_effects_and_privileges": ["bounded outbound GPU provider request through existing credential boundary"],
"persistence_and_migrations": ["none"],
"failure_retry_restart": ["timeout remains an unrated/unavailable observation; CPU/LIFEBOAT fallback remains authoritative"],
"assumptions": ["60 seconds is a bounded cold-start window and qualification models still run in parallel", "no model is promoted automatically"],
"acceptance_scenarios": ["GPU adapter uses configured bounded timeout", "default is 60 seconds", "qualification remains unrated on timeout", "routing does not infer intelligence from GPU"],
"required_tests": ["go test ./...", "go vet ./...", "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", "go run ./cmd/devctl/independent", "docker compose config", "git diff --check", "production health smoke", "one Domovoy-owned GPU qualification probe"],
"terminal_gap_states": ["BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_CONFLICT"]
}