Requirement · active · spec/exacly/executions.yaml
REQ-021 Register immutable execution bindings for pending work
Record explicit operator intent linking existing pending verification work to a reviewed goal and output target.
Why it exists
How it is realized
REQ-021Register immutable execution bindings for pending work Requirement main: verification passed- implements ←
APP-010Execution binding registry Application- depends_on →
APP-007Verification planner Application- depends_on →
APP-003Query Application - depends_on →
APP-006Readiness policy evaluator Application- depends_on →
APP-003Query Application (above)
- depends_on →
- reads →
INFO-001Model config Information (above) - reads →
INFO-002Model state Information (above)
- depends_on →
- depends_on →
APP-008GitHub verification evidence admission Application - depends_on →
INF-003Private execution ledger Infrastructure - reads →
INFO-001Model config Information (above) - reads →
INFO-002Model state Information (above) - reads →
INFO-003Execution bindings Information- stores ←
INF-003Private execution ledger Infrastructure (above)
- stores ←
- writes →
INFO-003Execution bindings Information (above)
- depends_on →
- implements ←
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| verification passed tests | All 343 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-29
- statement
- Given a reviewed plan action, existing pending task and state, readiness and producer trust policies, output target and registration date, register an immutable binding in an explicitly selected private execution ledger, preserving supersession history and state watermarks without dispatching work, changing source state or claiming verification or task completion.
- acceptance_criteria
- Registration is an explicit offline operator action with no GitHub token requirement; it validates the selected plan action, policies, target and existing pending entry without authenticating live evidence.
- A binding captures namespace, context, lineage, canonical Requirement ID, task identifier, UTC opening time, complete pending-entry digest and dimension, selected plan and action, goal and policy identities, output target, historical state serial, config revision and digest, registration timestamp and evaluation date.
- The evaluation date cannot precede the plan or the state's UTC writing date; the pending task's opening timestamp is normalized to UTC and cannot follow that state snapshot.
- Verification pending work can be registered directly; a missing dimension requires explicit adopt-verification consent without modifying state, and other dimensions are rejected.
- The ledger is an explicitly selected SQLite file outside Git working trees, model folders and input paths, in a pre-existing operator-owned POSIX 0700 directory with file mode 0600; no repository discovery or JSON binding import grants authority.
- The operator's controlled runtime and directory provide the storage authority boundary; permissions do not isolate candidate code running as the same operating-system user.
- Newly initialized registration stores atomically create schema version 2 with binding and completion tables, so completion requires no initial upgrade or activation; existing supported version-1, version-2 and version-4 stores retain their format, version 3 remains audit-only, and registration never performs an implicit schema upgrade or activation of an existing store.
- Before completion, repeating the same pending identity and contract is idempotent and retains the original record's evaluation date, registration timestamp and historical snapshot; a different active contract conflicts unless supersedes names the exact current binding for that pending key.
- Explicit supersession atomically appends an immutable replacement, preserves the prior record as inactive history and rejects a concurrent change to the active binding.
- An unresolved prepared completion intent blocks registration and supersession for that pending identity, and a completed pending identity cannot be registered or reused; aborted completion intents remain historical records and permit a fresh attempt.
- The store remembers the latest registered state serial and digest by pending identity, rejects rollback and same-serial divergence, and permits later refreshed state preserving the same pending entry; a newer registration can advance the watermark without rewriting the immutable record.
- Watermarks guard registered history for the bound pending item without authenticating global state freshness or proving the supplied file is the latest filesystem snapshot.
- Show and bound-preview reads require an existing valid store, refuse unknown schemas and existing journal or WAL sidecars, and neither initialize, migrate, recover nor modify its schema, records or watermarks.
- Version-4 show wraps the unchanged immutable binding record with validation diagnostics identifying profile and fresh or reused semantic work; version-1/version-2 show wrappers and binding record format 0.1.0 remain unchanged.
- Operation-scoped validation reuse is confined to one unchanged protected database view; each fresh view checks complete schema, binding and retained-proof integrity including unrelated and aborted history, with fresh semantics in versions 1 and 2 and only matching terminal semantic reuse under the version-4 index contract.
- Version-4 registration maintains required integrity baselines and affected semantic associations atomically with bindings, active entries and watermarks; recognized stale profiles permit read-only fresh validation but block registration until explicit copy-only activation refreshes the profile.
- Registration and show accept a finite nonnegative lock timeout defaulting to 30 seconds; one monotonic budget bounds directory and SQLite waits, with zero allowing an immediate attempt and actionable nonmutating errors on timeout.
- The lock-wait budget does not limit the whole operation's computation or external HTTP requests, and expiration never permits implicit recovery or bypassing storage checks.
- Registration changes only the ledger; it never changes input files, observations, pending work or external tasks and never dispatches agents or claims an executor-output link or task closure.
- verification_method
- Execution contract, storage and command tests in CI.
- observe
- tests
- cases
- python/tests/test_executions.py::*
- python/tests/test_execution_store.py::*
- python/tests/test_executions_cli.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_cli.py::*