Exacly model

Requirement · active · spec/exacly/automation.yaml

REQ-026 Dispatch approved work without duplicate external tasks

A reviewed action can create one traceable task despite concurrent dispatchers, retries and ambiguous responses.

Why it exists

  • REQ-026 Dispatch approved work without duplicate external tasks Requirement main: verification passed
    • supports → PROC-004 Carry out approved verification work Process
      • uses_capability → CAP-004 Reconcile approved verification work Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-026 Dispatch approved work without duplicate external tasks Requirement main: verification passed
    • implements ← APP-013 Work dispatcher Application
      • depends_on → APP-002 Refresh Application
        • depends_on → INF-001 GitHub Actions Infrastructure
        • depends_on → INF-002 GitHub repository Infrastructure
        • reads → INFO-001 Model config Information
          • stores ← INF-002 GitHub repository Infrastructure (above)
        • writes → INFO-002 Model state Information
          • stores ← INF-002 GitHub repository Infrastructure (above)
      • depends_on → APP-007 Verification planner Application
        • depends_on → APP-003 Query Application
          • depends_on → APP-001 Validator Application
            • reads → INFO-001 Model config Information (above)
            • reads → INFO-002 Model state Information (above)
          • reads → INFO-001 Model config Information (above)
          • reads → INFO-002 Model state Information (above)
        • depends_on → APP-006 Readiness policy evaluator Application
          • depends_on → APP-003 Query Application (above)
        • reads → INFO-001 Model config Information (above)
        • reads → INFO-002 Model state Information (above)
      • depends_on → APP-010 Execution binding registry Application
        • depends_on → APP-007 Verification planner Application (above)
        • depends_on → APP-008 GitHub verification evidence admission Application
          • depends_on → APP-002 Refresh Application (above)
          • depends_on → INF-001 GitHub Actions Infrastructure (above)
          • depends_on → INF-002 GitHub repository Infrastructure (above)
          • reads → INFO-001 Model config Information (above)
          • writes → INFO-002 Model state Information (above)
        • depends_on → INF-003 Private execution ledger Infrastructure
        • reads → INFO-001 Model config Information (above)
        • reads → INFO-002 Model state Information (above)
        • reads → INFO-003 Execution bindings Information
          • stores ← INF-003 Private execution ledger Infrastructure (above)
        • writes → INFO-003 Execution bindings Information (above)
      • depends_on → INF-002 GitHub repository Infrastructure (above)
      • depends_on → INF-003 Private execution ledger Infrastructure (above)
      • depends_on → INF-005 Private dispatch journal Infrastructure
      • reads → INFO-001 Model config Information (above)
      • reads → INFO-002 Model state Information (above)
      • reads → INFO-003 Execution bindings Information (above)
      • reads → INFO-005 Dispatch intents and receipts Information
        • stores ← INF-005 Private dispatch journal Infrastructure (above)
      • writes → INFO-002 Model state Information (above)
      • writes → INFO-005 Dispatch intents and receipts Information (above)

main config 94cbae926e86

AssessmentReasonEvidenceAt
verification passed
tests
All 296 selected test cases passed2026-11-22T17:48:12Z

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-10-30
statement
Under explicit dispatch authorization, persist intent for a reviewed action before creating external work, recover an existing task by stable identity before retrying, and retain an auditable association between the action, pending work and adapter result.
acceptance_criteria
  • Dispatch requires explicit reviewed authorization for the selected action, destination, adapter and permitted effect; a saved plan or readiness result alone does not grant permission to create work.
  • Recheck the approved plan, criteria, bindings, policies, target and actual current state before dispatch; stale contracts require replanning, and a goal already satisfied is recorded as superseded without creating another task.
  • Dry-run renders the same selected action, preconditions and intended external effect without creating tasks or modifying state, ledger records or watermarks.
  • Persist a stable dispatch identity and intent before the first external create request; scope the adapter marker to the persistent identity of the authorized repository or destination and reviewed action rather than mutable repository names, state serials or diagnostic text.
  • Concurrent workers sharing the explicitly selected canonical dispatch journal and repeated applies recover the same task by its stable identity; persist the creating phase before sending a create request, never send another create after a possibly sent request, and retain an unresolved ambiguous result when complete discovery finds no match. Multiple matching tasks produce an explicit conflict.
  • The first adapter supports one explicitly selected GitHub task destination, with repository and adapter settings supplied by reviewed policy rather than library defaults for workflow or test paths.
  • Retain attempts, remote task identity, immutable receipts and partial successes; bounded retries resume unfinished work without replacing successful history or fabricating external rollback.
  • Explicitly initialize a private dispatch journal outside candidate storage and Git working trees; pin its unique initialization identity and the canonical absolute journal, execution-ledger and actual state paths in both reviewed policy and authorization before remote effects. Retain this storage contract with each intent and keep dispatch history separate without changing existing execution-ledger formats. Ordinary apply and inspection reject interrupted SQLite journals; explicit recovery validates protected storage before resolving the interrupted transaction.
  • Associate a confirmed task with one unambiguous pending verification entry and its reviewed execution binding through recoverable ledger and conditional state writes; ambiguity or changed pending work blocks registration rather than linking a different task.
  • When a retained registration preparation can no longer satisfy its original contract, a read-only resolution preview captures the pinned journal instance and history head, explicit reason and exact current storage, state, pending and binding facts. Separately reviewed authorization for those facts permits only one terminal resolved receipt in the journal; any changed precondition blocks it. Resolution preserves current state, pending work, bindings and remote tasks, leaves registration unfinalized and never grants another create for the dispatch identity.
  • Replanning, cancellation and retirement preserve history and require explicit supersession or separately reviewed journal-only resolution; retiring a record or task never authorizes destruction of implementation. Ordinary registration recovery retains its original contract and current-state guards.
  • Task creation, issue closure, agent completion reports and PR merge leave verification pending until the separately authorized completion path admits sufficient applicable evidence.
verification_method
Dispatch contract, command, adapter, private-journal and explicit resolution tests with controlled GitHub responses, concurrent workers and process termination around external creation, state publication, binding registration and receipt persistence, including model drift and resolution authorization pinned to reviewed current facts.
observe
tests
cases
  • python/tests/test_dispatch.py::*
  • python/tests/test_dispatch_cli.py::*
  • python/tests/test_dispatch_faults.py::*
  • python/tests/test_dispatch_store.py::*
  • python/tests/test_github_dispatch.py::*
  • python/tests/test_dispatch_resolution.py::*