Exacly model

Requirement · active · spec/exacly/automation.yaml

REQ-024 Complete registered verification work from admitted observations

Close one exact local pending item only through explicit authority, applicable evidence and recoverable publication.

Why it exists

  • REQ-024 Complete registered verification work from admitted observations 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-024 Complete registered verification work from admitted observations Requirement main: verification passed
    • implements ← APP-012 Verification completion reconciler 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-006 Readiness policy evaluator 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-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 → APP-009 Verification reconciliation preview Application
        • depends_on → APP-006 Readiness policy evaluator Application (above)
        • depends_on → APP-007 Verification planner Application
          • depends_on → APP-003 Query Application (above)
          • depends_on → APP-006 Readiness policy evaluator Application (above)
          • reads → INFO-001 Model config Information (above)
          • reads → INFO-002 Model state Information (above)
        • depends_on → APP-008 GitHub verification evidence admission Application (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 (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)
        • reads → INFO-001 Model config Information (above)
        • reads → INFO-002 Model state Information (above)
        • reads → INFO-003 Execution bindings Information (above)
      • depends_on → APP-010 Execution binding registry Application (above)
      • depends_on → INF-003 Private execution ledger Infrastructure (above)
      • reads → INFO-001 Model config Information (above)
      • reads → INFO-002 Model state Information (above)
      • reads → INFO-003 Execution bindings Information (above)
      • reads → INFO-004 Completion intents and receipts Information
        • stores ← INF-003 Private execution ledger Infrastructure (above)
      • writes → INFO-002 Model state Information (above)
      • writes → INFO-004 Completion intents and receipts Information (above)

main config 94cbae926e86

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

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-10-29
statement
Given explicit operator completion authorization, one active execution binding and fresh admitted evidence for its output target, complete only the registered pending verification item when the merged current state satisfies the unchanged goal, preserving unrelated work and durable history.
acceptance_criteria
  • Invoking exacly complete github-actions explicitly authorizes local completion scoped to its binding, goal, output target, policies and state destination; registration, a saved plan digest and a ready preview alone do not grant mutation authority, and no confirmation prompt or extra authorization flag is required.
  • Each new completion evaluation performs fresh live admission for the exact output revision, run and attempt under the approved producer policy; executor self-reports, PR merge and imported receipts cannot substitute for admission.
  • The approved model, criteria, bindings and readiness and trust policies remain the registered contract; the resulting implementation may differ from the planning input without relabeling retained observations.
  • Validate the actual current state against the approved model before merging; recheck the active binding, complete pending-entry identity, lineage, serial, digest and registered watermark at commit time, rejecting stale or corrupt inputs without pruning unrelated work.
  • Apply admitted observations through the existing source and binding replacement rules, preserving unrelated assessments, evidence, relationships and pending entries, then evaluate the selected goal against the merged candidate state; retained applicable failures or missing required observations prevent completion.
  • Remove only the exact registered pending entry after the selected goal is satisfied; preserve namespace, context and lineage and advance the serial exactly once, while reporting whole-policy readiness separately from completion of this action.
  • Retain the admitted evidence bytes and receipt with their identities and digests, and commit a prepared completion intent containing the exact before-state identity and candidate after-state bytes and digest before conditional publication; publish those exact recorded bytes rather than reserializing a different candidate.
  • Hold the ledger and state locks in a deterministic deduplicated order through intent preparation, conditional atomic state publication and receipt finalization; bounded waits and unresolved intents prevent conflicting registration changes.
  • Completion, completion inspection, recovery and exact replay reuse one full retained-history validation within each unchanged protected database view; any mutation invalidates that view and requires fresh validation before reuse, unexpected database changes fail closed, and reuse ends with the protected operation or connection.
  • SQLite ledger updates and JSON state publication form a recoverable protocol rather than one atomic transaction; failures after replacement preserve the complete published state and prepared intent and report the unfinished operation.
  • Repeating the exact completed request, including binding, state destination, plan and action, policies, target, run, attempt and evaluation date, returns its original durable receipt without HTTP, removing another task or increasing the serial again; a different request cannot reuse a completed binding or pending identity.
  • Explicit offline recovery aborts an intent when the exact before-state remains and requires fresh admission for another attempt; when the exact after-state is present it verifies the retained proof and binding, synchronizes the state and directory and finalizes once without HTTP; any third state conflicts without overwrite or replay of a stale candidate.
  • Completion supports operational ledger schema version 2 or explicitly activated version 4; version 1 requires explicit copy-only upgrade and version 3 remains audit-only, while ordinary reads, registration and completion never silently migrate, activate or recover a ledger.
  • Version-4 completion and abort transactions maintain integrity baselines and affected terminal verdicts atomically with the actual phase, receipt and watermark changes; prepared proof always receives fresh semantics, and recognized stale profiles block new completion writes until explicit activation refreshes the profile.
  • Show reads the retained completion phase without exposing raw proof bytes; completion reports distinguish completed, pending, stale and conflict, and preserve unfinished intent after an operational error. Receipts describe historical completion rather than authenticating the latest state, test honesty, acceptance coverage or executor-to-output provenance.
  • Complete exits 0 only for completed and 1 for an unmet, stale or conflicting result; show exits 0 for a valid retained phase, offline recovery exits 0 for completed or aborted and 1 for an unresolved result, and invalid inputs or operational errors exit 2. Optional report-output failure does not undo an already recorded completion.
  • Local completion records observation-confirmed verification without closing an external ticket, dispatching an agent, granting release authority or claiming a machine-verified executor-to-output link.
verification_method
Completion contract, command, storage, concurrency and process-kill tests at durable boundaries, including supersession races, exact request replay and retained failing observations.
observe
tests
cases
  • python/tests/test_completion.py::*
  • python/tests/test_completion_cli.py::*
  • python/tests/test_completion_faults.py::*
  • python/tests/test_completion_store.py::*
  • python/tests/test_completion_locks.py::*
  • python/tests/test_completion_validation.py::*
  • python/tests/test_completion_journal.py::*
  • python/tests/test_execution_history_reuse.py::*
  • python/tests/test_execution_history_reuse_faults.py::*
  • python/tests/test_execution_history_reuse_crashes.py::*