46 lines
3.0 KiB
JSON
46 lines
3.0 KiB
JSON
{
|
|
"task_id": "DEV-000078",
|
|
"task_revision": 1,
|
|
"architecture_revision": "DEV-000073-baseline",
|
|
"base_repo_revision": "0d10e6fd82a7c374bebbc8d3cee9c1ed0b420745",
|
|
"risk_tier": "E",
|
|
"intent": "Let Domovoy answer explicit questions about the local cognitive channel from the Capability-owned health observation and route configuration changes to the operator console without mutating runtime configuration.",
|
|
"requirement_ids": [
|
|
"Explicit model/channel questions use observed capability health",
|
|
"Model configuration requests never call a provider directly from Core",
|
|
"Configuration changes are explained as a separate operator-console action",
|
|
"Provider and model identifiers remain hidden from human chat"
|
|
],
|
|
"allowed_change_scope": {
|
|
"modules": ["cmd/core-runtime"],
|
|
"paths": [
|
|
"cmd/core-runtime/main.go",
|
|
"cmd/core-runtime/main_test.go",
|
|
"dev/ACTIVE_TASK.json",
|
|
"dev/tasks/DEV-000078-core-conversational-cognitive-health.json"
|
|
]
|
|
},
|
|
"forbidden_change_scope": {
|
|
"paths": ["architecture/**", "security/**", "database/**", "modules/**", "contracts/**", "adapters/**", "deploy/**"]
|
|
},
|
|
"allowed_architecture_delta": {
|
|
"new_cross_module_dependencies": 0,
|
|
"new_canonical_owners": 0,
|
|
"new_privileges": 0,
|
|
"new_third_party_dependencies": 0,
|
|
"new_provider_adapters": 0,
|
|
"new_database_owner_roles": 0
|
|
},
|
|
"contracts": {"consume": ["Capability repository LoadHealth", "existing cognitive-proposal health semantics", "existing /admin operator surface"], "may_change": []},
|
|
"semantic_owner": "capability-observation-consumer",
|
|
"canonical_state": [],
|
|
"state_transitions": ["Human asks about local cognitive channel", "Core reads Capability-owned health observation", "Core returns observation or safe unavailable explanation"],
|
|
"side_effects_and_privileges": ["No provider call for explicit status/configuration questions", "No runtime configuration mutation", "No new privilege"],
|
|
"persistence_and_migrations": ["Existing utterance and semantic persistence only", "No migration"],
|
|
"failure_retry_restart": ["Missing health observation produces an honest unavailable reply", "Future status polling remains available in chat UI"],
|
|
"assumptions": ["The operator console is the authorized configuration surface", "Capability health is a sufficient provider-neutral observation for the first conversational response"],
|
|
"acceptance_scenarios": ["Проверь локальную модель returns a human-readable health observation", "Переключи модель does not mutate configuration and directs to console", "Replies contain no provider/model/binding identifiers", "Unit tests cover available, unavailable and repository failure states"],
|
|
"required_tests": ["go test ./cmd/core-runtime", "go test ./...", "go vet ./...", "devctl preflight", "devctl check-diff", "devctl check-architecture", "git diff --check"],
|
|
"terminal_gap_states": ["BLOCKED_BY_ARCHITECTURE_GAP", "BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_CONFLICT"]
|
|
}
|