Exacly model

Requirement · active · spec/exacly/ledger-history.yaml

REQ-029 Create and audit an integrity-index ledger copy

Establish explicit copy-only version-3 integrity baselines and fresh semantic audit without enabling operational reuse or replacing the working ledger.

Why it exists

  • REQ-029 Create and audit an integrity-index ledger copy Requirement main: verification passed
    • supports → PROC-002 Refresh state on main Process
      • uses_capability → CAP-002 Observe a model's reality Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-029 Create and audit an integrity-index ledger copy Requirement main: verification passed
    • implements ← APP-015 Ledger history validation Application
      • depends_on → APP-010 Execution binding registry Application
        • 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
                • stores ← INF-002 GitHub repository Infrastructure
              • reads → INFO-002 Model state Information
                • stores ← INF-002 GitHub repository Infrastructure (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-008 GitHub verification evidence admission Application
          • depends_on → APP-002 Refresh Application
            • depends_on → INF-001 GitHub Actions Infrastructure
            • 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-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 → APP-011 Execution ledger maintenance Application
        • depends_on → APP-010 Execution binding registry Application (above)
        • depends_on → INF-003 Private execution ledger Infrastructure (above)
        • reads → INFO-003 Execution bindings Information (above)
        • reads → INFO-004 Completion intents and receipts Information
          • stores ← INF-003 Private execution ledger Infrastructure (above)
        • reads → INFO-006 Historical integrity baselines and semantic verdicts Information
          • stores ← INF-003 Private execution ledger Infrastructure (above)
        • writes → INFO-003 Execution bindings Information (above)
        • writes → INFO-004 Completion intents and receipts Information (above)
        • writes → INFO-006 Historical integrity baselines and semantic verdicts Information (above)
      • depends_on → APP-012 Verification completion reconciler Application
        • depends_on → APP-002 Refresh Application (above)
        • depends_on → APP-006 Readiness policy evaluator Application (above)
        • depends_on → APP-008 GitHub verification evidence admission Application (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 (above)
          • depends_on → APP-008 GitHub verification evidence admission Application (above)
          • depends_on → APP-010 Execution binding registry Application (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 (above)
        • writes → INFO-002 Model state Information (above)
        • writes → INFO-004 Completion intents and receipts Information (above)
      • depends_on → INF-003 Private execution ledger Infrastructure (above)
      • reads → INFO-003 Execution bindings Information (above)
      • reads → INFO-004 Completion intents and receipts Information (above)
      • reads → INFO-006 Historical integrity baselines and semantic verdicts Information (above)
      • writes → INFO-003 Execution bindings Information (above)
      • writes → INFO-004 Completion intents and receipts Information (above)
      • writes → INFO-006 Historical integrity baselines and semantic verdicts Information (above)

main config 94cbae926e86

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

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-10-29
statement
Given an explicitly selected clean version-2 execution ledger, create a fully validated audit-only version-3 copy with exact retained history and integrity baselines, or audit an existing version-3 copy read-only against those baselines and freshly re-derived semantics, preserving source authority without enabling operational semantic reuse of version 3.
acceptance_criteria
  • executions index is an explicit offline maintenance command requiring a clean supported version-2 source and a new private destination outside Git working trees, model folders and protected inputs; it never initializes, repairs or modifies the source ledger and rejects unresolved prepared intents even in dry-run.
  • Dry-run validates the actual source and destination plan and reports ready without creating an output directory, changing source bytes or writing an index.
  • Conversion performs full version-2 schema, relationship and semantic proof validation before creating required byte baselines and terminal semantic verdicts; it preserves exact historical rows, identities, proof, state bytes, receipts, supersession history and watermarks rather than importing unchecked verdicts.
  • Required baselines cover the complete retained row set and bind raw typed values with explicit field identities, lengths, order and presence, including binding and request dependencies, phases and exact receipts or receipt absence; missing, extra, altered or inconsistently associated baseline data fails audit without repair or resealing.
  • Record the independently installed validation profile with terminal verdicts; stored profile declarations do not grant authority, and full audit freshly validates all retained semantics regardless of a matching positive verdict.
  • The new private bundle contains an exact raw version-2 source copy, an indexed version-3 ledger and a versioned manifest; validate and synchronize the complete output before atomic publication without overwrite, preserve source files on failure, and retain complete published output for inspection if final durability is uncertain.
  • executions audit reads an explicitly selected version-3 copy without changing its bytes, checks required integrity baselines and global relationships, and freshly re-derives every retained semantic transition; corruption or unsupported inputs cannot become a successful audit through cached results.
  • Index and audit diagnose unsupported formats and existing journal or WAL sidecars without implicit recovery; ordinary execution and completion commands continue to refuse version 3, and existing version-1/version-2 maintenance behavior and report formats remain unchanged.
  • History reports use their independent versioned format and identify conversion or audit, source and copy, selected profile, checked scope and audit-only operational eligibility; dry-run ready, indexed output and passed audit succeed, audit findings return a non-success status, and invalid inputs or operational errors are explicit errors.
  • Index and audit share a finite nonnegative lock-wait budget with default 30 seconds across required locks and SQLite waits; zero permits an immediate attempt, and timeout leaves source history unchanged without limiting whole-operation copying or computation.
  • The version-3 copy is audit-only and does not authorize operational cutover, registration, completion, semantic reuse, operational index-aware writes, backup or recovery; operational use requires separate explicit activation into version 4 under REQ-028.
  • Conversion and audit do not publish state, remove pending work, fetch live evidence, dispatch candidates, close external tasks, garbage-collect proof or establish a performance improvement; digests and reports do not authenticate historical origin, latest global freshness or hostile same-user integrity.
verification_method
Integrity transcript, conversion, audit, CLI and publication-failure tests including altered proof or index rows, exact source preservation, dry-run and fresh semantic derivation.
observe
tests
cases
  • python/tests/test_execution_history.py::*
  • python/tests/test_execution_history_cli.py::*
  • python/tests/test_execution_history_faults.py::*
  • python/tests/test_history_distribution.py::*