Repository navigation
Conversation
#11 implementation handoff after MDM fixture qualification (2026-10-19)MDM negative-receipt dependency is resolved. pg-mdm #19 merged at The old CI failure is not a v0.49 feature failure. Frozen v0.48 release run #39266389941 rejected intentional changes to Next coding scope in #11: Keep this PR's explicit-time evaluator, then identify and exercise the existing installed Status: PR #14 is still only preparatory (draft). Do not close #11 or enable escalation. Full release qualification remains #12; pg-trickle #1168 and signed numeric workload bounds remain open. New PR CI is running on the updated branch. |
Verified green CI and next implementation tranche (2026-10-20)Latest exact head: Next #11 tranche — preserve that runnable proof and its frozen prior evidence. Implement and qualify per-occurrence/level safety under two distinct request keys and a human lower-level action, genuine recurrence with a different MDM case key, both human-edit/claim interleavings, and stale/pause/replacement rechecks. Use real MDM receipt-history authority, not a React-only in-memory dedup shortcut. Then cover bounded cycle admission after downtime (no per-missed-poll replay), restart/restore/clone activation, and exposed public diagnostics with full expected/actual control/receipt vectors. Include exact final-artifact CI and do not simply convert old green evidence into new source qualification. Scope: #11 remains open and this PR remains draft. Upstream producer #1197 has green PR-head CI but pending independent review, unpublished corrected binary and skipped broad E2E/benchmark lanes. The existing passing React producer is still its original MDM pin using explicit |
…enial after human edit
test(v0.49): prove exactly-once catch-up after a real deadline outage
test(v0.49): qualify three-case sampled deadline routing
test(v0.49): drain two real MDM cases after downtime with bounded worker batches
test(v0.49): retain two-case backlog progress and drain latency evidence
2026-10-21 — backlog timeline integrated on feature branchReact PR #19 merged into the unmerged PR #14 feature branch, not The two-case real outage test now retains sampled completion timestamps, per-case receipt sets, managed status, and an observed drain interval, asserting no duplicates, disappearing receipts, unrelated cases or incomplete recovery. It does not establish a hard per-cycle admission limit, mixed-backlog fairness, the signed 300-case throughput/recovery envelope or 60-cases/minute S1 qualification. Coherent restore/clone, operator sign-off and T49.06/T49.12 release gates remain open. Post-merge head |
test(v0.49): prove distinct one-item claims preserve pending backlog
…rate-floor docs(v0.49): ratify approved 59/min acceptance floor, retain 60/min target
Owner approval: S1 59/min acceptance floor — 2026-10-22
The requester explicitly adopted 59 cases/minute as the minimum passing S1 throughput, while the frozen 300-admission workload and 60/minute offered rate and engineering target remain unchanged. Only the sole frozen throughput failure in [59,60) with original raw exit 1 and all other original gates passing can receive a disclosed owner-approved-floor result; less than 59, other failures and incomplete population/receipt/resource/latency checks still fail.
pg-trickle #1168 and React #12 record the decision; dependent pg-trickle PR #1213 implements the checker and React plan PR #22 adds the dated spec addendum. Historical 59.363743/min output at pg-trickle
2d102645meets only the new numerical floor for that tested image; it is not final source-image qualification. Latest real candidate/control benchmark on approved 10-CPU ARM64 and React clone/restore, signed operating envelope and release tests remain outstanding. Keep PR #14 draft; no merge to main or activation.v0.49 owner review and further qualification — 2026-10-22
issue/11-explicit-escalation-timeas6a55008after its source-head checks passed. It proves publicpgreact.claim(max_items=1)leaves another independent pending episode available for a separate claim, and both claims execute once. The merged head's fresh pinned-producer CI remains pending and must independently pass before the current combined branch is certified.24fbee3checks the installedpgreact_internal.managed_cycle→ boundedpgreact_api.claimfunction chain and records exact function hashes and managed heartbeat/processed deltas during the two-case outage. It also corrects an inaccurate GUC help string. Pinned CI is pending. This is not yet accepted or merged.Backlog evidence integrated and exact-head green — 2026-10-22
d70a73d. Its two-case outage test records a monotone completed-case/receipt progression timeline, wall-clock drain duration, worker pending/processed status and unchanged full durable state after later worker cycles and a cold restart.batch_size=1is not proof of at-most-one admission per cycle; mixed-workload backlog fairness, crash/uncertain-commit, clone/restore activation barriers, signed 300-case S1 resource/latency envelope and exact current-source pg-trickle #1168 60 cases/min qualification are still outstanding. No release, no merge to main, no automatic production escalation.Two-case real post-outage drain merged — 2026-10-21
1d44dfd. Its exact tested source was8bb57b223c4ae99a54a8586a852a492b6a4a1b92.pg_react.batch_size=1, stops PostgreSQL across both deadlines, waits for two unique level-2 applied-control receipts after managed resume, compares complete case/request/attempt/work/receipt/source vectors and confirms no duplicate after subsequent ticks and a further cold restart. This is focused two-case correctness, not a measured per-cycle admission claim or approved 60/minute production profile.1d44dfdchecks are queued: pinned #39669372341, preview #39669372272 and core/adapter. Wait for those exact-head results before qualifying the combined branch.Post-merge three-case routing qualified — 2026-10-21
2ee3f6eis green: pinned producer #39657333569, MDM repaired preview #39657333761, core/adapter #39657334090, PR CI #39657333903 and push CI #39657324686 completed successfully. This now independently qualifies the merged deterministic three-case timing fixture alongside prior single-case outage/no-replay checks.8bb57b2adds an exact-MDM-pinned real two-case overdue-while-down catch-up test with workerbatch_size=1, two distinct applied receipts, complete persisted case/request/attempt/work/source vectors and quiescence/restart-no-replay. Current pinned CI #39664877710 is still running. No two-case acceptance claim until this exact-head test passes and the PR is merged.Three-case sampled-time routing qualified and integrated — 2026-10-21
2ee3f6e. Its final reviewed source headb9285a5bf23dfc4fbc14d67fb27b30d3b17295b4passed all exact-head CI, including original pinned producer #39653229584, MDM preview #39653229550, core/adapter #39653229680, and push/PR CI #39653221378/#39653229538.WINNER/INELIGIBLEoutcomes, stable typed ESCALATE arguments, explanation fields and unchanged case population across before/at/after sample boundaries. The original pinned integration initially failed due to JSONB operator precedence (unknown - unknown);b9285a5added the required JSONB grouping without altering any assertions.2ee3f6eCI is pending: new GitHub checks are queued. Do not substitute pre-merge run success for final-merge-head qualification.Merged one-case outage regression — 2026-10-21
issue/11-explicit-escalation-timeasb8902a1. The PR source head wasb19017197fbd1bc36e5dcaeee66f07a4f1010449, reconciled with the separate post-resume cold-restart commit4cda34f.--outagemode stops PostgreSQL before a future deadline, remains down after due time, resumes the ordinary managed worker, and requires a single canonical applied level-2 receipt with full case/source vectors, subsequent quiescence, and a second restart/no-replay check. It does not manufacture test time via business-table writes or manual refreshes.b8902a1CI is in progress: pinned #39650060106 and preview #39650060135. Earlier source-head passes do not certify this merge until the new checks finish.Post-resume cold restart — new head
4cda34f(pending CI)React feature commit
4cda34f9f9c578c55851498d62767f9b3fb9f9a8adds a new end-of-audit recovery check after the validated pause→restart→authorized resume→stale-version rejected operator sequence. It restarts PostgreSQL again, requires a new postmaster and multiple real managed-worker cycles, and compares complete MDM case/receipt, immutable React intent/request/attempt/work, business/technical source and exact MDM+React binding/runtime vectors. The active binding must retain its exact post-reconciliation runtime version, and the previously rejected old-version calls must not generate delayed effects.The previous exact head
7a95232is GREEN: pinned MDM #39628593830, full repaired-MDM preview #39628593800, core #39628593915, adapter #39628593943. These exact-image tests qualify the repaired MDM dependency in the feature branch but are not a release or production activation. The new restart test is pending its own head checks. The test still enrolls only one selected case, not autonomous recurrence; it does not resolve outage catch-up, live claimed-episode races, clone isolation, signed release limits or React #12.MDM stale-runtime repair adopted in feature branch — 2026-10-21
mainas5fdee89b589da8fb3ab86157cc716a2aaff8bdf8; original reviewed repair source6ad23ca11cb956f264e93e46a6351d32ea4a1ca8remains an ancestor of MDM main. Issue test(v0.49): prove distinct one-item claims preserve pending backlog #20 is closed.7a95232. The normal pinned-producer workflow now pins reviewed MDM6ad23ca, preserves the original pg-trickle source/archive checksum, requires exact idle/stale-runtime and unchanged-state observations, records source and packaged-library hashes, and compares inherited MDM/pg-trickle binaries byte-for-byte.3b59d66: original pinned producer #39620641002, full repaired-MDM preview #39620641050, and core CI #39620641015 / #39620634741. This corrects the historical pinned-artifact stale-CAS failure without waiving assertions.7a95232: new pinned-producer #39628593830, preview #39628593800 and core CI were still running at verification. Do not claim the merged head qualified until those checks finish.The earlier handoff below is kept as historical chronology.
Current cross-project handoff — 2026-10-21 (source repair reviewed separately)
6ad23ca. Both PR CI #39592063438 and push CI #39592056309 passed with packaged E2E and strict v0.14.1 SQL archive byte comparison.main. Its initial pin candidate647baebpassed the formerly failing original pinned gate #39615774783, plus exact-MDM preview #39615775069 and core CI.0e17894strengthens source-archive, packaged-library and byte-identity evidence and requires exact stale-version/unchanged-state observations. Current pinned gate #39618955866 and preview #39618955895 are pending, not yet qualified.The older chronological log below retains its original as-observed historical CI status; use this handoff for the latest verified position.
Exact-source artifact evidence preview — current head
20f09de(pending)The earlier full repaired-MDM React preview #39582414674 passed on preview source
261bb41; the untouched original MDM-pinned CI #39582414884 failed as expected at the stale-version bug. Neither was represented as a production pin adoption.The corrected MDM draft PR #21 now has line-neutral source commit
6ad23ca: the guarded lazy SPI row read preserves later SQL annotation locations so MDM's strict frozen v0.14.1 archive byte comparison is not weakened. The prior261bb41MDM Rust/test CI passed fmt/clippy/tests and failed only the generated SQL archivecmpat embedded source line 822; unchanged MDM main #39581225844 passed. Current MDM CI #39592063438 is queued, so this archive repair is not yet qualified.New React head
20f09deupdates only the separate MDM-candidate preview to pin6ad23caand additionally capture exact candidate MDM Git source-archive SHA, packaged binary SHA-256 hashes forpg_mdm.so,pg_trickle.soandpg_react.so, raw image inspection, and a manifest digest. The step compares the actual MDM and pg-trickle shared libraries byte-for-byte across the candidate MDM image and dependent React image. Exact preview CI #39592436407 and core checks are queued. The original pinned workflow and historical producer checksum are unchanged. Do not merge, repin or enable production before final-head MDM and candidate joint-stack CI succeed, with explicit artifact adoption.Exact MDM repair preview head — 2026-10-21
Preview-only React head
6266248pins the separate MDM repair branch's latest exact source261bb419447bb2bbebd3bce5be514baa4ed3a1e4(draft MDM #21) after a source-formatting cleanup. Both current exact-source MDM CI #39582365065 and React preview qualification #39582414674 are queued. The original pinned-producer CI #39582414884 remains unchanged and expected to reproduce the original error. The producer pin is not adopted, and no passing patched-artifact result is claimed.New isolated preview for corrected MDM source — 2026-10-21
React PR head
7db1bf4adds.github/workflows/mdm-stale-cas-preview.yml, a separate end-to-end job for the exact MDM error-path repair in draft MDM PR #21, pinned to MDM source261bb419447bb2bbebd3bce5be514baa4ed3a1e4. It builds the modified library with the original historical pinned pg-trickle producerd8bb8eb5d45c5c9982e173e88914037433a1ee05and archive checksumb8d4c59ca3770c305659255e09adde303b4d220228392c415ae363aa7be0a2da, then builds React, runs the full audit and requires actual stale-version negative receipts/errors plus the earlier idle and binding tests. It preserves exact MDM/React source file digests, image inspect metadata and runtime evidence as a CI artifact. Preview CI #39582038003 queued; no pass is claimed.This preview is NOT a replacement pin or a release artifact. The original untouched MDM-pinned CI #39582037963 remains a strict test of the previous source and is expected to expose the original SPI internal-error regression until a separately qualified adoption. Keep the failure, correct-code draft, and full evidence side by side. MDM issue #20, draft MDM PR #21 and MDM CI #39581517997 track the blocking repair. Do not merge React or enable production on preview evidence alone.
Current blocking upstream defect — 2026-10-21
React head
34c06f76075bfb50bb0ba572b02a32baa1af0157is NOT green. Pinned-producer integration #39572339881 failed inresume-stale-version.sql:109; core #39572340077, legacy adapter #39572340055, and push CI passed. The failure occurs only after earlier real idle delivery, cross-key human edits, MDM row-lock concurrency, genuine recurrence, maximum-level safety, pause/restart, authorized resume and worker-quiescence checks all pass. A stale operator call topgreact_mdm.pause_intent_bindingreturnsXX000 MDM_INTERNAL: PostgreSQL SPI failed: SpiTupleTable positioned before the start or after the end, not the expectedMDM_POLICY_BINDING: runtime version is stale or binding is replaced.Cause identified: in the pinned MDM 0.14.1 artifact,
src/api/policy_intent.rstriesrow.first().get(1)on the zero-rowINSERT … ON CONFLICT … WHERE runtime_version = expected RETURNINGresult, preventing its intended fail-closed error. Tracked in MDM issue #20; targeted draft MDM PR #21 addsrow.is_empty()handling and MDM E2E negative assertions for both stale pause/active calls, including unchanged complete runtime/operations/case/receipt state. MDM CI #39581517997 is queued.Do not relax or mark React's new stale-version test passing. Preserve the exact pinned MDM source
06471e647ee54a80973fb5ad6709830f9955dbff, producer archive checksum and old red evidence. A corrected packaged MDM binary and React joint-stack qualification must be separately built, identified and checked before adopting it. This PR remains draft; #11/#12, signed throughput envelope, missed-deadline catch-up and restore/clone gates remain open. No producer repin, privilege broadening, or production activation is authorized by this work.Stale operator runtime-version fencing — head
34c06f7(CI pending)Latest commit
34c06f76075bfb50bb0ba572b02a32baa1af0157adds and invokestime/resume-stale-version.sql, after the already-green MDM binding pause→cold-restart→authorized resume. An actual non-superuser MDM entity execution role tries bothpause_intent_bindingandreconcile_intent_bindingusing the old paused runtime version while the binding is already active at the newer version. The fixture requires both calls to fail on MDM's stale/replaced binding-version fence, records each SQLSTATE and message, and compares the complete MDM and React binding/runtime populations, MDM cases/receipts, immutable React intent/work/attempts and business/technical sources with their pre-attempt state. The active runtime version must remain unchanged. The fixture's auxiliary test function is SECURITY INVOKER and exists only inside the disposable integration database.The previous exact head
a043de1passed pinned-producer CI #39565839468, core #39565839478, adapter #39565839500, and push CI. The stale-version addition is not yet qualified: pinned-producer CI #39572339881 and core CI #39572340077 are queued. No production enable, privilege broadening, original producer pin swap, or release sign-off; PR remains draft.Authorized binding resume after cold restart — new head
a043de1(CI pending)Commit
a043de15e84e88c2d84f41a7e1860395d7b31653addstime/resume-after-pause.sqland invokes it after the already-green operator pause and cold-restart barrier. The authenticated MDM entity execution role callspgreact_mdm.reconcile_intent_bindingusing the exact paused runtime version, and the test requires the MDM state and React active-runtime record to become active at the newly advanced version. The original pause-denied key must still replay its exact immutableBINDING_PAUSEDreceipt, but a new key on that active binding must produceLIMIT_EXCEEDED / ESCALATION_LIMITat its unchanged maximum level 2; a retry must replay this different terminal receipt. All original receipts, MDM cases, immutable React intent/attempt/work records and business/technical sources remain intact. Multiple subsequent real managed-worker cycles must also leave complete case/receipt/adapter/runtime/source vectors unchanged.This is operator pause→restart→authorized resume correctness for the existing enrolled single-case rule; it does not qualify pending React episode withdrawal, autonomous second-case scheduling, a downtime period spanning new due deadlines, restore/clone, or full #11/#12 acceptance. The previous exact head
6ab404epassed pinned-producer CI #39561580441, core #39561580447, and legacy adapter #39561580464. The new head is unqualified pending pinned-producer CI #39565839468, core #39565839478, and adapter #39565839500. Keep PR draft and production off.Paused-binding cold restart — head
6ab404e(pending)Commit
6ab404ecdb80b91ad73de3be027349797575e23fextends the authorized operator-pause fixture to a real PostgreSQL restart. It snapshots all MDM cases/receipts, React immutable intent requests/attempts and work, business/technical source rows, plus complete MDM and React binding/runtime records. It requires a new postmaster, a ready managed worker that advances through multiple later heartbeat cycles, exactly identical state/bindings before and after, and continued absence of the paused binding from the React active-runtime table. This is durability of the operator pause barrier for the previously enrolled single-case rule; it does not test stale pending React claims, clone activation, restored databases or outage catch-up.The prior
8aa8bf8passed pinned producer #39548527426, core #39548527505 and adapter #39548527433. The new restart proof is not yet qualified: pinned producer #39561580441, core #39561580447. Keep PR draft and production disabled.Operator pause-barrier safety — head
8aa8bf8(pending)Commit
8aa8bf8f83bc65a75708140587ebdf28c76dfce0adds an end-of-audit authorized binding pause fixture after all the earlier green idle, human-edit, concurrency, recurrence, maximum-level, and restart checks. It callspgreact_mdm.pause_intent_bindingas the actual MDM entity execution role with the current runtime version, checks that the adapter's runtime binding is removed and MDM's runtime state becomes paused, then attempts a new authenticatedESCALATErequest aspgreact_mdm_worker. The expected durable result isBINDING_PAUSED / BINDING_PAUSEDwith exact canonical request/digest, unchanged full MDM cases, immutable React/source vectors, and a matching same-key receipt replay. No privileges or existing production artifacts change.Prior head
cbe4882passed pinned producer #39502053389, core #39502053204, and adapter #39502053274. New head remains unqualified: pinned producer #39548527426 is queued. This is an MDM authority pause-barrier probe; it does not prove React's eventual work withdrawal, backlog recovery or clone isolation. Keep PR draft, #11 open, production disabled.Post-limit restart recovery — latest head
cbe4882(CI pending)New React commit
cbe488261d4dfb6d0671433e1dbebc4cebd56698extends the already-green maximum-level quiescence test to restart the PostgreSQL postmaster after the denied level-3 attempt. The audit requires a new postmaster epoch, a ready legitimate worker advancing across multiple cycles, identical full durable MDM cases/receipts, React immutable intent/attempt and work state, and business/technical-source vectors, including exactly one recurrenceAPPLIED_CONTROLreceipt and one terminalLIMIT_EXCEEDED / ESCALATION_LIMITreceipt. No added grants or production policy activation.The previous head
454c205passed pinned-producer CI #39495741221, core #39495741351, and legacy adapter #39495741305. The new restart assertion is not yet qualified; pinned-producer CI #39502053389 and core CI #39502053204 are queued. Scope is retained-case recovery of the enrolled single-case worker, not overdue backlog after outage, autonomous recurrence discovery, clone/restore, or final #11/#12 release acceptance.Post-maximum managed convergence — pending on
454c205React commit
454c2053799ec6a264e86198af55dddf0391731aextends the passing maximum-level authority test to observe multiple later cycles of the real managed worker, then compare complete MDM cases, all receipts, immutable React request/attempt and work state, and business/technical source vectors. It requires exactly one previously applied recurrence level-2 receipt and one retained terminal level-3 limit-denial receipt. This proves only no delayed effects for the already enrolled single-case rule after the authority limit denial; it does not establish autonomous recurrence scheduling, multi-case admission/backlog bounds or outage catch-up.Exact new-head pinned-producer CI #39495741221 and core CI #39495741351 are queued. Previous head
85ec4ddbpassed pinned CI #39484595864, core #39484596006 and adapter #39484596170. Remain draft; no production activation or release sign-off.Recurrence maximum-level boundary — latest head
85ec4dd(pending)Commit
85ec4ddb28e8a5c582a608e8e4d699bbe209ed33adds an exact MDM authority-level limit test after the real recurrence and postmaster-restart checks. The enrolled binding's maximum is exactly level 2. A fresh, authenticated attempt to advance that new occurrence to level 3 must return a durableLIMIT_EXCEEDED / ESCALATION_LIMITreceipt with an unchanged entire case population, immutable React work/intent state, source vectors and original receipt history. A same-key retry must replay the denial without any second receipt. This checks MDM's enforced binding limit in the React joint stack; it does not demonstrate React admission bounds, missed-deadline catch-up, or multi-case worker scheduling.Prior head
396bdbabpassed pinned-producer CI #39465133572, core CI #39465133760 and legacy adapter #39465133588. The new maximum-level fixture is pending current-head CI. Keep this PR draft, #11 open, and production activation disabled.Post-recurrence restart regression — current head
396bdbab(pending)Commit
396bdbab75de51a862a8fb27786a42d6472890e5extends the already passing genuine MDM recurrence and post-recurrence idle quiescence audit: restart the real PostgreSQL postmaster, witness a new postmaster startup, wait for the legitimate managed worker to resume and complete multiple later cycles, then compare the complete persisted MDM cases/receipts, immutable adapter requests/attempts, React work/attempts and business/technical source rows before versus after. Separately require the old and new real MDM occurrence IDs, one applied level-2 receipt for the new occurrence, and zero new effects from replay. This is post-delivery restart safety for the enrolled single-case rule and existing recurrence, not autonomous discovery of the second case, an outage across undelivered deadlines, clone isolation, or coherent restore.Exact new-head CI: pinned producer #39465133572, PR core #39465133760, legacy adapter #39465133588. All are pending; do not count the new regression as passed until those results are checked. Previous
d8b7fb6head passed its relevant qualification runs. The draft/production/release gates remain unchanged.Post-recurrence managed-worker regression — passed on prior head
Commit
d8b7fb6adds an observation-only check after MDM's genuinely reopened occurrence has independently applied level 2. The ordinary React background worker must remain ready for subsequent heartbeat cycles while complete case/receipt/immutable-intent/work/business/technical-source vectors remain identical. The registered React rule is still scoped to its preselected case: this test does not prove autonomous discovery, cross-case catch-up, or clone/restore safety. Pinned-producer CI #39454625856, PR core #39454625947 and legacy adapter #39454625906 passed ond8b7fb6. New restart extension at396bdbabis separately pending.Recurrence fixture correction — 2026-10-20
Latest head
d413f72: PINNED-PRODUCER RECURRENCE GATE PASSED. CI #39451120393 passed and its log confirmsrecurrence-independent; push core CI #39451109531 passed. This is the focused MDM-authority recurrence fixture, not autonomous React worker discovery. The prior heads68918d7andc837f8ffailed pinned-producer CI #39442250486 and #39442533637 because recurrence fixture SQL referencedpublic.e2e_policy_vars, a temporary E2E support table that upstream MDM deliberately drops beforefoundationis cloned. Every preceding idle, human-reduction, concurrent-key and stale-token test passed before that missing relation was accessed. No new occurrence control was attempted on those failed runs.The correction derives resolved occurrence 1 / reopened occurrence 2 directly from MDM's retained public
policy_cases_v1rows (entity_name,issue_key, occurrence, open/resolved state, review ID). It fails closed unless exactly one public eligible pair exists, printing the retained case-state vector on mismatch; it does not recreate private fixture tables or synthesize recurrence identity. Subsequent positive one-level application, unique receipt/replay and unchanged old-case/React/source assertions remain intact. Latest pinned-producer CI #39451120393 passed with the original eligibility, receipt/replay and state-preservation assertions intact. The remaining R3 and v0.49 release gates are separate.Earlier v0.49 evidence and recurrence test scope
Prior exact head
f81ce2d88b917958b098f3db2cab428cecd68a12: GREEN. Pinned joint-stack CI #39428111533, PR core CI #39428111573, legacy adapter #39428111724, and push CI #39428103975 all passed. This specifically qualifies the distinct terminal outcomes after human change (old tokens →STALE_CASE / FRESHNESS_TOKEN_MISMATCH; current tokens for a previously applied level →ACTION_DENIED / ESCALATION_LEVEL_ALREADY_APPLIED) with complete case, receipt, replay and React/source vectors.Earlier recurrence fixture candidate
c837f8f: FAILED BEFORE CORRECTION. The addedtime/recurrence-independent.sqlreuses MDM's actual resolved occurrence 1 and reopened occurrence 2 for the same retainedissue_keyfrom upstreame2e_policy.sql; it requires separate case/review identity, a currently open eligible new occurrence and no prior automated level-2 application on that new case. An authorized human gives the new case a past due time and level 1; the authenticated MDM worker must apply level 2 once and return the identical receipt on an original-key retry. Complete original case/receipt history, exact request-body/digest and post-control row, and unchanged React work/intent and business/technical-source vectors are asserted. This is a real MDM recurrence boundary within the React joint stack, not evidence that the React managed worker autonomously discovered that newer occurrence or that cross-occurrence after prior applied2 has been qualified. The same acceptance checks subsequently passed on corrected headd413f72.Status: Keep PR draft, #11 open and production activation disabled. Signed operating profile, genuine worker-claim races, bounded catch-up/recovery/clone and React #12 / pg-trickle #1168 remain open. The post-merge pg-trickle main CI and TPC-H failures are independent of the passing React pinned-original-producer runs.
T49.09 freshness-after-human-edit regression (qualified on previous head)
f81ce2d88b917958b098f3db2cab428cecd68a12adds the exacttime/human-stale-after-concurrency.sqlfixture and runs it after the previously passing idle/cross-key/row-lock tests. It captures an authorized MDM case's full pre-edit state, toggles manual queue-protection throughmdm_steward.set_case_controls(raisingaction_revision), and then submits an old captured level-2ESCALATErequest and a fresh level-2 request. Expected: old token → durableSTALE_CASE / FRESHNESS_TOKEN_MISMATCH; new token → durableACTION_DENIED / ESCALATION_LEVEL_ALREADY_APPLIED; identical-old-key replay returns exactly the original stale receipt. The whole case after the human change, the unique historical level-2 application, both canonical receipts and all React/source durable vectors must be unchanged by the attempted controls.f81ce2d. The separate recurrence addition requires fresh CI.Concurrency gate — previous head
a673e06(passed)a673e06c96c1b5b3b8eb8c13aa9fd7da710ff8d4extends the already-green post-human-reduction audit. A separate PostgreSQL connection holds aFOR UPDATElock on the same MDM policy-case row, launches two distinct authenticatedmdm_s1_runtime/pgreact_mdm_workerrequests with different request keys, requires both sessions to be observed waiting on PostgreSQLLock, then releases the row. Every resultingACTION_DENIED / ESCALATION_LEVEL_ALREADY_APPLIEDreceipt and canonical body/digest is compared against the previously qualified denial vector. Apart from exactly two new immutable MDM denial receipts, the complete MDM case, React intent-request/attempt, core work/attempt and business/technical-source state must remain identical. This is MDM row-lock concurrency in the real React joint-stack fixture; it does not substitute for React claimed-episode race acceptance.f81ce2drequires its own checks.New follow-up regression — 2026-10-20
bae5b29ed64d481f1e7973408950d651d51171b2, the exact MDM cross-key fixture now also replays the originalAPPLIED_CONTROLrequest key after the authorized human has lowered that level, requiring the original receipt and control (with no re-application). It continues to assert two distinct fresh denial keys and identical-key denial replay. Pinned-producer CI #39415705167 is queued; this additional replay assertion is not yet qualified.2404ae34, the audit additionally restores the legitimate worker login after the human edit and fresh-key denials, waits for another PostgreSQL postmaster/worker cycle, and asserts complete unchanged MDM/React durable state. This covers the current registered idle source only, not future typed rule declarations or all races. Pinned-producer CI #39415248547 is pending.grep -qin apipefail-sensitive Docker logs pipe, after the prior startup-probe failure #39406317004. The corrected workflow is running on earlier intermediate heads and pending on this head. It does not modify historical v0.47 evidence or source release tags.Verified current-head status — 2026-10-20
All current-head React CI passed for
4919a71901cf66c70dcf9c442138c9c03b7e4be4, including pinned MDM producer registration, real idleESCALATEdelivery, and the new full-state quiescence assertion across later background-worker cycles. See pinned-producer CI and core CI. This is focused T49.01/T49.03/T49.07 evidence only; no cross-key race/restart/catch-up or joint release acceptance is implied.pg-trickle#1197 is a separate draft correctness fix, not a substituted producer for this passing React run. The PR remains draft with production activation disabled.Summary
The direct MDM-source gate failed because pinned pg-trickle
0.108.3dropsJOIN … USINGpredicates while expanding nested views. Commita901accef20ea912591586409f999708948c07d5uses the equivalent explicitON selected_case.case_key = policy_case.case_keypredicate. The candidate still reads MDM's livedue_atdirectly. The same complete gate passes locally; pushed-head CI is pending.Admission accepts exactly
0.108.0and MDM-pinned0.108.3, retaining capability, scheduler, CDC, ratio and isolation guards. Producer source, worker permissions and gate assertions are unchanged.Validation
Exact local source, artifact, configuration and complete vectors: PostgreSQL 18.6 ARM64, MDM 0.14.1 at
06471e647ee54a80973fb5ad6709830f9955dbff, pg-trickle 0.108.3 atd8bb8eb5d45c5c9982e173e88914037433a1ee05, React SQL 0.46.1. Local joint imagesha256:3cdd0ae0ac2b15f42cabdfc08c41b758360807148f6a5399f05b9bff4066453a; unchanged compiled React base and SQL provenance are recorded separately.The ordinary PostgreSQL-managed worker delivers typed level-2 ESCALATE 0.468853 seconds after a future deadline, without business-source edits or manual refresh/time calls. Complete cases, request/receipt bodies, source, work and attempt vectors pass, including callback failure/role reset and missing SET membership.
Exact supported/unsupported versions; missing/altered/disabled capabilities; malformed/duplicate discovery; missing API; incompatible scheduler/CDC/ratio/isolation; fresh/adjacent-upgrade callable/ACL parity all pass. Exact-target MAINTAIN refresh works without source SELECT, source-schema USAGE, owner membership, superuser or BYPASSRLS; unrelated/revoked grants and lifecycle operations are denied.
Unchanged MDM bootstrap/negative fixtures, v0.47 fixture/typed/live, v0.48 codec/live/security, missing-MDM admission and deterministic time boundaries pass. Documentation, source/evidence hashes and whitespace checks pass.
At previous head
a901accef20ea912591586409f999708948c07d5, PR core CI #39383404472, pinned-producer CI #39383404414 and adapter CI #39383404459 passed. At current head4919a71901cf66c70dcf9c442138c9c03b7e4be4, PR core CI #39388762584, push core CI #39388755996, pinned-producer integration #39388762423, and legacy adapter #39388762450 all passed. These checks qualify the exercised single-case runtime path, not full v0.49.0: Complete managed bounded escalation #11/v0.49.0: Qualify escalation safety, recovery and operating limits #12 acceptance.The preceding direct-source failure and earlier technical-source CI evidence remain frozen and separately scoped.
T49.03/T49.07 focused passing regression (head
4919a71901cf66c70dcf9c442138c9c03b7e4be4): the real managed idle test waits for later background-worker heartbeat cycles and compares complete persisted MDM case/receipt, immutable React intent-request/attempt, completed work/attempt, and business/technical-source snapshots. Pinned-producer CI #39388762423 passed on the exact head. This proves post-delivery single-case idle quiescence, not different-key/human-reduction/concurrency/restart/backlog acceptance. No new automation or historical-evidence revision.Upstream producer correctness: pg-trickle #1197 repairs genuine
JOIN ... USINGview expansion semantics but remains independent/draft with unpublished corrected binary and requested independent CODEOWNERS review. The existing React explicit-ONsource still works on the original pinned producer; no substitute artifact or upstream merge is assumed.Post-delivery restart/no-replay qualification (head
5c545d8): pinned-producer CI #39397414754, core CI #39397414503 and adapter CI #39397414602 passed. The test restarted the PostgreSQL postmaster after one applied control, observed multiple recovered worker cycles, and asserted no durable MDM/React case, receipt, request, attempt, work or source changes. This does not qualify downtime across new deadlines, coherent restore or clone activation; the later66315daddition is separately pending.Producer correctness merged, not adopted: pg-trickle #1197 was merged after explicit sole-maintainer authorization at source commit
04391eca2d53e548eafc84e82256df91eec01ea5; CI for its PR head was green, but source merge is not an independently packaged and qualified MDM producer. MDM #5 carries the source archive/checksum qualification requirement. This PR still tests the original MDM-pinnedd8bb8ebproducer using the explicitONvariant; no upstream artifact swap or privilege broadening is assumed.Earlier human-reduction cross-key MDM authority fixture (
66315de8813e9600964306ee842f9e871399617a): addstime/human-reduction-crosskey.sqland invokes it after real managed idle delivery, quiescence, post-delivery PostgreSQL restart/no-replay, and missing-SET-role safety. The test lowers the visible level through the authenticated MDM human API, submits two new distinct request keys through the authenticated MDM worker API, demandsACTION_DENIED / ESCALATION_LEVEL_ALREADY_APPLIEDterminal receipts with complete canonical request bodies and unchanged full case, verifies the original applied receipt remains unique and checks same-key replay returns the identical denial receipt. This is MDM-side semantic safety within the real joint stack, not proof that React suppresses fresh event emissions after a human edit. Current-head pinned-producer CI is pending; no pass is claimed for the new fixture.Verification update — 2026-10-20 (cross-key)
66315de8813e9600964306ee842f9e871399617a: pinned-producer CI #39406316972 and core CI #39406316996 passed. The pinned job explicitly executedhuman-reduction-crosskey.sql: an authenticated human reduced a level after automated level-2 application; two different fresh worker request keys receivedACTION_DENIED / ESCALATION_LEVEL_ALREADY_APPLIED, complete receipt/request/case assertions passed, and a same-key retry replayed the original denial. This is MDM authority-path safety exercised in React's joint stack, not proof of React-side fresh-work suppression.docker logs | grep -Fqunderpipefailexited 1 due to an early-closed pipeline. Commitee9abeccchanges exactly those two readiness probes to consuminggrep -F ... >/dev/null. The workflow still runs its original adapter checks and preserves historical release/tag sources. New CI pending.2404ae34restores the legitimate non-superuser managed-worker login after the human reduction and fresh-key denials, waits for a restarted postmaster and multiple live managed-worker cycles, and compares complete MDM case/receipt, React immutable intent/attempt, core work/attempt and source vectors. This is a more direct React convergence probe; pinned-producer CI #39415248547 is pending. No React-side no-op claim is made yet.Remaining work
Current-head CI has passed. Resume focused #11 implementation/qualification for cross-key and human-change uniqueness, different occurrence recurrence, bounded next-level progression and catch-up, stale queued work, public diagnostics, concurrency, restart/restore and clone isolation. Preserve the qualifying idle-case test and its exact snapshots. The runtime proof does not complete #11.
Merge Danger
Keep PR #14 draft and #11 open. Production activation remains disabled. No #12 release qualification or pg-trickle #1168 closure is claimed; workload measurements and signed operating limits remain outstanding. No wildcard range, admission-guard removal, producer patch, source-copy workaround, stream ownership transfer or additional worker privilege is introduced. Published predecessor SQL and historical v0.48 evidence remain unchanged.