Files
Assistant/dev/tasks/DEV-000031-creator-continuity-command.json
2026-08-16 16:24:02 +03:00

35 lines
2.6 KiB
JSON

{
"task_id": "DEV-000031",
"task_revision": 1,
"architecture_revision": "ADR-0003",
"base_repo_revision": "4a165b5",
"risk_tier": "D",
"intent": "Expose a session-authenticated Creator command that constructs, authorizes, durably commits, and executes only the accepted Continuity satisfaction operation, plus owner-scoped reconciliation.",
"requirement_ids": ["INV-AUTH-001", "INV-OWN-001", "INV-CONT-001"],
"allowed_change_scope": {
"modules": ["commit"],
"paths": ["cmd/commit-runtime/**", "tests/creator_commit/**", "dev/tasks/DEV-000031-creator-continuity-command.json"]
},
"forbidden_change_scope": {
"paths": ["architecture/**", "security/**", "database/**", "contracts/**", "modules/**", "adapters/**", "cmd/core-runtime/**", "cmd/continuity-runtime/**", "cmd/creator-web/**", "deploy/**"]
},
"allowed_architecture_delta": {"new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 0},
"contracts": {"consume": ["Creator session", "Work TaskTarget", "Creator-owned ProspectiveItem", "ADR-0003 Commit envelope"], "may_change": []},
"semantic_owner": "commit-orchestration-only",
"canonical_state": ["existing Commit action envelope and attempts", "existing Continuity ProspectiveItem through Executor only"],
"state_transitions": ["authorized Creator request to Action SUCCEEDED, FAILED, or UNKNOWN_OUTCOME"],
"side_effects_and_privileges": ["uses existing Commit Runtime executor credential; browser never receives it"],
"persistence_and_migrations": ["none; uses DEV-000030 persistence"],
"failure_retry_restart": ["ambiguous execution returns UNKNOWN_OUTCOME", "Creator reconciliation is owner-scoped and read-only at the external boundary"],
"assumptions": ["V1 Creator grant ID is server policy domovoy-creator-grant", "Prospective Scope and Goal must match the Work justification"],
"acceptance_scenarios": [
"invalid or expired Creator session is denied before Commit mutation",
"Actor, Principal, Grant, capability, operation, states and action IDs are generated server-side",
"foreign Prospective owner, wrong state, stale revision, mismatched Scope or Goal, stale Work target, and revoked grant are rejected",
"authorized command persists before execution and returns typed identities and outcome",
"only the owning Creator can reconcile UNKNOWN_OUTCOME"
],
"required_tests": ["unit", "adversarial authorization", "runtime HTTP", "UNKNOWN_OUTCOME", "reconciliation", "architecture", "remote Docker smoke"],
"terminal_gap_states": ["BLOCKED_BY_ARCHITECTURE_GAP", "BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_CONFLICT"]
}