What ARF uses
PostgreSQL transactions, constraints, roles and migration tooling
What ARF builds
Sole-writer service, closed records, lock ordering, resource/ancestry accounting, idempotency, fences, claims and stage permits
ARF Component Borrow-Build Decisions · Solution Design Document §3.7
Reserve before dispatch
A request consumes a bounded allowance before its effect can start. The design uses idempotency so a retry cannot create a second operation, and a resource fence holds new work while an earlier result is uncertain.
Acceptance criteria
Closed contracts and authority store
All malformed cases refuse before reservation/effect; exact retry has one event; counters remain nonnegative and bounded.
Evidence to inspect · Database read-only auditor plus target observer; database account roles independently checked.
ARF Solution Design Document · Appendix B
Canonical resource and durable fence
One backing identity; zero forward dispatch while fenced; stale-generation reconciliation refuses.
Evidence to inspect · Independent target identity inventory and database uniqueness inspection.
ARF Solution Design Document · Appendix B
Cumulative allowances and idempotency
Exactly one forward event in the single-event fixture; no started stage repeats; sum consumed+reserved never exceeds any limit.
Evidence to inspect · Target installation/activation counts plus independent counter snapshots.
ARF Solution Design Document · Appendix B
Single-use stage permits and durable intent
At most one dispatch per stage; failed flush closes gate; last effect meets profile B_last_effect; no new permit after ordered revocation.
Evidence to inspect · Target durable operation/activation history and separate clock-aware observer.
ARF Solution Design Document · Appendix B
Finite recurring plans and windows
At most approved runs; no catch-up; no reset on revision; fenced resource blocks next forward window.
Evidence to inspect · Target event count and independent schedule/time record.
ARF Solution Design Document · Appendix B
Reservation recovery
Reservation is durable before the claim begins.
One reservation survives; retry cannot create another event or allowance
ARF Solution Design Document · §17.2
Claim continuity
Interruption follows a durable claim and precedes stage intent.
Only the same current executor/generation can continue after online validation and quiescence; replacement enters reconciliation
ARF Solution Design Document · §17.2
Durable stage intent
Stage intent is interrupted around a journal flush.
Unverified flush causes zero dispatch; durable intent never permits original-stage redispatch
ARF Solution Design Document · §17.2
Installed-state reconciliation
Installation completes before its result is durable.
Observer classifies installed state; original claim cannot advance to activation
ARF Solution Design Document · §17.2
Activation recovery
Activation is interrupted around the durable intent and acknowledgment.
Durable activation history shows at most one authorized activation; no replay
ARF Solution Design Document · §17.2
Independent outcome reconciliation
A completed stage result lacks a fresh or consistent observation.
Outcome remains fenced until supported reconciliation; health alone does not close activation history
ARF Solution Design Document · §17.2
Terminal result retry
A durable terminal result is returned after reply loss.
Result retrieval returns the same identity and creates no target call
ARF Solution Design Document · §17.2
Journal and executor replacement
Journal integrity or executor continuity is lost.
Uncertainty persists; original and replacement paths cannot both dispatch; quiescence precedes release
ARF Solution Design Document · §17.2
Revocation and last-effect bound
Revocation occurs at different points relative to permit use.
Last external effect stays within the declared bound including clock uncertainty; otherwise profile fails
ARF Solution Design Document · §17.2
Separately authorized restoration
Restoration occurs through the independent channel while forward work is fenced.
Exact preimage/current generation and separate deadline/allowance are enforced; restore neither refunds forward capacity nor silently clears fence
ARF Solution Design Document · §17.2
Witnessed authority reconstruction
Authority history is restored from a point older than witnessed or target progress.
Reconstruct used grants, attempts, budgets, flow, tombstones and fences before reopening; include a witnessed consumed claim with no target invocation
ARF Solution Design Document · §17.2
Authorized read and send controls
Authorized public and private reads with corresponding permitted sends.
Both positive controls reach their authorized receivers
ARF Solution Design Document · §17.3
Private-to-public flow control
A private build-log source is present in a workflow with a public destination.
Public sink receives zero prohibited requests/payloads
ARF Solution Design Document · §17.3
Restrictions across transformations
Information changes form before it reaches an output.
Source restrictions survive transformation; lineage is checked even when a marker is no longer recognizable
ARF Solution Design Document · §17.3
Cross-root audience continuity
Information crosses a child, new root or restored checkpoint.
Authenticated import preserves audience intersection across roots and generations
ARF Solution Design Document · §17.3
Pending-send ordering
A pending send overlaps delivery of newly private information.
Fixed pre-read public payload may finish before private delivery; otherwise incompatible claim/delivery waits or refuses; no newly private bytes enter pending payload
ARF Solution Design Document · §17.3
Stale-sender fencing
A paused sender resumes after cancellation and a data-boundary change.
Quiescence and last-boundary fence prevent stale physical dispatch; queue cancellation alone cannot pass
ARF Solution Design Document · §17.3
Audience intersection
Multiple source audiences are compared with candidate recipient audiences.
Only B is eligible; unknown/empty labels refuse
ARF Solution Design Document · §17.3
Aggregate limits and restoration
Concurrent work spans resource aliases, roots or windows and includes restoration.
Canonical resource and aggregate limits prevent excess; restoration does not replenish forward capacity
ARF Solution Design Document · §17.3