Exacly model

Requirement · active · spec/exacly/automation.yaml

REQ-033 Hand reviewed executor artifacts to an exact Git revision

Retained successful artifacts become a host-constructed source revision through separately authorized recoverable local ref publication.

Why it exists

  • REQ-033 Hand reviewed executor artifacts to an exact Git revision 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-033 Hand reviewed executor artifacts to an exact Git revision Requirement main: verification passed
    • implements ← APP-019 Reviewed output handoff Application
      • depends_on → APP-014 Executor supervisor Application
        • depends_on → APP-016 Local Bubblewrap command launcher Application
          • depends_on → INF-004 Local Bubblewrap execution runtime Infrastructure
          • reads → INFO-007 Isolated run bundles Information
            • stores ← INF-004 Local Bubblewrap execution runtime Infrastructure (above)
          • writes → INFO-007 Isolated run bundles Information (above)
        • depends_on → INF-003 Private execution ledger Infrastructure
        • depends_on → INF-004 Local Bubblewrap execution runtime Infrastructure (above)
        • reads → INFO-008 Executor attempts Information
          • stores ← INF-003 Private execution ledger Infrastructure (above)
        • writes → INFO-008 Executor attempts Information (above)
      • depends_on → INF-007 Private local Git handoff storage Infrastructure
      • reads → INFO-008 Executor attempts Information (above)
      • writes → INFO-010 Output handoff provenance Information
        • stores ← INF-007 Private local Git handoff storage Infrastructure (above)

main config 94cbae926e86

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

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-10-30
statement
Given one retained successful executor attempt, an approved artifact-to-source mapping and exact local Git destination, preview and separately authorize construction and publication of one content-identified implementation revision while preserving execution history, unrelated source content and independent evidence and completion authority.
acceptance_criteria
  • The first local-git-v1 adapter accepts only an explicitly initialized owner-private bare SHA-1 Git repository with a retained initialization identity and reviewed sealed configuration. Its separate private handoff journal pins that repository identity and the canonical storage scope; ordinary operations never initialize, replace or silently migrate either resource.
  • Read the selected successful attempt from its canonical initialized executor journal and validate its retained contract, immutable receipt, build identity and exact artifact roster. Retain the complete source contract and require its digest to match the receipt authorization before using its approved model, context or input target; the base revision must equal that retained input target revision. Imported receipt JSON and candidate revision claims do not establish handoff authority.
  • A closed reviewed policy pins the handoff and executor journal paths and identities, repository path and identity and literal permitted destination paths or directory prefixes. Candidate output cannot select another repository, broaden allowed paths or replace protected operator resources.
  • Read-only preview and each newly authorized apply validate the complete base object closure, including unrelated files, before returning a ready proposal or preparing durable intent; missing or corrupt objects leave the journal, Git objects and refs unchanged. Preview checks the expected destination ref and bounded safely opened artifact bytes, then returns the exact mapped changes, proposed tree and commit and separate authorization template without writing objects, refs, journal history, state or bindings.
  • New publication requires separate exact authorization pinning the policy, initialized storage scope, execution and attempt, retained receipt and build, base revision, expected destination value, path mapping, artifact identities and deterministic commit metadata. Changed preconditions reject the request rather than infer renewed approval.
  • Map only explicitly selected bounded regular-file artifacts to permitted normalized source paths. Reject traversal, ambiguous or colliding mappings and paths targeting or traversing symbolic links, submodules or unsafe destination components; preserve unrelated base tree entries and existing regular-file modes, using mode 100644 for new ordinary files. The first adapter supplies no deletion, executable-bit selection, checkout or working-tree mutation.
  • Trusted operator code constructs the exact Git blobs, tree and single-parent commit from the pinned base and approved artifact bytes. Fixed Git plumbing uses a sanitized execution environment and sealed repository settings; candidate-controlled hooks, configuration, filters, replacement objects, alternates, credential helpers and network access cannot influence publication.
  • Before any Git object or ref write, durably prepare the complete authorized handoff, exact required object bytes and resulting identities in the separate initialized journal. Storage and repository coordination use deterministic ordered locks, bounded waits and checked private resources without changing executor or binding/completion journal formats.
  • Publish only the explicitly selected local branch ref by compare-and-swap against either the authorized base revision or an authorized absent destination. A changed ref conflicts without overwriting it, changing another ref or treating a clock or stale preview as publication authority.
  • A durable immutable provenance receipt identifies the source executor attempt, original build and selected artifact roster and mapping, repository identity, base and resulting tree/commit, local destination ref and authorization. It proves this trusted byte-to-tree handoff rather than test honesty, acceptance coverage or a later revision's provenance.
  • Exact replay returns the retained result without consuming another executor attempt, constructing a different commit or repeating a successful publication. Preserve prepared intent and receipt history through interruption; a different request cannot reuse the same immutable handoff identity.
  • Explicit model-independent recovery validates retained object bytes and the initialized repository and journal, publishes only while the exact authorized before-ref remains, finalizes only when the exact proposed after-ref is present, and reports conflict for any third value. Missing required base objects or uncertain publication facts remain unresolved; recovery never replaces divergent refs or rereads changed candidate output as authority.
  • Ordinary journal operations refuse interrupted SQLite sidecars. Separately authorized journal-only repair preserves protected exact backups before recovery and grants no Git publication, execution, budget-reset, state, evidence or completion authority.
  • Handoff returns the resulting source target with the retained approved model revision and context. Binding supersession, remote push, producer execution, evidence admission, completion, release and deployment remain separately authorized; no local handoff result alone removes pending work or supplies a successful verification claim.
  • End-to-end acceptance coverage connects a reviewed plan, durable dispatch, real isolated execution and reviewed handoff to separately associated trusted source evidence and completion. Wrong-revision evidence, changed artifacts, stale refs, replay and interrupted publication remain distinguishable, with unrelated work and authoritative execution and completion history preserved.
verification_method
Handoff contract, sealed local Git plumbing, journal, command and process-fault tests plus an end-to-end pilot using real isolated execution and controlled trusted-evidence responses; no live remote publication is inferred from the controlled evidence fixture.
observe
tests
cases
  • python/tests/test_handoff*.py::*