{ "task_id": "DEV-000123", "task_revision": 1, "architecture_revision": "ADR-0018", "base_repo_revision": "fa62322", "risk_tier": "E", "intent": "Connect the opt-in deterministic dry-run dispatcher to a narrow Work-owned execution persistence port and application coordinator.", "requirement_ids": ["WP-301", "Work execution port", "Dry-run orchestration"], "allowed_change_scope": {"modules": ["work-agent-execution"], "paths": ["modules/work/ports/execution.go", "modules/work/application/dry_run_dispatch.go", "tests/agent_execution/dry_run_orchestration_test.go", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000123-agent-dry-run-orchestration.json"]}, "forbidden_change_scope": {"paths": ["architecture/**", "security/**", "deploy/**", "cmd/**", "runtime/**", "adapters/**", "database/**", ".gitea/**"]}, "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": ["DEV-000121 persistence methods", "DEV-000122 dry-run dispatch"], "may_change": ["Work execution port and application coordinator"]}, "semantic_owner": "work-agent-execution", "canonical_state": ["Persistence remains owned by Work repository"], "state_transitions": ["dispatch intent -> lease -> ordered callbacks"], "side_effects_and_privileges": ["Explicit Work-owned port only; no runtime entrypoint or production enablement"], "persistence_and_migrations": ["Reuses DEV-000121 schema; no migration"], "failure_retry_restart": ["Idempotent repository methods make retries safe; partial failure is returned to caller"], "assumptions": ["Production dispatcher remains disabled until a separate runtime canary task"], "acceptance_scenarios": ["All persistence operations are invoked in deterministic order", "Invalid dispatch never reaches the store"], "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", "git diff --check"], "terminal_gap_states": ["BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_CONFLICT"] }