The platform declares 156 economy actions. Its independent actor, observability, tier, and evidence declarations identify 130 deployed UI-observable actions. Executable UI evidence accounts for 130 of them (100%): 129 macro-backed actions and a bounded release transition whose pre-release checkout refusal, post-release visibility, and stateless checkout quote are proven by a deployed probe. This run captured 128 browser units against the deployed proving tier through real sign-in — no mocks, no minted tokens. Failed units keep their recording and error; units that could not run say why. The 0 actions without executable UI evidence are named under Gaps. A gallery of only successes would not be evidence.
130 of 130 deployed UI-accounted actions have executable evidence.



tier 'proving' has not admitted physical fulfillment: config/physical_order_journey.proving.json activation is not true (catalog_activation_not_approved, task13_exact_deployments_not_pinned) -- buyer-keepsake-fulfillment needs R21 physical checkout authority (F-204; skipped until R21 activates, Tim 2026-10-24, .provide/DECISIONS.md)
What driving the platform actually caught. Coverage says how much was exercised; this says what came back. Each entry opens to the whole account of the defect.
A full run deploys billing, admin, auth, account and notify. delivery, developer, foundry, sigil and store are reported by check_deployed_versions.py as having no deployed-version record -- as WARNINGS, so the run still succeeds. "Deployed proving" can mean half of it. AUDIT 2026-08-28: STILL -- check_deployed_versions.py:50-55 warns on a missing non-orchestrated record, :62-65 fails only with --strict, and production_deploy.py:610-620 runs it without --strict; ran today: 5 warnings (delivery, developer, foundry, sigil, store), exit 0. The --only attested path (deploy_attested_repo.py) records nothing. Fix: --strict from production_deploy.py:614 and a record step in --only.
scripts/check_deployed_versions.pyThe catalog, the console's hand-copied duplicate, account's own grant rule, LiveOps' raw-role check, billing's per-route role lists, and each repo's vendored mirror. Every authorization defect above is a drift between two of them; undef-developer's mirror was found silently stale. End state: the console computes no authority at all and the server returns effective capabilities. AUDIT 2026-08-28: CHANGED -- 2 of 6 copies retired: the console's duplicate went at undef-admin b85d03ee (gated by tests/test_console_computes_no_authority.py); the catalog (undef-authz roles.json, 12 roles) is the source. Still there: account's own is_account_admin rule (billing_roles.py:132), billing's LiveOps raw roles (liveops/routes.py:38-40; the permission fix 97420a29 was reverted by c861872b, so QUESTIONS.md:998 is stale) and 28 per-route _*_ROLES lists (billing does not depend on undef-authz), and the two vendored mirrors (admin, developer -- equal to roles.json today; admin has a parity test, developer has none). End state still owed: billing authorizes on permissions through the catalog; a developer parity test; is_account_admin derived from the catalog.
.provide/QUESTIONS.mdCORRECTED 2026-08-21. The first version of this finding blamed the page for not refreshing. That is real but secondary, and I had the evidence to know better one run earlier: three runs credited at 04:35:26, 04:45:28 and 04:55:27 -- every one on a five-minute boundary, every one AFTER the run that caused it had given up. That regularity is not settlement jitter. undef-billing's worker declares `crons = ["*/5 * * * *"]` (terraform/main.tf:197), and the wallet credit for a claimed guest top-up is written by that SCHEDULED handler rather than by the claim. So a buyer who claims a top-up waits up to a full cron period for their money, with nothing on the page saying so. The second defect compounds it: the account portal is a hash router, the Wallet page fetches its postings once at mount, and there is no polling and no refresh control -- so even after the cron fires the page keeps showing the old balance until the buyer reloads, which nothing suggests. Measured directly: credit in the ledger at 04:35:26 (source_ref wallet-topup:line:31aa882d..., amount_minor 1000, hash_valid true), the open page still empty at 04:38:37, and a fresh load straight after rendering it as the FIRST history row. The macro spans a whole cron period with six spaced reloads, which makes the unit honest but slow. The PRODUCT questions -- should a claim credit synchronously, and should the wallet poll or offer a refresh while one is pending -- are customer-surface decisions and are not taken here. AUDIT 2026-08-28: STILL -- orders/client.py:186-215 enqueues wallet.credit.requested to the outbox and worker_entry.py:618-631 relays the owner db_group's outbox after any POST (since 8931c739), yet the credit lands on the */5 cron boundary; why relay_outbox_now does not deliver it on claim is unexplained. Wallet.tsx has no refetch (last change 512577a).
caught byverified_buyer.claim_topupTwo observations I cannot yet explain, recorded with their evidence rather than a guess. (1) Deploy take 2 (f7b7f239) seeded v2 with its allocation term -- the emitted SQL is correct and correctly ordered (version draft at line 57, allocation at 104, publish at 127), the run wrote 16 rows and exited 0 -- yet hours later offer_allocation_terms held NO v2 row while v2 sat published in the feed. Every sale of v2 in that window snapshotted EMPTY allocation terms onto its order line and will never pay the creator (the earn-sale-1 order is such a sale). (2) Replaying the same idempotent seed file restored the row -- INSERTing an allocation on a version whose status read `published` twice, which the BEFORE INSERT freeze trigger (confirmed present in sqlite_master) should have refused with `published offer allocations are immutable`, exactly as it refused deploy take 1. Suspect D1 trigger/batch semantics (WHEN with a subquery across a batch) but NOT confirmed. Follow-ups owed: reproduce trigger behaviour on a throwaway D1; audit other frozen-child tables (offer_prices, offer_bundle_components) for the same silent-loss shape; a guard that diffs seeded allocation terms against the tier after every deploy. UPDATE 2026-08-21: reproduced on a throwaway D1 through the same wrangler path -- the D1-semantics suspicion is REFUTED. All five shapes abort correctly: plain INSERT, the seed's guarded INSERT...SELECT WHERE NOT EXISTS, the full replay file via --file (atomic rollback), DELETE on published, and the missing-version-row case (trigger WHEN goes NULL-silent but the FK backstop refuses; D1 enforces foreign_keys). Proving today is healthy: triggers present, v2 published, allocation row present (owner_haiku). Sibling audit: no published version lacks a price. The loss mechanism remains unattributed -- no audit trail survives from the window -- so the guard checks OUTCOME: ci/check_seed_children.py (undef-billing) replays the applied seed file locally and diffs all three frozen child tables against the tier after every seed, wired into deploy-billing.sh, red side proven against proving with a mutated row. Recurrence now fails the deploy instead of surfacing as a creator paid $0. AUDIT 2026-08-28: CHANGED -- proving offer_allocation_terms holds one row for haiku.summer-rain.purchase.v2 again (and one for v1); the vanish and the re-insert past the freeze remain unexplained, no commit touched them.
caught bypayout_recipient.view_earningsHearting an offer awaits its PUT and disables the button, but the wishlist link stays clickable, so a fast click issues the list read before the write commits. The captured network log shows PUT .../wishlist/undef/pool.484 -> 200 with both GETs answered ahead of it. WishlistPage's useAsync fetches once on mount and never refetches, so the page renders 'Nothing wishlisted yet' over a row that exists in the database, and stays wrong until the view is re-entered. Patched at the TEST layer on 2026-08-24 (the macro now waits for the button's disabled->enabled transition); the product still loses the race for a user who clicks that fast. AUDIT 2026-08-28: STILL -- WishlistButton.tsx:70 disables only the button; WishlistPage.tsx:23-26 fetches once on mount. A manual Refresh (wishlist-refresh, WishlistPage.tsx:113) has existed since 6d7b73c, so 'never asks again' means never automatically.
caught byverified_buyer.wishlist_offer · packages/undef-storefront-kit/src/storefront/WishlistPage.tsx:23#106 said the tax line renders only where tax is zero. The EU half was fixed -- an inclusive quote now renders the amount through `store-checkout-tax-included`, and `storefront-review-tax` asserts that figure is greater than zero. The EXCLUSIVE half is unchanged and reproduces. Measured on proving 2026-08-25 through the store's own `/public/v1/store/undef/tax-quote` with the store's own location keys (billing_country/billing_region): DE returns tax_minor 160, mode inclusive, show_tax_line false; US/CA returns tax_minor 0, mode exclusive, show_tax_line TRUE. So the only branch that renders `store-checkout-tax-line` is one where the figure is 0.00, and that holds for every product type on the tier -- digital 999, bundle 799, composite/physical 1499, subscription 299 all quote 0 into US/CA. It is not a catalogue accident: US-CA is a DECLARED registration and 129 are on file. Either Stripe Tax genuinely returns zero for these product tax codes into California, in which case the tier cannot demonstrate a non-zero exclusive line and needs a jurisdiction that can, or the registration is not being matched at quote time -- and the public quote payload carries no jurisdiction or source field to tell those apart from outside. NOT DIAGNOSED FURTHER rather than guessed at. `store-checkout-tax-line` stays undriven for the same reason: driving it today would assert a zero and call it proof of a tax line.
caught bystorefront_visitor.review_checkout_tax · packages/undef-billing/src/undef/billing/domains/tax/display.py:49proving's tax_registrations table carries an ACTIVE US-CA sales_tax registration (effective_from 2026-08-23, no end date) and 142 expired US rows beside it. Stripe, the primary adapter, carries exactly ONE registration: IE. Stripe Tax computes zero where the account is not registered, so US/CA quotes tax_minor 0 while the engine has already stamped decision='collected' with a registration_snapshot naming US-CA -- the zero is indistinguishable, in the quote body and in the persisted determination, from a genuine zero-rated supply. That is the shape of a filing error nobody would see: the platform believes it collects California sales tax, the provider never charges it, and the determination says collected. Diagnosed by reading both sides -- the BFF's /v1/admin/billing/tax/registrations and Stripe's own /v1/tax/registrations -- which is what F-144 left as an either/or. The engine has the material to catch this: it holds the registration_snapshot AND the adapter's answer, so a collected decision that returns zero tax from an adapter with no matching provider-side registration is assertable at quote time. Closing #106 on this tier also needs the provider-side registration to exist, which is a Stripe TEST-mode change and is being made under the tier-seeding authority.
caught bystorefront_visitor.review_checkout_tax · diagnosis while measuring N, 2026-08-25undef-admin Catalog.tsx:469 renders 'Tax code' as a plain text input defaulting to digital-goods, and undef-account StoreManage.tsx:66 sends whatever the creator typed (v.tax.trim()). Billing accepted any non-empty string (authoring_models.py: Field(min_length=1)), the Stripe adapter dropped a code it did not know without a word, and Stripe priced the line at the account default -- 'tangable-goods' authored cleanly and was taxed as a download. Billing now refuses a code outside the supply vocabulary (supply_codes.py: digital-goods, physical-goods, stored-value, or a raw txcd_* id) at authoring, so the typo is a 422 instead of a wrong tax. What is still open is the console half: a human is offered a text box where the platform has a four-entry vocabulary, and sees a refusal where they should see a choice. Fix: a select (or datalist, to keep txcd_ passthrough) over the vocabulary in both consoles, read from billing rather than retyped. No unit: the refusal is proven at the model, the picker does not exist yet. AUDIT 2026-08-28: STILL -- undef-admin Catalog.tsx:469 and undef-account StoreManage.tsx:83 are still free-text inputs sent trimmed; billing refuses a code outside the supply vocabulary, so a typo is a 422 now, not a mis-taxed supply. Fix: a select over the vocabulary billing serves.
packages/undef-admin/frontend/src/Catalog.tsx:469; packages/undef-account/frontend/src/pages/StoreManage.tsx:66HeldEntitlements.tsx renders the empty notice whenever `items.length === 0 && error === null`, and items start empty, so the notice paints on mount and stays until GET /v1/billing/entitlements lands -- there is no loading state. library-view's second replay of sweep 54 read that notice off library_account_holder-01, who holds 266 entitlements (read directly off proving), and called the account empty. The macro now settles on rows; the panel should carry a loading state like the Games panel does. AUDIT 2026-08-28: STILL -- HeldEntitlements.tsx:16-17 has no loading flag; :33-34 renders the empty notice whenever error is null and items is empty.
packages/undef-account/frontend/src/pages/HeldEntitlements.tsx:33CREATE TABLE IF NOT EXISTS never alters an existing table, and nothing in the billing, developer or foundry deploys migrates one. On 2026-08-26 the first production deploy shipped code against tables created weeks earlier: agent_order_proposals.status CHECK lacked 'declined' (decline -> D1_ERROR CHECK constraint failed -> account 500), billing_agreements.provider_name NOT NULL refused a card-less trial (start-trial -> 500), outbox_messages.delivery_state lacked 'dead_letter' in all seventeen billing D1s, developer apps lacked demo_trial_offer_version_id (register -> 500), foundry production_jobs lacked six NOT NULL columns. Fourteen missing columns were added by ALTER on Tim's word; the constraint drift needs table rebuilds (scratchpad d1_ddl_diff.py, row counts in .provide/QUESTIONS.md 2026-08-26). Caught by production sweeps 66 and 67. AUDIT 2026-08-28: STILL as a class -- no deploy (production_deploy.py, billing main.tf) migrates an existing table; the 2026-08-27 rebuild covered the drifted tables then, and the next DDL change ships against tables it cannot alter.
caught byagentic_shopper.decline_order · capture sweep 67 (production), macros agent-decline-order and library-start-trial; worker tails of undef-account (D1_ERROR CHECK constraint failed; NOT NULL constraint failed: billing_agreements.provider_name); scratchpad/d1-ddl-diff.jsonPOST /v1/creator/crowdfund/campaigns writes the campaign row and then inserts its pledge tiers; when a tier insert is refused -- two tiers naming the same offer version, which the editor's own dropdowns let a creator pick -- the exception is not caught and the route answers 500 (Cloudflare 1101, the worker threw). Billing's create maps ValidationError to 422, a permission error to 403 and ValueError to 400 (crowdfund/creator_routes.py:54-67), so this shape reaches none of them. The campaign is left in the tier's database as a draft with zero tiers while the console shows 'Something went wrong on our side', so the creator's next attempt adds a second orphan rather than finding their campaign. Fix: refuse a duplicated offer version in CreateCampaignRequest (422, naming the field), and make the create atomic so a refused tier leaves no campaign. Proving carries four such orphans today (eb8f7e2a from sweep 81, and 79a91dc0/383004b5/5a5ef4f8 from the reproduction).
caught bypayout_recipient.author_crowdfund_campaign · proving, 2026-08-28: sweep 81 lost payout_recipient.author_crowdfund_campaign at step 28 (the save never left #/creator/campaigns/new; the session network log shows POST /v1/creator/crowdfund/campaigns -> 500 and the alert 'Something went wrong on our side'). Reproduced with scratchpad/probe_crowdfund_create.py as tim+payout_recipient-01: no tiers -> 201, one tier -> 201, the same offer version twice -> 500, and scratchpad/probe_campaign_list.py then lists the campaign as a draft with 0 tiers.The Spend tab's storefront subscriptions table renders its At-period-end column from cancel_at_period_end, which undef-billing's storefront_subscription_view (domains/overview/clients.py) computes as `cancel_at is not None and status not in {cancelled, ended}`. The operator's own Cancel sends at_period_end: false (undef-account billing_client/subscriptions.py), so billing cancels immediately and never sets cancel_at: the row's status becomes `cancelled` while the same row's At-period-end cell still reads `Renews`. An operator reading across the row is told the subscription they just cancelled will renew. Fix: render that column from the status as well -- a cancelled or ended agreement renews nothing -- or have the column say what the status means rather than what one nullable column says. Same table, second defect: every row renders the same two testids (admin-action-sub-cancel, admin-action-sub-reactivate), so ten distinct controls share one address. The console-surface inventory counts them as one control, and any selector written against them acts on whichever row sorts first -- which on 2026-08-28 cancelled agreement fa8a15c8 and reactivated 38cc6e76, two different subscriptions, both answering 200. Fix: suffix each row's action testids with the subscription id, the way the campaign list already does (crowdfund-campaign-open-{id}).
caught bybilling_admin.open_back_office · proving, 2026-08-28: rehearsal of billing_admin.open_back_office after the confirm-dialog fix. POST /v1/admin/billing/subscriptions/38cc6e76-697d-4425-823e-28c15da92864/cancel answered 200 and the refetched table rendered `Rain Club | cancelled | 2026-09-11 | $2.99 | Renews | Cancel | Reactivate` (the fail page saved beside that unit's video).The current proving coverage summary records a desktop failure because the account toast does not contain Refund requested; tablet and mobile recordings exist. The saved index also records a desktop failure. This establishes an incomplete replay, not the cause of a refund backend defect. Reproduce against a settled tier and bind any recovery to fresh full-sweep evidence.
caught bybilling_admin.refund_order · config/capture_coverage.json and artifacts/persona-capture/proving/index.json; billing_admin.refund_order; inspected 2026-09-08The current proving coverage summary records a desktop timeout in admin-session-sign-in before any return-refund action ran; tablet and mobile recordings exist. The separate saved index comes from a different capture state, so a captured row there cannot repair this summary. Re-establish a consistent full-sweep index/summary and determine why the desktop admin panel did not render.
caught bybilling_admin.refund_return_order · config/capture_coverage.json and artifacts/persona-capture/proving/index.json; billing_admin.refund_return_order; inspected 2026-09-08The current proving coverage summary records a mobile timeout while locating the offer allocation payee input. The separate saved index records desktop/tablet allocation-control timeouts from another capture state. These are replay observations; a viewport-specific root cause is not established. Investigate the control/rendering state and produce a fresh consistent capture before claiming success.
caught bycreator_vendor.publish_offer · config/capture_coverage.json and artifacts/persona-capture/proving/index.json; creator_vendor.publish_offer; inspected 2026-09-08Two units of the 2026-09-07 proving sweep died at step 0 with nothing executed, and the cause is not the timeout their detail reports. The browser log for library_account_holder.start_trial at 21:49:15Z reads `net::ERR_CONNECTION_CLOSED` followed by `Account portal load failed: Failed to fetch TypeError: Failed to fetch`; billing_auditor.read_reports carries the same ERR_CONNECTION_CLOSED. There is no status code because there was no response -- on Workers that is a worker terminated without producing one, not an application error. The SPA's fetch rejects and the console draws its 'Account unavailable -- something went wrong on our end' state, which is what a real user sees; the macro then waits 45s for content that will never arrive and is filed as a selector timeout. Eight concurrent clients is a trivial load. Three mitigations already sit over this path and none of them names a dropped connection: capture_retry.SIGN_IN_ATTEMPTS=3, the multiplied replay backoff whose comment attributes the failure to 'auth contention', and a 305s sign-up pacing constant removed in 60b92fa6. All three read the symptom as contention because that is what a closed socket looks like from the client. NOT marked `capture: impossible` -- both units capture on other runs, so this excuses nothing; it is a live defect. Next step is a wrangler tail on the account worker under concurrent load to find which limit kills it (tail writes pretty-printed JSON, so line-greps for '"status":5' never match -- parse with raw_decode). Related: the retry path cannot currently tell 'the server answered and refused' from 'the server closed the socket', and retries both identically.
proving sweep 2026-09-07, artifacts/persona-capture/proving/*/sessions/*.jsonlFOUND 2026-09-09 while removing docs/archive/ at Tim's instruction. The removal of all 60 files failed the economy-capability-registry pre-commit hook with fourteen 'references missing evidence file' mismatches across EIGHT capabilities, all pointing at just TWO of the deleted files: docs/archive/superpowers-2026-07/plans/2026-07-05-sharding-seams-and-routing-contract.md (data_three_axis_model_doc, security_world_data_isolation, infra_world_id_transactional_columns, infra_per_world_d1_routing, infra_wallet_kv_write_behind, infra_d1_r2_export) and docs/archive/superpowers-2026-07/plans/2026-07-05-global-commerce-workflow-readiness.md (partial_refund_adjustment_ledger, refund_store_credit_alternative). WHY THIS IS A FINDING RATHER THAN A CLOSED INCIDENT: the archive reads as spent history -- docs/superpowers/README.md describes it as where a plan goes once its work lands, and the generated archive-batches block presents it as a count, not as a dependency. Nothing at the archive end records that eight capabilities read two of its files, so the coupling is discoverable only by deleting them and watching a hook go red. A prune done with the hook skipped, or in a checkout where it does not run, silently empties the evidence behind eight capability claims -- and a capability whose evidence file is missing is exactly the drift the registry exists to prevent. NOT FIXED BY THE WORKAROUND TAKEN: workspace f9455902 deletes 58 and KEEPS those two, which restores the hook to green but leaves the coupling unrecorded and the two files sitting alone in an otherwise-removed tree with no explanation at their own end. Repointing the eight citations at another document was considered and rejected: these plans ARE the evidence, so a substitute target would assert provenance it does not carry. FIX DIRECTION: make the dependency visible from the archive side rather than only from the registry side -- either a note in the archive tree naming which files are cited and by what, or a check that refuses to let a cited evidence file be deleted with a message naming its citers, so the next prune is told rather than discovering it.
config/economy_capability_registry (see economy-capability-registry hook); docs/archive/superpowers-2026-07/plans/; docs/superpowers/README.mdbilling_admin.preview_adjustment failed on MOBILE only in the 2026-09-09 proving sweep (124/129); desktop and tablet both recorded. Its error is DIFFERENT IN KIND from the other two new failures in that run -- not a selector timeout but "Page.evaluate: Error: the previewed adjustment has no exact De...", which is the macro's own assertion about the adjustment it previewed rather than a control it could not find. That points at the data the preview returned, not at a missing affordance, so it is NOT assumed to share the scheduler-race cause of F-185/F-187 despite failing in the same run. NOT YET DIAGNOSED, AND DELIBERATELY SO. The sweep that recorded this was the second attempt: the first was killed after hanging 13 minutes on a timeout-less SSL read during fixture minting, and this run then consumed fixtures that dead attempt had already minted. Fixture starvation and a real defect look identical in a single index, so a root cause claimed from this run alone would be a guess wearing evidence. A clean back-to-back sweep comes first. This entry exists because a failed unit owes the reader a written reason -- it records what was observed, not a cause. ROOT CAUSE 2026-09-09, confirmed: capture_adjustments handed out work excluding the LINE already taken (_HANDED_LINES), and its own docstring notes that seeded orders often have two lines -- so two passes received the same adjustment_order_id with different adjustment_line_ids. The macro finds its queue row with `textContent.includes(adjustment_order_id)` (admin-adjustment-preview step 15), having nothing else to recognise a row whose id billing has only just minted, so a pass can latch onto its sibling's adjustment. undef-admin Adjustments.tsx:66 defaults the status filter to `previewed` and :161 refetches server-side by status, so the sibling's deny removes that row from the table outright -- and step 17's `[data-testid=admin-adjustments-deny-<id>]` lookup finds nothing, which is the exact error text observed. FIX: hand out one ORDER per pass, not one line, so the macro's identity claim is true rather than usually true. SWEEP 2026-09-09 (126/129), after the one-order-per-pass fix: the unit now gets PAST the failure this finding is about. Step 17's `the previewed adjustment has no exact Deny control` is gone -- the Deny control resolves and is clicked. It now fails at step 18, on DESKTOP rather than mobile, timing out for 45s waiting for its own denied row to leave the `previewed` state. That is a different defect wearing the same unit's name: the deny is dispatched and the row does not reach `denied`. Whether the write is refused, or lands and the queue does not re-read it, is unestablished -- the macro already throws on `.status-error`, and it did not, so the console reported no refusal. Still open, but for a new reason. FIXED 2026-09-10. Not a width defect and not a missing control: the Deny WAS dispatched and the console DID refuse it. The refusal arrives in a toast whose TOAST_DURATION_MS is 5000, so a run that waited on the row saw a page that no longer said anything and timed out naming the wait. The macro now latches [data-testid="admin-toast-region"] into document.body.dataset and throws with its text; a success toast always reads 'Adjustment <status>', so !/^Adjustment\s/i identifies a refusal without guessing. Rehearsed 3/3 on proving. HELD OPEN PENDING ATTESTATION: the fix is in the tree and rehearsed, but config/capture_coverage.json still records this unit red and only a FULL sweep updates it. A finding marked fixed against a summary that still says failed is a register disagreeing with its own evidence, so this flips when the sweep does.
caught bybilling_admin.preview_adjustment · scripts/acceptance/capture_adjustments.py:151FOUND 2026-09-09 by the undef-notify session while applying inbound email routing, and recorded here as well as in that module's own README because it bites whoever runs a full apply -- who may arrive from another repo with no reason to read terraform/README.md first. cloudflare_email_routing_catch_all.apex declares a zone-wide catch-all on undef.games with action `drop` and matchers = [{type = "all"}]. Provider v5 gives the resource no per-hostname scoping; it is a singleton per zone_id, so it governs every unmatched address on every subdomain. THE PRECISE HAZARD IS NOT WHAT IT FIRST LOOKS LIKE, and the distinction is the point. Cloudflare ALREADY holds a catch-all for this zone with action `drop`, but with enabled: false. So an apply does not ADD a drop rule -- it flips that flag, and the delivery behaviour changes underneath it: today unmatched mail is REJECTED and the sender receives a bounce; after, it is SILENTLY DISCARDED with no bounce, no row and no trace. Turning a bounce into a blackhole zone-wide may well be the right policy for a routed subdomain, but it is a POLICY DECISION, and here it arrives as a side effect of applying the module for an unrelated reason. Read live from the API, not inferred from state. The resource was deliberately left unapplied; it is still pending for anyone who runs a full apply of that module without -target. RELATED AND WANTED: the apex rules for abuse@, postmaster@ and dmarc@ are declared in the same module and are likewise not live. dmarc@ matters on its own -- undef-auth publishes rua=mailto:dmarc@undef.games and nothing routes it, so every DMARC aggregate report ever sent to this platform has been discarded on arrival. Those should land by targeted apply, separately from the catch-all.
undef-notify terraform/main.tf (cloudflare_email_routing_catch_all.apex); undef-notify terraform/README.md; undef-auth DMARC rua recordTwo independent checks name the same two services on PRODUCTION. The production evidence gate reports `generated wrangler mismatch: generated social wrangler D1 identifier is unresolved` and the same for vault; check_live_deployed_sha reports `unstamped undef-social: no UNDEF_GIT_SHA on the deployed worker` and the same for vault. Neither is a tier that is behind -- together they say the deployed identity of those two services cannot be established at all: the generated config does not resolve the D1 it binds, and the running worker carries no commit stamp to compare against anything. This blocks production promotion independently of evidence freshness, and it will keep blocking it after a full evidence regeneration. `unstamped` is the dangerous half: it reads as 'nobody has looked' rather than 'something is wrong', so it survives every sweep unnoticed -- the same shape as the proof gallery going stale for three sweeps. Observed 2026-09-09 during an attempted auth+notify production promotion, which the gate refused with exit 2 and 32 mismatches; production was not modified. NOT yet root-caused: whether the D1 binding was never resolved for these two services or the stamp step is skipped for them is unestablished. ROOT CAUSE 2026-09-09: the databases DO NOT EXIST. `wrangler d1 list` against the production account has undef-vault-proving and undef-social-proving and neither undef-vault-prod nor undef-social-prod. The generated production wrangler says so literally -- `database_id = "UNPROVISIONED"` where proving carries a real UUID -- and generated_player_wranglers.py:112 reports that as `D1 identifier is unresolved` because it requires a UUID. The missing UNDEF_GIT_SHA is the same fact seen from the other side: these two services have never had a real production deploy, so nothing ever stamped them. This is not drift or staleness; it is two services that exist on proving and were never provisioned on production at all. Fixing it is a terraform apply against production for those two modules, which creates the D1s, after which the render resolves and the preflight's two wrangler mismatches clear. CORRECTION 2026-09-09: the root cause above named the right resource and the wrong command. The workspace already owns a purpose-built coordinator for exactly this prerequisite -- scripts/bootstrap_player_services.py, which takes `--service vault|social --environment proving|production`, holds the same account/tier lease as a deployment, requires the workspace itself to match clean main, runs a reviewed plan restricted to the create/no-op prerequisite closure, and writes a receipt with `worker_deployed=false` and `schema_applied=false`. Its own documentation (docs/audits/2026-09-08-platform-review-remediation/player-bootstrap-orchestration.md) closes with "Implementation verification uses mocked runners/resources only; no live apply, remote SQL, Worker deployment or push was performed", and artifacts/deploy-runtime/ carries bootstrap receipts for vault-proving and social-proving and for NEITHER production tier. So UNPROVISIONED is not drift, not a deliberate preview-only design, and not an oversight in terraform: it is the pre-bootstrap state of a coordinator that was written, tested against fakes, run live on proving, and never run against production. The fix is to run that coordinator against production for each service, not a bare terraform apply.
ci production evidence gate + scripts/acceptance/check_live_deployed_shaPROVIDE_TELEMETRY_ENV is set by no service in terraform, so TelemetryConfig.from_env falls back to its default and every log line on proving and production carries "env": "dev". The failure is silent in the worst way: a plausible value is present, so nothing reads as missing, and any query or dashboard that filters or groups by environment silently answers about the wrong tier. Found 2026-09-09 while deploying undef-notify, where it was fixed by driving the value from local.environment so it cannot drift from the tier the config is generated for. NOT fixed anywhere else: undef-account, undef-developer, undef-social, undef-sigil, undef-billing and undef-vault all bundle provide.telemetry and all inherit the same default. Until each is given the binding, the env label on telemetry from those services is not evidence and must not be treated as any -- including by a capture sweep that records it. The fix is per-repo terraform, one binding each, and the undef-notify change is the worked example.
undef-notify terraform (fixed) vs 6 sibling repos (not)seed_payments cannot raise a dispute on proving. The reported reason is `PAYMENT FAILED: Stripe did not observe the dispatched Pay input before the poll deadline`, raised after all three of complete_stripe_checkout's own escalating retry windows. That message is WRONG in a way that costs whoever reads it: Stripe observed the input perfectly and DECLINED it. Read off the PaymentIntent (2026-09-09, two independent runs): status=requires_payment_method, code=card_declined, decline_code=fraudulent, amount=299, and the card that paid ends 0019. DISPUTE_TEST_CARD is 4000000000000259 -- last4 0259 -- and the string 0019 appears nowhere in this repo, so the digits did not come from the harness. That is Stripe Link autofilling a saved card for the buyer's email. provider_checkout's own comment predicts it exactly: entering the test OTP 'pays with whatever card Link has saved... A saved card would quietly test something else'. The driver prints `Link opt-out dispatched` and the opt-out is not taking effect. So the causal chain is: Link opt-out fails -> a saved card pays -> the charge declines fraudulent -> no charge settles -> Stripe raises no dispute -> F-174's seeder can never top up. TWO defects, worth separating: (1) the Link opt-out does not hold, which silently substitutes the card under test -- the exact failure the code was written to avoid; (2) a submit timeout is reported as an unobserved input without ever reading the PaymentIntent back, so a decline is indistinguishable from browser flakiness and sends every reader at the wrong layer. (2) is cheap and should be fixed regardless of (1): after a submit timeout, read the intent and report its actual status and decline code. OPEN QUESTION, not to be answered by assumption: provider_checkout's header states DISPUTE_TEST_CARD stays on the hosted-browser path because 'only Stripe's form can create the provider-backed dispute'. That is a deliberate design claim and it has not been tested. The API settlement path already creates a PaymentMethod from a token (stripe_api_settlement TEST_TOKEN = tok_visa), so the same path with a dispute token is at least plausible. Given the form currently creates NO dispute at all, the claim is worth measuring -- but changing a documented decision to unblock a seeder is a different act from fixing a bug, and needs the operator's call. CLOSED 2026-09-09. Defect (2) was fixed first (69c9eb9d): a submit timeout now reads the PaymentIntent back and reports its real status and decline code. Defect (1) is answered by removing Link from this path rather than fighting it. THE OPEN QUESTION IS ANSWERED, AND THE DOCUMENTED CLAIM WAS FALSE. Measured against proving: a PaymentIntent confirmed through the API with tok_createDispute charged on last4 0259 -- the card actually asked for -- and Stripe raised du_1UDxARCLIBcgZ82ukvhPfhsx in needs_response, reason fraudulent. Driving the whole path (billing's own checkout session, settled that way) produced a dispute billing linked to order:338d104706ae277cf1dc4431e07a598d and listed as actionable. The dispute is a property of the CARD at the provider, raised when the charge settles; which surface confirmed it never mattered. seed_payments now settles the dispute fixture through the API, and the run that proves it reported `3 actionable; raised 1 this run`. Link is a Checkout-UI feature, so on this path a saved card cannot be substituted at all. The browser path stays where the checkout SURFACE is what is being proven (verified_buyer.purchase, and the settled order the refund units need) -- and there a substitution can no longer pass silently either: the card about to be charged is checked against the card requested immediately before submit, and the opt-out now reports whether the box actually cleared instead of printing success either way. FIXED 2026-09-10. The poll deadline was a symptom. Stripe Link recognises the personas' emails, its opt-out did not hold, and a saved card ending 0019 paid instead of the disputing card -- the charge declined and no dispute was ever created, so the wait was for something nobody was going to raise. The seeder's own header claimed only the hosted form can raise a chargeback; measured false. tok_createDispute confirmed through the API raises du_… (needs_response / fraudulent) and billing links it to its order. The browser stays wherever checkout is the surface under test. HELD OPEN PENDING ATTESTATION: the fix is in the tree and rehearsed, but config/capture_coverage.json still records this unit red and only a FULL sweep updates it. A finding marked fixed against a summary that still says failed is a register disagreeing with its own evidence, so this flips when the sweep does.
scripts/acceptance/provider_checkout.py:382-404ROOT-CAUSED 2026-09-09 from the session logs, and it is NOT the fifth instance of the fixture-shortage defect the earlier note guessed at -- the warning not to assume it was right. An exhausted fixture renders no Retry button, the macro's `if_selector` takes its else branch, and the pass PASSES. This failed, so the button was there. It is a race, and the logs date it to the millisecond. The tablet and mobile passes launched in the same second (both sessions stamped 20260909T211734Z) and clicked the retry button 982ms apart: tablet at 21:17:48.285, mobile at 21:17:49.267. Retrying SPENDS the line -- batch_routes.py:352 matches only manual_hold/failed or pending with a failure_reason, then sets status='pending', failure_reason=NULL -- so mobile's click answered 409 line_not_retryable. runAction caught it and raised an ERROR toast, and the macro waited out its full 60s for a success message that was never coming. Two fixes, in two repos. Harness: `admin-payout-line-retry` joins SHARED_ARTIFACT so its viewport passes serialise. That alone is sufficient -- serialised, a later pass either finds a retryable line and succeeds or finds none and passes via the else branch; only the race turns a spent fixture into a hard failure. Product: the harness reproduced a REAL defect, filed as F-195 and fixed in undef-account 3f47226. The macro's guard tests the BUTTON (client state from a page load a second earlier) while the server tests retryability, and that is exactly what two human operators sharing the failed-payout queue do. STILL OPEN until a sweep captures it green: the fixes are in (capture_schedule SHARED_ARTIFACT here, undef-account 3f47226 for F-195) but the unit reads failed in the 2026-09-09 artifacts, and a finding this file calls fixed is a claim until a capture backs it.
caught bybilling_admin.retry_payout_line · artifacts/visible-persona-proof/macros/admin-payout-line-retry.json step 5scripts/tier_parity.py:330 recognises `database_id == "UNPROVISIONED"` in a generated wrangler and reports it as `SOURCE PREVIEW: <service> <tier> -- UNPROVISIONED, NOT DEPLOYABLE`, an informational line that does not fail the comparison. scripts/generated_player_wranglers.py:112 requires the same field to match a UUID, with no exception for a preview render, and reports `D1 identifier is unresolved` -- a hard mismatch that the production evidence gate counts as a blocker. Both are correct about the tier and they disagree about whether it blocks. The bytes they disagree over are written deliberately by scripts/render_player_preview.py, whose header says `SOURCE PREVIEW ONLY - NOT DEPLOYABLE`, so a state the system renders on purpose is described by the promotion gate as unresolved. Found 2026-09-09 while root-causing F-189. Running the bootstrap resolves F-189's fact and leaves this disagreement standing: the next player service rendered as a preview will read as a promotion blocker the same way, and the operator will again have to establish by hand which gate meant what. Decide which check owns the question and make the other defer to it.
scripts/tier_parity.py:330 vs scripts/generated_player_wranglers.py:112The only failure in the 2026-09-10 proving sweep (128/129 captured, 0 skipped, 0 not run). The macro SUCCEEDS -- replay.ok is true and the mobile session logs the same 37 actions as desktop in a comparable 11.99s (desktop 13.14s, tablet 11.54s) -- but Playwright writes a ZERO-BYTE .webm, so capture_viewports' is_nonempty_session_artifact check fails the pass with 'ordinary replay returned no video or no real nonempty session video'. The three failed rows in the sweep summary are one unit: the pass rows all carry the unit-level detail. MEASURED, and the obvious causes are ruled out. Not concurrency: it reproduces in an isolated rehearsal with only this unit's three passes running. Not mobile: verified_buyer.purchase (1,264,107 bytes), creator_vendor.buy_other_creators_offer (1,417,027) and guest_buyer.sign_up (370,142) all record at 390x844 in the same sweep. Not Stripe or cross-origin: all three viewports of this unit end on the same checkout.stripe.com origin and tablet records 262,144 bytes from there. Not a short session, and not the first-to-close browser -- tablet finished 450ms sooner and recorded. There are exactly TWO zero-byte .webm files in the whole artifact tree and both are this unit's mobile pass, at 20260910T045440Z and 20260910T055214Z; the same pass recorded 262,144 bytes at 20260909T211907Z, so this began some time in those 7.5 hours. The remaining cause is inside octowright's recorder/close path, which is a separate repo and was not instrumented. NOT a product defect: the guest checkout journey completes and asserts store-success-page. What is missing is the evidence, which in this lane is the point -- so the unit correctly does not capture. CORRECTED AND ROOT-CAUSED 2026-09-10. Two claims above are wrong and the measurements that replaced them are worth more than the guesses. It is NOT deterministic: across nine runs of this unit the video was empty five times and recorded four times, always at 390x844. And the page-tracking theory is dead -- `page.video` binds one page at launch, so a second page could leave the tracked one unpainted, but page count at teardown is 0 on the passes that RECORD as well as the ones that do not. Proving that needed two fixes to the instrument itself: the first diagnostic read context.pages AFTER context.close(), where it is empty for every session, so it reported [] and answered nothing; moved before the close it still read 0, and only logging the count on successful passes showed 0 was normal. A control that answers the same thing whatever happened is not evidence. What remains is Playwright's writer: Video.path() reports where a file WILL be, with a guarantee tied to context close that does not always hold, while Video.save_as() waits 'until the page is closed and the video is fully saved'. octowright 400bdac9 gives an empty video a save_as() and reports whether it recovered. NOT PROVEN AGAINST THE LIVE FLAKE: six runs after the change recorded normally (p~0.016 at the observed rate) but never executed the repair branch, so the tests prove the logic, not Playwright.
caught byguest_buyer.guest_checkout · scripts/acceptance/capture_viewports.py:466 (is_nonempty_session_artifact)The committed proving coverage records desktop captured and tablet/mobile failed because no actionable dispute remained. Full proving capture #12 then reproduced the underlying race more directly: 127 captured, 1 failed and this unit skipped. Stripe endpoint coverage was complete. A direct saved-card dispute was acknowledged and marked processed before the local capture wrote its provider payment reference, so the synchronous handler treated the temporary ownership miss as foreign and no later pass could recover it. This is a new regression after F-174's three-dispute seeding fix, not evidence that F-174 was wrong to close: two earlier full sweeps captured the unit, while the current committed coverage is red and capture #12 measured the new durable-ingress race. Billing main now contains durable reconciliation, bounded discovery, replay, and exact ownership/capture-readiness work, but that source is not deployed or capture-attested. Keep this finding open until a fresh full proving capture records all three viewports for dispute_operator.decide; source tests or an isolated rehearsal are not enough.
caught bydispute_operator.decide · config/capture_coverage.json + .provide/HANDOFF.md capture #12 checkpointFOUND 2026-10-24 (Pacific, the register's convention; the run's UTC timestamps read 2026-10-25) by proving capture 53f19a0c: verified_buyer.composite_purchase failed all three viewports with 'Stripe Checkout did not open before settlement deadline'; the network log shows POST /v1/billing/store/undef/checkout-sessions -> 422 on each. Reproduced once as verified_buyer-01 against acceptance.composite.02.purchase.v1: 422 code physical_components_required, 'every physical component requires one registered product intent'. undef-billing 416292b6 requires every line with a physical component to carry physical_components child authority (src/undef/billing/domains/checkout/line_contracts.py:18-43, added e945d879; service.py:238-246 computes it and :283-284 raises the typed refusal). undef-account e6c6f4b never sends it (frontend/src/apiClient/store.ts:459-486 createStoreHostedCheckout sends offer_version_id, quantity, realm_id only; physical_components appears nowhere in the repo), and only Currents may register physical intents while physical fulfillment admission stays closed until R21 activates. The buyers hold shipping addresses, so it is not a fixture gap. DECIDED 2026-10-24 by Tim ('Skip until R21 activates (Recommended)', .provide/DECISIONS.md): on proving the unit is skipped with a reason derived from config/physical_order_journey.proving.json (activation false / catalog_activation_not_approved) and returns by itself when admission opens. A tier with no journey file is not fenced and runs the unit: production (Billing 5ad8e1a2, before be223e8b) captures it; whether production skips after be223e8b is promoted is QUESTIONS #14 (default: decide at promotion time). Close when R21 physical activation opens admission and the unit captures.
caught byverified_buyer.composite_purchase · takeover-evidence-2026-10-11/stage0-capture/capture-a3 (README group 7, probes/probe_composite.out.txt)scripts/production_deploy.py _default_runner holds hold_dependency_writer() around every step whose command is a `uv run` without --no-sync (shared_dependency_lock.py). The step 'verify automatic capture payment mode' runs scripts/release_capture.py, whose capture_snapshot_bootstrap takes hold_dependency_reader() without blocking, so the child is refused by its own parent: 'capture snapshot setup failed: shared dependencies busy: capture or provisioning is active', exit 2, before any service deploys. Measured on 2026-11-15 (deploy-1.log). The single-service path (--only <service>) does not run that step and works; the four stale services were deployed with it. Close when the full path runs green: either the capture step is launched with --no-sync, or the runner releases the writer lease for steps that take the reader themselves.
proving deploy 2026-11-15 (takeover-evidence-2026-11-06/wave1/gap-a-20261115/deploy-1.log)In proving sweep 5 the tablet pass of verified_buyer.claim_topup got 'CHECKOUT FAILED http 500: internal_error / JsException' at 2026-11-15T19:14:42Z. Billing's log for that request is one unhandled_request_error whose failing frame is the relay signer's commit_authorization (relay/signer_src/capacity_signer_entry.py, called from outbox_source_admission.SourceAdmission.authorize): prepare_authorization had answered 'sign', the signer signed, and the authority then refused the commit. The refusal sentence is not recoverable: the relay Workers declare no [observability] block and keep no logs, and Billing's log line truncates the nested error. The authority has four refusals at that point (key not configured, signature invalid, state changed before commit, interval or generation invalid); a measurement tick between prepare and commit (signer cron every 2 minutes) is the likely one and is not confirmed. Frequency: once in sweep 5, zero unhandled Billing errors in the three days before it. Rehearsed alone on 2026-11-15 the unit captured on all three viewports (takeover-evidence-2026-11-06/wave1/sweep5-triage/rehearse-20261115-2.log). Two gaps: SourceAdmission.authorize retries no refusal except the applied one, so a transient commit refusal becomes a buyer-visible 500; and the reason cannot be read after the fact. No fix is written: the cause is not confirmed to the sentence.
caught byverified_buyer.claim_topup · proving sweep 5, 2026-11-15 (takeover-evidence-2026-11-06/wave1/sweep5-triage/finding-claim-topup-lease-commit.md)In proving sweep 5 the desktop pass of compliance_vendor.review_1099 ran every macro step green, but the session's close record carries video_path null, so capture_viewports.py failed the pass closed ('ordinary replay returned no video or no real nonempty session video'). A 2.8 MB recording exists in the pass's video directory with the close's own timestamp: the close answered before the recording was finalized. The pass was slow (the 1099 count took 39.0 s of a 45 s wait; the tablet pass started the same second took 4.3 s) and the close took 5.0 s against 0.24 s on tablet. Not a product assertion failure. Rehearsed alone on 2026-11-15 the unit captured on all three viewports in 9 s per pass (takeover-evidence-2026-11-06/wave1/sweep5-triage/rehearse-20261115-2.log). Open questions: why the 1099 count was slow on one pass, and whether the close has a fixed finalize budget that a long recording under load exceeds.
caught bycompliance_vendor.review_1099 · proving sweep 5, 2026-11-15 (takeover-evidence-2026-11-06/wave1/sweep5-triage/finding-review-1099-desktop-no-video.md)haiku_seed.py:82 sets SUMMER_RAIN_CREATOR_PAYEE_ID = "test-creator" with a 5000bps share, and the comment above it states the intent the constant defeats. No payee record matches that id, so a real checkout accrues earnings nothing can pay out. AUDIT 2026-08-28: FIXED -- haiku_seed.py:115 sets SUMMER_RAIN_CREATOR_PAYEE_ID = HAIKU_OWNER_USER_ID (owner_haiku) and v2 supersedes v1; proving offer_allocation_terms: v2 published payee=owner_haiku 5000bps; earning_entries owner_haiku n=4. Residual: 21 legacy test-creator entries (4233 minor) from v1 sales belong to nobody and need an adjustment, not a seed change.
fixed in undef-billing 3c6abac3 + f7b7f239 ·packages/undef-billing/src/undef/billing/domains/storefront/haiku_seed.py:82capabilities.ts checked every permission at Scope(service="admin"). undef-account confers a billing role only for service in {billing, *}, so the console was wrong BOTH ways: the grant that works on the wire got a dead console, and a grant carrying no billing authority got billing tabs drawn. Scope now comes from the permission's own namespace.
caught bybilling_admin.form_vendor_group · fixed in undef-admin d19180aPOST returned 201 and the row existed, but createGroup re-listed immediately into a D1 replica that trails the write -- measured at 1.90s on proving -- and rendered the pre-write page. A successful write was reported as nothing, with no error. State is now seeded from the 201.
caught bybilling_admin.form_vendor_group · fixed in undef-admin 360b144MEASURED live on proving: preflight from the console origin answers 204 for /v1/admin/billing/ and 404 for /v1/admin/foundry/, /v1/billing/authoring/ and /v1/billing/storefronts/. The finding as filed named foundry alone; extracting every path undef-admin sends to accountBaseUrl gives 24 paths in four families, THREE of them uncovered by CORS_PATH_PREFIXES. Fix is to derive the set from the client and gate the drift, not to hand-add a prefix. AUDIT 2026-08-28: FIXED -- CORS_PATH_PREFIXES is derived from the calls the console makes (cors.py:46-56 lists /v1/admin/billing/, /v1/admin/foundry/, /v1/billing/authoring/, /v1/billing/store/, /v1/billing/storefronts/); preflight from https://proving.admin.undef.games answers 204 for all four families (measured live).
fixed in undef-account 8ac1281 + 612d0c0 ·packages/undef-account/src/undef/account/cors.py:31Root-caused live from the deployed worker's own log: D1_ERROR: UNIQUE constraint failed: storefront_sections.section_id. StoreSlots.tsx numbered section ids from the OPEN document, so every owner's first section was literally "section-1", and products.sql keeps section_id as a GLOBAL primary key -- the second group on a tier ever to save one 500'd, permanently, and so did everyone after. The first fix targeted storefront_pages' ownership UNIQUE instead, on the strength of a bare 500 that carried no evidence, and the next sweep failed identically. Ids are now namespaced by page and the route answers 409 naming the column. CAPTURED on the 2026-08-20 proving sweep: 95/95.
caught bycreator_vendor.compose_storefront_home · fixed in undef-account 361c69f + undef-billing b5babaf9 · packages/undef-billing/src/undef/billing/domains/storefront/store.pyLiveOps was the only authority on the platform checked by raw role name at Scope.everywhere(), bypassing the permission catalog -- so the only way to hold it was to be a superuser. The AuthzError it raised already named billing.liveops.admin, a permission that existed in no catalog. It now resolves that permission through the catalog at billing scope, and the proxy forwards billing's own role vocabulary, which undef-auth's issuance matrix is what actually permits.
caught bybilling_admin.edit_liveops · fixed in undef-authz f7ddbd6, undef-admin cf4df57 + 1d8d848Skipped with "no creator_vendor on this tier has two distinct offers it can still put in a cart". The cast owns the catalogue after enough runs, so a unit that needs an unowned offer runs dry -- the same exhaustion #78 and #81 addressed elsewhere. It needs a per-run seeded offer from a second creator, not a wider assertion. AUDIT 2026-08-28: FIXED -- capture_preconditions._stock_the_general_pool seeds the drawable pool in the SETUP phase (546387a9, 2026-08-20); creator_vendor.buy_other_creators_offer captured in every sweep since (latest 20260828T151422Z).
caught bycreator_vendor.buy_other_creators_offer · fixed in 546387a9 · scripts/acceptance/capture_preconditions.pyworkspace_divergence ran `git rev-parse origin/main` with check=True while build_steps was assembling the plan, so a root with no repo or no origin/main raised CalledProcessError and took the whole deploy plan down for every repo over one repo nobody could inspect. Seven tests went red; the pre-push gate refused the push, which is the only reason it was caught. It now returns ("", []) -- the strict reading, since the caller relaxes only on a NON-empty diverging path list.
fixed in undef-workspace (this commit)Measured on proving 2026-08-20: 10 of 20 consecutive POST /v1/auth/refresh calls for this unit's driver returned an access token with grants=[] and gv=0, in 187-393ms -- fast, so not the 1s enrichment timeout. undef-admin verifies undef-auth's service token by fetching its JWKS over the PUBLIC hostname, and that worker-to-edge hairpin answered 522 eleven times in thirty minutes (undef-admin-proving's own logs); the same URL answered 10/10 in under 210ms from outside Cloudflare. Each 522 became a 503 from /v1/internal/grants/{principal}, which undef-auth's bare `catch {}` turned into empty grants and a 30s open circuit. The console computes its whole navigation from those grants, so the capture landed on a 4-tab console instead of 25 and every admin call answered 403. This is the goal's own WHY: dead in a browser on a deployed tier while every suite and curl stays green, because they mint tokens directly and never traverse the refresh path. Mitigated in undef-authz (retry + last-known key set, undef-authz b170fef) and made diagnosable in undef-auth (133d032); neither is live until proving is redeployed, and the real cure is a service binding so undef-admin never leaves the edge to read this document. FIXED, and measured live rather than assumed: after redeploying proving the same 20-refresh probe that returned 10/20 zero-grant returns 0/20, one call taking 1689ms where the retry absorbed a 522 instead of stripping an operator's grants. billing_auditor.read_reports has since captured on three consecutive full sweeps with the console rendering all 25 tabs.
caught bybilling_auditor.read_reports · fixed in undef-auth 133d032, undef-authz b170fef, undef-admin 555e5ec, undef-developer 46bbe77buyer-keepsake-fulfillment navigated to the orders list immediately after checkout returned, then waited its full 180s for a shipment card. That list fetches once and never polls, so it had rendered the order at `pending payment` -- settlement landed 20 seconds later, and the failure screenshot, taken three minutes after THAT, still showed PENDING PAYMENT while every older keepsake row read PAID and billing had the order as paid the whole time. Waiting longer could never have helped: nothing was going to re-fetch. The macro now reads the order to PAID first -- the state fulfillment depends on -- and reloads while it waits, so it asserts against the tier rather than a snapshot of it. Caught by the 2026-08-20 sweep; the unit had captured on earlier sweeps purely because settlement happened to beat the first render.
caught byverified_buyer.composite_purchase · fixed in undef-workspace (this commit)StoreSlots renders its editor from a single useAsync keyed on the selected group, with no retry. On the 2026-08-21 sweep that GET never answered after the read-back reload: no 404, no error in the console, no editor -- just the group picker, for the full 45s, on a document the save had already confirmed. The macro now reloads while it waits, bounded to one reload every 12s, and only when the panel is showing neither the editor nor the create affordance (the stalled shape). The assertion is untouched: it still reads the SAVED TITLE back, so a document that returns wrong still fails. Third sweep in a row where the failing unit was a read that trailed or stalled behind a write it had already made -- see F-132 and #124. The pattern, not this macro, is the thing worth fixing: these surfaces retry nothing, so one slow upstream answer is indistinguishable from a broken page.
caught bycreator_vendor.compose_storefront_home · fixed in undef-workspace (this commit)Measured 2026-08-21 while deleting admin.spec.ts. Ten presets in undef-economy's visible-proof runner grepped for test titles that exist in NO spec under tests/browser. Playwright reports no-tests-found as SUCCESS, so each one ran, selected zero tests and went green. Deleting admin.spec.ts did not break the five that named it -- it revealed them. This is the third and fourth time the same rot has been found in this one file: its own comments record promo-checkout and agent-limits, both caught the same way, both described as assertions that held the drift in place instead of catching it. FIXED: the five naming admin.spec.ts are retired, and a general gate now checks every grep-based preset against the titles its specs actually contain -- including describe titles, because reading only test() calls made the gate itself under-read and misjudge dunning-recovery on its first run. OPEN: five presets are still vacuous (dunning-recovery, dunning-decline, composite-bundle, delivery-recovery, physical_good), registered in VACUOUS_PRESETS as a ratchet rather than deleted, because each names a journey somebody meant to prove and the entry is now the last record of that claim. dunning-recovery is the sharpest: a comment two lines above its grep warns that a mis-escaped pattern would select zero tests, and the pattern is mis-escaped. AUDIT 2026-08-28: FIXED -- visible_proof.py:415 _PRESETS = {} and :439 VACUOUS_PRESETS = frozenset(); the five vacuous presets became macros (dunning-* -> subscriber-dunning-retry, composite-bundle/physical_good -> buyer-*-fulfillment, delivery-recovery -> shipped-notification); tests/test_cli_visible_proof_command.py rejects any --preset. Dangling reference in the :427 comment to a test file that does not exist.
fixed in undef-economy 71b4572Proven in a browser on proving 2026-08-21, twice, four minutes apart. Driving the admin console's Merchandising tab as billing_admin renders 'Failed to fetch' under STOREFRONT HOME, and the browser says why: Access to fetch at '.../v1/billing/store/undef/offers?limit=100' from origin 'https://proving.admin.undef.games' has been blocked by CORS policy -- then the same for /v1/admin/foundry/production/assignments. undef-account/cors.py:31 allows exactly one prefix, /v1/admin/billing/, and needs_cors() is a prefix match, so every other console call leaves without an Access-Control-Allow-Origin and the browser refuses it before it goes anywhere. The same storefront-home endpoint answers 200 in 955ms to a direct request carrying the same persona's bearer. Green by curl, dead in a browser -- the exact shape this whole acceptance effort exists to eliminate, and it took a macro driving a real browser to see it. Tracked as #125, which had inferred it from a probe; this is the first time it has been watched happen. It blocks the merch-cms migration: those three browser tests stay until the console works, because deleting them would retire the evidence of a live defect. FIXED 2026-08-21: CORS_PATH_PREFIXES now carries five prefixes and is DERIVED from undef-admin's api.ts rather than maintained by hand (tests/test_console_cors_covers_every_call.py), so a console call under a new prefix fails at commit time. Deployed to proving (undef-account version 37f774a0) and verified live from both sides: a preflight from origin https://proving.admin.undef.games returns Access-Control-Allow-Origin for /v1/billing/store/undef/offers, /v1/admin/foundry/production/assignments, /v1/admin/billing/adjustments, /v1/billing/authoring/products and /v1/billing/storefronts/undef/home, and still returns NONE for /v1/account/me -- the portal's own same-origin route, which proves the list did not simply widen to the service. Re-driven in a browser: the Merchandising panel loads, saves a draft and publishes.
fixed in undef-account 612d0c0MY BUG, not the platform's, and it cost three wrong theories before the right one. admin-storefront-publish published a merch section titled 'Capture Shelf 81666' to the platform home, then waited 90s on the public shop for sections.some((s) => s.innerText.includes('Capture Shelf 81666')). It timed out. The reported failure named the selector, so the first three hypotheses were all about the section not being there: the publish silently failing, the deployed store build stripping data-testid (VITE_STOREFRONT_SELECTORS), and the section kind falling outside the kit's MERCH_KINDS. All three were wrong, and two were disproven by reading artifacts I already had -- the cached page markdown from the failing run contains the title, which means the publish landed and the section rendered. Driving the live page settled it: the element is there, carries data-testid=store-merch-section, and .merch-section__title is text-transform: uppercase -- so innerText returns 'CAPTURE SHELF 81666' while textContent returns 'Capture Shelf 81666'. A case-sensitive includes() against innerText could never match. Fixed by comparing textContent case-folded. Gated by tests/test_macro_text_reads_survive_css.py, which freezes the two surviving case-sensitive reads and fails on a new one, on a fixed one left in the register, and on the scan itself going blind (all three mutation-tested). Two negative checks were case-folded in the same pass -- admin-vendor-group's empty-state probe and this macro's facade line -- because a negative check against text CSS uppercases does not fail loudly, it passes vacuously.
caught bybilling_admin.publish_storefront_home · fixed in a3546e6fFound live on proving with a real declining card (pm_card_chargeCustomerFail). A non-trial subscription schedules its first cycle at creation; the executor claimed it (billing_cycles.status=charging) and Stripe answered the off-session confirm with 402 -- which _post wraps in ProviderError and create_payment_intent let propagate, so run_one's blanket except RESCHEDULED the decline every 30s forever. No capture-failure row, no past_due, no dunning state; the agreement read `active` half an hour after the charge was refused, and the portal's payment-recovery surface was unreachable for the exact customer it exists for. The invoice-pay path five lines below had mapped the same 402 to `failed` all along, with a comment stating the rule. Fixed at the gateway (402 -> terminal declined; 5xx/network still raise and reschedule) plus the Stripe result mapper (requires_payment_method/canceled are failures, not SCA challenges -- the old catch-all sent the decline-without-exception shape into a confirm loop). Tests written failing first; the stuck proving cycle self-heals on the next cron after deploy.
caught bydunning_subscriber.retry_payment · fixed in undef-billing c01a9df8billing serves GET and POST for disputes and nothing that re-reads the provider, so when our row disagrees with Stripe there is no operator path back to the truth -- the remaining fix is editing D1 by hand, which is the same shape as the gap that made #134 worth filing. Found while repairing 25 rows still reading action_required after the stale-snapshot ordering fix (#140): the code was correct from then on, and nothing could repair what it had already written. AUDIT 2026-08-28: STILL -- disputes/routes.py:398-430 carries create, list, get, evidence, accept; no resync. The F-162/F-166 commits did not add one. Fix: POST /v1/admin/disputes/{id}/resync re-reading the provider through the same ordering guard as the webhook. FIXED 2026-08-28: POST /v1/admin/disputes/{id}/resync fetches the provider's dispute (Stripe GET /v1/disputes/{id} through the webhook parser) and applies it through the webhook's own ordering guard; the account BFF proxies it and the disputes pane offers it (dispute-resync); dispute-decide presses it before contesting.
caught bydispute_operator.review · fixed in undef-billing d5b2a791 + undef-account 730a8c9 + undef-admin 6117a18 · packages/undef-billing/src/undef/billing/domains/disputes/routes.py:396The dispute detail pane renders 'No linked order' for a dispute raised against a real purchase, and with it goes the order lines -- what was bought, by whom, for how much -- which is the evidence the operator is being asked to contest with. Measured on proving 2026-08-24: dispute 65bb9822fa3a4cf1bb121c40dbe8ae93 carries provider_charge_ref ch_3U7qfWCLIBcgZ82u0dsaPnc3 AND provider_payment_ref pi_3U7qfWCLIBcgZ82u0RAxG04M, with order_id null. So the provider refs are not missing; resolution failed and nothing re-ran it. Two candidate causes, neither confirmed: the dispute webhook can land before the checkout-completion webhook writes payment_intents (Stripe raises charge.dispute.created immediately for the test card), and _resolve_intent only matches payment_intents.provider_intent_ref -- it has no fallback through payment_captures.provider_capture_ref, which the sibling resolve_signal_intent on the same class does have for pre-dispute warnings. Known since the opened_at windowing work, recorded only in a docstring; this files it with the refs. dispute-decide deliberately does NOT assert the no-order branch: a macro that passes on the broken state writes the defect down as the expected behaviour. AUDIT 2026-08-28: FIXED -- disputes resolve their order at intake through payment_intents, hosted_checkout_sessions by payment ref, and the session the provider names (F-162, F-166); every dispute recorded on proving since 2026-08-27 18:54Z carries its order (6/6 in the latest read). The 150 rows recorded before that stay unlinked -- a backfill, not this fix.
caught bydispute_operator.decide · fixed in undef-billing b42c0ca4 + 071b031e · packages/undef-billing/src/undef/billing/domains/disputes/store.py:40GET /v1/privacy/requests answered `error code: 1101` -- an unhandled Worker exception -- on every deployed tier, while POST to the same path answered 201. undef-account keeps two repositories: SQLite for local dev and tests, D1 for every deployed tier. `list_privacy_requests` was added to the SQLite one together with the route that reads it and never to D1, so the deployed path raised AttributeError on every call and the whole suite stayed green because the tests import the SQLite class. The export and erase controls render per ROW, so with the list failing the page collapsed to an error and offered nothing -- the GDPR rights undef-account serves were unreachable through the UI, which is the condition #144 was filed for one layer up. Measured on proving 2026-08-24: LIST 500, CREATE 201, LIST 500. Fixed in undef-account dd6e32d and gated by a test comparing the two repository classes against each other rather than a hand-kept list.
caught byverified_buyer.raise_privacy_request · fixed in undef-account dd6e32d · packages/undef-account/src/undef/account/d1.py:340#62 asks whether a cart may hold two currencies at all. The answer is no, and the mechanism is the feed, not the checkout: billing's public offers route defaults `currency` to USD (storefront/routes.py) and undef-store never sends another, so an offer priced only in EUR is listed nowhere the store looks and its own page answers 'offer not found'. The checkout's mixed-currency branch (`store-checkout-total-mixed`, the disabled submit) guards a cart no shopper can build through this UI. This finding used to park the question as 'a catalogue decision rather than a test fixture' -- that was the wrong frame, and it was mine: proving is a dev-grade tier and the platform prices per currency, so a EUR fixture is what the seed-a-tier authority is for. Minted one (seed_second_currency_offer, acceptance.eur.*, per run) and measured: the EUR view of the feed lists it (`?currency=EUR` -> acceptance.eur.01.purchase.v1, EUR, '€9.99'); the USD view answers 404 for it; a first draft of the unit that tried to put a EUR line beside a USD one could not even find the offer, which is the finding. storefront-one-currency-per-view now reads the values: every grid price carries one symbol, one USD line yields one unlabelled subtotal equal to its price, and the page for the real EUR offer renders 'offer not found' with no Add to cart while the cart keeps its USD line. Backend: storefront_visitor.mix_currencies finds the EUR offer through the EUR view and asks billing to quote it in USD; the refusal is offer_not_priced_in_currency naming that offer. Two things remain true and unproven here on purpose: a persisted cart from before a currency change could still reach the mixed branch, and the store offers no currency change -- when it does, that branch gets a driver.
caught bystorefront_visitor.mix_currencies · fixed in undef-workspace 0afc298a, undef-economy 5285f35, undef-persona-bindings 84b4480 · packages/undef-billing/src/undef/billing/domains/storefront/routes.py:200 (feed currency default); packages/undef-store (never sends currency)CampaignEditor loads four things at mount, one of them `getBillingConnectKyc()`, and renders `loadError` INSTEAD of the form when any of them fails. An account that sells but has never been paid has no payee row, so billing answers that call 404 payee_not_found and the whole editor is replaced by the notice 'Payee not found.' -- no title field, no group picker, no explanation, and a phrase naming an internal record rather than telling the creator to set up payouts. Found by driving it: developer_app_owner holds the `developer` capability, sees the Creator nav, and gets that notice at /#/creator/campaigns/new. The KYC answer is only needed to decide whether Submit-for-Review is enabled -- the DRAFT half of the page needs none of it -- so the fix is to treat a missing payee as 'not ready to submit' rather than as a failure to load. The unit is driven by payout_recipient, which has a seeded Connect payee, so the macro proves the editor and this finding records the surface it cannot reach. AUDIT 2026-08-28: STILL -- CampaignEditor.tsx:178-183 loads getBillingConnectKyc, :241-242 folds its error into loadError, :506-508 renders the error instead of the form; billing payouts/routes.py:184 answers 404 payee_not_found for a seller never paid. Fix in flight (undef-account branch f147-crowdfund-contract). FIXED 2026-08-28: a KYC/payee failure no longer replaces the editor; the form opens, Save works, Submit-for-Review stays disabled and campaign-editor-payouts-notice links to /#/creator. Pinned by CampaignEditor.test.tsx; the notice is excused in config/console_surface_reasons.json with the reason no cast member can reach it.
caught bypayout_recipient.author_crowdfund_campaign · fixed in undef-account bb41895 · capture sweep 70, macro creator-author-campaignThe console posts {group_id, realm_id, goal_amount, funding_model, payout_timing, fulfillment_trigger, donation_tax_mode, cta_mode, tiers, milestone_sigils} to /v1/creator/crowdfund/campaigns. The account BFF proxies that body to billing UNCHANGED (billing_client/creator_storefront.create_creator_crowdfund_campaign passes `payload` straight through), and billing validates it against CreateCampaignRequest, which is extra='forbid' and wants seller_group_id, currency, goal_minor and capture_policy -- none of which the console sends -- and has no realm concept at all. Every save answers 422 with four 'Field required' and several 'Extra inputs are not permitted'. Two vocabularies that were never connected: the console's own client test asserts it 'posts snake_case body' in a shape billing has never accepted, and billing's tests use billing's shape, so both suites are green over a path that cannot work. Found by driving Save on proving. `capture_policy` has no control anywhere in the editor and no default in billing -- choosing one decides WHEN a backer's card is charged, which is a money decision, so the mapping is parked in .provide/QUESTIONS.md rather than invented here. The macro pins the refusal so the defect stays measured; when the contract is joined it must flip to asserting the draft. AUDIT 2026-08-28: STILL -- apiClient/crowdfund.ts:80-97 posts group_id/goal_amount/realm_id/tiers[offer_id,price,limit_qty]; crowdfund_routes.py:70-76 forwards it unchanged; billing CreateCampaignRequest (schemas.py:38-62, extra=forbid) wants seller_group_id/currency/capture_policy/goal_minor/tiers[offer_version_id,amount_minor,quantity_limit] and no realm; the reverse mapping drifts the same way, so CampaignList renders -- for group and goal. The macro creator-author-campaign asserts the REFUSAL and throws if the save succeeds. Fix in flight: the BFF translates (crowdfund_contract.py), capture_policy defaults to capture_at_success (QUESTIONS, the recommended answer), realm removed from the console; the macro must then assert the created campaign. FIXED 2026-08-28: the BFF joins the two vocabularies (crowdfund_contract.py: group_id->seller_group_id, goal_amount->goal_minor, tiers offer_id/price/limit_qty->offer_version_id/amount_minor/quantity_limit; currency USD and capture_policy capture_at_success as defaults, the parked question's recommended answer; realm refused and removed from the console); the contract test validates the console fixture against billing's real CreateCampaignRequest. creator-author-campaign now asserts the created campaign read back from the list.
caught bypayout_recipient.author_crowdfund_campaign · fixed in undef-account 70c3467 · capture sweep 70, macro creator-author-campaignundef-social has no deployment outside dev: the repo carries no terraform, and the account app's /config.js omits its base URL on every deployed tier. socialClient then throws SocialUnavailableError and the page renders one line -- 'Social features are not available in this environment.' The Friends nav item is NOT hidden, so a signed-in person on proving can click Friends and reach a dead surface, on a console that otherwise works. Ten controls (the add box and its submit, the friends list, the conversation panel and its message list, the DM input, send and close) are rendered by code that ships to every tier and are driveable on none of them. The `unit` is null on purpose -- there IS no unit, and that is the finding. Found by building the macro for them: the unit was written, registered, and pulled again, because a unit that can only ever skip is not evidence -- the harness would carry a permanent skip and call it coverage. Two honest fixes, in order of cost: hide the Friends nav and route when the social base URL is absent, so the console stops offering what the tier cannot do; or deploy undef-social to proving, at which point the macro is a day's work and ten controls come with it. AUDIT 2026-08-28: STILL -- lib/categories.ts:27 friends row carries no visible(); App.tsx:256-257 routes it unconditionally; runtimeConfig optionalBaseUrl is '' on every deployed tier (health/routes.py:33-35 omits socialBaseUrl on purpose); packages/undef-social has no terraform. The ten ids are excused in config/console_surface_reasons.json:46-55. Fix in flight: visible() and the route gated on socialBaseUrl. FIXED 2026-08-28: the Friends nav item renders only when /config.js carries a social base URL and #/friends routes home otherwise, so no tier offers the page. Friends.tsx still ships: its ten controls stay in the static surface inventory, excused in config/console_surface_reasons.json with that reason (the surface gate refused the push that dropped the excuses). Removing the page or wiring a social service is the remaining work.
fixed in undef-account 7c1ffcd ·capture probe, macro buyer-befriend-and-message (withdrawn)CORRECTED FROM MY FIRST FILING, which said the tax-code map defaults to {} and that the platform never sends a code. That was wrong: DEFAULT_STRIPE_TAX_CODE_MAP is non-empty and `digital-goods` has always translated. The real defect is narrower and worse-shaped -- the map keyed `tangible-goods`, a name NOTHING in the platform has ever written, while every seeder that sells a physical thing writes `physical-goods` (currents_seed.py, haiku_composite_seed.py, and the acceptance composite fixture all define _PHYSICAL_TAX_CODE = 'physical-goods'). An unmapped code is silent: _stripe_tax_code returns None, the adapter omits line_items[i][tax_code], and Stripe prices the line at the ACCOUNT default. Measured against Stripe with proving's own key, same address (US-CA 94103) and same amount (1499 minor): with txcd_99999999 the answer is 129 at 8.625%, with no code at all it is 0. So every physical supply was taxed as whatever the account default happened to be, and the zero was indistinguishable from a genuinely untaxed sale. FIXED: `physical-goods` and `stored-value-clearing` added, `tangible-goods` kept as an alias because a tier may already carry it. GATED: a new test reads the tax-code constants out of the seeders themselves and requires each to translate, so the next supply type fails at the moment it is seeded rather than at the moment somebody reads a tax return. Probed both ways -- it fails with the mapping removed, naming the two files that write the code.
caught bystorefront_visitor.review_checkout_tax · fixed in undef-billing e2dfa19d · diagnosis while measuring N, 2026-08-25GuestCheckout.tsx sent every quote and every checkout session with billingRegion hard-coded to null, and TaxSummary offered a country select only. United States sales tax is set by the state and the postal code, so the platform could not compute it for any storefront sale into its own default country -- while proving declared a US-CA registration and the engine stamped decision=collected on a zero. A test asserted the absence: 'a region input is still absent -- no jurisdiction the platform sells into needs one to quote', which was false of the default country. Measured on proving 2026-08-25 through the public quote route, after the F-150 map fix was live: the physical keepsake into US with region null quotes tax_minor 0, into US-CA with no postal code 0, into US-CA 94110 91. The store now asks for state/province and postal code for US and CA, re-quotes on each, clears them when the country changes, and sends the same location to the checkout session; the kit carries billing_postal_code, which the wire already accepted. storefront-review-tax drives the US leg and reads the tax line's value.
caught bystorefront_visitor.review_checkout_tax · fixed in undef-store a5de95c, undef-checkout-kit 9bbd334 · packages/undef-store/src/checkout/GuestCheckout.tsx:92 (before a5de95c)The account BFF's GET /v1/billing/entitlements proxies to billing's GET /v1/entitlements with no domain -- the portal is one person's view of everything they hold -- and billing answered 422 'domain_id query parameter required'. The Home page mounts HeldEntitlements, so every signed-in user on every deployed tier saw account-entitlements-error where their holdings should be; 'You hold no entitlements yet' and the table never rendered. Found reading the network log of a headed replay (library_account_holder.view_library), then confirmed with the route as two personas: both 422. Fixed in billing by making the domain a narrowing filter rather than a requirement: a principal with no domain scope lists across domains, a domain-scoped caller still sees only its own. The macro that reads the panel's value lands with the next sweep, which is when this finding gains its unit.
caught bylibrary_account_holder.view_library · fixed in undef-billing 7d5e241b · packages/undef-account/src/undef/account/billing_client/overview.py:131; packages/undef-billing/src/undef/billing/domains/entitlements/routes.py:151 (before the fix)StoreManage.tsx mounts OfferAllocations under every draft version on a seller's own /#/store/manage page, and the editor's client calls /v1/admin/billing/products/offer-versions/{id}/allocations (account admin_billing/catalog_routes.py) -- an operator-only proxy onto billing's /v1/admin/products/offer-versions/{id}/allocations (products/routes.py). Neither the BFF nor billing has a seller-scoped allocations route, so a seller's GET answers 403 the moment the section mounts and the PUT answers 403 on Save. Read off proving by creator-publish's first replay of sweep 54 (creator_vendor-01: GET 403, PUT 403 on capture.06680.v1) while the same arc succeeds for an operator (admin-mutate). A seller cannot set a revenue share through the UI that offers it; the operator-side round trip is what sweep 54 attests. AUDIT 2026-08-28: STILL -- allocations.ts:17 still calls /v1/admin/billing/products/offer-versions/{id}/allocations; the only routes are account admin_billing/catalog_routes.py:103,109 and billing products/routes.py:334,341, both operator-only. Fix: a seller-scoped, owner-checked allocations route in billing with a BFF proxy. FIXED 2026-08-28: GET/PUT /v1/store/offer-versions/{id}/allocations on billing, authorized for a caller whose groups include the version's seller group (403 otherwise, operators included), proxied for the seller by the account BFF; the seller's editor calls it. creator-publish files a share through it before publishing and waits for the saved notice.
fixed in undef-billing 3fbf1019 + undef-account 350d3c0 ·packages/undef-account/frontend/src/pages/StoreManage.tsx (mounts OfferAllocations for drafts); packages/undef-account/src/undef/account/domains/admin_billing/catalog_routes.py:103; packages/undef-billing/src/undef/billing/domains/products/routes.py:334PUT /v1/billing/notifications stores the preference in the account repository, then syncs channels to billing with PUT /v1/notifications/channels. That billing route is machine-only (required_roles=["billing_system"], no role a human could hold), and billing refuses a delegated actor on an m2m-only route outright (billing route_def.m2m_only) -- and the BFF delegated the user (actor_user_id) on that call. So every save answered {"detail": "forbidden"} while the next GET carried the new values: read off proving with subscriber-01's own token (PUT 403, GET email_enabled flipped) after subscriber-view-orders-invoices' first replay of sweep 54 hit it. The sync now goes as the service alone; the body already names the user.
caught bysubscriber.view_orders_and_invoices · fixed in undef-account f9ae4b4 · packages/undef-account/src/undef/account/billing_client/overview.py (sync_notification_channels); packages/undef-billing/src/undef/billing/domains/notifications/routes.py (required_roles); packages/undef-billing/src/undef/billing/route_def.py (m2m_only)undef-admin's Spend tab lists `overview.subscriptions` from billing's account overview, which is `list_agreements` over billing_agreements (payments/store.py) -- the support-plan agreements no console creates -- and labels the empty state 'No support subscriptions'. The storefront subscriptions the account console lists at /#/billing/subscriptions live elsewhere: subscriber-01 holds 141 there (read off proving) and the back office shows none for the same sub. An operator looking a subscriber up cannot see, cancel or reactivate what the subscriber actually pays for; the Cancel/Reactivate controls are excused in config/console_surface_reasons.json until the tab reads the right table. AUDIT 2026-08-28: STILL -- Spend.tsx:541-543 lists snapshot.overview.subscriptions ('No support subscriptions'); overview/routes.py:36 and service_clients.py:1110 still read billing_agreements. FIXED 2026-08-28: the account overview carries storefront_subscriptions (the agreements the subscriber pays for) and billing gained operator cancel/reactivate routes; the Spend tab lists them with Cancel/Reactivate (the excused ids, now driven by admin-back-office's second lookup of subscriber-01); the account BFF's operator proxies call the operator routes. Note from the fix: the account console's own /#/billing/subscriptions reads the same billing_agreements table, so the original 'shows none' was the operator's lookup subject, not a second table. Sweep 80 (proving, 2026-08-28) then showed the account BFF's _public_overview dropping the field billing sent -- 'No storefront subscriptions' against 164 agreements for subscriber-01; undef-account 9008e66 returns it.
fixed in undef-billing 8846ab10 + undef-admin 1d716a9 + undef-account 20c95f6 + 9008e66 ·packages/undef-admin/frontend/src/Spend.tsx:544; packages/undef-billing/src/undef/billing/domains/overview/routes.py:26; packages/undef-billing/src/undef/billing/service_clients.py:1110useAsync keeps `loading: false` on the render between a deps change and the effect that starts the new call, so HubsPage painted its empty notice the instant an app was selected -- 2 ms after the list mounted, before GET /v1/developer/v1/hubs had been sent (read off sweep 58's action stream and network log for developer_app_owner.author_hub). saveHub then chose create from the rendered (empty) list and POSTed a hub that existed: 409 'hub slug already exists: acceptance-cast-news', while the failure DOM showed the hub at v6. Two fixes: the hook reports loading until the call for the CURRENT deps has started (every useAsync caller stops painting an empty state for that frame), and saveHub decides create-vs-update from a fresh hubList, not the one on screen. Same class as F-158, which has no loading state at all.
caught bydeveloper_app_owner.author_hub · fixed in undef-account 7ae4b7a · packages/undef-account/frontend/src/lib/useAsync.ts; packages/undef-account/frontend/src/pages/HubsPage.tsx (saveHub)undef-auth enriches each OIDC mint with the principal's grants by calling undef-admin /v1/internal/grants/{id} under a 1 s timeout (src/grants.ts, ADMIN_GRANTS_FETCH_TIMEOUT_MS). On failure it falls back to a last-known cache if fresh, else mints `grants: [], gv: 0`; after circuitFailureThreshold failures a module-level circuit skips the fetch for circuitBreakMs on that isolate. Observed 2026-08-26 01:10 and 01:15 PDT: two independent logins as billing_admin-01 answered GET /v1/me/capabilities 200 with 21 keys all false and delegatable-roles [] (the handoff generator and a hand probe, minutes after sweep 60 and the economy suite loaded the tier), while the admin grant store held the persona's unexpired billing_admin@billing/*/* row (granted_by system:seed_acceptance_roster) and billing_admin-02/-03 read 14 true; at 01:25 three consecutive logins as -01 read 14 true with fresh computed_at and no CDN cache. admin's epoch check passes gv 0 for a principal whose epoch was never bumped, so nothing refuses the token: the operator sees a console with no tabs and no error. The code names the quiet degradation as deliberate (login must not hard-fail) and logs the reason; what remains is that the TOKEN cannot say it is degraded, so no console can tell 'no authority' from 'authority unavailable'. Timed after nine idle minutes from the edge, three consecutive unauthenticated GET /v1/roles answered 401 in 0.830993s, 0.074140s, 0.789677s -- two of three at ~80% of the 1 s enrichment budget before the JWKS verification and D1 read the enrichment path adds; suggestive of cold isolates, not proof. Decision parked in .provide/QUESTIONS.md. AUDIT 2026-08-28: STILL, and LIVE ON PRODUCTION -- groups.ts runs the same fail-open breaker as grants.ts; at the start of production sweeps 10 and 11 (16:09Z, 16:53Z) the offer seeds' fresh developer_app_owner login listed 0 apps (its DB-backed group missing from the token) while ten sequential logins minutes later carried the group every time (14 apps each). The concurrent burst of logins at sweep start is what trips it; the harness pays with skipped bundle/composite units. FIXED 2026-08-28 (the parked option 3): each enrichment retries once inside its budget; when it still fails with no fresh last-known answer the token carries NO grants/gv/groups and grants_degraded: true on a TTL capped at 120 s -- never grants: []/gv: 0; groups.ts reads the same 4 s budget as grants.ts. The harness re-mints a login whose token says so (scripts/proving_smoke_login.mint_access_token). Consoles were not yet taught the marker.
fixed in undef-auth 286aca2 ·packages/undef-auth/src/grants.ts (enrichGrants catch -> lastKnownGrantsOrEmpty, emptyGrantJwtClaims); packages/undef-admin/src/undef/admin/auth.py (check_epoch)Every dispute either tier opens is delivered to both tiers' webhook endpoints (one Stripe test account, two endpoints, each with a valid secret), and billing's charge.dispute.created handler inserts a payment_disputes row for a charge it never took: open, provider-backed, order_id NULL, intent_id NULL. undef-billing-prod-payments held ~140 such rows dated 2026-08-18..26, one per proving sweep. The production console listed them as decidable; Stripe refused the console's evidence on every one with 'maximum number of evidence submissions for this dispute' (400) because proving had already argued them, and 'Disputes can't be updated once evidence has been submitted' on accept. Caught by production sweeps 66 and 67 (dispute_operator.decide failed both). The harness now skips a dispute with no order of this tier's own (undef-workspace 1cea52fa); the platform still ingests foreign events. Fix candidates: drop events whose charge/intent is unknown locally, or key the endpoint by a tier tag in payment metadata, or one Stripe account per tier. FIXED 2026-08-27 in two steps: c30a98a made DisputeService ask the store for the payment behind the event and drop a dispute on one this tier never made (logged as dispute.event_for_payment_this_tier_never_made); proving sweep 72 then skipped dispute_operator.decide because that lookup consulted only payment_intents, which a hosted checkout never opens, so the tier's OWN disputing-card purchase (ch_3U95x0..., du_1U95x2..., Stripe delivered charge.dispute.created, no payment_disputes row) was dropped too. b42c0ca resolves the payment through hosted_checkout_sessions as well, which also gives the tier's own disputes their order_id at intake (150 of proving's 152 had none).
caught bydispute_operator.decide · fixed in undef-billing b42c0ca · capture sweep 67 (production), macro dispute-decide; undef-billing-prod-payments payment_disputes (order_id IS NULL); packages/undef-billing/src/undef/billing/domains/disputes/routes.py:218GET /v1/billing/store/undef/offers answers in 7.0-7.4 s on production as the acceptance buyer with the tier otherwise idle (sort=newest: 21 of 42 with a cursor; limit=100: 38), a cost that scales with the catalogue rather than the page. Production sweep 69 (2026-08-27) ran the merchandising unit beside three other billing_admin units; its offers?limit=100 read had no response when the browser closed at 67 s and the panel never rendered its sections, so the unit failed with no 4xx or 5xx anywhere in its network log. The same unit captured on production in sweep 68 and captures on proving every sweep. Not a harness clock problem: the unit's 60 s is a generous budget for a list of forty cards, and the same read also gates every Store-tab unit. FIXED 2026-08-27: the feed hydrates a page in one chunked query per table plus one per currency for promotions, instead of five queries per offer; a 50-offer page costs the queries one offer costs (test_offer_page_hydrates_in_constant_queries).
caught bybilling_admin.publish_storefront_home · fixed in undef-billing 908feb9 · capture sweep 69 (production), billing_admin.publish_storefront_home network log (last request GET /v1/billing/store/undef/offers?limit=100 with no response); scratchpad/probe_prod_store_feed.py timings 2026-08-27tests/test_production_status.py builds a deploy tree per test through cached_deploy_tree; the template copies packages/undef-foundry/terraform verbatim, including .terraform/providers with three ~330 MB Cloudflare provider binaries, and each of 24 tests then gets a 1 GB copy across 8 xdist workers. A basetemp measured 24 GB; pytest keeps three, and every push runs the suite in the pre-push hook. On 2026-08-27 five pushes in one evening reached 79 GB under pytest-of-tim, the disk hit 0 bytes free at ~06:47Z, production sweep 5c died at its first batch with a traceback while recording, and the harness could not open an output file until space was freed by hand. The 2026-08-10/15 orphan-template leak was fixed by moving the template under pytest's basetemp; the size itself was not. AUDIT 2026-08-28: FIXED -- tests/test_production_status.py:1101-1118 ignores .terraform in the deploy-tree copy; newest basetemp 63M (was ~24 GB).
caught bystorefront_visitor.review_checkout_tax · fixed in 4df5af9b · du of $TMPDIR/pytest-of-tim/pytest-45/popen-gw2/test_build_status_adds_env_fil0 (1.0G workspace/packages, provider binaries under undef-foundry/terraform/.terraform/providers); scratchpad/sweep-prod-5c-enospc.log; tests/_deploy_fixtures.py cached_deploy_tree docstringStripe mints checkout.session.completed and charge.dispute.created in the same second for a disputing card. F-162's resolver (b42c0ca4) asked whether this tier knows the payment by looking for the payment ref on payment_intents and hosted_checkout_sessions; when the dispute handler ran before the completion handler had stored that ref, the tier's own dispute resolved to nothing and was dropped as foreign. Production sweep 8 (2026-08-27): Stripe raised du_1U998T... at 19:38:54Z and delivered it; billing wrote the session's completion at 19:38:55.979Z; payment_disputes holds no row; dispute_operator.decide skipped ('no open dispute appeared within 90s'). Sweep 7 had won the same race by 3 ms (completion 18:27:17.505, dispute 18:27:17.508). FIXED 071b031: when local rows miss, the service asks the provider which checkout session produced the payment (Stripe GET /v1/checkout/sessions?payment_intent=...) and resolves through the session row, which exists from checkout creation; a session this tier never created still answers 'not ours' (test_foreign_tier_dispute_is_not_recorded, test_stripe_adapter).
caught bydispute_operator.decide · fixed in undef-billing 071b031 · capture sweep 8 (production), precondition dispute-decide; Stripe events evt_1U998U... (19:38:54Z); undef-billing-prod-payments hosted_checkout_sessions.completed_at 2026-08-27T19:38:55.979Z, payment_disputes (no row)admin-tax-register-jurisdiction filed jurisdiction us-ca with a per-run reference (CA-nnnnn) and a per-run past date on whatever tier it ran, production included. A registration is a period: billing closes the previously open row at the new row's effective_from, so each production sweep made the harness's reference the open US-CA registration the engine priced sales under -- ten rows on undef-billing-prod-tax on 2026-08-27, one with effective_to NULL -- while config/tax_registrations.json declared production empty by decision (286cd50a) and tests/test_tax_units_skip_where_the_tier_declares_no_registration.py asserted it. Proving carried ~180 of them. FIXED c156f3cf: the macro files jurisdiction zz (ISO 3166 user-assigned, never a buyer's country) with no region, and the reference generator says ZZ-; the claim (an operator files a registration and reads back its row and posture) is unchanged. The ten production rows and proving's are left in place: deleting rows from a live registry is the operator's call (.provide/QUESTIONS.md).
caught bybilling_admin.register_tax_jurisdiction · fixed in c156f3cf · wrangler d1 execute undef-billing-prod-tax --remote: 10 US-CA sales_tax rows, registration_ref CA-55288 .. CA-14012, created 2026-08-26/27, CA-14012 effective_to NULL; config/tax_registrations.json [prod] registrations []; macro admin-tax-register-jurisdiction actions 3-5 (us-ca/us/ca)DisputeService._handle_dispute (disputes/service.py:102-109 at 43de70f0) opens storage.transaction(), calls upsert_from_event, then get_dispute(dispute_id) and asserts the row is there. On D1 a transaction is a batch: the read runs before the write lands, the assertion fails, worker_entry answers 500, Stripe retries, and on the retry the row exists so the second delivery succeeds -- which is why every dispute still ends up recorded and why F-162/F-166's tests (SQLite, where the read sees the write) never saw it. Cost: every new dispute's first event is a 500 the provider has to retry, its outbox effects run on the retry, and the worker logs an exception per dispute. The repo's ci/check_d1_transaction_reads.py gate ('no read-after-write inside transaction()') did not catch a read routed through the store. Fix: have upsert_from_event return the row it wrote (or the fields the rest of the handler needs) and drop the read-back; then the gate should learn the store-method shape. FIXED 2026-08-28: the finding's mechanism was only half right -- three production paths (hosted-checkout completion, the rate limiter) already read a row they wrote in the same D1 batch and work, so a batched read does see the batched write; what the tail recorded is a race: Stripe mints created + funds_withdrawn for one dispute in the same second, both invocations read no row, both mint a uuid4, the loser's INSERT keeps the winner's id under ON CONFLICT and its get_dispute(loser id) is None -> assert -> 500 -> the retry finds the row. The fix covers both: upsert_from_event is split into prepare_upsert (reads, returns the post-write linkage computed the way the statement's COALESCE/terminal WHERE leaves it) and apply_upsert (the one write) with no read-back, the upsert and its outbox row are one batch (the same split in _handle_signal is fixed), and dispute ids are derived (uuid5 of provider:ref) so two events racing to create one dispute publish the row's single id. ci/check_d1_transaction_reads.py now resolves reads routed through store methods and ratchets 77 pre-existing findings in ci/d1_transaction_reads.baseline.json (hosted-checkout completion and refund recording among them -- open work, not this finding). Tests: 3 behaviour tests that failed on the unfixed code at service.py:109, a race test, a SQLite proof that the Python linkage equals what the statement left.
fixed in undef-billing cc1f4aa7 ·wrangler tail undef-billing (production) during sweep 12, 2026-08-28T17:28:12Z: outcome exception, POST https://billing.undef.games/v1/webhooks/stripe -> 500, traceback provider_routes.py:97 -> disputes/service.py:47 -> :109 `assert dispute is not None` AssertionError; scratchpad/tail-billing-prod.jsonlauthFlow.refreshAccessToken (frontend/src/authFlow.ts:158) issued a bodyless credentialed POST to {authBaseUrl}/v1/auth/refresh during boot and awaited it; the request never settled, reported as net::ERR_TIMED_OUT, so the portal rendered LOADING ACCOUNT PORTAL forever, never redirected to /authorize, and the sign-in form the macros wait for (#auth-login-email) never appeared. Every unit therefore failed at step 0 with executed=0. Reproduced with plain headless Playwright, no octowright in the path, on BOTH production and proving. NOT cross-origin: the same fetch hung from a page on auth.undef.games itself. The endpoint was healthy -- ~35 curl probes of the exact bodyless credentialed shape all answered 401 in 70-423ms, with cookie headers up to 8KB, and direct browser navigation to the auth login page rendered the form in 0.5s. Ruled out: CPU load, octowright saturation, CORS config, IPv6, DNS, system/managed proxy and request size. The browser/edge mechanism remains unidentified; the Undef Platform fix does not depend on it. FIXED 2026-08-31 in undef-account ed6f2ab7: silent refresh is an optional cold-boot optimization, so the Account frontend now races the fetch against a three-second deadline, aborts it, returns the existing unauthenticated result, and proceeds to the sign-in flow instead of pinning the entire portal to the dependency. A never-settling-fetch regression test proves that boundary. The change was deployed to proving and production; a one-unit production rehearsal passed, proving's full sweep captured 120/120, and production sweep 17 captured 119/120 with zero failures and only the declared live-VIES skip.
fixed in undef-account ed6f2ab7 ·scratchpad/plain-probe2.log (goto 2.7s, selector timeout 30s, final url still account root); plain-probe3.log (cold direct navigation renders the auth login form in 0.5s, then the refresh POST from the account origin never returns); plain-probe4.log (same-origin fetch from the auth page itself also never returns); undef-account frontend/src/authFlow.test.ts never-settling-fetch regression; artifacts/persona-capture/proving/index.json digest 429906a18561 (120 captured, 0 failed); artifacts/persona-capture/production/index.json digest 8c260099ef4c (119 captured, 0 failed, one declared skip)A unit records once per declared viewport and each pass is allocated a DIFFERENT cast member, so three members need a past_due subscription. Manufacturing one needs a card that ATTACHES successfully and then fails the recurring charge; pm_card_chargeCustomerFail is the only Stripe test method with that shape, and the others decline at attach, which would stop the subscription being created at all. Billing binds a provider payment method to exactly ONE holder: attaching it as dunning_subscriber-02 answers 422 'payment method belongs to another holder'. Measured on proving -- dunning_subscriber-01 holds the card and one subscription, -02 and -03 hold neither, and the tablet and mobile passes waited out 45s on a subscriptions panel that never rendered. Not a responsive defect and not a seeder that can be widened: seed_dunning already keys its idempotency per handle, and crediting more members is refused by billing rather than by the harness. Resolving it means either a billing rule that binds a provider token per (holder, token) rather than globally -- which is a product decision about what a PSP token means outside test mode -- or accepting that this unit records at one viewport. ROOT CAUSE 2026-09-09, confirmed: seed_dunning.seed() resolved its subject with `next((a for a in roster() if a.archetype == ARCHETYPE), None)` -- the FIRST dunning_subscriber and no other. capture_viewports.allocate indexes the cast by the viewport's ordinal, so tablet drives -02 and mobile -03, neither of which held any subscription. undef-account pages/Subscriptions.tsx:290 early-returns its EmptyState on a zero-length list, so `account-billing-subscriptions` (line 362) never renders and both passes time out at macro step 2 on a panel that was never coming. Desktop recorded, which is why two sweeps read this as a flake. FIX: seed() now brings every cast member up to PASSES_PER_UNIT to a pending agreement and waits for all of them in ONE cron window rather than one each, and refuses a cast shorter than the viewport count instead of covering one in three. CORRECTION 2026-09-09, measured rather than reasoned: seeding the second member is NOT a loop over accounts, and the original finding's title was closer to the truth than the scheduler explanation above. The account BFF passes payment_token straight through as the provider ref (domains/billing/routes.py:551, `provider_ref=payload.payment_token`) and billing holds UNIQUE(provider_name, provider_payment_method_ref) with an explicit guard (domains/payments/store.py:688) -- a card belongs to exactly one holder, which is correct. So one shared token can be held by ONE cast member and every later member is refused `422 payment method belongs to another holder`, which is what the first multi-member seed run actually returned for -02. WHAT WAS ALSO WRONG: this finding asserted pm_card_chargeCustomerFail was the only Stripe test method with the attach-ok/charge-fails shape. Probed against proving as -02: chargeCustomerFail 422 (another holder's), and visa_chargeDeclined, chargeDeclinedInsufficientFunds, chargeDeclinedExpiredCard and chargeDeclinedProcessingError all attach 200. They decline at the CHARGE, so the agreement still reaches past_due because a real capture failed. FIX: DECLINING_CARDS is a per-ordinal list, index 0 keeping chargeCustomerFail so the member already holding it is recognised rather than re-attached, and the seed refuses when there are fewer cards than viewport passes. PROVEN 2026-09-09: seeded all three members live (-01/-02/-03 all past_due) and the sweep captured dunning_subscriber.retry_payment on all three viewports.
caught bydunning_subscriber.retry_payment · fixed in 754d6ac4 4d474edf · scripts/acceptance/seed_dunning.py:153 + undef-billing domains/payments/store.py:688The unit refuses with 'this tier has no open dispute for the operator to decide' in states action_required/under_review. Raising one has been attempted: seed_commerce.ensure_open_dispute pays with Stripe's disputing test card, the charge settles, and no dispute event ever arrives. Billing handles charge.dispute.* correctly -- the gap is upstream of it, in what the provider will manufacture on this tier. This is a missing counterparty rather than a broken disputes surface, and it is not the viewport lane's cost: no pass of this unit can run, at any width. ROOT CAUSE 2026-09-09, and the cause recorded here before today was WRONG. This finding said the tier's Stripe endpoint did not subscribe to charge.dispute.*, 'a dashboard setting, not code'. Measured: scripts/stripe_webhook_coverage.py --env proving reports 1 matching endpoint and 0 configuration gaps against the 12 event types billing handles; Stripe's API holds 10 disputes; billing lists 20; their provider refs line up exactly. The webhook was never the problem. The real cause is arithmetic: dispute_operator.decide SUBMITS EVIDENCE, Stripe refuses any further update once evidence is in, and seed_payments.actionable() correctly stops counting such a dispute -- so every pass spends one permanently. ensure_open_dispute() no-opped while ANY actionable dispute existed, manufacturing exactly one per seeder run however many were needed. Proving on 2026-09-09: 27 disputes listed, 26 spent, 1 actionable, against 3 viewport passes. The sweep did exactly what that predicts -- desktop took the one and recorded, tablet timed out on a console it could not drive, mobile's precondition reported no open dispute. FIX: ensure_open_disputes() (plural) tops up to PASSES_PER_UNIT, each raise identifies its own new dispute by id-diff rather than taking 'the first actionable one', a failure raising one stops instead of burning the rest, and falling short reports the shortfall rather than success. The capture precondition message that repeated the webhook claim is corrected too -- it had been telling every reader the wrong thing. SECOND DEFECT, found by running the fix: topping up reported `NO OFFER FAILED: no digital offer on the storefront (http 200)` against a tier holding eighteen of them. The seeder read /v1/billing/store/undef/offers with no query and filtered client-side, so it saw page one of an UNSORTED feed -- which on proving is two bundle fixtures. Measured: no query 2 rows all bundles; `?type=digital_content` 1 row; `?type=digital_content&sort=newest` 18 rows. This is the identical trap capture_offers._feed_page documents at length (the newest fixtures take the rendered page and push older digital_content rows off it), reappearing in a seeder that did not use that reader. Fixed by asking for the type AND the storefront's own sort, with the sort taken from capture_offers.STOREFRONT_DEFAULT_SORT rather than spelled a second time. UNBLOCKED 2026-09-09 by F-191's fix: the seeder can raise disputes again and topped up to 3 actionable, which is PASSES_PER_UNIT. Still OPEN until a sweep captures the unit -- the fix is in and the precondition is satisfied, but this file calling a finding fixed is a claim until a capture backs it. FIXED 2026-09-10, and the cause on record above is refuted. The webhook was never the problem: stripe_webhook_coverage reports 0 configuration gaps for proving, Stripe holds the disputes, billing lists them and the provider refs line up. Three defects stood in a row, each hidden by the one before it. (1) The fixture could not raise a dispute at all, because seed_payments believed only Stripe's hosted form could -- measured false; tok_createDispute confirmed through the API raises the chargeback and billing links it to its order (03897d21). (2) With disputes on the tier, all three viewport passes drove ONE of them -- 60d09b92e95457b790a35d634997a8c0, read off the session logs -- because the scan had no notion of a sibling having claimed a row; it now CLAIMS its row (3d813ca2). f94db390 first used a per-viewport depth, copying refundable_order_id, and that was wrong: the passes of a unit resolve in different batches -- 8, 9 and 10 at batch-size 8 -- and each SPENDS its dispute before the next resolves, so a fixed index reads past the end of a shrinking pool. It cost a release capture (125/129, 2026-09-10) and no rehearsal could have caught it, because a rehearsal puts all three passes in one batch. (3) The precondition then stocked ONE dispute for three passes that each spend one, which was right while the lane recorded desktop only (886e6476). Attested by rehearsal on proving 2026-09-10: 3 captured, 0 failed, 0 skipped, deciding cdd9ce31, 3c5557fa and a452276f -- three passes, three disputes. HELD OPEN PENDING ATTESTATION: the fix is in the tree and rehearsed, but config/capture_coverage.json still records this unit red and only a FULL sweep updates it. A finding marked fixed against a summary that still says failed is a register disagreeing with its own evidence, so this flips when the sweep does. ATTESTED 2026-09-23: two full proving sweeps record this unit CAPTURED -- 0acbf842d83b4ece93a616cfe5e24800 (129 declared, 128 captured) and 2dd62f63cbcb4e2e8fa52b07067f4f44 (129 declared, 127 captured). That is the condition this finding named for flipping, so it flips. `capture: impossible` is retained the way F-173 retains it -- the claim is historical, and `status` is what undrivable() reads.
caught bydispute_operator.decide · fixed in 32aa3bd3 3d813ca2 · scripts/acceptance/seed_payments.py:266RESOLVED. Both ledgers now carry their axes as columns, and axis_guard runs with known_axis_gaps empty. Three claims that shaped the original design were wrong and are corrected here so nobody rebuilds from them. (1) The finding said an earning entry's axes were 'not reachable by join'. earning_allocations carries order_line_id, which reaches order_line_snapshots.domain_id and order_line_realm_targets.realm_id through real foreign keys. (2) It said wallet_postings had no domain axis. It had one under the name `namespace`, populated from req.auth.domain_id at routes.py; the name hid the axis from the guard and from readers. (3) THE FIRST FIX FOR THIS FINDING WAS ITSELF WRONG and is recorded here because the mistake is easy to repeat: it derived the earnings axes by joining into order_line_snapshots and order_line_realm_targets. orders and earnings are SEPARATE databases (db.py ORDERS/EARNINGS, separate D1 bindings), so that join does not exist at runtime. It passed a workspace test that loaded both .sql files into one SQLite connection and failed the moment billing's own earnings suite ran (19 tests: 'no such table: order_line_snapshots'). END STATE: the axes travel on the event, not through a join. order.paid already carries domain_id and realm_ids on every line (orders/messages.py:_load_order_lines); apply_order_paid copies them onto earning_allocations.domain_id and earning_allocation_realms. Each earning_entry takes domain_id from its own allocation at all eight insert sites, and its realms from the trigger earning_entry_records_realms over earning_allocation_realms -- entirely inside the earnings database. An association table because a line targets several realms or a whole domain (scope_kind='all_domain_realms'), so a scalar column would silently keep one and drop the rest; a trigger because eight writers would each need the link and a missed one yields an entry belonging to no realm. wallet_postings.namespace became domain_id; realm_id was added and is supplied by writers from RoutingContext; group_id is derived in the store from wallet_accounts, never taken from the caller. Both axes are NULLABLE, and that is a finding in its own right: domain_id NOT NULL was tried and produced 54 NOT NULL violations across billing's wallet suite, because req.auth.domain_id is only set on game-server JWTs (route_def.py:19) while /v1/wallet/transfers admits user/admin/support callers, and because loyalty cashback had been writing the tier label 'loyalty_tier:<id>' into that column -- write-only, never read back, which is exactly the overloading the rename exposed. The only rule every writer can satisfy is enforced: CHECK (realm_id IS NULL OR domain_id IS NOT NULL). A per-reason mandate was tried and rejected on evidence: debit_user has no production caller at all, and reserve_capture reads its amount off wallet_reservations, which carries no domain, so 'purchase'/'spend'/'reserve_capture' could only have been satisfied by test code. Carrying the domain on the reservation is the follow-on that would let it tighten honestly. A payout-reversal allocation records NULL deliberately: one payout batch settles earnings from every domain a payee sold in, so no single domain is true for it; UPR-2026-09-R12 replaces that clawback with a per-transfer settlement return that does have an exact claim behind it. The axes are on the POSTING, not the ACCOUNT: wallet_accounts is UNIQUE(holder_type, holder_id, currency), so an account spans every realm and domain its holder transacts in by design. Renaming the hash fact key was safe because nothing recomputes posting_hash -- the auditor checks linkage, ordering and balance continuity only (auditor.py:509-539). Proven by tests/test_ledger_axes.py against the checked-in DDL, whose first test loads earnings.sql ALONE so the cross-database mistake cannot come back.
packages/undef-billing/src/undef/billing/sql/{earnings,wallet}.sql; domains/wallet/{models,routes,service,store,posting_facts}.py; domains/loyalty/service.py; domains/earnings/messages.py; service_clients.py; config/axis_guard.json; tests/test_ledger_axes.py; resolved 2026-09-08AUDIT 2026-09-08: OPEN. The gate's own docstring says it compares 'source configuration'. It does not. tier_parity.py:229 globs packages/*/terraform/.generated and diffs wrangler.proving.toml against wrangler.production.toml. Those files are build byproducts, gitignored and untracked in every sibling repo (terraform/.generated/.gitignore:6 'wrangler.*.toml'; git ls-files returns only the .gitignore), written by local_file.wrangler_config when THAT TIER is applied. So the gate's verdict is a function of when each tier was last applied on this machine, not of the tree being committed. FALSE POSITIVE, observed: a proving deploy on 2026-09-08 re-rendered proving only, and the gate then reported four keys as proving-only -- undef-account SOCIAL_BASE_URL and VAULT_BASE_URL, undef-auth FIRST_PARTY_REFRESH_ORIGINS, undef-foundry FOUNDRY_ENVIRONMENT -- although main.tf carries all four unconditionally for BOTH tiers (undef-account:204-205, undef-auth:316, undef-foundry:90). Nothing had diverged; production's renders were dated 2026-09-05 against proving's 2026-09-08. FALSE NEGATIVE, worse and unobserved because nothing would show it: two renders that are both stale but stale in agreement pass the gate while the tiers genuinely differ, which is the single failure this gate exists to catch. BLAST RADIUS: the hook is .pre-commit-config.yaml:243 with always_run true and pass_filenames false, so it gates every commit in the workspace root -- on 2026-09-08 it blocked two sessions doing documentation-only work, neither of which had touched terraform. It also inflates the allowlist: 18 of the declared 'drift' entries (17 billing bindings plus undef-developer) describe nothing but stale production renders, so config/tier_parity.json is partly bookkeeping for this defect. undef-foundry's entry was deleted this turn when a local re-render made it stale -- and its own note had assumed removal would coincide with a production deploy, which is exactly the assumption the defect breaks, since it went stale on a render while production remains undeployed. FIX DIRECTION: run the comparison where both tiers were just rendered (the deploy path), or render from main.tf at check time, or at minimum stamp each generated file with the main.tf sha it came from so the gate can say 'production's render is stale, re-render it' instead of accusing four keys of divergence. Do NOT declare stale keys in the allowlist to quiet it -- that blinds the gate to the very keys it just caught. INTERIM ONLY, not a fix: production was re-rendered for account, auth and foundry with terraform apply -target=local_file.wrangler_config, targeted so null_resource.deploy[0] and its tracking triggers survived (verified present in state afterwards, since production is still on old code and those triggers are the only local record of what it runs); gate green at 12 pairs / 28 declared differences. The next single-tier deploy reintroduces the condition. ALSO FOUND: undef-auth/terraform had no workspace selected at all -- .terraform/environment was absent, and workspace show reports 'default', which is not a real workspace (workspace select default errors 'Workspace "default" doesn't exist'). main.tf:184-185 refuses to apply from default, so it failed closed rather than dangerously; that exact state was restored rather than silently selecting a tier for it. FIXED 2026-09-08: the gate now asks whether each render is evidence at all BEFORE comparing it. scripts/tier_parity.py gains render_staleness(), which compares each generated wrangler's mtime against the newest *.tf / *.tftpl in its own module (.tfvars excluded on purpose -- per-tier VALUES are supposed to differ, so timing them would make each tier permanently stale against the other's variable file). A stale render is reported as STALE RENDER with the re-render command, never as divergence, and makes result.ok False, so two renders stale IN AGREEMENT can no longer pass -- the false negative half. mtime rather than a content stamp, deliberately: a stamp would have to be emitted by each of the twelve modules' own local_file, and until every one carried it an unstamped render would be indistinguishable from a fresh one, which is the same silence being closed. mtime needs nothing from the modules and errs safe -- a checkout that merely touches a .tf reports 'cannot verify', never 'OK'. THE DEFECT WAS LIVE WHEN THIS WAS WRITTEN: with the detector in place the gate immediately named three production renders older than their own terraform -- undef-billing (22.9h), undef-delivery (61.1h, variables.tf) and undef-developer (23.0h) -- while the old gate reported OK on exactly that tree. undef-developer was re-rendered (targeted; null_resource.deploy[0] verified still in state). billing and delivery remain stale and are named by the skip reason until an operator re-renders them. The always_run complaint is closed separately: the hook is now scoped to packages/*/terraform/ and config/tier_parity.json, since a commit touching neither cannot change the verdict, while the unconditional run stays where a release is judged -- letter gate E. tests/test_tier_parity.py pins all four properties, including that a fresh pair with equal timestamps is NOT called stale.
fixed in 11631d77 ·scripts/tier_parity.py:229; .pre-commit-config.yaml:243; packages/undef-{account,auth,foundry}/terraform/main.tf; terraform/.generated/.gitignore:6; config/tier_parity.json; tests/test_tier_parity.pyFOUND 2026-09-08 by the shape of a sweep's failures rather than by their text. The 121/129 proving capture reported three NEW reproducible failures; two of them -- grant_admin.create_grant and sigil_operator.edit_app_oidc -- failed on the TABLET pass only, with desktop and mobile recording video in the same run. A defect fails every viewport; one loser out of three is a race, which is also why the failing viewport varied between runs while the unit failed every time. ROOT CAUSE: capture_schedule.driver_distinct_batches packs a wave so that no two passes share a DRIVER ACCOUNT, and capture_wave.views_by_unit says so in its own docstring -- 'a unit whose three viewports share a batch is three identities that may run together'. Account-distinct is not state-distinct. Three distinct identities driving three browsers still mutate ONE object when the macro's subject is a singleton. sigil-edit-app-oidc carries the slug 'acceptance-cast' as a LITERAL in the macro, and its steps 27-31 suspend the app and then re-activate it; undef-admin frontend/src/Apps.tsx actionsForStatus() renders admin-apps-suspend only while status is 'active', so a sibling holding the app suspended deletes the button this pass is waiting to click, and it times out at step 27. grant-create resolves its grantee as capture_params.py cast_account(GRANTEE_PERSONA)[0] -- index zero, a fixed handle, while every sibling parameter is resolved per pass -- so three passes create a grant on ONE principal, each revokes exactly one row (:nth-match(.., 1)), and each then waits for the grants table to contain no 'acceptance-world' at all; the losers never see it and time out at step 66. FIX: both macros declared in capture_schedule.SHARED_ARTIFACT, the mechanism that already existed for exactly this class and whose table already described admin-back-office as 'a fixed handle, so three passes cancel and reactivate one row'. Their passes now serialise. tests/test_capture_schedule_viewports.py pins WHY each is declared -- read off the tracked macro snapshots -- so making the app a per-pass parameter, or making the revoke clear every matching row, fails the test rather than silently leaving a serialisation nobody needs. NOT the same class as the third new failure: verified_buyer.composite_purchase failed on all three viewports identically and is a real product defect, F-182. VERIFIED LIVE 2026-09-09 against proving: re-running both units with --only --require-captured now schedules them one viewport per batch (batch 1 desktop, batch 2 tablet, batch 3 mobile, both units together) and reports 2 captured, 0 failed, 0 skipped, with all three viewports recording for each unit and an empty viewport_detail. The same command before the fix returned 0 captured / 3 failed.
fixed in 11631d77 ·scripts/acceptance/capture_schedule.py; scripts/acceptance/capture_wave.py; scripts/acceptance/capture_params.py:580; artifacts/visible-persona-proof/macros/{grant-create,sigil-edit-app-oidc}.jsonFOUND 2026-09-08. undef-account frontend/src/pages/OrdersInvoices.tsx rendered the Return section under refundEligible = canRequestRefund(row), the same flag as the Refund section. billing domains/orders/listing.py:148 sets refundable = order_id not in component_orders and remaining > 0, and its own comment says why the component exclusion is deliberate: the self-service refund POST sends no per-component allocation and adjustments/service.py:477 answers 409 component_allocation_required, so for the owner list 'refundable' means 'the refund button would work'. A return is not a refund and has no such constraint. domains/returns/service.py:37 create_rma takes (order_id, shipment_id, reason) and writes a return_authorizations row; update_rma_status states in as many words that this path 'never calls the refund, dispute or order machinery'. So the server would have accepted a return on every one of these orders while the console offered no control to ask for one -- on every tier, for every bundle and composite ever sold. FOUND BY: verified_buyer.composite_purchase timing out on account-billing-return-reason at step 16 on ALL THREE viewports at once in the 2026-09-08 proving sweep. Failing every viewport identically is what separated it from the two scheduler races in the same run (F-181). The macro was right and the console was wrong. FIX: undef-account e4f0d9e adds canRequestReturn(order), gated on the self-service STATUS set alone -- asking to send back an order nobody has paid for is still nonsense -- and the Return section consumes it. Refund keeps the refundability flag; that gate was correct. Two tests in OrdersInvoicesReturns.test.tsx cover both halves, and the regression one was falsified by mutation before being trusted. ROOT CAUSE CONFIRMED ON LIVE DATA 2026-09-09: every composite order in proving's orders D1 (6 of them) is status 'paid' -- which PASSES the status gate -- and carries 2 rows in order_line_component_snapshots, which is exactly the predicate with_refundability uses to set refundable=false. So the control was hidden for a deterministic reason on every one of them, which is why this unit failed all three viewports identically rather than losing a race. The fix is source-only until account is deployed to proving. PROVEN LIVE 2026-09-09, after undef-account 9f09eee was deployed to proving (live-sha check: 1 match, 0 stale, 0 unstamped; deployed versions match origin/main). verified_buyer.composite_purchase now captures on ALL THREE viewports with an empty viewport_detail -- 1 captured, 0 failed, 0 skipped under --require-captured, 52 actions executed against 21 declared. The same unit failed all three viewports at step 16 on the fill of account-billing-return-reason before the fix. The buyer-side return on a composite order is now reachable end to end.
fixed in undef-account e4f0d9e ·undef-account frontend/src/pages/OrdersInvoices.tsx; undef-billing domains/orders/listing.py:148; undef-billing domains/returns/service.py:37FOUND 2026-09-08 while closing the UPR-2026-09-R20 residue. undef-account frontend/src/pages/Fund.tsx defined its OWN formatMoney -- (minor / 100).toFixed(2) plus the uppercased code -- shadowing the corrected shared one in lib/format.ts, and repeated the same hundredth by hand in five more places: the seeded amount, the tier-change handler, the number input's min and its step="0.01", the submitted amountMinor (Math.round(Number(amount) * 100)) and the idempotency key built from it. This is NOT the latent version of R20 that the campaign editor had. The editor pins DEFAULT_CURRENCY to 'usd', so its hundredth is merely wrong in principle. Fund.tsx reads campaign.currency, labels the field with it and renders whatever a campaign is priced in -- so on a JPY campaign the tier price displayed a hundredth of its real value, the seeded amount was a hundredth of the tier, and a backer typing 1000 submitted 100000 minor units. A hundredfold overcharge on a real card, with a matching idempotency key so a retry would reproduce it rather than correct it. Number(amount) also coerced an empty field to 0, which would have placed a pledge of nothing rather than refusing. FIX: undef-account 9f09eee. campaignMoney's parseMoneyInput/formatMoneyInput now take the currency and read its exponent from the pinned iso4217-minor contract with NO default -- an unnamed code is refused, not assumed to be a hundredth -- and refuse a fraction the currency cannot express rather than truncating it. moneyInputStep stops a JPY field offering 0.01 yen. Fund.tsx consumes all three and formatMinorUnits for display, keeping its own '<amount> <CODE>' wording since it prints the code itself; what changed is the scale, not the copy. The JPY pledge test was falsified by restoring the * 100 before being trusted.
fixed in undef-account 9f09eee ·undef-account frontend/src/pages/Fund.tsx; frontend/src/pages/creator/campaignMoney.tsbilling_admin.form_vendor_group failed on TABLET only in the 2026-09-09 proving sweep (124/129); desktop and mobile both recorded video. SHAPE WORTH NOTING: it lost exactly ONE viewport while its siblings recorded, which is the one-loser signature of F-181's two scheduler races -- batches are account-distinct but not state-distinct, so three identities can still mutate a single shared object. If that is the cause, the fix is a SHARED_ARTIFACT declaration. That is a hypothesis to test, not a conclusion. NOT YET DIAGNOSED, AND DELIBERATELY SO. The sweep that recorded this was the second attempt: the first was killed after hanging 13 minutes on a timeout-less SSL read during fixture minting, and this run then consumed fixtures that dead attempt had already minted. Fixture starvation and a real defect look identical in a single index, so a root cause claimed from this run alone would be a guess wearing evidence. A clean back-to-back sweep comes first. This entry exists because a failed unit owes the reader a written reason -- it records what was observed, not a cause. Prior history is relevant: F-123 and F-124 both named this same unit and are fixed, so this surface has failed before for unrelated reasons. NARROWED 2026-09-09: NOT shared-artifact contention -- group_name is per PASS (capture_params.py:566), so each viewport creates its own group and its own members table. The thrown assertion reads `expected 2 members with exactly one for dCYDtu1GetKylfQ6BrXzj3ZKqqPQ6lqw, got 1 and 0`: `before` was read correctly as 1 (the owner), and after the add-member submit the table still held one row and none matching the invited subject, for the full 60s. So the add produced no row at all rather than the wrong count. Whether the submit is refused, or the role selection does not stick, needs a live repro; both remaining hypotheses are about that one submit. REHEARSED 2026-09-09 on proving, all three viewports, alone: 3/3 captured, 43 actions each, status=ok -- so it does NOT reproduce in isolation and is load- or concurrency-dependent, not a deterministic defect in the flow. That rules out the responsive hypothesis as well: the tablet pass records perfectly when nothing else is running. What remains is a write that the console refused or dropped under sweep load, and the macro could not say which, because a refused add and a slow add are the same 60s timeout. undef-admin Vendors.tsx renders a failed write as `<p class="status-muted">Error: ...</p>` (fail() at :51), so the macro now reads that back and throws `the console refused this write: ...` at both membership assertions. The next sweep either records the unit or names the refusal; either way this stops costing a sweep to learn nothing. SEPARATE, NOT FIXED: an error rendered with `status-muted` styling is reported to an operator in the same visual tone as 'Loading' -- a refusal that does not look like one. CAPTURED 2026-09-09 on all three viewports in the 126/129 sweep, with the refusal-reporting instrumentation in place and never firing. Consistent with the load-dependent reading: nothing about the flow is broken. Closed as not reproducible rather than as diagnosed -- if it returns, the macro now names the console's refusal instead of timing out, which is the evidence this lacked.
caught bybilling_admin.form_vendor_group · fixed in 754d6ac4 · config/capture_coverage.json; artifacts/persona-capture/proving/index.json; sweep of 2026-09-09creator_vendor.edit_own_offer failed on TABLET only in the 2026-09-09 proving sweep (124/129); desktop and mobile both recorded. SHAPE WORTH NOTING: it lost exactly ONE viewport while its siblings recorded, which is the one-loser signature of F-181's two scheduler races -- batches are account-distinct but not state-distinct, so three identities can still mutate a single shared object. If that is the cause, the fix is a SHARED_ARTIFACT declaration. That is a hypothesis to test, not a conclusion. NOT YET DIAGNOSED, AND DELIBERATELY SO. The sweep that recorded this was the second attempt: the first was killed after hanging 13 minutes on a timeout-less SSL read during fixture minting, and this run then consumed fixtures that dead attempt had already minted. Fixture starvation and a real defect look identical in a single index, so a root cause claimed from this run alone would be a guess wearing evidence. A clean back-to-back sweep comes first. This entry exists because a failed unit owes the reader a written reason -- it records what was observed, not a cause. ROOT CAUSE 2026-09-09, confirmed: billing scopes the manage list to the caller's seller groups (domains/products/authoring.py:102, ORDER BY p.product_id) and the whole creator_vendor cast are in-group admins of one vendor group (seed_commerce.py:319), so three 'different' members open the identical list and reach for the identical `article:last-of-type`. Two passes toggling one product cancel: a pass records the status, a sibling flips it, this pass's own click flips it back, and step 7's wait for 'the status differs' times out on a row exactly as it started. A reorder-on-update theory was tested and DISCARDED -- the list is ordered by product_id, not by update time. FIX: SHARED_ARTIFACT entry creator-manage-products for creator-edit-offer and for creator-publish, which appends to the same list; plus the macro now pins the product id it read and names the row that moved instead of timing out. PROVEN 2026-09-09: the sweep captured creator_vendor.edit_own_offer on all three viewports.
caught bycreator_vendor.edit_own_offer · fixed in 754d6ac4 · scripts/acceptance/capture_schedule.py SHARED_ARTIFACTThree ordinary things compose into a command that runs against an account nobody named. (1) `bin/secret` resolved its uv project and its manifest from the CALLER's working directory, so every call from a sibling repo -- which is every package symlinked into packages/ -- failed. Fixed 2026-09-09; that half is closed. (2) `export X="$(cmd)"` discards cmd's exit status, because `export` returns its own: measured, `export X="$(false)"` gives $?=0 while `X="$(false)"` gives $?=1. So the canonical line every script in this repo writes -- `export CLOUDFLARE_API_TOKEN="$(bin/secret get NAME --env prod)"` -- sets an empty string and reports success. (3) wrangler reads an empty token not as 'no credential' but as 'use whatever cached OAuth session this machine holds', and proceeds. The result is a successful command against an unspecified account with nothing in the output to say so. OBSERVED TWICE on 2026-09-09, in two independent sessions: once reading a PRODUCTION D1's schema, and once on every `wrangler tail` a second session ran that day. Neither was noticed from output; the first was caught only by echoing the token's length, the second by checking after being told. Both produced correct data, by luck. WHAT REMAINS: (2) and (3) are unfixed and are the dangerous pair, because hardening one caller leaves the next to rediscover it. The shape of a fix is a helper that assigns and verifies in one step, or a lint that refuses `export VAR="$(...)"` for credential names -- not asking every author to remember. Worth noting the asymmetry: a credential that is WRONG fails loudly; a credential that is EMPTY silently borrows the operator's own identity, which on a machine logged into Cloudflare is the most privileged one available. CLOSED 2026-09-09. (2) and (3) are answered together by making the safe form the convenient one rather than asking every author to remember. `bin/with-secret NAME --env ENV -- command` assigns on its own line (the form that DOES report the substitution's status), refuses an empty value explicitly, and only then execs -- via `env`, so a caller may still write `-- UV_FROZEN=1 uv run ...`, which a bare exec answers 'exec: UV_FROZEN=1: not found'. A pre-commit gate (ci/check_credential_substitution.py) refuses both dangerous forms for credential-ish names across shell and markdown, and the six real occurrences -- all of them runbook lines with the command continued behind a backslash, in three files -- are rewritten to the helper. Only credential names are policed: the same hazard on COUNT= is real and a gate that shouts about every substitution gets silenced. The gate deliberately does NOT flag `X="$(cmd)"` alone, which is what it recommends; an earlier revision did, because the optional quote class matched empty and the trailing \S ate the assignment's own closing quote.
fixed in 7ee52e6c + this commit ·bin/secret (fixed 7ee52e6c) + every `export TOKEN="$(...)"` callerFound by the acceptance harness reproducing it accidentally (F-192), but it is an ordinary two-operator scenario, not a harness artifact. Retrying a payout line spends it, so when two admins work the failed-payout queue together the second is refused 409 line_not_retryable for a line the first retried moments earlier. Admin.tsx put `await loadAdminBillingOperations()` AFTER the throwing call and inside the try, so the refusal path never re-read. The panel has no background refresh -- no setInterval, no useEffect, and its only other loads are the success path and a manual 'Load admin operations' button -- so the losing operator kept a row showing the old failed status AND a live Retry button, and could click it indefinitely, getting the same refusal each time with nothing indicating the state had moved. The message compounded it. `line_not_retryable` was absent from DETAIL_MESSAGES, so humanizeCode rendered it 'Line not retryable.' -- which reads as a property of the line when it is almost always a property of the VIEW. Fixed: re-read on the error path and re-raise so runAction still reports, and map the code to name the likely cause and say the list has been refreshed. Regression test asserts the loader runs again after a 409; verified to fail without the fix ('expected 1 to be greater than 1'). The three payout actions moved to pages/adminBillingPayouts.ts on the way past, which kept both touched files under their LOC baselines rather than raising them.
fixed in undef-account 3f47226 ·undef-account frontend/src/pages/Admin.tsx + lib/friendlyMessage.tsA launch gate measures the DEPLOYED tier. The bundle certifying those gates records `source_commits` read out of the LOCAL checkouts (_source_commit_results walks _source_repo_paths and reads each repo's git HEAD) and `commit` from the workspace HEAD. Nothing compared the two: grepping proving_evidence.py, proving_evidence_gates.py and proving_evidence_writeclean.py for deployed/live_sha/check_live returns nothing at all. So a service that is merged and not yet deployed makes every gate a measurement of the OLD code, filed under the NEW commit -- and scripts/production_deploy consumes that bundle as evidence the candidate was exercised on proving. The workspace already owned check_live_deployed_sha and the deploy preflight already used it; the evidence writer simply never did. Not hypothetical, and found by nearly doing it. On 2026-09-09 with the workspace clean at 0471d056, `run-gates` would have written a bundle naming undef-account 3f47226a993b, undef-billing 427aed1761a7 and undef-notify 7dcce661c60a while proving ran 9f09eee279f1, a2e99da2e260 and 6e3c6d76570a -- three services measured stale and certified fresh. All five gates pass against that stale tier, so nothing would have looked wrong. Fixed: run-gates asks check_live_deployed_sha --strict before spending the run, and refuses a tier that is behind. Placed beside the dirty-tree check because it is the same question asked of the other side -- that one stops a bundle pinning a commit the TREE does not hold, this one stops a bundle pinning a commit the TIER does not run. --allow-undeployed is the escape hatch, on the same terms as --allow-dirty: named for what it costs, never the default.
fixed in 0471d056 ·scripts/proving_evidence.py:186 write_evidence_bundle + :2015 _source_commit_resultsFOUND 2026-10-24 (Pacific, the register's convention; the run's UTC timestamps read 2026-10-25) by proving capture 53f19a0c on a rebuilt tier: developer_app_owner.register_app passed desktop and timed out on tablet and mobile at step 16. Both POST /v1/developer/v1/apps answered 201 and the page said 'Registered Capture App ...', but the refetched My Apps list held only acceptance-cast. undef-developer 85311cd provisions a first-time developer's personal group INSIDE the register request (src/undef/developer/domains/apps/routes.py:76 ensure_personal_group) while _list_apps lists only the groups the caller's token already claims (routes.py:129 owner_group_ids=auth.group_ids). undef-account e6c6f4b reloads the list with the same token (frontend/src/components/RegisterAppForm.tsx:87 onRegistered() -> pages/DeveloperApps.tsx:439 reload). A fresh sign-in afterwards showed developer_app_owner-02 and -03 each owning exactly that one app in a personal group now in their claim; -01 already had a group, which is why desktop passed. The fix is specified and NOT built: docs/superpowers/specs/2026-07-13-token-remint-on-group-create-design.md and docs/superpowers/plans/2026-07-13-token-remint-on-group-create.md (register answers groups_changed, the console re-mints); every plan box is open and groups_changed exists in neither repo. Since Workspace fix/capture-a3-20261024 the capture seeds the personal group (scripts/acceptance/seed_developer_personal_group.py), so the capture no longer observes this; tests/test_first_app_is_visible_to_its_developer.py is a STRICT xfail naming this finding that turns into a failure when the remint lands. Close by building the 2026-07-13 plan, removing that xfail, and capturing register_app for a developer with no prior group. FIXED: undef-developer 7522bd25 (register answers groups_changed) and undef-account 155503f1 (the console re-mints on it) built the 2026-07-13 plan; tests/test_first_app_is_visible_to_its_developer.py is a plain test, and the 2026-11-03 full proving sweep captured developer_app_owner.register_app on all three viewports with every service at match. The capture seed (seed_developer_personal_group) still provisions groups ahead of the unit, so the attested card proves registration by a developer who already has a group; a seed-free first registration by a group-less developer is captured after the Phase 3 proving reset, when such developers exist again.
caught bydeveloper_app_owner.register_app · fixed in undef-developer 7522bd25 + undef-account 155503f1 · takeover-evidence-2026-10-11/stage0-capture/capture-a3 (README group 4, probes/probe_devgroups.out.txt) + review-47853970 M1Billing refuses POST /v1/admin/billing/payouts/batches/build (batch_routes.py) with 503 'payout execution is fenced' unless BILLING_PAYOUT_EXECUTION_MODE is enabled (payout_execution_fence.py), and Phase 1 deploys undef-billing-proving with the mode fenced (Task 13 R5 override; Billing 45bf9a4d). The capture precondition reads that live Worker binding before any sale is spent and skips admin-payout-build with the reason derived by scripts/acceptance/payout_execution_fence.py (derivable_skips PAYOUT_EXECUTION_FENCE, W 4b10b426). Not a product defect: the unit cannot capture its sending state while the fence is deployed. Close when payout execution is enabled on the tier and the unit captures. CLOSED 2026-11-15: proving deploys BILLING_PAYOUT_EXECUTION_MODE=enabled (decision 9, R8: the ordinary render with no fence override), live undef-billing 101fc9d3 contains the pre-flip tax-form ordering fix e04f88f5, and the unit captured on desktop, tablet and mobile in the full proving sweep of 2026-11-15 (index sha256 32f514f7711bb330c28cf5890cd6342b1b058848063fbcacecc2d23b6f289fda).
caught bybilling_admin.build_payout_batch · fixed in undef-billing e04f88f5 · proving full sweep 2026-11-05 (index sha256 ae72fbcbaee62de5b33be27b485354d0fc8870b25cd71ac962ee3f87104cdd6a; takeover-evidence-2026-11-03/phase1/sweep-20261105/)Billing refuses batch approve (batch_routes.py) with 503 'payout execution is fenced' unless BILLING_PAYOUT_EXECUTION_MODE is enabled (payout_execution_fence.py), and Phase 1 deploys undef-billing-proving with the mode fenced (Task 13 R5 override; Billing 45bf9a4d). The capture precondition reads that live Worker binding before any sale is spent and skips admin-payout-approve with the reason derived by scripts/acceptance/payout_execution_fence.py (derivable_skips PAYOUT_EXECUTION_FENCE, W 4b10b426). Not a product defect: the unit cannot capture its sending state while the fence is deployed. Close when payout execution is enabled on the tier and the unit captures. CLOSED 2026-11-15: proving deploys BILLING_PAYOUT_EXECUTION_MODE=enabled (decision 9, R8: the ordinary render with no fence override), live undef-billing 101fc9d3 contains the pre-flip tax-form ordering fix e04f88f5, and the unit captured on desktop, tablet and mobile in the full proving sweep of 2026-11-15 (index sha256 32f514f7711bb330c28cf5890cd6342b1b058848063fbcacecc2d23b6f289fda).
caught bybilling_admin.approve_payout_batch · fixed in undef-billing e04f88f5 · proving full sweep 2026-11-05 (index sha256 ae72fbcbaee62de5b33be27b485354d0fc8870b25cd71ac962ee3f87104cdd6a; takeover-evidence-2026-11-03/phase1/sweep-20261105/)undef-auth allocated the R21 issuance-audit sequence with SELECT MAX(issuance_sequence)+1 then INSERT and retried a primary-key collision 16 times with no backoff (service-token-issuance-audit.ts), so concurrent mints re-raced in lockstep and the losers threw 'service token issuance audit sequence contention' as a 500 after about 6.5 s. Callers did not retry: Account answered 500 on /v1/me/capabilities, and the console's getMe() swallowed that failure for the whole session, which hid the creator surfaces and failed creator_vendor.compose_storefront_home (tablet) in proving sweep 4. Auth log lines for the failing frame: 17 during sweep 4, 40 over 2026-11-13..15, 50 over 2026-11-08..13, so it was long-standing and not a regression. Fixed in three layers: Auth folds the jti pre-read into the sequence read, bounds the retries by a deadline with jittered backoff and answers 503 with Retry-After on exhaustion; Account and Billing retry one 5xx mint with a fresh assertion and cache service tokens per isolate; the Account console retries a failed capabilities fetch once. Deployed to proving 2026-11-15 (Auth 2ae990b9, Account 433d0b08, Billing 101fc9d3). Measured over proving sweep 5 (2026-11-15 16:35Z-19:37Z, 129 units): Auth logged one service_token.mint.audit_contention warning and no contention 500 (takeover-evidence-2026-11-06/wave1/sweep5-triage/auth-audit_contention-sweep5.json, auth-sequence-contention-sweep5.json). The allocation is still MAX(issuance_sequence)+1; a monotonic allocator was not built.
fixed in undef-auth 2ae990b + undef-account 433d0b0 + undef-billing 101fc9d3 ·proving sweep 4, 2026-11-15, aborted in batch 11 (takeover-evidence-2026-11-06/wave1/sweep4-triage/finding-auth-sequence-contention.md)Deployed UI-observable actions without executable macro or probe evidence, grouped by why. This list existing at all is the difference between a proof and a highlight reel.
All 130 of 130 deployed UI-accounted actions have macro or probe evidence. There is nothing in this list, which is the point of it.
This page is one run. Sweep digest 3e74c0cd20bc397c79334a3a2c46ba366bd317badfef8a7fdca0b0c6ab66f1da, built
2026-11-27 19:45 UTC. A gallery with no run identity cannot be told from a stale one: the
published copy read 38 of 78 for months while the tier proved 90 of 90,
and nothing on the page said which sweep it came from.
Run from artifacts/persona-capture/proving/index.json; denominator from
config/economy_gui_coverage.json, gated by
tests/test_action_coverage_gate.py.
account https://proving.account.undef.games · admin https://proving.admin.undef.games · auth https://proving.auth.undef.games · store https://proving.store.undef.games