18 lines
2.5 KiB
JSON
18 lines
2.5 KiB
JSON
{
|
|
"task_id":"DEV-000059","task_revision":1,"architecture_revision":"ADR-0008","base_repo_revision":"2a0aee007352e8427619b458ab907ac945f19a64","risk_tier":"E",
|
|
"intent":"Expose the exact validated local CPU canary to authenticated Creator advisory traffic behind a fail-closed server-side flag, collect typed usage/reliability observations, and retain immediate disable semantics without promoting the binding to ACTIVE.",
|
|
"requirement_ids":["INV-OWN-001","INV-EPI-001","ADR-0006","ADR-0008","LOCAL-COGNITIVE-CANARY-OBSERVATION"],
|
|
"allowed_change_scope":{"modules":["capability"],"paths":["cmd/cognitive-worker/**","deploy/**","tests/cognitive_canary/**","docs/evidence/**","docs/PROJECT_STATUS.md","dev/ACTIVE_TASK.json","dev/tasks/DEV-000059-local-cognitive-canary-observation.json"]},
|
|
"forbidden_change_scope":{"paths":["architecture/**","contracts/**","modules/**","adapters/**","database/**","cmd/core-runtime/**","cmd/creator-web/**","security/**","ci/**",".gitea/**","cmd/devctl/**"]},
|
|
"allowed_architecture_delta":{"new_cross_module_dependencies":0,"new_canonical_owners":0,"new_privileges":0,"new_third_party_dependencies":0,"new_provider_adapters":0},
|
|
"contracts":{"consume":["creator-advisory-v1","CognitiveRequirement.AllowCanary","CognitiveUsageObservation"],"may_change":[]},
|
|
"semantic_owner":"capability","canonical_state":["existing CognitiveUsageObservation only"],"state_transitions":["none; exact binding remains CANARY"],
|
|
"side_effects_and_privileges":["bounded local CPU advisory inference for authenticated Creator","no OpenAI","no tools","no external mutation"],
|
|
"persistence_and_migrations":["existing usage observation table only","immutable observation artifact","no migration","no event"],
|
|
"failure_retry_restart":["flag defaults false","disable by removing flag and recreating cognitive worker","no automatic retry beyond existing single bounded fallback","provider loss returns typed failure"],
|
|
"assumptions":["Creator continuation authorizes bounded canary exposure","docker-test remains prohibited"],
|
|
"acceptance_scenarios":["flag absent excludes canary","flag true permits exact canary","usage observations bind exact revision","all requests remain advisory-only","binding remains CANARY","OpenAI usage remains zero"],
|
|
"required_tests":["gateway flag unit tests","production authenticated smoke","usage DB evidence","disable path","go test ./...","go vet ./...","architecture sentinel","exact diff scope"],
|
|
"terminal_gap_states":["BLOCKED_BY_ARCHITECTURE_GAP","BLOCKED_BY_SPEC_GAP","BLOCKED_BY_MISSING_CAPABILITY","BLOCKED_BY_CONFLICT"]
|
|
}
|