24 lines
2.3 KiB
JSON
24 lines
2.3 KiB
JSON
{
|
|
"task_id": "DEV-000239",
|
|
"task_revision": 1,
|
|
"architecture_revision": "ADR-0018",
|
|
"base_repo_revision": "6061eb5c13e46cec1e60fc104b022394f0d94dee",
|
|
"risk_tier": "E",
|
|
"intent": "Resolve a registered provider by its stable instance identity when a persisted Capability revision contains stale non-secret endpoint credential metadata, while preserving exact metadata matching first.",
|
|
"requirement_ids": ["model fleet/failover", "credential rotation compatibility", "local fallback attribution"],
|
|
"allowed_change_scope": {"modules": ["cognitive-worker"], "paths": ["cmd/cognitive-worker/gateway.go", "cmd/cognitive-worker/gateway_registry_test.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000239-stable-provider-resolution.json"]},
|
|
"forbidden_change_scope": {"paths": ["architecture/**", "security/**", "database/**", "deploy/**", "LLM-local/**", "modules/work/secrets/**", "contracts/**"]},
|
|
"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": ["Capability ResolvedCognitiveBinding", "protected provider registration"], "may_change": ["internal provider lookup fallback order"]},
|
|
"semantic_owner": "Cognitive worker provider adapter boundary",
|
|
"canonical_state": ["no new durable state"],
|
|
"state_transitions": ["exact provider metadata match -> stable provider identity match -> no provider"],
|
|
"side_effects_and_privileges": ["provider lookup only; secret values remain in protected runtime"],
|
|
"persistence_and_migrations": ["none"],
|
|
"failure_retry_restart": ["missing provider remains explicit and uses existing builtin fallback"],
|
|
"assumptions": ["ProviderInstanceID is the stable Capability-owned provider identity"],
|
|
"acceptance_scenarios": ["stale credential metadata still reaches current registered adapter", "exact metadata match retains priority", "no provider remains nil"],
|
|
"required_tests": ["go test ./cmd/cognitive-worker/...", "go vet ./cmd/cognitive-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"]
|
|
}
|