Skip to content

Graph State Backend: Progress And How To Resume

Original core protocol status as of 2026-11-07: all five original RFC phases are implemented and committed locally. Not pushed. The final 10,000-consumer PostgreSQL reconciliation capture passed, including all final state assertions and 210 successful renewals with zero failures. The completion audit later in this document records that delivery, its evidence and limits. The five new stronger-claim initiatives added on 2026-11-08 remain incomplete and are tracked below. The wider qualification campaign is paused under the user's one-day stop instruction; do not automatically start another matrix. The immediate runtime diagnosis and runner fix are recorded in E45. Earlier sections retain the implementation history, including gaps closed by later work.

Related: RFC (fifth revision, amended with model and implementation findings), Model, specs/graph-state/, and the user guide docs/advanced/hybrid-execution/graph-state-backend.md.

Stronger-Claim Initiative Execution

Current design direction (first storage prototype, 2026-11-10). Following the user's request to revisit the backend, the write-path reassessment proposes canonical/no-op writes, set-based bounded publication, indexed admission permissions and durable completion batching. PostgreSQL is the reference prototype; FoundationDB is the leading distributed alternative to evaluate, not a selected or proven faster replacement. Atomic state publication and external provider effects remain separate. The user then authorized trying the redesign. E47 implements bounded bulk SQL for eligible existing-resource state-only batches while preserving the existing publication transaction. A 10,000-row storage diagnostic took 16.63 seconds versus 34.28 seconds for the old SQL loop in identical 128-row batches (79 publications each); SQL requests fell from 51,425 to 1,817. The diagnostic finished in 101.16 seconds; 142 distinct engine/backend checks pass. The ten-second target remains unmet. E48 subsequently integrates state-only batching into ordinary apply with durable node acknowledgement, bounded queue memory, cancellation handling and admission checks. The same-source real-provider 1,000-row comparison completes in 12.13 seconds versus 20.21 seconds with batching disabled, using 21 versus 1,000 publications and no provider mutations during normalization. A separate synthetic 10,000-row scheduler diagnostic times out at its five-minute cap after an unexpected app-X fallback; it is retained as failed and is not comparable to the intended resource-grant workload. The user then requested the original six-minute case. E49's real-provider 10,000-row rerun completes normalization in 177.41 seconds versus the historical 350.90 seconds, with 202 versus 10,000 publications and 27,547 versus 265,208 body SQL requests. The actual resource grant is verified before writes; final service/state values, all 10,000 ready rows and 7,500 direct input revisions pass, with no provider mutations or unresolved operations. Setup takes 470.93 seconds separately; the complete attempt takes 658.12 seconds under the original 1,200-second limit. This is one historical comparison of the current combined changes, not an isolated batching ratio or repeated timing cell. Repeated large resource-grant performance and hosted comparisons remain unqualified. The broader campaign remains paused. See specs/graph-state/qualification/2026-11-10-i5-bulk-publication/README.md for E47 evidence and limits. E48 implementation, successful captures and the failed large diagnostic are in specs/graph-state/qualification/2026-11-10-i5-normalization-batching/README.md. The original-fixture rerun, grant witness and exact source are recorded in specs/graph-state/qualification/2026-11-10-i5-original-normalization/README.md (E49). E50 analyzes the remaining SQL without production changes. It reproduces three per-consumer invalidation calls, measures a faster batch-specific permission query that regresses single-target checks, and rejects a slower reverse-edge prototype. A queue probe reproduces underfilled alternating batches; extending the timer is slower despite fewer commits. Two eight-resource provider checks identify initial SSM tags: null becoming {}; their second unchanged apply publishes nothing. The RFC now specifies bounded invalidation, batch-aware permission checks and queue measurement gates, with provider-qualified canonicalization as a separate lead. Evidence: specs/graph-state/qualification/2026-11-10-i5-remaining-sql/README.md (E50).

E51 implements bounded stale-consumer status/history publication and batch-aware admitted-target checks. A final same-source 10,000-resource storage pair takes 32.27 versus 50.82 seconds, with 3,648 versus 25,866 body SQL requests and 128 publications in both paths. All 7,500 invalidations and final state checks pass; 583 PostgreSQL regression tests pass with two skips. A separate eight-resource provider smoke passes. The legacy-column repair guard is included in these final results. The original 177.41-second provider case has not been rerun; queue filling, canonical initial tags/input evidence and the broader campaign remain separate work. Evidence: specs/graph-state/qualification/2026-11-10-i5-sql-batching/README.md (E51).

E52 optimizes fresh initial creation, with no normalization warm-up. Successful returned creates share fenced publications after each raw response is durable; queued creates retain execution slots to bound unresolved operations. PostgreSQL reuses a locked transaction's operation ledger, skips empty/unnecessary reads and uses grouped reverse-edge lookups. The final 1,000-resource same-source pair takes 32.90 versus 40.29 seconds, 41,783 versus 61,386 body requests and 303 versus 1,001 publications. Fresh 10,000-resource creation takes 375.50 versus the historical 470.93 seconds, with 416,732 versus 612,748 requests and 3,005 versus 10,001 publications. All objects, ready rows, input revisions and operation receipts pass. The large result is one historical comparison; the small result is one sequential pair. 33,024 read/write transactions remain at 10,000 resources, including 30,000 reserve/dispatch/return transactions. The first unchanged apply's tag/provenance corrections remain open, as do bulk creation SQL and operation transaction batching. The rejected yielding queue and all source variants are retained. Evidence: specs/graph-state/qualification/2026-11-10-i5-initial-creation/README.md (E52).

E53 derives the write-count limits before another implementation change. Under published-parent-before-child execution, resource publications are bounded below by dependency height and cohort capacity. For the 10,000-resource fixture, ideal capacity-ten scheduling gives 1,000 publications; capacity 128 gives 79 only with sufficient bytes and a larger outstanding-operation window. Mixed completion and authorization transactions can share durable facts, so neither four nor two separate transactions per resource is a fundamental limit. Prompt raw-response durability restricts achievable batching and remains required. The RFC records the exact E52 hot-path SQL slope, conditional count optima, a proposed arm/complete interface and the implementation/fault gates. A finite model checks 256 DAG/capacity cases and the large constructive schedules; this is design evidence, not new performance or backend qualification. Evidence: specs/graph-state/qualification/2026-11-10-i5-write-limits/.

E54 implements bulk SQL for fresh successful creation publications. Operation locking, candidate reads, resource/history insertion and final operation transitions use set-based calls while existing individual return durability, queue bounds and atomic frontier publication remain intact. Actual storage captures use 20 body SQL calls for cohorts of 2/10/64/128 resources, versus 26/74/398/782 before; state, version and history hashes match. The real-provider eight-resource smoke uses 430 initial calls versus the prior 454, with five publications in both. First-refresh corrections remain. The backend/admission/convergence and creation/core queue checks pass; there is no new large apply timing. The remaining dominant work is separate reserve/dispatch/return transactions and their per-resource validations. Evidence: specs/graph-state/qualification/2026-11-10-i5-bulk-creation-sql/.

E55 fuses and batches authorization for qualified fresh creates under ordinary app X. Requests stay local through final planning, then current row/input/object/footprint checks and dispatched records share one fenced transaction. The provider call waits for its durable acknowledgement; lost replies never trigger fallback or retry. Raw returns retain their immediate durability. The final-source 1,000-resource pair takes 29.74 versus 18.50 seconds, 37,571 versus 13,369 body requests, 3,309 versus 1,479 write transactions and 302 versus 200 publications. The preceding source completes the original fresh 10,000-resource fixture in 218.96 seconds, 141,730 requests, 15,177 write transactions and 2,349 publications, with all checks passing. That large capture precedes a cancellation-only fix closing finished local preparations; it is not labeled a final-source rerun. Broader selections pass 860 checks with two skips; 90 final focused checks pass after the lifecycle fix. Individual return transactions, provider planning duplication and first-refresh corrections remain open. Evidence: specs/graph-state/qualification/2026-11-10-i5-creation-authorization/.

E56 batches raw create responses and adds opportunistic completion/publication under a savepoint. Preparation and slow publications cannot hold later response receipts; cancellation drains accepted responses. A ready-row handoff can combine newly returned operations with older, durably returned creates without repeating their response writes. The measured-candidate 1,000-resource pair uses 13,486 versus 10,815 body requests, 1,488 versus 1,075 write transactions and 202 versus 199 publications. Time is essentially flat (19.09 versus 19.35 seconds); no speedup claim follows. This provider sample uses batched returns only; fused publication is established separately by adapter/queue tests. The broad selection passes 874 tests with two skips; 36 final drain checks pass after adding parent-cancellation shielding. Provider planning, SQL transport, fuller publication cohorts and first-refresh corrections remain open. Evidence: specs/graph-state/qualification/2026-11-10-i5-creation-completion/.

E56 performance promotion is rejected and disabled by default in PostgreSQL. The matched 10,000-resource pair takes 219.38 / 231.99 seconds, with 142,026 / 130,801 body requests, 15,208 / 12,635 write transactions and 2,344 / 2,620 publications. Both pass all object/state/input/receipt checks. The candidate batches responses but produces no fused publications in this fixture. Its count savings do not compensate for smaller publication groups and coordination overhead. Ordinary applies retain E55; qualification explicitly opts into E56. The measured source and the subsequent default-disabled source are archived separately.

E57: real COMMIT connection loss verified (2026-11-10). Four actual AWS/FakeCloud captures and four engine cases cut a PostgreSQL socket before COMMIT forwarding or after its completion response, under app X/resource grants. Three returned creates either remain wholly unpublished and recover individually, or publish together and are recognized as already committed. Complete emergency journals retain every write and operation identity. Recovery adds no cloud mutation or duplicate history. The 49-case PostgreSQL regression and 129-case unit/replay selection pass, including 44 witness corruptions. The archive at specs/graph-state/histories/conformance/2026-11-10-commit-disconnect/ contains actual transport observations, independent service/history checks and frozen source changes. Production behavior is unchanged. This is full planning with an explicit collection barrier; restart/failover, sustained outages, interrupted recovery, affected-mode qualification and hosted database comparisons remain open.

E58: interrupted recovery COMMIT verified (2026-11-10). Four actual-provider cases lose an explicit recoverer's database connection before or after COMMIT, observe its natural lease expiry, and retry with a successor. Rolled-back publication retains the exact target hold; an already committed receipt is recognized without republication. Unrelated physical grants remain available and the old claim cannot write. All cases end with one provider mutation and service/state version 1. The 28 PostgreSQL and 219 unit/replay tests pass, including 56 corrupted-history controls. Raw captures, source changes and independent replay are under specs/graph-state/histories/conformance/2026-11-10-recovery-disconnect/. This qualifies known returned creates with full planning; unknown outcomes, recovery probe/process interruption, sustained outages, other mutation types and hosted Stategraph recovery remain open. Production behavior is unchanged.

E59: same-run parallel generated allocations verified (2026-11-10). Dedicated HTTP routes now bind each provider's actual configuration and mutating RPC to its pre-forward service requests. Four log-group/secret histories cover two fresh creates, including one published sibling while the other response outlives the run's lease. Original namespace holds exclude other runs until kept-response recovery; no provider mutation repeats. Eight allocations, twelve HTTP mutations, four overlaps and 26 admission probes replay independently. The 22 native and 207 unit/replay tests pass, including two native misroute refusals and 52 corrupted histories. Evidence: specs/graph-state/histories/conformance/2026-11-10-parallel-allocations/. Production behavior is unchanged. The qualification is two same-run allocations, full planning, separate provider processes, AWS 6.66.0 and FakeCloud; wider concurrency/mutation profiles and live AWS/Stategraph remain separate gates.

E60: zero-wait writer checker corrected (2026-11-10). E44's all-consumer expectation conflicts with fair admission: a queued producer can block younger consumers before its timeout cancels its request. Capture version 2 accepts a nonempty consumer subset only with owner-bound, overlapping queue-refusal evidence and unchanged exact service/state/version checks. The production queue is unchanged. The original E43/E44 reports replay identically; E44 stays failed under version 1. All 108 writer/budget units and the native queue regression pass. A bounded fresh N=10 four/eight-writer full/affected smoke passes twelve attempts in about 96 seconds, including an actual four-writer partial cohort. This is one sample per cell, with no new timing distribution or wider campaign restart. Evidence: specs/graph-state/qualification/2026-11-10-i5-fair-queue/.

E61: fresh-create planned ancestors replaced (2026-11-10). Fully evaluated, qualified live creates now use their actual recorded reads while retaining concrete review, provider and carried-cache evidence. The four-node SSM chain records three direct inputs instead of six ancestors. Detached/unqualified profiles retain all six, under both grant modes. Eight native cases, 263 targeted units and 60 provider conformance cases pass. The tag-representation zero-correction gate remains expected to fail; this is not completion of one-shot initialization or a timing claim. Evidence: specs/graph-state/qualification/2026-11-10-i5-fresh-create-inputs/.

E62: qualified first-refresh representation (2026-11-10). A separate exact AWS 6.66.0 SSM contract preserves a stored null user-tag map on an empty refresh. The original first-refresh corrective pass is gone: 24 initial chain/tag/grant/scope cases have zero corrective publications and unchanged history/operation contents. Real tag drift still plans and repairs; raw reads and durable returns remain exact. Planning evidence binds the representation policy, and unsupported profiles keep the original conservative behavior. This closes the known tag gap, not all one-shot requirements or a matched timing gate. Evidence: specs/graph-state/qualification/2026-11-10-i5-refresh-representation/.

E63: original-size one-shot regression (2026-11-10). One 10,000-resource run passes fresh creation and its first unchanged full apply with no warm-up. Creation takes 212.706 seconds; unchanged processing takes 68.260 seconds, 120 body SQL requests and zero publications, preserving the complete snapshot and operation digests, all 7,500 direct inputs and independent service values/versions. The full attempt takes 306.691 seconds inside twelve minutes. This replaces the original blanket correction pass for this qualified fixture, while full refresh/planning and creation's durable-return slope remain. No repeated timing cell or wider campaign restart follows. Evidence: specs/graph-state/qualification/2026-11-10-i5-one-shot10000/.

E64: exact provider-plan reuse prototype (2026-11-10). Qualified validation and plan results can cross into apply with exact request/result digests in the explicit qualification path, including saved plans and matching restarted runtimes. The prototype initially stayed disabled because those elapsed-time pilots did not beat the reference. The 2026-11-16 follow-up enables the qualified path after repeated creation-time improvements; see the current AWS SSM planning qualification and planning_execution_20261116.json. Immutable fingerprint caching remains enabled. Four known-input SSM creates need four plans/validations instead of eight; unresolved ARN inputs, absent qualification and rejected proof exercise the conservative paths. Current-row/provenance checks and mutation durability remain mandatory. A 40-ms diagnostic window reaches 100 resource publications plus one output at N=1,000/C=10, but takes 19.845 seconds against the 20-ms reference's 18.423. Production keeps the 20-ms window; smaller counts alone do not pass the gate. Full unchanged inspection still plans each resource; the create request's null prior state is not the unchanged request's prior object. Evidence: specs/graph-state/qualification/2026-11-10-i5-plan-reuse/.

E65: grouping durable returns inside the adapter (2026-11-13). A timer-free prototype groups responses that are already queued, including arrivals during the transaction's ownership checks. Three alternating N=1,000 pairs reduce median SQL body calls 13,575 → 9,960 and write transactions 1,483 → 861; median publications increase 212 → 222. Paired creation-time ratios 0.940 / 1.065 / 1.018 do not prove a speedup on the variable-load shared host. Seventeen native checks pass, but a separate locked-operation test finds a progress regression: the shared queue holds an unrelated response, while the reference stores it before the blocked row is released. Both eventually store their responses; no data loss is observed. The prototype is rejected, with no production change. A permanent native regression test fails under the candidate and passes under production; it and eight neighboring grant-loss/expiry cases pass. Preserve independent response progress as well as fences/journals in any subsequent grouping design. Exact sources, failed gate and bounded measurements are retained in specs/graph-state/qualification/2026-11-13-i5-return-coalescing/.

E66 checkpoint: sustained database connectivity loss (2026-11-13). Two native cases pass for app ownership and resource grants: after an actual AWS provider returns an SSM create against FakeCloud, the application loses database connectivity before storing the response. The complete journal survives, natural lease expiry retains the affected object's exclusion, an unrelated object remains available, and recovery publishes exactly once without another provider mutation. A direct observer checks the database; it is not an application fallback. The final histories and independent replay are retained in specs/graph-state/histories/conformance/2026-11-13-database-outage/. The final bounded repetition series completes 16 attempts in 208.579 seconds: one warm-up and seven measured samples per grant policy, all independently replayed. Median instrumented recovery is 43.66/42.94 ms for app/resource grants, separate from the 5.25-second injected outage; each uses 53 body SQL requests, four write transactions and one publication. The original application reconnects before a separate recoverer uses the direct local database route. All 122 outage/transport/report checks pass. The preliminary series remains archived: its 69-request recovery count included 16 commit-observer reads, now correctly attributed to observation. Production is unchanged. Raw samples, earlier failed fixture commands and the measured harness are retained in specs/graph-state/qualification/2026-11-13-i5-database-outage/. This qualifies the stated known-result profile only: exact retained-hold lifetime, server costs, crash/failover, runner death, unknown outcomes and live comparator behavior remain unmeasured; no speedup or p95 is claimed.

E67: runner-loss timing smoke and supervisor correction (2026-11-13). Four accepted-response-loss captures cover create/update under full/affected planning in 96.750 seconds. Actual caller/provider termination, natural two-second expiry, conflicting-writer refusal, recovery and convergence pass independent replay without repeated mutations. Live provider executable hashes and database durability settings are verified. Recovery commands take 1.557–2.047 seconds in these single observations; there is no repeated timing or comparative-speed claim.

A supervisor regression shows a timed-out controller leaving a worker in a separate session alive. Tracked-descendant cleanup fixes it; 223 scoped tests pass, including 64 new timing/build checks. A separate probe demonstrates incomplete CPU accounting for unreaped orphan descendants (0.300 s observed child CPU versus 0.027 s reported). That metric, worker SQL/RPC counters, unresolved-safe costs and repetitions remain gates before cost qualification. Evidence and exact source are retained in specs/graph-state/qualification/2026-11-13-i5-runner-loss/.

E68: orphan CPU measurement correction (2026-11-13). Each measured command now has a private Linux subreaper. Individual wait receipts include adopted workers, separate supervisor overhead and avoid cross-charging concurrent commands. The original 0.300-second child probe now reports 0.347 seconds including its parent, instead of losing the child. A bounded native full/lost-create capture passes in 21.617 seconds, retaining all loss/recovery checks. Its 16.440577 CPU seconds include 0.697599 from adopted children; 0.364774 belongs to the exact killed provider observed by the HTTP socket witness. All 202 scoped tests pass. Timeout testing also finds and fixes a duplicate deadline signal during supervisor shutdown. Evidence: specs/graph-state/qualification/2026-11-13-i5-process-accounting/. This is waited CPU under the documented Linux method, excluding automatically reaped descendants and Docker servers; earlier counters stay historical. One native sample does not qualify repeated costs. Worker SQL/RPC counts, unresolved-safe costs and repetitions remain open; the large benchmark campaign stays stopped.

E69: worker SQL/RPC receipts (2026-11-13). Payload-free append-only traces cover each planner/apply/refusal/recovery/convergence worker and separate controller queries. PID/birth and command intervals bind the observations; killed-worker prefixes retain an interrupted RPC and lower-bound SQL counts. All four full/affected create/update loss profiles pass in 78.030 seconds. Each fresh recovery worker records 75 logged body calls, five returned read transactions and seven returned write-mode transactions. Create recovery uses six Provider RPCs (including import/refresh), update recovery five. Convergence after recovered creates makes an apply RPC without another service mutation; update convergence makes none in these observations. All 334 scoped tests pass. Two failed development captures are preserved: an inherited instrumentation path correctly invalidated provider environment fingerprints, and an overly strict new oracle conflated convergence RPCs with cloud mutations. Both are corrected without changing production safeguards. Evidence and exact source: specs/graph-state/qualification/2026-11-13-i5-worker-costs/. One observation per profile does not satisfy repetitions or comparative timing; unresolved-safe recovery costs, server costs and the wider matrix remain open.

E70: repeated native runner-loss costs (2026-11-13). The bounded runner completes 32/32 attempts in 604.616 seconds: one warm-up and seven samples per full/affected create/update profile. Every history independently verifies exclusion, recovery and convergence without replaying the accepted mutation. Recovery command medians are 1.364/1.364/1.378/1.369 seconds (full create, affected create, full update, affected update). Each recovery has five returned read transactions and 75 body calls with seven returned write-mode transactions, except two full/update samples with 80 calls and eight write-mode transactions. The extra five-call transaction overlaps other work; its timing is consistent with renewal, but method attribution is not recorded. Create/update recovery sends six/five provider RPCs. All 436 scoped tests, Ruff and the docs build pass. The runner stops on first failure, deadline or excessive forecast; its independent reporter rejects incomplete, reordered or mixed-source/environment series. Exact Docker images, configured limits, database settings, process receipts and reconstructed source are retained in specs/graph-state/qualification/2026-11-13-i5-loss-repetitions/. This supplies repeated costs for the bounded successful recovery path. Unresolved-safe recovery, server costs, exact hold lifetime, stable p95 and the wider I5 matrix remain open; no speedup/comparator claim follows. The large campaign stays stopped.

E71: unresolved-safe recovery smoke (2026-11-13). Eight native profiles combine full/affected create/update response loss with missing termination confirmation or an attributed AccessDeniedException on the actual provider recovery read. All pass in 228.899 seconds under a six-minute limit. Each unresolved attempt stays quarantined, retains its exact operation/footprint and resource frontier, and blocks a separately planned contender. Later explicit recovery/convergence sends no repeated mutation. The new format binds twelve worker traces, the recovery policy and denied HTTP responses. Refused recovery records 40–45 body calls, three read and five/six write-mode returned transactions; unconfirmed recovery sends Configure/Stop but no object probe. Denied-read create/update attempts send six/five actual Provider RPCs. All 557 scoped tests and independent source/history replay pass. Evidence: specs/graph-state/qualification/2026-11-13-i5-unresolved-recovery/. These are one-observation correctness/instrumentation smokes with varying host load, not repeated timing comparisons. Unresolved-cost repetitions, server work, exact hold lifetime and the wider matrix remain open. Production behavior is unchanged.

E72: repeated unresolved-safe recovery costs (2026-11-13). All 64 randomized attempts pass: one warm-up and seven measurements for each E71 reason/scope/action profile. The run finishes in 1,571.489 seconds under its thirty-minute cap. Every command binds the actual client runtime and interpreter hash alongside source, provider, database and emulator facts. Quarantined recovery medians are 1.177–1.184 seconds without termination confirmation and 1.266–1.300 seconds for denied reads. Across 56 measurements, 52 use 40 SQL body calls/three read/five write-mode returned transactions and four use 45 calls/three read/six write-mode transactions. None advances resource state. Later recovery uses 76–86 calls and preserves the original effect without replay. Whole-command maxima reach 35.687 seconds on the shared host; all slower observations remain in the distributions. No speedup or p95 claim follows. Frozen and strengthened independent replay agree; all 604 scoped tests, Ruff and the docs build pass. A per-command budget-check gap and a parallel test startup race were reproduced and fixed after capture, with both failures retained. Commit f8fed505 reconstructs all 389 captured source and 31 harness files; the validation patch is separate. Evidence: specs/graph-state/qualification/2026-11-13-i5-unresolved-repetitions/. This closes the named quarantine repetition/runtime-binding gate. Server work, exact hold lifetime, other failure schedules and the wider matrix remain open. The large campaign stays stopped. Eager provider loading before the termination check is the next concrete recovery optimization candidate; production recovery is unchanged here.

E73: defer recovery provider initialization (2026-11-13). Production recovery now lets GraphRecovery decide whether a probe is eligible before initializing providers. The adapter loads once on its first actual probe; the entry point's duplicate pending scan is gone. Known/kept results, unsent reservations and unconfirmed calls need no startup. Unknown results still probe when their identity permits it; loader failure retains dependent holds and ownership loss propagates. Thirteen behavioral cases, six archive checks and the surrounding suites pass: 930 scoped tests and 21 native PostgreSQL recovery tests. Eight actual-provider smoke cases pass in 179.495 seconds. Unconfirmed commands send zero provider RPCs and record 34 SQL body calls/two read/four write-mode returned transactions; denied-read commands record 39 calls/two read/five write-mode transactions. Later recovery records 75 calls, with no accepted mutation replay. These totals are observations, not universal bounds; the eliminated scan and avoided initialization are structural. Single command timings do not establish a speedup. E72 remains the immutable repeated baseline for its source. Evidence and exact reconstruction: specs/graph-state/qualification/2026-11-13-i5-lazy-recovery/. The new source's repeated costs, server work, exact hold lifetime, other failure schedules and the wider matrix remain open; the large campaign stays stopped.

E74: direct database-container costs (2026-11-13). An opt-in Docker observer adds independently replayed CPU and sampled container-memory counters to the eight native loss/quarantine/recovery profiles. Inspect/stats/inspect receipts bind the database fixture and lifetime; missing/reset counters, stale clocks, restarts and partial windows fail qualification. Every workload event is inside the window; fixture/schema/adapter startup, proxy setup and teardown are excluded. Sampling overhead is reported separately and no observer SQL is issued.

Eight final smokes pass in 269.651 seconds: database CPU 0.521–1.133 seconds, sampled peak container usage 84.543–88.156 MiB, 156–331 samples and up to 218.414 ms between samples. Sampler thread CPU is 0.313–1.230 seconds. Host load rose from 14.202 to as high as 57.415; all slower observations are retained and no timing comparison follows. A one-second SQL control records 1.001416 CPU-seconds, and an actual container restart is rejected. All 323 scoped tests pass. The initial window-checker failure and a separate unresolved HTTP socket-attribution failure are preserved, along with two earlier passes on the final source. The fresh series passes every existing quarantine/exclusion/no-replay gate. Evidence and exact source: specs/graph-state/qualification/2026-11-13-i5-server-costs/.

This supplies direct server CPU and named cgroup memory counters, not RSS, query attribution, lock-wait time or exact peaks. Those gates, row-byte costs, exact hold lifetime, observer interference/reliability, repetitions and wider I5 workloads remain open. Production code is unchanged; the large campaign stays stopped.

E75: sampled PostgreSQL process memory (2026-11-13). The opt-in server collector now records RSS/PSS from smaps_rollup under the container's PostgreSQL user, with container/exec identity and per-process parent/birth checks. RSS sums count shared pages repeatedly; PSS is kept separate. Departing/new processes are explicit coverage records. Sequential sampling can miss short-lived processes and does not prove an exact peak or an atomic cross-process view. The collector's own in-container CPU is included in cgroup counters and is not subtracted.

Eight native loss/quarantine/recovery smokes pass in 176.892 seconds with all prior safety checks. Sampled RSS-sum peaks are 108.059–110.070 MiB; PSS-sum peaks are 45.263–46.037 MiB. Of 140 collections, 136 have stable membership endpoints; two departures and three new processes are retained. Gaps reach 1.087 seconds and collection duration 82.266 ms. A live three-session control observes allocation and subsequent process exit. All 361 scoped tests pass, including a red/green fix for a wait-loop exception that could previously leave the sampler marked complete. Evidence: specs/graph-state/qualification/2026-11-13-i5-server-memory/.

E68–E74 remain unchanged. No ratio against the differently instrumented/shared-host E74 run is justified. SQL waits/attribution, row/WAL bytes, exact hold lifetime, observer interference/reliability, repetitions and wider workload memory profiles remain open. Production graph code and the stopped large campaign are unchanged.

E76: server-reported SQL lock waits (2026-11-13). The opt-in local observer and verifier bind PostgreSQL-reported waits to the retained operation, blocking transaction, backend session and worker SQL fingerprint. All eight native recovery smokes pass frozen and strengthened replay; original capture took 169.135 seconds. Each deliberately holds the operation row for 100 ms after observing a blocked query. Server-reported waits are 100.809–105.345 ms, with 81–85 separately counted observer SQL requests. No other wait pairs appear in the marked log intervals. The 10-ms threshold does not measure shorter waits, lightweight locks or I/O waits; these are not ordinary recovery latency samples or a zero-contention result.

All 414 scoped tests pass. Mutation tests exposed self-blocking and three invalid clock histories, plus silently ignored unparseable log output; the verifier now rejects them. Original failures, 397-file/30-comparison-source reconstruction and both replay results are retained. All prior safety gates remain required, and E68–E75 remain immutable. Repeated/ordinary contention measurements, broader SQL attribution, row/WAL bytes, exact hold lifetime and the full I5 matrix remain open. Evidence: specs/graph-state/qualification/2026-11-13-i5-sql-waits/README.md.

E77: repeated four/eight-writer costs (2026-11-13). The native N=100 matrix passes all 144 attempts: setup, warm-up and seven measured repetitions for each 4/8-writer × four-family × full/affected cell. Sampling finishes in 1,658.296 seconds under a 45-minute cap. Frozen/current replay agree with no failed, interrupted or unstarted attempts; all 397 captured source files remain unchanged. The writer/budget preflight passes 109 tests, with no test/build load overlapping capture.

Compatible disjoint/shared-reader cohorts preserve all edits; conflicting cohorts accept one saved plan. Changing-input outcomes include four measured partial-consumer samples at four writers and six at eight writers, with exact overlapping fair-queue refusal evidence and preserved service/state versions. None of the 112 measured samples shows overlapping mutating actors. The four compatible full/affected comparisons have seven matched pairs and ratios 0.9523–0.9629 with intervals below one. Conflicting/changing-input cells have too few matching outcomes for a ratio.

For disjoint writes, affected planning uses 83 plan and 187 apply SQL body calls per actor, versus 31/146 for full planning, while observed frontier advances remain one per accepted edit. Slightly lower wall time therefore does not imply fewer SQL requests. Exact per-sample counters, source, commands and all raw attempts are in specs/graph-state/qualification/2026-11-13-i5-writers48/. This closes the named native 4/8-writer timing cells; E43's 1/2-writer source stays historical. Server waits, simulated delays, Terraform/hosted policies and the wider I5 matrix remain open. The stopped large-estate/hosted campaign and production execution are unchanged.

E78: batched planning metadata (2026-11-13). Native SQL-path diagnostics reproduce E77's excess with two resources and attribute it to repeated metadata views plus admission/proof checks. Each PostgreSQL metadata capture now uses one statement, with selected payloads in the same repeatable-read transaction. Every existing validation point, baseline/history check, complete index check and unresolved hold remains. The regression fails before the change; 398 distinct PostgreSQL and 251 core cases pass, including native index damage/control cases.

All 18 diagnostic attempts pass frozen replay. N=2/one-writer and N=100/four-writer disjoint samples both use 29 plan/169 apply SQL body calls per affected actor, down from 83/187; full remains 31/146. Each accepted edit still advances the frontier once. This removes 72 of the 93 excess calls without changing graph publications. The two after-change series finish in 40.529/55.482 seconds, below their bounded limits; these instrumented single-sample series support counts, not comparative latency. Admission/proof redundancy, serialization/server costs, repeated timings and wider I5 coverage remain open. Evidence: specs/graph-state/qualification/2026-11-13-i5-planning-sql/README.md.

E79: validate preparation once (2026-11-13). Call stacks identify the immediate duplicate affected-plan check after preparation returns. Preparation now validates each successful exit, including existing grants; the duplicate caller check is removed. Approval/provider-start and mutation fences remain. An already-held full grant gains an early validation, so the reduction is scoped to fresh affected runs.

All 15 diagnostic attempts pass frozen replay. Affected apply drops 169 → 157 SQL body calls and 15 → 14 returned write-mode transactions per actor; planning stays 29 and full stays 31/146. N=100/four-writer apply uses 628 calls with four preserved edits/frontier advances. The combined affected count is now 186 versus full's 177. All 240 core and 142 native PostgreSQL cases pass. Two old normalization failures also reproduce on frozen E77; the fixture now explicitly tests qualified versus unqualified representation changes, retaining its promotion requirement for the latter. Exact source, commands, original failures and limits: specs/graph-state/qualification/2026-11-13-i5-apply-validation/README.md. No speedup or full-matrix claim follows from these single-sample diagnostics.

E80: combine grant and coverage reads (2026-11-13). Admission and validation now fetch the exact-grant certificate with the actual SHARE-locked lease rows. Ownership, coverage and the final fresh-clock/certificate fence remain. A native wait control proves that a certificate invalidated while the statement waits is still refused at the final fence. Current and legacy grant paths pass missing, extra, mode-change and restored-set controls; all 513 scoped native tests pass.

Twelve new diagnostic attempts and twelve E79 comparison attempts pass frozen replay. Affected/full apply drops 157/146 → 153/143 body SQL calls per actor; planning stays 29/31, transaction counts and publications stay unchanged. Four writers preserve four edits/frontier advances, using 612 affected apply calls. The combined affected/full counts are 182/174, with eight excess calls remaining. Exact source, raw evidence and limits: specs/graph-state/qualification/2026-11-13-i5-grant-coverage/README.md. This qualifies bounded request counts, not latency or the remaining I5 matrix.

E81: repeated current-source four-writer costs (2026-11-13). E80's unchanged source completes 72 ordinary-harness attempts over N=100, four actors, all four contention families and both planning modes. Eight setups, eight warm-ups and 56 measured samples pass frozen independent replay in a 758.978-second sampling window. No tests/builds overlap capture; the process exits normally under its 25-minute cap. Source and earlier sealed evidence remain unchanged.

Compatible disjoint/shared-reader paired ratios are 0.9768/0.9852, with bootstrap 95% intervals 0.9688–0.9972 / 0.9831–0.9880. Conflicting/changing-input outcomes have zero/one matching pairs, so no ratio is qualified. Three partial-consumer samples retain refusal witnesses; no measured mutating-actor overlap is observed. The repeated disjoint cohort uses 116/612 affected plan/apply SQL calls versus 124/572 full, preserving four edits/publications. Affected planning still returns 2,424 metadata summary rows across 24 captures despite loading only four resource payloads. Exact source, client costs, all samples and limits: specs/graph-state/qualification/2026-11-13-i5-current-writers4/README.md. This is a current-source scope comparison, not an isolated optimization speedup, stable p95, 1-to-8 scaling or full-goal completion.

E82: reuse final ownership metadata (2026-11-13). The closure's completed evaluation now supplies a final validator combining metadata and owner lookup in one captured snapshot. Capture/payload checks, cache binding and final provider requalification remain; legacy None-return adapters keep a separate read. The work observer records the combined capture. A publication during that snapshot can leave a stale returned plan; the new native race proves admission refuses it before approval/provider mutation. This replaces a possible late planning restart with admission refusal in that window, without granting mutation authority.

All 15 diagnostic attempts pass frozen replay. Affected planning drops six → five complete views, 29 → 28 SQL calls and seven → six returned read-mode transactions per actor. Apply remains 153 calls/two views; full remains 31/143. Four writers use 112 plan/612 apply calls and preserve four publications. All 257 core checks and 518 distinct native cases pass across broad/targeted runs. Original return assertion and race-fixture failures remain archived. Source, controls and limits: specs/graph-state/qualification/2026-11-13-i5-final-planning-capture/README.md. No latency claim or broader completion follows; E81 timings describe its source.

E83: simulated waits and actual RPCs measured separately (2026-11-13). The writer harness adds an explicit pre-RPC delay with independently checked profile, timing and admission binding. It preserves actual RPC intervals separately from simulated pending work; production code is unchanged. All 231 harness cases pass, and the current checker reproduces E81's sealed report exactly.

All 72 native attempts pass frozen replay, including 24 delayed conflict/compatible smokes, 12 zero-delay controls and 36 repeated N=100/two-writer attempts. All 28 measured disjoint/shared-reader samples retain both edits during overlapping simulated waits, with no actual RPC overlap observed. The repeated run takes 415.318 seconds. Full/affected medians are 6.458/6.328 seconds for disjoint writers and 6.472/6.327 for shared readers; preliminary paired ratios are 0.979916/0.980442 with bootstrap intervals below one. Affected retains 14 more body SQL calls per cohort and two graph publications. Zero-delay is smoke-only; wider writer/delay, real-provider overlap and server-cost gates remain open. All 520 recorded worker PIDs and three database listeners are gone afterward. Exact source and limits: specs/graph-state/qualification/2026-11-13-i5-provider-delay/README.md.

E84: two generated allocations through one provider (2026-11-13). Four new native log-group/secret histories bind concurrent creates to one actual live provider process/session. gRPC configuration and create HTTP tags bind requests to declared resource slots; follow-ups use the already observed exact name. Both requests reach a barrier before forwarding. Success and natural-expiry/kept response recovery preserve namespace exclusion and publish both rows exactly once.

The final 34-case native capture and 267 unit/replay cases pass, including eight native marker-refusal controls and 56 damaged histories. Four positive histories contain eight allocations/publications, twelve HTTP mutations, four overlap witnesses and 26 admission probes. Frozen replay retains 24 final positive histories and four expected failed HTTP controls, and reproduces E59's report unchanged. Earlier captures, whitespace-only source differences, a relative-path replay error and an archive-inventory correction are retained. All eight recorded provider PIDs are gone. Evidence: specs/graph-state/histories/conformance/2026-11-13-shared-provider-allocations/. Production code is unchanged; this extends only the two-call full-planning, tagged-create AWS 6.66.0/FakeCloud profile, not affected eligibility or throughput.

E85: publication row/WAL bytes (2026-11-13). The new test-only observer records actual body SQL, entry/tail tuple-counter deltas, live row/payload inventories and transaction-tagged WAL. Cluster span, unrelated records, full-page images and framing stay separate. Natural flush polling is bounded; SQL-aborted captures are retained as incomplete. All 22 native and 46 replay/control tests pass. Eighteen single-sample cells cover create/normalize, 1/16/64 rows and three payload profiles; four controls cover checkpoint images, foreign writes, rollback and SQL failure.

Unchanged 64-row hashed payloads still generate 2,540,826 normalization WAL bytes and append 1,123,800 stored history-value bytes. Large serialized batches exceed the 1 MiB cap and use 335 creation/271 normalization body calls, against 20/19 for small 64-row batches, retaining one atomic publication. Preserving unchanged current payload storage and bounded SQL chunks within one publication are the next measurable candidates. These direct-backend diagnostics do not qualify scheduler batch shapes or an end-to-end speedup. Production code is unchanged. All 87 development/final captures, including counter/codec/rollback-observation errors, are retained with final frozen replay in specs/graph-state/qualification/2026-11-13-i5-write-bytes/.

E86: preserve unchanged current JSONB storage (2026-11-13). The general and state-only bulk resource writers reuse the old external datum when its complete representation matches. Changed values bypass text conversion; C-collated text comparison still preserves JSONB-equal numeric representations and metadata case. The red regression showed 9/144 current TOAST chunk insertions/deletions for 1/16 unchanged hashed rows. Both are now zero, while changed rows and full history stay correct. Existing revisions, invalidation, ownership checks and commits remain.

All 128 final paired storage attempts pass, with warm-up/seven pairs across eight cells. Unchanged large-payload WAL ratios are 0.511053/0.513456 for 1/16 rows, with intervals below one. SQL stays at 18/19 calls and one publication. The earlier candidate's changed-large-batch slowdown prompted a fast value-difference branch; its source/results and interrupted 141-pass regression prefix are retained. All final instrumented latency intervals include parity; no end-to-end speedup follows. The database regression command passes 799 tests in 317.49 seconds. Its 50 FakeCloud-dependent skips pass separately in 87.31 seconds, giving 849 distinct native cases across the two commands; 75 replay/control checks pass. At this checkpoint, 64-row normalization still has 271 calls; E87 addresses that fallback. Archive: specs/graph-state/qualification/2026-11-13-i5-payload-reuse/.

E87: bounded SQL chunks in one atomic publication (2026-11-13). Eligible cohorts now use multiple bounded SQL arrays inside one transaction. All-row validation, full history, collective operation resolution/invalidation and the final fence remain. The 256-row bound and oversized-single-row fallback remain.

The 64-row hashed case drops from 335/271 creation/normalization calls to 24/23, with one publication and commit. All 32 paired attempts pass in 93.472 seconds against the exact E86 writer functions. Instrumented paired ratios are 0.8300/0.6913 with intervals below one; setup is excluded and no full-apply speed claim follows. WAL stays close because history remains full. App-X/resource-grant chunk faults, visibility, dependency invalidation and existing writer/recovery tests are checked. Exact terminal validation, source, failed development attempts and 87 replay/control checks: specs/graph-state/qualification/2026-11-13-i5-publication-chunks/. The stopped hosted/large-estate campaign stays stopped; broader I5 gates remain.

E88: runtime read-contract costs (2026-11-13). The 101-resource native fixture introduces stack/app/undeclared runtime reads over unchanged provider values. All 54 attempts pass in 749.073 seconds: seven measured samples and a warm-up per profile/full-or-requested-affected policy, plus setup. Full fallback, resource grants, zero provider mutations, actual declarations and independently bound input proofs are verified. Each apply makes 102 publications and 2,343 body SQL calls and loads 15,958 resource payload rows. This is metadata introduction, not a no-op or broad-read initial creation. Frozen/current replay agrees; the 295 harness/checker tests pass with the committed smoke fixtures. Exact evidence and limits: specs/graph-state/qualification/2026-11-13-i5-read-contracts-repeated/. Broader mutating/value/cache gates and the five-initiative goal remain open.

E89: batch scope-preserving metadata (2026-11-13). Normalization now uses semantic value/membership generations to distinguish safe broad-read cohorts from concrete dependencies. Storage admission, input checks, history and final fencing remain unchanged. Four minimal cases reproduce the old serial queue; 278 core and 66 PostgreSQL tests pass, including full hybrid execution and 32 native grant/fault controls. The unchanged 101-resource harness passes all 18 retest attempts, with five publications, 211 body SQL calls and 1,324–1,332 loaded resource payload rows per measured apply. E88 used 102/2,343/15,958. Timing is diagnostic only, not a matched repeated ratio. Archive: specs/graph-state/qualification/2026-11-13-i5-scoped-normalization/. Remaining cohort splits, complete views and broad value/cache workloads retain their own gates. The hosted/large-estate campaign stays stopped.

E90: repeated scoped normalization costs (2026-11-13). All 54 attempts pass in 565.174 seconds on unchanged E89 source. Seven samples per profile/policy retain five publications and 211 body SQL calls per measured apply, with 1,323–1,336 loaded resource rows. Full plan/apply medians are 4.7230/4.3755/4.5832 seconds for stack/app/opaque. Frozen replay verifies the matrix and final input proofs. The within-run ratios measure full-fallback overhead, not a pre/post optimization ratio. Evidence: specs/graph-state/qualification/2026-11-13-i5-scoped-repetitions/. Larger shared values/files and broader I5 gates remain open.

E91: shared-file effects and cache costs (2026-11-13). The new fixture found saved no-op grants skipping required runtime file effects. Coverage now retains those bodies and their admission; identical graph publications remain elided. Old plans that omitted runtime work require replanning. The one-resource red case, 16 execution combinations, output effects, stale-plan refusal and corrupt-evidence controls are retained. 353 core, 66 overlapping focused checks and eight native fallback cases pass. All 12 smoke and 36 N=101 repeated attempts pass; measured apply uses 92 SQL calls, zero publications and one 1 MiB file write shared across 100 consumers. It retains one distinct producer input key and all 100 consumer proofs. Frozen replay and per-cell costs: specs/graph-state/qualification/2026-11-13-i5-shared-files/. Large graph values, reclamation and the broader matrix remain open. No hosted or live AWS campaign was resumed.

E92: large graph-value copies and invalidation (2026-11-13). A loaded-proof read removes discarded stored payload copies while preserving detached refreshed values. Matched 1,000-consumer nested cases improve paired median closure time by about 29% stable and 28% after a forced restart, with unchanged SQL/publications and complete consumer provenance. The original matrix stops at 120 passing attempts; four cells are complete. Separate bounded captures add 64 passing attempts for the remaining four cells. Each qualified cell has seven matched pairs; incomplete cells and an intentionally interrupted overlapping capture remain separate. 434 core, 58 native view, 44 provider-pair and 68 evidence checks pass; failed observer/index-test development attempts and frozen replay remain in specs/graph-state/qualification/2026-11-13-i5-large-values/. The flat-string 1,000-consumer restart cohort is about 4.8% slower; copy reduction does not imply a universal elapsed-time improvement. SQL plans, reclamation, provider end-to-end large values and wider I5 gates remain open. The hosted and stopped large-estate campaigns were not resumed.

Planning SQL optimization checkpoint (2026-11-13; qualification pending). Schema 35 stores the exact resource dependency projection as a generated column, so metadata planning no longer extracts it from unrelated provider attributes. The resource-edge trigger reuses that column; older schemas retain the original read expression. Native controls cover large values, ordering-only dependencies, updates/deletion/recreation, tamper rejection and migration without changing row versions, history or baseline captures. The migration rewrites the entries table under a table lock; its duration and write/storage overhead remain unmeasured. tests/performance/graph_planning_sql.py and its plain-data checker capture actual planning queries and plans before/after ANALYZE. A two-consumer smoke run passes, but repeated qualification, checker negative controls and the sealed SQL evidence archive remain unfinished. No broader SQL latency claim is made at this checkpoint. Pre-commit validation passes 169 core tests, changed-file lint and the docs build. The combined native planning/bulk/SQL/backend run has 288 passed, two skipped and two failures in test_single_row_commit_reads_only_its_lease_footprint: its grant-plan scan budget is 64, but the combined run observes 189/196 row visits. Both parameter cases pass when rerun alone. The combined-run scan-budget failure was open at that checkpoint; E93 below resolves its measurement error.

E93: complete planning SQL and cached-plan evidence (2026-11-13). Four local 100/1,000-consumer × small/large-value fixtures complete in 18.8805 seconds. Each of five actual planning queries has a warm-up and seven matched pairs before and after ANALYZE. Cached statement identities and custom/generic execution counters bind tail EXPLAIN EXECUTE plans to the measured queries; every pair matches plan modes. Large-value metadata reads remove 404 buffer accesses: fresh 100/1,000-row cases fall 456→52 / 626→222, with paired latency ratios 0.5569 / 0.8517. Complete metadata, payload/private state, ordering-only dependencies and input proofs agree. Requests/publications remain unchanged. Small-value and identical-query controls include parity and slower observations; no universal latency claim is made.

The grant-budget failure minimized to 29 retained runs and an analyzed two-buffer metadata scan. Its test incorrectly bounded all plan-node row visits; it now bounds returned lease rows/root buffers and rejects whole-grant expansion, with a legacy negative control. The original combined sequence and new controls pass 101 native cases. The 142 evidence/runner checks pass. Frozen replay retains the initial probe failure, preliminary unbound EXPLAIN series, smoke captures and all diagnostic failures in specs/graph-state/qualification/2026-11-13-i5-planning-sql-projections/. Migration rewrite/write/storage costs, colder caches, history growth/reclamation, full-provider large values and wider I5 requirements remain open. No hosted or stopped large-estate campaign resumed.

E94: bounded payload lookup replacement (2026-11-13). The original VALUES candidate nearly doubled latency at 100 keys; its failing checkpoint remains in specs/graph-state/qualification/2026-11-13-i5-payload-lookups/. Its replacement uses equality for single keys, bounded hashed membership for dense selections and indexed lookups for sparse ones. Complete metadata eliminates absent-key body queries while preserving requested sets, tombstones and full deletion inventory.

The exact E93 method is the matched baseline in four local fixtures, completing in 24.2359 seconds with six warm-ups and seven pairs per executed query/profile. Fresh 1,000-key paired ratios are 0.5218/0.4192 for small/large source values; the 100-key regression is gone. Sparse 10-key reads reduce fresh buffer work 103→30, while after analysis buffers increase 21→30 despite lower latency. A 100-row 10-key case is slightly slower, and identical-query controls vary; no universal speedup follows. Absent reads use one body SQL request instead of two, with no invented timing or ratio for omitted queries. Publications remain zero.

All 83 native planning controls plus two oversized-key cases pass; 348 evidence checks bind exact proofs, cached plans, frozen baseline bytes and missing-query accounting. Raw evidence and frozen replay live in specs/graph-state/qualification/2026-11-13-i5-adaptive-payload-lookups/. Larger selections retain the general path. Density crossover, wider cache/history/version profiles, full-provider applies and the broader five-initiative gates remain open.

E95: bounded reclamation evidence (2026-11-13). The capture preserved at the last commit checkpoint now passes frozen-checker replay, including its original failed fixture/checker attempts and preliminary source versions. All 64 final attempts pass in 127.42 seconds: 16/128 rows, four historical revisions, 16-byte/16-KiB payloads, and dispatched/returned unresolved operations, with one warm-up and seven measured samples per profile. No production code changes.

Controlled derived-observation eviction takes one body SQL request; public history pruning with and without the origin pin takes twelve each. Every phase has one mutating transaction and no graph publication. The checker verifies exact retained rows/private bytes and origin proofs, unchanged unresolved operations, and refusal of app-X/resource-X grants by an independent client under new run IDs. At 128 rows/16-KiB payloads, median instrumented times are 21.191/77.337/33.682 ms for dispatched and 21.775/78.802/38.190 ms for returned holds. Transaction observers are included; setup, inventory scans, admission probes and unpinning are excluded. Own-transaction WAL and live JSON-byte changes are retained separately from physical disk reclamation, which this workload does not measure.

Four PostgreSQL tests and 161 combined evidence tests pass. Source/attempt hashes, all observations, distributions, negative development captures and the frozen verifier are in specs/graph-state/qualification/2026-11-13-i5-reclamation/. This closes the stated bounded reclamation cost cell, not the full I5 matrix. Checkpoint/density/concurrent-prune costs, provider recovery, automatic collection, VACUUM, cold caches, other versions and larger estates remain open. Hosted and stopped large-estate campaigns remain stopped.

E96: initial broad-read progress (2026-11-13). A three-resource reproduction confirms that sibling creation changes conservative stack/app read proofs. The initial one-shot success assumption was wrong: pre-call refusal and an incomplete result with stale inputs preserve the intended safety boundary. No production fence was weakened and no automatic retry behavior was added.

All 24 actual-provider PostgreSQL/FakeCloud cases pass, with service/state checks after every attempt, app-X/resource grant receipts and the AWS 6.66.0 binary bound by hash. Concrete-read and single-consumer controls complete immediately. The twelve two-consumer broad-read cases require two or three fresh plans, using their original branch pin. Across 42 attempts, all 64 mutations are creates and every service version stays at 1; final scope proofs are current. Sixteen memory controls and the checker/negative-control suite total 388 passes and twelve partial-only skips. Sources, raw partial states, original diagnostic failures and frozen replay are in specs/graph-state/qualification/2026-11-13-i2-broad-creation/.

This qualifies bounded partial-progress accuracy and fresh-plan convergence, not one-shot broad-read creation, arbitrary runtime convergence or a performance cell. A separate no-op benchmark checker incorrectly assumes coverage rows equal the complete original inventory; its failed capture retains the original worker metrics; E97 below supplies the harness fix. Broader mutating/read-contract costs remain open. The stopped hosted and large-estate campaigns remain stopped.

E97: untouched-origin benchmark proofs (2026-11-13). The benchmark no longer equates admission-covered rows with the entire state inventory. Version-2 evidence retains explicit untouched keys and binds the complete partition to independent state/lineage/frontier observations. It still checks every consumed scope and rejects missing/duplicate origins, conflicting roles and hidden changed work. Offline reports now check the declared proof version; legacy captures keep their version-1 requirements.

The two-resource no-op and eight-resource metadata-introduction smoke runs each pass all 18 attempts across stack/app/undeclared reads and both planning policies. Requested affected planning falls back to full. No sampled apply invokes a provider mutation. No-ops preserve graph rows with zero publications; metadata introduction uses three publications per apply. There is one warm-up/one sample per cell, so this does not close repeated timing or mutating broad-read gates. All 397 checker tests pass. Frozen replay checks both captures and retains the original offline-report version failure without rewriting raw evidence. Exact sources, negative controls and replay are in specs/graph-state/qualification/2026-11-13-i5-untouched-origins/. No production planning or admission behavior changed; hosted and stopped large-estate campaigns remain stopped.

E98: mutating broad-read progress (2026-11-13). All 24 actual-provider PostgreSQL/FakeCloud update cases pass. Concrete state is seeded and runtime metadata introduced before pinning a settled update origin. Producer and consumer values then change, with every partial service/state result checked under app-X and resource grants. Concrete/single-reader cases converge immediately. Two broad readers require two fresh plans serially or three in parallel; the final plan reconciles metadata without a provider mutation.

Across 42 update attempts, exactly 64 updates follow 64 setup creates. Service versions end at 2, consumed proofs are current, and no effects are repeated or lost. The native suite passes in 49.67 seconds; the combined update/creation/read checker suite passes 1,002 tests with 24 inapplicable partial-only skips. Frozen replay retains a preliminary independent-checker revision gap and its negative control, plus the original successful two-resource benchmark pilot. Evidence: specs/graph-state/qualification/2026-11-13-i2-broad-updates/.

Production behavior is unchanged. This qualifies the bounded mutating correctness prerequisite, not one-shot convergence. E99 adds complete small-fixture cost accounting for every fresh plan and partial result. Arbitrary/oscillating bodies, external writers, provider failure/recovery and wider workloads remain open; hosted and stopped large-estate campaigns stay stopped.

E99: complete broad-read update costs (2026-11-13). The bounded campaign finishes in 144.38 seconds with all 64 captures passing: eight resource-grant/full planning profiles, each with one warm-up and seven measured samples. Concrete three-resource updates need 282 body SQL requests, 22 returned write-mode transactions and three publications; two broad readers need 441/32/four serially or 567/41/four in parallel. Every case performs exactly three provider updates. All fresh plans and the six-request update origin pin are included. Setup and independent observer SQL are separate. Final metadata reconciliation costs 136 requests and one publication without a provider mutation, the next fixed-cost target to investigate without weakening proofs or silently changing retries.

The final 438-file source digest and actual runtime import paths bind the run. The initial 64 captures lacked import-path witnesses and remain separately replayable with their original reporter; four pilot captures are also retained. The extracted fixture passes 24 native tests; 1,356 focused checks pass with 12 inapplicable skips. Frozen replay, lint and docs pass. Evidence: specs/graph-state/qualification/2026-11-13-i5-broad-update-costs/. Production behavior is unchanged. No one-shot broad-read guarantee, automatic retry, CLI-process timing, different-contract speed ratio, p95 or large/hosted campaign is qualified; the five stronger-claim initiatives remain incomplete.

E100: one-statement baseline validation (2026-11-13). A transaction-attributed trace finds four three-request baseline reads in the final 136-request metadata plan. The backend retains all four validation boundaries and combines each lineage/pin/origin read into one typed SQL statement. Final metadata uses 128 requests; complete concrete/serial-broad/parallel-broad updates use 274/425/543. Transactions, provider effects, fresh plans and publications stay unchanged. All 64 final provider captures pass in 163.55 seconds, with one warm-up and seven samples per profile. Shared-host load increases and timing outliers are retained; the historical totals do not establish an overall speedup.

The first JSON-envelope candidate passed safety checks but was rejected after a bounded 10,000-origin reader regressed from 57.08 to 90.37 ms. The typed variant avoids that penalty but remains slightly slower at that size (52.25 versus 53.57 ms); this is a request-count improvement, not a large-history speed claim. All 395 final native planning/baseline/admission tests pass; 1,339 core/checker tests pass with 12 inapplicable skips. Evidence and rejected sources are preserved in specs/graph-state/qualification/2026-11-13-i5-baseline-reads/. Next: five full snapshots still account for 35 metadata-plan requests. A narrower proof read needs an equivalence argument and stale-value/membership/operation/ index controls before replacing any read. The broader goal remains incomplete.

E101: smaller broad-proof reads (2026-11-13). Three validation snapshots now load complete counters/topology/operations and selected exact payloads. Ownership reconstruction and legacy full-snapshot fallback preserve the previous checks; an index-only ownership prototype failed four controls and was rejected. All 64 provider captures pass in 140.13 seconds, with 56 measured samples and eight warm-ups. Concrete/serial-broad/parallel-broad updates use 274/395/498 SQL requests; final metadata reconciliation uses 113. Transactions, publications, provider effects and fresh-plan counts are unchanged. The 112 reader cases, 402 native regressions and 843 final-corpus cost controls pass. The bounded storage comparison retains all 96 attempts, including a tiny-case slowdown; no whole-apply speedup follows. Source-bound evidence and rejected prototype: specs/graph-state/qualification/2026-11-13-i5-scope-proof-reads/. Two ordinary snapshots, 17 metadata-plan transactions and publications remain optimization targets; the five stronger-claim initiatives remain incomplete.

E102: mutating broad-read fanout (2026-11-13). Versioned harness evidence now binds consumer count, follows all service inventory pages and retains bounded fresh-plan progress. Production sources remain unchanged from E101. All 32 final 100-consumer captures pass across concrete/stack/app/undeclared contracts, full planning, resource grants and scheduling limit one. Seven measured samples plus warm-up per profile establish the named cell: concrete uses 5,860 requests and 101 publications; broad uses 6,985–7,031 and 103–105 across two plans. Each sends exactly 101 updates. A 10-consumer diagnostic finds eleven plans and twenty publications for parallel broad readers; a stopped mixed 100-consumer pilot keeps six successful cases and its interrupted seventh without promotion to completion. Evidence: specs/graph-state/qualification/2026-11-13-i5-broad-fanout/. The next costs to reduce include individual update persistence, broad-plan amplification and metadata cohort fragmentation. Broader gates remain open.

E103: scheduler-driven metadata collection (2026-11-13). All 99 independent metadata rows now share one bounded publication in the named 100-consumer fixture. A matched current-source collection-policy comparison passes 18 provider captures, including seven measured pairs: final metadata uses 114 instead of 160 SQL calls and one instead of three publications. Complete updates use 6,962 instead of 7,008 SQL calls, still with two explicit plans and 101 provider updates. The update median rises from 13.016 to 13.372 seconds; the paired interval includes parity, so no update speedup is claimed. Setup including contract installation has a preliminary ratio of 0.9715 (0.9663–0.9807). Core/orchestration checks pass 430 cases, native checks cover 143 distinct cases, and frozen replay rejects nine corruptions. The native test-constructor failure is retained. Evidence: specs/graph-state/qualification/2026-11-13-i5-normalization-waves/. The metadata publication minimum is reached for this fixture; its remaining 114 SQL calls/17 returned transactions and per-operation persistence remain targets. All five broader initiatives retain their outstanding gates.

E104: reuse the admitted baseline (2026-11-13). Admitted apply preparation omits a redundant baseline-recording transaction after validating the exact admission. Unadmitted runs keep explicit recording. All 621 core and 404 native cases pass, including independent committed-origin reads, pin protection and history checks. Four before/after diagnostic captures pass; metadata drops from 114 SQL/17 transactions to 109/16, and complete updates from 6,962 SQL/424 write-mode transactions to 6,952/422. Publications/effects/plans are unchanged. Frozen replay proves all other metadata transaction SQL sequences identical and rejects four corrupted ledgers. Slower instrumented after timings are retained; no elapsed-time improvement follows. Evidence: specs/graph-state/qualification/2026-11-13-i5-metadata-transactions/. The next investigated costs include retention at release (12 requests) and two full snapshots (14). Their separate safety obligations and broader gates remain.

E105: automatic retention cleanup (2026-11-13). Release maintenance skips the discarded count report while sharing explicit pruning's locked deletion code. Automatic cleanup uses seven rather than twelve requests, still in one write transaction. All 27 focused and 447 broader native cases pass. Two new provider captures reduce metadata to 104 SQL/16 transactions and complete updates to 6,942 SQL/422 write-mode transactions; publications, mutations and plans remain. Forty synthetic retention cases pass, including seven paired measured samples at each of 100/1,000 resources. Exact current state, private bytes, pinned origin, history membership and markers are checked independently. The 100-resource timing interval includes parity; the 1,000-resource interval favors cleanup but is wide, and the shared version DELETE dominates the seconds-long samples. No repeatable or whole-apply speedup is established. Frozen replay verifies the unchanged metadata/pruning statements and rejects 22 corruptions. Evidence: specs/graph-state/qualification/2026-11-13-i5-retention-cleanup/. The shared deletion's SQL plans and history-density sensitivity are the next diagnostic target. Broader initiative gates remain open.

E106: bounded successor lookup (2026-11-13). Stale per-state statistics can turn the history successor EXISTS into repeated state-wide scans. A scalar one-row probe preserves its condition and avoids that plan; other guards and request counts remain. The corrected structural red test observes 70,900/ 6,010,000 scan rows at 100/1,000 resources, while all 81 native checks pass after the change. Post-change 1,000-resource probes scan 10,000 rows. The initial pagination errors are preserved as harness failures. All 40 paired/smoke history captures and two new provider captures pass. Stale-statistics median cleanup falls from 2.714 s to 55.8 ms; analyzed median cleanup rises from 43.5 to 49.3 ms. Both intervals support the respective improvement/regression in this fixture. Full-update and metadata counts remain 6,942/104 SQL, with effects/publications unchanged. Frozen replay rejects 19 corruptions and isolates the SQL expression change. Evidence: specs/graph-state/qualification/2026-11-13-i5-retention-plans/. Wider scale/history density, more pins/checkpoints, natural statistics refresh, contention and whole-apply latency remain unqualified; all five initiatives keep their broader outstanding gates.

E107: current-source SSM conformance (2026-11-13). The full existing native SSM matrix passes after the recent planning, batching and retention work: 60 tests in 180.96 seconds, including 56 positive captures and four deliberate wire corruptions. All 56 replay using frozen plain-data checkers with site startup disabled; 152 altered new histories are rejected. The existing portable checker suites pass 151 tests. Requested affected classification remains 23 executions, four explicit fallbacks and one refusal. There are 136 calls, 140 publications, twelve overlap witnesses and no unresolved calls across the positive histories. These are safety observations, not matched performance samples. Evidence: specs/graph-state/histories/conformance/2026-11-13-i1-current-source/. No production change, wider identity qualification or hosted campaign was made. The source/context archives and artifact seal preserve this checkpoint; broader I1–I5 requirements remain open.

E108: queued-caller recovery cost (2026-11-13). A separate client keeps one app-X ticket pending through the existing acknowledged-create database outage and recovery. Its grant transaction must observe the committed operation, and its held-grant snapshot must match the exact recovered row. All 16 final attempts pass in 245.65 seconds: one warm-up/seven samples under each original ownership policy. Median queued waits are 515.77/414.45 ms, with 50.55/46.32-ms refusal/success brackets. Contender traffic uses median 319/308 body requests; recovery stays at 53, one publication and one total provider mutation. Extra receipt reads and polling interference are explicit. All 226 unit/replay cases pass, including 74 new corruptions and both old/new report formats. Frozen source/replay evidence is in specs/graph-state/qualification/2026-11-13-i5-recovery-queue/. Production code is unchanged. The observed caller starts after expiry; exact hold lifetime, general queue throughput and broader I1–I5 gates remain open.

E109: passive recovery lock waits (2026-11-13). All 16 queued-recovery attempts pass in 211.38 seconds, with one warm-up/seven samples per original ownership policy. Four measured server waits (10.555–30.659 ms) and one warm-up wait bind to the queued caller's application-row lock through actual session/query receipts. Recovery has no logged wait above the 10-ms threshold; its medians are 46.557/45.732 ms and its 53 requests/one publication remain intact. The seven observer SQL calls are explicit, with four already included in phase counters. All 347 focused tests, two compatibility tests, Ruff, docs and frozen replay pass. Evidence: specs/graph-state/qualification/2026-11-13-i5-recovery-waits/. No lock holder was injected, production code changed or comparative speed claimed. Sub-threshold/non-heavyweight waits, observer overhead qualification, exact hold lifetime and broader I1–I5 requirements remain open.

E110: compatible delayed writers at 1/4/8 actors (2026-11-13). Current-source native captures complete twelve 100-resource disjoint/shared-reader × full/affected cells, with one warm-up and seven measured samples each. All 84 qualified samples preserve every edit: 364 updates, one publication per actor and no unresolved operation. 56 samples overlap simulated pending operations; one also records overlapping actual RPC intervals, recorded separately. Affected still uses nine more body SQL requests per actor despite substantially fewer resource payload reads.

The first one-writer batch stops at its forecast limit after 24 passing attempts; its completed disjoint cells qualify, while its six partial shared-reader attempts remain diagnostic. Five separate bounded runs finish the remaining families. All 126 actual attempts pass; the original stopped report remains incomplete and keeps twelve unstarted attempts. Source/context archives, paired ratios and every raw sample are independently replayable. All 366 focused tests pass, including 144 last-actor corruptions replayed by the frozen checker. Evidence: specs/graph-state/qualification/2026-11-13-i5-provider-delay-writers/. These are preliminary within-count full/affected comparisons. Production and the timing harness are unchanged; E83's historical two-writer cohort, delayed conflicts, wider delays, HTTP/server attribution and broader I1–I5 gates remain separate.

Delayed conflicting writers and changing inputs (E111). Sixteen current-source 100-resource cells cover 1/2/4/8 actors and full/affected planning with a two-second pre-RPC delay, one warm-up and seven samples each. All 156 native attempts pass, including twelve smoke attempts; 112 measured cohorts admit 193 plans and refuse 227, preserving 225 exact provider effects and 225 graph publications. Refused actors make no mutation or graph commit; every final state is ready with zero unresolved operations. The 12 partial-consumer cohorts retain exact fair-queue refusal witnesses. Different accepted actor sets are excluded from paired speed ratios, and single-actor rows are baseline controls.

All 482 focused tests and 256 frozen accepted/refused-actor corruptions pass. Source and the timing harness are identical to E110; simulated pending work and actual RPC intervals remain separate. Evidence: specs/graph-state/qualification/2026-11-13-i5-delayed-contention/. This completes those delayed-contention cells, not sustained retry/liveness, wider delay values, server attribution or the broader I5 matrix. Large/hosted campaigns remain stopped; no whole-initiative completion or cross-engine speed claim follows.

Combined first lease attempt (E112). The PostgreSQL backend now enqueues and tries the first grant in one owned transaction. It reuses the same ownership/app locks and the exact immutable ticket, retaining the final database-clock and complete-grant fence. Older waiters, unresolved operation footprints, recovery-role restrictions and the mutation marker still participate. A refusal keeps its ticket for diagnostics, polling or cancellation; other graph backends use the default separate-call implementation. There is no schema/protocol migration.

A real saved-apply diagnostic falls from 47 to 41 body SQL requests and from ten to nine transaction bodies per refused actor. The first enqueue/grant pair falls from 17 to 11 requests. The original N=100/eight-actor/two-second-delay conflicting fixture confirms 410/420 full/affected apply requests, versus E111's 458/468; planning remains 176/168, with exactly one mutation and publication per cohort. All 12 conflict/changing-input attempts pass, including setup and warm-ups. These are four smoke cells with one measured cohort each, not repeated latency qualification. Concurrent local validation activity also excludes a timing ratio.

Validation passes 789 core tests, 523 PostgreSQL tests (521 in the main run and two FakeCloud transfer cases rerun with that fixture enabled), 48 broad-read create/update tests, 574 oracle/harness tests and all 60 native conformance cases. Frozen replay checks 56 positive conformance histories, four native wrong-wire tests, eight writer cohorts and 256 corrupted observations. The shared SQL regression runs both app-wide and resource-grant refusals; native tests cover lost replies, fair tickets and actual expiry after the request or grant body. Evidence: specs/graph-state/qualification/2026-11-13-i5-combined-admission/.

This does not establish a 41-request lower bound. Cancellation still costs ten requests; ending the run and retention cleanup cost another eleven. They remain separate optimization candidates with ownership and retention obligations intact. Broader I1–I5 requirements and the stopped large/hosted campaigns remain unchanged.

Status as of 2026-11-09. The RFC initiative requirements remain the completion contract. Existing core-protocol tests do not complete these extensions. The user has now authorized direct Stategraph cloud tests using a 30-day demo, superseding the earlier exclusion. CLI 3.2.28 is installed. After local private configuration was supplied, authenticated stategraph info reports server 3.2.28 and state schema 19; the single visible tenant initially lists no states. E16 now records basic fixture operations and exploratory stale-plan/checkout outcomes. E17–E24 add twenty-two matched configuration, dependency, overlap, contention, alias, namespace, response-loss and live-provider schedules; broader portable conformance and matched timings remain open. Historical not-run records stay intact; access to the demo does not establish a comparative guarantee. The RFC's live qualification stages prioritize correctness observations before matched timing runs. Historical statements below that comparisons were excluded or intentionally unverified describe the earlier checkpoints; the E16–E25 entries supersede them only for their stated scopes.

specs/graph-state/claims.md consolidates the dimension-specific claims, source identities, named cases, evidence archives and exclusions. It distinguishes verified bounded observations from implemented mechanisms, proposed production extensions and unverified external comparisons. The tables below retain the broader initiative history and outstanding work.

Claim / scope Status Implementation and evidence Remaining release gates / exclusions
I1.a: portable observations of native engine histories Implemented and verified for the recorded corpus tests/helpers/graph_conformance.py, graph_history_evidence.py, graph_conformance_report.py; 50 scenarios in memory and the same 50 in real PostgreSQL. The capture report records exact source digests, runtime/database versions and hashes of raw observations Engine histories are controlled service simulations. This does not replace actual hybrid/provider-wire and service-observation coverage
I1.b: all twelve RFC adversarial cases through supported interfaces All twelve primary cases captured; full/affected-request matrix verified graph_hybrid_evidence.py observes actual encoded ApplyResourceChange requests/responses, direct boto service reads and public durable history. Includes killable callers, delayed responses, SQL waits, recovery retry and conflicting admission/adoption refusals. Explicit-name SSM operation holds and physical ownership now have independent observations. The derived-expression archive recaptures the outcomes, branch-order and lifetime/cache schedules and adds indexed prefix/uppercase reads: 56 distinct full/affected scenario slots, with twenty-three affected-execution scenarios, one pre-execution refusal and four explicit full fallbacks. All 60 native tests pass, including four deliberately corrupted wire requests. Expiry, retention, persisted derived-cache eviction and a waiting admission timeout retain unresolved holds, including through an independent client. Both stale-checkout commit orders preserve untouched intent and refuse conflicting edits, with independent order/effect witnesses. Cancellation and partial-result/publication faults preserve operation holds; schema 32 prevents in-flight resolution without an outcome receipt. Structured queue/validation/intent diagnostics expose actual blockers and next actions without granting permission The recorded native schedule/type ledger is qualified within its stated profiles. Wider profiles and any future notification queue require their own schedules; live comparisons require their own qualified captures
I1.c: independent negative controls and offline verification Implemented for the stated observation coverage libs/netherframe.core/tests/test_graph_conformance.py and the native broken-fence test in test_graph_execution_history.py; a real memory-backend commit with its fence deliberately disabled is rejected. Observation mutations cover stale publication, missing completion, duplicate physical ownership, changed/missing operation evidence, conflicting unresolved operations and forbidden admission after expiry. Scope controls reject silent fallback, unadmitted affected sends and missing/rewritten artifact associations; the initial deletion-scope failure remains reproducible Coverage includes concrete-name SSM plus bounded log-group/secret HTTP/service allocation and recovery observations; 221 conformance checker units pass, including sixteen new derived-value/proof corruptions; older archives retain their outcomes. E59 adds two same-run generated allocations with routed observations; E84 independently binds two calls in one provider process. Larger cohorts, collisions and wider mutation profiles remain unqualified. Safe quarantine is not a liveness result; a safe prefix is not a completed test
I1.d: live Stategraph comparison Twenty-four matched schedules observed; wider comparison open E17–E25: 72 native full/affected and hosted 3.2.28 captures. E25 adds six safe replacement-gap exclusion/recovery observations. E24 adds four native live-provider exclusion/recovery passes and two valid hosted adverse outcomes after explicit abort: contender succeeds, late old effect overwrites it. E23 retains six safe post-termination recovery outcomes; E21 retains three hosted alias adverse outcomes Distinct native expiry/recovery versus hosted abort operations; no universal product claim. Remaining accepted-response delay/abort interleavings, cross-alias replacement gaps, interrupted recovery, database outages, cached/opaque and full I5 gates. Latest read-only inventory observes 56 state records; owned cleanup identities are archived. E27–E30 separately observe all four named hosted linked schedules: discovery, overlapping writers, stale-consumer refusal and partial failure/fresh recovery. E30 retains an adverse intermediate consumer export/service mismatch followed by exact recovery; no native production multi-state counterpart was run
I2: scoped planning Qualified public affected planning, saved loading and selected execution implemented Complete retained manifest, partial views, old/new/observed edge closure and revision-bound qualification. Expansion reuses original payloads within one complete capture while preserving per-consumer reads; final metadata validation and restart remain mandatory. AWS 6.66.0 SSM runtime profile. Eighteen historical selector captures, 24 concrete and six built-in-derived full/affected pairs and eight opaque/runtime/deferred full-fallback pairs with provider/runtime-observation replay. Missing-file effects and separate apply checks execute; unknowns, deferrals and conservative incomplete outcomes remain explicit. Per-row semantic fingerprints bind the operand types that select built-in expression behavior. Transitive stale-output review matches persisted status. Public App/env/project/CLI scope routing uses selected provider startup/refresh, the production scheduler and exact coverage. Indexed omitted-owner checks survive capture/admission races. Public format-18 loading preserves scope/kept/stale/deletion review under app-X or resource grants. Selected execution/rollback caches refuse full and out-of-set reads; provider cases enforce the boundary through checkpointing and compensation. Explicit unsupported-work fallback resets selected evaluation and provider state The value/cap checkpoint adds six sensitive full/affected pairs, four native structural-cap fallbacks and ten direct/derived missing/unknown/sensitive unit cases. Eight native saved-affected-apply retention schedules now pass. E3 closes the explicit persisted-index/startup corruption and race checks; wider runtime qualification and I5 costs remain separate. The current paths are qualified with AWS 6.66.0/FakeCloud, not arbitrary providers or live AWS
I3.a: version-bound eligibility Implemented; verification recorded below IdentityQualification profiles; loader-to-process binary selection evidence; portable row metadata and coverage version 2; saved-plan/deferred pre-dispatch checks; app-X fallback and legacy-row backfill. Existing generated values qualify core 0.8.0, SSM qualifies AWS 6.66.0 Trusted cache selection is not binary attestation. An explicit arbitrary executable remains unqualified. This slice does not finish I3's broader per-type release gates
I3.b: broader qualified identity coverage Native and independent per-type gates verified for two additional types AWS 6.66.0 log group and secret contracts; exact-name keys, fresh-allocation scopes, per-instance exclusions and durable app-X fallback. Current archive: 36 native tests, including six apply-generated-name/deferred-provider cases, plus 72 shared qualification/portability unit tests. Per-type ledger maps exact tests and the new sixteen-case independent HTTP/service archive; three reference-plan inventories remain separate The independent archive verifies alias/lost-create/replacement/recovery within name/retention and name/description profiles. Captures use FakeCloud, not live AWS. E59 qualifies two same-run generated calls and kept-response expiry recovery; E84 adds the one-provider tagged-create profile with eight native refusal controls and 56 damaged histories. Larger cohorts, collisions and wider mutation profiles remain unqualified. Replicas/overwrite configurations and subordinate types remain serial. Wider versions and types need their own evidence
I4: multi-state coordination prototype Prototype/model gates verified for the stated bounds specs/graph-state/domain/: independent model, nine negative controls, three positive witnesses, 23 PostgreSQL tests and warm-up/seven-repetition cost captures at 1/2/4/8 actors A production extension needs the separate decision below. Root serialization is a measured bottleneck. Production still uses one app state per domain; the prototype is not a public backend
I5: matched performance evidence Size/patch, transport, six reconciliation families and concrete fanout 100/1,000 measured within recorded bounds Actual-provider Python API/Terraform CLI fixtures, independent service/state checks and immutable raw captures. The post-index ten-root cohort passes 108 attempts across all four topologies. Affected/full intervals are below one there; full diamond is slower than Terraform and the affected/Terraform diamond interval includes parity. Earlier N=100 ten-root dependent affected runs remain slower than full. E13 measures zero/10 ms delay, with affected slower than full under delay. E31 adds four complete N=100 reconciliation workloads (108 verified attempts) inside a retained interrupted batch. E32 completes provider settings and drift in a fresh 54-pass capture; affected is about 19% slower than full for the all-resource provider-setting change. E33 adds concrete fanout 100 (101 total resources), with affected about 20% slower than full and both native policies slower than Terraform Wider RFC workload/metric matrix and matching regression history remain open. The claim ledger and performance inventory separate source cohorts, negative results and pending measurements. Stategraph matched performance remains open; E17–E30 conformance observations are not timing samples. Historical failed/interrupted attempts remain recorded

E46: explicitly requested 10,000-resource Stategraph diagnostic stopped at its limit. On CLI/server 3.2.28, initial planning takes 148.48 seconds; the creation apply does not finish within its 900-second command limit. The batch stops after 17.98 minutes, without retries. No-change processing and the small update are not reached. Local Terraform consumes 1,639 CPU seconds and writes 44.66 GB through process I/O in the last pre-timeout observation; this is not an attribution of all bytes to disk or state serialization. The failed capture is retained, all local processes exit, and the owned transaction is aborted only after provider termination. This supplies no equivalent normalization comparison. Evidence: specs/graph-state/qualification/2026-11-10-i5-hosted10000/. The wider campaign and original multi-adapter large matrix remain stopped.

E44/E45: four/eight-writer smoke failed; benchmark work now stops on first failure. E44 terminates in 366.77 seconds with 44 passed and two failed attempts; two measured attempts remain unstarted. Full-scope changing-input cohorts accept only subsets of consumers because some are refused behind an older queued producer. Actual accepted writes match service/state, but the declared all-consumers outcome check remains failed. The first failure was followed by 25 more attempts costing 212.76 seconds. Both runners now retain the first failure and stop the batch, clean up and exit 1. All 155 related tests pass; existing time-budget cancellation remains exit 124. No new timing capture was started. Evidence: specs/graph-state/qualification/2026-11-10-i5-writers48-smoke/ and specs/graph-state/qualification/2026-11-10-i5-fail-fast/.

E43: repeated native 1/2-writer costs verified. All 144 attempts across four families and both planning scopes pass independent replay in 23.55 minutes, with seven samples per cell. Accepted writes, refusal-before-mutation, service/state and exact provider version increments are checked. Provider overlap remains an observation, not an assumption. Different accepted outcomes are excluded from paired ratios. Source is unchanged from the 148-test E42 build; actual 4/8-writer and Terraform/hosted policy measurements remain open. Evidence: specs/graph-state/qualification/2026-11-10-i5-writers100/.

E42: public native writer benchmark smoke qualified. Four explicit writer families support 1/2/4/8 actors through separate processes, common-origin saved plans, zero-wait resource grants and actual provider-call observation. Independent checks bind outcomes, refused-call absence, service/state and exact service version increments. All 148 related tests and 24 two-writer N=10 smoke attempts pass; independent replay has no incomplete attempts. Provider calls do not overlap in this smoke, and one repetition is not a measured cell. Actual other actor counts, repeated costs and Terraform/hosted policy qualification remain open. Evidence: specs/graph-state/qualification/2026-11-10-i5-writers/.

E41: one repeated hosted timing cell complete. The 100-resource isolated one-write fixture passes all 36 setup/warm-up/measured attempts across native full/affected, Terraform/local and Stategraph/hosted. Seven samples each and independent replay finish in 14.06 minutes under a twenty-minute cap. Plan/apply medians are 3.019/2.897/7.519/22.125 s respectively, with hosted/local ratios excluded for unmatched deployments. Hosted resets cost 34.198 s and complete attempts 62.497 s median, validating the need to budget resets and checks. Source/executable hashes, service/state, owned receipts and actual command windows all pass; no processes remain. Evidence: specs/graph-state/qualification/2026-11-10-i5-hosted100/. Wider cells remain open; the original 10,000-resource matrix stays stopped.

E40: hosted timing adapter qualified through a live smoke. Optional Stategraph CLI execution now shares the fixture oracle, checks owned saved bytes/transactions and observes actual Terraform invocations through TF_CMD. It verifies the installed provider and per-Terraform limit, with overlap reported separately. An initial unsupported transaction-list option and missing receipt after a no-op are preserved as failed qualification; three regressions fail before correction and 173 tests pass afterward. A fresh three-attempt eight-resource smoke passes independent replay on source f071cf37…, with matching service/state and committed receipts. One sample is not a measured steady-state cell. Hosted placement/sizing stays distinct from local PostgreSQL; no engine speed ratio or fabricated internal counter is reported. Evidence: specs/graph-state/qualification/2026-11-10-i5-hosted-adapter/.

E38/E39: bounded validation and automatic run limits. The three remaining N=1,000 one-root chain/fork/diamond cells pass all 81 attempts in about 36 minutes on source c4264025…. Affected plan/apply medians are 6.36/6.30/6.67 s, selecting and updating four resources; full medians are 7.44/7.39/9.73 s. All raw state/service observations and saved scopes replay; full/ Terraform diamond remains inconclusive. Source cohorts remain separate. The runner now defaults to a one-hour total sampling budget, includes resets/checks in its forecast, and retains stopped runs as incomplete with exit 124. Five targeted regressions fail before the controller/report change; 146 related tests pass afterward, and E38's report remains identical. Production code is unchanged by this budget feature. Evidence: specs/graph-state/qualification/2026-11-10-i5-one-root1000/ and 2026-11-10-i5-run-budget/. The large matrix stays stopped; broader I5 gates remain open.

E37: admitted-target SQL avoids full proof decompression. Schema 34 adds database-generated write/auxiliary/action projections, retaining the original admission proof and all fences. A real one-row commit in a 4,096-resource admission fails its buffer budget before the fix (94 buffers) and passes afterward. Upgrade, tamper and release/re-admission controls pass within the 547-pass, two-skip backend/admission/completion/lifecycle suite. Thirty isolated query cases retain seven pairs plus actual SQL plans before/after ANALYZE. At 10,000 resources, analyzed last-target action checks fall from 9.347 to 1.618 ms and shared buffers from 439 to 19. Source c4264025… also passes all three actual-provider 1,001-resource setup/warm-up/smoke attempts with independent state/service replay and no affected fallback. The one measured plan/apply takes 72.29 s; no new repeated end-to-end ratio is claimed. Migration backfill/table locking and extra storage are documented. Evidence: specs/graph-state/qualification/2026-11-10-i5-admission-projections/.

E36: quadratic saved-plan validation fixed. Loading an affected artifact rebuilt and hashed the complete manifest context map for every executable node. A two-/sixteen-resource regression fails before the fix with 4/256 context visits; the validator now derives both manifest maps once per load, retaining every per-node evidence check. Seven paired offline replays of identical 1,001-resource files improve median loading from 5.885 s to 0.676 s, with complete encoded-result equality. All 188 artifact/candidate/closure/selection tests pass. Source 979a3366… differs from E35 only in this production module. This is a synthetic-fixture loading diagnostic, not a new end-to-end apply or Stategraph ratio; E34's negative results and remaining database costs stand. Evidence: specs/graph-state/qualification/2026-11-10-i5-artifact-validation/.

E35: named selector iteration observations qualified. Version 2 records actual yields from named metadata/worklist iterators and independently reconstructs old/new/discovered adjacency. All 348 targeted tests and 18 actual-provider N=8 isolated/diamond smoke attempts pass; source 509bd0de… is archived and unchanged. Affected plans observe 222/368 metadata iterations, 6/33 worklist node visits and 0/32 edge visits across three selector calls. V1 archives replay with their unavailable counters unchanged. The disabled-observer pure diagnostic gives identical selections and intervals including parity. This qualifies instrumentation, not repeated costs, all Python work, SQL execution plans/waits or consumer-cache hits. Evidence: specs/graph-state/qualification/2026-11-10-i5-selection-iterations/.

E34: concrete fanout 1,000 measured. Frozen-source run 20261110T073744-27042145 passes all 27 attempts for one producer plus 1,000 consumers, with seven samples per adapter. Independent replay confirms exact state/service membership and propagation, native readiness, zero unresolved operations and no affected fallback. Medians are 60.4623 s full, 91.3719 s affected and 12.1646 s Terraform. Paired affected/full is 1.5131 (1.5017–1.5221), affected/Terraform 7.5229 (7.4944–7.5280), full/Terraform 4.9545 (4.9423–5.0131). Every numerator is slower in every pair. Both native policies apply 1,001 resources; affected retains six planning metadata views and additional saved-apply payload reads. The process exits 0 in about 43 minutes, below its 90-minute cap, and frozen/current offline reports match exactly. The source remains a9e27ec3…; iteration instrumentation is separately qualified under E35. Evidence: specs/graph-state/qualification/2026-11-10-i5-fanout1000/. Fanout 10,000 and broader I5 gates remain open; the original large matrix remains stopped.

E33: concrete fanout 100 measured. Run 20261110T071546-1bfba75a has 101 total resources: one producer and 100 consumers, all updated by a single root edit. On the same frozen a9e27ec3… source, all 27 setup/warm-up/seven-sample attempts independently replay; final cloud/state membership and propagated values agree, with zero unresolved native operations. Affected stays affected but selects every resource. Its ratio to full is 1.1996 (1.1890–1.2087); affected/Terraform is 1.2789 (1.2728–1.2858), full/Terraform 1.0681 (1.0512–1.0780), all slower in every pair. Six metadata views and 89 plan queries remain versus 37 full; both native policies perform 101 provider applies. Reports match byte for byte, completion is observed before nine minutes, source/test checks are unchanged and docs pass. Evidence: specs/graph-state/qualification/2026-11-10-i5-fanout100/. Larger fanout, broad/unknown reads and large shared-value/file costs remain open; the stopped large matrix is untouched.

E32: provider-setting and drift measurements complete. Fresh run 20261110T065039-2dba6181 uses the same frozen a9e27ec3… source as E31 and passes all 54 setup/warm-up/seven-sample attempts across three adapters. All raw observations independently replay; frozen/main reports match and exit 0. Affected selects all 100 resources after the provider default-tag change and is slower in every full/Terraform pair: affected/full ratio 1.1868 (1.1738–1.1894), affected/Terraform 1.1640 (1.1597–1.1701). It retains six metadata views and 89 plan SQL queries while doing the same 100 resource refreshes and updates as full planning. Unrelated drift selects one edited resource under affected inspection and preserves external drift; full policies reconcile it. Both cross-policy ratios are excluded; full/full is 0.4082 (0.4072–0.4109). Requested affected scopes never fall back. The process is terminal before 15 minutes, with no remaining capture processes. The unchanged harness retains E31's 165 passing tests; docs pass. Artifacts are in specs/graph-state/qualification/2026-11-10-i5-provider-drift/. E31's incomplete batch and the stopped large matrix remain unchanged; broader I5 gates stay open.

E31: four bounded reconciliation workload families measured. Frozen-source run 20261110T061916-fd3d72b7 completes N=100 no-op, replacement, deletion and output-only work, with setup, warm-up and seven matched samples per native full/affected and Terraform adapter. All 108 attempts independently replay; the 28 measured affected requests have no fallback. Affected/full ratios are about 0.94–0.96, with the stated bootstrap intervals below one for these isolated fixtures. Exact physical membership, output values, ready state, zero unresolved operations and saved scope are checked. No resource payload is read for affected no-op/output plans, but six complete metadata views remain.

The batch was stopped after 23 minutes before its 25-minute cap. Three provider-setting setups and one affected warm-up also verify; the next Terraform warm-up is interrupted, and unrelated drift is unstarted. All 112 completed records and the incomplete start are retained, with an unchanged incomplete-run verdict. Frozen/main replay is identical; 165 harness tests and docs pass. The archive is specs/graph-state/qualification/2026-11-10-i5-reconciliation/. The large matrix remains stopped, and provider-setting/drift measurements and the wider I5 gates remain open.

Matched Stategraph configuration histories (E17): run 20261109T182638-c483f08a, source c1b33cec…, passes all 12 cases on native full/affected and hosted CLI/server 3.2.28. Actual HTTP observations and independent service/state reads distinguish saved-plan checks from retained branch intent. All adapters reject an overlapping stale saved plan with no old mutation and preserve disjoint saved plans. A fresh plan from an old checkout instead makes native execution refuse overlapping intent or preserve unrelated newer intent; Stategraph plans and applies the older desired configuration, with both updates visible. There are 988 events, 400 requests and 45 mutations; all 59 targeted tests pass, including 29 damaged-history controls. Exact artifacts, source/verifier identities and reproduction are in the E17 archive. HTTP observations are not provider RPC intervals or database receipts; broader external I1 and I5 gates remain open. Four new synthetic hosted state records remain for UI cleanup after the initial five were removed.

Matched Stategraph dependency histories (E18): run 20261109T185012-8197a790, source a3b4ca66…, adds twelve passing cases with one producer and two consumers. A dictionary lookup keeps existing consumer values stable across a producer-only edit; the old actor changes its consumer to read the producer directly. All adapters preserve saved independent consumer edits sharing an unchanged producer, and refuse a saved consumer after a producer-only commit without an old mutation. Fresh native planning from the retained origin preserves the newer producer and uses its current value; hosted fresh planning visibly restores the older checkout's configuration. All 120 targeted tests pass (61 dependency checks, including 44 damaged histories, plus 59 existing checks). Two unsupported conditional-intent attempts and four corrected preliminary native captures remain archived. See specs/graph-state/histories/conformance/2026-11-09-cli-dependencies/ for exact inputs, HTTP effects, source hashes and reproduction. These are sequential observations; actual provider-call overlap and the remaining external I1/I5 gates stay open. Four more hosted fixture records remain for UI/admin cleanup, bringing the E17/E18 total to eight.

Matched overlapping applies (E19): run 20261109T192116-93650179, source 4cb66114…, passes all six independent/shared-producer cases across native full/affected and hosted CLI/server 3.2.28. Each actor's actual mutation request is attributed through Linux socket ownership and process ancestry; both reach a barrier before forwarding. Both edits survive in independent service/state reads. All 191 tests pass (61 overlap-oracle checks, eight observer checks, 120 existing checks and two provider-runtime policy controls). There are 982 events, 264 HTTP requests, 30 mutations and six overlap witnesses. Eleven preliminary captures remain; seven pass the final checker and four retain observer/setup failures. Different proxy environments correctly broaden native planning evidence, so the final observer uses one common proxy/environment. No production guard was changed. See specs/graph-state/histories/conformance/2026-11-09-cli-overlap/ for sources, raw histories, controls and reproduction. HTTP overlap does not establish internal hosted grants/receipts, complete provider RPC intervals, contended-write safety or throughput. Four more hosted records are ready for UI/admin cleanup (twelve total); local fixture accounts were reset.

Matched contended applies (E20): run 20261109T195441-80f103c5, source ebdcd060…, passes all nine cases across native full/affected and hosted CLI/server 3.2.28. A real holder mutation is held while the contender attempts its saved plan: same-object writers, reader before producer, and producer before reader. Every contender refuses without mutation during the hold, followed by holder completion and matching cloud/state values and SSM versions. The observer would forward and record a conflicting contender request; it never creates exclusion by blocking the contender. There are 1,419 events, 372 HTTP requests and 36 mutations. All 273 tests pass: 72 contention-oracle, 12 real socket/process observer and 189 existing comparison checks. Three preliminary native captures remain separately replayable. A real timeout regression failed before the observer fix; late retries now cannot escape the timed-out hold. Source/artifact hashes and offline reports are in specs/graph-state/histories/conformance/2026-11-09-cli-contention/.

The checker separates valid adverse observations from safety passes, including synthetic concurrent/serialized stale writers with matching final state. Its pending-process path requires a full 20-second monotonic window and live matching process, but no final live case used that path. Native uses explicit zero-wait leases; hosted conflict messages exclude local revision failures. Metadata footprints can intersect in the dependency fixture; internal hosted read/grant receipts remain unobserved. No production change, recovery/liveness or performance claim follows. The latest CLI inventory contains fifteen completed fixture records (twelve earlier plus three E20), with zero other visible states; local accounts reset and all jobs terminal. Remaining external I1 alias/fault/recovery/cache/linked-state and full I5 matrix gates remain open.

Matched physical aliases (E21): run 20261109T200759-477dd190, source 2e7a0701…, adds nine valid observations: six native safety passes and three hosted adverse outcomes. Different logical addresses target one explicit SSM name under the same provider/account/region, with overwrite=true visible in configuration and actual HTTP. Native full/affected refuse an existing owner during planning, a second saved create after the first commits, and a racing create while the first request is held. Hosted 3.2.28 applies both logical addresses in all three schedules, retaining duplicate ownership and one row that disagrees with current cloud values/SSM version. The hosted race sends the contender mutation while the holder's request is held; both applies succeed. This is a qualified physical-ownership difference, not universal product superiority.

There are 753 events, 169 HTTP requests and 21 mutations. All 80 alias-checker and 273 existing comparison/observer/CLI tests pass. Snapshots preserve every logical row; controls reject physical name deduplication and prevent omission of a stale owner from hiding actual alias effects. Three preliminary native captures retain two original classification errors; the final checker recognizes their specific ownership diagnostics and all three replay safely. Exact source/artifact hashes, raw observations, the adverse outcomes and reproduction are in specs/graph-state/histories/conformance/2026-11-09-cli-aliases/. No production change was needed.

The capture does not expose hosted internal grants, independently decode native race footprints, or qualify other versions/types, generated names, separate states, create-only policy, recovery or throughput. The latest CLI inventory contains eighteen completed fixture records and no other visible states; all local accounts reset and jobs terminal. The remaining external fault/expiry, replacement/recovery, cache/opaque and linked-state gates and the full I5 matrix stay open.

Independent namespace controls (E22): run 20261109T202556-026e4c27, source 0723cd90…, passes six cases across native full/affected and hosted CLI/server 3.2.28. Two logical SSM resources use the same explicit name in different resource regions or different provider accounts. Both saved updates reach a real HTTP barrier before forwarding and both survive. Signed request account/region/service projections agree with direct cloud/state ARNs and SSM versions. The observer records no access key/signature/header; unknown credentials fail before forwarding. It reads signing scope rather than independently authenticating signatures. This is isolated FakeCloud evidence, not live-AWS or arbitrary-provider qualification.

There are 994 events, 266 requests, 30 mutations and six HTTP overlap witnesses. All 69 checker and 364 observer/regression checks pass (433 total). Controls reject equal names collapsed into one object, forged/missing namespace evidence, altered HCL, missing process ownership, stale/lost state and serialized requests. Three preliminary attempts retain two passes and an account seed failure from an unsupported constructor argument; the supported provider-settings alias API fixes the fixture. No production behavior changed. Source/artifact hashes, raw captures and reproduction are in specs/graph-state/histories/conformance/2026-11-09-cli-namespaces/.

E21/E22 jointly distinguish duplicate owners from independent tested namespaces; E21's hosted adverse outcomes are unchanged. Other providers/versions/partitions, generated identities, cross-state behavior and recovery remain outside these controls. The latest CLI inventory has twenty completed fixture records, with no unrelated visible states. Primary and secondary local accounts reset and all jobs terminal. External fault/expiry/replacement/recovery/cache/linked-state gates and the complete I5 matrix remain open.

Latest transport result (2026-11-09): the zero/10 ms directional profiles now pass 54 attempts, seven measured samples per adapter/profile, on frozen 417b8f20 / source 13db5afe…. All 58 artifacts were imported and hash-checked; the main reporter reproduces both frozen reports exactly. At zero delay, full/affected/Terraform medians are 3.1962/3.0985/7.7709 s; delayed they are 12.2183/14.6302/8.4181 s. Affected/full changes from 0.9704 (95% interval 0.9581–0.9709) to 1.1910 (1.1875–1.1967), with affected slower in every delayed pair. Both native policies are also slower than Terraform in every delayed pair. Extra SQL queries and complete metadata work remain despite selected payload savings; setup/reset costs are separately retained, including 148.26–149.69 s delayed native setup. specs/graph-state/qualification/2026-11-09-i5-transport/ contains exact commands, source/environment, calibration, counters and limitations. Profiles ran sequentially; only within-profile paired intervals are claimed. No WAN, p95, regression-history or Stategraph guarantee follows, and the wider I5 matrix remains open.

Stale-branch harness: 20261109T171626-b73144b0 passes all 18 N=8 isolated/diamond attempts on source 3cbe9009…. The public adapters publish an independent edit, then plan/saved-apply a different edit from the original configuration; native execution retains the original pin.

Observed native full/affected outcomes preserve both edits and their propagated descendants; Terraform full reconciles the independent component to the stale configuration. All requested native scopes are retained. Construction witnesses, three service/state observations and original baselines are checked independently. The reporter refuses all native/Terraform speed ratios for this workload. Forty-five new controls pass within 149 harness tests; 21 artifacts and six source hashes are bound in specs/graph-state/qualification/2026-11-09-i5-branch/. One measured sample per cell qualifies this capability smoke only. Sequential publications do not substitute for I1 contention/conflict evidence or a Stategraph comparison. Repeated branch costs: 20261109T172334-b5602534 passes all 108 N=100 attempts across isolated/chain/fork/diamond on frozen 0aad8c08…, source 3cbe9009…. All 110 artifacts are hash-checked and the main reporter reproduces the frozen report exactly. Seven measured samples per adapter retain native preservation and Terraform reconciliation; all eight cross-contract comparisons omit speed ratios. Native affected/full ratios are 0.9577, 1.0053, 1.0094 and 0.9072 respectively; the chain interval includes parity and fork's interval is above one. Full numbers, source/environment and separate preparation/reset costs are in the E14 qualification archive. This closes the stated N=100 repeated branch cell, not the wider I5 matrix, p95 or regression gate.

Planning-work observer: E15 qualifies optional --planning-work-metrics on source 0d019b23…, run 20261109T175856-f5df45e7: all 189 targeted tests and 18 N=8 isolated/diamond provider attempts pass. The independent checker reconstructs actual closure callbacks, selector roles/waves and payload-batch reuse; 21 artifacts/seven source hashes are bound. One round reads one/four originals in affected isolated/diamond planning. Full planning and saved apply invoke no affected closure, which is not a zero-work claim. Batch reuse is not a consumer-cache hit; SQL scans/edge loops remain unavailable. Observer overhead is included in a distinct profile, and one sample/cell is not cost qualification. Four historical branch/transport reports reproduce byte for byte. Larger work profiles and the wider I5 matrix remain open.

I5's first matched capture is 20261108T184637-abc5ac18 in tests/performance/results/graph_end_to_end.jsonl, with immutable compressed observations beneath tests/performance/results/graph_end_to_end/. The offline report rechecks fixture membership, values, state, outputs, command outcomes and raw hashes rather than trusting stored pass labels. Its 100-resource, one-update case passed one warm-up and seven measured pairs: median full-refresh plan plus saved apply was 2.8866 s for Netherframe's Python API worker and 7.5563 s for Terraform CLI. The paired median ratio was 0.3813, with a seeded bootstrap interval of 0.3802–0.3843. This is a preliminary interface-specific FakeCloud result, not a planner-only, real-AWS or Stategraph claim. Both use the same AWS 6.66.0 executable and PostgreSQL server. Startup/output and engine-specific schema-cache behavior are part of the documented interface profile. Seven repetitions do not establish tail latency; this host has no prior matching captures for a regression verdict.

Structural observations establish the I2 starting point: the 100-resource plan loads 100 resource versions (336,550 serialized entry bytes), makes 100 refresh and 100 planning RPCs, and produces a 1,075,507-byte saved artifact despite one planned write. The larger capture's first 1,000-resource sample loads 1,000 versions (3,370,450 bytes), makes 1,000 of each RPC, and writes a 10,553,410-byte artifact. These are measured materialized-entry bytes, not total database/network traffic. The actual grant for either one-resource patch has 21 keys. Affected execution was not enabled in this frozen benchmark baseline.

Capture 20261108T185550-2ce942df completed seven successful pairs at 1,000 resources: median plan plus saved apply was 6.4169 s for Netherframe and 9.7388 s for Terraform, with a paired median ratio of 0.6581 (bootstrap interval 0.6558–0.6636). Seven successful Terraform samples at 10,000 resources had a median of 45.4377 s; they have no matched native result in that capture. Its initial Netherframe 10,000-resource setup was explicitly interrupted after 546.82 s while creating the initial estate under a large resource grant. The raw failed setup and setup-interruption.json retain this event. It is not a timeout or a failed measured patch. Capture 20261108T194236-20e61a9b completed from an isolated, frozen checkout at 27766944804fea7d3f273a7b23a11e8106778b7f, source digest 5fae35b0724e7cca1cbdba41826a9ae3ec5f39a48693e2a6e11608b8e7bfd952. It initializes the fixture with ordinary app-wide admission and keeps resource grants for normalization, resets and measured patches. Runtime import checks ensure editable packages resolve to that checkout. Native initialization and normalization passed in 1,896.18 s (31.6 minutes); this substantial setup cost is retained separately from measured plan/apply latency. Both setups, both warm-ups and all fourteen measured samples passed correctness checks (18 passed). The native median is 60.0972 s, Terraform's is 43.2193 s; the paired median ratio is 1.3918 (seeded bootstrap 95% interval 1.3564–1.4240). Native full planning is slower in every pair. Source edits in the active workspace are not part of this result. The imported capture has 38 JSONL records and 18 immutable compressed raw files, all verified by hash. The aggregate report has seven distributions, three matched comparisons, one retained failed initialization and no incomplete runs or attempts. Its nonzero exit reflects that historical interruption. Report the different setup profile; never erase the interrupted attempt to improve the headline. Seven pairs do not establish stable tail latency, and there is no earlier matching capture for a regression verdict.

The shared fixture and offline-report suite passed 31 tests, including corrupted observations, wrong final values, interrupted attempts and false pass labels. Functional smoke runs cover isolated/chain/fork/diamond/fanout graphs and no-op/update/replace/delete/output/provider-settings/ unrelated-drift modes; development smoke runs are not published timing comparisons. Broader contention, transport/failure costs, scope variants and the external Stategraph adapter remain open.

E23: accepted response loss and recovery

Two matched schedules now cover an accepted SSM update and an accepted explicit-name create whose successful HTTP response never reaches the provider. All six native full/affected and hosted Stategraph 3.2.28 captures pass: 851 events, 181 HTTP requests and 15 mutations. Both plans are saved first. The observer holds the actual successful service response, verifies live owned caller/provider PID birth identities and an isolated process group, kills that group, and witnesses termination. Direct service reads prove acceptance while state remains unchanged.

Native waits for real lease expiry (TTL 2 s, renewal 0.25 s), retains the exact dispatched operation and identity/value exclusion footprint, and refuses the contender without a mutating request. Explicit recovery probes that operation, records the object as unconverged, and a fresh plan/apply makes it ready. Hosted keeps the abandoned transaction committing and also refuses the contender. After witnessed termination, abort of that exact saved-plan transaction permits supported repair: a fresh plan/apply refreshes the update; an explicit import block adopts the orphaned create. Abort itself does not repair state. All final target versions remain 2 (update) or 1 (create), with no repeated provider mutation. Native identity-based discovery and hosted explicit import are distinct recovery workflows with the same observed exclusion/no-replay result in these cases.

Independent replay checks effects, process death, saved inputs, scope/baselines, exact operation or transaction association and service/state convergence. All 132 checker controls and 438 observer/regression/CLI checks pass, including synthetic repeated effects that cannot pass merely because final state matches service. Six preliminary histories retain one optional-field reader failure and five valid observations. Source 204f296e…, raw captures and hashes: specs/graph-state/histories/conformance/2026-11-09-cli-loss/.

This is one-state, explicit-name AWS 6.66.0 SSM/FakeCloud evidence with confirmed local termination, not exactly-once cloud execution. Live old-provider/late-response, abort/expiry while in flight, replacement-gap, interrupted recovery, database-outage, cached/opaque and linked-state comparisons remain open, as does the full I5 matrix. E21's hosted alias adverse outcomes are unchanged. The new read-only inventory contains 25 completed owned fixtures, no unrelated states; all jobs are terminal and local accounts reset. Old cleanup records were not reused.

Linked comparison harness verification

Harness follow-up. Linked-state boundary tests now pass (138 with the single-state CLI controls); shared observer/conformance and branch benchmark tests pass 1,170. The latter exposed a filename collision: the I5 benchmark helper had replaced the I1 branch-origin oracle. The original oracle is restored under graph_branch_origin_evidence.py, preserving both sets of assertions. An exploratory two-state hosted probe seeds both objects and observes automatic and explicit linked plans, but refuses both applies at the expected-writer check. Post-abort API receipts report the producer UUID alone despite both planned objects; the earlier refusal did not retain its exact response. No linked safety gate is promoted. The protocol and artifacts under stategraph-linked-state-interface/ record the remaining membership/plan binding limits and two new owned states (40 total). Both transactions are aborted and the local account is reset.

The second bounded probe 20261110T043630 retains original saved files and exact JSON/text show output. The text legend explicitly binds indexes to names; a separate inventory check resolves UUIDs. The new independent projector checks that association, physical objects and complete planned resource/output changes. It replays both originals and passes 192 combined projection/boundary tests, including swapped UUID and damaged-artifact controls. Both linked applies still stop before dispatch; a previewed API response now directly witnesses the narrower producer-only field. Composite projection/dispatch integration and the three live safety schedules remain open. Both plans are aborted, the local account is reset, and 42 hosted states are present. The full large benchmark remains stopped.

E27: linked discovery now observed. Run 20261110T050634-761d46f7 completes automatic producer-initiated planning/apply and explicit tf mtx/apply across two hosted states, each with an unchanged control. Consumer HCL remains unchanged. Eight accepted mutations, 47 HTTP requests and 206 events witness the seed creates and two linked update pairs. Producer acceptance precedes each consumer request; full exports, outputs and independent service versions agree. Both transactions report committed, both controls remain at version 1 and the local account is reset. The original inline verifier rejected a Python tuple/list representation after execution completed; its capture, diagnostic and exit 1 are preserved. Explicit JSON replay passes every invariant under the corrected verifier, with 247 combined tests including 33 damaged discovery controls. Two preliminary capture failures remain archived. That capture observed 48 states, including six from these attempts. See the discovery archive for hashes, sources, reproduction and cleanup IDs. This establishes hosted discovery capability, not native production cross-state parity, atomic publication, complete read membership, conflict safety, fault recovery or throughput. The three linked adversarial schedules remain open; the full large benchmark stays stopped.

E28: linked writer conflict observed. Run 20261110T052818-45276f6a saves two explicit multi-state plans from one seeded origin, then holds the winner's producer HTTP request before service forwarding. The contender completes guarded preflight and launches actual tf apply; it exits with a transaction conflict and no provider mutations during the hold. After release, the winner updates producer and consumer in order. Both controls remain version 1, item versions become 2, full state/service/output observations agree, and the transaction statuses are committed/aborted. The capture retains 188 events, 39 requests and six accepted mutations. The original capture exits 0 with unchanged sources; stricter independent replay agrees. All 418 targeted tests pass, including 40 damaged histories, coherent unsafe-effects controls and bounded live-process oracle controls. Original and current sources, raw capture, replay, JUnit, docs build and cleanup inventory are archived under stategraph-linked-state-interface/contention/. The read-only inventory now contains 50 states, including the two new completed owned fixtures; the local account is reset. This closes one hosted overlapping-writers case. Changed-producer/ stale-consumer and partial-failure/recovery remain open, as do complete read membership, atomic multi-state publication and matched native production parity. The large benchmark remains stopped.

E29: linked stale-consumer refusal observed. Run 20261110T054504-3e568085 first saves an explicit consumer-only plan for c1|p0. Its producer row and output are no-ops, qualified by the preceding plan-only probe 20261110T054015-fb83d012; that probe applied nothing and confirmed its unused transaction aborted. No state-binding rule was weakened. A separate producer-initiated automatic linked apply publishes p1 and c0|p1, with full exports/service observations before the original consumer plan is attempted. Actual saved tf apply refuses with a transaction conflict and no provider mutations. Both controls remain version 1; items are version 2, final values agree, and statuses are committed/aborted. The capture exits 0 with unchanged sources and retains 182 events, 39 HTTP requests and six accepted mutations. All 473 targeted tests pass, including 40 damaged histories, five re-signed plan controls, and coherent stale-input/unreviewed-value effects despite matching final state/service. The raw capture, source archive, independent replay, JUnit, docs build and four owned-state cleanup records are archived under stategraph-linked-state-interface/. Read-only inventory now observes 54 states; both local accounts are reset. Linked partial-failure/fresh recovery remains open, along with complete membership, atomic publication and native production parity. The large benchmark remains stopped; E17–E25 matched capture counts are unchanged.

E30: linked failure/recovery executed with an adverse partial-state result. Run 20261110T055839-a8488022 accepts producer p1 at version 2, then injects a permanent AccessDenied consumer error before service forwarding. The actual provider reports that error; its caller and both mutating providers terminate before the partial snapshot and fresh recovery. The producer export/output accurately preserve the completed change. The failed consumer export contains planned c0|p1 at version 1 while the service retains c0|p0 at version 1. The transaction reports failed-committed. A fresh plan observes the actual old consumer value, and its new apply updates only that consumer to version 2. Final values agree, controls remain version 1 and no producer recovery mutation occurs. Recovery reports committed; its mutating processes also exit. The original capture exits 0 with a false safety verdict, 193 events, 40 requests, one denial and six accepted effects. Localized independent replay preserves the adverse conclusion. All 571 targeted tests pass, including 54 damaged histories, coherent positive/duplicate/wrong-value recovery controls and 12 fault-policy tests. Source archives, raw/replay verdicts, JUnit, docs and cleanup inventory are under stategraph-linked-state-interface/partial-failure/. Read-only inventory observes 56 states, including two new completed fixtures; the local account is reset. All four named linked schedules now have bounded observations, with this partial-state criterion adverse. The provider/Terraform/Stategraph layer responsible and internal readiness are unassigned. The broader I1 matrix and five-initiative completion audit remain open; native production is single-state, and the full I5 large benchmark stays stopped.

E26: runtime-matched cohorts and large-estate capture preparation

Interruption and runtime fix. The large capture was stopped after 57 successful attempts (nine setups, six warm-ups and 42 measured samples) when the user requested immediate diagnosis. The exact raw artifacts, interrupted warm-up and incomplete report are imported and hashed under the E26 qualification directory. The matrix remains stopped. The 10,000-resource chain's normalization spent 1,605.79 seconds on 10,000 state commits without a provider apply call. Repeated full-grant transfers and SQL mapping checks inside publication caused quadratic work. Targeted footprint reads plus schema 33's SQL-validated grant certificates reduce the N=1,000 diagnostic from 33.96 to 20.35 seconds, with all 1,000 commits and correctness checks retained. Both mutation fences still read current expiry and grant validity. SQL lease edits invalidate certificates transactionally; positive certificates require exact revalidation. Missing rows, changed modes/owners/keys, truncate, forgery, rollback, lock waits and upgrade controls pass. The backend/admission/completion suite passes 528 tests, two skipped. The single N=10,000 diagnostic passes within its 20-minute total cap: 438.42 seconds seeding and 350.90 seconds normalization, with 10,000 commits, zero provider apply calls and correct state/service results. That is about 78% less normalization time than the interrupted capture's setup. These are single observations with different capture methods, not a repeated timing cell or uncertainty estimate. The results and source hashes are archived in the E26 normalization/ directory. The full matrix remains stopped; wider I5 work remains open.

The end-to-end reporter now separates regression histories by Python version, platform, CPU count and PostgreSQL image identity, in addition to the existing host, provider, database version, Terraform and semantic settings. A capture missing any of those four environment facts cannot contribute to a regression baseline: repeated unknown environments do not establish a match. Source revisions remain free to differ, because that is what an internal regression comparison needs to test. The existing prior-five/15% rule still needs at least three matching earlier captures.

All 136 benchmark tests pass, including changed and missing environment controls. A fresh frozen-source smoke passes 36 attempts across isolated, chain, fork and diamond components, three adapters, N=8 and one edited root. Every setup and final state/service observation is checked again offline; full/affected native imports are bound to the frozen checkout. Warm-up plus one sample verifies the harness, not a measured performance cell or a speed claim.

The frozen checkout is /home/chronos/cart/nf-i5-large-series, revision 7ebc36364d5a21beab5ea0f43d74ebd06676b5dd, source SHA-256 acae9ed8956ae8d414ebcf2f0befc6648c944d33b6f2c4d6af94468cacae73de. The smoke recorded revision 499996d588d2595bed97647dab6fb6165592f083 with the same source content. The measured checkout is an independent duplicate of that source, isolated from main history rewrites. Smoke run 20261109T215124-4c48dc31 and reproduction details are retained in specs/graph-state/qualification/2026-11-09-i5-large/. The next capture command covers all eight N=10,000 cells: four topologies × one/ten edited roots, native full/affected and Terraform, one warm-up and seven measured repetitions. This entails 24 setup attempts and 192 sample attempts, including warm-ups. The dependent fixtures propagate root edits to four/forty resource changes; they are repeated four-node components, not estate-length chains or the separate fanout matrix.

Those cells remain unmeasured on this source until every intended attempt is terminal, raw histories are imported and independently checked, and the frozen/main reports agree. Preserve setup, reset, failed and interrupted costs; do not replace failed attempts with successful retries without keeping both. Do not pool these future samples with older source cohorts or infer a Stategraph comparison from the plain Terraform baseline. Other sizes, reconciliation workloads, fanout, writer contention, failures and the broader scoped-planning cost obligations remain open.

E25: replacement deletion/create interruption

Replacement deletion/create interruption (E25). Two further matched schedules now interrupt an explicit-name SSM replacement after its old object has been deleted: either hold the successful DeleteParameter response before delivery, or deliver that response and hold the successor PutParameter before forwarding. Direct service reads prove that both old and new objects are absent at the gap. The observer kills only the actual apply's isolated process group, with PID birth, socket ancestry and caller/provider death witnesses. Both competing plans were saved before the fault; the contender attempts the same logical replacement after termination.

All six final full/affected/hosted histories pass: 941 events, 211 HTTP requests, 24 accepted mutations, and 3 additional successor requests that never reach the service. Each history contains two seed creates, one old-object delete and one final successor create. Every contender refuses without a mutation; final state and service agree, the old name is absent, and both the control and successor have version 1. This is observed parity for these specific interruption/recovery workflows, not an additional superiority result.

Native uses real lease expiry and retains the exact replacement operation and the old/new physical identity, logical value and membership footprints. At response loss it remains delete_dispatched with the old row; at the held successor request it is create_dispatched with a published deletion tombstone. The latter is an HTTP boundary inside an already-dispatched provider RPC, not an exact observation of delete_committed before create dispatch. Confirmed-termination recovery commits the completed deletion or the create-with-no-object outcome. A fresh retained baseline and ordinary plan/apply create the successor once, with no repeated delete.

Hosted 3.2.28 keeps the exact saved transaction committing and rejects the contender. Exported state still shows the old row at both interruption points. Only after witnessed termination does recovery abort that owned transaction. Fresh plan refreshes the missing old object and contains only a successor create; apply converges without import or repeating the delete. No transaction abort is treated as evidence that a provider stopped.

The independent checker validates complete accepted service history, the one deliberately unforwarded request, actual configuration and immutable plans, death-before-recovery order, physical key/namespace binding, tombstone/frontier transitions and final values/versions. Its 188 replay/damage controls pass, including an adverse synthetic repeated-successor write that still leaves state and service equal. Another 727 observer/regression/CLI tests pass, including six real process/socket controls. Ten preliminary captures are retained: nine replay under the final checker; one seed capture failed closed on missing unique socket attribution. Three of the nine originally failed the new checker's incorrect plain-JSON identity hash; the corrected checker uses the typed identity encoding. Original raw failures and the earlier checker/report remain archived. No production behavior changed.

Source fca0206d…, exact build and artifact hashes, replay report and cleanup records: specs/graph-state/histories/conformance/2026-11-09-cli-replacement/. All commands are terminal, old caller/provider processes are gone and local accounts reset. The read-only inventory contains 38 completed owned fixtures and no unrelated visible states. This qualifies AWS 6.66.0 SSM, FakeCloud, one state and a same-logical-resource contender. It does not independently qualify a different logical alias competing for either name during the gap, create-before-destroy, generated names, arbitrary retries, interrupted recovery, database outages, linked-state behavior or exactly-once effects. E21/E24 adverse outcomes remain unchanged; broader I1 comparisons and the full I5 benchmark matrix remain open.

E24: paused caller and live provider

Paused caller with a live provider (E24). Two explicit-name SSM schedules now exercise an old provider call still capable of taking effect after its caller stops progressing. Six valid native full/affected and hosted 3.2.28 histories contain 962 events, 198 HTTP requests and 17 mutations: four native safety passes and two hosted adverse outcomes. Both plans are saved first; the observer holds the left provider's actual mutation before forwarding. Only its caller receives SIGSTOP. PID birth, ancestry, process-group and kernel-state observations prove that caller stays stopped and its distinct provider stays alive through the intervention, the contender attempt and the old request's eventual successful service response.

Native waits for real lease expiry (TTL 2 s, renewal 0.25 s). Early recovery, without a termination override, quarantines the exact dispatched operation. Its recorded identity/value footprint remains; the contender refuses without a mutation. After the late service effect and caller resumption, the old apply fails, its publication frontier and rows stay unchanged, and explicit recovery then records the object. Fresh plan/apply converges without repeating the mutation. Default provider termination on detected lease loss remains enabled; pausing the caller prevents its watchdog from running until it resumes.

Hosted deliberately aborts the exact saved-plan transaction while its local caller is stopped and provider alive. The server records aborted; the competing saved apply succeeds. Releasing the old request then overwrites the contender's value. The old CLI ultimately reports failure, but its late value also becomes visible in exported state while its transaction remains aborted. Final state and service agree, with version 3 for update or 2 for create; that agreement does not preserve the successful contender's edit. The checker retains these as valid adverse observations, not passes.

These are different control operations: native lease expiry plus early recovery versus explicit hosted transaction abort, not a claim that Stategraph spontaneously drops an active lock or promises abort will terminate a provider. E23's safe recovery after confirmed termination remains valid. E24 demonstrates a stronger observed native unresolved-call exclusion property in the named profile; it does not establish universal product superiority. SSM overwrite=true, AWS 6.66.0, FakeCloud, one state and a local SIGSTOP fault bound the result. Further accepted-response delay/abort interleavings, replacement gaps, interrupted recovery, database outages, cached/opaque and linked-state comparisons and the full I5 matrix remain.

All 146 checker tests and 577 observer/regression/CLI tests pass. Fourteen preliminary histories retain six observation failures and eight valid observations. The native observer waits for one second of HTTP quiet with the caller still stopped before resuming it; this prevents a native shutdown race in socket attribution, and is explicitly not proof of complete provider RPC return. Source 04c359fe…, exact hashes, raw histories and independent replay: specs/graph-state/histories/conformance/2026-11-09-cli-live/. All commands are terminal, stopped callers resumed and local accounts reset; the latest read-only inventory has 32 owned fixture states and no unrelated visible states, ready for UI/admin cleanup.

I5 affected-runner and telemetry checkpoint (2026-11-09)

The end-to-end runner now accepts --native-scopes full affected, constructs independent equivalent accounts for both policies, and uses the public saved-plan loader for formats 17/18. Both engines receive explicit static provider settings and /dev/null shared files. This is a new settings cohort, separate from the frozen full-only baseline above. No production behavior or qualification was widened to make these benchmarks pass.

Version-2 captures retain requested and actual scope, planning fallback separately from grant fallback, complete manifest and artifact section bytes, actual provider-stub RPC counts, selected closure and SQL payload-column counts. Complete snapshot requests are distinguished from selective validation views. Repeated complete summary/origin/edge reads are counted explicitly. SQL payload counts cover entry/value JSON plus private bytes returned by fetch/fetchrow; receipts, requests, other column names and wire overhead remain excluded. These counters are instrumentation observations, not independently reconstructed server traces. Artifact categories are compact JSON measurements, not an additive partition of the saved file. Timing includes instrumentation and byte-category encoding overhead.

Corrected smoke capture 20261109T093536-ee1a8b82 has 27 verified setup/sample attempts: four resources, one warm-up and one measured sample for each of three adapters across update, unrelated drift and provider-settings changes. Raw captures and the offline report are in tests/performance/results/graph_end_to_end_scoped_smoke.jsonl and graph_end_to_end_scoped_smoke_report.json. All three affected requests remain affected; the provider-settings change selects the whole fixture. It is not a live fallback capture. The unrelated-drift case retains the uninspected service change only in affected mode, so its full/affected comparisons deliberately contain no speed ratio. The smoke is below the repetition gate and supplies no steady-state timing claim.

The initial smoke (20261109T093040-fd6533fd) remains in graph_end_to_end_scoped_smoke_initial.jsonl, with immutable raw observations and an errata README. Its service/state assertions passed, but output counting exhausted an asyncpg key iterator, and selective snapshot assembly was mislabeled as a complete read. Both counters are corrected. The current offline validator rejects the initial telemetry, and a regression test reproduces the real capture's zero-output-count defect. Do not include it in measurements.

The fixture/metric/report suite passes 64 tests, including missing counters, false pass labels, incomplete manifests, saved-scope substitution, fabricated/hidden fallback, mixed-scope aggregation, drift-policy differences, interrupted attempts and the original telemetry defect. The wider workload/size/contention/transport/failure matrix and repeated regression history remain open. Stategraph comparisons stay intentionally unverified.

I5 first measured full/affected comparison (2026-11-09)

Capture 20261109T093952-c33fbde3 in graph_end_to_end_scoped.jsonl uses the corrected runner and source SHA-256 d66c412bdd030d548b8a97ca3e5e1669c74f2c7095f522a1a8ebbd166b76f6cf. The source hash was checked unchanged after completion. AWS 6.66.0 uses the identical executable hash for all three adapters, PostgreSQL is 16.15, Terraform is 1.15.9, Python is 3.15.2, and FakeCloud is 0.51.0 on the recorded shared host. No CPU checks or other benchmark ran alongside the capture. The original frozen full-only checkout was not changed.

All three setups, three warm-ups and 21 measured samples pass service/state verification. The report graph_end_to_end_scoped_report.json has three distributions, three paired comparisons, no failures and no incomplete attempts. One isolated description changes among 100 resources, with a 1 KiB value payload per resource. Plan plus saved apply medians:

Interface and actual inspection scope Median seconds Seven measured samples
Netherframe Python API, full 3.0217 7/7 verified
Netherframe Python API, affected 2.8456 7/7 verified; no fallback
Terraform CLI, full 7.4856 7/7 verified

The affected/full native paired median ratio is 0.9428, bootstrap 95% interval 0.9419–0.9504. Affected/Terraform is 0.3802 (0.3767–0.3819) and native-full/Terraform is 0.4039 (0.4000–0.4057). These ratios compare the documented Python API/CLI interfaces on stable cloud state; affected planning has different drift coverage. Seven repetitions support only a preliminary comparison, not stable tail latency. All regression verdicts are insufficient-history; the changed provider-settings cohort is not pooled with the old baseline.

The structural measurements are consistent across all seven repetitions:

Metric Native full Native affected
Managed refresh / planning RPCs during plan 100 / 100 1 / 1
Resource payload rows fetched, plan / saved apply 100 / 110 2 / 12
Complete snapshots requested, plan / saved apply 1 / 1 0 / 0
Body SQL queries, plan / saved apply 37 / 156 90 / 185
Planning metadata views, plan / saved apply 0 / 0 6 / 2
Summary rows through those views, plan / saved apply Not used 606 / 202
Origin entries through those views, plan / saved apply Not used 606 / 202
Complete manifest entries / compact bytes 101 / 29,855 101 / 29,855
Compact payloads/nodes bytes 658,150–658,152 19,816–19,823
Compact graph-proof bytes 10,155–10,159 119,396–119,403
Compact total artifact bytes 700,943–700,950 170,401–170,416
Actual saved file bytes 1,120,727–1,120,734 170,402–170,417

Full-mode metadata is carried in its complete snapshots, so zero planning-view counters do not mean it reads no metadata. Artifact sections are not additive, and full versus affected files use different indentation. Repeated payload fetches and private bytes count again; total network traffic remains unmeasured. Affected mode also makes two ReadDataSource RPCs versus one for full mode. These results expose the complete-manifest/view overhead alongside selected-resource savings; they do not establish O(k) total planning. N=1,000/10,000 affected runs, other topology/workload families, real fallback cost, contention, latency/failure costs and repeated regression evidence remain open. Stategraph remains unverified by user decision.

I5 larger-estate checkpoint (2026-11-09)

Capture 20261109T095052-3f61abc0 extends the same corrected source/settings cohort to N=1,000, one isolated update and a 1 KiB value payload. Source SHA-256 remains d66c412bdd030d548b8a97ca3e5e1669c74f2c7095f522a1a8ebbd166b76f6cf, checked unchanged after completion. No CPU checks or other benchmarks ran during the capture. All three setups, three warm-ups and 21 measured samples pass independent service/state verification. The combined scoped report now has six distributions and six comparisons, with no failed or incomplete attempts. Native fixture initialization/normalization took 62.35 s and 63.78 s for the two separate accounts; Terraform took 19.36 s. Setup remains outside measured latency.

Actual scope / interface Median plan plus saved apply Paired ratio to native full / 95% bootstrap interval
Netherframe full 6.7940 s Reference
Netherframe affected 4.8443 s 0.7123 / 0.7069–0.7172
Terraform full 9.6649 s Separate CLI interface

Native full/Terraform is 0.7030 (0.6984–0.7058), and affected/Terraform is 0.4989 (0.4986–0.5021). These remain preliminary stable-cloud observations under the named inspection policies and interfaces, not equal drift coverage, stable p95 latency or a live-AWS speed claim. All regression verdicts remain insufficient-history.

Full planning fetches 1,000 resource payload rows, with 1,000 managed refreshes and 1,000 planning RPCs. Affected planning retains two payload fetches and one of each managed RPC, but its six metadata views load 6,006 summaries and 6,006 origin entries. Saved affected apply loads another 2,002 of each through two views. Full/affected SQL body-query counts remain 37/90 for planning and 156/185 for apply; complete snapshot counts remain 1/0 in each phase. Both manifests contain 1,001 entries and occupy 291,755 compact bytes.

Compact artifact category Full bytes Affected bytes
Payloads and nodes 6,509,950–6,509,952 19,816–19,823
Graph proofs 65,057–65,061 1,132,900–1,132,907
Total 6,869,546–6,869,553 1,445,806–1,445,820
Actual saved file (different indentation) 10,981,130–10,981,137 1,445,807–1,445,821

The unchanged selected payload/RPC count coexists with larger manifests, proofs and elapsed time. This is evidence for selected-resource savings and against an O(k) total-cost claim. Raw data, commands, hashes and environment are in the scoped JSONL/report and the run directory's README. The 10,000-resource affected capture and broader workload/transport/contention/failure gates remain open; live Stategraph comparisons remain unverified.

I5 completed 10,000-resource scoped capture (2026-11-09)

Capture 20261109T101440-56588cdc finished with three verified setups, three warm-ups and all 21 measured samples passing. The frozen reporter rechecked its raw observations; all 27 raw hashes were verified before and after import. The source hash remains d66c412bdd030d548b8a97ca3e5e1669c74f2c7095f522a1a8ebbd166b76f6cf, matching the smaller scoped runs. The main reporter rechecked the combined corpus: nine distributions, nine paired comparisons, zero failures and zero incomplete runs/attempts. No tests or other CPU/database checks ran concurrently with the capture.

Actual scope / interface Median plan plus saved apply Seven measured samples
Netherframe full 70.0595 s 7/7 verified
Netherframe affected 26.8948 s 7/7 verified; no fallback
Terraform full 42.0960 s 7/7 verified

Paired ratios: affected/full 0.3841 (bootstrap 95% interval 0.3839–0.3866), affected/Terraform 0.6385 (0.6356–0.6416), full/Terraform 1.6593 (1.6558–1.6626). Full native planning is slower in every pair. These preliminary results describe stable cloud state under different inspection policies; they do not establish equal drift coverage, stable p95 latency or a universal speedup. Regression history is still insufficient.

Affected plan/apply load 2/12 resource payload rows versus 10,000/10,010 full, with 1/1 managed refresh/planning RPCs versus 10,000/10,000. Affected still loads 60,006 summaries and 60,006 origin entries in planning, and 20,002 of each during saved apply. Its manifest contains 10,001 entries and 2,919,755 compact bytes. Payloads/nodes remain 19,816–19,823 bytes, while graph proofs grow to 11,294,904–11,294,911 bytes; total compact artifacts are 14,235,808–14,235,824 bytes affected versus 68,663,549–68,663,556 full. Actual saved files use different indentation. These separate costs rule out an O(k) total-planning claim.

Body SQL counts are 42/156 full and 90/185 affected in plan/apply. Each full planning sample includes one successful renewal; none fail. Native initialization/normalization costs 1,840.41 s full and 1,838.86 s affected versus 182.40 s Terraform. Two public baseline applies reset every measured sample, costing roughly 128–130 s native and 79 s Terraform, outside measured latency. The run's README records the source/environment, complete metric limits and reproduction commands. The broader topology/workload/contention/transport/failure gates remain open; live Stategraph comparisons remain intentionally unverified.

I1 expiry and retention checkpoint (2026-11-09)

Four new native captures pass in 11.01 seconds, crossing create/update with full/affected planning. Both affected cases execute affected plans without fallback. The independent oracle replays four passes from specs/graph-state/histories/conformance/2026-11-09-i1-lifetime/; two Stategraph scenario labels remain not run. Source digest: b6b681d74ab783c63aa8631e143ec1d311007863532091725515d3bf9c503e40.

An actual SSM mutation succeeds while delivery of its provider response is paused. The fixture expires ownership and ages the unresolved operation ten days using injected database timestamps, then runs public retention preview/pruning with a one-day cutoff. The operation remains held. A separate backend client with no actor plan, execution cache or local journal refuses app-X and entry-X grants. A fresh engine's positive admission timeout cancels only its waiting ticket. Recovery quarantines the live caller; expired ownership cannot publish the late result, and journal recovery publishes it without another mutation. The archive contains 80 frames, six calls/operations, twelve admission probes and eight publications including setup; no calls remain unresolved. No production runtime changed for this gate.

The follow-up 2026-11-09-i1-lifetime-cache/ archive passes eight native tests in 16.93 seconds on source 40b7535334d211df8a301301418d0cc545cd07d31d130e88d7829a5d5dca7e0a. It recaptures the four cases above and adds four cases deleting a real provider-populated observations row while the response is paused. A separate backend client confirms deletion; app/entry admission, timed waiting, quarantine and eventual journal recovery preserve the same invariants. These cache cases explicitly fall back from affected to full planning. The archive replays eight passes and rejects sixteen mutations which remove unresolved holds or grant conflicting requests; four Stategraph labels remain not run. It records 172 frames, twelve calls/operations, 24 admission probes and sixteen publications including setup. No calls remain unresolved. The current case/type ledger counts 52 distinct SSM scope/scenario slots; it does not add the superseded four-case archive again.

This is injected timestamp aging and cache deletion, not ten elapsed days, proof of provider termination or an automatic garbage collector. There is no separate reservation-expiry timer. The concrete persisted-cache gate is now exercised. Durable request/receipt/plan proofs and recovery journals remain intact; the cache represents an external read with no managed-state dependency. Pruning deletes no terminal evidence in these captures; shared history tests cover eligible terminal deletion. No production runtime changed for either lifetime slice.

I1/I3 verified independent named-object observations (2026-11-09)

specs/graph-state/histories/conformance/2026-11-09-i1-named/ retains sixteen native captures and independent replay results, JUnit test IDs and a verification manifest. All 16 native tests pass in 56.00 s on source SHA-256 b970c73d0e6d98256114189b0386adc73000796d55e7932f571404d3a47502de, revision e11fc0fc7ee144408d02820e08602896f405df6c. There are nine log-group and seven secret cases: existing/new aliases, explicit/generated lost creates and replacement gaps, returned-result recovery retry, plus explicit/generated interrupted log retention. Live Stategraph remains explicitly not run. This closes the independent per-type families within the declared profile.

The observer uses actual gRPC exchanges, pre-forward mutating AWS HTTP requests, authenticated fixture namespaces, direct exact-name absence/service reads and public durable history. It does not derive expected exclusion from production locators or lease expansion. Optional versioned allocation/provider-interval/recovery contracts preserve the interpretation of older archives. An observed generated name never narrows its original unresolved namespace. Follow-up service requests cannot escape the open provider interval, and a service create response cannot substitute for a provider acknowledgement. Process termination is recorded only after checking provider death and owner expiry. Unknown or repeated observation contracts are rejected.

The capture records 295 frames, 26 provider exchanges, 36 mutating HTTP requests, nine allocation bindings/absence probes and 36 actual admission probes. No exchanges remain unresolved at the end. Generated allocations exclude both their observed name and unrelated names in the namespace. Known updates exclude their target while allowing an unrelated named demand. Recovery observations bind advancing claim fences and exactly one publication to the original acknowledged result; a commit may be observed before the successor API returns, but never under an expired claim.

The first run passed twelve cases and failed the observer's update projection: configuration can leave computed name unset while prior state supplies the generated object's exact identity. The immutable 2026-11-09-i1-named-initial/ archive retains that failed/incomplete scenario and the twelve passes; three later cases had not run. The corrected observer uses prior identity for updates and still checks every actual HTTP target. Four targeted recovery/retention cases passed before the complete sixteen-case recapture. No production runtime code changed.

The conformance unit run passes 205 tests in 0.39 s, including 84 allocation/transport/recovery cases with serialization and negative controls. Replaying nineteen earlier archives preserves 299 passes and two deliberately rejected histories, with every raw hash checked. These are historical builds with overlapping schedules, not 301 distinct new scenarios. Ruff checks and format verification pass for all nine changed Python files. The archive includes twenty hashed evidence/result files; its README records commands, observation boundaries and the source build.

The case/type index separates the 44 SSM full/affected-request slots from these sixteen full-plan named-object cases and from native diagnostic assertions. I2 affected execution is still qualified only for its separate SSM profile. This bounded observer allows one provider mutation at a time; parallel generated allocations, inline secret policy, KMS changes, log deletion-protection mutations and live AWS remain outside its profile. The remaining I1 audit includes timeout/cache-reclamation hold behavior: ended-run cancellation evidence alone does not witness derived-cache deletion during a paused call. Broader I2 and I5 gates remain open. Validation ran after the isolated benchmark finished; its frozen source and measurement conditions were preserved.

I3 unknown-name and per-type-ledger checkpoint (2026-11-09)

specs/graph-state/qualification/aws-identity-evidence.md now maps each registered AWS profile, its namespace/allocation/mutation-domain limits, the four mandatory I1 families, native per-type test IDs, shared qualification/portability gates and remaining independent-observation work. It distinguishes provider-generated names from a name whose input is unavailable until another resource commits. It does not infer log-group/secret fault coverage from the SSM captures.

Six new PostgreSQL/FakeCloud cases create a UUID during apply, consume it as a log-group or secret name/prefix, and also exercise a provider-settings-deferred variant. The saved plan retains the unknown input. Before the actual AWS dispatch, the fixture requires a ready committed source, its resolved value in the request and its exact revision in the operation. The final qualified ready child preserves that provenance and matches the independently read service object. All six use resource grants, converge and have no unattributed reads; no production change was needed.

The full per-type suite passes 36 tests in 47.05 s; shared core/extension identity tests pass 72 in 0.41 s. specs/graph-state/qualification/2026-11-09-i3-native-gates/ retains JUnit, 36 parent-process capability traces, shared-test output and a report with exact source/runtime facts and hashes. Source SHA-256 is 9cc4f1734cf9f5bfed36953befaa680e30e79a84926903fdb98409e788d550ff. The tests ran after the performance capture completed. Capability traces use production locator interpretation and omit killed child-process calls; they are not an independent I1 physical-hold certificate. The subsequent independent named-object checkpoint above closes the stated allocation/alias/lost-create/replacement-gap/recovery families with separate HTTP/service evidence.

I2's read seam uses complete summaries to distinguish unrequested live rows, known absence and tombstones. Payload lookup never manufactures absence, and deletion candidates compare the whole manifest with the whole summary. Exact selected row proofs must match their summary; expansion must match the original capture, including origin and reverse generations. Released origins fail. PostgreSQL's real concurrent-commit test proves a writer between the summary and payload queries cannot produce a mixed view. Query tests check that complete summaries exclude payload columns and payload queries name only requested addresses. No partial State is exposed.

The pure selector covers shared producers, newly introduced dependencies, removed old edges, diamond deduplication, tainted entries, preserved newer consumers, boundary promotion and bounded fallback. It runs the ordinary three-way merge against summaries before choosing any work. Unknown inputs/purity, broad scopes, missing topology evidence, unresolved operations and unqualified provider configuration all fall back explicitly. Matching per-entry context and reviewed revision are now required for omission; missing or changed evidence seeds evaluation. This selector is not wired into apply or the saved-plan format. Topology and summary reads remain complete; indexed database expansion and broader provider/check/runtime qualification remain open. The complete symbolic manifest itself is now retained by full saved plans, as described below.

The next persistence slice adds graph_planning_context.py and PostgreSQL schema 31. Context stores symbolic/settings/provider fingerprints, stability, policy and the exact reviewed row revision. Resource/output rows, summaries and history retain it atomically. An older writer cannot keep a row eligible merely by leaving the new column untouched: its new revision no longer matches the old evidence. Missing or incompatible context remains unknown; a new write without context clears it. Identical reviewed no-ops do not create revision churn, while changed context is covered as a metadata write, including its consumers. Saved full nodes, provider reservations and returned operation recovery carry the original context. The full planner now collects the complete manifest before runtime evaluation and produces per-entry static context itself. Hybrid tests exercise that production path through no-op/output publication, saved-plan replay and replacement, without an injected context hook. Semantic settings are fingerprinted separately from provider declarations, so a provider's settings are bound only to its own rows. Pure output shape may qualify; provider behavior requires separate runtime evidence. Arbitrary runtime/check effects invalidate neighboring rows' qualification too; removing opaque work later forces a fresh review of those earlier results. Preserved/untouched nodes carry no new execution context, and malformed saved intent/context pairs are refused before execution. The shadow selector checks current static context, exact reviewed revision and any separately supplied fresh runtime qualification. The initial runtime policy below now supplies that evidence for a restricted actual AWS configuration. Execution still uses full planning for every graph.

The provider-runtime slice adds providers/graph_planning.py and the optional nf.graph_planning entry-point group. It captures immutable launched environment, exact installed-cache release, normalized successful Configure payload and profile observations. A failed configuration, changed observation, dead process, changed profile or unqualified namespace cannot retain eligibility. Only fingerprints are persisted. The AWS extension supplies a distinct SSM 6.66.0 planning profile with explicit static credentials/region, disabled organization tag policy and both shared file lists set to /dev/null. Missing default files do not qualify: absence checks cannot rule out a file change during Configure. Core remains usable without the extension. The source review and qualification contract in specs/graph-state/qualification/aws-ssm-planning.md explain the release, exclusions, environment conservatism and trust assumptions.

Qualified full-plan contexts survive saved creates, updates and identical no-op publication. Changed launched default tags or a revoked profile reject saved create/update/no-op plans before mutation or publication. Validation checks the entire ready round before scheduling resources; an invalid second provider alias cannot let a valid independent alias mutate first. App and stack execution use this check, with additional per-resource checks. Already returned recovery requests keep their original context. The actual-provider shadow fixtures compare selected addresses with managed provider actions for unchanged graphs, consumer/producer changes, removal and environment changes, then apply the entire plan and verify service values. This is not yet an affected-executor or complete metadata/provenance equivalence gate.

The removal fixture exposed a producer/consumer scheduling race. A producer's refreshed metadata write could mark a removed consumer stale while that consumer reserved deletion against the previous revision. The full graph now schedules deletion before producer publication, using the final coverage write closure and stored input/dependency edges. Reservation checks remain exact. Memory regressions cover same/cross-stack deletion under both grant policies; the actual-provider test checks the ordering retained in its saved plan.

Verification of this slice: 1,428 core/extension tests passed (32.54 s), plus 15 alias/layering checks (0.43 s). The combined actual-provider/conformance/planning-view run passed 131 cases; its two schema-27 writer fixtures initially attempted to publish the new schema-31 field and were correctly refused. Those fixtures now omit context from the historical writer's nodes and immutable requests, without relaxing the schema guard; both pass on rerun (8.36 s). Together the 133 live cases include 21 new runtime/shadow cases, the existing AWS hybrid cases, all fifteen primary/ supplementary conformance tests and seventeen planning-view cases. Existing immutable history archives retain their original source identity; this regression run does not relabel those captures. Ruff, targeted ty, shim generation and the documentation build pass. poe bench-simple records 1,000-resource construction/synthesis at 0.0696 ms/resource (0.0099 s creation, 0.0597 s synthesis). There are only two earlier matching runs, so the regression baseline remains incomplete. It is not an end-to-end graph planning measurement.

Complete branch-manifest retention now uses the RFC's inline-evidence option. Full saved graph artifacts include summary.graph_state.intent_manifest, a canonical value-free inventory with format nf-graph-intent-manifest, version 1 and a digest. It retains addresses/intents, references, empty stacks, provider/observation and other context, semantic settings and stability. Decoding rejects incomplete or unknown evidence. Creation and loading check both directions of membership in executable stacks, along with node intent and static context; a recomputed digest cannot conceal a contradictory node set. Full artifacts also check the complete stack set. Stack-only planning retains all other app stacks in its manifest, without treating them as work to execute or remove. Preserved newer intent and unresolved drift placeholders remain authoritative under their existing rules rather than being relabeled with the old branch's code.

The saved artifact owns its manifest copy. Clearing the live collector, changing later Python membership or ending a planning run cannot replace it. A released baseline still causes refusal before mutation: the retained inventory is not a substitute for original state proof. There are no new external manifest references or cleanup timers. Older full plans without this optional evidence retain their prior semantics; partial plans will require a new artifact format. This does not yet make artifacts compact: complete manifest space remains O(N), and full resource payloads remain.

The next shadow slice checks actual admission write coverage (including no-op metadata), original input revisions and reverse-edge generations, then compares the full apply's published rows, materialized input revisions and retained planning contexts with that evidence. The ten original stable-cloud cases now start with an explicitly refreshed baseline; two further deletion cases retain first-refresh normalization and assert delete-before-producer-publication ordering. Six boundary cases cover normalization, boundary drift and unrelated drift under both grant policies. Missing a read-only boundary or a sibling's metadata publication fails the negative controls. The report has no unattributed reads in these runs. Fresh runtime context is retained separately when coverage clears an untouched node, so shadow selection still uses this run's qualification.

The normalization cases explain why action counts alone were insufficient: AWS SSM's first Read changes tags: null to tags: {}. A boundary's new stored image can advance its row and the input revisions of other consumers even when their provider actions are no-ops. The tests replay the already observed full-plan result to promote that boundary through the selector. They name unrelated full-refresh observations explicitly, instead of treating them as a scoped result. This does not yet execute affected plans or implement selective refresh, dynamic restart, opaque observation replay or the complete shadow matrix.

All eighteen shadow cases are now retained under specs/graph-state/qualification/2026-11-08-i2-shadow/, with complete original selection evidence, admission/read proofs, published versions and hashed service observations. An independent plain-data checker validates the publication/coverage evidence; a separate replay reruns the selector from the original view and fresh qualifications without calling providers or evaluating bodies. Hash checks, exclusive file creation and recorded source/fixture digests prevent silently replacing a capture. The offline checker refuses unreviewed cases, opaque inputs, deferred outcomes and preserved rows. This corpus covers the concrete SSM slice; it is not the complete RFC shadow matrix.

tests/performance/graph_python.py now records canonical manifest bytes and encode/decode plus integrity/membership assertions at N=100/1,000/10,000. One warm-up and seven measured repetitions give medians 1.196/12.055/158.793 ms, with 31,442/312,241/3,138,240 bytes, respectively, for the concrete chain fixture with one provider context and an empty stack. Raw samples and source hashes are appended to tests/performance/results/graph_python.jsonl under retained-manifest. These are isolated CPU/encoding measurements, not end-to-end timings or a regression verdict. The native end-to-end worker now reports manifest bytes separately from total artifact bytes, with the encoding named, and times saved-plan loading. The historical frozen full-planning baseline remains unchanged; it cannot acquire these new metrics retroactively.

Verification of manifest retention and extended shadow coverage: 1,390 core regression tests passed (27.61 s), and 44 PostgreSQL/provider cases passed (65.13 s). The final retained corpus was captured by eighteen live shadow cases (24.09 s); 36 offline replay and negative-control tests pass in libs/netherframe.core/tests/test_graph_planning_shadow.py. The independent checker also ties selection summaries to the original rows and admission lineage/frontier. Its report records the verification build separately from the immutable capture build. A four-resource native benchmark-worker smoke run passed setup, warm-up and one measured sample, with offline verification; its plan reports 2,021 canonical manifest bytes for four resources plus one output, versus 70,040 total saved bytes. That smoke run is not a performance comparison. Ruff, targeted ty, alias/layering checks and the documentation build pass. The stronger-claim implementation goal remains open.

The bounded closure controller now lives in backends/graph_planning_rounds.py. It accepts a complete manifest, a consistent-view reader and explicit refresh/evaluation/qualification callbacks; it neither acquires a grant nor creates an executable partial State. Successful refreshes are reused once per exact captured key. A changed or absent boundary becomes a root before evaluation. Newly discovered exact inputs join selection adjacency and can reveal further inputs in later waves. Complete input sets bind the original revisions, including planned reads; missing/opaque sets do not certify pruning. Only the last complete evaluated payload can leave the loop.

Guarded reads now name their consuming selected configuration. The controller records those reads independently and rejects a complete input report that omits one. Removed/preserved or unselected bodies cannot use this interface to read values. A swallowed unloaded-read exception still expands the closure; a swallowed unsupported read still forces full fallback. Canonical resource/output addresses are checked in lookups, reported inputs and requested reads, so an undecodable or kind-mismatched identity cannot become a revision-zero absence proof. Callbacks remain trusted internal planners; this is interface enforcement, not isolation of hostile code.

Every expansion rereads the complete selected union and checks the capture. A final check covers non-expanding evaluation too. View changes discard prior refreshes, dynamic edges, input proofs and candidate payloads, then rerun fresh qualification. Explicit round, size and restart limits return full fallback with no candidate; an unknown refresh never returns a cached original as a fresh value. Known absence can be consumed with its original proof, and an insertion invalidates that negative observation. Transport errors propagate rather than becoming negative cache entries. Returned-row metrics include repeated successful view reads; rejected reads do not expose how many SQL rows were scanned/transferred and cannot be used as a total database-traffic estimate.

The new memory cases include a late read that reveals another dependency in a later wave, first-refresh metadata promotion, stale proof rejection with either planned flag, output boundaries, one-element nested collections, distinct resource instances, preserved newer consumers, removal from complete membership and budget/unknown failures. Growing-estate structural checks at N=100/1,000/10,000 retain exactly two provider refreshes and four returned payload rows for a one-consumer change, across three complete metadata reads. This is not total O(change-size) work. Six actual PostgreSQL/AWS/FakeCloud cases cover stable boundaries, normalization, boundary and unrelated drift, provider-reported absence and publication during a provider read. No controller case sends PlanResourceChange or ApplyResourceChange; its evaluator projects the concrete fixture. The concurrent case requalifies and rereads under a new capture before returning the newer value.

The final regression selection passes 1,499 cases (33.27 s), including existing immutable shadow replay and alias/layering checks. The controller file passes 73 cases (7.38 s), including shape, proof/removal, growing-estate and attributed-read failure cases. All six actual-provider loop cases pass (12.35 s). Ruff and targeted ty pass. The new core module's nf.* shim is generated. poe bench-simple records 1,000-resource construction/synthesis at 0.0703 ms/resource, 4.0% below the previous three-run median of 0.0733 ms/resource, with no regression. This measures app construction/synthesis, not the graph planning controller or its end-to-end performance. At that point, integration remained substantive: registration eagerly loaded/copied all state, provider discovery scanned it, and evaluation, coverage and full artifacts assumed complete payloads. The later slices below replace the registration and partial read interfaces. The controller remains a building block; no public scope flag or affected execution path is enabled.

The next slice supplies execution/graph_planning_values.py. Existing PlanningValues now reads resources through a small interface with full-state and partial graph implementations. A partial context never manufactures a State: full-state requests fail explicitly. Each round has its own authoritative recorder and planned resource/output caches. Explicit cross-stack references use the same exact reader. Unknown values, absent rows, indexed instances and one-element collections keep their meanings. Planned and carried values retain their original row revisions and consumer-specific inputs through the same decoder used by full graph planning. Context-propagating workers can evaluate distinct nodes concurrently; duplicate/in-flight scopes and lost thread context cannot certify a completed candidate. Only the current selected body may record its own planned value through the cache interface. Carried reads cannot bypass identity/observation qualification. Unqualified membership/runtime/non-managed observations fall back.

Full and partial evaluation share _build_resource_configuration, including normal metadata and identity binding. The single-resource provider-plan method no longer accepts two unused full-state arguments. Six additional PostgreSQL/FakeCloud cases run actual configuration evaluation and PlanResourceChange through the new context, beside the six projection-only controller cases. They refuse full-state loading during the loop, inspect selected provider calls and original input proofs, and prohibit provider apply calls. At this stage their scheduler used the fixture's known topological order and their bootstrap used full planning. The later symbolic-qualification and candidate slices below replace both; normal frontend routing and partial artifacts remain open work.

Broader testing reproduced two pre-existing failures against the source snapshot from before this slice. One fixture assumed equal row counters across states after adding opaque app effects; setup now deliberately aligns those counters with a metadata publication, preserving the test's different-lineage/equal-revision requirement. The other was a live saved-plan cache bug: after a metadata-only source publication, a frozen observation's older read could overwrite its consumer's planned input. Frozen exact reads now retain the planned transition after final coverage closes. They must match the captured original revision, and sources with planned provider mutations are excluded. A new negative control rejects a stale frozen proof before a managed provider send. Four real-provider cases verify live and saved-plan-only execution under both grant policies. The source's state revision advances while its cloud version stays unchanged; the cache is not reread, and the consumer records the new source revision. The isolated fixture normalizes its provider baseline first, keeping that behavior separate from first-refresh provider changes.

Verification for this evaluation-context slice: 1,963 core/graph/hybrid cases pass (37.39 s); 21 integration/performance/slow cases are excluded from that unit selection. The new context file passes 25 focused cases (0.16 s). The expanded PostgreSQL planning/runtime selection passes 45 cases (49.28 s), including the four saved-observation cases. Eleven additional actual-provider cached-runtime, data-source/stale-branch and ephemeral-observation cases pass. Ruff, targeted ty and generated-alias/layering checks pass. poe bench-simple records 0.0808 ms/resource, 12.6% above the previous four-run median of 0.0718 ms/resource and within the configured regression threshold. This is a construction/synthesis sample, not an affected-planning speed claim.

The following slice removes eager payload loading from ordinary graph registration. Ownership is renewable but grants no mutations; reused engines clear earlier cached proofs and rollback copies. Explicit full reads and quarantine inspection still load complete snapshots. Recovery registration keeps its prior read behavior. Both app and resource-plan admission capture fresh complete rollback originals, including unrelated commits made during planning. Existing failure cleanup and unresolved operation exclusion continue to apply. This does not yet make the post-admission snapshot bounded.

Provider startup accepts a captured planning view. State-only provider discovery reads only selected live rows, including removals; foreign/stale/migrated capture checks read complete metadata before startup. Static declared settings are configured completely, while dynamic settings request full fallback before clients start. Selected missing aliases preserve their existing errors. A separate selected-row refresh method consumes exact view rows and operation summaries through the existing upgrade/read/diagnostic implementation. Failed reads and deferred/held operations stay unknown; missing objects are absence. Neither method installs a partial State in the engine.

The real-provider startup test forbids full-state loading from mode construction through registration, configuration and the selected refresh, with no grant or provider mutation. The twelve existing closure cases use the selected refresh method as well. At this stage they still bootstrapped runtime qualification through full planning; the later symbolic-qualification slice removes that bootstrap. Production coverage must retain provider-discovery proofs; normal frontend recording/scheduling, compact artifacts and bounded apply integration remain open.

Verification for this registration/startup/refresh slice: 1,983 core/graph/hybrid cases pass (38.06 s), with 21 integration/performance/slow cases excluded from that unit selection. The provider configuration/partial refresh file passes 40 cases (0.51 s). The complete PostgreSQL admission selection passes 244 cases (42.58 s), including both grant policies' fresh rollback baselines, lazy registration, recovery read-failure cleanup and retained-operation exclusion. The real-provider closure/startup/cache selection passes 17 cases (23.69 s). Ruff, formatting, targeted ty, layering and generated-alias checks pass. These results verify the selected interfaces and existing full execution behavior; they are not an affected frontend release or comparative Stategraph evidence.

The first poe bench-simple sample flagged 0.0862 ms/resource, 17.7% above its prior-five median; it remains in perf_history.jsonl. Its profile includes two source compilations taking about 16 ms. A fixed diagnostic compared this slice with source 0a67bab3, using an isolated core overlay, one warm-up and seven measured pairs in seeded order. Warmed medians were 0.069701 before and 0.069815 ms/resource after (ratio 1.0016). This does not reproduce the flagged slowdown and is consistent with the first invocation's compilation cost. The final repository check passes at 0.0695 ms/resource. Source digests, all warm-up/measured samples, the initial failed profile and final check are retained in libs/netherframe.core/tests/performance/results/registration_startup_construction_check_20261108.json. This diagnoses construction/synthesis only; it supplies no affected-planning performance claim.

The next slice connects exact partial evidence to the ordinary admission-basis builder. Full and partial readers share action, identity/allocation, rollback, input, reverse-edge and metadata-write closure logic. A partial reader caches each original row once and keeps its exact RowVersion; there is no partial GraphSnapshot or summary-derived write proof. Every requested row, including provider-discovery reads, retains a shared expectation unless written. Desired resources are an explicit mapping; missing membership cannot invent a deletion. Both ordinary and planned carried input revisions must match the captured original. Unloaded originals request expansion/fallback.

Views now include a complete payload-free cleanup inventory, read in the same memory lock or PostgreSQL repeatable-read transaction: cached observation addresses and legacy output metadata presence. Unknown older inventory, relevant auxiliary cleanup and broad scope/enumeration proofs request full fallback. Old immutable shadow captures keep their original capture hashes and replay without this optional field; new captures retain it. The tests cover exact create/update/delete/ replace/import/no-op proofs, outputs, metadata-write propagation, missing payloads, stale carried revisions, provider-discovery reads, and auxiliary fallback. PostgreSQL ordinary admission accepts an unrelated intervening commit and rejects a changed input or newly inserted dependent. No provider mutation is used to demonstrate an admission refusal. The normal frontend still needs to route its final closure candidate through this builder, and admission still loads a full rollback snapshot.

Verification for this coverage slice: 2,009 core/graph/hybrid cases pass (37.57 s), with 21 integration/performance/slow cases excluded from that unit selection. The coverage file passes 56 tests (0.24 s), including a per-key read-count check on the partial reader. PostgreSQL view, ordinary partial admission, provider closure and runtime qualification pass 67 cases (51.15 s). Ruff, formatting, targeted ty, layering and generated-alias checks pass. poe bench-simple passes at 0.0689 ms/resource, 2.1% below its prior-five median; this is construction/synthesis evidence, not scoped-planning performance. No Stategraph comparison was run.

The next slice removes the full-plan bootstrap from fresh runtime qualification. The complete symbolic inventory is projected with every expression hole set to UNKNOWN, through the same metadata/schema/ownership shaping used by normal configuration evaluation. Resource bodies and managed-resource Read/Plan/Apply RPCs do not run during this sweep, and it reads no state payloads. Authenticated namespace discovery may use the identity contract's data-source RPC. Namespace facts are fresh each sweep and shared within a provider configuration. Missing or changed runtime evidence, unsupported releases, unknown namespace fields and unknown/excluded/write-only arguments cannot qualify omission. Configuration and configured-runtime changes during the sweep abort mixed evidence.

The controller now repeats fresh qualification before accepting a candidate, even if its state capture is unchanged. Changed qualification discards dependent work and restarts within the existing budget; repeated changes return full fallback without payload or input proofs. All twelve real-provider closure cases use this path with full-plan construction, engine full-state reads and backend snapshots forbidden during partial planning. The already-deployed baseline and independent concurrent writer still use ordinary apply/admission. The symbolic pass remains O(N); at this stage the scheduler was still a fixture implementation, replaced by the next slice below. Older immutable shadow captures retain their original full-plan provenance. This closes the test bootstrap gap; it does not enable an affected frontend or compact saved plan.

Verification for this symbolic-qualification slice: 2,026 core/graph/hybrid cases pass (37.91 s), including the new unknown-projection, missing-runtime, changed-contract and final-sweep restart cases. The manifest file passes 36 focused cases (0.33 s). PostgreSQL view/admission tests pass 21 cases (6.07 s); with FakeCloud explicitly enabled, the actual-provider closure/runtime tests pass 46 cases (48.39 s). The first invocation skipped those 46 provider cases and is not counted as provider evidence. Ruff, formatting, targeted ty, layering and generated-alias checks pass. poe bench-simple passes at 0.0691 ms/resource, 1.8% below its prior-five median. This is a construction/synthesis check, not scoped-planning performance or a Stategraph comparison.

The next slice connects the production dependency walk to partial candidate assembly. Selected configuration is evaluated once at its dependency position; consumers see planned upstream values, and independent provider plans run concurrently through ParallelStrategy. The existing planning and change-recording methods accept explicit resource mappings without manufacturing a State. Convergence and pending-trigger checks read original view evidence. Static lifecycle replacement, taint and prevent-destroy semantics remain shared with full planning; dynamic lifecycle metadata requests full fallback before provider plans. No-op producers supply refreshed values; cycles and failed prerequisites cannot yield a candidate. Output changes preserve shape, unknowns, sensitivity and original input proofs.

GraphPlanningCandidate carries ordinary execution nodes, provider private data, explicit desired rows and ordinary coverage. Complete selection alone determines deletions and forgetting; absent payload membership is never removal. Old resource/output consumer edges order deletion before a producer's publication, including state-only writes. Metadata-write closure retains planned input transitions. Preserved newer bodies do not execute old branch code, and their unresolved drift/status forces full fallback before dependent evaluation. Selected duplicate physical owners are refused. The six configuration/provider closure cases now use this assembly and admit its coverage through ordinary PostgreSQL resource grants. Provider mutation stays forbidden, and both full-state read entry points stay forbidden during planning. Admission still captures a complete rollback snapshot.

This replaces the fixture scheduler and joins the controller's callback to ordinary coverage; it is not an enabled frontend or saved apply path. Indexed ownership checks against omitted rows, complete kept/stale and inspection reporting, approval summaries, compact artifacts and bounded post-admission behavior remain integration obligations. The broader I1/I5 affected-mode gates are still open, and live Stategraph comparisons remain intentionally unverified.

Verification for this candidate/scheduler slice: 27 focused cases pass (0.36 s), covering parallel dependency order, provider failure/cycles, replacement triggers and taint, lifecycle refusals, creates/no-ops/removals/forgetting, output changes and deletion order, preserved newer intent, drift fallback and duplicate selected physical owners. The broader graph/hybrid/saved-plan/ layering/alias selection passes 2,051 cases (40.29 s); the final two deletion-metadata cases were added afterward and are included in the focused count. PostgreSQL view, provider runtime and closure/admission tests pass 67 cases (50.98 s). Ruff, formatting, targeted ty and generated shims pass. poe bench-simple passes at 0.0701 ms/resource, 1.0% above its prior-five median. This remains a construction/synthesis check, not an affected-mode performance comparison.

The next slice (2026-11-09) adds capture-bound, indexed ownership preflight to partial candidates. Each resource write, including metadata writes and explicit forgetting, retains an ObjectCheck derived from the existing operation identity rules. Replacements preserve allocation-scope exclusion when their new identity is unknown. The backend validates the complete original capture and reads matching owner metadata in the same snapshot. PostgreSQL batches four index predicates in one query; no unselected entry/private payload is decoded. The memory backend uses the corresponding metadata under its capture lock. Aliases, unknown legacy owners and attempts to bypass bound ownership are refused; distinct namespaces/sources/types, own-address normalization and tombstones are distinguished.

The retained predicates join GraphPlanBasis leases and are checked again at admission. An owner inserted after preflight is rejected before mutation in both resource and app-X validation. Failed resource admission releases its grant; after admission the canonical/namespace leases exclude alias grants. A commit after the preflight MVCC snapshot is caught by the controller's final capture check. Coverage version 3 requires one well-formed check for each resource write and rejects missing, duplicate or downgraded evidence. Full-planner coverage remains version 2. A backend without the preflight interface returns full fallback without a candidate. Existing per-operation guards remain authoritative. Frontend routing, kept/stale reporting, approval, compact artifacts, bounded rollback capture and broader affected-mode qualification remain open; live Stategraph comparisons are still intentionally unverified.

Verification for this ownership slice: 66 focused tests pass (0.47 s), including shared memory/ PostgreSQL scenarios, retained-evidence corruption, omitted-owner rejection through the production candidate and unknown replacement allocation. The broader graph/hybrid/layering/alias selection passes 2,067 tests (40.87 s), with 44 integration/performance/slow cases deselected; the final unsupported- backend fallback test was added afterward and is included in the focused count. PostgreSQL view, provider runtime and closure/admission suites pass 87 tests (54.89 s). The SQL test separately passes after extending its plan assertions to all three ownership indexes. It verifies one batched metadata query and index eligibility with sequential scans disabled, not a speedup. The initial OR query used a broader state scan in that test; the final query uses separate indexed branches. Ruff, formatting, targeted ty, generated shims and the documentation build pass.

The first poe bench-simple capture flagged 0.0921 ms/resource (+32.6%) and remains in history. A paired construction/synthesis diagnosis against pre-ownership revision 605e2ec082c7 uses one warmup and seven alternating before/after pairs; its median after/before ratio is 1.01825. Source hashes and all measured samples are retained in libs/netherframe.core/tests/performance/results/ownership_planning_construction_check_20261109.json. The final standard check passes at 0.0715 ms/resource (+3.0%). These measurements diagnose construction/synthesis only and do not supply affected-planning or Stategraph performance claims.

The next slice adds the internal compact GraphPlanArtifact carrier. Its distinct format-18 nf-graph-affected-plan envelope can be made only from a converged partial closure/candidate. The normal full-artifact reader remains on format 17 and rejects it; this is an explicit intermediate gate until partial approval/reporting and apply are connected. There is no partial State field. The carrier retains complete manifest/summary/origin/topology evidence and only selected original, refreshed and desired payloads, ordinary execution records, coverage, provider fingerprints and closure metrics. Boundary values come from the retained file, never a newer backend read.

Load validates original value/private hashes, exact row coverage and revisions, reverse predicates, selection scope, manifest contexts, selected executable membership, unknown values, ownership claims and explicit removal/forgetting evidence. A checksum detects content corruption; it does not sign or authenticate trusted executable plan input. Accessors return detached values, saves are atomic, and separate encoded-size categories distinguish manifest, selected payload/node and proof bytes. Inline evidence lives with the artifact; ordinary baseline-pin retention remains necessary for admission. Current qualification excludes unresolved operations, migration, auxiliary cleanup and deferred provider actions. Those cases require full planning, not a truncated artifact.

The six actual-provider configuration cases now save/reload their compact carrier before ordinary PostgreSQL resource admission while provider mutation remains forbidden. Unit checks cover private planned data, boundary values after live-state changes, omitted large payloads, absent creates, explicit deletes/forgetting, empty plans and sensitive one-element unknown outputs. Recomputed- checksum negative cases still reject inconsistent rows, inputs, contexts, predicates, membership, desired values and coverage. Changed-boundary admission fails; an unrelated commit remains compatible. This establishes compact transport/admission, not saved partial apply or its performance gate.

Verification for this artifact slice: 65 focused artifact/candidate tests pass (0.78 s); the broader graph/hybrid/layering/alias selection passes 2,103 tests (39.62 s), with 44 integration/ performance/slow cases deselected. The actual-provider controller/transport/admission suite passes 17 tests (23.02 s). Ruff, formatting, targeted ty, generated shims and the documentation build pass. poe bench-simple passes at 0.0787 ms/resource (+12.3% over its prior-five median); this is construction/synthesis evidence only. Frontend routing, complete review/kept/stale reporting, bounded post-admission state handling, broader qualification/shadow cases and I1/I5 affected-mode gates remain open. Live Stategraph comparisons remain intentionally unverified.

The following review slice removes the carrier's caller-supplied summary. summary/to_summary() derive actions, counts and output display values from retained evidence without backend reads. Complete intent summaries report preserved newer entries even when their payloads are omitted; retained input lists identify existing and predicted stale inputs. Resource action classification uses the full planner's material-state comparison. Ordinary API approval and CLI summary/count renderers now display the affected inspection scope and its unrelated-drift limit, including for empty plans. These helpers do not enable normal format-18 loading or partial execution.

Refresh observations now retain exact drift/schema-upgrade diagnostics. The real refresh compares provider reads with upgraded state, so an original-versus-refreshed comparison was insufficient to classify drift. Custom observations without diagnostics remain explicitly unknown, both in the structured per-action result and a confirmed-counts-only notice. Planning-time check outcomes are retained separately from executable nodes, whose shared codec deliberately omits them. Apply must still evaluate those checks. Sensitive outputs remain masked; the review projection contains no resource attributes or provider private data.

The saved deleted-object policy and explicit removal evidence distinguish recreation from forgetting an already-gone object removed from configuration. Forget-only plans no longer take the CLI's no-change shortcut. The error policy rejects such a candidate; review/recreate retain their distinct review requirements. Missing/malformed diagnostics, extraneous review caches and mismatched runtime check membership fail validation. Internal format 18 remains unreleased and rejects earlier incomplete internal envelopes; full format-17 compatibility is unchanged.

Verification: 115 focused artifact/review/provider-configuration/CLI tests pass (1.19 s). The broader graph/hybrid/saved-plan/layering/alias and complete CLI unit selection passes 2,465 tests (46.25 s), with 24 integration/performance/slow cases deselected. The actual-provider controller suite passes 17 tests (23.54 s), including save/reload review of all six configuration cases before admission with provider mutation forbidden. It confirms complete diagnostics, inspected/excluded scope and unrelated-drift limits. The construction/synthesis benchmark passes at 0.0716 ms/resource (+0.1% over its prior-five median); this is not affected-planning performance evidence. Ruff, formatting, targeted ty, generated alias shims and the documentation build pass.

The next execution slice must retain fixed write/action admission with both app-X and resource grants, connect the ordinary loader/approval path only when saved outputs and explicit forgetting consume the reviewed evidence, and address the post-admission full snapshot. Broader qualification, I1/I5 affected-mode gates and public configuration remain open. Live Stategraph comparisons remain intentionally unverified.

The subsequent execution slice admits explicit GraphPlanArtifact instances through the ordinary hybrid apply path. acquire_plan(..., app_wide=True) requests app X without enlarging the immutable write/action admission. Partial preparation uses fixed admission with either concurrency setting; unsupported identity contracts, missing rollback coverage and an existing unadmitted grant refuse the apply instead of acquiring unrestricted serial permission. Empty plans follow the same rule. The backend's existing canonical-ownership, basis, admission and operation checks remain unchanged.

Partial apply activates the carrier's selected manifest, loads providers using its retained view, and retains provider fingerprint/runtime checks. Concrete selected resource configurations and output values come from the artifact even if current code changed. Unknown values still need live constructs; output resolution now rejects changes to already-known elements before publication, including for full saved plans, and diagnostic errors contain paths rather than sensitive values. Selected output nodes handle publication/removal. Whole-app output/data-source cleanup is skipped; forgetting uses only the validated artifact list, not omitted nodes or a presentation summary. The automatic-approval refusal also describes forgetting accurately rather than claiming recreation.

The real PostgreSQL/AWS 6.66.0/FakeCloud cases save/reload the carrier, then use a fresh apply instance under both grant policies. They cover creates, updates, deletes, outputs whose values become known after apply, already-gone removals and empty plans. Unrelated code changes, newly declared outputs and external drift remain unapplied. Refusal cases cover a changed boundary, an unpinned baseline, provider-fingerprint mismatch, grant bypass and missing rollback capability. Checkpoint and rollback success cases pass; an output inconsistency after a create triggers only the admitted compensation and leaves unrelated versions intact. Independent cloud reads verify effects and the compensated object's absence. Pre-approval refusal of unattended forgetting is also tested under both grants.

Verification: the broader graph/hybrid/saved-plan/layering/alias and CLI selection passes 2,474 tests (47.82 s), with 24 integration/performance/slow cases deselected. The expanded provider and shared PostgreSQL admission selection passes 60 tests (63.66 s), with 238 other cases deselected; the two subsequent unattended-forgetting cases pass 2 tests (8.65 s). A final targeted review, artifact, deferred-provider and app-graph run passes 279 tests (6.81 s). The shared memory tests also exercise app-wide fixed admission, stale rejection, post-admission read failure, unknown ownership, out-of-plan writes/actions and complete grant cleanup. The initial construction/synthesis capture, run alongside static checks, is retained at 0.0872 ms/resource (+21.8%). A subsequent isolated capture passes at 0.0723 ms/resource (-8.2% against its prior-five median). These are default-path construction measurements, not affected-planning performance evidence. Ruff, formatting, targeted ty and the documentation build pass; alias checks are included above.

At that slice, normal full-plan readers still rejected format 18 and admission still materialized a full rollback snapshot. The subsequent selected-cache work below closes that full-state execution dependency for the qualified internal path. Public routing and broader I1/I5 affected-mode qualification remain open. Live Stategraph comparisons remain intentionally unverified.

The next slice introduces backends.graph_execution_rows.GraphExecutionRows, separate from both State and GraphSnapshot. After fixed admission, a partial apply reads exactly its admitted resource/output rows through a fresh planning view. It checks the baseline/state, row versions, value/private proofs, consumed input revisions and reverse predicates before approval. Read failure, mismatched evidence, migration and unfinished transfer refuse execution and release the unapplied grant. Unrelated frontier advancement remains permitted when the selected proofs still match.

Point reads preserve selected absence and tombstones; omitted live and absent keys both raise. Complete-state/snapshot reads and broad value/membership scopes also raise during partial execution. References, input revision materialization, recording, explicit forgetting and rollback use the point interface. Writes and consumed inputs must stay in the fixed selection. The rollback copy remains independent of current values. Complete status metadata preserves omitted stale entries, including after unlock when hybrid decorates its result, without retaining their payloads. A new run or explicit full read resets that diagnostic cache.

Checkpoint creation now reads only selected revisions and pinned history images under the existing transaction fence. Rollback orders its explicit deletion set without app enumeration and looks up only the run's candidate create-operation IDs. Durable committed-create/incarnation validation still authorizes compensation; missing receipts require recovery. Shared tests commit a foreign output after admission, restore this run's selected resources/outputs and preserve the foreign value and revision. They also fault fresh row/value/edge/baseline/migration/transfer evidence and verify clean grant release and a successful fresh attempt.

The saved partial-apply cases forbid load_state, backend snapshot and the private SQL _snapshot_on, and reject decoding an omitted resource through the SQL entry decoder. These guards span admission, approval, execution, checkpointing and compensation under both grant policies; provenance reporting is enabled. A broad regression found an obsolete mock for the point-read API; that test now uses a real local state engine. Post-unlock status preservation has a dedicated shared memory/PostgreSQL case.

Verification: the graph/hybrid/saved-plan/layering/alias and complete CLI unit selection passes 2,493 tests (47.46 s), with 24 integration/performance/slow cases deselected. The complete PostgreSQL admission suite and actual-provider planning/partial-apply suite pass 319 tests (105.55 s). The additional document-state regression passes 161 tests (8.33 s), with nine skipped and four integration/performance/slow cases deselected. Ruff, formatting and targeted ty pass for all changed production modules; alias generation reports no stale shims. The documentation build passes. The isolated 10,000-resource construction/synthesis benchmark passes at 0.0363 ms/resource (+6.4% against this machine's prior-five median of 0.0341). This default-path measurement does not establish affected-planning performance.

These are functional payload-boundary checks, not an affected-mode performance claim. Complete summaries/topology and baseline verification still cost O(N+E), and operation/physical-ownership checks retain their existing costs. Public configuration/loading, broader scope and failure qualification, wider shadow comparisons and I1/I5 affected-mode gates remain open. Live Stategraph comparisons remain intentionally unverified.

I2 public affected scope and saved-plan routing

The App, environment, project and CLI setting now reaches the selected planner. full remains the default; invalid values, a nongraph backend or a missing/unretained baseline fail explicitly. App planning, automatic apply, embedded summaries and nf plan/apply/deploy share the controller. Stack-targeted planning reports a full-planning fallback for its requested stacks. Planning scope does not change the independently selected app-X/resource-grant policy.

The new graph_planning_frontend.py owns provider startup, capture-bound setup/refresh provenance, fresh runtime qualification and the bounded closure. Successful diagnostic reports merge only the final capture and final evaluation recorder. Unsupported work returns a full-planning reason and available closure metrics. Late fallback discards selected values/proofs, resets the provenance cache epoch and restarts providers before full evaluation. Cleanup first seen after a closure restart also requires full planning. Invalid evidence, conflicts and unexpected provider errors propagate. A backend explicitly lacking the optional planning-view/ownership APIs falls back; database read failures remain errors. The fallback scope label does not assert successful drift reads.

plan_artifacts.py dispatches both full and affected formats for public loading, CLI show/apply and embedded summaries. The class-specific full HybridPlanArtifact reader retains its complete-State contract and still rejects format 18. A saved affected file preserves reviewed nodes, selected originals and manifest evidence even when a current App/flag requests full planning. Its original admission, baseline and provider checks remain required.

Native tests cover API automatic apply, summaries, CLI plan/show/saved apply, automatic CLI apply and deploy under both grant policies, with complete engine and public/private SQL snapshot reads forbidden. Selected cloud values and outputs change; unrelated external drift and its stored row revision remain untouched. The earlier 34 saved partial failure/recovery scenarios now create and load artifacts through public APIs, with diagnostic provenance enabled. Late unsupported work and cleanup return full artifacts; unexpected planning failure refuses a full retry. The complete planning-round/runtime suites pass 93 tests (100.65 s) on PostgreSQL/AWS 6.66.0/FakeCloud.

The broader graph/hybrid/configuration/saved-format/layering/alias and complete CLI regression passes 2,542 tests (48.18 s), with 24 integration/performance/slow cases deselected. After the final backend-capability fallback refinement, the focused core/configuration/CLI selection passes 242 tests (7.61 s) and all 17 public-route provider cases (22.97 s) pass again. A prior regression invocation used a nonexistent test filename and collected no tests; the corrected run above supplies the evidence. Ruff and formatting pass for all 22 changed Python files, and targeted ty passes for the 14 production modules. Alias generation reports no stale shims. The documentation build passes. The isolated 10,000-resource construction/synthesis benchmark passes at 0.0367 ms/resource (+7.5% against this machine's prior-five median of 0.0341). It measures the default construction path, not affected-planning performance.

This closes the public routing gap for the stated runtime profile. Broader runtime/check and failure qualification, shadow matrices, affected-mode conformance and measured cost gates remain open. Live Stategraph comparisons remain intentionally unverified.

I2 paired planners and transitive stale-output review

test_graph_planning_pair_integration.py now compares public full and affected plans against the same recorded resource/identity RPC responses. An affected request missing from the tape fails; provider configuration remains live and its credential-bearing calls are not retained. The saved affected artifact applies through real provider RPCs, with direct service and output checks. Complete engine and SQL snapshots are forbidden while affected planning runs.

The twelve cases cover consumer/producer changes, create/delete, known and unknown outputs, a single-element collection, first-refresh normalization, boundary/unrelated drift, a provider setting change and preserved newer consumers. Both grant policies pass. Twenty-four immutable captures, their source/fixture hashes, reproduction commands and limits are retained under specs/graph-state/qualification/2026-11-09-i2-paired/; the native capture run passes 24 tests (40.17 s). Offline verification passes all 24 captures and 43 tests (0.12 s), including mutations of both plans' values, proof omissions, altered provider observations and hidden writes. The checker explicitly verifies the harmless deletion-input and unchanged-output representation differences; it cannot use those exceptions to permit a new write or changed value.

The preserved case found a real shared review bug: both planners omitted a downstream output from the predicted stale set, although PostgreSQL marked it stale during apply. A shared metadata-only prediction now follows retained consumers transitively, using actual closed coverage and separate value/membership changes. It preserves existing stale warnings outside the reviewed writes. Memory cases compare prediction with metadata, value, creation and deletion commits; both native plans now report the actual final stale consumers/output. The preserved apply correctly remains incomplete until the newer configurations reconcile. No admission or mutation authority changed.

The broader graph/hybrid/configuration/saved-plan/layering/alias and complete CLI regression passes 2,591 tests (48.35 s), with 24 integration/performance/slow cases deselected. The existing PostgreSQL planning-round/runtime suites pass 93 tests (101.20 s) in addition to the 24 retained paired cases. Final offline checks still pass all 43 tests after adding explicit protocol-version refusal to restored tapes. Ruff/formatting pass for seven changed Python files; targeted ty passes for all three production modules, and alias generation reports no stale shims. The documentation build passes. The isolated 10,000-resource construction/synthesis benchmark passes at 0.0366 ms/resource (+7.3% against this machine's prior-five median of 0.0341). This default-path measurement does not establish affected-planning performance.

The later fallback checkpoint below adds bounded runtime/opaque/deferred comparisons. These paired fixtures do not establish a cost improvement, live-AWS behavior or a Stategraph comparison.

I2 opaque/runtime/deferred fallback comparisons (2026-11-09)

Eight native cases pass in 17.03 seconds on source c659954c8d755be79cdf4bb7a7924126c0ac01760de8018760d52bebba6c8289. The archive specs/graph-state/qualification/2026-11-09-i2-fallback-qualified/ replays eight passes on that same source; the concrete/fallback unit suites pass 84 tests in 0.23 seconds. The current fixture hash is 41c364e016fa7a5e7b399886d9e81d3971e8499639ade922214ac39a247acd4d. Native read/plan/apply hooks check running AWS 6.66.0, and each capture records PostgreSQL's 16.15 version response. Python is 3.15.2 and core 0.8.0. Eleven evidence/result artifacts are hashed, including both JUnit files. No production runtime changed.

Four cases run under app-X and resource grants: a broad stack runtime read, a cached file path whose file is deleted, provider settings awaiting a new producer's computed ARN, and separate pre-plan/pre-apply checks. All eight affected requests explicitly fall back to full format 17. The full planner's provider messages and runtime results are replayed, with no unrecorded live reads or duplicate body effects during comparison. Full/fallback projections retain equal actions, configuration, unknowns, deferrals, original input/scope revisions and admission coverage. The complete corpus has fifty provider-message and ten runtime-observation replays.

Actual saved apply with live constructs recreates the missing file despite a no-op provider action, reruns its own pre-apply check, and completes deferred provider/consumer/output work. The broad-scope case succeeds but remains incomplete: consumer/output stale-input statuses are explicit fixture outcomes and match the persisted result. Normal preliminary/final runtime evaluations are retained separately. A cached return value cannot prove a file exists, and a planning check result cannot stand in for an apply check.

Negative controls reject mutually corrupted plans, lost input/write proofs, fabricated captured revisions/scope generations, unknown values rewritten as null, missing deferrals, replayed side effects, absent artifacts, missing saved check specs, wrong execution phases and false complete/stale reports. The earlier eight-case 2026-11-09-i2-fallback-paired/ archive is retained and superseded; it is not added again to case counts. This slice does not widen affected eligibility or promise arbitrary runtime-effect execution from a standalone saved file. Remaining I2 failure/value/index/cache requirements still need their evidence audit, alongside I5's broader workload and cost matrix. Live Stategraph comparisons remain intentionally unverified.

I2 shared payload reuse across expansion waves (2026-11-09)

The closure controller now requests only newly needed original rows. Disjoint batches may share private payload storage only under an identical complete capture; equal row revisions alone do not permit reuse across states, baselines, topology, unresolved operations or cleanup evidence. Public reads stay detached, and provider observations/proposed values remain separate from backend originals. Each consumer still owns its exact read set, including repeated shared reads.

Final validation reads complete metadata without reloading payloads and rechecks runtime qualification. A changed capture starts a fresh cache and refresh/evaluation attempt. Released baseline pins fail; a failed batch cannot certify absence or seed a later attempt. This cache is local to the planning closure and adds no persistent cache or retention protocol.

specs/graph-state/qualification/2026-11-09-i2-payload-cache/ retains two PostgreSQL structural captures. Two consumers share a 1 MiB value and discover two more inputs over three waves. The stable case reads five selected payloads once each, with five view reads; the final read has no payload query. An unrelated 2 MiB payload is never decoded. A publication immediately before final validation produces one restart, ten payload decodes across two captures and the new source value. Separate consumer evidence survives both cases. The callbacks simulate refresh/evaluation; real-provider regression results are recorded separately in the archive.

The core tests cover separate indexed instances, original/refreshed value separation, repeated missing keys, insertion after a miss, incomplete batches, baseline release and public-copy isolation. Fixed-change N=100/1,000/10,000 tests now load two payload rows rather than four, while retaining three complete metadata reads. The first PostgreSQL view suite passed 45 tests; the broader core planning/artifact/admission suite passed 619. Public PostgreSQL/AWS/FakeCloud planning and saved-apply regressions passed 96 tests in 120.92 s. This structural result does not establish a latency improvement or remove O(N + E) metadata cost. Historical benchmark captures remain unchanged. The new diamond/isolated smoke runs pass eighteen setup/sample attempts with independent service/state checks. Diamond requests explicitly fall back on unqualified context; the isolated requests remain affected and plan with one payload row. The separate graph_end_to_end_payload_cache_smoke_report.json records both outcomes. One measured repetition per adapter does not establish speed or a regression verdict. Remaining I2 gates need their requirement-level audit, including qualification for the benchmark's derived diamond descriptions; broader I5 workload measurements remain open. Live Stategraph comparisons remain intentionally unverified.

I2 built-in derived expressions and semantic binding (2026-11-09)

The benchmark's derived-expression fallback exposed a real eligibility gap. The classifier now accepts explicitly known built-in expression nodes with qualified operands and supported Terraform operations. Arbitrary callables, custom subclasses, unsupported methods/operations and opaque runtime/check bodies still require full planning. Operator symbols cannot disguise another callable. Classification never evaluates or renders the expression.

Review also found that ordinary reference intent omits declared types, although those types select operator semantics. Per-row expression context now binds reference kinds, collection element kinds, hole locations and operation shape under nf-builtin-expression-v1; provider expressions bind the same evidence separately. String versus numeric addition and indexed element-type changes invalidate that row's symbolic planning context without invalidating unrelated rows. The inline manifest round-trips these facts. Two artifact tests reject changed or removed semantic context even when all outer digests are recomputed.

The final archive is specs/graph-state/qualification/2026-11-09-i2-derived/, source fe5ba56ed9df7f0aecad57a591270b0628f9a3c6ca8d246d1ed6a374c1fe16e1. Six derived chain/fork/diamond pairs under app-X/resource grants pass, within a complete 38-case native run (62.62 s). Full observations are recorded and affected requests replay them; saved affected apply performs real provider calls. Separate service/state/output checks agree, unrelated payloads stay omitted, and planned values preserve complete ancestor provenance. There are 36 affected nodes/write demands and sixty RPC replays. Fifteen new negative controls reject missing ancestors, obsolete published revisions and matching corruption of observed/expected values. The broader core suite passes 513 cases; two additional artifact checks pass. Replaying the final captures through the 64-case checker suite passes too; this overlaps the core count.

The initial archive retains four failed direct-parent-only test expectations, followed by six passing captures before semantic binding. It is superseded and not added to final counts. The earlier diamond smoke still accurately reports full fallback for its old source build. This checkpoint closes that expression-eligibility gap; matched costs on the new implementation and the remaining I2/I5 gates still need their own evidence. Live Stategraph comparisons remain intentionally unverified.

I1/I5 derived-expression release checkpoint (2026-11-09)

The complete SSM conformance suite passes 60 native tests in 108.50 s after expression eligibility widened: 56 positive observations plus four actual corrupted-wire negative controls. specs/graph-state/histories/conformance/2026-11-09-i1-derived/ recaptures every earlier SSM schedule and adds indexed prefix/uppercase shared-read and stale-input scenarios under both policies. All four new positive slots pass; affected requests remain affected. Their expected ASCII values are computed independently of the production evaluator and bound to the original producer revision. Sixteen altered-history controls reject wrong wire values, matching wrong expected/supplied digests, missing proofs and retagged revisions. The four conformance checker files pass 221 tests. The archive retains source effc087109caafdc8c25dc55161258663b11a5cb215a0f7bd2c7cc8955de6f84, raw hashes and JUnit results. This is 28 distinct scenarios / 56 scope slots, not 56 additional scenarios; twenty-eight Stategraph labels remain not run. No production code changed in this checkpoint.

Matched capture 20261109T134957-0729703a also passes all 81 setup/warm-up/sample attempts from frozen source b82b2918288609143e8f3677e17798acc8ea2134ec7624cf4d714a599b122632. The frozen and main offline reporters verify all 164 JSONL records and 81 compressed raw files. It measures N=100 as 25 independent four-resource chains, forks or diamonds; one changed root updates its component. It does not measure an unbounded chain or fanout. All 21 measured affected requests remain affected with four fetched/refreshed/planned resources instead of 100. Complete metadata remains: six views load 606 summaries and 606 origin entries, with 89 body SQL queries versus 37 full. Setup and independently verified public resets are separately recorded.

Topology Full / affected native median Terraform full median Affected/full paired ratio (95% bootstrap interval)
Chain 3.2030 / 3.1978 s 7.4919 s 1.0007 (0.9977–1.0114)
Fork 3.2804 / 3.2265 s 7.5695 s 0.9856 (0.9763–1.0100)
Diamond 3.5086 / 3.2062 s 7.4876 s 0.9148 (0.9005–0.9176)

Chain/fork uncertainty intervals include one. Full diamond apply performs four provider mutations but 11–20 backend commit calls, including metadata work; its varying SQL/payload counts remain in tests/performance/results/graph_end_to_end_derived_report.json and the run README. The diamond result is not a planner-only causal claim. Every regression verdict is insufficient-history; seven repetitions do not establish p95. The source cohort is distinct from the older size series and diamond fallback smoke. The I1 gate for built-in eligibility is now exercised; the broader I2 failure/value/index audit and I5 size/workload/contention/failure matrix remain open. Live Stategraph comparisons remain intentionally unverified.

I2 sensitive/unknown values and structural caps (2026-11-09)

The requirement audit now lives in specs/graph-state/qualification/scoped-planning-gates.md. It distinguishes existing exact-row/cache evidence from two still-open native checks: persisted index corruption and a cleanup race against saved affected apply. Future member/path narrowing remains conditional; it is not silently claimed by the current row-level selector.

The new 2026-11-09-i2-values/ archive passes six full/affected SecureString pairs for configuration changes, boundary drift and provider-reported absence, under both grant policies. Direct and indexed prefix/uppercase consumers keep original planning proofs and final published producer revisions. Public history has equal masked displays before and after changes, while actual provider/service values and sensitive output flags remain correct. The replay checker independently reconstructs the synthetic ASCII values and binds refresh observations to service reads. Thirty negative controls reject matching value/proof corruption, false masking/flags and forged fresh responses even with updated replay hashes. Ten unit cases separately exercise actual expression resolution with missing, absent, unknown and sensitive observations; unknown refreshes fall back before evaluation instead of substituting old committed values.

Four native cases cap selection at two entries or one worklist round for an eight-resource chain. The candidate has explicit full fallback and no executable partial payload. The complete saved full plan retains every resource, emits no delete and updates the full chain only during saved apply. Both app-X and resource grants pass with zero unattributed reads. The initial fixture's serialized-dictionary access error is retained in initial-cap-failure.xml; no production fix was needed.

Final verification: 48 native tests (79.49 s), 237 core planning/view/artifact tests (9.15 s), and 141 paired/fallback checker tests (0.39 s). The latter two suites are disjoint: 378 tests, including the ten value cases and thirty new negative controls. The archive retains six paired captures, four cap observations, source/fixture hashes, raw reports and JUnit results. Source SHA-256 is 4a1f52b16cbf9e32af811ce888fb0c737208dd029bad0fc481bbc8dc47cea544. No production code or eligibility changed. FakeCloud SecureString evidence does not establish KMS encryption behavior or live-AWS security properties. Broader I2/I5 gates remain open, and live Stategraph comparisons remain intentionally unverified.

I2 saved affected apply and retention (2026-11-09)

Eight native tests pass in 16.51 s, covering a saved affected apply paused immediately before or after fixed admission while a second PostgreSQL client prunes history, optionally attempting pin release. Both app-X and resource grants run every schedule. The collector actually removes six or seven historical versions per fixture, so this is not a no-op cleanup check.

Pruning alone preserves the saved origin and permits apply. Release before admission removes the origin and refuses the saved plan without a provider call, operation reservation or publication. Release after admission is refused by the active run, while eligible history is still pruned. The six successful schedules each complete one provider mutation and the reviewed output, with zero unattributed reads and unchanged unrelated versions/service values. Complete state reads and plan rebuilding are forbidden; saved-file hashes remain unchanged. Origins are reclaimable once the successful run ends and its pin is released. Thread events and actual SQL run records witness the controlled overlap; this does not establish every SQL or in-flight-provider interleaving.

specs/graph-state/qualification/2026-11-09-i2-saved-retention/ retains eight observations, native JUnit, selection/coverage, source/fixture hashes and limits. Production/helper source remains 4a1f52b16cbf9e32af811ce888fb0c737208dd029bad0fc481bbc8dc47cea544; the new fixture hash is 5b857ff5bab0be76d1ac0d890f8c95014e6a7ec81d98406958b6f2711305a222. No production code or qualification changed. These native assertions close the named saved-apply cleanup audit; I1 recovery observations remain separate. Persisted-index corruption stays open, with explicit order-only/preserved-consumer and saved-admission acceptance criteria in the audit.

I2 persisted-index integrity and admitted provider startup (2026-11-09)

A native order-only fixture reproduced an index-integrity gap: removing a newer consumer's stored edge without changing the app frontier let an older branch omit it and update its producer. The consumer had no consumed-value input and was absent from the old desired manifest, so neither existing input checks nor current Python configuration could establish the missing edge.

Complete graph snapshots/planning views now derive expected edges independently from all live stored dependencies/inputs and compare exact membership, requiring positive reverse generations. PostgreSQL projects only the dependency list alongside existing summaries, in the same consistent transaction. Positive historical counters remain after edge removal. Both planning modes reject corruption; a fallback cannot trust the damaged index. No protocol/schema version changes.

A valid unrelated-generation control then exposed unnecessarily broad saved provider startup: the old complete capture rejected it despite matching admitted proofs. Startup now verifies the retained selected payloads/private state, exact keys, baseline, input/reverse proofs and complete grant, with a fresh metadata integrity/lifetime check. It keeps original saved values and writes; unleased selection still requires its complete exact capture.

All 48 native index/deletion schedules pass (82.18 s), including faults after admission and six destructive source-removal cases. Fourteen valid controls perform exactly one provider update each; 34 expected refusals make no operation reservation, mutation or frontier change. Both grant policies pass, and actual service values agree with state. 2,036 core tests pass (26.89 s), including 48 complete-read faults and 24 shared startup checks. The separate 517-test native regression passes (327.94 s); its 56 positive I1 histories independently recheck successfully, and four actual wrong-wire controls are rejected. The histories contain 136 calls, 206 publications, ten overlap witnesses and zero unresolved calls. Counts from overlapping historical runs are not added.

Legacy upgrade checks cover 126 distinct cases: 124 pass unchanged, and two pass after correcting an inherited SELECT * fixture expectation. Both failures reproduce on the preceding frozen b82b2918… build; the added planning_context: null column is the sole difference. The fixture now requires that addition and every original history field unchanged. No production adjustment is needed, and initial/baseline failures plus the successful rerun are retained in the archive.

qualification/2026-11-09-i2-index-integrity/ and histories/conformance/2026-11-09-i1-index-integrity/ under specs/graph-state/ retain the observations, initial failures, JUnit and hashes. Source is 58db3bf0eb52ec3c83a563783c54b954ef149e17fa2d0dac4aed8777a4d1b932; the index fixture separately hashes to 18d1c667fcd78ce18428862f0e2b57d7d2907182797963ad5f5b09d4f4acc068. Initial failures distinguish the real omission from four overly strict unrelated-revision fixture assertions, then the two valid-control startup refusals. The bounded persisted-index audit is closed; consistent forgery of authoritative rows and reconstructing positive-counter history are not claimed. Complete-read O(N+E) checks and selected startup copies have real costs: earlier frozen timings remain historical, and current-source measurement/wider I5 gates remain open. Live Stategraph comparisons remain intentionally unverified.

The ensuing current-source smoke (20261109T153248-1d7c2706) passes 18 attempts across 100-resource isolated and diamond estates, full/affected native planning and Terraform. One setup, warm-up and measured sample per combination establish no latency or p95 claim. Affected loads 10/40 planning payloads, keeps its scope and completes 10/40 actual mutations with correct service/state observations. Saved affected apply returns 130/760 payload rows and issues 746/2,846 SQL queries; complete planning metadata remains 606 summaries/origins over six views. The 18 raw captures and 38 records are imported with matching hashes; frozen/main reports agree. Frozen revision 8363dbf7abecc0d45321291ccbb6e71690876b4e retains unchanged source 6f372cc7881554d683479d12cfbd3c0d39d82878aaa32014227fd081321f077a. No CPU checks or other benchmarks ran during capture. Repeated current-source measurements and the wider matrix remain open.

I5 post-index 1,000-resource checkpoint (2026-11-09)

The same frozen 8363dbf7… / 6f372cc7… source completes capture 20261109T154230-1a4d994a: 108 passed attempts, four topologies, three adapters and seven measured samples after warm-up. All raw artifacts and 218 JSONL records are imported and hash checked. Frozen/main offline reports match exactly: twelve distributions/comparisons, no failed or incomplete attempts and no affected fallbacks. Test suites and other benchmarks were held until capture exited.

For isolated/chain/fork/diamond, full medians are 7.4890/9.4474/9.7224/12.5151 s, affected medians 5.9304/9.3641/9.5451/9.8517 s, and Terraform medians 9.7596/9.7368/9.9658/9.9312 s. Affected/full paired intervals are below one, but one chain pair is slower under affected mode. Native full is slower than Terraform in every diamond pair (ratio 1.2616, interval 1.2519–1.2663); the affected/Terraform diamond interval includes parity. These results remain separate from the N=100 negative results and do not establish general speed, equal drift inspection, stable p95 or a regression verdict.

Affected planning reads 10/40 payloads rather than 1,000, with six complete metadata views, 6,006 summaries/origins and 89 queries versus 37 full. Saved affected apply returns 130/790/680/760 resource payload rows. Full diamond makes 151–173 backend commit calls versus 40 affected, while both perform 40 provider mutations; calls include metadata work and are not published-row counts. Compact artifacts, proof costs, setup/reset costs and exact build facts are in tests/performance/results/graph_end_to_end/20261109T154230-1a4d994a/README.md and its report. The dimension-specific claim ledger and qualification/performance-matrix.md retain the wider unmeasured I5 gates. Live Stategraph remains intentionally unverified.

I5 transport correctness checkpoint (2026-11-09)

The optional zero/10 ms-per-direction Toxiproxy path passes 104 unit checks, two actual PostgreSQL disabled/restored-route and cleanup controls (7.07 s), and 18 actual-adapter smoke attempts. The v3 offline reports recheck service/state, raw hashes, both directional toxics, calibration, profile fingerprints and actual plan/apply database endpoints. No affected fallback or failed/incomplete smoke attempt is recorded. Zero-delay and delayed cohorts cannot share a regression baseline. One measured sample per cell supplies no speed or stable p95 claim.

Both smokes use unchanged source 13db5afe3395d5e8ee84c684f5ff43d7952e152ebb30c57232ea8e0f25212d8d with recorded working-copy base f39158cebd43a1162bc18bdd6730eaf8eef2420f; the content digest includes uncommitted harness changes. Captures are 20261109T164111-7fe89687 (zero delay) and 20261109T164326-df54d9dd (10 ms). The transport qualification archive hashes nine initial/native/ unit artifacts, eight source files and separately the 22 smoke records/reports/raw artifacts. Initial native failures remain archived: the server reports an IPv4 wildcard as [::]:8666. The checker now accepts both observed wildcard forms on the same fixed port while retaining endpoint, upstream and toxic checks. The 10 ms profile's real query calibration is approximately 20.45 ms; this confirms injection, not a general query-latency guarantee.

The repeated frozen-source transport measurements and wider I5 matrix remain open. This harness changes no production backend or provider qualification. Live Stategraph remains unverified.

I5 ten-root small-patch checkpoint (2026-11-09)

Capture 20261109T143216-06d98b34 completes 108 successful attempts: four topologies, three adapters, one setup and warm-up plus seven measured samples each. All 108 compressed raw files and 218 JSONL records are copied and hash-verified; frozen and main offline reports are byte-identical, with twelve distributions/comparisons and no failures or incomplete attempts. Frozen revision 4c199292d974e3a2bc1893692d7f515fcbb6d02d retains source b82b2918288609143e8f3677e17798acc8ea2134ec7624cf4d714a599b122632, unchanged at completion and identical to the preceding one-root dependent cohort. No CPU checks ran during measurement.

N=100 isolated patches change ten resources; editing ten roots in the bounded four-node chain/fork/diamond components updates forty resources. All 28 affected samples remain affected, with 10/40 planning payload reads and managed refresh/planning RPCs versus 100 full. Six complete metadata views still load 606 summaries and 606 origin entries. Complete metadata remains O(N+E).

Topology Full / affected native median Terraform full median Affected/full paired ratio (95% bootstrap interval)
Isolated 3.5839 / 3.5911 s 7.4429 s 0.9996 (0.9982–1.0067)
Chain 5.4415 / 6.0113 s 7.6392 s 1.0873 (1.0862–1.1295)
Fork 5.3166 / 5.8108 s 7.6334 s 1.0949 (1.0929–1.0985)
Diamond 5.5316 / 6.0395 s 7.6707 s 1.0893 (1.0811–1.0984)

Every dependent-fixture affected sample is slower than its native full pair; all three intervals exceed one. Isolated timing does not establish a difference. Dependent compact artifacts are about 1.15–1.18 MB affected versus 1.19–1.31 MB full, with larger affected proof sections. Saved apply retains hundreds of returned payload rows and thousands of SQL queries. Full diamond makes 46–50 backend commit calls versus 40 affected, with 40 provider mutations in each. This counter measures calls, not published row counts; the earlier one-root prose has been corrected to use the same precise definition, without changing its raw observations.

The new run README and tests/performance/results/graph_end_to_end_patch10_report.json retain all ratios, counter bounds, setup/reset costs and reproduction commands. Seven samples support only preliminary observations; drift coverage differs, p95 is unestablished and regression history is insufficient. Larger dependent estates and the remaining reconciliation/fanout/ contention/transport/failure matrix are still open. Live Stategraph stays intentionally unverified.

I1 full and affected planning conformance

The actual-provider suite now requests both planning scopes for all twelve primary and two supplementary schedules. The final run passes 30 tests (71.42 s): 28 positive cases plus the corrupted-wire negative control in each scope. Twenty-eight immutable positive captures and their offline report are retained under specs/graph-state/histories/conformance/2026-11-09-i1-planning-scope/. All pass the independent effect checks and explicit scope requirements; fourteen Stategraph entries remain not run. The source digest, runtime versions, raw hashes and reproduction commands are retained with them.

Nine primary and two supplementary scenarios actually execute affected plans. The duplicate-alias case refuses affected planning before mutation; opaque/cached-runtime and deferred-provider cases explicitly fall back to full and do not qualify affected execution. Every successful affected-request plan in an executable scenario must use format 18. The full bootstrap is recorded separately. Each mutating RPC is linked to its previously observed artifact and the engine's actual selected cache/admission state at send. Child processes expose these facts before unknown-create and replacement-gap termination. These observations classify execution; the oracle still checks effects from wire/service/publication/admission facts independently of the lease algorithm.

Inspection of the first capture found a coverage hole: the delete-race actor's empty configuration fell back to full while the competing dependent used affected planning. Merely requiring some affected mutation would have counted that as affected-deletion evidence. The strengthened checker rejects the unchanged initial capture, retained in the sibling -initial/ directory with a report of 27 passed, one failed and fourteen not run. The corrected fixture keeps an unchanged anchor resource and proves that both reviewed plans are affected. No production eligibility was widened.

The combined offline oracle/scope controls and native memory-history suite passes 159 tests (2.51 s). It includes the initial capture as a regression control and rejects erased or rewritten plan/call observations, wrong formats, missing immutable admission, hidden fallback reasons and full bootstrap calls falsely offered as affected coverage. All changed Python files pass Ruff and format checks; the documentation build passes. Production code did not change in this slice, so no performance claim or additional construction benchmark is made.

This verifies the concrete AWS 6.66.0 SSM/FakeCloud, single-state resource-grant path. Remaining I1 interleavings, wider per-type observations, structured conflict diagnostics, the complete case/type ledger and I5 affected-mode cost gates remain open. Live Stategraph comparisons stay unverified.

I1 both stale-checkout commit orders

The actual-provider fixture now tests a newer commit both before the old branch opens planning and after its saved artifact has been captured. It crosses those orders with untouched versus deliberately conflicting shared-resource edits and full versus affected planning. Every actor uses the original retained pin. Untouched saved patches can publish their independent create without rewriting the newer shared row, including its exact revision. Conflicting saved artifacts fail validation without mutation; a fresh plan from the same pin then reports changed intent requiring reconciliation. No automatic artifact rebuild hides the stale-plan check.

tests/helpers/graph_branch_evidence.py adds a versioned, explicitly declared observation contract for these bounded scalar fixtures. It checks pin continuity, original/competing value hashes, plan-open/commit order, retained revisions, independent service values and forbidden call intervals. Conflict cases require a witnessed refusal and no partial publication or dispatch. The checker imports no Netherframe implementation and does not recompute intent merging. Missing contract/setup data, changed pins, wrong ordering, rewritten newer revisions, missing service observations and partial execution all fail its negative controls. An incomplete prefix cannot qualify the schedule.

The native matrix passes 8 tests (16.77 s). All eight immutable captures in specs/graph-state/histories/conformance/2026-11-09-i1-branch-order/ pass offline verification; four Stategraph cases remain explicitly not run. The branch suite has eight positive replays, seventeen witness mutations and one incomplete-prefix control. Together with the existing effect, scope and completion suites, 164 tests pass (0.41 s). Ruff and format checks pass for four changed Python files. No production execution code changes were needed for these schedules.

The previous 38-case corpus remains immutable. This new corpus supersedes its two stale-checkout observations for branch-order qualification and adds six cases, giving 44 distinct full/affected SSM scenario slots across the archives. Wider per-type physical observations, the complete case/type ledger and broader I2/I5 gates remain open. Live Stategraph comparisons stay unverified.

I1 cancellation, failed publication and durable recovery observations

The new cancellation schedule found a real defect: a backend caller could abort a dispatched operation while delivery of its provider response was paused. The independent history oracle rejects the original, unchanged capture under specs/graph-state/histories/conformance/2026-11-09-i1-cancellation-initial/. Its report deliberately remains one failed native case and one Stategraph case not run. The failure is a safety witness, not a completed scenario and not a synthetic observation mutation.

Both backends now reject in-flight resolution through abort and commit(..., ops=...) before changing rows, history or the frontier. Dispatch also rejects resetting a call or fabricating a returned result. A completed replacement deletion cannot be aborted. Read-only imports and local moves retain their valid never-dispatched commit path. PostgreSQL schema 32 independently enforces the transition guard, including for schema-31 clients that still advertise protocol 19. The three upgrade cases preserve each dispatched stage, its immutable request and existing state/history; old direct-resolution/reset SQL fails, while verified recovery succeeds.

Every dispatched recovery now persists a fenced termination/probe observation before ingestion. It rechecks termination after the read and keeps the original call stage distinct from an actual provider response. Shared memory/PostgreSQL cases fail publication after saving that receipt, then recover with a different claimant and no provider. Both observed presence and observed absence complete without repeating the probe. Existing ownership/claim checks remain authoritative.

Real hybrid create/update cancellation cases now verify refused abort, terminal run status, incompatible app-X and resource-X admission refusals, quarantine without termination evidence, late-response retention and eventual recovery without another mutation. Create/update/replacement partial-error cases inject a diagnostic alongside the real provider response and fail SQL after the entry write. The frontier advances only for durable facts (including a replacement's earlier deletion), returned object state remains held, and recovery publishes once with tainted creates or unconverged updates. A repeated recovery is skipped. Every case runs with full and affected planning. The diagnostics and publication failures are injected; provider requests, object responses and direct service observations use AWS provider 6.66.0 and isolated FakeCloud accounts.

The backend/recovery/provider regression passed 260 tests (176.34 s). After preserving read-only import compatibility, the focused completion/upgrade/partial-error run passed 53 tests (18.16 s) and the broader graph/hybrid/configuration/alias/layering and selected CLI regression passed 2,529 tests (44.20 s). The first broad run exposed that compatibility issue and an unrelated scheduler assertion requiring an independent task to finish before a consumer. That assertion now checks the actual producer-before-consumer requirement while retaining its parallel-execution barrier and resolved-value checks; its focused suite passed 247 tests (6.00 s).

The final actual-provider/completion/upgrade run passes 87 tests (86.73 s). Its 38 immutable positive captures under specs/graph-state/histories/conformance/2026-11-09-i1-outcomes/ pass offline verification; nineteen Stategraph cases are explicitly not run. The two corrupt-wire tests remain negative controls. Sixteen affected-request scenarios require actual affected execution, with the existing alias refusal and two explicit opaque/deferred full fallbacks recorded separately.

The offline completion/oracle/scope regression passes 138 tests (0.36 s), including the unchanged initial failure and all ten new positive schedules. Ruff/format checks pass for the eleven changed Python files, targeted ty passes for five production modules, and alias generation reports zero stale shims. The documentation build passes. The isolated 10,000-resource construction/synthesis benchmark passes at 0.0366 ms/resource (+0.1% against this machine's previous-five median of 0.0366). This does not measure operation/recovery SQL costs or the remaining I5 affected/concurrent end-to-end workloads.

These supplementary schedules close the recorded cancellation and partial-result/publication gates for concrete-name SSM. They do not establish arbitrary provider/type coverage, general liveness or live-AWS behavior. The branch-order checkpoint above closes the later-checkout interleaving. Wider per-type observations and the complete case/type ledger remain open; live Stategraph comparisons remain explicitly unverified.

I1 structured conflict diagnostics

backends/graph_diagnostics.py now projects queue, proof and intent conflicts into a versioned, masked report. Both backends implement explain_lease_request for an existing live queued request; PostgreSQL uses a read-only repeatable-read transaction. The report cannot take a grant, expire ownership, change a ticket or authorize retry. It distinguishes granted holders, older waiters and unresolved operations, including the current recovery claimant. Requested/incompatible modes, namespace and plan reasons accompany the blocking run/operation; physical and auxiliary/extension key contents are masked. At most 100 conflicting keys are returned, with an omitted count.

Authoritative failed validation still uses GraphPlanBasis.problems. Its same-snapshot projection adds expected/observed row, input and reverse-predicate revisions without exposing attributes, private bytes or physical identities. Full-state preparation reports its frontiers. Intent merge reports branch/baseline/deployed fingerprints. Categories prescribe distinct actions: contention waits, stale evidence replans, changed intent needs explicit reconciliation, and retained operations need recovery. Errors carry context["graph_conflicts"]; app/stack apply preserves that data on ExecutionResult and in serialization. Existing approval, retry and saved-plan rules are unchanged.

Shared memory/PostgreSQL cases demonstrate actual queue fairness and independent progress, no permission from an empty advisory result, masking, unchanged state/tickets, retained holds after termination and through recovery claims, and refusal when diagnostics fail. Real provider tests additionally check structured results for the writer race, stale consumer and new-dependent delete refusal under both planning scopes. The complete PostgreSQL backend, diagnostic and provider-conformance run passes 217 tests (167.31 s). Its 28 positive captures pass offline verification under specs/graph-state/histories/conformance/2026-11-09-i1-diagnostics/, with fourteen Stategraph entries explicitly not run. Captures record scope/effect facts; diagnostics are asserted by the retained fixture, not by a new portable diagnostic oracle.

The broader core graph/hybrid/configuration/layering/alias and full CLI regression passes 2,620 tests (47.94 s), with 24 integration/performance/slow cases deselected. A final null-safe attachment guard preserves the original refusal if no report is available; all nine PostgreSQL diagnostic cases pass again (3.67 s). Ruff/format checks pass for 17 changed Python files, targeted ty passes for ten production modules, and alias generation reports no stale shims. The documentation build passes. The isolated 10,000-resource construction/synthesis benchmark passes at 0.0366 ms/resource (+0.7% against this machine's prior-five median of 0.0363). This measures the default construction path, not affected-planning or contention performance.

The structured projection gate is implemented for the current queue/plan/intent paths. Remaining I1 interleavings, wider physical per-type observations and the complete case/type ledger remain open, as do broader I2 qualification/shadow and I5 cost gates. Stategraph comparisons remain intentionally unverified.

The expanded PostgreSQL read/persistence/upgrade suite passes 17 tests (5.68 s). It includes a real schema-30 upgrade, a writer that advances a row while leaving the context column untouched, atomic rejection of an intent/context mismatch and durable-return recovery without another provider call. Focused memory/view/coverage tests pass 56 tests (0.29 s); the two additional hybrid pipeline cases pass (0.59 s). The broader engine/hybrid/coverage/saved-plan/selection/layering regression run passes 325 tests (9.69 s). The extended PostgreSQL selection includes 56 verified read/persistence/convergence/origin/identity upgrade cases; its historical schema-28 fixture now advertises that writer's own protocol instead of today's protocol. Eight alias/shim checks pass. Targeted Ruff and ty checks pass. These checks establish context transport and invalidation, not a provider's eligibility for skipped refresh or planning.

The subsequent static-producer/selector integration passes 1,312 core tests (22.65 s) across graph state, hybrid execution, saved plans, deferred providers, aliases and layering. Its real PostgreSQL selection passes 30 tests (38.92 s): all thirteen primary gateway/negative-control tests plus seventeen planning-view/persistence/upgrade tests. The twelve positive provider traces for that build are retained in specs/graph-state/histories/conformance/2026-11-08-i1-after-context-producer/; all pass offline verification, with Stategraph explicitly not run. The focused producer/selection suite also checks that removing opaque work cannot make its formerly unqualified neighboring rows eligible without a fresh review, and that incomplete or mismatched current qualification is refused. Ruff and targeted ty checks pass. poe bench-simple records 1,000-resource construction/synthesis at 0.0787 ms/resource (0.0102 s creation, 0.0685 s synthesis); the same-host baseline still lacks enough earlier captures for a regression verdict. This is not an end-to-end planning measurement.

The full-app collector records empty stacks, cross-stack references, outputs and separate provider source/version/settings fingerprints, with observation/import/move/variable context and semantic settings. Collection is symbolic: tests make state loading, provider loading and runtime bodies raise if called. Runtime/check declarations with reads=[] remain unqualified for omission. The focused collector/view/selector, baseline, alias and layering suite passes 62 tests (0.91 s), including a forty-wave traversal that reads the complete edge relation only once; the PostgreSQL read-interface suite passes nine tests (4.55 s). Targeted Ruff and ty checks pass. These are interface/selection gates; they do not establish full-plan equivalence or scoped apply.

I1's deferred-approval capture is in specs/graph-state/histories/conformance/2026-11-08-i1-deferred-approval/. A real SSM create supplies an ARN needed by a second provider configuration. After that round commits, the next approval expires; its later affirmative answer causes no provider call. Partial success remains explicit, and a fresh authorized run completes the second resource. The actual-provider test passes (8.01 s); offline verification covers twelve frames, two calls, three publications and no unresolved calls. A separate negative oracle control adds a forbidden publication under the expired actor and is rejected. That control is an observation mutation, not a claim that a broken backend was run.

I1's publication-wait capture is in specs/graph-state/histories/conformance/2026-11-08-i1-publication-wait/. After an actual SSM update returns, a separate PostgreSQL transaction holds the history table in SHARE mode. Publication buffers the entry/frontier and waits on its history INSERT; pg_stat_activity and the database clock witness that wait both before and after the owner's expiry. Releasing the blocker lets the final ownership check reject the transaction. Row revision, history and frontier remain unchanged, while an independent service read observes the completed cloud update. A new recovery claim commits the durable response without another provider mutation. The real-provider test passes (9.40 s); offline verification covers thirteen frames, two calls, three publications and no unresolved calls. The archived clock witness orders wait observation, expiry and the post-expiry wait. A negative observation control attributes the recovered publication to the expired writer and is rejected; this is not a run of a deliberately broken SQL backend. Stategraph remains explicitly not run.

The late-response capture is in specs/graph-state/histories/conformance/2026-11-08-i1-late-response/ (actual-provider test: 8.12 s). The provider completes the cloud update while delivery of its response is paused. Expiry and an explicit run release do not free the operation's hold: actual app-X and entry-X admission attempts remain refused after recovery claims it. The old caller cannot publish the late response. A fresh recoverer ingests its request-bound journal without another mutation, preserving the operation's request digest while advancing its recovery attempt.

The recovery-retry capture is in specs/graph-state/histories/conformance/2026-11-08-i1-recovery-retry/ (7.36 s). The first recovery claim pauses before publication, loses ownership and is superseded. The successor publishes the durable response once; releasing the older recoverer produces an ownership error, no extra version or frontier increment, and no additional mutation. Negative observation controls attributing either capture's final publication to an expired owner are rejected by the independent oracle.

The unknown-create and replacement-gap captures are in specs/graph-state/histories/conformance/2026-11-08-i1-process-death/ (two actual-provider tests: 14.05 s). A separate hybrid worker is killed with its provider process group after the service accepts a create but before the caller receives its identity, or after replacement deletion commits but before successor dispatch. Public admission and full hybrid alias/adoption attempts remain blocked after death and expiry. Explicit recovery uses termination and observed service evidence; unknown creation stays unconverged until a fresh apply reviews it, while replacement recovery retains the tombstone and a fresh apply creates the successor under a new operation. The oracle's negative completion control rejects publication while the remote mutation could still take effect.

Ownership loss and process termination are distinct observations. Native histories deliberately allow a transport send authorized before expiry to resume afterward; the retained operation still excludes conflicts and fences stale publication. A portable check must not mistake that allowed schedule for a new authorization. Separate termination observations let the oracle reject a new provider call by a witnessed dead caller without claiming that lease expiry stops remote work.

All twelve primary schedules were recaptured together in specs/graph-state/histories/conformance/2026-11-08-i1-primary-v3/ (13 live tests including the corrupted-wire negative control: 35.19 s). The subsequent 2026-11-08-i1-primary-v4/ capture adds complete public operation observations, immutable request digests, both prior/proposed SSM names, physical ownership on resource versions and four actual admission probes across the late-response and process-death cases. It passes all 13 live tests (35.47 s), and offline verification reports twelve native passes and twelve Stategraph not-run results. The oracle derives physical targets from fixture request/service fields, never production lease expansion or locator code. It rejects overlapping unresolved target reservations, request mutation/disappearance, premature resolution, duplicate live ownership and accepted incompatible admission while a hold persists. Mutation controls on all three expired-owner captures make a refused admission appear granted and are rejected. These are observation mutations, not broken SQL backend runs. The oracle/native regression suite passes 113 tests (2.38 s); replaying the 100 historical native traces plus the twelve v4 traces passes all 112 observations. Legacy traces without the new optional observations do not acquire the new coverage claims.

Two supplementary schedules are captured in specs/graph-state/histories/conformance/2026-11-08-i1-read-admission/ (2 passed, 9.13 s). Both consumers of one unchanged producer overlap at the actual RPC seam, consume its same original revision, and complete independent description updates; the producer's row version remains exactly unchanged. Separately, a barrier starts two conflicting grant attempts before either becomes visible; one is admitted, the other completes refused while the winner's RPC is paused. The winner then publishes its actual service value. Admission observations retain the accepted grant's end when the backend releases it. The independent oracle allows sequential reuse, rejects overlapping conflicting accepted grants, and rejects a mutation of the real race capture that changes both results to accepted. The updated portable/native suite passes 115 tests (2.63 s). The fixture's name/value projection does not independently certify its description field; that extra update is checked by the live test through direct SSM describe_parameters reads. The final combined build passes all 15 live tests (38.99 s) and is archived at specs/graph-state/histories/conformance/2026-11-08-i1-final-primary-and-supplementary/. Offline verification reports fourteen positive scenario captures and fourteen Stategraph not-run results. This includes the corrected termination rule, operation/ownership observations, grant lifetime checks, full-plan context producer and both supplementary schedules on the same build.

I4's executable model explores 633 states across eleven intended bounded scenarios; all pass, and each of nine disabled guards produces its named counterexample. The model suite passed 24 tests. Real PostgreSQL replays cover safe execution/refusal, actual final-fence expiry, immutable requests, fair complete grants, canonical ownership across finished runs, member cutover and consistent reads during buffered publication. The prototype also reports per-member partial completion and recovers the unresolved member under an explicit claim. All 23 PostgreSQL tests passed (8.44 s), including a forced operation-row lock wait that outlives ownership; the final fence rolls back rows, history, frontier and receipt. The current twelve replay captures are in specs/graph-state/domain/results/2026-11-08-sql-v3/; model results are in the adjacent 2026-11-08-model.json. Earlier draft captures remain identified as incomplete in that directory's README. Ruff and the documentation build passed. The cost capture is specs/graph-state/domain/results/2026-11-08-costs-v2.json: all 32 cohorts pass (one warm-up and seven measured repetitions at each actor count), with twenty renewals per actor per cohort.

Actors Median admission per actor Median renewal Median root acquisition during renewal
1 6.652 ms 1.604 ms 0.096 ms
2 11.759 ms 2.388 ms 0.659 ms
4 21.773 ms 3.719 ms 2.027 ms
8 41.475 ms 6.635 ms 4.790 ms

These are medians of the per-repetition medians, from a warm local PostgreSQL pool, two members, disjoint three-key grants and one shared read-only producer. Root acquisition includes the client query and database wait; provider time is absent. This demonstrates increasing coordination latency under contention, not scalable production throughput or stable tail latency. The first costs.json capture overlapped an offline benchmark report and is retained but excluded from the cost gate. This is an experimental module above state rows, not production multi-state support. The follow-up decision must fix publication/readiness semantics, schema and writer upgrades, member authorization, recovery and result/CLI shape, and acceptance of the measured coordination bottleneck.

The native I1 capture is under specs/graph-state/histories/conformance/2026-11-08-i1-native/. Its report and compressed raw JSON are replayable without Netherframe or a running database; the oracle imports only the Python standard library. Reproduction:

uv run pytest libs/netherframe.core/tests/test_graph_conformance.py \
  libs/netherframe.core/tests/test_graph_execution_history.py -n 0 -q \
  --nf-graph-conformance-results /tmp/nf-graph-conformance-memory
uv run pytest backends/netherframe.backends.postgresql/tests/test_graph_execution_history_integration.py -n 0 -q \
  --nf-use-containers --nf-graph-conformance-results /tmp/nf-graph-conformance-postgresql
uv run python tests/helpers/graph_conformance_report.py \
  specs/graph-state/histories/conformance/2026-11-08-i1-native/raw/*.json.gz \
  --output /tmp/nf-graph-conformance-recheck.json --missing-adapter stategraph

--require-all makes absent/unsupported comparator cases return exit code 2. A failed observation always returns 1. Existing .result.json files are ignored as input: their pass labels cannot certify a new run. Every pass needs a complete native scenario, its required event witnesses and the independent observation checks. Archive paths are immutable; a new capture uses a new folder.

I3's first slice separates locator interpretation from new-dispatch eligibility. A qualification records the resource type, key contract, bounded provider-version constraint, required namespace facts, evidence reference and experimental status. The selected release is carried from the loader or cache resolver into the live process's connection; changing the requested constraint or resolving another release later cannot rewrite that process's evidence. Plans bind the qualification and running version, with a profile fingerprint for providers whose settings are deferred. A changed sender/profile stops before dispatch. Unknown or unqualified versions retain app X on a new plan; a later deferred failure preserves completed earlier rounds instead of broadening a fixed grant.

Verification for this slice: 1,203 core/graph/provider/AWS-extension tests passed, including saved plan version/profile changes, custom binaries, malformed evidence, deferred-version refusal, legacy-row backfill, all native memory history/oracle cases and admission cases. The real AWS provider 6.66.0 with PostgreSQL/FakeCloud passed all 80 hybrid cases (90.20 s), including overlapping patches, aliases, namespace changes, imports, replacements and recovery. The I1 historical raw capture above remains unchanged and retains its original source digest. These results do not constitute a new Stategraph comparison or qualify additional resource types. The PostgreSQL admission/history suites also passed all 291 cases (77.17 s). Ruff, targeted type checking and the documentation build passed. poe bench-simple recorded 1,000-resource construction/synthesis at 0.0733 ms/resource. This host has no earlier matching samples, so the regression checker cannot yet give a verdict; this is not an I5 end-to-end graph benchmark.

Reproduction of the I3 verification:

uv run pytest libs/netherframe.core/tests/test_graph*.py \
  libs/netherframe.core/tests/test_hybrid_graph*.py \
  libs/netherframe.core/tests/test_hybrid_deferred_providers.py \
  libs/netherframe.core/tests/test_provider_resolution.py \
  libs/netherframe.core/tests/test_provider_loader.py \
  libs/netherframe.core/tests/test_provider_session_startup.py \
  libs/netherframe.core/tests/test_provider_protocol.py \
  libs/netherframe.ext.aws/tests/test_graph_identity.py -n 0 -q
uv run pytest --nf-use-containers --nf-use-fakecloud \
  backends/netherframe.backends.postgresql/tests/test_graph_hybrid_aws_integration.py -n 0 -q
uv run pytest --nf-use-containers \
  backends/netherframe.backends.postgresql/tests/test_graph_plan_admission_integration.py \
  backends/netherframe.backends.postgresql/tests/test_graph_execution_history_integration.py -n 0 -q

Next: finish I1's supplementary schedules, broader hold/ownership coverage, conflict diagnostics and portable per-type mapping. The frozen full-planning baseline is retained; I5's broader matrix and affected-mode comparison remain open. For I2, the restricted SSM runtime profile, inline manifest retention, concrete metadata/read shadow replay and a bounded closure controller now exist. The distinct partial context now evaluates real configurations and provider plans in controlled fixtures. Lazy registration and selected provider startup/refresh now have direct test coverage. Fresh symbolic runtime qualification no longer needs a full-plan bootstrap in those fixtures. The production scheduler now assembles selected candidates and ordinary coverage, and real-provider tests admit them. The public scope setting now connects recording, indexed ownership checks, review/loading and selected apply to the controller. Complete the broader runtime/failure and shadow matrices, then capture affected-mode I1/I5 evidence and costs. Keep I4's verified experimental gates separate from production multi-state support. The original goal remains open until all five initiatives pass their specified gates; absent external Stategraph captures stay explicitly unverified.

I3's second slice adds aws_cloudwatch_log_group and aws_secretsmanager_secret at AWS 6.66.0. Both preserve leading slashes and reserve fresh-allocation scopes for unknown generated names. Secret replicas, an enabled overwrite option and unknown exclusion fields retain app X. Profile fingerprints include these rules. Both prior and proposed configurations contribute to exclusion; conditional imports stay serial until readback. Locators remain interpretable even when eligibility is false. Crucially, fallback is also retained by each operation and excludes siblings, so a crash cannot release its broader mutation domain merely by ending the run.

Schema 30 introduces writer protocol 19 / queue protocol 8 and the operation request marker identity_qualification_version=1. Older request bytes/digests remain unchanged, while their effective footprint is app X. The upgrade suite verifies dispatched/returned calls, legacy narrow footprints with explicitly excluded qualification, late responses from fenced clients, queue refusal and claimed recovery. The SQL diagnostic view and Python admission use the same typed marker requirement; strings, booleans and floating-point lookalikes cannot qualify a request.

Verification: 1,215 core/graph/provider/AWS-extension tests; 105 real-provider hybrid tests against PostgreSQL/FakeCloud; 468 PostgreSQL backend/admission/history tests (two skipped); 87 qualification and ephemeral-upgrade tests; and five additional reference-plan/provider-internal fault tests all passed. The new type suite includes actual child-process death after create and an HTTP barrier inside log-group creation, before retention configuration. Killing the owner and provider there leaves the partial object protected; recovery records it as unconverged and a later apply finishes it. Unknown generated names and secret ARNs require explicit identity evidence, preserving safe quarantine rather than claiming automatic recovery. Independent saved patches demonstrate actual overlap after read normalization is recorded in their shared baseline.

The immutable inventories in specs/graph-state/qualification/2026-11-08-i3-aws/ distinguish per-instance qualification from whole-plan fallback: the three-type reference plan is 3/3 qualified and selects resource grants; the excluded-secret variant is 2/3 qualified but 0/3 under resource grants; adding an unsupported bucket gives 3/4 qualified and again 0/4 under resource grants. These are small reference fixtures, not a production workload survey. Ruff and targeted production type checks passed. The I1 historical archive above was not rewritten.

Reproduction of the additional checks:

uv run pytest --nf-use-containers --nf-use-fakecloud \
  backends/netherframe.backends.postgresql/tests/test_graph_identity_aws_types_integration.py -n 0 -q
uv run pytest --nf-use-containers \
  backends/netherframe.backends.postgresql/tests/test_graph_identity_qualification_upgrade.py \
  backends/netherframe.backends.postgresql/tests/test_graph_ephemeral_upgrade.py -n 0 -q

I1's actual hybrid adapter now covers six RFC rows, using AWS SSM provider 6.66.0, PostgreSQL and an isolated FakeCloud account. It decodes the actual wire envelope, projects fixture name/value fields, reads service identity and values with boto, and records durable versions through backend history interfaces. It imports no identity locator, lease, footprint or plan-coverage policy. Observation snapshots serialize with sends/commits, while provider calls remain concurrent; these logical histories are correctness evidence, not performance samples. Direct fixture dependencies declare the expected consumed value separately from the operation's reported input proof.

RFC case Forced schedule / assertion in test_graph_hybrid_conformance_integration.py
Independent writers Two actual RPCs rendezvous after durable dispatch; both updates survive and intervals overlap
Read/write conflict A saved consumer plan precedes a producer commit; it refuses without sending, then a fresh plan consumes the new value
New dependent during delete A deletion is planned before another run commits a consumer; the saved deletion refuses and both objects remain
Stale checkout A pinned old branch plans only after a newer shared edit; adding its independent object preserves the newer row and cloud value
Aliased object Distinct provider aliases try to claim one already managed object; refusal precedes any additional managed RPC
Opaque and cached reads A runtime expression is warmed and returned through an opaque function; after its producer changes, the consumer's wire value and recorded input revision agree
Deferred approval (separate capture above) An earlier round commits; approval expires; a late yes sends nothing, and a fresh authorized run completes the resource
Publication waits (separate capture above) A real returned update blocks on a history INSERT past expiry; final fencing rolls back state publication, then response recovery commits without another cloud call

The original six positive cases and a seventh negative control passed. The negative control corrupts the consumer's value after planning, confirms that the actual service receives it, and requires the portable oracle to reject the encoded request's consumed-value mismatch. This demonstrates that the adapter is observing transport data rather than just repeating the planned configuration. The oracle's 27 independent unit/negative-control tests also passed. The hybrid capture is under specs/graph-state/histories/conformance/2026-11-08-i1-hybrid-v2/; the initial i1-hybrid capture omitted the database build string and is retained as historical evidence. Each report marks the six Stategraph scenarios not-run; no executable/server observations were supplied.

uv run pytest backends/netherframe.backends.postgresql/tests/test_graph_hybrid_conformance_integration.py -n 0 -q \
  --nf-use-containers --nf-use-fakecloud --nf-graph-conformance-results /tmp/graph-hybrid-conformance-new

This adapter currently observes SSM name/value effects and direct-value reads, in one backend instance without external writers/pruning. It does not certify every AWS field or arbitrary runtime transformations. These initial captures did not complete the overall goal; the current delivery ledger above tracks the later captures, remaining gates and explicit external exclusion.

Where Things Stand

Phase (RFC "Phases") State
1. Rows, operations and recovery under an app lease Implemented (PostgreSQLGraphBackend, GraphStateEngine, operations, fenced ownership, quarantine, nf state recover/operations/history/show --at/query/migrate). See the completion audit for verification and supported interfaces
2. Read provenance instrumentation Implemented. Optional diagnostic report remains off by default; graph input recording is mandatory. A real AWS-provider workload against PostgreSQL/FakeCloud passed create, update and stale-branch runs with zero unattributed reads
3. Intent, baselines, three-way merge (under the app lease) Implemented: symbolic intent, consumed revisions, applied fingerprints, atomic stale marks, observations and scopes, retained pins, merge conflicts/preservation, upstream deferrals, drift policy, lifecycle trigger reconciliation and saved-plan format 17
4. Resource leases (concurrent_applies) Implemented and verified: fair queue, hierarchical grants, reverse predicates, durable footprints, recovery claims and immutable pinned-plan admission in both backends. Every new grant checks retained operation holders, including app X. The public opt-in plans unleased, acquires and admits fixed grants and retries stale automatic plans before bounded approval; independent patches overlap real AWS RPCs and proceed while another awaits recovery. Defaults and unsupported identities retain app X. Deferred approval expiry preserves completed rounds and ends the run. RPC/read audits, combined models and reference apps pass; current-source 100/1,000/10,000-consumer and 1/2/4/8-writer captures pass
5. History administration Implemented: protected preview/prune, retained baselines and checkpoints, stable filtered history pages, masked values and JSON, with pruning generations and transaction/clock regressions

The design went through five RFC revisions and three adversarial review rounds (including two by Codex gpt-6-astra); see the RFC's "What changed" tables. All 220 retained TLC configurations gave their expected outcomes, including intentionally broken variants. The original checks found five protocol bugs, all folded into the RFC. Later models compose operation DAGs, replacement halves, provider/check inputs, approval and SQL clock/grant fences. All 26 retained TLC witnesses replay against memory and PostgreSQL. The model document records the finite bounds and assumptions.

How To Run Things

TLA+ model (about 12 minutes):

cd specs/graph-state
./check.sh --java /opt/nanobrew/prefix/opt/openjdk@21/bin/java \
  --jar "/Applications/TLA+ Toolbox.app/Contents/Eclipse/tla2tools.jar"   # all 104; pass a substring to run a subset

The JDK came from nb install openjdk@21, the jar from nb install --cask "tla+-toolbox" (TLC 2.19). The Toolbox's bundled JDK is x86_64 and does not run without Rosetta.

PostgreSQL integration tests (graph backend and document backend) on podman:

export PATH=/tmp/nf_dbg/dockershim:$PATH
export DOCKER_HOST=unix:///var/folders/32/7hqy709n4p5g57c_xgjrwdgc0000gn/T/podman/grphn891-validation-api.sock
export TESTCONTAINERS_RYUK_DISABLED=true
uv run pytest -m integration backends/netherframe.backends.postgresql --nf-use-containers

The podman VM is grphn891-validation; /tmp/nf_dbg/dockershim must exist (recreate a docker shim forwarding to podman if /tmp was cleared).

Provenance report on a hybrid app: nf plan --provenance-report (or provenance_report = true in [tool.nf.config]).

On Linux with Docker available, the graph integration suite needs no podman shim:

uv run pytest backends/netherframe.backends.postgresql/tests/test_graph_backend_integration.py -n 0 -q --nf-use-containers

Phase 3: Intent And Inputs

The selected baseline workflow is a versioned nf.baseline file, with --baseline accepting a file, sequence or run override. nf state baseline pin|show|unpin manages retained origins. The file carries backend type, state ID, lineage, sequence and pin ID; it must be created from a checkout matching the deployed state. CI may maintain the file or pass a selector. Replacing the file does not unpin earlier origins that other branches may use.

  • values.intent hashes symbolic configuration before evaluation, including full reference paths, runtime function implementation/arguments, lifecycle and provider configuration name. Unknown or opaque values are refused. Successful no-ops can commit changed intent without provider calls.
  • PostgreSQL migrations 2 and 3 add intent to entries, outputs and history, and retained pins. Refresh preserves intent; document restore clears it; rollback restores prior intent; recovery can commit the operation's reserved intent without the original app. Tombstones retain intent.
  • Pins protect the versions needed at their origin. Pinning and pruning serialize on the app row; a snapshot digest detects missing pinned history. Retention keeps each entry's boundary version, allowing new pins within the retained window; older frontiers require an existing pin.
  • The pure three-way merge table drives planning before evaluating resource and output config. Newer intent is kept; newer deletions are not resurrected. Divergent edits/deletes conflict with --prefer-mine ADDRESS as an explicit resolution. Saved plans carry their baseline and kept entries, validate the pin again at apply, and still require an unchanged planned state.
  • Migration 4 stores authoritative consumed inputs, applied_fp and row/output statuses, exposes their history plus a read-only dependencies view, and fixes masking inside nested lists. Graph revision sources follow this run's commits. Empty input sets prove independence; unknown input sets remain distinct. Provider settings, observations and caches carry their provenance.
  • Independent branch changes now proceed. Changed inputs atomically version stale consumers and transitive consumers in the same commit. A result that returns after an input changed commits as stale too. Runs with the current intent reconcile these rows; successful applies report remaining stale entries as incomplete. A reservation and its dispatch both validate inputs and quarantine, including a create whose outcome is unknown while its row still appears absent.
  • Runtime functions accept reads=; undeclared functions conservatively consume app values, and reads=[] declares purity apart from arguments. Data sources accept observes= (also as an attribute on existing bindings), adding ordering edges and provenance. Scope generations hash stored values so metadata-only updates cannot cause endless scope invalidation.
  • Provider plans establish adoption convergence. Unchecked imports remain unconverged; stale or unconverged rows are planned even when their attributes appear unchanged. Saved-plan format 11 retains input evidence. Runtime-check intent describes the guard without executing it. Two-way runs also refuse known historical reversions, naming their runs and an explicit baseline override.
  • Uncertain operations, missing objects awaiting review and unresolved preserved drift defer consumers as upstream_unresolved before evaluating configuration. Provider settings, runtime scopes, observations and saved plans retain this disposition; independent changes can proceed. A preserved row needing repair waits for its current configuration. drift_correction=False accepts refreshed values for unchanged recorded configurations, committing them before their consumers; taint, replacement triggers and explicit edits still take precedence. Migration 5 retains the last operation revision separately: pending replacement triggers survive preserved newer intent, including across stacks, while metadata-only changes do not replace. Preserved deletions are checked against static references. Legacy preserved rows with unknown inputs need a reviewed apply of their current configuration before a mixed branch plan.

Validation: 4,795 workspace unit tests passed (17 skipped). All 44 PostgreSQL backend tests passed, followed by all 3 real AWS-provider tests against PostgreSQL/FakeCloud. Ruff, type checking, alias freshness, generated golden bindings and the documentation build passed. The AWS workloads exercise a generated SSM resource/data source, runtime function, pre-apply check, replacement trigger and output; they update existing state and combine an old branch's independent addition with newer state. Their create, update and stale-branch runs have zero unattributed reads. No production infrastructure was used.

An additional real AWS test creates a provider configuration from a new SSM parameter's computed ARN, applies a deferred round and updates the existing app. It found and fixed unchanged settings retaining an old input revision: graph plans now re-evaluate such settings after the input commits, even when their evaluated values stay equal. The runs have zero unattributed reads.

Lost-create recovery is now tested with the real AWS provider too: a child process creates the parameter, reaps its provider process and dies before recording the response. After its lease expires, recovery locates the existing object through the provider and commits it without creating another one. This verifies the identity source as well as process-termination evidence.

A profiled 1,000-resource create-plan probe took 2.481 seconds with the in-memory graph backend and 1.032 seconds with the document backend on this host. This measures planning overhead, not PostgreSQL throughput; repeat scale measurements after resource leasing. The tracked benchmark history was not modified.

The 104 formal configurations were rerun with TLC 2026.11.06.100558 (rev 3ec1cc4) and JDK 27. All expected outcomes were verified; two temporal counterexamples were rerun after updating the runner to recognize named-property diagnostics. See specs/graph-state/tlc_results.txt. Trace artifacts now go to the run's log directory instead of the source tree.

Phase 4: Lease Queue Foundation

backends.graph_leases encodes paths in independent values, reverse-edge and identity namespaces, with intention modes on every ancestor. The IS/IX/S/SIX/X compatibility matrix and least-mode join are checked exhaustively. Backend APIs register a run without leases, enqueue one immutable set, try to grant it atomically and release/cancel it in full before replanning. A waiting owner can renew but holds nothing; expired ownership cannot renew. Duplicate grants are idempotent, and missing any granted key prevents renewal. A younger compatible request may pass an older one; a younger conflicting request cannot. A granted set cannot grow.

Migration 6 adds queue tickets, pending/granted ownership state, retained grant sets and read-only leases/lease_queue views. Serial PostgreSQL acquisition now uses the same queue; epochs are allocated on registration and are monotonic rather than consecutive among granted runs. Queue mutations lock a run before the app row, and serialize duplicate calls on the same run to avoid share-to-update lock-upgrade deadlocks. Releasing with the wrong epoch cannot clear a grant.

Integration boundary: provider/state mutations still require whole-app X. Partial grants are tested to refuse commits. The queue does not yet transfer operation footprints into retained operation-held leases; the existing operation records remain the quarantine authority. Do not expose concurrent_applies until resource/edge generations, per-call coverage, identity/adoption scopes, deferred coverage and approval lifetime are integrated. Replace the current whole-app mutation fence with that complete protocol, not an ownership-only check.

Validation: 4,802 workspace unit tests passed (17 skipped), plus 54 PostgreSQL/FakeCloud integration tests. Coverage includes concurrent duplicate grants, reader/writer aging, disjoint passing, atomicity, cancellation, missing-key fencing, stale epochs, queued-run force-unlock, read-only queue views and the existing crash/recovery traces. A stale consecutive-epoch assumption was corrected to monotonicity. An additional role-permission check verifies nested masking even when PUBLIC cannot execute its recursive helper; the reader role receives that permission explicitly.

Phase 4: Reverse Predicates And Leased Validation

Migration 7 adds authoritative reverse edges and monotonic generations. Database triggers update them in the same transaction as resource/output writes, including administrative writes and old writers. Explicit ordering dependencies are indexed along with consumed inputs; unknown legacy inputs retain an app predicate. Broad observers remain predicates, covering future objects. A concrete reverse read combines its own counter with app/stack scope counters. Metadata-only input revision changes leave edge generations alone; removing and restoring an edge advances its counter twice. Tombstones remove outgoing edges while retaining generation evidence. Narrow predicate reads and commit-local edge deltas avoid scanning all edges on each commit.

Migration 8 adds monotonic value_revision and membership_revision to current rows and history. A reproduced scope bug missed delete/recreate cycles when final values and membership were identical. Scope proofs now hash these semantic counters, preserving ABA evidence without invalidating on metadata-only changes. JSONB numeric equality is mirrored in memory; booleans remain distinct from numbers in diffing, no-op planning and commits. Existing rows seed counters from their revisions, so old scoped proofs may need one current-configuration reconciliation.

GraphPlanBasis records expected rows, consumed proofs, reverse generations and a closed write set. Both backends validate it against a consistent snapshot under the run's actual granted leases. Values, membership and edges use independent namespaces; coarse S/SIX/X coverage is checked by capability rather than by a matching key alone. Validation detects changed cached proofs, newly added observers, edge ABA and quarantine, including uncertain absent creates. Destructive validation refuses a live consumer outside the write set, including outputs. Unrelated commits do not invalidate a narrow basis. This API does not grant mutation permission: provider/state mutation still requires app X, and hybrid apply does not yet acquire partial footprints or use this API instead of its global saved-state check.

A second reproduced bug left consumers stale when an upstream's symbolic intent changed but its value did not: the old end-of-apply intent write came after the consumers. Graph no-ops now retain their refreshed entries/configuration and commit during the dependency walk. Their consumers record the committed revision; saved plans without live constructs carry planned metadata proofs through transitive no-ops. Providers and observations with such dependencies are reevaluated after the commit, rather than retaining cached old evidence. A no-op whose evaluated configuration has changed since planning fails before any provider mutation. Saved-plan format 12 prevents older readers from silently omitting these checks; old graph no-op plans missing their evidence require replanning.

The implementation boundary remains resource footprints, canonical identity/adoption scopes, operation-held full quarantine, no-growth deferred coverage, pre-approval validation/replanning, bounded approval lifetime and consumer-safe history restore. No concurrent-apply setting is exposed.

Validation: all 62 PostgreSQL/FakeCloud integration tests passed, including a real AWS provider whose unchanged settings consume an intent-only changed parent. Unit regressions cover live, saved, detached saved and stack applies, resource/output consumers, cached observations and configuration changes after a no-op plan. The full workspace run passed 4,831 tests (17 skipped); three subsequently added direct/scoped uncertain-absence cases also pass, along with the analogous new PostgreSQL test. Ruff, type checking, alias freshness and the documentation build pass.

Phase 4: Grant Lifetime After Mutation

The run cannot release its grant and request a different footprint after its first mutation, including when every operation has already resolved. Before mutation, cancelling the whole grant and replanning remains possible. A reservation cancelled before dispatch and a failed commit do not close that window; a returned provider error does. Ending the run still releases its grant under the existing quarantine protocol.

Migration 9 records the first dispatch or committed state transaction in nf_run_mutations. Triggers write the marker atomically with the existing operation/commit records, so older writers also supply the evidence. The marker is separate from the ownership row: concurrent operations can retain SHARE fences without upgrading them to UPDATE and deadlocking. The queue acquires the run's UPDATE lock, then reads the marker in a fresh statement; a release that waited for an in-flight commit cannot use its earlier snapshot to miss that commit. Existing mutation evidence is backfilled conservatively, and runs exposes its timestamp/cause. Memory follows the same rule.

Real PostgreSQL tests cover committed writes, a dispatched call that returned an error, cancelled reservations, failed transactions, a release waiting behind a commit, concurrent dispatches within one run, and a version-6 upgrade preserving mutation evidence. This closes the storage grant-lifetime gap; full deferred-action footprint coverage and operation-held quarantine remain pending.

Validation: 4,837 workspace unit tests passed (17 skipped) and all 68 PostgreSQL/FakeCloud integration tests passed on this revision. Ruff, type checking, alias freshness, whitespace checks and the documentation build passed. The existing 104 formal configurations remain the prior model evidence; this change adds implementation race coverage without expanding the model's scope.

Phase 4: Canonical Object Ownership

Provider aliases no longer define ownership for resources with an explicit identity contract. Canonical keys combine normalized provider source, concrete namespace, resource type and a typed object key. Declarative locators persist with rows and operations, so returned-result recovery derives the same keys without the original app or plugin. Optional returned scope assertions also survive that path. Unknown/opaque identities fail closed; exact numeric keys preserve JSON storage semantics and distinguish booleans. Saved-plan format 13 retains the ownership evidence.

The optional nf.graph_identities registry loads typed contracts atomically and fails closed on broken registrations. Provider scope facts are shared across planning workers but refreshed under each new ownership period, including saved-plan apply. Scope changes refuse refresh/mutation; contract key changes require explicit migration. Core's built-in GeneratedValue contract declares fresh allocated UUIDs. The AWS extension initially covers SSM parameters, proving account/partition through the actual configured provider's caller identity and using resource/configured region plus normalized name. Provider import identity schemas alone do not attest allocation semantics.

Chosen keys must be known before creating. Unknown allocated keys reserve identity-scope X; creates also retain adoption-scope S, conflicting with imports' X. Same-run fresh births may run together, while reservations/dispatches still serialize duplicate keys and adoption conflicts. Unresolved operations retain those checks after ownership ends. Recovery compares multiple returned allocations against their original run to avoid self-blocking; each ingest must commit its owned, fenced operation and stay within that operation's resource footprint. Tests reject omitted, unknown and unrelated operation IDs and operation IDs attached to output writes. Contradictory returned scope facts stay quarantined while independent returns are ingested; loss of the recoverer's ownership is terminal, including during result ingestion.

Unknown legacy ownership blocks canonical cloud mutations of other objects of that provider/type; a reviewed state-only no-op of the current configuration establishes it. Existing attributes, provider identity, private state and intent are preserved; canonical duplicates cannot be waived. Migration 10 indexes canonical/legacy candidates and prevents older writers from reserving/dispatching calls or downgrading resource ownership. Already-dispatched old calls may record their result so recovery does not lose it. Reservations and row commits serialize on the app row; provider calls run outside these short transactions.

Real AWS tests cover same-object aliases (including duplicate fresh creates), identical names in different accounts/regions, cross-account adoption, deferred provider configuration and lost-create recovery. They exposed an emulator defect: FakeCloud 0.45.1 stored SSM parameters per account only. A direct SDK probe reproduced regional values overwriting one another; the same probe passes on 0.51.0. The shared container default is now 0.51.0, whose SSM implementation is regional. The broader core AWS/backend/discovery compatibility run passed 95 tests (one skipped).

Validation: 4,876 workspace unit tests passed (17 skipped) and all 86 PostgreSQL/FakeCloud integration tests passed. Ruff, type checking, alias freshness, whitespace checks and the documentation build passed. The existing 104 model configurations remain the prior formal evidence; the current identity/allocation changes add implementation tests without expanding the model's scope.

A three-run in-memory planning probe with canonical contracts measured medians of 0.180/1.855 seconds for 100/1,000 creates and 0.279/3.186 seconds for 100/1,000 updates. These include saved-plan construction and show approximately linear growth at these sizes; they are not PostgreSQL scale measurements or directly comparable with the earlier profiled fixture. No tracked benchmark history was modified.

Boundary: unsupported provider/resource contracts retain serial compatibility. No partial grant may mutate state or providers yet. Full operation-held lease footprints, per-call coverage, up-front deferred scopes, bounded approval/replanning and history administration remain required.

Phase 4: Durable Operation Footprints

Unresolved operations now retain normalized lease footprints in their immutable requests. These cover write addresses, consumed resource/output values, value and enumeration scopes, membership changes, reverse predicates, changed outgoing edges and object/adoption scopes. Replacement footprints include both removal and restoration of outgoing edges even when their final set is unchanged. Moves conservatively retain app-wide value/edge coverage until their dependent rewrites are enumerated by the full plan's write set. Missing input evidence takes a broad value read.

Reservations, dispatches and explicit state transactions validate footprint coverage under the actual grant and refuse conflicts with another run's unresolved operations. The app row serializes these checks with state writes, closing the gap in which a successor could mutate an old call's inputs even though the old address itself was quarantined. Leased plan-basis validation checks retained footprints too. Operations sharing a live run continue to use its dependency ordering; canonical object/address exclusion still applies within that run.

Footprints survive release, expiry and recovery takeover; they do not depend on expiring rows in nf_leases. Each unresolved operation retains its own copy of shared keys, so settling one does not release another's read. A recoverer can ingest settled results of the same original run together, including conservative legacy footprints. An in-flight sibling remains protected even when that recoverer already took its ownership. State validation failures remain quarantined and do not stop independent recovery; loss of recovery ownership is terminal.

Migration 11 prevents request/digest edits, advances the required writer protocol, and exposes operation_leases as a read-only view. Existing operations with no footprint remain unchanged, conservatively holding app X until recovery resolves them. Old writers cannot dispatch or write resource state, but in-flight calls can still return their results. In-memory operation views and reservations copy nested request/result data so callers cannot mutate durable footprint evidence.

Tests cover resource/output inputs, broad value and membership scopes (including future members), disjoint-state writes, reverse edges, shared reads, an expired owner and a crashed recoverer, immutable requests, obsolete writers, a version-10 database upgrade and two legacy returned results ingested without rewriting their requests. The fake-cloud operation driver now explicitly declares its concrete requests independent of graph values; separate unknown-provenance tests retain the conservative broad behavior. Recovery can also finalize operations that make no graph writes while legacy siblings retain coarse keys; requiring a graph-write footprint for that bookkeeping alone would deadlock recovery.

Lease-path encoding/decoding uses bounded caches of immutable keys, and joining already normalized footprints avoids reconstructing their ancestors. Exhaustive mode/hierarchy combinations check that this union is identical to rebuilding a normalized demand set.

An isolated, unprofiled in-memory replacement probe verified successful complete applies of 1,000 resources with no unresolved operations. Three serial runs per revision measured medians of 5.026 seconds at bd9b4bc2 and 5.737 seconds with footprint protection (about 14% overhead); the 100-resource samples took 0.309 and 0.347 seconds. Logging was disabled, module paths were checked, and the parent source was exported to /tmp without changing the worktree. Earlier timings overlapped tests and are not used for this comparison. These are not PostgreSQL throughput measurements; no tracked benchmark history was modified.

Validation: 4,892 workspace unit tests passed (17 skipped) and all 95 PostgreSQL/FakeCloud integration tests passed. The existing 104 formal configurations remain prior evidence; the model still needs the multiple-operations and approval/clock extensions.

Boundary: operation footprints currently guard mutations/validation after run-grant admission. The queue still admits a serial app grant to inspect/recover old operations. Complete up-front plan and deferred-action footprints, recovery-aware queue admission/ownership transfer, approval timeout and bounded replanning are required before partial grants may mutate. Audit finalization evidence for provider errors with partial state and failed persistence as part of that protocol integration. No concurrent-apply setting is exposed.

For the queue integration, the existing model's RTakeover keeps held unchanged: recovery inherits the operation's retained coverage through fenced takeover instead of requesting a new conflicting grant behind an ordinary waiter. Preserve that property when adding operation holders to admission. Recovery writes must fit the inherited footprint; new calls cannot grow it. Extend the model to several operations per run before treating the queue/recovery integration as complete. Removing the serial recovery grant also requires explicit checks on the liveness of the current recovered_by owner and operation-attempt fencing when a run registered before a newer recovery claim. The current app-X grant supplies that serialization; do not remove it without those checks.

Phase 4: Recovery Claims And Inherited Coverage

Recovery registers renewable ownership without requesting a new run grant or queue ticket. It inherits each operation's retained footprint through fenced takeover, following the existing model's RTakeover rule. Independent recoverers can resolve different operations concurrently. Ordinary provider/state mutations remain behind the app-X integration gate.

An explicit OperationClaim(op_id, epoch, attempt) accompanies each recovery mutation through Ownership.for_operation(record). The operation epoch advances independently of registration order. Matching a numeric run epoch alone confers no operation ownership; stale attempts are fenced even when their registration remains live. Takeover refuses a live original owner (including the caller's own original run) or a live competing recoverer. It locks their registration rows before deciding liveness, so an uncommitted renewal cannot be mistaken for expiry. PostgreSQL tests observe the actual blocking lock before releasing that renewal.

Claims permit only their operation's explicit resource writes, resolving within its inherited value/identity/edge/membership coverage. They cannot dispatch a new mutation, overwrite a response, request another grant, borrow another claim or write an extra reference/object outside that set. Settled same-origin recovery results still coexist; an in-flight sibling remains protected. A create's own result uses its retained adoption S coverage rather than acquiring import X.

Updates now retain membership X as well: recovery may have to record the object gone. A version-11 update without that capability instead retains tainted tracking for reviewed recreation. Its immutable footprint is preserved, and recovery does not grow it or remove unleased membership. The older complete-app fallback remains recoverable too.

Migration 12 advances the writer protocol and protects operation ownership/resolution updates. Obsolete writers cannot steal or finalize a newer claim. An original call already in flight may still return its response after an online upgrade. Registration epochs continue to fence run commits/renewals; operation epochs/attempts fence the claimed operation independently.

Two recovery-path bugs found while testing are fixed. Finalization no longer aborts a partial error result after a failed commit, including the create half of a replacement. A response that could not be stored remains quarantined and its errored file remains available; recovery does not apply unrelated errored-state edits without a run grant. Operations now retain sensitivity paths before dispatch. Providerless recovery preserves them, adds current-schema paths when available, and masks all attributes for legacy requests with unknown evidence. Missing/malformed schema masking fails closed. Real rolled-back PostgreSQL writes verify tainted partial results, private state, identities and masking in both current and history views.

Validation: 4,915 workspace unit tests passed (17 skipped) and all 111 PostgreSQL/FakeCloud integration tests passed. Ruff, type checking and alias freshness passed. The existing 104 formal configurations remain prior evidence; multiple operations per run, approval lifetime and clock extensions remain outstanding.

An isolated normal-apply probe verified complete 1,000-resource replacements with no unresolved operations, running parent 1c45428c and current sources serially with logging disabled. Three-run medians were 6.413 and 5.863 seconds (individual parent runs: 5.842/6.413/8.014; current: 5.863/5.750/6.167). No slowdown was observed in this probe; the variance does not establish an improvement. PostgreSQL/recovery scale measurements remain pending. No tracked benchmark history was modified.

Next integration boundary: ordinary queue admission must include operation holders, and the planner must produce complete up-front footprints before ordinary mutations can use partial grants. Do not remove that gate based on recovery-claim tests alone. The remaining work includes bounded approval/replanning, deferred-action coverage, recovery of kept responses from errored files, consumer-safe checkpoints, history administration, expanded model/history evidence and PostgreSQL scale measurements.

Phase 4: Up-Front Plan Coverage

Saved-plan format 14 records graph_state.coverage, containing the initial frontier/lineage, GraphPlanBasis and explicit reasons a configured unsupported provider/type needs serial coverage. The builder collects value and metadata writes, satisfied targets, consumed revisions, reverse predicates, outgoing edge changes, membership and canonical object/adoption scopes. It closes metadata-only writes through consumers. Preserved outputs whose change record was removed stay preserved; quarantined/upstream-unresolved nodes are excluded from independently runnable work.

Deferred updates cover possible replacements; deletes remain covered without live constructs. Static resource/provider references, declared runtime/check scopes, data-source observations and ephemeral inputs retain their managed-input coverage through later rounds. Unknown chosen keys reserve identity-scope X, without weakening the dispatch contract's requirement for a concrete chosen key. A pending provider uses source/type prefixes that cover its later concrete namespace. Such a provider still needs a canonical contract before resource-level mutation is allowed; the new coverage does not waive that future per-call gate. Unsupported configured types retain root X.

Reviewed no-op refreshes, forgotten externally deleted resources with no plan node, output writes, observation cleanup and legacy output-metadata cleanup are included. operation_state_footprint shares the graph portion of a real operation's coverage with the planner; concrete operation requests still add and validate strict cloud ownership evidence. Actual operation footprints from saved fake-provider plans, deferred provider rounds and real AWS SSM creates/updates/replacements are checked as subsets of the initial plan coverage.

GraphStateEngine.planning_snapshot() copies rows and their proofs from the engine's loaded frontier. Planning no longer takes a newer backend snapshot while evaluating older cached values. Planned input proofs validate their initial revisions, and the nodes retain materialization marks for prerequisites this plan writes. Tests cover unrelated commits, changed consumed revisions, satisfied versus preserved targets, unknown identities/namespaces and cleanup without constructs.

Integration gate remains: ordinary applies still hold app X and saved plans still validate the global fingerprint. The new coverage is serialized and tested, rather than being permission to mutate under a partial grant. Next: queue admission against retained operation holders, granting the initial coverage, leased validation/replanning, bounded approval and strict before-call/round coverage checks. Do not remove the gate based on these footprint-subset tests alone.

Validation: 4,939 workspace unit tests passed (17 skipped); all 111 graph PostgreSQL/FakeCloud integration tests passed. The eight real AWS-provider integration tests were rerun after the final preserved-output fix and passed. Saved-plan tests check every actual resource and output write, not only the reserved operation footprints. Ruff, type checking, alias freshness and the docs build passed. The formal model is unchanged and was not rerun; its outstanding multiple-operations-per-run, scoped runtime/check reads, approval and clock cases still apply.

An isolated in-memory probe applied complete 1,000-resource replacements, checking success, resource count and the absence of unresolved operations. Parent 0a37c62c took 5.944/8.391/11.247 seconds; the new coverage took 5.955/5.780/7.528 seconds. No slowdown was observed; the variance does not establish an improvement. This does not measure PostgreSQL or recovery throughput. No tracked benchmark history was modified.

For the next integration, keep the initial grant separate from later rounds' newly built coverage. Later coverage is checked against that original capability; it must not replace or grow it. Unconfigured providers need mandatory contract validation once configured. Audit scoped reads against sibling operations in the same run as well as foreign runs, rather than treating a shared run grant as evidence of safe node ordering. Errored-state reconciliation and state administration still need explicit grants; unleased planning must not silently execute those writes.

Phase 4: Immutable Plan Admission And Guarded Partial Mutations

GraphStateBackend.admit_plan() fixes one validated GraphPlanAdmission to a run and enables partial-grant mutation. Registration, a grant or validate_plan_basis() alone still confers no mutation permission. Admission checks the actual complete grant, retained baseline, rows, inputs, reverse predicates, auxiliary state and quarantine atomically. Every reserve/commit must fit the closed write set, and every dispatch must use a declared possible action. This remains enforced under a broader root grant. All admitted resource writes/calls require authoritative inputs and canonical contracts; root capability does not waive those contracts. Legacy ownership is bootstrapped through the existing serial path first. App migration and recovery require their separate protocols.

Migration 13, writer protocol 4, adds immutable runs.admitted_plan and exposes baseline and plan basis in the read-only runs view. It refuses obsolete admission writers and plan replacement after reservation/mutation. Original in-flight calls can still return after an online upgrade. An active admitted run protects its retained pin. The PostgreSQL unpin/admit race is tested by observing an actual blocking database lock before allowing admission to commit.

Ownership checks read the database clock and exact grant after acquiring the run lock. A statement that started while ownership was live cannot renew it after waiting past expiry, and a mutation waiting behind grant release observes the released capability. Native tests hold actual PostgreSQL row locks across expiry for renewal, queueing and mutation, and also exercise release while a mutation waits.

GraphStateEngine.register() provides renewable, unleased planning ownership without errored-state reconciliation. acquire_plan() queues, waits with a finite timeout and admits; timeout cancels its ticket, and stale admission releases the whole grant before any provider call. discard_plan() reloads a fresh snapshot, but backend mutation markers prevent releasing/replanning after the first dispatch or commit. Initial snapshot failures now end registration and stop the heartbeat in both entry paths. Local operation specs are copied so later template mutation cannot alter a kept response's request digest.

Saved-plan format 15 adds explicit auxiliary expectations and permitted mutation actions. Cache/metadata fingerprints are validated before admission. Testing actual cleanup exposed a prior footprint bug: record_metadata_removal() replaces the whole map at (metadata, metadata), not an individual field. Coverage now leases and validates that map. Deferred adoption covers its possible actions and unknown old-object keys; refreshed/adopted before-objects retain their identity coverage too. Updates/replacements of newly adopted objects carry an adopting marker and retain adoption X rather than losing it because their ledger action is update/replace.

Admitted sibling operations cannot mutate one another's live consumed values, even within the same run grant. A conflicting reservation raises a transient StateLockError and writes no operation; the hold lasts through returned results until durable commit. Attested fresh allocations may coexist in their original run by weakening only allocation identity-scope X to IX for that local comparison. Membership, value, edge and adoption holds stay intact. This does not weaken cross-run holds or admission and does not implement the frontend's retry/scheduling policy yet.

The native allocation test also exposed unknown values being stringified by PostgreSQL storage. Requests now carry encoding version 1 and preserve unknowns as null plus unknown_values markers, keeping literal "UNKNOWN" distinct. Unknown apply responses are retained with markers and stop the node before state commit. Providerless recovery quarantines them. A known object can be refreshed; an unknown identity requires an explicit import ID. Only a successful, fully known read is ingested; invalid create responses are recorded tainted and invalid update responses remain unconverged for configuration reconciliation. Unknown committed values are rejected by admitted state writes.

Shared tests run the same protocol in memory and PostgreSQL: actual overlapping disjoint operations both commit, aliases of one object cannot both get permission, stale plans release/replan, broad grants cannot escape the write/action set, missing unrelated lease keys fence calls, pending contracts and unknown inputs fail before dispatch, baseline pins survive admission, metadata is checked, and independent admission/recovery continues beside a retained returned operation. Additional native tests exercise database admission guards and the actual pin/unpin race.

Provider alias checks now bind the before-object to the client that will actually send the RPC. Scope-equivalent aliases can transition, including metadata-only no-ops; another namespace is refused before mutation. A no-op records the new provider reference only after proving continuity. Returned unknown responses now cause recover_operations() to load providers too. Recovery refresh/import probes validate the actual configured scope before reading, preventing the same ID in another namespace from being mistaken for the original object. Fake providers with distinct physical namespaces test both positive aliases and rejected transitions, and recovery restores the original object only with its original namespace.

Validation: 4,970 workspace unit tests passed (17 skipped) and all 143 PostgreSQL/FakeCloud graph integration tests passed, including 32 native admission cases. Ruff, type checks of changed production modules, alias-shim freshness and the documentation build pass. The existing formal model is unchanged; its earlier 104-configuration verification does not cover the new multi-operation or ownership-clock cases yet.

An isolated serial compatibility probe ran a 100-resource warm-up and three 1,000-resource replacement applies per version, checking complete state and no unresolved operations. Median apply time was 8.57 s on parent 52f53b48 (8.42–10.06 s) and 7.03 s here (6.51–7.88 s). No regression was observed in this in-memory workload; it does not measure admitted-plan or PostgreSQL throughput, and the timings are not evidence of a general speedup.

Still required before exposing hybrid concurrency: integrate these primitives with unleased planning, ordinary queue admission against retained operation holders, immutable initial coverage across rounds, bounded replan/approval and transient sibling-conflict scheduling. The queue's grant rule still only includes run grants/older tickets; mutator admission rejects retained conflicts after grant and before mutation. Ordinary serial compatibility remains on its original app-grant path. No root-X exception was added to a purported operation-aware grant rule.

Further integration audits: distinguish live foreign operations from quarantine during planning (quarantined() currently treats every unresolved record alike); preserve new unrelated outputs/ observations when refreshing a run's snapshot; reconcile kept errored responses by immutable request identity; and audit conservative retention for unsupported legacy ownership. Audit legacy records created before encoding version 1: an already-stringified UNKNOWN is ambiguous and must not be assumed a real identity. Use retained immutable claims/footprints and verified reads; do not rewrite their request or digest. The model's multi-operation, runtime/check, approval and clock extensions, history-safe checkpoints/admin and PostgreSQL scale measurements are still part of the full goal. Include service-endpoint/namespace continuity in the AWS contract audit before enabling concurrent applies, rather than inferring it from credential hashes. Audit invalid successful responses that contain no object as well as explicitly marked unknowns when completing the recovery matrix.

Phase 4: Unleased Standalone Planning

create_plan_artifact() and create_stack_plan() register renewable graph ownership without acquiring a grant. Provider planning runs outside a database snapshot, while cached state and all row/input/reverse-edge proofs retain their original frontier. Two planners can overlap while an ordinary writer holds app X. Planning failures end registration and stop the heartbeat; kept errored state is not reconciled or removed by a read-only plan.

The two-way stale-code heuristic previously queried the latest retained intent history, which could include a commit made after the captured rows. known_intent_run(sequence=...) now bounds that lookup to the planning frontier in both backends. A concurrent future intent cannot be misclassified as a historical reversion. This remains the documented limited two-way heuristic; pinned origins provide the complete branch protection.

Unit tests cover simultaneous planners, writer commits during app/stack planning, failure cleanup, kept files and the future-history race. Real PostgreSQL/AWS-provider tests run both planning entry points while another writer commits, then verify the original row proofs are stale under a grant.

Validation: 4,980 workspace unit tests passed (17 skipped) and all 145 PostgreSQL/FakeCloud graph integration tests passed. The native run emitted three asyncpg Pool._maintain_min_size unawaited-coroutine warnings during reverse-edge tests; their cause is not yet established. Ruff, changed-source type checks, alias-shim freshness and the documentation build pass.

The 1,000-resource create-planning probe initially varied substantially with unrestricted CPU placement. A sequential before/after/after/before comparison pinned to CPU 0 used a 100-resource warm-up and six measured plans per version. Medians were 1.297 s on parent c6568185 (1.185–1.303 s) and 1.322 s here (1.191–1.342 s), about 2% apart. Same-process profiling of the old grant path and unleased registration also showed equivalent work. This is an in-memory planning probe, not a PostgreSQL or concurrent-apply throughput measurement.

Next frontend boundary: apply still plans under app X. Move that pipeline to registration, atomic acquisition and validation before approval, with bounded replanning and approval lifetime. The untouched-target projection and already-admitted execution boundary are implemented below. Operation-aware queueing and initial coverage across all deferred actions remain part of the gate before exposing the concurrency setting.

Phase 4: Admitted Hybrid Applies And Patch Projection

Hybrid app and stack applies now recognize an existing engine admission. They validate the exact baseline/basis and captured artifact lineage/frontier under the complete grant. An unrelated commit no longer trips the global serial check for an admitted patch. Different plans, missing coverage or state evidence, changed frontier declarations and lost grants still fail before a provider mutation. Ordinary unadmitted applies retain their existing app-X pipeline.

Saved-plan format 16 projects three-way UNCHANGED targets after the write/read closure is computed. Untouched targets are not leased or re-evaluated as no-ops; actual consumed values stay shared and satisfied patch targets remain leased. Drift, metadata, status and transitive input-revision repairs remain writes. The projection survives serialization, live-resource reattachment and output cleanup. Deferred context refresh retains the initial untouched decisions.

Actual AWS testing found that create returns tags=null and the first refresh returns {}. That factual repair correctly joins X; it must not be hidden to manufacture disjoint plans. The concurrent workloads record that initial serial repair, then pin their stable common origin. They verify two authorized/dispatched AWS updates overlap under independent resource grants, both output patches commit, the remote parameters match, and provenance has zero unattributed reads. Both whole-app and direct stack entry points are exercised.

Saved-patch tests then commit another branch before registering/admitting the saved plan. They verify the unrelated resource/output revisions survive. Newer undeclared outputs, observations and legacy metadata revealed another cleanup gap: scanning the newly loaded state attempted out-of-plan deletions after RPCs. Cleanup now preserves keys outside the initial admitted write set; the backend still fences every actual write. The same preservation is verified in memory and PostgreSQL/FakeCloud.

Native revalidation testing also reproduced SerializationError when a repeatable-read ownership lock waited behind a valid heartbeat renewal. Validation now obtains the run lock under read committed and holds the app counter shared only for the short consistent proof read. An actual blocking-row-lock test verifies renewal can complete and validation succeeds afterward.

Validation: 5,002 workspace unit tests passed (17 skipped) and all 150 PostgreSQL/FakeCloud graph integration tests passed, including 14 real AWS-provider cases and 33 native admission cases. Ruff, changed-source type checks, alias-shim freshness and the docs build pass. The formal model remains unchanged; these execution histories do not replace its remaining multi-operation, clock, provider/check and approval extensions.

The legacy in-memory replacement-apply probe checked complete state and no unresolved operations after 1,000 resources. Timings varied initially. With CPU 0, a fixed hash seed and counterbalanced before/after/after/before runs (100-resource warm-ups, four measured applies per version), medians were 5.40 s on parent bcf58015 (4.47–7.09 s) and 4.69 s here (4.50–5.89 s). The final adjacent current/parent pairs were both about 4.5 s. No consistent regression was observed in this compatibility workload; this is not evidence of a general speedup or admitted PostgreSQL throughput.

Remaining integration: automatic unleased apply planning, uniform operation-aware queueing, bounded stale-plan retries and approval lifetime, transient sibling-conflict scheduling, all deferred/check/provider-setting coverage, history-safe checkpoints/admin, model extensions and PostgreSQL scale verification remain required. No concurrency setting is exposed yet. The new execution-history tests explicitly register/admit through the engine protocol before calling the ordinary hybrid apply entry points; they do not establish that automatic acquisition is finished.

Recovery: Identity-Bound Kept Responses And Per-Run Journals

An audit before automatic grant acquisition found that kept provider responses were not ingested, and an ordinary errored-state reconciliation could strip an operation ID from a saved write and replay it after that operation resolved. Operation-backed writes now always remain bound to their operation. A resolved operation permits acknowledgment of its matching evidence, never another application of that write. Unresolved or identity-less writes remain available for review/recovery.

Kept responses now carry their original operation ID, run, epoch, address, action, immutable request digest and exact call stage. Memory and PostgreSQL expose the stored reservation digest. A recovery claim can restore a matching response into the ledger before normal ingestion, without dispatching another call or acquiring a new grant. Verification preserves the original request and footprint, fences stale claims and cannot replace a different durable response. A replacement's old delete response cannot complete its later create. Conflicting responses, legacy evidence and ambiguous pre-encoding requests require verified recovery. State moves do not have provider responses to restore. Unknown result markers retain their existing verified-read/import gate.

Each run writes an owner-only, atomic cumulative journal under errored.tfstate.d/<run-hash>.json. The familiar errored.tfstate is an exclusively created initial snapshot; it is never overwritten by a new run and may be older than its journal. Recovery reads both and prefers a journal only when it covers every fact in the mirror, including operation identity. No evidence file is moved out of recovery's search paths. .processed markers acknowledge individual records and the exact completed snapshot; late responses cannot be hidden by an older acknowledgment, and a pending response does not replay already handled outputs. Malformed and foreign evidence stays intact. Journal retention/cleanup remains part of history administration.

Schema migration 14 requires writer protocol 5, fencing old resource writes, operation reservation/resolution and plan admission so an older core cannot replay a bound write as a plain edit. An original in-flight call may still record its response after upgrade if its epoch/attempt have not been taken over. All writers sharing a database must upgrade.

A real AWS-provider test creates one SSM parameter, then injects database failure through both return recording and state commit. Providerless recovery ingests the exact kept state, private data and identity. The remote parameter remains version 1 and the mutation call count remains one. Memory and native histories also cover concurrent runs sharing an output directory, partial acknowledgment, aborted operations, malformed/legacy/conflicting evidence, wrong call stages, idempotent restoration and explicit current claims. The formal model is unchanged.

Validation: 5,024 workspace unit tests passed (17 skipped) and all 171 PostgreSQL/FakeCloud graph integration tests passed, including 15 real AWS-provider cases. A final native admission/recovery run passed all 52 cases after the last evidence-validation refinement. Ruff, changed-source type checks, alias-shim freshness, whitespace checks and the documentation build pass. These runs emitted no pytest warnings.

The 1,000-resource in-memory replacement probe verified complete state and no unresolved operations. Counterbalanced parent/current/current/parent runs on CPU 0 with a fixed hash seed, 100-resource warm-ups and six measured applies per version had medians 4.883 s on parent 8884da8f (4.707–5.107 s) and 4.938 s here (4.828–5.806 s), about 1.1% higher with overlapping ranges. No material regression was observed in this compatibility workload. It does not measure PostgreSQL throughput or failure-journal I/O. The tracked benchmark history was not modified.

This closes a recovery dependency. Automatic frontend grant acquisition, uniform operation-aware queueing, approval/deferred scheduling, consumer-safe administration, model extensions and the rest of the full completion audit below remain required.

Phase 4: Uniform Operation-Aware Queue Admission

Every new queue grant now compares its complete request with live run grants, all unresolved operations' immutable footprints and older conflicting tickets. The same rule applies to app X; there is no inspection/recovery bypass. Expiring or ending a run releases its ordinary grant but does not release any operation's retained keys. Reserved calls, returned results and both halves of a replacement retain coverage until committed or aborted. Legacy missing footprints remain app X. Duplicate grant checks still accept the original owner's intact existing grant.

Compatible narrow requests can pass. Shared consumed reads admit other readers; an older writer prevents younger readers from passing it. A key shared by multiple operations remains held after only one resolves. Explicit recoverers register without grants, inherit claims and can resolve operations while queued writers hold nothing. Whole-app lock refusal and plan lease timeouts report matching operation IDs, addresses and stages. Read-only planning and inspection remain available, and mutator pre-call checks remain a second fence.

PostgreSQL reads only footprint JSON for this admission check, under the short app counter lock that serializes grants with reservations. No operation row lock or provider transaction is held while waiting. A reproduced clock gap also allowed a grant's app-lock wait to outlive its owner; grant admission now checks liveness again after acquiring that lock. Schema migration 15 requires queue protocol 1 for inserting/updating run leases, fencing obsolete queue writers. The operation/state protocol remains 5; original in-flight returns remain recordable.

Existing crash and fencing histories now use explicit recovery registration instead of acquiring a conflicting app-X grant. Upstream deferral tests retain real independent mutation checks under admitted resource grants, with canonical identity contracts and pinned origins. They verify that upstream_unresolved nodes remain deferred, opaque bodies do not execute, and independent changes can proceed without leasing those blocked nodes.

A real AWS/PostgreSQL/FakeCloud workload leaves one web update awaiting kept-response recovery. A second branch plans and admits a narrow database update while app X is refused; its mutation and output land with zero unattributed reads. Providerless recovery then ingests the web response without clobbering the database patch. Both remote parameters are version 2, and the web output is marked stale for reconciliation. Native/memory histories cover every unresolved stage across expiry/release, values/inputs/membership/edges/identity/adoption keys, shared reads, older-writer aging, final-holder release, legacy coarse recovery and obsolete queue writers.

The unchanged model's two queue configurations and four quarantine configurations were rerun; all 6 had their expected outcomes, including the named counterexamples without aging or quarantine. Multi-operation, clock, provider/check and approval model extensions remain open.

Validation: 5,043 workspace unit tests passed (17 skipped) and all 194 PostgreSQL/FakeCloud graph integration cases passed (104 backend, 74 admission/recovery, 16 real AWS-provider cases). Ruff, changed-source type checks, alias-shim freshness, whitespace checks and the documentation build pass. The verified unit/native runs emitted no pytest warnings.

The 1,000-resource in-memory replacement probe verified complete state and no unresolved operations. Counterbalanced parent/current/current/parent runs on CPU 0 with a fixed hash seed, 100-resource warm-ups and six measured applies per version had medians 4.761 s on parent 617a9aff (4.609–5.028 s) and 4.719 s here (4.648–4.876 s). No material regression was observed in this compatibility workload; it does not measure PostgreSQL queue throughput or prove a general speedup. The tracked benchmark history was not modified.

Automatic frontend grant acquisition, bounded stale replanning and approval lifetime, deferred sibling scheduling, consumer-safe administration, history and scale verification remain part of the full goal. No concurrent-apply setting is exposed yet.

Phase 4: Automatic Unleased Apply Preparation

Ordinary graph app and stack applies now register renewable ownership, plan with no grant, queue for app X and validate freshly loaded state before approval. Document backends retain their lock across planning. Existing explicitly admitted graph plans retain their pinned per-key validation; this change does not expose the resource-concurrency setting.

execution.graph_apply_preparation owns the bounded preparation loop. An automatically built stale plan ends its attempt and replans under a new registration, with 3 attempts total. Provider clients, evaluated provider configuration and data-source configuration caches are reset between attempts. The first plan's branch origin stays fixed even if its selector changes during planning. A new three-way intent conflict stops the run, and ownership loss never triggers retry. Only the validated attempt can request approval or send a mutating provider call. Heartbeat loss is checked against its originating registration under the engine mutex. A renewal that returns after an old heartbeat's bounded stop wait cannot mark a successor registration lost. The reproduction covers an old renewal failing after the new registration starts.

Supplied plans are never regenerated. Stale diagnostics include planned/current frontiers plus changed rows/proofs available from coverage. Graph plans lacking captured state evidence, and no-change summaries without an immutable artifact, fail before mutation. Namespace facts cached while unleased are discarded after granting; the sender checks fresh facts against the planned locator. An account change between provider planning and execution is refused before the RPC.

GraphStateEngine.acquire_app() obtains app X for an existing registration, reloads state and reconciles kept plain records before validation. If reconciliation advances state, the stale attempt ends and a new registration replans; it never releases a mutated run's grant to request another set. The new attempt's checkpoint/rollback basis includes the reconciled records. Both app-X acquisition and pinned-plan acquisition share queue waiting/cancellation. Lost enqueue replies cancel even a ticket committed by the server; a read failure after granting ends ownership and releases the grant.

nf --graph-lease-timeout, then [tool.nf.config].graph_lease_timeout, then PostgreSQLGraphBackend(lease_timeout=...) set the finite non-negative wait per attempt, default 0 seconds (try once). This is a queue wait, separate from registration TTL/renewal and provider RPC limits. The operation/state protocol remains 5, queue protocol 1 and schema 15; no migration is needed.

Memory regressions exercise a writer committing during unleased planning, one approval after replanning, bounded continuous churn, saved-plan rejection without rebuilding, stable origins, new intent conflicts, terminal ownership loss, namespace changes, timeouts, kept-record reconciliation and cleanup. Native real-provider tests cover both app and stack entry points: another writer holds app X while they plan, commits an unrelated output and releases it; each apply replans, approves once and issues exactly one AWS SSM update. The remote parameter is version 2, the other writer's output survives and provenance has zero unattributed reads.

The unchanged model's two stale-basis configurations were rerun with their expected pass results. They do not replace the remaining multi-operation, clock, provider/check and approval extensions.

Validation: 5,073 workspace unit tests passed (17 skipped) and all 199 PostgreSQL/FakeCloud graph integration cases passed (104 backend, 77 admission/recovery, 18 real AWS-provider cases). Ruff, changed-source type checks, alias-shim freshness, whitespace checks and the documentation build pass. The verified unit/native runs emitted no pytest warnings.

The 1,000-resource in-memory replacement probe verified complete state and no unresolved operations. Counterbalanced parent/current/current/parent runs on CPU 0 with a fixed hash seed, 100-resource warm-ups and six measured applies per version had medians 4.650 s on parent db4e7301 (4.584–4.898 s) and 4.781 s here (4.592–4.888 s), about 2.8% higher with overlapping ranges. No material regression was observed in this compatibility workload; it does not measure PostgreSQL throughput. The tracked benchmark history was not modified.

Automatic resource-grant selection, approval timeout, deferred sibling scheduling, consumer-safe administration, history and scale verification remain in the full completion audit below.

Phase 4: Bounded Approval Lifetime

Every graph approval has a finite positive approval_timeout, default 300 seconds. The flag nf --graph-approval-timeout, then [tool.nf.config].graph_approval_timeout, then the backend argument provide the usual precedence. The setting is separate from registration TTL, queue waiting and provider RPC limits. It applies to initial app/stack approvals, deferred rounds and other graph approval callbacks. Document-backend prompting retains its existing behavior. No schema/protocol migration is needed.

execution.approval.bounded_approval runs the decision callback in a daemon thread with copied context variables. It waits until the deadline, checks ownership while waiting and rejects an answer from an ended/replaced registration. A late answer or exception cannot authorize execution. The request exposes a monotonic deadline, remaining seconds and cancellation. Arbitrary Python callbacks cannot be forcibly interrupted and should honor cancellation themselves. The terminal helpers poll selectable stdin, avoid buffering the next answer and discard unsubmitted terminal input on expiry. Cancellation permits a bounded 100 ms cooperative worker cleanup before returning.

The grant remains held throughout approval. An initial timeout ends the run before provider mutation and releases the complete grant. Deferred expiry returns an incomplete result, lists the remaining resources and keeps completed rounds under CHECKPOINT, ROLLBACK and NONE. It ends the run through the normal finalizer; it never releases and reacquires after mutation. Replanning starts a new run. App X and explicitly admitted resource grants share this approval path.

Regressions cover late callbacks, exceptions/context propagation, ownership loss and registration replacement, terminal expiry/partial lines, CLI input, app/stack grant release and deferred preservation under all three recovery strategies. Native PostgreSQL/FakeCloud app/stack tests hold app X during approval, expire it and acquire with a competing engine; no operation is reserved, no mutating AWS RPC is sent and no SSM parameter exists after the late yes.

ApprovalLifetime.tla checks two atomic rounds sharing one grant with an independent approval clock. All eight configurations have their expected outcomes: intended safety/liveness, three reachability probes and four broken variants (missing release, accepting late answers, reacquiring after mutation and rolling back on expiry). It is a focused abstraction, not a combined proof of approval with in-flight operations/quarantine; multiple operations, provider/check reads and general clock extensions remain.

Validation: 5,102 workspace unit tests passed (17 skipped) and all 20 native PostgreSQL/FakeCloud real AWS-provider integration cases passed. The eight new TLC configurations gave their expected outcomes. Ruff, changed-source type checks, alias freshness, whitespace checks and the documentation build pass; verified pytest runs emitted no warnings. The broader backend and admission/recovery integration suites remain evidence from the preceding milestone.

The 1,000-resource in-memory replacement probe passed its complete-state/no-unresolved-operation checks. Parent/current/current/parent runs on CPU 0 with a fixed hash seed, a 100-resource warm-up per process and six measured applies per version had medians 6.883 s on parent 975c209f (4.558–9.660 s) and 4.988 s here (4.704–8.655 s). Both versions varied substantially during this run; these timings do not establish a throughput change. This is the auto-approved compatibility path, which skips the new prompt wait. The tracked benchmark history was not modified.

Automatic resource-grant selection, deferred sibling scheduling and complete initial deferred coverage, consumer-safe administration, history and scale verification remain in the full audit.

Phase 4: Automatic Resource-Grant Preparation

The apply preparation loop now accepts a resource admission policy. The internal app/stack path selects it before any grant or mutation. It requires a pinned graph baseline, complete plan coverage and matching captured lineage/frontier. Canonical supported plans queue their entire required set and bind the immutable admission before approval. Unsupported-provider serial reasons select the existing app-X preparation path; malformed/missing proof is terminal. There is still no public concurrency flag: deferred scheduling/coverage, guarded history administration and the remaining model/reference gates must be completed before exposing it.

Both backends distinguish changed observed preconditions with StaleGraphPlanError, a subclass of the existing pre-call validation error. Only that acquisition failure enters the bounded automatic replan loop. Contract/coverage rejection, ownership loss and queue timeout stop without retry. A stale saved plan fails with the changed keys and is never regenerated. Automatic stale attempts end and re-register, retaining the branch origin and resetting provider caches, with three attempts total. Existing explicit admissions retain their exact-plan validation path.

After admission, acquire_plan() reloads a fresh consistent snapshot and resets the pre-apply state/version basis. Per-key admission tolerates unrelated commits, which must appear in that fresh basis. A read failure clears both admission copies and releases the complete unmutated grant; the caller can retry acquisition within the registration or end it. Plain kept-state reconciliation stays on the serial path, since an admitted plan cannot authorize unrelated kept writes. Schema 15, writer protocol 5, queue protocol 1 and plan format 16 are unchanged.

Tests exercise automatic app/stack acquisition, stale relevant rows, three-attempt churn, saved plan rejection, serial fallback, missing proof, terminal policy errors, queue and approval expiry, and no-change plans' app-IS grants. Shared memory/PostgreSQL cases verify fresh unrelated state and failure cleanup. Real AWS-provider tests run the automatic pipeline through overlapping independent SSM updates with outputs, stale acquisition before one approval, saved patches across unrelated commits and an independent patch beside an unresolved operation/kept response. They check exact remote values, intact unrelated rows/outputs/metadata, zero unattributed reads and operation recovery without duplicating the remote call.

Validation: 5,130 workspace unit tests passed (17 skipped), all 106 PostgreSQL/FakeCloud integration cases passed (79 admission/recovery, 27 real AWS-provider cases), and the unchanged model's two stale-basis and two queue configurations gave their expected outcomes. Changed-source type checks, Ruff, alias freshness, whitespace checks and the documentation build pass. The verified pytest runs emitted no warnings. This supplements prior broader backend/model evidence.

The auto-approved 1,000-resource in-memory replacement smoke probe passed complete-state and no-unresolved-operation checks: 5.267 s, 5.097 s and 5.675 s after a 100-resource warm-up, CPU 0 and fixed hash seed. It exercises the default serial compatibility path; it is not a PostgreSQL scale or concurrent-throughput benchmark. The tracked benchmark history was not changed.

One deferred-coverage gap needs explicit attention next: an unconfigured deferred resource has no initial locator, and coverage currently omits the serial reason in that case. A provider contract can cover only some of its resource types. Before public concurrency, establish type-specific deferred support or select app X before the first mutation; do not rely on a later contract rejection after earlier rounds applied.

Deferred sibling scheduling, complete initial deferred coverage, consumer-safe administration, history and PostgreSQL scale verification remain in the full completion audit below.

Phase 4: Deferred Type Support And Whole-Round Validation

ProviderIdentityContract.resource_types is an optional closed set. A declaration attests each type before its provider can be configured; querying it loads contracts but never configures a provider, calls a resolver or makes an RPC. None preserves older configured-only contracts. Explicit declarations restrict resolution to those types. Core's nf_generated_value and the AWS extension's aws_ssm_parameter contracts now declare their support. A missing/undeclared deferred type makes planning select app X before the first mutation, including when that provider has a contract for some other type.

Graph coverage includes identity-contract evidence version 1 and its deferred source/type claims. The resource-preparation policy requires that version, verifies claim completeness against the execution nodes and rechecks current registered support before queueing. Older coverage still loads for ordinary serial applies; saved resource plans without the new evidence require replanning. Withdrawal of a declared contract fails before mutation. The outer saved-plan format remains 16; schema 15, writer protocol 5 and queue protocol 1 are unchanged.

Before an admitted deferred round requests approval or executes any mutation, it validates its fresh complete basis against the original admitted write/action sets and held capability. It checks current row/input/edge proofs through the backend, including integrity of the entire initial grant. It never admits a replacement plan, grows the grant or releases it after mutation. Auxiliary cleanup excludes unrelated keys, matching the existing guarded stores. A round-validation rejection reports the earlier completed work and remaining deferred entries before normal failure recovery.

Tests cover declared/legacy/unsupported types, no unconfigured resolver/RPC calls, immutable type declarations, missing/withdrawn saved evidence and the serial fallback before any mutation. App and stack applies run actual deferred-provider rounds under explicit and automatic partial grants with zero unattributed reads. New-target/action/scope faults stop before the round's approval or call. Shared memory/PostgreSQL cases verify fresh consumed revisions after an earlier commit, rejection without changing the initial grant, and terminal loss when an unrelated initial lease disappears. Real AWS-provider reference cases now also use automatic resource grants for provider settings derived from a preceding round's computed ARN, no-op reconciliation of input revisions, updates, data-source observations, runtime checks and stale-branch preservation. Deferred import and required adoption also complete under automatic partial grants with zero unattributed reads.

Validation: 5,163 workspace unit tests passed (17 skipped) and all 114 PostgreSQL/FakeCloud integration cases passed (85 admission/recovery and 29 real AWS-provider cases). All 13 unchanged model configurations matching deferred gave their expected outcomes, including scope/dynamic reference, no-growth, delete, stale-mark and approval-expiry counterexamples/probes. Ruff, changed-source type checks, alias freshness, whitespace checks and the documentation build pass. The verified pytest runs emitted no warnings.

The in-memory 1,000-resource auto-approved replacement smoke probe passed complete-state and no-unresolved-operation checks: 4.948 s, 5.179 s and 5.364 s after a 100-resource warm-up, CPU 0 and fixed hash seed. It exercises the default serial compatibility path and establishes no PostgreSQL scale/concurrent-throughput result. The tracked benchmark history was not changed.

One result-reporting gap remains outside the new round validator: exceptions during provider settlement/planning before validation can escape to the outer apply handler and lose completed counts. Preserve partial progress for those failures too; validation rejections and approval expiry already have their dedicated outcomes.

Transient sibling-conflict scheduling, combined multi-operation/clock/provider/check model cases, guarded checkpoints/administration, remaining reference evidence, history and PostgreSQL scale verification still gate public concurrency and full completion.

Phase 4: Scheduling Siblings Around Durable Operation Holds

Both backends now distinguish a same-run hold with SiblingOperationBusyError, retaining the existing state-lock error base and reporting immutable operation IDs/addresses. Reservation checks full footprint coverage before object-ownership conflicts, so a valid adopting-update/create conflict reaches the transient path; missing capability, foreign quarantine and actual ownership errors remain terminal.

The parallel executor binds execution capacity to the run's ownership and node-completion events. A refused pre-call reservation or clean state-only write suspends its existing coroutine, releases only its execution slot and lets independent work proceed. Its prepared request, read evidence, provenance and initial grant stay intact. Completion wakes it for a fresh fenced attempt; even a known failed producer can have aborted durably and freed the scope. A completed producer gets one fresh ledger check per operation ID, so delayed replies do not cause false failures, and an unresolved/kept result cannot cause an endless retry. Orphans, cycles and another run's inherited slot cannot supply progress. Cancellation/loss releases capacity without over-releasing permits.

Only reservation before a provider call and a deterministically refused, unapplied state-only transaction are retryable. A bare state-write refusal leaves no dirty cache or replay journal. After dispatch, a refused commit retains its operation/result evidence and exposes a terminal state error; the scheduler never repeats that provider RPC. Busy waits do not increment failure counts or rerun node configuration/checks. Final failure still counts once. Diagnostics name the holders and direct unresolved cases to operation inspection/recovery. Normal provider RPC timeout and lease-loss semantics remain in force; this introduces no new provider-call deadline.

Unit cases cover independent progress with two slots, success/known abort/uncertain producers, late replies, cycles, orphan producers, run isolation, cancellation and loss. A real hybrid adopting update holds its adoption scope while another create waits; an independent output must commit before the first call can finish. Memory and PostgreSQL/FakeCloud tests verify frozen request digests, no repeated calls, exact remote versions, correct failure counts and zero unattributed reads. An uncertain update retains the scope and the waiting create is never sent. Shared backend cases distinguish clean state-only refusal from post-RPC commit failure; kept real responses recover without another mutating call even when the commit failed with the new busy error.

SiblingScheduler.tla adds 13 focused configurations: one grant, a conflicting holder/waiter and an independent write with two slots. Intended success, abort, uncertain/kept outcomes and loss terminate under fairness; probes cover independent progress and retained outcomes. Broken variants demonstrate held-capacity deadlock, waking on return before commit, ignoring retained authority, repeating an effected call, counting a wait as failure and dispatching after loss. All have their expected outcomes. This model does not replace the general multi-operation/row/provenance/recovery epoch and clock extensions still needed in GraphState.

Validation: 5,178 workspace unit tests passed (17 skipped) and all 223 PostgreSQL/FakeCloud integration cases passed (104 backend, 87 admission/recovery, 32 real AWS-provider cases). All 13 new scheduler configurations gave their expected outcomes. Ruff, changed-source type checks, alias freshness, whitespace checks and the documentation build pass; verified pytest runs emitted no warnings. The original protocol configurations and approval model remain prior evidence.

The default serial compatibility probe passed complete-state/no-unresolved-operation checks for three 1,000-resource replacements: 9.657 s, 5.312 s and 5.448 s, after a 100-resource warm-up, CPU 0 and fixed hash seed. The wide timing variation makes this a smoke check rather than a stable throughput comparison; PostgreSQL scale verification remains open. No tracked benchmark history was modified.

Deferred planning's partial-count error handling, guarded history checkpoints/administration, the remaining coverage/reference/model audits, history administration and PostgreSQL scale tests remain in the full completion scope. Public concurrency remains gated on that work.

Phase 4: Preserve Results When Deferred Rounds Fail

Deferred settlement, refresh, planning, execution-context cleanup and result recording now return a failed deferred outcome instead of escaping to the outer apply handler and replacing its accumulated result. The outcome retains earlier rounds' counts, remaining deferred targets and applied plans for the configured failure recovery. Plans are registered before execution; completed/failed node statuses supply counts if execution raises before it returns its summary. Counts returned normally are recorded before context cleanup, so cleanup cannot discard them or count them twice. No planning failure sends another provider mutation or acquires a new grant.

Eighteen graph cases cover settlement, refresh and planning failures in rounds 2 and 3 under CHECKPOINT, NONE and ROLLBACK. CHECKPOINT/NONE use the automatic partial grant; ROLLBACK uses its public app-X path. Six further cases exercise document and graph execution, cleanup and recording failures after a deferred round has created its object; rollback removes both rounds' created resources. A separate executor-summary failure case retains individual node errors. The 116 deferred-provider cases pass, and the full workspace unit suite passes 5,205 tests, 17 skipped. Ruff, formatting, changed-source type checks and the docs build pass.

A native retry after a deferred planning error also exposed a missing provider deferral: the first SSM ReadResource normalizes tags, so a refreshed no-op records a new parent revision even though its intent and provider-visible region stay equal. Planning previously considered intent and ownership changes but missed that state-only refresh write. It now compares the refreshed entry, with the dependencies/metadata that no-op execution records, against stored state before planning consumers. Providers/data reads that consume the changed revision defer until it commits, then acquire fresh evidence. The strict stale-provider/cache guards are kept. A 0.35-second fake-provider reproduction failed before the fix in both lease modes and passes now; the native PostgreSQL/AWS test verifies planning failure, preserved partial state, fresh-run retry and subsequent updates. The parent stays at remote version 1 across the retry, and each successful run has zero unattributed reads. The complete native PostgreSQL protocol, admission/recovery and AWS reference suites pass 225 tests (104 + 87 + 34).

The existing in-memory replacement-apply smoke probe verified complete state and no unresolved operations for a 100-resource warmup and three 1,000-resource passes (4.9815, 4.7793 and 5.4389 seconds, fixed hash seed and CPU 0). This is a smoke check, not a stable throughput comparison; PostgreSQL scale evidence remains open. No tracked benchmark history was modified.

The test audit also exposed an additional public-concurrency gate: an admitted create-only plan cannot dispatch ROLLBACK's deletes, which are outside its possible actions. Its retained grant must cover and authorize safe compensation before the first call, including the destructive reverse-edge predicate and the originally absent versus re-created entry distinction. Do not relax admission globally or acquire a larger grant after mutation. Public applies still use app X, where rollback is verified; the internal resource policy is not a public concurrency setting.

History checkpoint implementation remains next. Checkpoints need a durable pre-run frontier and closed resource/output write targets, with retained evidence for both the original row versions and subsequent consumers. The existing baseline pin protects only boundary intent versions, so it alone cannot prove that no later run consumed a revision being replaced. Restore must check later writers/consumers and identity uniqueness atomically with its fenced state edits, under resource and reverse-edge coverage; missing/pruned evidence must fail closed.

Phase 4: Compensation Within The Original Resource Grant

ROLLBACK now uses conditional rollback_delete permission alongside possible creates, without adding ordinary delete permission. Initial coverage includes the delete/restore outgoing edges and the old adoption scope required to restore a re-created pre-run row. At concrete reservation, both backends derive and retain the full compensation footprint before allowing the create; a claimed capability with missing edge/adoption coverage fails before any operation or RPC. The ledger's rollback_enabled marker records that coverage. A rollback delete carries the original create's ID as rollback_of in its immutable request.

Reservation and dispatch recheck the original committed create, same run/epoch, first attempt, known encoded response and current incarnation/canonical identity. Imports, other addresses, foreign/recovered/unfinished facts, obsolete incarnations and ambiguous or unknown responses cannot authorize a delete. Prepared proof selection does not replace those backend checks. The existing grant stays intact, including after compensation. An in-memory duplicate operation ID now refuses replacement, matching PostgreSQL's primary-key protection.

Rollback restores pre-run resource and output intent/input evidence as fresh revisions. It keeps a re-created entry rather than tombstoning its old intent, removes owned new outputs, restores updated outputs of deleted resources and skips foreign outputs that arrived after its snapshot. Output cleanup checks both the run ID and admitted target set. Older supplied plans without compensation permission choose app X before the first call; unknown pre-run resource/output provenance also retains serial coverage. Deferred planning failure cases now exercise ROLLBACK under a partial grant in both early and later rounds.

Migration 16, writer protocol 6, fences older writers before they can reserve/dispatch without retaining compensation coverage, write state or replace admission. Original in-flight calls may still record responses if their epoch/attempt has not been taken over. Queue protocol remains 1; no public concurrency setting is exposed.

Native AWS tests exercise a real create, deferred planning failure, compensating delete and retry under both serial and partial grants. The retry after a deliberate rollback pins its new origin; the existing two-way stale-intent protection is retained. Shared memory/PostgreSQL tests cover ordinary-delete refusal, forged/superseded causes, complete pre-call coverage, re-created rows, updated/new outputs and an independent output committed by another run during the first grant. Pure cause-guard cases cover remaining owner/attempt/response corruptions. Future operation retention must preserve committed creates of active runs while compensation remains possible; unresolved operations are not the only live ledger evidence.

Verification passes 5,245 workspace unit tests (17 skipped) and 241 native PostgreSQL/AWS cases, including protocol-5 writer rejection after the online fence upgrade. The focused coverage/admission/cause/deferred-provider set passes 259 cases. Ruff, formatting, changed-source type checks, alias freshness through the workspace tests and the docs build pass.

The 100-resource warmup / three 1,000-resource replacement smoke check verified complete state and no unresolved operations (11.4622, 10.7739 and 10.5168 seconds alongside the native suite). After that suite ended, an isolated parent/current/current/parent comparison, each with its own 100-resource warmup, measured 4.5857 / 4.5256 / 4.4997 / 4.5606 seconds for 1,000 replacements. Each process verified the loaded core path; the parent was exported from e3e57ab5. Fixed hash seed and CPU 0 were used. No slowdown was observed in that comparison; this remains smoke evidence, not the outstanding PostgreSQL scale benchmark. Tracked benchmark history is unchanged.

Seven existing rollback-related TLC configurations were rerun with their expected outcomes (including the broken loss, recreation/output and approval-timeout variants). This is evidence for the existing abstract rollback invariants; the general multi-operation/clock/provider/check model extensions and more concrete capability modeling remain open.

Consumer-safe history checkpoints/restore and administration, the remaining coverage/reference/model audits, history administration and PostgreSQL scale tests remain in the full goal. Public concurrency remains gated on those requirements.

Pinned write-set checkpoints and consumer-safe restore

Graph CHECKPOINT now pins the initial plan's closed managed-resource/output targets before any provider reservation or state mutation. The durable reference records the original run, commit frontier, monotonic operation reservation frontier and each exact before-image revision/digest. It never stores secrets in the manifest or falls back to an unscoped JSON snapshot. Saved-plan activation retains its coverage, and apply checks concrete planned targets before checkpointing. App, stack, saved-plan and deferred failures use the same reference path.

Restore registers a dedicated state-only run, acquires a fixed grant over the actual before/after footprint, then repeats all checks in the atomic write transaction. It takes resource/output X, reverse-edge S, required outgoing-edge/membership coverage and old/new identity/adoption coverage. Legacy ownership requires app X and an unambiguous identity. Ordinary reserve, dispatch, commit and migration are forbidden in this stored role; only verified before-images can commit through the private restore path. Every restored target gets a fresh revision. Original intent, input proofs, applied fingerprint, status, private bytes and sensitive masks survive. Original proofs can become stale; restore never substitutes a newer consumed revision.

Other runs' later writers, historical consumers (including subsequently removed rows/outputs), and dispatched requests without row commits prevent restore. Fresh checks under the grant close the preview/admission race. Explicit force waives these conflicts only: missing/digest-changed origins, identity conflicts, unresolved calls, lost ownership or incomplete leases still fail. An atomic receipt binds the run, checkpoint, force policy and resulting sequence. A lost write acknowledgement is resolved by reading that receipt, without replaying the write.

Migration 17, operation/state writer protocol 7, queue protocol 1, adds the manifests, reservation ordering and receipts. Guarded pruning preserves exact origins, subsequent consumer versions and operation requests. The newest five references are retained plus older active or unresolved origins and active restore receipts. Cleanup excludes those protected records so a blocked deletion cannot roll back an otherwise valid retention pass. Legacy writers cannot prune the new evidence. Read-only checkpoint/receipt views contain metadata only; restored secret attributes remain masked in history/current views. Old graph JSON snapshots are refused.

nf state checkpoint list|show|restore REFERENCE [--force] and the Python restore API use this protocol. Shared memory/PostgreSQL cases cover later writers, removed/output consumers, preview races, retained calls, grant loss, receipt observation, private data and old input proofs. Apply tests cover app/stack, saved plans and both internal resource grants and app X. Actual AWS SSM create/update/restore tests confirm graph state changes without another provider mutation.

Validation logs: /tmp/nf-checkpoint-workspace.log (5,278 passed, 17 skipped), /tmp/nf-checkpoint-native.log (266 passed), /tmp/nf-checkpoint-aws-restore.log (two additional native restore cases), focused restore/retry logs, static checks, alias freshness and docs build. The simultaneous retry test holds the app counter until both attempts have read no receipt; both then observe one committed sequence and one new revision. A parent/current/current/parent comparison after a 100-resource warmup measured 10.4119 / 10.2389 / 9.9122 / 10.4962 seconds for 1,000 replacements. Each process verified its loaded core path, used fixed hash seed and one CPU, and checked successful complete state with no unresolved operations. The parent was exported from 7466fc4e; no slowdown was observed in this smoke comparison. Tracked benchmark history is unchanged. Five existing restore-related TLC configurations have their expected outcomes. They cover the original consumer/identity abstraction; full multi-operation/clock/provider/check modeling stays open. PostgreSQL scale evidence, remaining coverage/reference audits and all other administrative operations remain in the full goal. Public concurrency is still gated on those requirements.

Validated taint, untaint and removal

Explicit state edits now prepare a finite write set against one inspected snapshot, derive its actual row/identity/outgoing-edge footprint, then validate under the complete grant before one atomic commit. Removal validates destructive reverse predicates as well, so a new or existing consumer outside the set prevents the edit. nf state rm ADDRESS... and hybrid.forget_resources(addresses) can include resources and outputs; infrastructure is unchanged. Legacy Terraform state rm routing for stacks is retained.

The internal resource policy reuses immutable plan admission with a temporary baseline of the inspected deployed state. This explicit administrative origin is independent of a branch's code baseline. Legacy intent, ownership or unknown live write provenance uses app X. The temporary pin is released after the run ends; a cleanup failure reports its ID without changing an already committed edit's outcome. Public taint/removal still select app X until the broader concurrency gates pass. No new schema/writer version is needed: schema 17, writer 7, queue 1 stay current.

Taint preserves intent, consumed revisions, evaluated fingerprint, private bytes and incarnation. It also retains stale/unconverged status rather than claiming reconciliation. Memory snapshots now retain the stored taint bit alongside stale status, matching PostgreSQL. Explicit edits never replay unrelated kept-state journals. Both adapters refuse changed rows/predicates after planning, lost complete grants and overlapping retained calls. An edit on an independent row can proceed beside a retained resource-level call.

Validation: 5,292 workspace cases passed with 17 skips (/tmp/nf-admin-workspace.log), 282 native PostgreSQL/AWS cases passed (/tmp/nf-admin-native.log), plus one temporary-pin cleanup-failure case per adapter. Fourteen shared administrative cases cover both grant policies, preserved proofs, legacy fallback, closure, races, grant loss, independent retained calls and pin lifecycle. The actual AWS checkpoint workload also taints and forgets its restored SSM entry under each grant policy while the remote object remains at its existing value/version. Ruff, ty, aliases and docs are checked. Moves/imports/destroy/migration coverage and the other full-goal gates remain.

Validated destroy preparation and cleanup

Graph app/stack destroy now records authoritative provider reads while planning unleased, closes the delete/output/observation targets, then acquires and validates one fixed grant before approval or ApplyResourceChange. Stack destroy captures stack membership; whole-app destroy captures app membership and includes stored stacks the checkout no longer declares. Each stored resource still needs its original configured provider and namespace. A changed sender, pending configuration, outside consumer or provider-input cycle fails before the first delete. Membership/row races before admission cause bounded automatic replanning before approval.

Provider inputs contribute reverse execution order, including managed inputs behind output provenance. Output deletion is now a destructive reverse predicate in ordinary graph coverage too. Cleanup can touch only its captured outputs/observations and admitted legacy metadata; a late independent observation stays intact. A stack destroy can proceed beside a retained call in another stack under internal resource admission. Whole-app membership protection still excludes new managed members. Approval timeout releases the unmutated grant; another active run on the same engine cannot be ended or have its providers stopped by a refused destroy.

The internal resource policy reuses normal immutable admission and a temporary administrative baseline, released when the run ends. Legacy intent/ownership retains app X; public destroy stays on app X while the remaining gates are open. Both policies validate the same closed predicates. The existing operation fence, returned-result ledger, retained footprints and recovery protocol remain in use. Schema 17, writer 7, queue 1 and plan format 16 are unchanged.

Eight native AWS SSM deferred-provider workloads now finish by destroying child before parent under both grant policies, with zero unattributed reads, no unresolved operations and actual API absence verified. Unit cases cover app/stack grants, membership races, output consumers outside the target stack, changed namespaces, provider cycles, retired-stack outputs, timeout, reentry, independent retained calls and late observations. The expanded full native suite passes 283 cases.

The workspace run exposed a token-lifetime flaw in an existing intent test: its temporary app could be collected between f-string formatting and fingerprinting. Forced collection reproduced the expired-token behavior, while retaining the reference preserved the expected fingerprint. ced6a67b keeps that fixture's app alive, matching real configuration lifetime; no token semantics were relaxed. Final validation: /tmp/nf-destroy-workspace-final.log records 5,312 passed and 17 skipped; /tmp/nf-destroy-native-final.log records 283 passed. Focused proof tests, Ruff, ty, alias freshness and the documentation build pass. Native workers still expose the existing backend/heartbeat shutdown warnings when fixture connections close; connection shutdown remains part of the final integration cleanup audit.

A 1,000-resource destroy comparison initially exposed repeated full consumer scans. Plan validation now indexes outside dependents once and checks the same predicate generations and consumer closure. Focused plan/admission/deferred tests pass. After that change, a parent/current/current/parent comparison measured 3.1290 / 3.4013 / 3.4695 / 3.1603 seconds, versus 3.0936 / 4.3493 / 4.3879 / 3.3550 before the optimization. Each process verified its source path, used one CPU and a fixed hash seed, and verified complete deletion with no unresolved calls after a 100-resource warmup. The remaining roughly 9% in this legacy in-memory workload includes the added planning/validation; this is smoke evidence, not the required PostgreSQL scale gate. Tracked performance history is unchanged. Three reverse-edge TLC configurations have the expected outcomes. The broader combined model, import/move/migration and other full-goal work remain open.

Terminal PostgreSQL connection lifecycle

The native shutdown audit reproduced three existing connection races: a heartbeat could reopen a closed backend, concurrent first uses could create separate pools/migrate twice, and an in-flight connection could complete after close and escape cleanup. The new lifecycle tests failed against the old code and now pass. Pool/migration initialization is serialized on the backend's event loop, while initialized pools keep their fast path. Close fences new submissions before draining the existing portal, waits for concurrent closers, and closes a late-created pool before migration. The instance is permanently closed; later work needs a new backend instance.

A native live-owner case confirms that closure stops its heartbeat without reconnecting and preserves committed state for a fresh backend. Closing does not force-unlock or remove unresolved operation evidence. Normal callers end their runs before closing connections. No schema or writer-protocol change is needed.

Validation: three lifecycle regressions passed, one real PostgreSQL close/heartbeat case passed, then 5,315 workspace cases passed with 17 skips (/tmp/nf-graph-close-workspace.log) and 284 native PostgreSQL/AWS cases passed (/tmp/nf-graph-close-native.log). The full native run has no coroutine, interpreter-finalization or pytest warnings; previous shutdown warnings are resolved. Ruff, ty, aliases and the documentation build are checked. The remaining full-goal items stay open.

Phase 1: Divergences From The RFC And Model

Deliberate, to revisit in phase 3 or 4:

  1. uncertain marks don't advance a row's revision; the operation record is the source of truth for quarantine.
  2. Resolved: durable operation footprints include consumed values, reverse edges, membership and identity/adoption scopes. They guard both queue admission and mutations across expiry; nf_leases holds run grants while operations retain their own coverage. Recovery inherits that coverage through explicit claims without acquiring another grant.
  3. Import and move operations have no dispatch stage (they don't mutate cloud objects).
  4. A provider error is a returned call; any other failure after dispatch is an unknown outcome and quarantined.
  5. --confirm-terminated also stands in for process evidence of a run on another host; a live pid on this host refuses recovery even with it.
  6. Recovery at delete_committed commits and reports; it never dispatches the create itself.
  7. Partly resolved: explicit provider contracts now establish alias-independent namespace/type/key ownership (built-in generators and AWS SSM initially). Unsupported types retain the serial provider-configuration/type/identity-or-ID fallback; they must not gain concurrent mutation permission without an explicit contract. allow_duplicate_adoption cannot waive canonical uniqueness.
  8. The graph backend is a StateBackend object passed to enable_hybrid_execution, not a synthesizable construct.
  9. Resolved: CHECKPOINT pins history for a finite write set; restore checks later writers and consumers under its actual grant, preserves identity uniqueness and records an atomic receipt.
  10. nf state show --at uses current metadata; observations are not versioned.
  11. Resolved: migration 4 masks sensitive paths recursively inside nested lists; current and history views are tested against real PostgreSQL.
  12. nf state migrate CLI handles local document files only; the Python API takes any backend.

The full core AWS/FakeCloud integration suite now runs against PostgreSQL graph state (see "Core AWS integration across state backends" below). The broader PostgreSQL scale/performance gate remains open. Earlier planning probes used the in-memory graph backend (poe bench appends to the tracked history file).

Historical Handoff Before Administrative And Model Completion

These were the next steps at this checkpoint. Later sections record their implementation; use the full completion audit below for current status.

  1. Extend reference evidence. The real AWS/SSM update workload passes with zero gaps. Cover further reference apps before exposing concurrency; actual deferred AWS configuration and its follow-up update now pass too. The downstream checkout named in the earlier handoff is absent on this Linux host. The unit-suite findings remain 3 predicate reads and check reads beyond declared scopes, covered conservatively by the protocol. Do not waive unexplained provenance gaps.
  2. Phase 3 is implemented. Cross-stack replacement-trigger reconciliation and metadata-only trigger changes are covered alongside unresolved upstreams, taint, drift policy and baselines. Carry these scenarios into the resource-lease execution-history tests.
  3. Close phase 1 gaps: divergences 10 and 12, and PostgreSQL scale benchmarks.
  4. Model: several concurrent operations per run (Codex scenario #11), approval combined with in-flight operations, provider settings and runtime checks, general clock behaviour, larger instances.
  5. Continue phase 4 from automatic resource preparation, deferred validation and sibling scheduling: finish auditing coverage and implement the remaining guarded administration. Pinned history restore and rollback compensation remain within their fixed grants. Only then expose the concurrent-apply opt-in and run the model/history invariants against actual concurrent applies.

RFC open questions still open: TTL / renewal bound / operation_quiescence defaults for long creates; identity-contract breadth for further providers/resource types. Baseline delivery is resolved; the implementation already supports several apps keyed by state_id in one schema.

Explicit imports under fixed namespace coverage

Graph hybrid.import_resources now prepares against an unleased snapshot, records actual provider configuration inputs and validates one fixed grant before approval. It freezes the requested import ID or provider identity, without evaluating desired resource arguments. An opaque selector can name an object whose canonical key is not yet known: its operation retains identity-namespace/type X and adoption X, then requires a unique known identity inside that scope before commit. Other namespaces can proceed. This exception applies only to read-only import; existing-object mutations still require an established canonical key. Imports have reserved/returned/committed stages, with no dispatched provider mutation.

Every successful verified read commits before the next reservation. Per-target provider failures or pending configurations preserve successful imports, and all target rows are rechecked before any read. Private data, provider identity and authoritative provider-input proofs are retained. Imported entries have unknown desired intent and remain unconverged until a reviewed apply. An unknown returned result retains the saved selector for recovery; verifying it does not taint the existing physical object or claim the desired configuration was applied. Approval timeout, target races, namespace changes, caller selector mutation and refusing an already-owned engine are covered.

nf state --app demo import ADDRESS [IMPORT_ID] [--identity JSON] [--auto-approve] exposes explicit imports without changing the top-level Terraform import routing. Public imports retain app X. The internal resource policy uses ordinary immutable admission and a temporary inspected-state pin; legacy ownership or unknown existing intent still selects app X. Removing that branch-intent dependency from explicit administrative admission remains part of the full goal.

No SQL fields, lease encoding or request encoding changed: schema remains 17, writer protocol 7, queue protocol 1 and saved-plan format 16. Older writers reject an opaque canonical import request when reconstructing its object claims, before reservation/commit; they cannot reinterpret it with a smaller grant. Existing known-key imports retain their prior coverage.

Shared memory/PostgreSQL admission tests cover opaque reservations, retained scope exclusion, namespace rejection, private data and unknown-response recovery. API tests cover ID/identity, immutable selectors, partial errors, pending providers and approval lifetime. Four native AWS SSM cases import two parameters by ID/identity under app/resource grants with zero provenance gaps, unchanged remote versions and no provider mutations. The four existing adoption-race TLC cases produce their expected outcomes; they model known adoption plus create exclusion, rather than a new formal proof of opaque selectors. The combined model remains open.

Final validation: /tmp/nf-import-workspace-final.log records 5,346 passed and 17 skipped; /tmp/nf-import-native-final.log records 296 passed. CLI isolation now resolves the shared graph fixtures (14 passed); its test configuration and ty's helper paths both include tests/helpers. Ruff, alias generation checks, checked core/CLI/PostgreSQL source types and the new shared fixture types pass. The docs build succeeds. A full workspace ty run still reports 100 diagnostics; type-checking the same 12 affected files from the parent commit reproduces all 100. Existing test typing and the alias-loader stub mismatch remain a final verification task, rather than an unqualified workspace type-check pass.

Inspected-state administration independent of branch intent

Explicit taint/untaint/removal, destroy and import now admit their inspected rows without creating a branch baseline or temporary pin. The backend derives the administrative role from its stored run, and only those five roles can omit a baseline. Their possible actions are restricted to state edits, delete or import respectively. Ordinary apply still requires a scoped, retained branch baseline; the apply preparation callback explicitly refuses an administrative capability. Run ownership, complete immutable grants, row/input proofs, reverse predicates, canonical identities and fixed write sets retain their existing checks. Unknown legacy ownership still requires app X.

Unknown desired intent does not weaken an explicit operation on deployed state. Imported entries can be tainted, untainted, forgotten or destroyed without claiming they are converged. A second import batch can acquire resource grants even after the first recorded unknown intent. No unrelated entry's intent needs to be normalized first. The obsolete temporary-pin cleanup path was removed. The original pinned admission serialization remains unchanged for branch plans; administrative records add their stored state_operation role with a null baseline. Existing runtime enforcement still uses the same closed writes/actions and concrete lease footprints. No SQL fields, writer protocol or lease encoding changed (schema 17, writer 7, queue 1, saved plans 16).

Shared memory/PostgreSQL tests cover unknown-intent state edits, the five refused non-administrative roles, action narrowing, immutable admission and serialization. API tests prepare separate import batches without pins. Native AWS SSM ID/identity imports now finish with resource/app-granted destroy of their unconverged entries, verify that both remote parameters are gone, and retain zero unattributed reads. Branch pinning still refuses unknown configuration intent.

Final validation: /tmp/nf-admin-basis-workspace-final.log records 5,360 passed and 17 skipped; /tmp/nf-admin-basis-native-final.log records 308 passed. Ruff, checked core/CLI/PostgreSQL source and shared state-edit fixture types, alias checks and the docs build pass. Workspace ty remains at the same 100 inherited diagnostics. Three existing reverse-edge TLC cases return their expected outcomes; this does not close the combined administrative/clock/provider model gate.

Resumable whole-state migration cutover

The former copy-then-mark sequence could leave both stores writable after publication succeeded but source marking failed. Migration now stages and blocks an empty destination, fences the source while retaining its original contents, publishes the destination with its receipt atomically, and acknowledges the source. Both locks are retained through the handoff (graph first in both directions). Graph migration requires app X and its own stored migrate role; partial grants and recovery claims cannot authorize it. No provider RPC runs. Staging/fencing/acknowledgment also enter run_mutations.

Receipts bind hashed storage coordinates, the source payload and both observed versions. Built-in document backends identify their actual storage, including SDK endpoints and HCP's resolved workspace ID, without credentials. A source fenced for one transfer cannot be redirected to another destination. Retry after a lost publication response preserves later destination writes. If the source remains active after an early staging failure and subsequently changes, retry stages its fresh snapshot under both locks, retaining the abandoned graph receipt. Resource private data, identity, taint, sensitive outputs and data-source observations survive the copy. Graph-incompatible addresses, dependencies, duplicate objects and mixed legacy/canonical ownership are refused before staging. Document ingestion records unconverged resources/outputs with unknown intent, input and applied proofs, requiring a reviewed plan even when attributes match. Graph history/pins stay at their origin.

Schema 18, writer protocol 8, adds durable graph receipts and a migration guard row. The guard joins the existing run fence: ordinary dispatches keep shared row locks, with no extra network round trip; migration transitions take the guard exclusively. Its marker changes atomically with the app marker. Clock/grant checks occur in a fresh statement after lock waits. Database guards preserve receipt identities and monotonic phases, prevent lifting source/staged fences, and reject older writers' entry, output, observation, metadata, operation and retention mutations. An in-flight old provider response can still be retained. The read-only state_transfers view exposes receipts without values. Queue protocol stays 1 and saved-plan format stays 16.

Process death at all four phases in both directions is exercised against PostgreSQL. Shared adapter cases cover before/after failures, repeated acknowledgments, later destination writes, active-source restaging, wrong destinations, tampered receipts, incompatible payloads, graph writer fences and document-unlock failure. Native tests cover PostgreSQL documents and S3/FakeCloud conditional writes, receipt immutability, protocol-7 rejection, clock expiry behind a live migration guard, and a marker changing while a fence waits. The existing parallel-dispatch regression remains protected. A new symlink test exposed a local-backend alias bug; paths now resolve before locking/replacement so the canonical source cannot remain writable behind a replaced alias.

The five focused StateTransfer.tla configurations pass their expected outcomes: safety/liveness each explore 120 distinct states; negative cases expose early publication, missing receipt scope and destination replay. specs/graph-state/transfer_results.txt records the run. This finite model assumes atomic storage actions and fair resumption; it does not close the combined operation/clock/provider gate.

A storage-only 1,000-create PostgreSQL ABBA comparison uses parent/backend code against the same current core, verifies all rows/operations and no unresolved work, and excludes schema initialization. Parent/current/current/parent elapsed times were 17.5060 / 17.8516 / 17.6713 / 18.5560 seconds (/tmp/nf-transfer-perf-optimized.log): the final fence remains in the same observed range. The broader PostgreSQL scale/performance gate remains open.

Final validation: /tmp/nf-transfer-workspace-final.log records 5,395 passed, 17 skipped; /tmp/nf-transfer-native-final.log records 363 passed. Ruff, checked core/CLI/all document-backend source types and shared transfer fixture types, alias checks and the docs build pass. Workspace ty retains the same 100 inherited diagnostics. The whole goal remains active: moves, the broader coverage/reference/model gates, history administration, public concurrency and scale verification are still required.

Atomic ordered resource moves

Graph moves now reserve one immutable group before any conversion reads, with every original row, intermediate address, final target, transitive consumer and captured cache retained in the manifest. Reverse closure includes scope and enumeration consumers. Memory and PostgreSQL validate the same complete before images, row versions, predicates and fixed write set at reserve and commit. Partial groups, extra writes, changed expectations and provider dispatch are refused. Known ownership and input evidence support internal inspected-state admission under the stored move role, independently of a branch baseline. Legacy evidence retains app X through recovery.

Same-type renames start no provider and preserve attributes, private data, identity, taint and metadata. Cross-type conversions use their prepared target provider namespace, retaining actual and declared provider reads. The actual sender is checked after approval. Converted attributes, private data and identity can change; taint, dependencies and non-provider metadata must survive. The target namespace must agree with the source's known scope, and the final ownership check includes unrelated live rows. PostgreSQL releases only the validated group's identity keys inside the same transaction, preserving original row versions while the final swap passes its unique index. No temporary-address row is published.

Dependency addresses and direct consumed inputs follow original object identity through chains and swaps. Retargeted proofs use an nf-move-origin: token containing their original consumed evidence; an equal integer revision at the new address cannot falsely establish convergence. Repeated moves preserve that evidence. Moved rows have unknown desired intent and remain unconverged; consumers retain their intent, applied fingerprints and values but become stale. Only captured observations and the legacy stack_outputs metadata cache are invalidated.

The full converted result is recorded before the atomic transaction. Recovery aborts a reserved read-only move, or commits the complete returned group without another provider call. Durable group footprints survive run expiry, and recovery restores a source's original unconverged or stale status when aborting its quarantine. Portable kept responses now support complete move groups, checked against the immutable ledger manifest and original request digest. They cannot reinterpret a legacy move. A lost response write followed by a failed commit recovers the whole group from errored.tfstate in both backends.

Schema 19, writer protocol 9, fences earlier writers before dispatch, state writes, resolution or evidence pruning; an old in-flight provider call can still return. Saved-plan format remains 16, queue protocol 1. Public moves use app X. The Python API supports ordered batches; nf state --app demo mv SOURCE TARGET [--auto-approve] exposes a single move and preserves the Terraform --stack route. Preparation, grant acquisition and validation precede approval.

The six focused MoveGroup.tla configurations pass: eight states for safety and fair progress, with expected counterexamples for partial publication, missing consumer rewrites, revision reuse, and missing retained-consumer/precondition checks. This focused model does not close the broader combined multi-run/clock/provider/check gate. A storage-independent preparation check with full consumer closure took 0.0495 / 0.2351 / 1.2971 seconds for 200 / 1,000 / 5,000 managed rows respectively (/tmp/nf-move-prep-perf.log); it is not the broader PostgreSQL scale benchmark.

Validation: /tmp/nf-move-workspace-final.log records 5,437 passed, 17 skipped; /tmp/nf-move-native-verified.log records 395 passed, including hard process exits after group reservation, return and commit, and actual AWS SSM renames with consumer rewrites. Shared memory/PostgreSQL cases also cover chains, swaps, net no-ops, malformed/partial writes, legacy ownership, provider conversions, scope/enumeration consumers, repeated historical proofs, quarantine statuses, response storage failures and retained footprints. Checked source and shared fixture types, Ruff, aliases and docs pass. Workspace ty retains its 100 inherited diagnostics. The complete graph backend goal remains active with the broader audit gates below.

Protected history administration

preview_history_retention() reports counts, the configured or one-time retention days, a UTC cutoff, committed frontier, baseline pins, completeness boundary and history generation without deleting evidence. prune_history(preview) freezes that cutoff and frontier, rechecks the state scope and current pin/recovery protections under the app-row lock, and deletes versions, completed operations and excess checkpoints in one transaction. Counts are recomputed; the preview is not mutation authority. A database error after version deletion rolls the entire transaction back, including checkpoints and the pruning watermark.

Current resource/output rows and their tombstones remain. Retention also keeps the last old version before the recent history window, each pinned baseline's boundary versions, checkpoint before-images and subsequent consumer history/requests, unresolved operations, and completed requests still needed by live compensation or recovery owners. Pruning does not alter resource state, outputs, observations, metadata, baseline pins, migration receipts or the committed frontier. Normal run completion uses this same guarded implementation with the configured 90-day default. The in-memory backend implements the same explicit preview/prune contract and incomplete-history checks for the shared tests.

history_page() binds continuation cursors to backend/state/lineage, filters, starting frontier and history generation. Composite sequence/kind/key/revision ordering keeps every member of multi-row commits. PostgreSQL uses explicit C collation, matching Unicode ordering in memory. New commits cannot shift a page, cross-state/filter cursors fail, and evidence deletion invalidates an outstanding cursor. The generation also advances when an intermediate revision of one atomic commit is removed without changing the point-in-time completeness watermark.

The CLI adds nf state retention show|prune [--keep-days N] [--json], with approval for explicit deletion and --auto-approve for machine-readable pruning. A one-time policy does not replace the backend/env/project setting. nf state history adds --run, --since, --cursor, --values and --json, and prints status alongside version/run metadata. Values use historical sensitive paths, including nested lists and whole-resource masks; private state, provider identity and metadata are omitted. show --at summarizes addresses and outputs without printing potentially sensitive resource IDs.

Schema 20, writer protocol 10, adds apps.history_epoch and fences older writers from changing pruning/pagination markers or deleting evidence. Saved-plan format 16 and queue protocol 1 stay unchanged. An old dispatched provider call can still return its result.

The maintenance lock-wait test exposed a pre-existing stale-fence path: dispatch and commit could pass ownership checks, wait for the app row and proceed after expiry. Reserve, dispatch and commit now recheck ownership at the transaction tail; an expired run rolls back before its mutation is visible. Commit audit records use that final fence. Real PostgreSQL regressions hold an actual history-maintenance transaction until the waiting run expires, then verify no resource, frontier or dispatched stage was published.

The six focused HistoryRetention.tla configurations pass: 95 states for safety and fair pruning, and expected counterexamples for trusting a stale preview, dropping the old boundary, skipping generation changes or pruning live-operation evidence. These focused invariants do not replace the combined multi-run/clock/provider/check model gate.

Validation: /tmp/nf-history-workspace.log records 5,456 passed, 17 skipped; /tmp/nf-history-native-verified.log records 417 passed, including real AWS-provider workflows, transaction rollback after a version DELETE, old-writer fencing and all three maintenance lock-wait boundaries. Source and shared fixture types, Ruff, aliases and docs pass. Workspace ty retains the same 100 inherited diagnostics.

The final expiry check refreshes time and the actual grant with one query, while the original run/guard locks keep epoch, role and migration metadata stable. An isolated storage-only parent/current/current/parent run of 1,000 fully recorded create operations measured 24.2224 / 27.7105 / 26.4466 / 24.9287 seconds (/tmp/nf-history-perf-refence.log), about 10% slower on average with the new checks. Earlier repetitions varied substantially; this is recorded as an observed overhead, not a closed performance gate. Each run verifies its loaded source, 1,000 committed rows/operations and no unresolved results.

A separate PostgreSQL storage fixture with a pinned origin took 0.2002 / 0.6118 seconds to preview/prune 10,000 versions and 0.5173 / 2.5817 seconds for 50,000, preserving the current version, old boundary and pin (/tmp/nf-history-perf.log). Those backfilled history rows measure retention queries, not a complete apply workload. The complete graph backend goal remains active: broader performance, per-call coverage, combined modeling, reference workloads and public concurrency are still required.

Ownership across the complete SQL transaction

Owned PostgreSQL work now uses one transaction scope for the initial ownership lock and the final database-clock/actual-grant check. Returned results, kept-response restoration, aborts, uncertainty marks and recovery takeover previously checked before waiting on their operation row. Checkpoint creation could wait deleting an old pin; plan validation/admission and queue changes could wait on the app row. Checkpoint restore and graph cutover could validate the inner state write, then wait while publishing the outer receipt. Those waits could outlast the lease.

The scope keeps role, epoch and migration-guard locks through its full body. Its final observation is the publication decision point, after buffered writes and outer receipts, with ownership locks retained through SQL commit. Expiry or an incomplete actual grant rolls back all effects together: operation status/response/claim, resource versions, outputs, frontier, pins and receipts. Commit audit records are appended from that scope using its final observation. _commit_on receives the scope explicitly and can allocate only one graph sequence in it. Operation-row checks use the already locked scope instead of repeating the run/guard fence.

Recovery registrations can remain pending while inheriting the claimed operation's retained footprint; any granted registration must still hold its complete set. Renewal, queue requests, grant installation, lease-set release and plan validation/admission also finish inside the scope. Ending runs/force-unlock and epoch-bound killed-provider evidence remain cleanup/evidence paths that can operate after expiry. Baseline pinning and history retention retain their separate administrative guards.

Schema 21, operation/state writer protocol 11, fences writers that lack these complete transaction checks. Queue protocol 1 and saved-plan format 16 are unchanged. An unchanged original owner can still retain an already-dispatched response through the legacy-writer exception. The queue wire protocol is unchanged; the version fence is enforced at operation/state ownership and publication boundaries.

There are 21 new native regressions reproduced against parent de831779: seven operation-row waits in /tmp/nf-owned-lock-red.log and fourteen further cases in /tmp/nf-owned-expanded-red.log. The latter include actual live-grant deletion, delayed grant decisions, waits after operation updates, queue/admission app waits, checkpoint pruning and graph cutover/restore receipts. All failed by accepting the stale mutation. The final native suite has 439 passing checks (/tmp/nf-owned-native-final.log), including actual AWS-provider workflows, legacy-writer fencing, checkpoint receipts, transfer retries and crash recovery.

OwnedTransaction.tla splits buffered SQL work from publication, with a finite database clock, independent grant loss and epoch changes blocked by the run lock. Seven configurations have the expected outcomes: safety and fair completion each explore 778 states; broken variants skip the tail check, trust the initial grant or check before the outer receipt; two reachability probes publish receipts and recovery claims. This focused model abstracts provider calls, grant installation and atomic SQL rollback. The combined multi-run/clock/provider/check model and implementation-history replay gate remain open.

A real PostgreSQL query profile verifies 20 complete create lifecycles and their rows/operations. The total falls from 53 to 52 queries per resource: commit drops two repeated fence queries while return adds its missing final grant/clock check. Quarantine reads return zero or one current unresolved operation per query in this fixture, and the unresolved-stage partial index remains in place (/tmp/nf-fence-profile-before.log, /tmp/nf-owned-profile-final.log).

The isolated parent/current/current/parent benchmark of 1,000 fully recorded creates measured 34.8435 / 22.8884 / 19.0897 / 30.7227 seconds (/tmp/nf-owned-perf.log). Every run verifies its loaded source, 1,000 committed resource/operation rows and no unresolved work. Both current runs were faster, but the block timings vary substantially; this is bounded workload evidence, not a reliable speedup estimate or closure of the broader scale/performance gate.

Workspace units pass 5,456 tests, 17 skipped (/tmp/nf-owned-workspace.log). Changed source types, Ruff, alias generation and the documentation build pass. Workspace ty has the same 100 inherited diagnostics (/tmp/nf-owned-ty-final.log); it is not a clean workspace type check. The complete graph backend goal remains active, including the broader coverage, reference-workload, combined-model, public-concurrency and scale gates below.

Core AWS integration across state backends

All 50 hybrid setup calls in the core AWS suite now use an explicit hybrid_execution test fixture. pytest --nf-test-hybrid-state-backend postgresql selects a real PostgreSQL graph backend; local retains the original document path. The fixture verifies the actual state engine and backend, shares state across rebuilt apps using the same output directory, and gives different directories independent state IDs. It closes its PostgreSQL connections after each test. Terraform comparison apps continue to use their own document state.

uv run poe test-integration-aws-graph runs the suite with PostgreSQL, FakeCloud and Terraform comparisons enabled. Every FakeCloud test keeps its isolated account. The existing local task continues to work. Shared assertions inspect actual state/checkpoint APIs, and the write-only test also searches raw graph resource, version, operation, observation, app, run and checkpoint rows.

This broader run found two client bugs and an ordering gap:

  • Recovery templates copied the live apply configuration, retaining write-only values even though current resource state omitted them. Reservation now nulls schema-declared write-only fields, including nested fields, and removes ephemeral arguments from the durable template. Ordinary nested fields and identity keys remain. The live provider configuration is unchanged. Two regressions cover success and a lost response; existing operation records stay immutable.
  • Retained graph no-op nodes were counted as completed resource changes. They still execute and reconcile evidence, while the public result excludes no-op nodes without a planned change. A related orchestration test had mismatched stack IDs and had counted a no-op as an update; it now uses matching IDs and verifies the provider actually receives the update.
  • Destroy ordered current provider inputs but omitted concrete inputs inherited through data sources. Under authoritative recording, an empty current provider proof could replace the retained consumer evidence; deleting the source then invalidated a consumer whose delete was in flight. Reverse destroy ordering now also uses retained concrete resource/output inputs. Three regressions cover intact caches, removed caches and removed caches plus constructs. Historical broad scopes remain fences rather than fabricated directed edges.

The six new unit regressions failed before their fixes (/tmp/nf-graph-writeonly-unit-red2.log, /tmp/nf-core-graph-noop-red.log, /tmp/nf-graph-observation-destroy-red2.log) and pass now. The native data-source workflow also verifies destroy after a refreshed no-op and observation reconciliation (/tmp/nf-core-graph-observation-destroy-verified.log).

Two test adaptations preserve the graph protocol's existing requirements. Caller-identity and region lookups declare observes=[]: they read the authenticated identity/provider settings, not managed objects. Unknown observations retain their conservative app scope. The deferred parameter lookup checks dependency_pending when a first AWS refresh changes a stored value representation (observed here: null tags become an empty map), re-executes the observation after that proof advances, and verifies the subsequent plan is stable. Cached observation values do not authorize consumption of a new managed revision.

Validation on the final implementation:

  • 45 passed with PostgreSQL graph state, including Terraform comparisons (/tmp/nf-core-graph-verified.log, 222.26 seconds).
  • 45 passed with local state (/tmp/nf-core-local-final.log); all four data-source cases were rechecked after their final scope declarations (/tmp/nf-core-local-observations-final.log).
  • 439 passed across the native PostgreSQL protocol/admission/AWS suites (/tmp/nf-core-graph-native-final.log).
  • 5,462 passed, 17 skipped in the workspace unit suite (/tmp/nf-core-graph-workspace-verified.log). Changed source/test-support types, Ruff, aliases and docs pass. Workspace ty still reports the same 100 inherited diagnostics.

Schema 21, writer protocol 11, queue protocol 1 and saved-plan format 16 are unchanged. This completes the core AWS/FakeCloud interoperability check. It does not close the broader provenance/coverage, combined-model, reference-workload, public-concurrency or PostgreSQL scale/performance gates; the complete graph backend goal remains active.

Managed RPC audit and wire identity compatibility

The provider RPC catalogue (specs/graph-state/rpc_contracts.json) records the 26 transport implementations and separates managed mutations from provider configuration, planning, reads, imports, conversion, ephemeral sessions, functions, schemas and session I/O. Architecture tests compare it with versioned and direct stub calls and enforce the managed apply gateway. This is a static boundary inventory; it does not prove the runtime lease coverage of every read or session operation.

The PostgreSQL AWS integration fixtures now observe each managed mutation at its encoded RPC boundary. The observer decodes with the resource/identity schema and checks the actual target, provider source, durable original operation, immutable request identity, dispatched sub-stage, retained footprint, live grant when applicable, and materialized input proofs. Built-in provider calls use their in-process boundary. Reports contain identifiers, contracts, modes and counts, without configuration/state values, private data, credentials or diagnostics. A caught workflow failure cannot conceal an observer violation. Sensitivity tests cover wrong targets, types, sources, stages, grants and reads, duplicate sends, overlapping targets and replacement halves.

The audit found and reproduced two production gaps:

  • Ownership binding hashed Python selectors before Terraform primitive coercion. A string field configured as 123 or True reserved another key from the "123" or "true" sent to the provider. Identity and scope selectors now use the same schema normalization as the wire encoder. The four real PostgreSQL/FakeCloud regressions cover both app and resource grants.
  • Unsupported identity contracts used app X during the run but retained only row coverage for an unresolved call. Their operations now retain app X through resolution. Sibling calls and state writes wait for durable completion, and successor grants remain blocked after the run ends. Shared protocol cases verify this in memory and PostgreSQL. Supported contracts keep their narrower footprints.

Schema 22, writer protocol 12 and queue protocol 2 fence earlier senders and grant clients; an unchanged original owner may still record an already-sent response. New requests carry wire_identity_version: 1. Earlier immutable requests keep coarse app X quarantine, including in the SQL operation-lease view. Recovery widens only their cloud-key authorization, preserving their original state-write coverage. An older update without membership coverage still retains tainted tracking when its object is missing. Saved-plan format 16 is unchanged.

Multiple legacy calls from one run could otherwise block each other's recovery under those coarse holds. Recovery first checks termination and probes selected in-flight siblings, saving each verified observation separately from an original provider response. It then ingests settled results through their individual claims. Unknown or unterminated calls stay quarantined. The observation and original request/digest survive recovery crashes; neither a new mutation nor a new run grant is used. Schema-21 upgrade cases exercise numeric selectors, original late returns, old writer/queue rejection, and interruption between observations.

The broader AWS run also exposed an order-dependent fixture: the EventBridge target named its rule and log group with plain strings. It now consumes their resource references so creation and teardown carry the actual dependencies.

Validation:

  • 5,497 passed, 17 skipped in the workspace unit suite (/tmp/nf-wire-workspace-final.log).
  • 451 passed across the native PostgreSQL protocol, admission, AWS and schema-21 upgrade suites (/tmp/nf-wire-native-complete.log).
  • 45 passed across the full core AWS/FakeCloud suite with graph state, including Terraform comparisons (/tmp/nf-wire-core-aws-complete.log, 391.46 seconds).
  • 350 witnessed calls, zero violations across 52 native and 40 core AWS audited fixtures: 164 native calls (148 SSM, 16 built-in generator) and 186 core calls (74 SSM, 112 serial fallbacks). The native calls include 65 under resource grants and both replacement halves. Reports are in /tmp/nf-wire-native-complete/ and /tmp/nf-wire-core-aws-complete/.
  • The corrected cost-free workload deploys and destroys successfully with graph and local state (/tmp/nf-wire-cost-free-fixed.log, /tmp/nf-wire-local-cost-free.log).
  • Changed source, new RPC support and upgrade tests pass targeted ty. Workspace ty remains at 100 inherited diagnostics. Ruff, alias consistency (in the unit suite), whitespace and documentation checks pass.

The remaining runtime coverage of non-mutating calls, combined multi-operation/clock/provider/check model, broader reference workloads, public concurrency switch and PostgreSQL scale/performance work remain open. This milestone does not complete the full graph backend goal.

Combined implementation histories and convergence evidence

The original GraphState.tla permits only one outstanding operation per run and represents cloud existence rather than the returned configuration values. The next combined-model step now has an implementation corpus to match: specs/graph-state/histories/ contains four versioned event histories, and the interpreter in tests/helpers/graph_execution_history.py generates all 20 effect/return/commit interleavings of two parallel updates under one fixed grant. The same 24 histories run in memory and real PostgreSQL, rather than using separate adapter-specific scripts.

Preparation invokes the production runtime-value and runtime-check helpers and attributes provider settings to their real provider node. An independent oracle records what those opaque evaluations actually read, compares each value/revision with committed history and the cloud payload, checks physical mutation intervals, stable history and one ingestion per operation. Four sensitivity tests remove provider/check/value evidence or substitute a payload value and require rejection.

The combined histories exercise:

  • Two outstanding calls from one admitted run, an independent row committed during their calls, and all 20 orders of effects, responses and commits.
  • Database lease expiry with a still-current client monotonic clock, a paused late send, a raw backend commit refused after expiry, and client heartbeat loss before the database lease expires.
  • Kept responses written after lease loss, one sibling's recovery while the other's shared read remains protected, two recovery actors, obsolete attempts while the claimant is still live, a competing live recoverer, recovery after that actor ends and repeated ingestion requests.
  • Older-writer/younger-reader ordering, retained input holds until the last sibling resolves, and checkpoint refusal after the recovered rows consumed the provider revision being restored.

These histories found a production convergence bug. Recovery of a dispatched update could read the old object, save the requested fingerprints and mark it ready despite having no successful apply response. With drift_correction=False, the next apply silently accepted the old value as drift. A second end-to-end regression reproduced the same result for a partial error response stored immediately by the failed apply. Both regressions now reconcile the requested value on the next apply. Probe-based recovery and partial updates returned with errors stay unconverged; incomplete creates stay tainted, while successful verified kept responses can remain ready.

Validation on the final implementation:

  • 5,527 passed, 17 skipped in the workspace unit suite (/tmp/nf-combined-history-workspace.log).
  • 475 passed across native PostgreSQL protocol, admission, AWS, upgrade and combined histories (/tmp/nf-combined-history-native.log, 76.72 seconds).
  • The initial history oracle failed specifically on an unacknowledged recovery claiming convergence (/tmp/nf-execution-history-red.log); the end-to-end drift and partial-error regressions failed with the old/partial value still present (/tmp/nf-unacknowledged-drift-red.log, /tmp/nf-partial-update-drift-red.log).
  • Changed source and new test support pass targeted ty. Workspace ty retains 100 inherited diagnostics. Ruff, alias consistency (in the unit suite), whitespace and docs pass.

Schema 22, writer protocol 12, queue protocol 2 and plan format 16 are unchanged. These are implementation histories, not TLC-generated counterexamples or a completed formal-model gate. Arbitrary operation graphs, replacement/deferred/approval combinations, provider/check coverage beyond these concrete workloads and clock changes inside locked SQL transactions still require combined modelling and replay. Convergence evidence in state already recovered by earlier writers also remains part of the upgrade audit. The full graph backend goal stays active.

Legacy convergence evidence upgrade

Schema 23, writer protocol 13, queue protocol 2 and saved-plan format 16 now qualify readiness left by older recovery writers. Installing the new guards, capturing each app's legacy frontier, streaming certificates and repairing current readiness are one migration transaction. The migration waits for old owned transactions before reading their evidence. Earlier writers cannot publish more state; an unchanged original owner can still retain a response from a call it already sent.

A retained successful managed apply must cover the version's evaluated configuration and canonical cloud object. Matching the mutation counter alone is insufficient: an old state-only restore can retain that counter while restoring a different configuration, object name or account. The upgrade checks the current version, mutation version and returned object together. A legitimate refresh showing manual drift stays certified. Missing fingerprints, ambiguous encoding, observations, partial errors and pruned evidence require fresh provider planning instead of claiming readiness.

Only current live ready rows lacking proof become unconverged. Values, fingerprints, revisions, frontiers, pins, historical rows and checkpoint digests remain unchanged; stronger statuses remain intact. Saved plans comparing a ready target fail their row-version validation. Immutable nf_convergence_evidence certificates survive operation retention and cascade only with their historical versions. Checkpoint publication qualifies its verified immutable before-images through those certificates, including force restores. New confirmed applies and checkpoints beyond the upgrade frontier use the current protocol normally.

Recovery also qualifies responses arriving after the upgrade. Requests without known nonempty configuration fingerprints and read-only imports stay unconverged. Successful managed applies retain requested status, while partial creates remain tainted. Schema-21 upgrade tests exercise original owners returning after migration, interrupted recovery and unchanged request digests.

Validation:

  • 5,565 passed, 17 skipped in workspace units (/tmp/nf-convergence-workspace-final-v2.log).
  • 510 passed in native PostgreSQL protocol, admission, AWS, upgrade and combined-history tests (/tmp/nf-convergence-native-final-v2.log, 76.97 seconds). The 34 new schema-22 upgrade cases include normal/force restores, configuration/object/account binding, retained/pruned evidence, stronger statuses, new confirmations and rollback/retry after the first 100-certificate batch.
  • Pure certificate tests cover malformed and ambiguous evidence, empty fingerprints, identity-only provider state and legitimate drift. Recovery regressions first reproduced missing-configuration and import readiness errors (/tmp/nf-legacy-return-convergence-red.log); partial-create status regressions also failed before the fix (/tmp/nf-recovery-explicit-status-red.log).
  • Changed source/tests pass targeted ty and Ruff. Workspace ty retains 100 inherited diagnostics. Alias consistency is covered by the workspace suite. Whitespace checks and the docs build pass (/tmp/nf-convergence-docs-final.log).

This closes the legacy-convergence upgrade audit. The combined formal-model, broader call/provider coverage, reference workloads, public concurrency and PostgreSQL scale gates below remain open.

Bounded combined execution model and TLC witness replay

CombinedExecution.tla now joins two updates sharing a prepared fixed grant with three actual input roles (provider settings, a runtime check and a runtime value), independent database/client clocks, retained sibling protection, late responses, actual cloud/row values and convergence. An observation of an existing object can record a value without certifying its requested configuration. Responses recorded before expiry and responses kept after loss are distinguished.

All 17 configurations have their expected outcomes in specs/graph-state/combined_execution_results.txt. The intended cases explore 27,000 distinct states with failures and 116 without. Seven broken variants detect omitted provider/check/value reads, early input release, an expired database owner publishing, new dispatch after local loss and unacknowledged convergence. Eight reachability witnesses cover parallel sends, normal completion, observed recovery with different physical outcomes, late kept-response recovery, an input writer after sibling recovery, an independent create, consumer-safe restore refusal and termination of a sent call without an effect.

export_execution_traces.py copies complete states directly from TLC's JSON dump into execution_traces/, binding each artifact to the model/configuration hashes. Those states' events drive the existing memory/PostgreSQL interpreter. After every action it compares row/cloud values, readiness, sends, settlements, response presence, durable stages, ingestion counts/actors, input revisions, clock state and ownership-loss state. The independent actual-read/history oracle remains active. A mutation test requires a forged cloud value to fail even with an otherwise valid event list. Changing the model/configuration requires regenerating its witnesses.

Validation: 5,574 passed, 17 skipped in workspace units (/tmp/nf-combined-tlc-workspace-final.log); 32 passed in PostgreSQL history replay, including all eight witnesses (/tmp/nf-tlc-replay-postgresql-v2.log). Changed Python support passes ty and Ruff; the full model runner verifies all 17 expected results. Model and replay instructions are in specs/graph-state/README.md. The final actor/clock projection checks pass all 37 memory cases and all 8 PostgreSQL witnesses (/tmp/nf-tlc-replay-memory-final.log, /tmp/nf-tlc-replay-postgresql-final.log). Whitespace checks and the docs build pass (/tmp/nf-combined-tlc-docs-final.log).

This supplies actual TLC-to-implementation replay for the bounded scenarios. The model assumes correct fixed-grant admission and atomic recovery claim/resolution; restore is a denied request whose real blockers are checked by replay. General operation DAGs, alias identity conflicts, replacement/deferred/approval combinations and clocks inside locked SQL transactions still need combination. The full formal gate and the broader backend goal remain active. Schema 23, writer 13, queue 2 and plan format 16 are unchanged by this model/replay work.

Parameterized update DAGs and real reference workloads

The combined model now accepts a finite topological order and a family of dependency graphs, selecting one at initialization. A dependent can reserve only after its parents committed and converged; its reservation captures their actual values. New invariants reject early dependent sends, stale planned parent values and missing dependency provenance. The checked instances cover chains, forks, joins, diamonds and all 64 forward-edge DAGs on four ordered nodes.

All 36 combined configurations have their expected outcomes in specs/graph-state/combined_execution_results.txt: 15 intended safety/liveness cases, nine broken variants and twelve reachability probes. The exhaustive failure case explores 12,658,733 distinct states, with the same count in two runs using different TLC fingerprints. The no-failure family explores 39,203 states and passes fair completion. Fork and diamond recovery cases also pass fair eventual quiescence and input-writer progress; loss can leave unstarted dependents for a new plan. The DAG bound is four nodes; the protocol parameters accept other finite DAGs.

Replay derives its nodes/parents from the initial model event. It re-evaluates each node's actual runtime/check/provider reads immediately before reservation and materializes the parent's new committed revision. The independent oracle requires the parent's committed operation and readiness before a child sends. Twelve regenerated TLC witnesses compare complete backend states, and mutation tests require missing parent reads and stale planned parent payloads to fail.

Eight real AWS provider workloads now create, update/replan and replace all four graph shapes across stacks on PostgreSQL/FakeCloud. Their providers are deferred from a managed setting, runtime checks read declared parent state, and outputs and consumed revisions must match the final committed values. All 24 applies report zero unattributed reads; the last unchanged apply sends no managed mutation. Ordinary fork/diamond updates overlap after their reverse edges exist. Creates and replacements retain X on shared reverse-edge predicates and intentionally serialize.

Final validation:

  • 5,580 passed, 17 skipped in workspace units (/tmp/nf-dag-workspace-final.log).
  • 530 passed in the PostgreSQL protocol/admission/AWS/upgrade/history suites (/tmp/nf-dag-native-final.log, 93.05 seconds).
  • All 36 TLC configurations have expected results (/tmp/nf-dag-model-final-results.log). Fair checks also pass in their focused runs. The second exhaustive safety run has the same 12,658,733 states as the first (/tmp/nf-dag-all-graphs-first-results.log).
  • The full real-provider audit records 240 managed RPCs across 60 cases, zero violations (/tmp/nf-dag-native-final-rpc-audit). The new DAG workloads alone record 76 RPCs, zero violations (/tmp/nf-dag-real-rpc-audit-v2).
  • Changed replay support passes targeted ty and Ruff. Workspace ty retains 100 inherited diagnostics, including three in the existing AWS integration test file.
  • Whitespace checks and the docs build pass (/tmp/nf-dag-docs-final.log).

This extends the combined gate through parameterized update DAGs and real replacement/deferred workloads. Combining alias identities, replacement sub-stages, deferred approval and locked SQL waits in the formal model remains open, together with broader provider/read coverage, public concurrency and PostgreSQL scale validation. Schema 23, writer 13, queue 2 and saved plans 16 are unchanged.

Selective plan proof reads and PostgreSQL scale capture

A one-resource plan previously decoded and fingerprinted every resource while validating or admitting its proof under the app-row lock. A 1,000-row profile spent 0.144 of 0.173 seconds in snapshot materialization, including 1,000 version constructions. The regression first reproduced unrelated-row decoding. After correcting the admission fixture's missing action declaration, forcing the former reader fails all four resource/output validation/admission read-bound cases (/tmp/nf-plan-read-corrected-red.log).

Concrete proofs now load their expected rows, concrete consumed revisions and auxiliary values. Reverse checks load covering generations and, for destructive changes, all covering consumers. All unresolved operations remain visible, even absent creates. Opaque value/membership scopes retain the full snapshot path; legacy observation lookup and private bytes retain the full view's semantics. The same proof oracle, locks, complete grants and final ownership fences apply. The partial view never escapes as application state. Baseline admission still verifies its full retained intent digest, and public snapshots and execution reloads remain complete.

The repeatable fixture is tests/performance/graph_postgresql.py; its README documents normal API seeding, simulated provider responses, query instrumentation and limits. The committed JSONL keeps every sample, host/runtime metadata and source hashes. The final version-2 capture uses PostgreSQL 16.15, Python 3.15.2, a 1 KiB payload, planner statistics gathered outside the measured phases, one warm-up and seven samples. Medians in milliseconds:

Managed rows Point validation, selective / former full view Admission, selective / former full view Full snapshot Opaque scope Managed update
100 6.11 / 19.07 43.40 / 70.46 14.62 17.11 49.60
1,000 7.48 / 102.88 76.65 / 154.91 107.32 109.55 44.30
10,000 6.54 / 827.84 256.50 / 1,239.61 928.16 804.11 58.48

Every selective point sample materialized one resource version, compared with the full row count for the former reader; validation issued 10 body queries instead of 13. Admission includes registration, grant, retained-baseline validation and release, so it intentionally remains state-dependent. Query elapsed time includes client round trips and decoding, not just server CPU. The capture shared a host with integration tests; absolute latencies are observations, not performance thresholds. Initial records without harness_version predate explicit statistics maintenance and are retained separately from version 2. The two inspected point queries used indexes before and after statistics collection; no additional SQL scan defect was established.

Validation:

  • 5,580 passed, 17 skipped in workspace units (/tmp/nf-plan-reads-workspace-final.log).
  • 559 passed in native PostgreSQL suites, including 29 new proof-read cases (/tmp/nf-plan-reads-native-final.log). These cover resource/output bounds, changed consumed inputs, app/stack scopes, covering consumers, auxiliary/private values and absent operations.
  • 45 passed in the full core AWS/FakeCloud suite on PostgreSQL graph state, including Terraform comparisons (/tmp/nf-plan-reads-core-aws-final.log).
  • The analyzed 100/1,000/10,000-row fixture completed with matching source hashes (/tmp/nf-graph-benchmark-analyzed-final.log).
  • Changed source, tests and harness pass targeted ty and Ruff. Workspace ty retains 100 inherited diagnostics (/tmp/nf-plan-reads-root-types-final.log).
  • Whitespace checks and the docs build pass (/tmp/nf-plan-reads-docs-final.log).

This supplies baseline PostgreSQL scale evidence and removes unrelated resource decoding from concrete proof checks. High-fanout reconciliation and concurrent-writer throughput remain to be measured, alongside the combined formal, broader provider/read and public concurrency gates. Schema 23, writer 13, queue 2 and saved plans 16 are unchanged.

Combined replacement stages and canonical alias exclusion

CombinedReplacement.tla extends the existing combined execution rules, retaining actual provider/check/value reads, DAG ordering, independent clocks, late responses and two recovery actors. One selected node now has delete and create calls under a single immutable operation. Separate row/object presence distinguishes a durable tombstone, the gap, an unsuccessful delete and an unacknowledged create. A competing address under a different provider alias requests the same canonical physical identity. It cannot receive X while the live grant or unresolved operation retains that identity, including after the delete row was committed and ownership expired.

All 17 configurations have their expected outcomes in specs/graph-state/combined_replacement_results.txt. The bounded instances use two nodes as siblings or a chain. Safety and fair recovery/input-writer/alias progress cover 363,322 distinct states; safety runs with TLC fingerprints 12 and 48 agree. The chain failure case has 26,621 states. Fair no-failure completion covers 962 states and requires both nodes to finish. Six broken variants remove canonical identity, retained identity, gap protection, consumed-input retention, the database publication fence or acknowledged convergence. Six TLC witnesses are copied directly from complete JSON counterexamples, with hashes of both the inherited and extension modules and their configuration. The original twelve update-DAG witnesses remain unchanged.

Both backends replay the new witnesses through real replacement reserve/dispatch/return/commit and recovery methods. They cover a sibling call across the gap, a dependent reading the new incarnation, gap recovery, a kept late create response, an observed create and delete recovery followed by an alias grant. The alias witness checks actual queue refusal while the operation remains unresolved and a grant after resolution. It checks exclusion rather than creating a duplicate managed binding. The independent oracle requires the same operation ID for both calls, one deletion followed by at most one final write, committed parent values and retained actual inputs. State projections also compare absence, both call histories, write actors, incarnation and the alias/gap flags after every event. Mutation tests falsify row presence and the gap wait, or substitute a second operation for the create; each must fail.

Validation:

  • 5,589 passed, 17 skipped in workspace units (/tmp/nf-replacement-workspace-final.log).
  • All 52 focused memory history/oracle cases pass after the final oracle strengthening (/tmp/nf-replacement-memory-final.log).
  • 565 passed in native PostgreSQL protocol/admission/AWS/upgrade/proof/history suites with FakeCloud enabled (/tmp/nf-replacement-native-final-v3.log), including all 18 TLC witnesses.
  • The 17 model outcomes are recorded from completed runs in /tmp/nf-replacement-tlc-final-results.log, /tmp/nf-replacement-no-failures-fair-final-results.log and /tmp/nf-replacement-input-released-final-results.log. Raw trace export is recorded in /tmp/nf-replacement-export-v3.log.
  • Replay support, exporter, loader and focused test files pass targeted ty and Ruff. The shared admission helper retains its existing diagnostics; full workspace ty remains at 100 inherited diagnostics (/tmp/nf-replacement-root-types-final.log).
  • Whitespace checks and the docs build pass (/tmp/nf-replacement-docs-final.log).

This combines chosen-object alias exclusion and replacement halves with the prior execution model. Fixed-grant admission and recovery claims remain abstract atomic assumptions. Deferred approval and database time passing inside locked SQL waits still need combination. Broader provider/read coverage, public concurrency and high-fanout/multi-writer scale remain open. Schema 23, writer 13, queue 2 and saved plans 16 are unchanged.

Combined approved rounds and locked SQL publication

CombinedApply.tla extends the combined replacement rules with initial/deferred approval and SQL wait, buffer and publication transitions. Initial nodes can run as siblings; a deferred node consumes their committed results. The checked bounds are a two-node chain and a three-node join with one replacement. Approval has its own clock, separate from database expiry and the client's monotonic deadline. Timeout or ownership loss ends the prompt and releases its fixed grant; a late callback cannot start another operation. The deferred round must fit the original write/action/read/scope capability and cannot reacquire a grant after mutation.

An owned SQL commit now retains its run-row lock while waiting on an operation row and while its row/history/operation writes are uncommitted. Physical calls and clocks can still advance. Publication rechecks time and the entire grant; failure rolls the buffered facts back together. The first native grant-loss replay exposed an overly permissive model transition: PostgreSQL's footprint check locks all present grant rows before writing, so a deletion after those locks waits. The corrected fault removes an unrelated key during the earlier operation-row wait. The mutation footprint can still be covered and its writes buffered; the final whole-grant fence must reject them. No backend fix was needed for this ordering correction.

All 18 configurations have their expected outcomes in specs/graph-state/combined_apply_results.txt. The two-node safety/fair instance has 30,678 states; the three-node safety/fair instance has 387,778. Both fair cases pass prompt and transaction termination, eventual operation quiescence, input-writer progress and alias progress. Five broken variants omit the final clock or complete-grant check, accept a late answer, expand a deferred round or reacquire after mutation. Eight new TLC witnesses bind all three inherited model hashes and their configuration. They cover initial/deferred timeout with late answers and alias grants, approval ownership loss, successful deferred completion, expanded coverage refusal, SQL-wait expiry followed by recovery, buffered grant-loss rollback and a sibling spanning the replacement gap before a deferred join.

Memory replay delays its atomic backend commit until publication. PostgreSQL replay uses a real operation-row lock and verifies the writer's lock wait in pg_stat_activity. It reads the buffered tombstone and operation stage inside the writer's SQL transaction, while external readers must retain the old frontier, versions and history. Expiry waits for actual database time without updating the locked run row. Both replays use the actual bounded approval function and deferred-round validator. State comparisons include the prompt/round, grant, retained history, SQL stage, initial freshness and grant facts. Mutation tests require forged approval, premature row visibility and discarded completed history to fail.

Four full AWS/FakeCloud/PostgreSQL pipeline cases buffer a first-round parent's SQL commit, verify that deferred approval has not started and then release it. Deferred approval times out with the same original owner, keeping the completed parent under checkpoint and rollback and under app and resource grants. They release every run lease, retain no unresolved operation, record zero unattributed reads and exactly one managed RPC, and leave the child absent. A late answer sends nothing further; a fresh competitor can acquire the state.

Validation:

  • 5,600 passed, 17 skipped in workspace units (/tmp/nf-apply-workspace-final.log).
  • 577 passed in native PostgreSQL protocol/admission/AWS/upgrade/proof/history suites (/tmp/nf-apply-native-final.log), including all 26 TLC witnesses and four new AWS cases.
  • All 63 focused memory history/oracle cases pass (/tmp/nf-apply-memory-v6.log).
  • The eight new SQL/approval witnesses pass real PostgreSQL replay (/tmp/nf-apply-native-v5.log); full frontend cases also pass separately (/tmp/nf-apply-aws-first.log). Raw trace export is in /tmp/nf-apply-export-v5.log.
  • The final full frontend run passes all four cases after type narrowing (/tmp/nf-apply-aws-final.log). Its wire audit records 4 RPCs, zero violations (/tmp/nf-apply-real-final-rpc-audit).
  • All 18 model outcomes are saved from /tmp/nf-apply-tlc-v5-results.log and /tmp/nf-apply-join-fair-final-results.log; the three-node fair run completes in 320 seconds.
  • New replay support, exporter, loader and focused history tests pass targeted ty. Workspace ty retains 100 inherited diagnostics (/tmp/nf-apply-root-types-final.log), including the existing AWS test file diagnostics. Ruff, whitespace checks and the docs build pass (/tmp/nf-apply-docs-final.log).

These bounded scenarios now combine approved deferred rounds and locked SQL publication with the previous replacement, alias, read and recovery model. Fixed-grant admission and recovery claim/resolution remain atomic assumptions here, with their detailed models and implementation tests retained separately. Broader provider/read coverage, public concurrency and high-fanout/ multi-writer scale remain open. Schema 23, writer 13, queue 2 and saved plans 16 are unchanged.

Ephemeral result provenance through write-only consumers

The broader read-path audit found that EphemeralSession.value() recorded only the observation of its temporary result. The configuration's managed reads remained on the ephemeral node and never reached its consumer; node_inputs() correctly skips ephemeral observations, so the consumer's authoritative inputs could be empty. The minimal production-path regression fails with set() instead of the source resource's revision (/tmp/nf-ephemeral-proof-red.log, repeated in /tmp/nf-ephemeral-proof-red-repeat.log). A direct boundary probe showed the producer's entry read, the consumer's observation alone, and correct graph input extraction once that read was bridged. Four real AWS/PostgreSQL cases reproduced missing ephemeral inputs before the fix (/tmp/nf-ephemeral-aws-red.log).

Each open result now stores a copy of its configuration/provider provenance and extends it into every result lookup. This also carries reads through another ephemeral result. Plan and apply openers inherit the ephemeral resource's own provider settings, even when its managed consumer uses another alias. Up-front static coverage now includes providers of non-persisted nodes, allowing those reads to be leased before a deferred provider/ephemeral round can execute. The session still owns temporary values and private bytes; only keys/revision proofs enter durable inputs. The fix is centralized at the result lookup, so each future consumer inherits the same proof rather than needing another special case.

Twelve focused regressions cover the minimal case, nested results with resource/output/absence/ value-scope/membership inputs, stale-input refusal and retained input holds after the run ends. A waiting source writer stays blocked until recovery commits the consumer's known response. Four real AWS cases span app/resource grants, cross-stack managed inputs and a separately configured ephemeral-provider alias. They check planned/static coverage, deferred execution, committed inputs, immutable operation inputs and retained lease footprints. The write-only consumer's state and operation template contain no temporary secret.

The alias cases legitimately defer opening to apply. Their first assertion checks static grant coverage, while the concrete input/footprint assertions run after the deferred round. The final four cases pass (/tmp/nf-ephemeral-aws-v2.log); the related construct-kind/provenance suites pass all 61 cases (/tmp/nf-ephemeral-core-first.log), and the expanded 12-case regression suite passes (/tmp/nf-ephemeral-proof-green-expanded.log).

Final validation:

  • 5,612 passed, 17 skipped in the workspace suite (/tmp/nf-ephemeral-workspace-final.log).
  • 581 passed across the native PostgreSQL suites (/tmp/nf-ephemeral-native-final.log). The managed-RPC audit records 256 calls across 68 AWS cases, with zero invalid calls (/tmp/nf-ephemeral-native-final-rpc-audit).
  • 45 passed in the core AWS/FakeCloud suite using PostgreSQL graph state, including Terraform comparisons (/tmp/nf-ephemeral-core-aws-final.log).
  • Changed production files and the focused core regressions pass targeted type checks and Ruff. Workspace ty retains the same 100 inherited diagnostics. Docs build and whitespace checks pass.

This repairs input capture for new plans and operations. Legacy ephemeral input/footprint qualification, opaque ephemeral observation declarations, broader non-mutating RPC coverage, public concurrency and remaining scale workloads still require the delivery audit. Schema 23, writer 13, queue 2 and saved plans 16 remain current; public applies continue to use app X while those gates are open.

Legacy ephemeral input and footprint qualification

The compatibility audit reproduced a separate gap after the new capture fix: a schema-23 ephemeral request with empty inputs still justified a narrow retained footprint. The minimal regression fails twice (/tmp/nf-ephemeral-compat-red.log and /tmp/nf-ephemeral-compat-red-repeat.log). A boundary probe confirmed that binding preserved the ephemeral metadata and the reader preserved its stored app IX; removing only the wire identity marker changed the effective hold to app X. Wire identity was incorrectly serving as proof of complete input capture. Native upgrade cases also reproduced the narrow hold and uncertified ready rows (/tmp/nf-ephemeral-upgrade-red.log: six failed, eight passed).

New gateway operations now attest ephemeral input capture separately. Rebinding never adds the marker to an old immutable request. Python admission/footprints and the SQL queue/view classify old requests carrying ephemeral argument metadata conservatively, with typed marker validation. Recovery settles in-flight siblings before publishing any result, preserves request digests, and records unknown inputs with unconverged status. Its effective exclusion is app X, while its write capability remains bounded by the original operation. Unknown inputs require broad value reads and the reverse-edge scope, not arbitrary row writes. Obsolete returned move groups are read-only and have changed no state; recovery aborts their manifest so a fresh inspected move can proceed.

Schema 24, writer 14 and queue 3 fence older writers/admission clients while retaining late original provider responses. Migration qualifies current ephemeral rows with unknown inputs, conservative reverse edges and weaker readiness, preserving stronger statuses and all state values, fingerprints, revisions, pins, historical rows and request digests. The separate ephemeral frontier also qualifies old checkpoint images without rewriting schema-23 convergence certificates. Preview and publication both use the qualified image so the fixed grant includes unknown-input coverage. Fresh reviewed applies and checkpoints remain ready. An injected failure verifies atomic rollback of the frontier, readiness and edge changes before retry.

The focused core suite adds 19 cases. Native qualification adds 17 cases, including late returns, interrupted multi-call recovery, schema-22/23 statuses, retained history, journal pruning, old/new checkpoints, upgrade rollback and a fresh move after obsolete-manifest recovery. A differential check compares SQL and Python across 362 typed request variants. The final focused native run passes (/tmp/nf-ephemeral-upgrade-final-focused.log).

Final validation:

  • 5,631 passed, 17 skipped in the workspace suite (/tmp/nf-ephemeral-compat-workspace-verified.log).
  • 598 passed across the native PostgreSQL suites (/tmp/nf-ephemeral-compat-native-verified.log). The managed-RPC audit records 256 calls across 68 AWS cases, with zero invalid calls (/tmp/nf-ephemeral-compat-native-verified-rpc-audit).
  • 45 passed in the core AWS/FakeCloud suite using PostgreSQL graph state, including Terraform comparisons (/tmp/nf-ephemeral-compat-core-aws-final.log).
  • Changed production files and the focused regressions pass targeted types and Ruff. Workspace ty retains 100 inherited diagnostics. Formatting, docs and whitespace checks pass.

Opaque ephemeral observation declarations and the broader non-mutating RPC audit remain open, including verification of indirect legacy consumers without ephemeral argument metadata. Public concurrency and remaining scale workloads are also open. Saved-plan format 16 is unchanged; public applies continue to use app X until the delivery gates are complete.

Opaque ephemeral observations and same-run operation fences

The read-path audit reproduced an explicit observes=[source] declaration producing an empty consumer input set (/tmp/nf-ephemeral-observes-red.log, repeated in /tmp/nf-ephemeral-observes-red-repeat.log). A boundary probe ruled out the result bridge and input extraction: recording only the missing observation before opening restored the proof. Both plan/apply openers now record observation scopes. Static coverage includes ephemeral observations, and generated classes expose the typed constructor argument, with a reviewed golden fixture and typed usage. Fourteen core cases cover resource/output/absence/app/stack/empty/default declarations in both phases; observes never reaches provider configuration.

The first real AWS run then found an apply-time race: its app-scope snapshot captured the region row at value revision 1 while another task committed its refresh no-op at revision 2 (/tmp/nf-ephemeral-scope-probe-v2.log). It was a stale apply observation, not a plan cache or hashing discrepancy. Ephemeral opens now follow independent writes within their declared scope, without adding cycles through their consumers. The original four AWS cases pass. Eight further app/resource-grant cases use literal selectors with concrete, stack or default app observations, plus observes=[] with a real configuration reference. The source is updated in the same apply, and the write-only copy receives its new secret. Actual/durable input proofs and retained leases are checked; neither temporary secret is in the consumer state or operation template (/tmp/nf-ephemeral-observes-aws-final-focused.log: 12 passed).

Capture 2, schema 25, writer 15 and queue 4 qualify these broader reads. Earlier capture-1 requests keep their original marker and digest, but cannot justify narrow observation coverage. Upgrade/recovery tests now also cover schema-24 rows and in-flight calls, old/new checkpoints and rollback/retry. SQL and Python agree on 423 typed request variants. A direct comparison confirms migrations 1–24 evaluate to exactly their previous SQL strings; schema 25 reuses the existing ephemeral frontier to qualify marked rows and checkpoint images.

The full AWS parity run exposed a second real failure during destroy: a sibling could stale a deleting row after its provider delete returned. The retained footprint and conflict detector were correct, but their same-run check was conditional on the grant mode. Five memory/native regressions reproduce it with concrete, app/stack value and membership inputs (/tmp/nf-serial-sibling-inputs-red.log, repeated in /tmp/nf-serial-sibling-inputs-red-repeat.log). Sibling checks now apply under app X as well as resource grants. Concrete outgoing edge patches commute within the run, preserving concurrent readers, while predicate readers and broad scopes remain exclusive; durable cross-run holds are unchanged. Tests of dispatch/recovery defense now explicitly fault the earlier sibling guard, after first checking that it rejects the mutation normally. The cross-stack create/plan/destroy parity case passes (/tmp/nf-ephemeral-observes-cross-stack-v2.log).

Final validation: 5,651 workspace tests passed, 17 skipped, 620 native PostgreSQL tests passed, and 45 core AWS/FakeCloud tests passed with PostgreSQL state and Terraform parity. The native managed-send audit records 76 test manifests, 280 calls and zero invalid sends. Logs are /tmp/nf-ephemeral-observes-workspace-confirmed.log, /tmp/nf-ephemeral-observes-native-complete.log and /tmp/nf-ephemeral-observes-core-aws-confirmed.log; audit records are in /tmp/nf-ephemeral-observes-native-complete-rpc-audit/. Changed production/core test type checks, Ruff formatting/lint, the documentation build and whitespace checks pass. The root type check retains its 100 inherited diagnostics, with no new diagnostics from this work.

The broader read-path gate remains open. Static data-source/provider contexts reject direct ephemeral references, but a deterministic runtime-returned reference bypasses that static check: /tmp/test_nf_dynamic_ephemeral_boundary.py performs one open and one data read, and detects the temporary value in the saved plan. It fails twice (/tmp/nf-dynamic-ephemeral-boundary-v3.log, /tmp/nf-dynamic-ephemeral-boundary-repeat.log). The probe prints counts and a boolean, not the secret. The next milestone below addresses dynamic context validation; its legacy implications remain in the broader audit, alongside non-mutating RPC coverage, public concurrency and scale workloads. Saved plans remain format 16 and public applies retain app X.

Runtime ephemeral context validation and session-local computations

The original small reproducer was still red at the start of this milestone (/tmp/nf-dynamic-ephemeral-boundary-current-red.log). Twenty-four committed regressions then reproduced the omission for runtime-returned references, templates and containers in data, provider, output and ordinary managed contexts, with both local and graph state and diagnostic reports disabled (/tmp/nf-dynamic-ephemeral-contexts-red.log). A test-process-only probe refused only the ephemeral lookup boundary; all 24 passed without any consuming RPC (/tmp/nf-dynamic-ephemeral-boundary-probe.log). This confirms missing runtime context validation, rather than merely a serialization or provider-response problem.

A values-layer marker now records attempted ephemeral access, including unknown references, independently of provenance diagnostics. Expression memo entries retain that marker; configuration holes validate it against the consuming context before RPCs or persistence. Provider settings have their own equivalent boundary. Ephemeral configuration can consume temporary values; managed fields require a known write-only schema. Data sources, outputs, persistent managed fields and framework metadata refuse them. Six additional regressions introduce the reference only during apply, after an upstream create makes a runtime function callable. The consuming operation sends nothing, and partial state contains no temporary result.

The live-session regression uncovered a separate cache bug: a cached runtime transformation sent the plan's SECRET-1 to apply instead of its reopened SECRET-2; the direct-reference controls passed in both backends. It reproduced twice (/tmp/nf-dynamic-ephemeral-caches-v2.log, /tmp/nf-dynamic-ephemeral-live-cache-red-repeat.log). Ephemeral-derived runtime computations now evaluate again in each environment, while expression memoization remains within that evaluation. Four cache-boundary cases reject persistent consumers after an allowed write-only use, and four full plan/apply cases check current-session values and absence from saved plans and state. These opaque dynamic dependencies use explicit ordering; this change does not infer a hidden DAG. Four further local/graph cases accept dynamic ephemeral-to-ephemeral configuration and refuse managed uses when a write-only schema is unavailable. The construct-kind suite passes all 96 cases, including 42 new boundary/session regressions.

Validation: 5,689 workspace tests passed, 17 skipped, followed by the four additional cases above; 620 native PostgreSQL tests passed and 45 core AWS/FakeCloud tests passed using PostgreSQL state with Terraform parity. After optimizing the marker's context object, the 76 native AWS tests pass again with 280 audited managed sends and zero invalid sends. Logs are /tmp/nf-dynamic-ephemeral-workspace-final.log, /tmp/nf-dynamic-ephemeral-contexts-final.log, /tmp/nf-dynamic-ephemeral-native.log, /tmp/nf-dynamic-ephemeral-native-final.log and /tmp/nf-dynamic-ephemeral-core-aws.log. Changed-code typing, Ruff, alias-shim generation, documentation and whitespace checks pass; root typing retains 100 inherited diagnostics.

The existing 1,000-resource hybrid-create profile completes in 0.616 seconds on this host (/tmp/nf-dynamic-ephemeral-perf.log; no baseline history changed). A separate evaluator microbenchmark against f9f0a7ed measures a four-hole configuration over five alternating samples: median 0.1353 s before and 0.1609 s after for 20,000 evaluations, about 1.28 microseconds added per configuration. Replacing a generator context manager with the small marker context object reduced that measured overhead from about 55% to 19%. Raw samples and the isolated harness are /tmp/nf-dynamic-ephemeral-eval-perf-v2.log and /tmp/nf_ephemeral_eval_benchmark.py; these descriptive local measurements do not close the remaining scale gate.

The marker changes no serialized shape, input-proof contract or operation digest: schema 25, capture 2, writer 15, queue 4 and saved-plan format 16 remain current. Older indirect consumers without ephemeral metadata still needed the conservative compatibility qualification in the next milestone. The broader read/RPC audit, public concurrency and scale gates remain open.

Indirect legacy input qualification

Real PostgreSQL reproductions confirm that absent ephemeral_arguments metadata was being treated as evidence of no temporary inputs: unmarked old operations retained narrow holds and old rows stayed ready. The first run and repeat fail five cases each (/tmp/nf-indirect-legacy-red.log, /tmp/nf-indirect-legacy-red-repeat.log). A boundary comparison changes only that metadata and flips qualification while leaving the consumed-input list the same. The live-row probe confirms its sequence is within the recorded capture frontier, ruling out a frontier-placement error and a checkpoint-only bug (/tmp/nf-indirect-legacy-frontier-red.log).

Preserving the earlier frontier initially seemed sufficient, but a schema-25 taint/untaint round-trip disproves that: it copies the old empty proof into a newer sequence, still without recapturing inputs (/tmp/nf-indirect-legacy-metadata-copy-red.log). Schema 26, writer 16, queue 5 and capture 3 therefore establish a new boundary. All older current resources and outputs receive unknown inputs and conservative reverse edges; only ready changes to unconverged. Fresh capture-3 writes and checkpoints retain readiness on reopen and restoration. Saved-plan format 16 is unchanged. Migrations 1–25 evaluate to exactly their committed SQL strings.

Missing markers and capture 1/2 no longer justify narrow exclusion. Original requests, digests, row values, versions, fingerprints, baselines and immutable history remain unchanged. Recovery holds the app, retains bounded original write authority, and records unknown inputs. Old returned move groups require a fresh inspected move, including capture-2 groups with no argument metadata. Checkpoint preview/publication qualifies both resource and output images even after the original operation journal is pruned. Faults after migration 26 roll back its statuses, inputs, frontier and edges before a successful retry, from both schema 24 and schema 25.

The convergence upgrade tests retain their separate configuration/object certificate checks; those certificates do not prove complete input capture. Stronger status flags remain unchanged. The typed SQL/Python differential now covers 484 requests. Two real AWS scenarios exercise an unchanged SSM source/consumer/output app across upgrade with app and internal resource policies: fresh inputs/readiness are recorded without another managed RPC, cloud identities/values/versions stay fixed, and the following plan is stable. Provider refresh may normalize optional empty maps.

Validation: 5,694 workspace tests passed, 17 skipped, and 649 native PostgreSQL tests passed. The native audit records 78 AWS test manifests, 284 managed sends and zero invalid sends. Logs are /tmp/nf-indirect-legacy-workspace-v3.log and /tmp/nf-indirect-legacy-native-confirmed.log; audit records are in /tmp/nf-indirect-legacy-native-confirmed-rpc-audit/. Changed production/core test typing, Ruff formatting/lint and whitespace checks pass. Root typing retains 100 inherited diagnostics, with no additions from this milestone.

The full core AWS/FakeCloud suite also passes 45 tests with PostgreSQL graph state and Terraform parity (/tmp/nf-indirect-legacy-core-aws.log). The documentation build passes.

The broader non-mutating read/RPC and legacy-cache audit remains open, along with public concurrency and the remaining scale workloads. This milestone does not close the full goal.

Value-bound observation proofs and graph runtime caches

An object reference to a previously stored data-source result reproduced a false empty input proof: a new consumer received the old known value even though its source changed and the live data source was absent (/tmp/nf-stored-observation-actual-red.log). The first native cross-stack prototype instead received an unknown value; its nonempty-input assertion did not establish this bug. The committed regression uses the actual object/text lookup paths, runtime-returned references and a cached derived scalar, and refuses each unqualified value before managed sends.

Live results now keep value-bound captured reads. Raw state/check lookups reuse that evidence only when the entire cached value matches. Missing evidence remains unknown; a captured empty dictionary remains a known empty proof. Saved-plan format 17 carries the address, value fingerprint, read attribution and original scope members. JSON round-trip tests apply resource, stack, app and empty observations with both the original app and a provider-only app. Damaged values, keys, scope snapshots and missing proofs fail before any managed RPC. Earlier graph plans require replanning even without data-source nodes, because an old result may already be evaluated into a consumer's literal configuration.

The cache audit then reproduced an independent state/frame error: a runtime-returned cached expression evaluated against the first state supplied FIRST in a second state whose source held second. Both states had revision 1. The original reproduction failed twice, and disabling only reuse made it pass (/tmp/nf-cached-graph-frame-red.log, /tmp/nf-cached-graph-frame-red-repeat.log, /tmp/nf-cached-graph-frame-probe.log). Four actual apply regressions cover same/different states and stored/planned source values. State identity alone fixed only the different-state cases: provisional evaluation could still reuse the old value after the source's ordered planning step within the same recorder. Managed-read caches therefore belong to a state/lineage, recorder and evaluation epoch. Ordered planning and phase changes start new epochs; computations without managed reads keep their cache behavior. The original reproduction now passes (/tmp/nf-cached-graph-frame-green.log).

Provisional graph desired-state reads have their own classified purpose; final nodes capture their actual dependency-ordered evaluation. Independent nested operations establish their own authoritative recorder, while planning inside its own apply retains that recorder. A first guard that refused independent nested applies broke two existing competing-writer tests; isolation restores those tests and prevents borrowing either a foreign engine's or a diagnostic recorder.

Schema 27, writer 17, queue 6 and capture 4 establish the new input boundary. All older current resources/outputs and checkpoint images are qualified conservatively, including capture-3 images and metadata copies. Older requests retain app X, bounded original write authority and unknown inputs during recovery; returned old move groups need a freshly inspected move. Migrations 1–26 retain their committed SQL. The SQL/Python request matrix now contains 545 cases. Upgrade retries and unchanged real AWS apps remain covered.

Validation: 5,723 workspace tests passed, 17 skipped. The final native PostgreSQL run passed 668 tests; its lost-response crash fixture expired its two-second lease before the intended crash point under parallel suite load, then passed in isolation without source changes. The earlier full schema-27 run passed all 669 tests before the runtime-frame extension. Final AWS audit output has 78 manifests, 284 managed sends and zero invalid sends. Changed-source typing passes; root typing remains at its 100 inherited diagnostics. Ruff, alias freshness, whitespace and the docs build pass. Logs are /tmp/nf-observation-cache-workspace-final.log, /tmp/nf-observation-cache-native-final.log, /tmp/nf-observation-cache-native-recovery-retry.log, /tmp/nf-observation-cache-types-final.log and /tmp/nf-observation-cache-docs-final.log. The final core AWS/FakeCloud graph suite, including Terraform comparisons, passed all 45 tests (/tmp/nf-observation-cache-core-aws-final.log).

The broader non-mutating read/RPC inventory, public concurrency and high-fanout/multi-writer scale gates remain open. This milestone does not close the full goal.

Expression memo capture, startup qualification and provider RPC inventory

The provider/read audit reproduced a shared-operand failure through actual graph apply. A direct field used the source's new value, while a runtime transformation of the same expression retained the old one. Both initial runs failed (/tmp/nf-memo-operand-provenance-red.log, /tmp/nf-memo-operand-provenance-red-repeat.log); using a second reference object passed (/tmp/nf-memo-operand-provenance-probe.log). Environment memo hits kept values/temporary markers without replaying their captured reads into the inner runtime scope, falsely qualifying the derived cache as pure. Memo entries now retain and replay those reads. The committed shared/separate operand cases check the actual final values and source revisions. Both real AWS/FakeCloud grant policies reproduce the old value when only replay is disabled, and pass with replay enabled (/tmp/nf-memo-native-regression-red.log, /tmp/nf-memo-native-regression-green.log).

The startup audit found a second path: get_provider_metadata can evaluate a runtime provider setting before graph recording. An explicit empty body scope did not prove that its operands had read nothing. The first metadata prototype checked a consumer left deferred; that was an invalid completion assertion. After enabling/approving the deferred round, the cached case fails while disabling its cache passes (/tmp/nf-metadata-warmed-runtime-actual-comparison.log), and the cached case fails again (/tmp/nf-metadata-warmed-runtime-actual-red-repeat.log). Pre-run caches now evaluate once under authoritative recording, including explicit reads=[] bodies. They do not invent an empty operand proof. The original reproduction passes (/tmp/nf-metadata-warmed-runtime-actual-green.log); a separate regression verifies qualified pure values retain their cache across later phases and graph runs.

Schema 28, writer 18, queue 7 and capture 5 qualify earlier resource/output rows, checkpoint images and operation proofs. Stronger statuses, state values, revisions, baselines, digests and immutable history remain intact. The old-operation recovery/move, unmarked metadata, checkpoint and interruption matrix now includes schema 27/capture 4. The typed SQL/Python request matrix has 606 cases. Migrations 1–27 evaluate to their exact committed SQL strings. Saved-plan format remains 17, with a required capture-5 graph header; older graph plans need replanning.

The provider RPC/cache audit records every implemented protocol-5/6 method's input/publication disposition and cache qualification. A test assigns every method in both Provider service descriptors exactly one reviewed disposition. The observer now wraps actual generated wire stubs, including direct calls bypassing call_rpc, and refuses unexposed methods before sending. Caught refusals still fail the audit. Manifests record only RPC names/counts beside the existing managed capability witnesses. The document distinguishes wire attempts, built-in mutations, protocol-6 protobuf tests and subprocess crash histories; their coverage is not interchangeable. This closes the implemented provider/read inventory with its stated protocol and opaque-user-read contracts. Public controls and remaining scale verification are still required before exposing automatic resource grants.

Final validation: 5,731 workspace tests passed, 17 skipped; 686 native PostgreSQL tests passed; and 45 core AWS/FakeCloud graph tests passed, including Terraform comparisons. The native wire audit has 80 AWS manifests, 290 managed capability witnesses, 3,072 provider-wire attempts and zero invalid sends. Changed-source typing, Ruff, whitespace and docs pass; root typing remains at 100 inherited diagnostics. Logs are /tmp/nf-memo-prewarm-workspace-final.log, /tmp/nf-memo-prewarm-native-final.log, /tmp/nf-memo-prewarm-core-aws-final.log, /tmp/nf-memo-prewarm-types.log, /tmp/nf-memo-prewarm-root-types-final.log and /tmp/nf-memo-prewarm-docs-final.log. Temporary sensitivity instrumentation is removed; repros and their red/green logs remain under /tmp.

Public Concurrent Applies And Exact Grant Validation

App(concurrent_applies=True) now selects automatic resource-grant preparation for app and stack applies. The setting defaults off and is available through [tool.nf.config] and nf apply|deploy --concurrent-applies/--no-concurrent-applies. CLI overrides take precedence over project configuration, then the App, then the default. The public path requires graph state and a retained branch baseline, including when planning an empty app. Unsupported identities retain app X; complete pinned coverage goes through the existing immutable admission and bounded approval pipeline. Native AWS overlap, stale-plan, saved-plan and recovery-held cases now exercise this App setting instead of forcing a private preparation argument.

A real built-in generator regression also exposed nf deploy returning early when a graph plan had only symbolic-intent changes. App and stack deployment now execute graph no-ops so their intent, refreshed values and consumed revisions can commit. The regression verifies changed intent with unchanged value fingerprints and no new managed operations.

The scale workload exposed repeated JSON lookups in complete-grant validation. With 4,017 grant keys, one managed update took 19.60 seconds; eight full-grant queries accounted for 21.04 of 21.27 SQL seconds in a separate instrumented run. The query now expands the expected map once and checks both set differences against actual grants under the C collation. It retains exact key/mode equality, fresh clock reads and all publication fences. The same single-update probe takes 0.108 seconds after the change, with 54 queries and no materialized resource/output versions. Seven native regressions cover intact, missing, extra, wrong-mode, same-count replacement and case-distinct grants. No schema, writer, queue or capture protocol changes are needed for this equivalent query.

tests/performance/graph_workloads.py adds full fanout reconciliation and disjoint-writer captures over PostgreSQL with normal operations, fixed resource grants and simulated provider responses. Version 1 uses serial consumer updates; version 2 defaults to ten concurrent resources. Completed 100/1,000-consumer records are retained; full 10,000-consumer and 1/2/4/8-writer verification is still running. Full-grant checks remain proportional to grant size; no proof cache or grant-size fallback has been introduced.

Validation so far: 5,750 workspace tests passed, 17 skipped; the complete PostgreSQL integration package has 744 passed, one skipped, including the graph suites. Its 80 AWS audit manifests contain 290 managed capability witnesses, 3,087 wire attempts and zero invalid sends. Changed production/CLI/harness typing, Ruff, whitespace and docs pass; root typing remains at 100 inherited diagnostics. All 220 stored TLC configuration outcomes match the current expectation table, and all 26 replay witnesses match their model/configuration source hashes; this artifact check is separate from executing TLC. Logs: /tmp/nf-public-concurrency-workspace-final.log, /tmp/nf-public-concurrency-native-verified.log, /tmp/nf-public-concurrency-docs-final.log and /tmp/nf-graph-workloads-parallel-full.log. The AWS/Terraform comparison suite and final capture results remain to be recorded.

History Includes The Branch Origin

The final RFC acceptance audit found that history exposed actor/run/operation and JSON intent, but omitted the branch origin and did not print intent in text output. Pinned app and stack applies now record their origin after preparing a valid plan, before approval/execution. History returns the immutable reference in text, JSON and the read-only SQL views, including after its pin is released. Unpinned runs and old serial history remain unrecorded rather than inventing an origin.

Schema 29 adds optional run-baseline metadata and backfills origins retained in admitted plans. Its trigger prevents rewriting an origin, adding it after reserved operations/state mutations, or admitting a contradictory branch origin. The backend checks live ownership and pin scope/history while recording it; the reference grants no mutation permission. Active serial and admitted runs protect their origin pin from release. Schemas 1–28 are byte-for-byte unchanged; writer 18, queue 7, capture 5 and plan 17 remain current. This additive migration does not requalify resource/input evidence or reset the state frontier.

Shared memory/PostgreSQL regressions check serial and resource grants, actor/operation attribution, immutability, pin release and contradictory admission. The native upgrade case verifies unchanged row versions/frontier, backfilled admitted origins, unknown serial origins, SQL-view history and refusal of raw origin erasure. Real built-in CLI app/stack deployments verify origin history through both grant policies, including intent-only no-ops. The initial four regressions failed before the fix.

Validation: 5,757 workspace tests passed, 17 skipped and 749 PostgreSQL integration tests passed, one skipped. Changed-source typing, Ruff, whitespace and docs pass; root typing remains at 100 inherited diagnostics. Logs are /tmp/nf-history-origin-red.log, /tmp/nf-history-origin-caller-green.log, /tmp/nf-history-origin-native.log, /tmp/nf-history-origin-workspace.log, /tmp/nf-history-origin-postgresql.log and /tmp/nf-history-origin-docs.log. The final AWS/FakeCloud graph suite also passed 45 tests, including Terraform comparisons (/tmp/nf-history-origin-core-aws.log). Its native companion audit retains 80 manifests, 290 managed witnesses, 3,072 wire attempts and zero invalid sends.

Disjoint Writer Scale Verification

The current schema-29 source passed all 1/2/4/8-writer cases, each with 128 managed updates and simulated provider responses. Barriers require every run to hold its disjoint resource grant together; all final rows have their expected values, are ready, and have no unresolved operations. Source hashes match the files used by the capture. Raw latencies, grant times and query counts are retained in tests/performance/results/graph_workloads.jsonl (harness 2, revision 9214fbb1).

Writers Updates Wall seconds Updates/second Median operation ms P95 operation ms
1 128 4.946 25.88 36.91 46.20
2 128 3.419 37.44 50.23 59.07
4 128 3.815 33.56 107.55 144.93
8 128 4.774 26.81 251.00 412.40

These measurements ran on a shared host while the full 10,000-consumer case continued in its own container. The latter still uses one fixed grant for all consumers; it has verified 100/1,000-row cases and is progressing through 10,000. Complete-grant checks remain proportional to that grant, so this workload is substantially more expensive than a concrete point update or small disjoint patch. No resource-grant or correctness assertions were relaxed. The full run must finish before closing the remaining scale gate.

The schema-29 point-proof capture also completed at 100/1,000/10,000 rows, with matching source hashes and seven samples per phase (/tmp/nf-graph-point-scale-final.log). Concrete validation materializes one resource version in 10 queries at every size. Median validation times are 3.68/3.59/3.39 ms; managed updates are 18.59/21.99/22.61 ms. Full snapshots take 5.50/50.75/444.90 ms, and selective admission takes 23.73/30.92/133.12 ms, including the retained-baseline digest. Raw samples are in tests/performance/results/graph_postgresql.jsonl. The four required hybrid captures are tied to clean source commit dea25a80; capture verification and all four benchmark regression checks pass. These point results do not replace the still-running full-grant fanout workload.

Renewal Priority Under Continuous Resource Work

The full version-2 fanout capture failed after 4,800 updates when its 3,600-second ownership expired; it produced no 10,000-consumer success record. The same failure reproduces in seconds with 16 rows, ten resource workers, a two-second TTL and a 0.1-second renewal interval. Renewals obtained connections in at most 23 ms, but every sampled database wait was on the run-row lock. New tuple SHARE holders could bypass the waiting renewal's UPDATE lock. Two workers occasionally left enough space for renewal; ten kept it starved until expiry. Increasing the TTL would only postpone this failure.

Owned SQL transactions now share a per-run advisory turnstile, and renewal queues an exclusive turn before taking its run-row lock. Active transactions finish, then renewal precedes new work. Sibling transactions still overlap; provider calls hold no turnstile. All original row, epoch, role, clock and complete-grant checks remain, including the final publication fence. This is lock scheduling, with no schema, writer, queue, plan or capture protocol change. The formal models keep their lock-arbitration abstraction; a native ordering regression checks the concrete PostgreSQL behavior.

The native regression first failed with “A new shared owner bypassed the queued renewal”. It now passes alongside sibling-concurrency checks. The original managed-load loop passes twice each at 16 and 256 rows, with successful renewals across several TTL periods, zero renewal errors and no ownership loss. Logs are /tmp/nf-renew-load-min16.log, /tmp/nf-renew-wait-probe.log, /tmp/nf-renew-priority-test-red.log, /tmp/nf-renew-priority-test-green.log, /tmp/nf-renew-load-green16.log and /tmp/nf-renew-load-green256.log.

Harness 3 uses the normal 120-second TTL / 30-second renewal interval, records renewal outcomes/durations and requires a successful renewal for a reconciliation lasting a TTL. Failure prints only counts, exception type and renewal statistics, and cancels queued work. Small fanout and writer smoke cases pass. All 5,757 workspace tests pass, 17 skipped; changed-source typing, Ruff, whitespace and docs pass, with the same 100 inherited root typing diagnostics. The first full native run had six failures during short-TTL setup before fault injection while heavy suites ran together. All 15 related cases pass serially; the complete native suite then passed on eight workers with unchanged lease durations and assertions: 750 passed, one skipped (/tmp/nf-renew-gate-native-final.log). All 45 AWS/FakeCloud graph cases and Terraform comparisons pass (/tmp/nf-renew-gate-core-aws.log). The native audit again has 80 manifests, 290 managed witnesses and zero invalid sends. Full current-source scale verification remains open until the renewed capture completes.

The follow-up point capture completes at 100/1,000/10,000 rows with one resource version in 11 queries, including the turnstile. Median validation is 8.94/5.81/7.78 ms; managed updates are 44.37/42.01/41.71 ms. Raw samples and four fresh clean-source hybrid captures are retained; all four hybrid regression checks pass. These timings include observed unrelated compilation load (load average 34.5), so they should be compared with matching host conditions.

Harness 4 bounds fanout setup commits to 1,000 rows while retaining app X throughout setup. The measured producer mutation and fixed grant for all consumers remain unchanged. This allows renewal between setup batches under the default lease. All current-source 1/2/4/8-writer cases again pass with 128 updates, overlapping grants and no unresolved operations; records include the effective lease settings, renewal statistics and source hashes. The full fanout rerun is the remaining completion check.

Large-Grant Renewal With Stale Statistics

The first renewed capture passed 100 and 1,000 consumers; the latter ran for 152.49 seconds under a 120-second TTL, with five successful renewals and zero failures. The 10,000-consumer case then failed after five updates: workers timed out behind a renewal whose expiry UPDATE could not finish promptly. No 10,000-consumer success record was appended.

An independent, uncontended renewal of 40,000 entry keys reproduces the failure in a three-second query budget. EXPLAIN shows that empty/stale table statistics make the correlated coverage subquery materialize held leases inside a nested loop over requested keys. An expiry-only UPDATE takes 2.4 ms; analyzing the table makes the original renewal take 0.259 seconds. This rules out row triggers as the expensive step and demonstrates the planner dependence.

Renewal now uses the existing exact-grant set comparison before its simple expiry UPDATE and again at publication. The scope still checks live ownership, epoch, role, clock and the entire physical grant; missing or extra keys roll it back. It expands each grant map once per check instead of relying on the correlated lookup plan. The same stale-statistics renewal completes in 0.193 seconds, without ANALYZE. No schema, writer, queue, plan or capture protocol changes are needed. Empty timeout errors also include their exception type, and capture failures include the chained cause's type.

The permanent regression starts with empty planner statistics, grants 40,000 keys, then renews through the real backend under a three-second statement deadline. It failed before the fix and now passes, preserving the grant and extending expiry. Missing-grant and renewal-priority tests also pass. The full native suite has 751 passed, one skipped on eight workers, with 80 AWS audit manifests, 290 managed witnesses and zero invalid sends. Changed-source typing, Ruff and whitespace pass; root typing remains at 100 inherited diagnostics. Full workspace, AWS and scale revalidation continues. The workspace suite also passes 5,757 tests, 17 skipped (/tmp/nf-linear-renew-workspace.log). The AWS/FakeCloud suite also passes all 45 cases, including Terraform comparisons (/tmp/nf-linear-renew-core-aws.log). Evidence is in /tmp/nf-large-renew-red.log, /tmp/nf-large-renew-plan-probe.log, /tmp/nf-large-renew-test-red.log, /tmp/nf-large-renew-test-green.log, /tmp/nf-large-renew-green.log and /tmp/nf-linear-renew-native.log.

Fresh point captures at 100/1,000/10,000 rows retain the one-version / 11-query bound; median validation is 3.37/3.16/4.28 ms, with managed updates at 21.13/19.61/40.33 ms. All current-source 1/2/4/8-writer captures pass, preserving overlapping grants and all 128 updates. Four clean-source hybrid captures and their regression checks also pass. The records carry source hashes; the full 10,000-consumer rerun remains required before closing the scale gate.

Final Scale Capture And Delivery Verification

The full harness-4 fanout capture finished successfully on the unchanged renewal-fix source. All records match the nine recorded source hashes. Each case verifies all consumers are ready, hold the reconciled value and consume the new producer revision, with exactly N+1 current versions and no unresolved operations. The measured updates use one fixed resource grant, without app X.

Consumers Producer invalidation (s) Consumer admission (s) Reconciliation (s) Updates/s Successful / failed renewals
100 0.298 0.237 8.445 11.842 0 / 0
1,000 2.051 1.991 115.781 8.637 3 / 0
10,000 10.846 15.734 6,834.678 1.463 210 / 0

The 10,000-consumer reconciliation lasts 113.9 minutes under the default 120-second TTL and 30-second renewal interval; its longest renewal is 4.968 seconds. All 10,000 operation latencies are retained. Current-source 1/2/4/8-writer captures also pass with all disjoint grants held simultaneously and all 128 managed updates preserved. Their elapsed times are 7.309 / 3.169 / 3.612 / 4.238 seconds respectively. The JSONL audit parses all 22 retained records and confirms all seven required current-source cases, settings and sample counts.

These are backend/engine measurements using simulated provider responses on a shared host, not a throughput guarantee. Complete-grant checks remain proportional to the fixed grant size at every owned-transaction fence. Because this fanout fixture grows both the grant and the number of operations, its total reconciliation cost grows faster than the consumer count. Full snapshots, opaque scopes and retained-baseline checks also retain state-dependent costs. Reducing repeated full-grant work without weakening exact loss detection remains a documented future optimization.

Final code verification: 5,757 workspace tests passed, 17 skipped; 751 native PostgreSQL tests passed, one skipped; and all 45 core AWS/FakeCloud graph cases and Terraform comparisons passed. The native RPC audit contains 80 manifests, 290 managed witnesses, 3,074 wire attempts and zero invalid sends. Changed-source typing, Ruff and whitespace pass; root typing retains the same 100 inherited diagnostics. Four fresh hybrid macro captures and their regression checks pass. The 220 retained model configurations have their expected outcomes, and all 26 witness hashes match their model/configuration sources; the current suites replay those witnesses. Raw scale records are in tests/performance/results/graph_workloads.jsonl, with the complete run log at /tmp/nf-graph-fanout-linear-renew-full.log.

Schema 29, writer 18, queue 7, capture 5 and saved-plan format 17 are the final protocol versions. The scheduling and exact-renewal fixes require no additional protocol change. Finite model bounds, provider identity contracts and explicit opaque-read contracts remain the documented limits of the evidence; the result does not prove arbitrary Python/provider behavior.

Full Goal Completion Audit

The goal complete the graph database backend, including all five RFC phases, is achieved. The entries below record the implemented requirements and their verification.

Requirement Verification
Rows, fenced operations, crashes, takeover and recovery Real PostgreSQL fault-injection suite, complete owned-transaction clock/grant checks and 24 combined implementation histories. Probe-based recovery, read-only imports and partial error updates remain unconverged. Schema 23 qualifies legacy readiness through retained configuration/object evidence. Schemas 24–28 separately qualify old inputs, reverse edges, footprints and resource/output checkpoint images, including indirect consumers, metadata copies, late returns and interrupted upgrade retries. Same-run operation fences apply under app X and resource grants through durable commit
Intent, baseline pins, tombstones, conflicts and retained history Unit and real PostgreSQL tests; wrong-state, missing-pin and pruned/incomplete origins fail closed
Authoritative inputs, caches, provider settings, observations, stale marks and adoption Unit tests and real-provider workloads cover upstream deferral, drift policy, adoption convergence and replacement-trigger reconciliation. Ephemeral reads reach write-only consumers and durable recovery holds. Stored observations require value-bound captured reads; saved plans retain original scope snapshots and known empty proofs. Runtime caches are bound to state/run/phase, expression memo hits replay reads into inner captures, and pre-run values qualify once under authoritative recording. Schema 28/capture 5 qualifies older evidence. The implemented provider/read surface has a complete RPC/cache disposition inventory, service-descriptor guard and actual wire counts; see the linked audit for contracts, test seams and coverage limits
Complete provenance gate on reference apps AWS create/update/stale-branch and deferred-provider workloads have zero unattributed reads. Cross-stack chain/fork/join/diamond create/update/replacement and no-op applies have correct committed input revisions and audited managed sends. Shared-expression/runtime-cache AWS workloads additionally verify actual values under app and resource grants, with zero unattributed reads. The separate RPC/cache inventory documents implemented transport and opaque observation contracts
Resource leases and fair atomic queue Every new grant checks run/operation holders and older conflicting requests, app X included. Pinned admission enforces write/action sets, contracts and complete grants. Public app/stack applies support concurrent_applies through App/environment/project settings and CLI overrides; it defaults off, requires a retained branch origin and falls back to app X for unsupported identities. The policy acquires and admits grants, retries stale automatic plans before approval, overlaps real independent AWS patches and proceeds beside recovery-held operations. Full fanout and disjoint-writer captures pass with exact grant validation and renewable ownership
Reverse edges, identities and adoption scopes Reverse generations and semantic scope counters implemented; canonical portable contracts, alias/account/region separation and identity/adoption reservations tested for built-in generators and AWS SSM. The wire capability observer checks coerced target identity and per-call grant/retained inputs. Unsupported resource identities retain app X; additional provider contracts can extend fine-grained concurrency without weakening that fallback
Deferred rounds, approval lifetime and quarantine footprints Immutable footprints survive expiry; recovery claims inherit coverage. Type declarations and round validation retain the initial sets/grant before approval/RPCs. Sibling waits yield execution capacity with frozen requests, and retained outcomes require recovery. Approval expiry retains completed rounds. Deferred planning/execution errors retain partial counts and recovery plans. Conditional rollback compensation and scoped output cleanup are implemented. The RPC/cache audit includes deferred provider settings, observation sessions and pre-run cache qualification
Consumer-safe checkpoints and all administrative operations Pinned write-set history restore implemented with later-writer/consumer checks, fixed grants, atomic receipts, identity guards and protected retention. Taint/untaint/removal, destroy, imports and atomic move groups use validated fixed grants and inspected-state admission independent of branch intent. Destroy retains concrete input ordering through evicted observations and removed constructs. Moves preserve ownership, rewrite transitive consumers and recover complete groups. Whole-state cutover uses app X, staged destinations, source fences, immutable receipts and resumable conditional publication. Native grant/history tests cover their publications; the RPC inventory classifies the read-only import/move/recovery conversions
History administration Protected preview/prune, retained baselines and consumer-safe checkpoints, state/filter/frontier-bound history pages, pruning generations, masked values and JSON are implemented and tested in memory and PostgreSQL. Schema 29 retains the immutable branch origin for pinned serial applies as well as resource plans. Text/JSON/SQL history includes actor, run, baseline, intent and operation; old unknown origins remain unrecorded
Formal and execution-history invariants Original 104 configurations, eight approval, 13 scheduler, five cutover, six move-group, six retention and seven owned-transaction cases verified. Four curated histories and 20 completion orders replay real runtime/provider/check inputs, clock skew, retained holds, recovery attempts and consumer-safe restore in memory and PostgreSQL. The update-DAG model has 36 verified configurations, all 64 four-node ordered DAGs and twelve TLC witnesses. The replacement extension adds canonical alias exclusion, both call halves, sibling/dependent execution, kept/observed recovery and fair progress. The apply extension adds approved deferred rounds, real SQL waits/buffered writes, clock and complete-grant fencing, with eight further witnesses and full AWS pipeline cases. All 26 TLC witnesses are checked against backend states after every step. Fixed-grant admission and recovery claims remain atomic assumptions in the combined models, with their detailed models checked separately
Packaging, docs and performance Aliases and generated golden bindings updated. The full core AWS/FakeCloud suite passes with PostgreSQL graph and local state, including Terraform comparisons. Workspace units, native PostgreSQL suites and docs are checked. Repeatable 100/1,000/10,000-row PostgreSQL captures record bounded concrete proof reads, full snapshots/scopes, admission and managed updates. All 100/1,000/10,000-consumer reconciliations and 1/2/4/8-writer cases pass with current schema-29 source. Records have matching source hashes, complete verification/sample counts and measured renewal statistics; remaining cost and contract limits are documented above

Other Threads From The Same Working Session

Not part of this effort, recorded so nothing is lost:

  • A downstream installer (a consumer of these changes): uses GeneratedValue (including tls_ca/tls_cert), deferred provider configuration with --apply-deferred and per-round prompts, typed runtime_checks=, regenerated providers (aws 6.71.0, keycloak 5.10.0, kubernetes 3.4.0, helm 2.17.0; providers/ is gitignored and regenerated locally).
  • Known gaps reported by the agents that built them:
  • Deferred-provider adoption is implemented: requests survive saved plans and are looked up in later rounds with normal import approval and duplicate protection. Manifest stack_map remaps generated stack IDs, and pure imports retain their planning runtime checks in saved plans.
  • nf convert: --fetch-modules converts public registry modules, GitHub sources and HTTP(S) archives recursively without Terraform or git. Provider mappings pass through local/nested modules. Lazy try/can, nested template directives and runtime for expressions are supported. Local module depends_on is converted in both directions, including empty collections. Build-time tostring preserves Terraform's boolean, null and numeric behavior instead of using Python's str.
  • Keycloak codify now covers federation/mappers, client authorization, service-account roles, required actions, realm events, keystores, localization, user profiles, client policies, organizations and memberships. Built-in flow edits are included with --include-builtin. Profile importer and client-policy singleton resources are selected when the provider's schema has them. SAML, LDAP, authorization and membership adoption have been verified against a disposable Keycloak 26.8.1. Organization memberships have no importer and are emitted as reviewed creates. Invalid legacy enum/default values produce explicit review notices. Upstream 5.10.0 has also passed live codify/plan/apply/replan: 82 imports, one membership create and five reviewed updates. Profiles and individual client policies without importers are reported and omitted; treating them as creates failed in the live probe. Optional built-in client secret reads can still return 403 upstream, and are reported per object.
  • TLS generators: renewal happens only when someone plans. Leaf expiration is now capped at its CA's on issuance; invalid CAs and lifetimes already inside the leaf's renewal window fail with an actionable error. Existing certificates need replacement or renewal to get the cap. Opt-in PKCS12 outputs (keystore_p12_base64, truststore_p12_base64 and their passwords) exist, verified with keytool and a Java 21 handshake; the Java tests run when pytest --nf-test-java points at a java binary (/opt/nanobrew/prefix/opt/openjdk@21/bin/java here).
  • Helm 2.17's reported NGC lookup failure was not reproduced: direct helm_template data-source RPCs fetched and rendered GPU Operator v25.3.3 and 25.3.3 without a cluster or Helm CLI. Optional regression probe: uv run pytest -m integration --nf-test-helm-ngc libs/netherframe.core/tests/test_helm_chart_integration.py. No nf workaround is justified by that probe; a historical release failure still needs its original inputs/logs to diagnose.