Changelog
Internal changelog
Every product change landed on integration, newest first. Open one for what it does, how it is exposed, and how it was checked.
Saturday, December 5, 2026
- Improved
Options feed food cost and prep.
Landed, not yet on stagingExposure
- Recipes tab, recipe pickers, Portion field and the item Cost section, for catalog managers Always on
- New tables `ingredient` and `recipe_ingredient`, `recipe.yield_qty` and the option `portion` column Always on
Engineering details
PR #8734 Issue #8693 Landed 3ac7844
Walk
- [A1] Org admin · HQ › Catalog › Recipes → the ingredients "Walk rice", "Walk chicken" and "Walk oil" and the recipes "Walk rice batch" and "Walk chicken plate" are listed; "Walk rice batch" shows batch $3.00 and $0.30 per unit.
- [A1] Org admin · Recipes › New ingredient "Walk salt", unit "each", cost $0.05 → listed as "$0.05 / each"; New recipe "Walk salt test", yield 1 → its editor opens; one line Walk salt × 2 › Save recipe → the list shows batch $0.10 and $0.10 per unit; a reload keeps the ingredient and the recipe.
- [A1] Org admin · Recipes › open "Walk rice batch" → the yield field shows its help sentence; change Walk rice to 3 lb → the editor reads batch $4.20 and $0.42 per unit; Save recipe → the list shows $4.20 and $0.42, and a reload keeps them.
- [A3] Org admin · Catalog › "Walk recipe plate" › Cost → "Default plate cost at today's costs", "At least $2.25", with "Walk plain bread" reading "No recipe" (the incomplete plate).
- [A2] Org admin · Catalog › Options library › "Walk plain bread" › Recipe → pick "Walk rice batch" › Save option → reopening it after a reload shows "Walk rice batch" picked.
- [A2] Org admin · "Walk recipe plate" › Details shows the recipe "Walk chicken plate" (the Edit picker has it picked); Option groups › Starch › Set options › Portion of "Walk plain bread" to 1.5 › Save group → after a reload the panel shows 1.5.
- [A3] Org admin · "Walk recipe plate" › Cost → "Default plate cost at today's costs", total $2.88 (chicken $2.25 + bread 1.5 × $0.42), both parts listed with their cost, no "At least".
- [A6] Org admin · Recipes › open "Walk chicken plate" › Delete recipe → refused with "Used by 1 item and 0 options, so it can't be deleted."; it stays listed.
- [A2, A3] Org admin · "Walk recipe plate" › Details › Edit › Recipe → pick "Walk rice batch" › Save item → after a reload Details shows "Walk rice batch"; Cost → total $1.05 (rice $0.42 × 1 + bread 1.5 × $0.42), no "At least".
- New
This is the last step of project #8049.
On stagingExposure
- Empty email step refusal at lit staff sites Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Fee invoice email step dropped at no recipient (Retry, countersign forecast) Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Countersign webhook plan drops the empty fee email and team steps Always on
- Resource and template notify steps dropped when no one would receive them Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Removed `brandActionPlansScope`/`brandActionPlansExposed` helpers and the route-flag-reads trim No runtime path
Engineering details
PR #8731 Issue #8686 Landed 97f4ea6
Walk
- Read: [A1, A2, A3, A4, A5, A6, A7, A8, C2] no browser-reachable change walked here — verified by
action-plan/run-plan.test.ts("refuses an empty email step when on", "accepts an empty email step when off, the default", "mayBeEmpty lets one call stand empty when on"),resource/resource-template-plan.test.ts("a lit run whose notify step stages nothing refuses email_step_empty"),invoice/retry-booking-fee-plan.itest.ts("no recipient: …", "refuses an empty fee email: staff get a named 409 …", "no recipient on the create path: …"),contract/countersign-contract-plan.itest.ts("no recipient: a draft fee invoice with no recipient rows forecasts no fee email"),action-plan/route-flag-reads.test.ts,platform/feature-control/action-plans.test.tsand the seven digest-pin files unedited, green at 96f94cb092; the lit walk of #8049's acceptance (A8) is https://github.com/panko-app/panko/issues/8686#issuecomment-7441281169.
Authz / money / schema
- Lit staff runs on money and contract paths now refuse an empty email step:
invoice/record-offline-payment.ts(the team step may stand empty, R2),contract/make-contract-available.ts,contract/contract-lifecycle-actions.ts(void and resend; void's team notices may stand empty, R21) andcontract/approve-contract-date-submission.ts. Amounts, payment rows and QuickBooks rows do not change; a refusal rolls the whole action back. - Retry booking fee and the countersign completion no longer show or record the fee invoice email step when the draft fee invoice has no recipient rows; the invoice, its QuickBooks row and the fee stamp are unchanged. Assumption: a fee created on the no-pointer path always has a recipient, because
createInvoicerefuses an empty default list (pinned by an itest).
- New
What moved out of this card:
On stagingExposure
- The tax status block on the account's Settings and the three routes Behind customer_documents: dark on staging and production until turned on
- The zero tax on invoices and the "Tax exempt" lines on the workbench, order drawer, draft invoice and published invoice Behind customer_documents: dark on staging and production until turned on
- The schema columns No runtime path
- The dev seed capability `tax-exemption-walk` No runtime path
Engineering details
PR #8725 Issue #8672 Landed c5920cb
Walk
- [A1] Org admin · acme-corporate › "Walk fixture: exempt school — draft" › its final-balance draft invoice → the document's tax row reads "Tax (8.25%)" above $0.00.
- [A1] Org admin · Customers › "Walk fixture: exempt school" › Settings · Sales tax › Change → Exempt, reason Educational organization → the plan line shows; Save → "Exempt — Educational organization", stored exempt.
- [A1] Org admin · "Walk fixture: exempt school — draft" › Orders › its order → the workbench reads "Tax exempt: Educational organization".
- [A1] Org admin · "Walk fixture: exempt school — draft" › Billing → the draft row reads "Tax $0.00 — Tax exempt: Educational organization" and its total leaves out the tax it stored; Publish → Publish & send → the published invoice's document reads "Sales tax" "$0.00 — Tax exempt: Educational organization"; the "— invoiced" event's invoice published at seed time still reads "Tax (8.25%)" above $0.00.
- [A2] Org admin · Customers › "Walk fixture: override church" › Settings · Sales tax › Change → Exempt with no reason, Save → refused at the Reason field; reason Religious organization and "Apply without a certificate" with no note, Save → refused at the note field; the account is still stored taxable.
- [A2] Org admin · same form · a note, Save → "Exempt — Religious organization" and "Certificate missing"; "Walk fixture: override church — draft" › its order → the workbench reads "Tax exempt: Religious organization".
- [A3] Read: after the certificate's expiry with no override the account reads taxable and a draft made while exempt publishes with tax — verified by
tax-exemption-invoice.itest.ts("taxable after expiry") andread-tax-exemption.test.ts("expires_on equal to the day covers it; the day after does not"), green at the head. - [A5] Read: one planned write appending one
customer_account.tax_status_changedentry without the note text, nothing for an unchanged write, nothing for a refused one, and the plan read's open-draft count — verified bytax-status-route.itest.ts("plan read counts open drafts", "refused write leaves no entry", "a change writes the columns and one entry without the note; again is no change") andset-tax-status.test.ts("equal values write nothing; the note alone is a change"), green at the head. - [A7] Read: an exempt invoice syncs to QuickBooks with every line NON and no tax, and its refund credit carries no tax — verified by
sync-invoice.test.ts("exempt invoice sends NON lines") andcredit-allocation.test.ts("credits no tax"), green at the head. - [A8] Read: an exempt account's order covered by a paid booking fee is nothing due, and its booking-fee invoice carries the exemption — verified by
tax-exemption-invoice.itest.ts("covered order is nothing due", "exempt account invoices with zero tax"), green at the head.
Authz / money / schema
- Schema:
app.customer_accountgainstax_status(defaulttaxable),tax_exemption_reason,tax_exemption_override(default false) andtax_exemption_override_note, with CHECKs: the status is taxable or exempt, the reason is one of 15 codes, exempt needs a reason, and an override needs a non-blank note. Every existing row reads taxable, so nothing changes until staff set a status. - Authz: three new staff routes (
/get-customer-account-tax-status,/plan-set-customer-account-tax-status,/set-customer-account-tax-status) needcan_edit_customer_accountson the brand, the same as the account rep routes. The account must belong to that brand. A customer session is refused. - Money: an account is exempt on a day only when its status is exempt with a known reason AND either an accepted certificate covers that day or the override is on with a note. Anything else, including a read the code cannot classify, is taxed. Exempt invoices compute zero tax at create, draft edit, publish preview and publish. Publish freezes
tax_rate_bps0 and records the exemption in the snapshot. A draft keeps its own rate, so it is taxed again if the exemption ends before publish. A published invoice never changes its tax. The day the exemption is judged on is today in the organization's time zone when the invoice is derived or published. This departs from the issue's fork 2 words "on the order date": the order model has no order-date fact, and the event date would hide an expired certificate for an event years out (plan assumption 3). So an order accepted while the certificate was valid is taxed on a final balance published after it expires. QuickBooks invoice sync sends NON lines for a frozen rate of 0; the sync code itself is unchanged.
- New
Nine HQ dialogs and sections still read their action plan with their own fetch and their own plan state, outside the shared plan reader. #8698's PR (#8706, "Differences from the issue's words, and limits") lists them as still left for #8049.
On stagingExposure
- Proposal send, Make available, Countersign, Send portal link and the drift fix read their plan through the shared plan reader Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- New route `hq/accounting/resolve-drift-plan` replaces the form action `?/planResolveDrift` Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8724 Issue #8722 Landed 5c4ae7d
Walk
- [A9, A3] Staff · acme-weddings · the newest unsent booking-package prospect (Qualified, draft agreement, no fee invoice) → Agreement tab → Send proposal → the plan answers and shows "Email “Proposal” to <holder>" (Required), the agreement made available, the fee invoice issued and "The event moves to Proposal"; Send is enabled → Cancel → the event is still Qualified, the agreement a draft, no fee invoice.
- [A9, A4] Staff · acme-corporate · the seeded "close with edit" draft agreement → Make available → the record row (Required), one recipient row; Make available is enabled → Escape → still a draft.
- [A9, A6] Staff · acme-corporate · account "Tomas Lindqvist & Ines Lindqvist" → More actions › Send portal link (the account's Portal settings) → Send portal link → recipient Ines → the locked row "Email “Portal link” to Ines Lindqvist", no waiting line; Send email is enabled → Cancel.
- [A9, A7] Staff · acme-weddings · Accounting → the seeded QuickBooks drift → Record as offline payment → one What happens block: the Payment receipt row (Required, no Skip), the team's Payment received row with Skip, the re-check line and the amount; Apply fix is enabled → Cancel → the fee still has no payment.
- [A9] Staff · acme-corporate · the Qualified inquiry of date-holds-add-plan@acme-corporate.test → More actions › Add another event → Wedding, The Foundry → the record and event-access rows, both locked, no plan error → Escape → same number of events.
- [A9] Staff · acme-corporate · New inquiry → Phone call, a new customer → Review → "The inquiry is created" and the Welcome row with Skip → Escape → no inquiry for that address.
Authz / money / schema
- New route gate
routes/org/[org_slug]/hq/accounting/resolve-drift-plan/+server.ts: org staff (asOrgStaffon the route's ownorg_slug) before any caboose call, else 404. It is the same gate the removed?/planResolveDriftaction ran. One difference: a caller who is not staff now gets a bare 404 (read as dark) instead of an empty failure; only staff reach the page. - No schema, money or FGA change. No caboose change.
- Improved
A customer in the portal builder reads an item the way the menu says it: "<label> w/ <defaults>", with the defaults preselected.
On stagingExposure
- The portal order builder follows each option group's audience, preselects the item's default options and reads each item as "<item> w/ <options>" Always on
- The portal sync refuses option picks the customer may not make, and adds the "Staff only" defaults to a new line Always on
- Staff advisory and portal readiness carry each group's audience; a "Staff only" or "Customer sees" group never blocks Submit Always on
- New dev seed capability `portal-option-audience-walk` (acme-corporate) No runtime path
Engineering details
PR #8721 Issue #8660 Landed 1dcc004
Walk
- [A1, A5] customer Olive Audience · acme-corporate portal › "Audience walk dinner (#8660)" › its order › Plates › Make selections → the row reads "Audience Walk Plate w/ Jasmine Rice & Lemon Caper Sauce"; pick it → Jasmine Rice is preselected and the row keeps that sentence; Customize → the Sides chips are Jasmine Rice and Charred Greens, never Chef's Chili Oil; Charred Greens → the row reads "Audience Walk Plate w/ Charred Greens & Lemon Caper Sauce" and the line is saved with Charred Greens
- [A2, A3, A8] customer Olive Audience · the same order → Sauce shows as the text "Sauce: Lemon Caper Sauce" with no chips (no Green Herb Sauce); nothing named Kitchen Prep, Plate Hot or Plate Cold appears; allergens None → Plates is complete (no "Finish customizing your selections") and Submit menu selections is enabled
- [A2, A4, A7] customer Olive Audience · the same order, each save rewritten in flight: Jasmine Rice sent as Chef's Chili Oil → refused; the builder shows "Those options changed, so we've refreshed your order. Please check your picks." and the saved Charred Greens again (the row reads "Audience Walk Plate w/ Charred Greens & Lemon Caper Sauce"), not a stuck error; Jasmine Rice sent with Green Herb Sauce in place of Lemon Caper Sauce → refused the same way; the stored line still holds Charred Greens and Lemon Caper Sauce
- [A6, A10] platform admin · the event's order on the workbench → the Audience Walk Plate line holds Kitchen Prep Plate Hot (the Staff only default the customer never sent), Sides Charred Greens and Sauce Lemon Caper Sauce; the stored picks read Plate Hot default, Lemon Caper Sauce default, Charred Greens customer (read from the stored rows)
- [A9, A3, A8] platform admin · that line › Sides › the Chef's Chili Oil chip (autosave); customer Olive Audience · reload the order → the row reads "Audience Walk Plate w/ Lemon Caper Sauce", Chef's Chili Oil appears nowhere, the Sides chips Jasmine Rice and Charred Greens are both unpicked and disabled; Plates is complete; Submit menu selections › Submit order → "Selections sent — being reviewed", and the stored line still holds Chef's Chili Oil (staff), Lemon Caper Sauce and Plate Hot
Authz / money / schema
- Money: a new portal line now also stores the defaults of each "Staff only" option group, frozen at their prices like any other pick. If such a default carries an upcharge, the order total includes it, but the customer's estimate does not list it as a separate option (deferred to #8552's close, see F7 below). The customer's quote and the published invoice still list every stored option (the quote's "w/ …" text follows #8661's rule). The seeded Walk has no upcharges.
- Authz: none. The portal sync now refuses option picks the customer may not make (staff-only options, archived options, any option in a "Staff only" group, and changes to a "Customer sees" group). Staff screens are unchanged.
- Schema: none.
- New
The Message attachments view and Add to documents
On stagingExposure
- Message attachments list and Add to documents, both records Behind customer_documents: dark on staging and production until turned on
- The two caboose routes Behind customer_documents: dark on staging and production until turned on
- Inline mark stored on new inbound attachments Always on
- `message_attachment.inline` column No runtime path
Engineering details
PR #8719 Issue #8671 Landed a82f357
Walk
- [A7] Olivia · Rowan Attachwalk / spring gala · Documents > Message attachments, flag dark → each record's not-found
- [A1, A3] Expose customer_documents for acme-corporate · account view → certificate PDF, room photo PNG, menu notes DOCX, inline logo hidden; Show inline images (1) shows it
- [A6] Account view · menu notes DOCX → says 'Documents take PDF, PNG, JPEG or WebP, up to 50 MiB', no Add
- [A7] Account view · certificate PDF Download → %PDF bytes from the thread attachment download
- [A4] Account view · Add room photo to documents, per-run title, no request → toast, row says In documents
- [A5] Account view · Add certificate PDF meeting the open request → type locked to the request's, request leaves the offer
- [A2] Event view · lists the gala floor plan PDF of another account's thread that mentions the event, with the mention-only refusal; the account view does not list it
Authz / money / schema
- Schema source:
app.message_attachment.inline boolean null(expand only, no default, no backfill).true= an inline body image,false= a sent attachment,null= unknown (rows from before this change, the Wix import). The landing generates the migration. - Route gate: two new staff-only routes,
POST /api/document-attachment/list(askscustomer_account#can_view_documents_record) and/add(askscustomer_account#can_manage_documents). Both also askbrand#can_view_threads, andbrand#can_view_eventswhen an event is given, then thecustomer_documentsflag. Every denial answers 404. Twoportal-manifestentries were added topackages/seam-lints/src/route-gate.ts(and its test), worded like #8643's: no customer can hold either permission. - No FGA model change. No money rule.
- Improved
Staff edit a line's options on the order workbench the way the menu works: a chip editor with the group's real min and max, the defaults preselected when the item is added, and a swap to any option, staff-only ones included (marked, and priced like any pick, decision 3).
On stagingExposure
- Workbench option editor: chips per group with min/max rules, defaults on a new line, staff-only options, "Reset to default", the swap line, the menu text and the missing-pick warning Always on
- Staff option save: provenance (`picked_by`, `was_default`), kept picks, archived and orphan picks, catalog order Always on
- Quote menu text on the portal quote page, the quote PDF and the customer orders page's preset choice cards (an `admin_only` group's picks left out) Always on
- Seed capability `workbench-option-editor-walk` (dev and Walk seed only) No runtime path
Engineering details
PR #8723 Issue #8661 Landed c651a45
Walk
- [A1] platform admin · "Option editor walk dinner (#8661)" › its order on the workbench › Plates › All items › "Option Editor Walk Plate" → Sauce shows Editor Chimichurri pressed, Starch Editor Herbed Rice pressed, Sides none; the menu text reads "Option Editor Walk Plate w/ Editor Chimichurri & Editor Herbed Rice"; quantity 3 → after the autosave both picks are stored picked_by default, was_default true
- [A2, A8] Sides (pick up to 2) › Editor Greens, then Editor Slaw → both pressed and Editor Corn disabled, titled "Group is full — deselect one first"; Sauce (pick 1) › Editor Salsa Verde → it is pressed and Editor Chimichurri is not; Reset to default → Editor Chimichurri back; the saved Sides are stored in catalog order (Slaw before Greens), and two reloads read the menu text "Option Editor Walk Plate w/ Editor Chimichurri, Editor Herbed Rice, Editor Slaw & Editor Greens" the same both times
- [A3, A4] Starch › Editor Truffle Fries → the chip reads "+$2.50" and "Staff only", the line reads "Starch swapped: Editor Truffle Fries · was Editor Herbed Rice · by staff", the line total and the stored line total move by 3 × $2.50 = $7.50 and the menu text follows the swap (Editor Truffle Fries in, Editor Herbed Rice out); stored staff, was_default false, 250; Reset to default → Editor Herbed Rice pressed, no swap line, the menu text back to Editor Herbed Rice, the total back, stored staff, was_default true
- [A5] the catalog option Editor Chimichurri renamed "Editor Mojo Verde (renamed)" (SQL) › reload → the renamed chip is still pressed and the menu text keeps the frozen "Editor Chimichurri"; Sides › Editor Greens off → after the save the stored Sauce pick is unchanged (label, delta, provenance) and Sides holds Editor Slaw only
- [A6] Sauce › the pressed chip off → the line warns "Sauce: pick 1 — none picked"; the save succeeds ("Saved") and no Sauce pick is stored
- [A7] Starch › Editor Truffle Fries (saved, +$7.50 on the line) › the Truffle Fries and Editor Slaw memberships archived (SQL) › reload → both chips read "No longer offered" and stay pressed, Truffle Fries still "+$2.50", the line total keeps its frozen +$7.50; Sides › Editor Greens on → Editor Corn is disabled ("Group is full — deselect one first": the kept Slaw counts toward the maximum); after the save the stored Truffle Fries and Slaw picks are unchanged and the total still carries the fries; Editor Truffle Fries off → after the save no Starch pick is stored, the total drops by $7.50, and after a reload the Truffle Fries chip is gone
- [A9] the stored Editor Slaw pick (kept from step 6) loses its membership, option group and option references (SQL) › reload → a "Sides · no longer on the item" group shows Editor Slaw pressed with "No longer offered" and "Removed if you change this line's options" before any save; Sides › Editor Corn on → after the save the Slaw row is gone and Sides holds Editor Corn and Editor Greens
Authz / money / schema
- Money: a staff pick on the workbench now freezes its season upcharge like any pick (#8552 decision 3), and a pick the line already holds is kept with its frozen label, upcharge and provenance (
freezeStaffOptionSelectioninfreeze-pricing.ts). An archived option the line does not already hold is refused. No new price rule. - Schema: none. Authz: none.
- Improved
Staff can start a team conversation from Messages again
On stagingExposure
- Message teammates and `?new=team` on HQ Messages with nothing selected Always on
- The review Walk spec, which exposes `action_plans` for its own run only and removes it after No runtime path
Engineering details
PR #8726 Issue #8718 Landed 3fe2687
Walk
- [A1] org owner (platformadmin) ·
/org/acme-catering/hq/threads, nothing selected · New message → "Message teammates…" is listed; choosing it opens the Brand step with nothing picked and Continue disabled. - [A2] Acme Weddings admin hq-brand-only-admin@acme.test ·
/org/acme-catering/hq/threads, nothing selected · New message → "Message teammates…" is listed. - [A3] org owner ·
/org/acme-catering/hq/threads?new=team→ the Brand step of Message teammates opens, and the address no longer holdsnew=. - [A4] org owner ·
/org/acme-catering/hq/brand/acme-corporate/threads→ lands on the org Messages page; New message lists "Message teammates…". - [A5] org owner,
action_plansexposed for Acme Corporate Events · Message teammates › Brand step "Acme Corporate Events" › two people in the To bar → the start line answers fromplan-new-team-messageafter the To bar settles; typing the message reads no plan; Send posts a non-emptyconfirmationand the new thread opens.
Authz / money / schema
none
- New
The start composers read their plan through the shared plan reader
On stagingExposure
- New message's and Message teammates' plan reads moved to two JSON routes on the shared plan reader Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Removed form actions `?/inboxPlanNewMessage` and `?/inboxPlanNewTeamMessage` Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8720 Issue #8717 Landed 5a43779
Walk
- [A1, A2, A3, A4, A6] Staff · acme-corporate Messages · with
action_planson for the brand, New message → Brand Acme Corporate Events → Tamsin Startwell's account → Tamsin in To → "New thread. Nothing sent yet." shows first; one POST to…/hq/threads/plan-new-message(body: brand, customer account, Tamsin, no mentions) answers 200 and the line reads "Emails Tamsin Startwell"; typing the body (no#mention) and waiting more than 400 ms sends no second read; "Send & mark waiting" posts a non-emptyconfirmationand opens the new thread with the message. - [A2] Staff · same signed-in session · POST
…/hq/threads/plan-new-team-messagewith brand acme-corporate and two of its seeded staff contacts → 200 withstepsand a non-emptydigest. Message teammates cannot be opened in a browser until #8718 (staff see no "Message teammates…" item), so acceptance 4 of the card is met for New message only here; #8718's Walk owes the team start line (comment).
Authz / money / schema
- New route gate
routes/org/[org_slug]/hq/threads/plan-new-message/+server.ts: org staff (asOrgStaff), then the brand named in the body held and active (lensBrandStaff), before any caboose call; anything else is 404. Assumption: the same gate the removed?/inboxPlanNewMessageaction ran (it read the brand from the page lens; the brand now rides in the body and is checked the same way). - New route gate
…/plan-new-team-message/+server.ts: the same gate for Message teammates. - No schema, money or FGA change.
- New
Change journey rules shows the booking it causes; Change date and floor-plan dialogs read through the shared plan reader
On stagingExposure
- The journey rules plan (What happens block, Save waiting for it, 409 `plan_changed`) Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The journey rules save when `action_plans` is dark Always on
- The Change date and floor-plan plan readers on the shared reader Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The seed role "8698 · Books when" No runtime path
Engineering details
PR #8706 Issue #8698 Landed 888720f
Walk
- [A1, A2, A4, A5, A6, A9] Org admin · lit · "8698 · Books when" › Details › Journey rules · Edit · Intro call scheduling → "after the required first resources are reviewed" only → What happens shows "Journey rules saved" and no "Books the event" line → Save journey rules (posts the digest of the plan it read) → the stored intro call setting changed; the event is still Qualified.
- [A2, A3, A5] Same event · Edit · Books when → "Contract signed" → What happens shows "Books the event (agreement signed)" → Save journey rules → the event reads Booked.
- [A7, A10] Brand sales rep Sasha Reyes · lit · "Ridge Gala Co. autumn harvest dinner" › Details · Change date → the one-step wizard, a new date → What happens shows the event record row from the plan read → close the dialog; the date is unchanged.
- [A7, A10] Org admin · lit · "8621 · Redraft" › Agreement · the agreement dialog · Final payment → Days before event, a new day count → What happens shows the event record row → close the dialog; the event's rule is unchanged.
- [A7, A10] Org admin · lit · acme-weddings › Agreements · Draft an agreement · the brand, "8698 · Books when" · Final payment → Days before event, a new day count → What happens shows the event record row → close the dialog; nothing drafted, the event's rule is unchanged.
- [A8] Org admin · lit · "Planwell Floor Plan Walk" › Guests › Floor plan · the Floor plan card · Manual selection → "Plan Walk B" → the select line shows "Email “Floor plan changed” to Petra and Quinn" from the plan read → leave without Select; the selection is unchanged.
Authz / money / schema
- Route gate: new
POST /api/event/plan-change-journey-rules, gatedbrand#can_manage_eventson the posted brand, the same gate as/change-journey-rules; it writes nothing. Its web proxy…/events/[event_id]/journey-rules-plantakes the event's own brand and ManageEvents, as the save action does. The sales-rep route gate list has the new row. - Money: none. The booking line only forecasts the booking rule that already runs after the save (
bookIfFactsMet); no invoice or payment rule changes. - Schema: none.
- New
Thread plans run on the planned-action wrapper and the plan reader
On stagingExposure
- The thread reply, participant, start and triage write routes on the planned-action wrapper Always on
- The thread plan reads (`/plan-post-message`, the participant, start and triage plan reads) Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The reply plan line and participant confirm readers on the shared plan reader Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The flag-read closed list loses the four thread route files No runtime path
Engineering details
PR #8709 Issue #8697 Landed e196032
Walk
- [A2, A7, A10] Staff · acme-weddings "Participant change plan Walk" thread, reply composer · type a reply → after the settle the plan line names who the reply tells; tick "Post without emailing" and send → the reply posts and the email line is gone from the plan; a plain reply with no tick posts too.
- [A3, A8, A1] Staff · zz-e2e-org-tests-messaging-inbox's brandless "Cedar Hall — organization terms" thread (the people editor renders on brandless threads only) · add Dale Dock → the confirm shows who the change tells; confirm → Dale is a participant; remove him → the confirm shows its block; confirm → he is gone.
- [A9, A8] Staff in two browser sessions · the same Cedar Hall thread · session one opens the add-participant confirm for Dale Dock; session two adds Vera Venn; session one confirms → the "changed" words show and the confirm reads the plan again; confirming again succeeds.
- [A4, A11] Staff · Acme Corporate Events' Messages page (thread-start-plan walk) · start a customer conversation with Tamsin Startwell → the plan line names who it tells; send → the thread opens. (The team start is not walked: the New message menu shows no "Message teammates…" item to staff on this tree, #8718;
thread-start-plan.itest.tscovers the team start's answers.) - [A5, A6] Staff · e2e-triage-picker's Triage · Ines Kettleby's held reply "Re: Picnic hampers for the open day" (seeded, from ines@kettleby.test), create a thread with Ines alone → the plan shows; confirm → the reply is filed into a new thread with Ines; then "Re: Lantern hire for the terrace", File here on Ada Sharewell's tasting-date thread → the plan shows; confirm → "Filed in the thread with Ada Sharewell."
Authz / money / schema
- Route gates: the thread post, participant, start and triage routes keep their middleware gates; the plan read's staff check (
staffEditor) moved from the handler into the read'starget, before the flag, as before. Assumption: the wrapper's order (target, flag, guard, load) reproduces each route's old order, proven by the itests.
- New
The people and venue dialogs read their plans through the shared plan reader
On stagingExposure
- The five plan reads (create customer account, team member, contact email, contact active, venue) now read through the shared plan reader Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The customer account page reads the Welcome row's `welcomeOn` from the venue plan instead of from a fetch wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8711 Issue #8700 Landed 1c5a473
Walk
- [A1, A2, A4, A7] Org admin · acme-weddings Customers · New customer, individual, type a fresh address → the access row shows that address before Create, and Create account is on once the plan is read. Close; nothing is created.
- [A2, A4, A7] Org admin · Team · Add team member with a name, the admin role and a fresh address → the locked row "
<name>gets access and a welcome at<address>" shows before Add, with no Skip. Close; nothing is added. - [A2, A4, A5, A7] Org admin · Tomas Lindqvist's contact page (acme-corporate, no login) · type a new address one key at a time → one plan read after typing stops (none per key, none more on blur), and the row "Email “Welcome” to Tomas Lindqvist at
<address>" shows with Skip. Tick Skip and save → no Welcome reaches that address in Mailpit. Control: save a second new address with Skip clear → its Welcome arrives in Mailpit, and the skipped address still has none. - [A2, A3, A7] Org admin · Hollis Pemberton's People page · Wren Ashdown's Manage → Remove → the confirm shows "Wren Ashdown loses portal access" before Remove. Cancel; Wren stays active.
- [A3, A4, A6, A7] Org admin · Sedgemoor Hall's venue account (acme-catering) · Add contact with names, view only, and an address typed one key at a time → one plan read after typing stops, and the locked row "
<name>can sign in at<address>and gets a welcome email" shows before Add. Close; nothing is added. The same venue plan read (which now carrieswelcomeOn) serves the customer account's Add contact and Convert, and those sites with the team Send portal link, Unassign, Change role, team Deactivate/Reactivate and signer repair keep their own review-walk specs (7786, 7787, 7766, 7767, 7833 and 7743); those were not re-run on this PR. Their unit tests ran green at the head, and the selected-specs run (30 spec files, passed) covered the account, portal-link and email pages.
Authz / money / schema
none
- New
Appointments and group sessions run their plans on the planned-action wrapper
On stagingExposure
- Appointment and group-session plan writes and reads on the wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Dark behavior of the same routes (today's answers, unchanged) Always on
Engineering details
PR #8707 Issue #8696 Landed 737aba3
Walk
- [A1, A3, A4, A6, A7, A10] Light
action_plansfor acme-appointment-plans · (a) Avery Booksent's event · Open booking, intro call, Required → before Open booking the dialog shows the record row and the Call request email row; Open booking → the booking opens and Avery gets one Call request mail. - [A1, A7] (c) Casey Bookclose's event · Close booking on the open follow-up booking → the record row shows before Confirm; Confirm → the booking closes.
- [A1, A5, A7] (d) Dana Introfollow's ended intro call · Complete → the record row names the forgone intro follow-up before Confirm; Confirm → the call reads completed.
- [A1, A7] (e) Ellis Introrecord's ended intro call · No-show → the plan shows before Confirm; Confirm → the call reads no-show.
- [A1, A7] (f) Frankie Introlink's call · Link to "Appointment plans walk · link call" → the plan names the link and the portal before Confirm; Confirm → linked.
- [A1, A7, A9] (g) Gray Introunlink's call · Unlink → the plan names the unlink and the portal it leaves before Confirm; Confirm → unlinked.
- [A4, A7] (b) Blake Bookskip's event · Open booking, intro call, Required (its plan shows) · a request booking write posted with a stale digest → 409
plan_changed, and Blake has no open booking. - [A2, A6, A7, A10] Light
action_plansfor acme-corporate · the walk tasting session · Edit, move the date a day later → after the pause the plan's email row names both registrants; Save → saved. - [A2, A7] Session roster · Remove on Saffron Whitlock → the record row and the team notice row with Skip show before confirm; Keep registration.
- [A2, A7, A8] Session page · Cancel session → its plan names both registrants · the plan changes underneath (Ivo Brannigan's registration is removed through the product in a second tab) · Confirm in the first dialog → refused as changed, the dialog shows the rebuilt plan naming only Saffron, and the session is still open; Confirm again → cancelled.
- Improved
A thread is created without a subject.
On stagingExposure
- No code writes or reads a thread subject Always on
- Triage create and File here no longer need a subject Always on
Engineering details
PR #8704 Issue #8679 Landed 78a3c9c
Walk
- [A2, A3] Customer Hazel Harbor (messaging-inbox seed, portal login
hazel@harbor-pine.test) · portal Messages → New message · picks Cora Cedar, types a message and sends → a new thread opens with her words, and staff see it in the inbox. The new thread's stored subject is empty (it used to beMessage to <brand>). - [A3, A4] Staff (platform admin) ·
e2e-triage-pickerbrand → Threads → Triage · opens Dagny Oakhollow's held mail "Triage walk: Dagny's harvest supper" and clicks File here on "A new thread with Dagny Oakhollow alone" → the toast says it was filed and the mail leaves Triage. No subject is asked for or sent. The new thread's stored subject is empty, and on the thread the message still shows "Email subject" with the mail's own subject. - [A1] Read: staff starts (inbox New message, a record's New message, a team thread) pass no subject:
new-message.ts,team-thread.ts,start-thread.ts. The column default gives''. - [A5] Read:
packages/db/db/schema/app/tables/message-thread.tsreadssubject: text().notNull().default(""). No migration is hand-written.apps/caboose/kysely/schema.codegen.tsreadssubject: Generated<string>. - [A6] Read:
start-thread.ts's canonical request JSON has nosubject. The iteststart-thread.itest.ts› "fingerprint holds no subject" replays an equal retry. A retry of a request first sent before the deploy answers 409request_conflict, and the thread and message it made are kept. - [A7, S2] Read:
AppMessageThreadisOmit<…, "subject">(providers/db/schema.ts), with the same Omit on the fixture side intype-tests/db-parity.ts.MessageThread,ThreadResponse,CustomerThreadResponse,InboxThread,ThreadListItem,EventTeamThread, the held-mail candidates andtriageCreateThreadBodyhave nosubject. Web'sThread,thread-actions.tsandtriage-held-plan.tssend and read none. Thethread-subject-readslint has nobrandless,writerorshapereason. - [A8] Read: seed-dev, caboose itests and e2e find a thread by its body, people or links.
git grep -n "subject" -- apps/e2e | grep message_threadfinds no predicate on the column. - [A9] Read:
wix-migration/load-inquiries.tsinserts no subject. - [A10] Read: the seed-dev thread key helper finds a brand contact thread by brand + participant set, and a team or brandless thread by organization + kind + participants + its constant first message body.
- [A11] Read:
apps/e2e/helpers/triage-fixture.tscleanup deletes a thread only when its first message holds the run tag or came from an inbound row whose provider id carries it. - [A12] Read: the end grep lists the production files that name both
subjectand the thread table. Each one names another subject (list below). - [C1] Read:
## Deploy needstells Steven what a revert past #8639 and this change does. - [C7] Read: no production index, column or read is added for the seed and e2e keys.
- [A3] Read:
invalid_subjectis gone fromcreate-thread.tsandscoped-triage.ts. Accounting'sinvalid_subjectstays.
Authz / money / schema
- Schema source:
message_thread.subjectgains.default(""); it staysNOT NULL. The landing generates the migration (ALTER … SET DEFAULT '', an expand step). - Email intake (
apps/caboose/src/app/communication/inbound-message/): the Triage and mail-conversion paths no longer take or derive a thread subject. They read less input from senders and add none.
Friday, December 4, 2026
- New
Resource plans on the planned-action wrapper
On stagingExposure
- Resource template and event resource plans, confirmations and "emails sent" answers Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The same saves with the flag off answer as before Always on
Engineering details
PR #8705 Issue #8699 Landed 894d168
Walk
- [A7] Template save from brand HQ: open the resource template from its brand HQ address (the page sends an organization login to the HQ organization record, so the save goes by id; the brand route itself is covered by the caboose itests). The plan shows 2 of 2 people reached. Change the text and save: "Saved. 2 emails sent."
- [A7] Open the same template from the HQ organization record. Turn Remy's default email address off, then save: the save is refused because who it reaches changed, the plan now reads 1 of 1, your text is kept and nothing was stored. Save again: "Saved. 1 email sent."
- [A7] On Wedding One's Resources card, add a link for the customer. The confirm row reads "Email “Resources changed” to Rhea". Confirm: "Resource added. 1 email sent."
- [A7] Edit that resource and rename it. Confirm the row: "Resource updated…", and the email is staged.
- [A7] Stale edit: turn Rhea's default address off, then save an edit. The dialog shows "What this change sends has changed. Check it, then try again." and the name is not stored. Cancel.
- [A7] Remove the resource from step 3. Confirm the row: "Resource removed. 1 email sent."
- [A7] Remove the seeded "Reach Walk Guide" from Wedding One.
- [A7] Add it back with "From the library". Confirm the row: "Resource added. 1 email sent."
- New
The document types library in org settings
On stagingExposure
- The document types library: Setup row, sidebar entry, list screen and dialog Behind customer_documents: dark on staging and production until turned on
- The eight `/api/document-type` endpoints and their journal entries Behind customer_documents: dark on staging and production until turned on
- The unique live-name index on `document_type` Always on
- The `document-types-walk` dev seed capability No runtime path
Engineering details
PR #8702 Issue #8669 Landed 51d694e
Walk
- [A7] Olivia Ops · Setup, then
/hq/document-types, withcustomer_documentsdark → Setup has no Document types row; the screen draws not found. - [A7] Expose
customer_documentsfor brandacme-corporate(the Walk inserts the override) → the Setup row "Document types" appears. - [A3] Olivia · Setup → Document types → the list shows the seeded active type and not the archived one.
- [A1, A4, A5, A6, A8, A12] Olivia · New document type → the seeded active type's name in other case → "Another document type already has this name. Choose a different name." inline, nothing created; then her own name "Sales tax exemption certificate …", kind Sales tax exemption certificate, instructions, a PDF blank form, validity on with 36 months → the row appears with that name.
- [A1] The new row shows its kind, "36 months" and the blank form link.
- [A1, A2] Reopen the type by its id → every field reads back as saved, from a fresh server read; the kind cannot be changed.
- [A1, A10] Download the blank form → the same bytes as the uploaded PDF.
- [A2, A9] Edit the name and the months and replace the blank form with a second PDF → saved and read back; the download is the new file's bytes.
- [A3, A4] Archive the type → it leaves the default list.
- [A3] Show archived → the type and the seeded archived W-9 both appear; Restore it → it is back in the default list.
- [A3, A11] Archive it again → it leaves the default list, and the Walk ends with its type archived so it runs again on the same bed.
Authz / money / schema
- Route gates: the eight
/document-typeendpoints askcan_manage_organizationon the body's organization (no FGA model change). Assumption: only org admins manage the library. - Schema source: a partial unique index
unique_document_type_name_within_organizationondocument_type (organization_id, lower(name)) where archived_at is null. Assumption: nodocument_typerows exist outside tests today (the only callers are itests), so the index cannot fail on old data. Production audit: not performed (no production access by design).
- Improved
This is the one `gap` step of #8314's review after #8665 landed.
On stagingExposure
- The merge moves documents and document requests, and the preview counts them Always on
- HQ record of a merged account shows "Merged on <date>. Now part of <name>" with a link Always on
- The detail read's `mergedInto` field Always on
Engineering details
PR #8701 Issue #8678 Landed 41c4664
Walk
- [A6, A8] Priya · HQ → Customer accounts → "Kerrow (phone booking)" before any merge → no "Merged on" line; Settings → Merge with… opens the merge screen.
- [A1, A2, A3, A4] Priya · merge screen → pick "Kerrow (web form)", choose it to stay → the preview lists "Documents: n" and "Document requests: n" beside the other counts. (Moving every document and request of any status, and journaling each by title, is proven by
merge-customer-account.itest.ts"moves documents…" and "journals each moved document and document_request…".) - [A8] Priya · Merge → lands on "Kerrow (web form)", which shows no "Merged on" line.
- [A5, A6, A7, A8] Priya · the removed account's old address → the line "Merged on <date>. Now part of Odile Kerrow · Kerrow (web form)." shows under the record header; the name is a link to the account that stays. (The read, the same-brand pin and an older merge keeping its own date are proven by
customer-account-detail.itest.ts"mergedInto on the core read".) - [A6, A8] Priya · click the link → the "Kerrow (web form)" record opens, with its event "Kerrow merge walk: garden lunch".
Authz / money / schema
none. No schema change: the merge moves rows by the existing
customer_account_idcolumns, and the detail read joins the existingmerged_into_customer_account_id(pinned to the same brand). - Improved
Three HQ drawers still open on `page.state` with a payload when you open them from a flat HQ page: the customer account drawer (`customerAccount`), the order drawer (`order`) and the event drawer (`event`).
On stagingExposure
- Event, customer account and order drawers opened from flat HQ pages name themselves in the address (`?drawer=<kind>:<id>`), so reload, Back and a copied link keep them Always on
- J/K in those drawers steps through the opening screen's shown rows, across brands Always on
- The event type record no longer asks about unsaved edits when a drawer opens, steps or closes over it Always on
Engineering details
PR #8695 Issue #8691 Landed f44a2ab
Walk
- [A1, A9] Platform admin · Venue Drawer Clients' account record · click "Venue Drawer Foundry Dinner" in its Events → the event drawer opens, the address gains
drawer=event:<id>on the account's own path and history state holds no event entry; reload → the same drawer; the copied link in a new tab → the same drawer on the same event. - [A1] Events list · New event · brand Acme Corporate Events, a new customer, "Walk 8691 <timestamp>", date not decided · Create event → the new event's drawer opens over Events at
drawer=event:<new id>, not at the record's path, and history state holds no event entry. - [A2, A9] Events list searched for Globex Corporation · click its account name in a row → the customer account drawer opens at
drawer=customerAccount:<id>on the Events path, history state holds no account entry; reload and the copied link in a new tab → the same drawer. - [A3, A9] "Order drawer walk" Overview · Orders card · click the selected order → the order drawer opens at
drawer=order:<eventId>:<orderId>on the event's path ("1 of 2"); reload → the same order; J → the draft order at its owndrawer=order:id ("2 of 2"). - [A4] HQ at
?drawer=event:<made-up id>and at?drawer=event:<an event of the messaging-inbox org>→ This event isn't available.; at?drawer=customerAccount:<made-up id>and<an account of the messaging-inbox org>→ This account isn't available.; at?drawer=order:<made-up event>:<the walk's order>andorder:<the walk's event>:<made-up order>→ This order isn't available.; the Acme Weddings brand-only admin at?drawer=customerAccount:<Globex Corporation>(an acme-corporate account) → This account isn't available. and Globex's name is not drawn. - [A5] Venue Drawer Clients' account record · open "Venue Drawer Foundry Dinner" · J → "Venue Drawer Hall Reception" at
drawer=event:<its id>; K → back to the Foundry Dinner; the path stays the account's throughout. - [A7] Dana Dashwalk's contact record · Edit, change her first name (unsaved) · click her account under Accounts → no prompt, the account drawer opens at
drawer=customerAccount:<id>and the first name keeps the edit; close the drawer → no prompt, the edit stays; Cancel. - [A8] Venue Drawer Clients' account record · open the Foundry Dinner, J to the Hall Reception, Esc → no
__data.jsonrequest (asserted on a built host).
Authz / money / schema
none. The customer account and order drawers read the same views as before. A record of another org or of a brand the viewer does not hold is refused by those views' existing gates, and the drawer shows "not available".
- New
Staff can say on a catalog item what the menu really says.
On stagingExposure
- Option group Audience select, Staff only checkboxes, the Kitchen note preset, and the writers accepting `audience`/`staffOnly` Behind item_option_audience: dark on staging and production until turned on
- Remove archives the membership, defaults saved as the customer reads them, option order, the Comes with and Customer picks presets, the upcharge field in the panel, copy groups between items, the group rules check on every staff save Always on
Engineering details
PR #8675 Issue #8659 Landed 773ac5d
Walk
- [A1] Org admin · Acme Weddings › Catalog › "Options Walk Brand Plate" · Option groups › Add group → Comes with, Customer picks and Kitchen note each add a group with their pick range (Kitchen note reads Staff only).
- [A1, A3] Org admin · same item · open "Walk Sides" · set Audience to View only, mark "Walk Rice" default, uncheck the "Walk Greens" default, mark "Walk Greens" and "Walk Chili Oil" staff only, Move "Walk Greens" up, Save group → after a reload the row shows the same order, audience, defaults and staff-only count, and the preview line reads "Options Walk Brand Plate w/ …" with the customer's defaults.
- [A2] Org admin · same item · open "Walk Too Many" · Save group with the most picks above its options → the panel shows the refusal naming the group; lower the most picks, Save group → saved.
- [A4] Org admin · Catalog › "Options Walk Org Plate" · open "Walk Sauces" · Remove the option that has the seeded upcharge, Save group, then add it back, Save group → the same option is back and its Upcharge field shows the seeded amount.
- [A5] Org admin · Catalog › "Options Walk Org Plate" · open "Walk Sauces" · set the upcharge of one option, save → the Price card on the page shows the same amount for the current season.
- [A6] Org admin · Catalog › "Options Walk Org Plate" · Copy groups from another item → "Options Walk Org Source" → "Walk Dressings" is copied, upcharges copied; a second copy skips it as already here.
- [A7] Read: with
item_option_audiencedark, no Audience select, no Staff only checkboxes and no Kitchen note preset, and the writers refuseaudience/staffOnly— verified byapps/e2e/tests/catalog-item-options.spec.ts(@flag-dark, the dark org HQ; a Walk runs with the flag on) andcatalog-option-audience.itest.ts, green at the head. - [A8] Read: journal entries for audience, defaults, staff only, reorder, archive, re-add, copy and upcharge — verified by
catalog-config-journal.itest.tsandactivity-words.test.ts, green at the head. - [A9] Read: archived memberships left out of the Price card ledger, Setup › Prices, the price CSV and the Options library uses; the price writer refuses one; the library delete succeeds — verified by
option-archive-readers.itest.ts, green at the head. - [A10] Read: the option group import un-archives a named option and counts it as added — verified by
import-option-groups.itest.ts, green at the head.
Authz / money / schema
- Money: removing an option from a group now archives its membership instead of deleting it, so its season upcharge rows are kept, and every price reader (Price card ledger, Setup › Prices, price CSV, price grid) leaves archived memberships out. Assumption: an archived membership never prices an order line.
- Money: deleting an option from the library now also deletes its archived memberships and their season upcharge rows, as deleting a live membership always did; the delete is refused only while a live membership uses it.
- Money: "Copy groups from another item" copies the source memberships' season upcharge rows on the org HQ page when both items have the same priced-per unit; a brand-scope copy copies none, and a brand page offers only the brand's own items as sources (caboose copies within the target's exact scope).
- Authz: two new route gates, no FGA change.
POST /api/catalog/copy-option-groupschecksorganization#can_manage_catalogon the body's organization;POST /api/catalog/copy-brand-option-groupschecksbrand#can_manage_catalogon the body's brand. Both match the source and target items in that exact scope, as the other group writers do. Assumption: whoever may manage a catalog may copy between two of its items. Schema: no change (the #8641 foundation added every column).
- New
Close the action-plan move: both seam-lint baselines gone, load hands its value on, the remaining flag reads one closed list
On stagingExposure
- The plan reads of publish invoice, make contract available and approve date Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The guest-list plan read on the wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Seam-lint baselines removed, the closed-list test, the README and the deleted dead readers No runtime path
Engineering details
PR #8688 Issue #8637 Landed 46b45ff
Walk
- Read: no browser-reachable change [A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12]. The tests named below and in the table verify it.
scripts/land-checks.shruns them at the handed-off head. At add1f715e the whole Caboose integration suite passed (938 files, 10,376 tests). The selected specs had one red,required-fields-brand-ops.spec.ts:319, where the create-account dialog closed before its Brand step; this PR changes no web file, and the spec was re-run at 8d5fe131d.
Authz / money / schema
- authz: none. No route gate or relation changes.
- schema: none.
- money and agreements: no invoicing, payment or contract rule changes. The protected files changed are:
publish-invoice-action.ts,make-contract-available-action.ts,approve-contract-date-submission-action.tsandmake-contract-available.ts: where the plan read reads the reminder flag and settings (A3).make-contract-available-action.itest.ts:DARK_COUNT.record-offline-payment-action.ts,classify-refund-action.tsandcountersign-contract-action.ts: load facts handed on, no map (A2).publish-invoice-plan.ts: a comment.
- Improved
Staff can merge two customer accounts of one brand from HQ, and see a possible duplicate before it does harm. #8628 landed the merge itself: the plan read and the run behind a guarded API, the tombstone and its redirect, and the web client functions (`apps/web/src/lib/server/customer-account-api.ts`).
On stagingExposure
- Merge with… in account Settings and the HQ merge screen Always on
- Possible duplicate mark on the HQ customer contact Overview and its caboose read Always on
Engineering details
PR #8674 Issue #8664 Landed 76c0cc6
Walk
- [A7, A11] Sales rep Sasha (
sasha-inbox-walk@acme.test) · Inbox Walk Catering · the seeded "Odile Kerrow" account's Settings → no Merge with…; the merge page, with and without a chosen account, reads Not found (its view answers 404). - [A8, A9] Brand admin Priya (
priya-inbox-walk@acme.test) · Odile Kerrow's contact on the "Kerrow (web form)" account · Overview → a "Possible duplicate" card names the "Kerrow (phone booking)" account, with Review merge. - [A1] Priya · the "Kerrow (web form)" account · Settings → Merge with… opens the merge screen.
- [A2] Priya · merge screen → the picker lists the other Odile Kerrow account and not this one; no account is chosen to stay and there is no Merge yet.
- [A3] Priya · choose "Kerrow (web form)" to stay → both accounts side by side, marked Stays and Removed, each with Odile's name and email; keep the other account's label.
- [A4] Priya · the preview names what moves (Events: 1, Inquiries: 1, Contacts merged: 1, and why the two people are one) and the plan's rows show. Both accounts are named "Odile Kerrow", so every sentence names each with its label ("Odile Kerrow · Kerrow (web form)").
- [A5] Priya · Merge → lands on the account that stays, which shows both events ("garden lunch" and "harvest supper") with no manual reload, and its Activity says Priya Shah merged another account into it.
- [A10] Customer Odile (
odile-merge-walk@panko.test) · the brand's customer door → goes straight to the one account left (no account picker); her old link to the removed account opens the account that stays.
- Improved
After an account merge, threads with the same people become one thread. #8628 landed the merge: it moves every thread to the account that stays and restamps its set, but when two threads end up with the same set of people both stay (one with a cleared set hash), and the plan read and the journal entry list each pair (`sameSetThreadPairs`).
On stagingExposure
- Same-set threads become one thread during a customer-account merge (`/merge-customer-account`, staff API only; no screen calls it yet) Always on
- The plan read and the run answer gain `mergedThreads`, and `sameSetThreads` items gain `reason` Always on
- Fan-out reads a message's thread from the message row, not the job Always on
Engineering details
PR #8681 Issue #8665 Landed 914598d
Walk
- Read: [A1, A2, A3, A4, A5] no browser-reachable change — verified by
apps/caboose/src/app/customer-account/merge/merge-customer-account-contacts.itest.ts(pairs merged after the people fold; every foreign key tomessage_threadread frompg_constraintand handled; every thread-owned row moved by its table's rule, with each unique-key clash; three threads into one with one line; the most open status from one thread; unread customer messages stay unread; reply-nudge locks kept; a pair kept apart for event scope),merge-customer-account.itest.ts(plan read names merged pairs without moving rows or taking a thread lock; journal names merged pairs; a forced failure rolls the thread merge back) andmerge-customer-account-plan.test.ts(the reworded not-moved line), green at 56228a400a (the head adds only a seam-lint allowlist entry since).
Authz / money / schema
none. Threads carry no FGA tuple, so the thread merge writes none. No schema change.
- Improved
Option upcharges always charge, and every document shows them.
On stagingExposure
- Set price + option upcharges in the engine, workbench and portal estimate Always on
- Locked orders shown at stored totals Always on
- Invoice option lines Always on
- Template editor hint Always on
- Option upcharge report No runtime path
- Walk seed No runtime path
Engineering details
PR #8657 Issue #8642 Landed f1c9293
Walk
- [A1, A2] customer Ines Upcharge · acme-corporate portal › "Included Mains walk dinner (#8642)" › its order › Mains › Make selections › Grilled Salmon › Sauce → Lemon Butter shows no amount and Herb Aioli shows "+$1.50 per guest"; with Lemon Butter the estimated total is $2,400.00; Herb Aioli → a "Grilled Salmon · 40 × $1.50" line of $60.00, $61.50 per guest and an estimated total of $2,460.00; allergens None › Submit menu selections › Submit order → "Selections sent — being reviewed", the submitted order stores $2,460.00
- [A1, A5] platform admin · the event's order on the workbench → the Grilled Salmon line reads Set price 0.00, unit $1.50 × 40 = $60.00, subtotal and total $2,460.00; Set price 10.00 → unit $11.50, line $460.00, subtotal and total $2,860.00 before the save; after the autosave ("Saved") and a reload the same numbers, and the stored line and order total match
- [A1, A7] platform admin · the event › Billing › Create invoice › Final balance › Create draft ($2,860.00) › Publish → the preview lists "Herb Aioli +$1.50" under Grilled Salmon, 40 × $11.50 = $460.00; Publish & send → the invoice page shows the same; customer Ines Upcharge · Billing › that invoice → "Herb Aioli +$1.50" under Grilled Salmon, 40 × $11.50, total $2,860.00
- [A3] customer Ines Upcharge · acme-corporate portal › "Custom price walk dinner (#8642)" › its order › Mains › Make selections › Grilled Salmon › Sauce → with Lemon Butter a "Grilled Salmon · 40 × $38.00" line and an estimated total of $1,520.00; Herb Aioli ("+$1.50 per guest") → the line reads 40 × $39.50 and the estimated total $1,580.00 (the custom $38.00 + $1.50), and the stored line matches
- [A9] platform admin · "Included Mains quoted dinner (#8642)" › its order on the workbench (seeded quoted, the salmon line stored under the old rule: Set price $0.00 = unit $0.00, Herb Aioli's +$1.50 frozen, order $2,400.00) → "Quoted", unit $0.00, quantity 40, line $0.00, subtotal and total $2,400.00 (never $2,460.00); customer Ines Upcharge · that order → read-only, estimated total $2,400.00 with no salmon line; Create revision → the revision's workbench prices the salmon line by the new rule, unit $1.50, line $60.00, subtotal and total $2,460.00
- [A6] platform admin · Order templates › "Included Mains (#8642 walk)" → under Mains, "Grilled Salmon: Premium options still charge: Herb Aioli +$1.50"; "Custom price upcharge (#8642 walk)" (the salmon at a custom $38.00) → the same hint; "Wedding Dinner" (the salmon Priced, no set price) → no hint
Authz / money / schema
- Money: a set-price order line now adds its option upcharges (
pricing.tsapplyLineAdjustment). The assumption: staff "Set price" and a template's set price are the same stored adjustment and follow one rule (#8552 decision 4; plan assumption 1). Drafts, submitted drafts, presets and revisions re-price at their next recompute; locked orders keep stored totals. - Money: invoice snapshot lines gain an optional
optionsfield; absent when a line has none, so older snapshots and their fingerprints are unchanged. - Schema: none. One custom SQL file that only reads and prints.
- Authz: none. The editor hint rides the existing staff-only template season ledger read.
Preview reads: the customer order read and the two customer invoice reads now also reach this change's pure code. That is the old-rule line check (
old-rule-line.ts), the template option rule (template-pricing.ts) and the invoice option projection (project-snapshot.ts). No added line writes, deletes or calls out.Preview-Read-Drift-Ack: POST /api/event-order-portal/get-my-order bb122cc74054f111c26faafa9260dc8b264389aa479fcc9e4f30aa541b7b08ea Preview-Read-Drift-Ack: POST /api/invoice/get-customer-invoice a80f2da2878c88a23d1f473d3fb2b0911661459d073ef72317e3ce776d53081e Preview-Read-Drift-Ack: POST /api/invoice/list-customer-invoices 243a3d2575d7b36467451cf1cca217d0e4a7f5a907da989bcc1afd584d10d3d5
- Improved
The HQ drawers decide what they show from their reads by the screen kit's one post-save rule, the same rule the full pages use since #8651 (`readState`, `readView`, `sectionView` in `apps/web/src/lib/screen/read-state.ts`).
On stagingExposure
- The drawers', email cards' and calendar item drawer's read states follow the kit's post-save rule Always on
Engineering details
PR #8680 Issue #8673 Landed 53a853b
Walk
- [A1, A2, A3, A4, A5, A6, A7, A8, A9] Read: no browser-reachable change — verified by
drawer-read.test.ts(drawerCoreRead),account-drawer.test.ts(accountDrawerSide),email-views.test.ts(held dark),email-timeline-more.test.ts,calendar-item-reader.test.ts(refused while it held) and the existing drawer helper tests, green at d981635882
Authz / money / schema
none
- New
Message emails, the bell and the reply reminder name the conversation by its people; From names the author
On stagingExposure
- The message email's subject, its From display name and the staff bell row name the conversation by its people and the author Always on
- The needs-a-reply reminder (email, bell row, planner preview) and the settings-preview sample use the same name Always on
- Inbox search no longer matches a thread's stored subject Always on
- A cold mail's own subject shows as mail context on its message ("Email subject · …") Always on
- The thread rename route is removed Always on
- The email's personal opening line uses the new names Behind communication_handoffs_v2: on in staging since Nov 25, 10:47 AM ET, dark in production since Nov 28, 9:23 AM ET
Engineering details
PR #8652 Issue #8639 Landed 8dd20d0
Walk
- [A1, A4, A5, A8] Staff · Jane on acme-corporate · the Walk thread · post a reply → Priya's email is from "Jane at {brand} via Panko" with the subject "Alex Ray and {brand} · Shah Wedding". Alex's is from the same name with the subject "Priya Shah and {brand} · Shah Wedding". The opening line reads "Jane at {brand} sent a message in the Alex Ray and {brand} · Shah Wedding thread:".
- [A7] Staff · the same thread · post a second reply → Priya's second email has the same base subject as the first (a
Re:prefix aside). - [A11] Staff · the thread page and the brand's Threads inbox → "Walk 8639: conversation names" shows on neither; an inbox search for "conversation names" no longer finds the thread, and a search for the reply's words does.
Authz / money / schema
none. The POST
/threads/:id/update-subjectroute is removed. No screen called it. - New
Event part five (c), part two.
On stagingExposure
- The plan reads, the What happens block and the Retry dialog Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The send moment posted with an off fee Always on
- Dark, the web still sends plan reads that answer 404: one per settled value of the fee form and one per Retry press Always on
- The seed records No runtime path
Engineering details
PR #8654 Issue #8621 Landed 8b6712f
Walk
- [A8] Org admin ·
action_plansdark · "8621 · Redraft" › Billing › Booking fee · Edit fee settings · Amount $1,500 → $1,750 → no What happens block (at least one plan read, each answering 404) → Cancel; nothing saved. - [A1, A3, A4, A9, A11, A12] Lit · "8621 · Redraft" › Billing › Booking fee · Edit fee settings · Amount $1,500 → $1,750 → What happens shows "Booking fee settings saved" and "Unsent agreements redrafted to state the new fee" (1 unsent agreement), and no booking → Save fee settings, which posts the digest of the plan it waited for → the stored amount is $1,750; the event stays Qualified.
- [A2, A10] Lit · "8621 · Waive" › Billing › Booking fee · Edit · untick "Charge a booking fee" → What happens shows "Books the event (fee waived)" → Save fee settings → the event reads Booked.
- [A5, A6, A7, A13] Lit · phone (390 px) · the newest "8621 · Retry" › Billing › Booking fee · Retry booking fee → the dialog "Retry the booking fee?" shows "Booking fee invoice issued" and "Invoice email", and no booking → Retry booking fee → the fee invoice is issued; the event stays Qualified and the card offers no Retry.
Authz / money / schema
- Route gates:
/plan-change-booking-fee-policyand/plan-retry-booking-feeusecan_manage_invoices, the same gate as their writes. The web endpointsbooking-fee-policy-planandretry-booking-fee-plancheck ManageInvoices. Assumption: anyone who can make the write may read its plan. - Money: the booking fee policy save keeps today's lock: the event
FOR UPDATEfirst, then the inquiry. Lit, it reads the booking guard unlocked, only to forecast the booking. Withaction_plansoff, the save runs the same statements as today. (An earlier head of this PR locked the inquiry first; the review found it could deadlock with Retry, the fee issue and update event, and it was reverted.) - Money: when the fee is off, the save now posts the "Send at" moment, which is kept in a hidden input. Before, the disabled select posted nothing and the server filled in "on signature", so waiving a manual fee rewrote its send moment. Lit, that mismatch made every waive answer "changed"; the Walk's step 3 caught it.
- Money: lit, either write refuses with a 500 and commits nothing when an effect differs from its plan: Retry's booking verdict, or the policy save's count of redrafted agreements. Each case has an integration test.
- Schema: none.
- Improved
HQ decides what a section shows after a save in one place.
On stagingExposure
- One post-save rule in `$lib/screen` (`read-state.ts`) read by the event, inquiry, contact and customer account records and the contact, portal and venue contact drawers Always on
- A read refused or not found while the screen still holds data draws failed (or no data, for a gate) on the contact drawers, the contact record and the customer account record, as the event and inquiry records already do Always on
- The contact record's Try again also refetches its own panel, so it sends a request after a refusal Always on
- Docs and the `hq-screen-kit` lint message name the kit rule No runtime path
Engineering details
PR #8662 Issue #8651 Landed 06e3e35
Walk
- Read: [A1, A2, A3, A4, A5, A6, A7, A8, A9] read, not walked: the two changes a browser can reach (A6 and A7, under
## Exposure) need a read refused after a save, which a hand walk cannot stage. Verified byapps/web/src/lib/screen/read-state.test.ts(the rule's order, the whole-read and section readers, refused with data held, view identity),apps/web/src/lib/screen/read-state.client.test.ts(a mounted observer through a refusal on the real client; the contact record's Try again sends a request), the moved tests of the event, inquiry, contact and account readers, and thehq-screen-kitseam lint. The five staged-failure review-walk specs (#8545, #8583, #8616, #8617, #8632) passed unchanged in the selected specs at 3db133cf: 88 spec files, 177 passed, 2 flaky (resource-files,resource-video-upload), 1 red on the tip too (below).
Authz / money / schema
none
- New
Every slice of #8339 starts from the same model and the same paths.
On stagingExposure
- The HQ account and event Documents tabs, their three empty sub-tabs, the portal Documents entry and page, and both web download proxies Behind customer_documents: dark on staging and production until turned on
- The two upload mints Behind customer_documents: dark on staging and production until turned on
- The two caboose download routes No runtime path
- The `See the account` permission's description on the portal and HQ access pages, which now ends "…payments and shared documents, and who is on it" (`apps/caboose/src/security/permission-catalog/customer-account-catalog.ts:44-45`) Always on
- The document cores, the journal codes and the activity words No runtime path
Engineering details
PR #8655 Issue #8643 Landed a394cf1
Walk
- [A11] Platform admin · Acme Corporate HQ › Customer accounts › Globex Corporation → the tab bar shows "Documents" after "Agreements". Open it → sub-tabs "Files", "Requests" and "Message attachments". Each one opens and shows one line: "No documents yet.", "No document requests yet." and "No message attachments yet.".
- [A11] Platform admin · Globex's booked Wedding event record → "Documents" after "Resources" → the same three sub-tabs, each with its one-line empty state.
- [A11] Globex viewer (portal) · Globex Corporation portal → the nav shows "Documents" → the page reads "No documents yet.".
- [A11, A6] The flag is dark again (override removed) → the account's
/documentsURL and the event's/documentsURL each show the record's own "not found" view, with no record and no tab bar. Neither record's tab list names Documents. The portal nav has no Documents entry, and the portal/documentsURL answers 404. - [A1] Read: the four tables exist with the one-subject CHECK, versions point at a shared
filerow (FK, restrict), andversion_nois unique per document. The cores refuse an event of another account and a file of another organization or brand. Verified byapps/caboose/src/app/document/document-model.itest.ts("shared file row"), green at d908f43e97. - [A2] Read: every write in
app/document/appends one journal entry in its transaction, and a refused write or a failed append leaves nothing behind. Verified bydocument-writes.itest.ts. - [A3] Read: a file declared PDF whose bytes are HTML is refused at confirm, with the row and the R2 object deleted. An existing file with such bytes is refused and left alone. The mint refuses an extension that does not match the type. Verified by
document-upload.itest.ts("renamed pdf") androutes/document.itest.ts("mint refuses"). - [A4] Read: the portal and HQ downloads each answer one indistinguishable 404 for every refusal, serve only the newest version, answer 401 when signed out, and answer 503 when the authorization service fails. The refusals are: other account; other brand; staff-only; archived; hidden event; HQ without the account right; HQ same-account customer; HQ share-link viewer; missing object. "HQ without the event right" is proven at the core. Verified by
apps/caboose/src/routes/document.itest.ts("download refuses"), on real OpenFGA. - [A5] Read: submitting to a
requestedorchanges_requestedrequest moves it tosubmittedand links the document. A submitted, accepted, waived or expired request refuses and writes nothing. Verified bysubmit-to-request.itest.ts("closed request"). - [A6] Read: every web gate is tested in both states. These are the tab lists, the portal nav, the portal
documents/layout, both download proxies, and each record's documents-shown decision. The portal reads the customer-account flag, never the brand flag. Verified bydocuments-shown.test.ts(account and event), the two proxyserver.test.tsfiles,customer-documents-gate.test.ts,documents-nav.test.ts,account-record.test.tsandevent-record.test.ts. - [A7] Read: the kinds
generalandtax_exemption_certificateeach have a details schema, and invalid details refuse and write nothing. Verified bykinds.test.tsanddocument-writes.itest.ts. - [A8] Read: one visibility function (shared, not archived, own account in the route's brand, a visible event) is what the portal download calls. Verified by
visibility.test.tsand the A4 itest. - [A9] Read:
customer_documentsis declared as a dark release flag with owner Documents, retireOn 2027-06-30, issue 8339, risk tier external_effect, and ask #4270's production precondition. Verified byregistry.test.ts("customer_documents") and the feature-control seam lint. - [A10] Read: while the flag is dark, both mints answer 404 and write no
filerow. When the flag is exposed they mint a pending row underdocuments/<org>/<brand>/<file>. With the upload rail unconfigured, they answer 503. Verified byroutes/document.itest.ts("mint while dark"). - [C10] Read: #8628 (account merge) has not landed. Its thread names both new
customer_account_idcolumns (comment). If it lands before this PR, the last tip merge adds both to its merge move, guard and fixture. - [C11] Read: the size is 3,226 lines of production code, or 6,213 with tests and the walk. That is under the 4,000-line cut, so nothing is cut.
Authz / money / schema
- FGA:
customer_account#can_view_documents_record=can_view_customer_accounts from parent_brand. This is the staff documents read: brand legs only, no customer leg, so a brand sales_rep holds it (Assumption 3). Pinned insales-rep-relations.test.tsandmodel.fga.yaml. - FGA:
customer_account#can_manage_documents=can_edit_customer_accounts from parent_brand. This is the staff documents write, staff-only on the same terms. - Route gates (new,
/api/document/*): mint-document-uploadusescan_manage_documents.mint-my-document-uploadusescan_complete_taskson the account, plusevent#can_complete_tasksfor a contact on chosen events.download-document-fileusescan_view_documents_record, plusbrand#can_view_eventsin the handler for an event's document.download-my-document-fileusescan_view, plus the visibility rule andevent#can_view_generalfor an event's document.- Both staff routes carry a route-gate
portal-manifestallowlist entry of kind internal, because no portal contact may hold them. - Permission catalog:
view_account's description now names shared documents, and both new relations are in the staff-only list. This moves the preview-read fingerprints of four customer-account routes:
Preview-Read-Drift-Ack: POST /api/customer-account/get-customer-account 2219df514cc9c96c60d083dc1838b3dd0ac269b0aa5b2054caa9902b06418bbc Preview-Read-Drift-Ack: POST /api/customer-account/portal-preview-permission-choice 6f15081b3aea2d2dd7ee0fee7ef4b87abd6706fc2507080786a5257adb3599ad Preview-Read-Drift-Ack: POST /api/customer-account/portal-read-contact-permissions 9e03b703545c4f4664d2ba83f81a22531a0b4f06412b8fbf69e6f869dcff57fd Preview-Read-Drift-Ack: POST /api/customer-account/preview-add-customer-contact e943077254d71cf54d1f095d9322986ade162eec4d10181f59b4de68aa6c4f7f
- Schema source: new tables
app.document_type,app.document,app.document_versionandapp.document_request, all with restrict FKs.documentanddocument_requesteach carry anum_nonnulls(customer_account_id) = 1one-subject CHECK. There are new kind and request-status checks, and the journal subject check gainsdocument,document_typeanddocument_request. #8628 (account merge, not yet landed) is told on its thread about the two newcustomer_account_idcolumns (C10). - Money: none.
- Improved
Duplicate customer accounts split one customer's history, people and portal access over two records.
On stagingExposure
- Customer-account merge API (plan read and run) Always on
- Tombstone redirect in the portal context Always on
- Tombstone guard trigger and the set-active refusal Always on
- Web client functions for the merge No runtime path
Engineering details
PR #8650 Issue #8628 Landed 5016c38
Walk
- [A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12] Read: the only browser-reachable change is the redirect (A11), and it needs a merged account, which no screen can make yet (the HQ screen is the next part of #8314). So nothing can be walked in a browser today. Verified by the tests below: the whole Caboose integration suite and the selected specs ran at f5e54b651a; the merge, route and contact tests ran again green at 7a4239cad8 after the review fixes.
Authz / money / schema
- Schema:
app.customer_accountgainsmerged_into_customer_account_id(self foreign key, restrict) andmerged_at, with a check that a merged account is off and does not point at itself. Assumption: add-only; no row has them until the merge API runs. - Schema:
packages/db/db/custom/99-customer-account-tombstone-guard.sqladds one trigger on the 10 tables with a foreign key tocustomer_account; it refuses a row that newly names a merged account. Assumption: one primary-key read per insert or account change on those tables. - Portal context (
security/context/resolve-brand-portal-context.ts): when the caller has no contact on the account in the URL, it now asks whether that account was merged; if the caller has an active, allowed contact on the account it went into, the context route answers 410 with that account's id, and the web turns a GET into a 307 there. Assumption: anyone else, any preview and any non-GET get today's answer, and the 307 lands on a page gated as usual. - Route gate:
POST /api/customer-account/plan-merge-customer-accountand/merge-customer-accountcheckcustomer_account#can_deleteon the account that stays, then on the removed account inside the handler; a missing, foreign-brand or forbidden account answers 404. Both are listed as internal (admin-only) in the route-gate lint, asset-customer-account-activeis. - Tuples: the merge revokes the people and ownership tuples on the removed account and every tuple of a deleted contact, and grants the moved rows on the account that stays. The tombstone keeps
brand parent_brandandis_customer_account. - QuickBooks: the removed account's customer map moves to the account that stays when only it is mapped; waiting customer sync records are repointed or deleted; no sync is staged. Two different QuickBooks customers on the live file, or a live sync lease, refuse the merge.
- New
The data and the shared reads that every later step of #8552 needs.
On stagingExposure
- Feature-control registry entry `item_option_audience` Behind item_option_audience: dark on staging and production until turned on
- New columns and the default backfill Always on
- Catalog item read and brand item record return audience, default, staff-only and an archived list Always on
- Customer and order reads leave out archived options Always on
- Options in a group read in (`order`, `id`) order, so a tie now breaks by id the same way everywhere Always on
- A portal save keeps a pick whose option was archived, while its group has room (no one can archive yet) Always on
- The portal preselects each group's stored defaults (today the same options as before: the backfill flags the first N) Always on
- New frozen picks store `membership_id`, `was_default` and `picked_by` Always on
- `@panko/caboose/item-option-menu` helpers (menu text, effective audience, defaults) No runtime path
Engineering details
PR #8648 Issue #8641 Landed 870a108
Walk
- Read: [A1, A2, A3, A4, A5, A6, A7, A8] no browser-reachable change — verified by
apps/caboose/src/lib/item-option-menu.test.ts(menu text 0/1/2/3+, the staff-only default left out of the customer text, all nine audience pairs, defaults, old picks),apps/caboose/src/app/catalog/item/item-option-default-backfill.itest.ts(counts with zero, re-run,updated_atkept, one change-log row per flagged option),apps/caboose/src/app/event/event-order/option-pick-provenance.itest.ts(totals unchanged, provenance stored, old pick reads, archived options),order-snapshot.test.tsandpackages/seam-lints/src/feature-control.test.ts, run locally at 4675cf7f8d;scripts/land-checks.shruns them at the head that lands
Authz / money / schema
- Schema:
item_option_group.audience(text, defaultclient_selectable, three-value check). Assumption: every existing group reads "customer chooses". - Schema:
item_option_group_option.is_default,staff_only(both default false) andarchived_at(null). Assumption: nothing writes staff-only or archived yet. - Schema:
event_order_item_option.membership_id(FK, set null on delete),was_defaultandpicked_by(null for every old pick). Assumption: an old pick has no provenance and never reads as a swap. - Schema: backfill
99-item-option-default-backfill.sqlmarks the firstselect_minimumlive options of each group as defaults. It prints three counts, zero included. - Money: no price rule changes. A portal save now keeps a pick whose option was archived (before, it dropped the pick and the total fell). No one can archive yet. The itest proves totals do not move.
- New
Event part five (c), part three.
On stagingExposure
- The tied Change's "What happens" block, its wait for the plan read and its digest post Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- `extend-clock-plan/` accepts `{ day }` beside `{ days }`. Only the lit tied Change posts it, and caboose answers 404 while dark Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- `?/extendTiedExpiry` forwards an optional `confirmation` and returns `code: "plan_changed"`. A dark page posts no confirmation Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8653 Issue #8647 Landed c2cce3a
Walk
- [A2, A7] Org admin · "8255 · Tied change" › Agreement tab → the line reads "Offer expires S" and "Also the proposal's closing date". Page load and Change make no extend plan read. Pick S+5 → the What happens block reads "Moves the expiry date from S to S+5. The tied service agreement's date moves with it." with Required, and Save turns on.
- [A1, A4, A8] A second tab › the same tied Change › S+2 → Save → its line reads S+2. Back in the first tab, Save posts the shown plan's digest → "What extending the closing date does changed. Review it again." Nothing is written (the proposal still reads S+2). The line reads S+2, the editor stays open on S+5, and the block reads "from S+2 to S+5".
- [A3, A4, A8] Save → it posts the new plan's digest (not the old one) → the line and the proposal read S+5, and the agreement stays sent and tied.
Authz / money / schema
none. The plan read uses the same gate as the write (EditEvents on the event's own brand). This changes no permission or route gate, and no schema.
- Improved
HQ Add a contact: the Events choice says when the events read failed
On stagingExposure
- Add a contact draws a failed line with Try again when the account's events read failed Always on
Engineering details
PR #8646 Issue #8640 Landed cab764b
Walk
- [A1] Open the account's People tab while the browser's copy of the side answer names
accessEventsas failed (answerSideWithFailed). The page itself shows no failed line. Click Add contact. Where the Events choice sits, the dialog shows "Couldn't load this account's events." with Try again, and no Events choice. First name, Email and Access level take input. Remove the rewrite and click Try again: exactly oneview?part=sideread, no__data.json, no page reload. The Events choice ("All events on this account", "Only these events") then draws in the same open dialog, and the typed first name is still there. - [A2] A regression guard (it passes before this change too). Open the People tab with the side answer rewritten to the shape the server sends a viewer it refused the events read (403/404):
accessEventsnull, nothing failed (withSideEventsRefused). Add a contact shows no Events choice and no failed line, as today.
Authz / money / schema
None.
- Internal
Flag-read counters see the planned-action wrapper
On stagingExposure
- Five caboose itests count flag reads with a spy instead of a module mock No runtime path
Engineering details
PR #8645 Issue #8620 Landed 89ff5c1
Walk
- [A1, A2, A3, A4] Read: no browser-reachable change. Verified at 2f78f83a6f (later commits change only the plan file), as follows.
Authz / money / schema
none
- New
Lit: before staff update an event, change its booking fee policy, retry its booking fee or mark it booked, they see the plan the write will run, and the write runs only that plan.
On stagingExposure
- The facts form's plan line and Update event's digest check Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Mark booked's plan block and digest check Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Mark booked runs its plan with the recorder enforced in both flag states, and the More actions menu reads the plan before it opens the dialog; dark, that read answers 404 and today's dialog opens Always on
- Update event's plan runs in both flag states with the recorder enforced (an effect outside the plan rolls the save back) Always on
- Update event's calendar reconcile runs only when a date, time, timezone, venue or display name VALUE changed (before, a re-post of the stored value reconciled too, with nothing to change) Always on
- Mark booked locks the inquiry, then the event, before it books (the order every other writer already uses) Always on
- Seed capability `event-writes-plan-walk` No runtime path
Engineering details
PR #8626 Issue #8368 Landed da7118f
Walk
- [A8, A12] Org admin ·
action_plansdark · "8368 · Plain" › Details · change the guest estimate → no plan line and no plan read; Save saves it (put back the same way). "8368 · Book" › Mark booked (override) → today's dialog, with no What happens block → Keep as-is; still Qualified. - [A1, A5] Lit · "8368 · Same account" › Details · venue → Plan Walk Terrace → the plan line shows, says the floor plan is picked again for the new venue and names no venue partner access → Save → the venue reads Plan Walk Terrace.
- [A1] Lit · "8368 · To private" › Details · venue → Plan Walk Garden → the line says the old venue's partner loses access and names no grant → Save → the venue reads Plan Walk Garden.
- [A3, A4, A10] Lit · "8368 · Counts" › Details · change the guest estimate → the line names the one draft order recomputed and the staff calendar update → Save → the estimate reads the new count.
- [A1, A2, A9] Lit · "8368 · Plain" › Details · edit the internal notes only (the stored date, times and venue re-posted) → no plan line and no plan read → Save saves the notes, and the record still has no calendar entry.
- [A6, A7, A11, A13] Lit · "8368 · Book" · Mark booked (override) → the dialog "Mark this event booked?" shows What happens: Event booked with the date hold released, and the staff calendars updated, with no email row → Mark booked → the event reads Booked, its hold cleared.
Authz / money / schema
- Route gate: new
POST /api/event/plan-update-eventoncan_edit_events(the write's gate) andPOST /api/event/plan-mark-bookedoncan_manage_events(the write's gate). Assumption: a plan read is gated exactly as its write, as every plan read is. - FGA venue partner: Update event now stages the venue_partner revoke/grant from the venue accounts read once for the plan (
stageVenuePartnerDelta, in the same transaction), not from a second venue lookup inside the write (syncVenuePartnerTuple, removed). Same edges, same rule: only when the account changes, a private property has none. - No schema change. No money rule changed.
- Improved
On the customer account record, a side field whose own read failed on the server is settled to its default (an empty list, zero) by the account view endpoint.
On stagingExposure
- Customer account record draws a section, rollup source or Receive payment whose server read failed as failed, with Try again Always on
Engineering details
PR #8638 Issue #8633 Landed 580927d
Walk
- [A1] platform admin · Rhea Repeatwalk › Messages, with the account's side answer (
view?part=side) namingmessagesin itsfailedlist (the spec adds the one entry to the real answer, whose list it first checks is empty) → the Messages section shows "Couldn't load this section." with Try again and no conversation card; the Overview's Messages card shows the same line, and it is the only failed line on the record (People card drawn, nothing left loading); the rewrite removed, Try again → exactly one side GET, no__data.json, no page reload, and the conversation card draws - [A2] platform admin · Rhea Repeatwalk › Messages with the real side answer → the conversation card draws and no failed line shows (no claim on how many threads)
Authz / money / schema
None. Receive payment still opens only on a successful options read. A failed read shows a line, never the button.
- Improved
An online payment attempt must never sit in a state that the customer and staff cannot read.
On staging- A customer pays by bank account, and Stripe refuses the confirm (for example, it blocks micro-deposits to that account). The customer sees at once that no payment happened, why, and that a bank login or a card still works. The invoice can be paid again immediately.
- The pay form loses Stripe's answer (a timeout) and retries the confirm. The retry gets Stripe's real answer, not a false mandate error.
- A brand admin opens the event's Billing › Online attempts. Each attempt that has not settled states in words what Stripe reports, for example "Stripe refused the payment: Microdeposit transfers have been blocked", "The customer did not finish card authentication" or "The card was declined". The admin does not open the Stripe dashboard to learn this.
- A brand admin sees an attempt that holds an invoice and cannot move money (
open,ready, orconfirmingwith nothing in flight at Stripe). They cancel it from the same row, and the invoice is open for payment again. - Panko lost the write that marks a bank verification as pending. The hourly reconcile repairs the row to "Awaiting bank verification", so the customer keeps the verify link and staff get the cancel action.
Exposure
- Refused confirm ends the attempt, with Stripe's message for the customer Always on
- Staff sentence with Stripe's state and its read time on the event's Online attempts tab Always on
- A retry sends the stored token at `requires_confirmation` too (A3) Always on
- The reconcile stores each Stripe read and moves a lost micro-deposit write to verifying (A6) Always on
- The pay form answers a 409 as a known end, "This payment was canceled. No payment was made. Start again." (A9) Always on
- Staff cancel for open, ready, stale confirming and verifying attempts Always on
- Seed wait attempts and the review Walk No runtime path
Engineering details
PR #8635 Issue #8319 Landed cf14848
Walk
- [A4, C4] Platform admin · Acme Corporate Brand HQ › event "Checkout wait — stuck confirming card" › Billing › Online attempts → the card attempt reads "Stripe has no usable payment method for it. Stripe's message: Your card was declined." with a "Read …" time, and "Cancel this payment" is offered (it has been confirming for over 15 minutes). Do not cancel it.
- [A5, C4] Platform admin · event "Checkout wait — open card without payment intent" › Billing › Online attempts → the row reads "The customer has not confirmed this payment, and no payment was started at Stripe. No money has moved." Click "Cancel this payment". The dialog says "Cancel this payment?", "This cancels the customer's payment of $…", and the bullets "The customer's payment attempt is released.", "No money moves.", "An open invoice can be paid again." and "Panko does not tell the customer." Confirm → the row reads Canceled, "Canceled by staff", with no cancel button; the invoice is still open with its reservation released.
- [A1, A2] Read: a confirm Stripe refuses ends the attempt. The customer gets 402 with Stripe's message (bank: "No payment was made. Stripe refused it: … You can pay by logging in to your bank, or by card."). The payment reads Failed with Stripe's message, the invoice is free again, the PaymentIntent is canceled, and the failed-payment notices go out. This holds whichever writer ends it first (this confirm or the webhook). Verified by
apps/caboose/src/routes/invoice-payment-refusal.itest.ts(5 tests) with the msw Stripe; the local stack has no real Stripe (C6). - [A3] Read: a retry sends the stored token for
requires_payment_methodandrequires_confirmation, and a used token cancels nothing and ends nothing. Verified bypayments-methods.test.tsandinvoice-payment-refusal.itest.ts. - [A6] Read: the reconcile moves a
confirmingattempt whose intent waits for micro-deposits toverifyingwith Stripe's facts, and stores each Stripe read that succeeded; a failed read changes nothing. Verified byreconcile-open-payments.itest.ts. - [A7] Read: the table "Every attempt state and what each side sees" below lists every pair.
staff-billing-view.test.tschecks that every pair the reconcile leaves alone has a sentence. - [A8] Read: a staff cancel that fails at Stripe puts
open,readyandconfirmingback as they were, and a second cancel works. Verified byapps/caboose/src/routes/invoice-payment-staff-release.itest.ts. - [A9] Read: a confirm on an attempt staff released answers 409, and the pay form returns to the payment step with "This payment was canceled. No payment was made. Start again." A 409 on the retry stays ambiguous, because the first confirm may have gone through. Verified by
apps/web/src/lib/components/invoice/confirm-failure.test.ts.
Authz / money / schema
- Route gate: the staff cancel (
ManageInvoices, unchanged permission) now claimsopen,ready,confirmingandverifying, where it used to claim onlyverifying. The server refuses aconfirmingattempt confirmed less than 15 minutes ago. Staff claim only the status they were shown. A cancel that finds the payment processing or succeeded at Stripe still cancels nothing. - Payment write: a staff cancel that fails puts the row back to the status it was claimed from (
restoreClaimedCheckout), with the canceler cleared. - Payment rule: a retry sends the stored ConfirmationToken at
requires_confirmationas well asrequires_payment_method. - Staff read: an attempt canceled with no payment row reads "Canceled by staff" (or the customer's reason) as its failure reason.
- Payment rule: a Stripe refusal at confirm ends the attempt there (failed, Stripe's message stored, invoice released, PaymentIntent canceled). A network error, a timeout, a 5xx, a rate limit, an auth error or a token error stays ambiguous as before (fork 3).
- Payment rule: the reconcile moves
confirmingtoverifyingwhen Stripe waits for micro-deposits. - Schema source: four nullable columns on
app.payment_checkout_reconcile_read(stripe_status,stripe_message,stripe_next_action,stripe_read_at). It is expand only; the landing generates the migration. - Provider write with no action-plan step kind, for #7821 to pick up: the PaymentIntent cancel on the confirm route after a refusal (
confirm-invoice-payment.ts). The confirm route stays plan-exempt, althoughapplyPaymentIntentFailedruns its system plan there.
- New
Inquiry part four of #8049.
On stagingExposure
- The thirteen moved inquiry entries and the two web plan reads answer as before, lit and dark Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- One more unconfirmed mail inquiry in the dev seed, for this PR's Walk No runtime path
Engineering details
PR #8634 Issue #8328 Landed d222ca4
Walk
- [A4, A7] Org admin · a new inquiry made with the New inquiry wizard in acme-weddings,
action_planslit for the brand · open Qualify → before "Qualify and create event", the dialog lists what qualifying does → confirm → the inquiry is Qualified. - [A6] Org admin · the same inquiry, lit · Add another event, pick an event type and a venue → the dialog lists what adding the event does before Add → Add → the inquiry shows the new event.
- [A4] Org admin · the inquiries list, lit · New inquiry for a new customer with an email → before Create, the wizard lists what creating does, the Welcome included → Create → the inquiry opens; Close… → Void → the dialog lists what voiding does → Void → the inquiry is Void.
- [A7] Org admin · the seeded mail inquiry from Casey Planconfirm in acme-corporate (new in the seed, owned by this Walk), lit · Confirm customer → the panel lists what confirming does, the Welcome included → Confirm → the inquiry is confirmed and the Welcome is in Mailpit.
- [A5] Org admin ·
action_plansdark (the override removed) · New inquiry for a new customer → the Review shows the plan's own rows, with no Welcome row for the holder and no Skip → Create creates the inquiry as today. - [A1, A2, A3, A5] Read: the digest pins (
planned-digest-pins.test.ts, "hand-wired inquiry plan digests (#8328)"), the dark test of each moved entry (the table in the plan, A3), the route-annotation seam lint and the caboose and web type-checks, green in land-checks.
Authz / money / schema
none. The route gates (
requireAuthZ) are unchanged on every moved entry. Reject's account turn-off check (#7466) runs at the same point as before. - Improved
The inquiry record's panels stop using `<Streamed>` and read through the screen kit, the way #8616 moved the event record.
On stagingExposure
- The inquiry record's panels draw the screen kit's states: "Couldn't load this section." with Try again on a failed panel, and failed (never data from before the save) when the refresh after a save fails Always on
- The inquiry drawer's linked event, date hold and warnings read through the same rule Always on
- The refresh line's shorter words after a save ("Couldn't refresh this inquiry.") Always on
- The `hq-screen-kit` lint refuses `<Streamed>` under the inquiry record No runtime path
Engineering details
PR #8636 Issue #8632 Landed 61b741b
Walk
- [A1] Staff · Nico Noholdnew's inquiry record · open it → the frame shows at once, each panel fills from the side read, and no
streamed-pendingmarker stays. - [A2] Staff · Nico's record with the side read answering 500 on every attempt · open it cold → each default card shows "Couldn't load this section." with Try again, and the Date and Also on this day sites show their own words with Try again; let the read through again and click Try again → the panels fill with no page reload.
- [A3] Staff · Nico's record after the side answered · with the side read failing, save the Catering brief's Event timing → no panel shows data from before the save, the cards offer Try again, and the refresh line reads "Couldn't refresh this inquiry." Then a background refresh that fails with no save → the panels keep what they showed and the line reads "Couldn't refresh this inquiry. Showing what was loaded before."
- [A4] Staff · the inquiry drawer (
?drawer=inquiry:<Nico>) with the side read failing · open it → the drawer shows the inquiry, with no skeleton left and no stale panel. - [A6] Staff · Ada Addplan's record · open ⋯ → Add another event, then with the side read failing save the Catering brief → the dialog closes, ⋯ has no Add another event, and the refresh line shows; Try again → the dialog opens again from the new read; closed, ⋯ offers Add another event again (the dialog is never submitted).
Authz / money / schema
none
- Improved
A customer who opens a link to a thread that they are not in gets a bare "Not found" page.
On staging- A co-holder opens a message email that a family member forwarded, and wants to write to the brand.
- A customer opens an old message link after staff changed who is on the thread.
- A customer who is signed in as a different person opens a link.
- A venue contact meets the same cases on the venue portal.
Exposure
- Customer and venue message mail links go to `/brand/<brand>/threads/<id>` and `/org/<org>/threads/<id>` Always on
- `/thread/open` resolves customer and venue readers; Messages pages show the not-shared notice; old portal thread addresses that 404 follow the resolver Always on
- New seed contact Vera Venn on Cedar Hall Venues (dev and e2e seed) No runtime path
Engineering details
PR #8629 Issue #8313 Landed fc3314b
Walk
- [A1, A7] Omar, signed out ·
/brand/acme-weddings/threads/<thread>→ the brand's login → sign in → Partwell Events Messages with "This conversation isn't shared with you" and the New message button; the thread's subject is not shown. - [A2] Pia, signed out · the same link → brand login → the portal thread page opens.
- [A3, A11] A customer of another acme-weddings account · the same link → brand login → "No access to this thread" with a "Portal home" button to
/brand/acme-weddings; nothing names the thread or the account. - [A4, A7] Vera, signed out ·
/org/<org>/threads/<venue thread>→ the organization's login → venue Messages with the notice; its second line matches whether a New message button is shown. - [A5] Omar · the old address
/brand/acme-weddings/portal/customer/<account>/messages/<thread>→ Messages with the notice, not "Not found". - [A6] Staff (seeded admin) ·
/threads/<thread>→ the HQ thread page, as today.
Authz / money / schema
GET /api/thread/opengate:requireThreadOpenAuthZdispatches by the audience the entry resolved. Staff and a miss keeprequireThreadReadAuthZunchanged. A customer contact askscustomer_account#can_view_generalwitheventRelation: can_view_general, the portal detail route's own gate, then the thread must be in the reader's chosen events. A venue contact asksvenue_account#can_view. Assumption: the resolver only picks a destination; the gate decides, evaluated as that contact (grants load from the profile, as on a portal request).- "A thread of my account" is the portal list's existing predicate (some participant of the thread is a contact of the account), shared by the list query and the new tie helpers in
thread-repo.ts. It never reads the thread's home account columns. No FGA relation, permission type or schema change.
- New
Settings part three of #8049.
On stagingExposure
- The organization, event-type, payment-setting, image-upload, logo-upload, customers-may-add and organization team-member entries now register through the planned-action wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- `app/action-plan/action-plans-lit.test.ts` and one `brand-look-plans.itest.ts` case No runtime path
Engineering details
PR #8622 Issue #8305 Landed 4fc595e
Walk
- [A1, A2, A3, A4, A5, A6] Read: no browser-reachable change — verified by the digest pins (
apps/caboose/src/app/settings/settings-part-three-pins.test.ts,app/billing/payment-settings-plan.test.ts,app/action-plan/planned-digest-pins.test.ts), the newapp/action-plan/action-plans-lit.test.ts, the lit and dark itestsorganization-setting-plans,organization-image-plans,partner-contact-customers-may-add-plans,team-member-plan,event-type-setting-plans,event-type-update-plan,payment-settings-plans,payment-settingsandbrand-look-plans(all underapps/caboose/src/routes/), the caboose typecheck andlint:seams, green at 11f1c652b2 (land-checks; the only commit after a161bc8ba7 moves one allowlist entry inapps/caboose/src/app/event/journey-rules-readers.test.tsfromroutes/event-type.tstoupdate-event-type-planned.ts, where the type edit's rule read now lives); the web is untouched, and the ten lit review-walk specs of these surfaces ran on a flag-on bed: eight pass, and 7845 and 7891 fail the same way at the base (see Record).
Authz / money / schema
- Payment settings (
routes/payment-settings.ts→app/billing/payment-settings-planned.ts): the seven pre-save writes andrefresh-processor-account-statusmove onto the planned-action wrapper. Each keeps today'saction_plansscope, the account-row lock as the first statement of the lit load, and thename_refusedrollback. No route gate, FGA relation, payment rule or schema changes.
- Improved
The flat HQ still has old streamed sections and three small loose ends outside the brand tree.
On stagingExposure
- Account record, Catalog → Import, Payments list and team list draw each section from its view state Always on
- Order template and Catalog item records leave through the leave picker after their own delete Always on
Engineering details
PR #8631 Issue #8617 Landed f679731
Walk
- [A2, A3] platform admin · Globex Corporation › Settings · Edit · Label · Save changes with the account's side view read (
view?part=side) answering 500 → the save lands; the side sections on the page draw a failed line with Try again (view-failed; the spec asserts one is shown), the header's Receive payment is absent and no refresh-failed line shows; released, a section's Try again → the side is read again, the sections draw their data and Receive payment is back, no page reload - [A2, A3] platform admin · Globex Corporation's record, then Events; the clock past the 30 s staleTime, the side view read answering 500 on every attempt, back to the record with no save since it was read → the record draws at once and keeps its sections' data (no
view-failed, Receive payment shown) with one "Couldn't refresh this account. Showing what was loaded before." line and Try again; released, Try again → the line goes - [A3] platform admin · acme-catering Team members, then Events; the clock past the 30 s staleTime, the rows read (
team-members/view?part=rows) answering 500 on every attempt, back to the list with no save → the rows stay with "Couldn't refresh the team. Showing what was loaded before." and Try again, never "Couldn't load team members."; released, Try again → the line goes and the rows stay - [A2] platform admin · Catalog › Import → the Prices card with its "Open prices" link; the Payments list → its frame settles with its rows or its empty line, and no failed state
- [A5] platform admin · New template in Acme Weddings (run-named) → its record; the template deleted in the database (as another person's delete), the clock past the 30 s staleTime, Events and back to the record with no leave running → the record's read answers 4xx and the not-available state shows, the editor gone; a second run-named template → its record · Delete (confirm) → the "Template deleted" toast, then the Order templates list without the row, the not-available state never drawn in between
- [A5] platform admin · Items · Create · Shared (run-named) → its record · Delete item → the Items list with the row gone, the not-available state never drawn; at most one read of the item's view after the click, answering 404
Authz / money / schema
None. Receive payment still confirms on the server. The record only hides the button while the account's balance read has failed after a save.
- Improved
The event record still draws its panels through the old `<Streamed>` / `<StreamedCard>` components (68 references in `hq/events/[event_id]/event-detail.svelte`, more in `event-drawer-body.svelte`, `event-view-cards.ts` and their tests).
On stagingExposure
- The event record draws each card from the cards view through `cardView`: a failed card shows "Couldn't load this section." with Try again, and a refresh that fails after a save never shows the cards from before it Always on
- A failed background refresh of the cards with no save before it keeps the cached cards and shows one record-level line with Try again Always on
- The event drawer reads its six panels through the same `cardView`; a failed card reads as "—" Always on
- The Change date dialog closes when its card's read fails after a save and offers Try again Always on
- The `streamed-component` rule of the `hq-screen-kit` seam lint No runtime path
Engineering details
PR #8624 Issue #8616 Landed ec139e5
Walk
- [A1, A2, A5] Open the event record's Details tab → the frame shows, one
view?part=cardsread answers, everystreamed-pendingmarker clears, no card shows "Couldn't load this section.", and the Event details card's Edit is enabled. - [A3] Details › Event details › Edit, change Internal notes, then fail every cards read and Save → the notes are stored; on the Overview tab the failed cards show "Couldn't load this section." with Try again, nothing says "Refresh the page", and no record-level line shows. Unroute and click Try again → one new cards read, every failed card is gone, and the document did not reload. Then, in a second tab with its clock installed: open the record's Details tab, move the clock past 30 s, fail the cards read, go to Events by the breadcrumb and come Back → the cached cards stay (no failed card, the new notes still shown) and the line "Couldn't refresh this event's sections. Showing what was last loaded." shows; unroute and its Try again clears it.
- [A4] With the cards read failing, open
/org/<org>/hq/events?drawer=event:<id>→ the drawer shows the event, its Tasks count reads "—", no skeleton oraria-busyis left in it, and it has no Try again of its own. - [A6] On the record's Details tab, open Event details › Edit and change the notes, then ⋯ More actions › Change date… → the "Change event date" dialog shows. Fail the cards read and submit the facts form → the dialog goes and "Couldn't load the date change." shows with Try again; unroute and click Try again → the dialog shows again from the new read.
Authz / money / schema
none
- New
Let the release driver start `action_plans` now, before project #8049 closes (Steven's ruling of 2026-12-01, rules 2 and 6: https://github.com/panko-app/panko/issues/8049#issuecomment-7333068354).
On stagingExposure
- `action_plans` registry outcome moves from #8049 to #8619, so this card's close starts the release driver Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Feature-control README: the outcome-move rule and the `action_plans` slice note No runtime path
Engineering details
PR #8623 Issue #8619 Landed cd9b5be
Walk
- [A1, A2, A3, A5, A6, A7] Read: no browser-reachable change. Verified at 5307cd9e0a34, as follows.
Authz / money / schema
none
- Improved
The speed part of #7562's close, part 1.
On stagingExposure
- List rows load their record page's code Always on
- The preset order record's and the order page's leave after a delete Always on
Engineering details
PR #8613 Issue #8608 Landed 900dae8
Walk
- Sign in as the platform admin at full width (1440×900). Open HQ → Order templates, wait a moment after the rows show, then click the first row. The record's frame shows at once, and the click requests no page code: the list loaded it when its rows were drawn. Do the same on Preset orders, Inquiry forms, Event types, Team members, Customers, Venues, the Item catalog, Agreement templates, Resource templates and Brands, and on the pinned Item catalog as Wendy Planner (a brand admin, who is the one viewer who sees it).
- Open HQ → Events, Inquiries, Invoices, Agreements and Payments, a venue's Events and Inquiries, and the catalog's Fee types and Options. Their rows open a drawer or a dialog, so none of these lists loads a record page's code.
- Block the record page's code in the browser (DevTools → Network → block the page code requests), load Order templates, unblock, and click a row. The record still opens, by a full page load.
- Make a preset order for the test (New preset from BBQ Buffet on Acme Weddings), then delete it from its record. The record stays drawn until the Preset orders list shows, never "Not found", and the list has no row for it.
- On the booked event "Preview walk read", make a blank order, then delete it from its page. The order stays drawn until the Orders tab shows, and the tab has no row for it.
- Read: the two measurements on #7562 (https://github.com/panko-app/panko/issues/7562#issuecomment-7404354589) and their ledger lines (https://github.com/panko-app/panko/issues/7562#issuecomment-7404356948).
- Improved
The kit and refresh part of #7562's close, part 1.
On stagingExposure
- The Coming up card reads its planned emails from the email timeline view (a refused read now draws no email rows instead of the error line) Always on
- The JSON email endpoints are gone; the brand old addresses 307 to the view address Always on
- A failed view read closes its answer body Always on
- A planner save refreshes the email reads under the sheet Always on
- Customer accounts and the Venues list show their frame's error before its data Always on
- A saved venue "Customers may add" flip refetches the venue account view Always on
- An event type or inquiry form planner save refreshes its `notification` reads once, from the sheet, not twice Always on
- The `error-after-data` seam lint rule No runtime path
Engineering details
PR #8612 Issue #8607 Landed c671029
Walk
- [A1] Platform admin as org staff · Setup › Prices · change one item price in the seed's current season (name the season by id read at walk time) and save → the new price shows, no document reload, no
__data.json; put it back. - [A1] Account settings · flip one notification preference → saved, no reload, no
__data.json; change own name in contact info → exactly one__data.jsonand the header shows the new name; put both back. - [A1] Setup › Notification language, on the many-brands test org (acme-catering exposes
reminder_plans, so its page leads to Setup › Notifications) · save one override, then reset it → each shows, no reload, no__data.json. - [A1, A5] An event ahead of today with
reminder_plansexposed for its brand · open the planner sheet, change one planner row (a send date or on/off) and save → the sheet shows it with no__data.json; close the sheet → the email timeline under it (Activity › Emails) shows the changed row with no reload; put it back. - [A2] The same event · Overview › Coming up → at least one
overview-coming-up-emailrow; the read goes to…/email-timeline/event/<id>/view, no request to the old JSON address, and thestreamed-pendingmarker is gone. - [A2] The old addresses · GET
…/hq/brand/<b>/email-timeline/event/<id>?records=2(no redirect follow) → 307 to/org/<org>/hq/email-timeline/event/<id>/view?records=2; same forsent-emails; GET the deleted JSON address/org/<org>/hq/email-timeline/event/<id>→ 404. - [A3] An event address that does not exist (
/org/<org>/hq/events/<random uuid>) → the not-available screen draws and the page reaches network-idle (page.waitForLoadState("networkidle")within 10 s), because the failed view's body is closed. - [A4] Customer accounts list with its frame read answering 500 (page.route on the frame view's address, fulfil 500) → "Couldn't load New customer." and Retry show where Create account was; unroute and Retry → Create account shows.
- [R1] Venue account Cedar Hall (messaging-inbox test org) · Customers may add: switch Cora Cedar on → saved; Back to venues, then the browser's Back → the record shows Cora Cedar on, with no document reload (the cached venue account view was refetched after the save).
Authz / money / schema
- Route gates: the two flat HQ JSON email endpoints (
hq/{email-timeline,sent-emails}/[scope]/[id]/+server.ts) are deleted. Theirview/addresses stay and run the same gate. The two brand-tree redirects now point at…/view; they redirect only and read nothing. Assumption: no current code reads the JSON addresses (every reader moved in this PR).
- New
With `action_plans` lit, a manager who opens the credit-a-refund dialog sees what submit will do for the meaning they chose (both meanings), before they submit.
On stagingExposure
- The Classify refund dialog shows its plan before Confirm, and a lit classification refuses a stale plan with `plan_changed` Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The plan read `/plan-classify-refund` Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- Dark, the dialog makes one plan request that answers 404, then shows today's dialog Always on
- The Walk spec No runtime path
Engineering details
PR #8601 Issue #8363 Landed d8dcb55
Walk
- [A1, A8] Staff · acme-corporate · event "Globex Refund Review" → Billing › Payments → Classify refund. The dialog shows What happens, in this order, each Required:
- [A1, A8] Pick "Customer still owes it". The plan reads again and shows one row: "The refund is recorded as still owed".
- [A1, A2, A6] Pick "The sale got smaller" again. The same two rows come back. Confirm. "Refund credited to the invoice" shows, and on Billing the invoice reads Paid with its refund credit.
Authz / money / schema
- Authz. The new read
/plan-classify-refunduses the write's gate, in the same order:can_manage_invoices(sales-rep-route-gates.test.ts), then the brand read andrefund_invoice_credit, thenaction_plans. The web proxyhq/events/[event_id]/classify-refund-plantakes the brand from the event (eventActionBrand), requires ManageInvoices, and answers 404 otherwise, as theclassifyRefundaction does. - Money. Dark, the classification writes exactly as before, in the same order. Lit, it opens the plan under the invoice locks, before the first credit insert. A refusal after the classification insert rolls the whole transaction back. After the credits, each invoice's status is compared with the plan's; a difference is
plan_violation(500, logged). - Bookings, lit only. The bookings a credit completes run inside the write's transaction, not after it. Three differences from dark: a booking error or a different verdict rolls the classification back; the
event.autobook.*logs do not occur (the plan recorder records the step); the invoice and refund locks are held through the bookings. - Schema. None.
- Improved
A staff member on staging with `action_plans` on gets, at every HQ entry point, either a correct plan or today's behaviour.
On stagingExposure
- `action_plans` registry entry: `providerProofs: ["customer_email", "money"]` (read only by the release driver and `provider-proof.yml`) and a current description, which platform admins see on the releases page as the flag's meaning and in its "Exposes … in staging" confirmation; staff never see it Always on
- `flag-proofs/action_plans.customer_email.sh`, `flag-proofs/action_plans.money.sh`, `planned-invoice.sh`, `action-plans-proof.sh` and their tests No runtime path
- `qbo-round-trip-check.sh` reads each invoice action's plan and sends its digest when the plan answers Always on
- Staging seed: the proof's own customer account, event and billing contact in brand `qbo-canary`, and the proof login's seat Always on
- The `proof-fixture` action Always on
- `apps/e2e/helpers/draft-agreement.ts` and `6636.spec.ts` step 6 No runtime path
Engineering details
PR #8604 Issue #8365 Landed a03673d
Walk
- [A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12] Read: no browser-reachable change — verified by the lit audit comment (https://github.com/panko-app/panko/issues/8365#issuecomment-7397387504),
apps/e2e/staging-integration/test-qbo-round-trip-check.sh,flag-proofs/test-action_plans.customer_email.sh,flag-proofs/test-action_plans.money.sh,bash scripts/provider-proof.sh check action_plans customer_email,money, the itestsapp/accounting/staging-qbo-canary.itest.ts,seed-staging/action-plans-proof-fixture.itest.tsandseed-staging/staging-tenant.itest.ts, and the flag-on spec run of C4 (portal-confirm-detailsand the audit's named specs on a bed seeded withSEED_EXPOSE_RELEASE=action_plans,E2E_FLAG_PROOF=action_plans): 16 passed, 1 flaky that passed on retry, at 26a4272e18 (log in the plan's "Runs and review"); later commits change only the plan
Authz / money / schema
- The staging-only
/api/accounting/staging-qbo-canaryroute gains a read-onlyproof-fixtureaction under its existingcan_manage_billinggate and 404 outside staging; it answers only the proof account's ids. - The staging seed gives the provider-proof login (
provider-proof@automation-staging.panko.catering) a Billing Admin seat inpanko-staging-qbo, the automation-owned QuickBooks sandbox org. Assumption: that org holds no human data; the human sandbox (panko-staging) is never written. - No schema change. No invoicing or payment rule changes; the proofs and the QuickBooks round-trip check publish and void invoices in the sandbox org only, through the existing routes.
- Improved
The first part of #7562's close: take the flat HQ (`hq/**` outside the brand tree) and `lib/` off the old load, drawer and refresh paths now, while the brand tree waits for #6391.
On stagingExposure
- Inquiry, thread, venue, team member, task and venue contact drawers opened from a flat HQ page appear in the address as `?drawer=<kind>:<id>`, so reload, copy link and new tab keep them Always on
- An HQ edit form under a drawer keeps its edits when a drawer opens over it; a real leave asks once Always on
- The old drawer reload, preload and payload code is deleted No runtime path
Engineering details
PR #8610 Issue #8603 Landed 83eb4ff
Walk
- [A1, A12] Platform admin · HQ Dashboard · Needs attention · click a New inquiry's name → the inquiry drawer opens, the address gains
drawer=inquiry:<id>on the Dashboard's own path and history state holds no drawer entry; reload → the same drawer on the same inquiry, and still no drawer entry in history state. - [A2, A6] HQ Dashboard · Inbox · "Dana Dashwalk" (the "Dashboard walk: menu question" thread) →
drawer=thread:<id>; J → the drawer steps to the next Inbox row (the id in the address changes). Needs attention · "Dashboard walk: confirm the breakfast menu" →drawer=task:<brandId>:manualTask:<taskId>:<eventId>; reload → the same task. - [A10] In the task drawer, Mark done → the drawer still shows the task, marked Done, never "This task isn't available."
- [A3] Open the Dashboard at
?drawer=inquiry:<made-up id>, at?drawer=inquiry:<an inquiry of the messaging-inbox org>and at?drawer=task:nope, and Sedgemoor Hall's venue account at?drawer=venueContact:<made-up id>and at?drawer=venueContact:<a venue contact of the messaging-inbox org>→ each drawer shows its not-available line. - [A2, A6] Sedgemoor Hall's venue account · click Odile Marchetti →
drawer=venueContact:<id>on the account's own path; J → the next shown contact, Pascal Dunmore. - [A8] Messages · a New message link (
?thread=<team thread>&new=team&to=<Sasha>) → the Brand step; pick Inbox Walk Catering → New message opens and the intent leaves the address; Cancel (Esc) → closed; click Theo Park's name on his message →drawer=teamMember:<id>, New message stays closed and the address has nonew=orto=. - [A9] HQ Dashboard (a flat HQ page) · open a New inquiry's drawer and close it → no request for
__data.json(asserted on a built host). - [A11, A13] Dana Dashwalk's customer account record · click the event "Dashboard Walk Breakfast" → the event drawer opens on
page.state(history state's top drawer entry is that event) and shows its title; while it opens no__data.jsonrequest and nodrawerLoad-marked request is sent. - [A7] Sedgemoor Hall's venue account · Edit, change the account name (unsaved) · click Odile Marchetti → no prompt, the drawer opens (
drawer=venueContact:<id>) and the name keeps the edit; close the drawer → no prompt, the drawer is gone and the name field still holds the unsaved value. - [A4] Inquiries list · All, searched for Dashwalk · on Dana Dashwalk's inquiry row click her name → her account drawer docks beside the list on
page.state; in it click Dana Dashwalk under People → her contact stacks onpage.state; Edit and change her first name (unsaved) · click the inquiry row (it opensdrawer=inquiry:<id>in the address) → exactly one prompt; dismiss → the first name keeps the edit, both drawers stay and the address is unchanged. - [A2] Dana Dashwalk's customer account record · on the "Dashboard Walk Breakfast" event row click its venue → the venue drawer opens with the venue's name, the address gains
drawer=venue:<id>on the account's own path and history state holds no drawer entry; reload → the same venue.
Authz / money / schema
none. A drawer opened in the address reads its record through the same view reads and their own authz checks as before. A record the user may not see shows "not available".
- Improved
The event and inquiry Activity › Logs get kind filter chips (Everything, Orders, Guests, Payments, Steps), so an admin can see only the order edits, only the guest list saves, only the money, or only the lifecycle steps.
On stagingExposure
- Kind chips on the event Log (Everything, Orders, Guests, Payments, Steps) and the inquiry Log (Everything, Steps) Always on
- `kind` on `POST /api/event/list-event-activity` and `/api/inquiry/list-inquiry-activity`, and `?kind=` on the web Log endpoint Always on
Engineering details
PR #8606 Issue #8578 Landed 5b9eaf1
Walk
- [A1, A3, A6] Staff · Activity polish walk › Activity › Activity → chips Everything, Orders, Guests, Payments, Steps, Everything chosen, the first read sent no kind; Orders → only order lines, the order's edits still one run; "Show earlier" reads within Orders and every line is still an order line.
- [A1] Same Log · Guests → only guest list lines.
- [A4] Same Log · Payments, then Steps → one line each ("No payments or invoices yet.", "No steps yet."), the chips still there; Everything → the lines are back.
- [A5] Raman–Ortega wedding › Activity › Activity · Payments → at least one line, every line a payment or invoice line; Everything holds a line that is neither.
- [A5] Order closure — complete › Activity › Activity · Steps → booked, finalized and completed, every line a step; no order line.
- [A1, A5] A qualified inquiry › Activity › Activity → chips Everything, Steps only; Steps holds its created and qualified lines and not its appointment request line.
Authz / money / schema
none. The two record Activity routes take an optional
kind; it narrows the rows of the same gated read after the record is resolved in the brand (no gate moves). No schema change, no index.
Thursday, December 3, 2026
- New
The hand-wired plans of `change-event-date` and `send-booking-package` move onto `definePlannedAction`, each digest pinned before its move and unchanged after.
On stagingExposure
- The Change date and Send proposal plan reads and planned writes on the wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The staff guest-list submit's flag read moved from the use case into the wrapper Always on
- The `/set-finalization-cutoff` `plan-exempt` line and the plan baseline row (5 → 4) No runtime path
Engineering details
PR #8599 Issue #8364 Landed 28c6d49
Walk
- [A1, A4, A5, A6, A7] Staff admin of acme-corporate with
action_planson for the brand · the event page of "Date move walk: booked event" · More actions › Change date… → pick a day five days off → Next → before submit, step 2 shows the plan rows: the event record, the calendar entry, the final invoice's record and its QuickBooks update → submit → the event date moves, the final invoice's due day moves by the same number of days, one QuickBooks invoice update is staged, and no customer notification is staged. - [A2, A3, A8] The same admin with
action_planson · the seeded Qualified prospect "Booking walk read blocked" (Rory Booker & Sam Cosign) · Send proposal → the dialog shows the send's plan rows, and the proposal email can be re-worded → re-word it and Send → the event moves to Proposal, and the email with the re-worded sentence reaches Rory Booker in Mailpit.
Authz / money / schema
none. Every route keeps its
requireAuthZgate (/send-booking-packagealso keepsrequireFeePlanAuthZ), in the same order. No invoicing or accounting rule changes: the change-date and send cores are called as before, with the same plans. - New
A gap that #8296's consult found (F11; https://github.com/panko-app/panko/issues/8049#issuecomment-7343633583).
On stagingExposure
- The held File here plan read (the `held-file-plan` proxy) and its panel in the triage picker Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The held rows' per-brand `action_plans` read on page one and Load more (one caboose call per picker brand, dark or lit) Always on
- The Walk's seed held reply No runtime path
Engineering details
PR #8605 Issue #8397 Landed aeb34c0
Walk
- [A1, A4] Browser: with
action_planslit on "Triage Picker Catering" (e2e-triage-picker), open Messages → Triage. Select the held reply "Re: Lantern hire for the terrace" (from events@shared-inbox.test) and press File here on Ada Sharewell's "tasting date" conversation. The panel opens with the What happens row for who the reply reaches, and Confirm and Cancel. Nothing is filed yet: the reply is still in Triage. - [A1, A4] Browser: press Confirm. It posts the digest of the plan the panel showed. The reply leaves Triage, the toast says "Filed in the thread with Ada Sharewell.", and one message is in Ada's conversation, as Ada.
- [A1, A2, A3, A5, A6, A7, A8] Read:
inbox-triage-plan-read.test.tscovers the alone path, dark (no read), a 404 (files at once), the write's refusal,plan_changed(re-read, new digest posted) and every held write answer (409 changed, 503plan_unavailable, a plain 503 as failed, 404 gone, 422 refused).held-file-plan/server.test.tscovers both pages' gates (the held writes' own resolver), caboose's 404 and 403 as 404, its 422 as 409, anything else as 502, a bad body as 400, and that noplanTriage*form action is left.inbox-load.server.test.tsandpage.server.test.tscheck that page one and Load more give each picker row its brand's flag, with one read per brand and none for other rows.
Authz / money / schema
- Authz: the new proxy checks only the page scope, the same as the held writes' form actions. Caboose gates both the read and the write with
can_manage_threads. A caller the page gate refuses gets 404. - Money: none.
- Schema: none.
- New
Brand part three of #8049, cut from #8296 at its cut line (https://github.com/panko-app/panko/issues/8049#issuecomment-7346192660).
On stagingExposure
- The four moved brand registrations (create customer account, create team member, and their plan reads) Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8602 Issue #8396 Landed cc23f47
Walk
- [A1, A3, A6] Read: lit,
routes/brand-create-plan.itest.tsandroutes/team-member-plan.itest.tspass unedited. Both reads answer the same fields as before (steps,digest, and the customer account'saccessWelcome). Each write runs only the plan it rebuilds, and a stale digest answers 409code: "plan_changed"with the same sentence as before. - [A4] Read: dark, the "plan read and dark write query counts" test passes unedited (7 / 6 / 81 / 32), and so does "dark parity": both reads answer 404 and both writes answer 200. No test pins each refusal's order and sentence; the review compared all four entries line by line with the code before the move.
- [A2, A5] Read: the four
create-customer-accountandcreate-team-memberdigest pins inplanned-digest-pins.test.tspass unedited.journal-completeness.test.ts"brand account create plan routes" passes unedited, and no baseline row is added.
Authz / money / schema
- Authz: none. Each route keeps its gate. The staff check and the caller check stay in the route's target.
- Money: none.
- Schema: none.
- New
Inquiry part three of #8049.
On stagingExposure
- Inquiry form save, reopen, and a held inquiry's date edit: show their plan first and run exactly that plan; a stale plan answers 409 `plan_changed`, a missing one 400 `plan_required` Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The two more-time asks (portal and signed link): record one plan of what they did; the customer sees nothing new Always on
- Move to Screening's `plan-exempt` declaration in code No runtime path
Engineering details
PR #8596 Issue #8327 Landed 3a0bd5f
Walk
- [A2, A6] Org admin · the venue-preview fixture's inquiry form,
action_planslit · set the form's venue designation to another venue → before saving, the page names the venue and says its contacts will start seeing N inquiries from this form and the previous venue's will stop (and how many open inquiries move from the previous venue's closing notices to its) → Save reads Confirm → Confirm → the designation is saved. Put back infinally. - [A2] Org admin · lit · the same form: change its name → no plan line shows and Save saves at once; the seed's customer form
planner-nurture-dark(no inquiry): turn its check-ins off, then back on → each time the page says "This change reaches no open inquiry." and Save saves with no extra click. - [A1, A3] Org admin · an inquiry the Walk closes itself, lit · open Reopen → the dialog lists what the reopen does (the stage it returns to, and what it turns back on) before the click → Reopen → the inquiry is open again on that stage.
- [A5] Org admin · the same form,
action_plansdark · change the venue designation → no plan lines show and Save saves as today. Put back infinally. - [A3, A4, A6, A7] Read: the held-date edit's calendar-copy plan (inquiry-reopen-plans.itest.ts, "a held date edit plans the calendar copy as trigger 72 signals it", and update-plan-read.test.ts), the more-time asks' recorded plan (inquiry-more-time-plan.itest.ts, "records the extension and the bell in both flag states"), the plan reads' gates (sales-rep-route-gates.test.ts) and the frozen-clock digest pins (inquiry-digest-pins.test.ts), green in land-checks
Authz / money / schema
- Three new plan reads, each on its write's own gate:
/plan-reopen-inquiry(can_manage_inquiries),/plan-update-inquiry(can_edit_inquiries),/plan-update-inquiry-form(the form's manage gate). Each is listed insales-rep-route-gates.test.tsbeside its write. The web proxies refuse a caller without the matching capability with a 404. - No schema change. No money path.
- New
The team-member actions move onto the planned-action wrapper (`definePlannedAction`, `planReadRoute`, `plannedRoute`).
On stagingExposure
- The team member plan reads and the plan run on the writes Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
Engineering details
PR #8592 Issue #8303 Landed b255d00
Walk
- Read: [A1, A2, A3, A4, A5, A6] no browser-reachable change — verified by the 18 digest pins in
people-digest-pins.test.ts(A1, committed before the move), the nineplanReadRoute/plannedRouteregistrations inroutes/team-member.ts(A2), the five team itests with no existing line edited plus the appended portal link precedence test, 9 passed (A3, A4, A6), and the unedited review walksreview-walk/7833.spec.ts(change Odalys Brandt's role, see the stopped calendar mapping) andreview-walk/7766.spec.ts(send portal link, deactivate and reactivate Sorrel Quist, see each plan), each run alone as a flag-on proof (E2E_FLAG_PROOF=action_plans) on a fresh bed, 6 passed each (A5, https://github.com/panko-app/panko/pull/8592#issuecomment-7397582254), green at 6fe4ec652d.
Authz / money / schema
none. Every route keeps its
requireAuthZgate and its contact profile check, in the same order. - Improved
The event type record (`hq/event-types/<id>`) is one of the last Setup records on a server load. #8560 moved its page body into `event-type-record.svelte` beside the route (a pure move, landed `7f5f606dc`).
On stagingExposure
- The HQ event type record draws in the browser from its cached view (frame at once, saves refresh with no page reload, a refused or unknown id shows "not available" in the frame) Always on
- The event type cards keep up with a refetched record (the closing section, guest list and service agreement forms) Always on
- The brand tree's event type page loses its three empty fields (pager, inquiry forms used by, events used by) No runtime path
Engineering details
PR #8595 Issue #8585 Landed a11060b
Walk
- [A1, A12] Platform admin · HQ → Setup, then the Event types list → open "Corporate", with the record's
recordread held → the record frame shows at once, then the record fills in when the read is released. The Inquiry forms and Events cards fill in as their reads answer. The document has no server load for this page. - [A2] Platform admin · the record → Browser Back to a visited record with its refresh held → the record shows at once from the cache with no skeleton, then refreshes in place.
- [A3, A10, A11] Platform admin · the record's pager → next type and back, both cached → no
__data.jsonrequest, nothing waits before the screen shows, and no pager read beyond the Event types list view (counts asserted on a built host only). - [A4, A9] Platform admin · Details → change the name and save, then save it back. Archive, then Unarchive (
action_plansdark) → each save shows the saved state with no page reload and no__data.json. - [A6] Platform admin · the record → save while the next
part=recordrefresh answers 500 → the record's failed state with Try again shows inside the Setup frame. Try again shows the saved name, which is then put back. - [A7] Hollis Billing (refused) · the record; platform admin · an unknown id and a malformed id → each gets the same "not available" card inside the Setup frame. The document answers 200 and the view answers 404 with one body.
- [A7] Platform admin · the record with its view routed to a 500 → an error with Try again. Try again recovers the record.
- [A8, A13] Platform admin · the brand-tree link for active acme-corporate → it lands on the one record (the 307 since #6718), which draws the Orders section and the Preset orders card. The brand tree's own page draws only for an inactive brand, which this Walk does not make. Its kept
journeySetupandactionPlansare proven by the brand treepage.server.test.ts("journeySetup"), and its five shared cards byfollowed-forms.test.ts("event type record forms (#8585)"); this step does not walk that page. - [A5, A4] Platform admin,
action_planslit · type a Closing value, then Customize Reminders in the planner sheet at the type's level → the record refetches (thenotificationrefresh) and the typed Closing value stays. Reminders shows Customized, and Reset to Brand default returns it. - [A14] Platform admin,
action_planslit · open the record with?section=guided-setup→ that section opens and the crumb shows. With an old?brand=acme-weddings→ the record still names Acme Corporate and no read carries the old brand.
Authz / money / schema
- Route gate: the new view endpoint
hq/event-types/[event_type_id]/view(GET ?part=record|forms|events|journey) gates every part with the existingeventTypeRecordBrand(404 without ViewEventTypes). An unknown part is refused before any read. Each side part keeps its own capability as the old load did:formsneeds ViewInquiryForms,eventsneeds ViewEvents, andjourneyneedsaction_plansplus ManageEventTypes. The actions and their gates are unchanged.
- Improved
Journal the last three payment facts that still carry a `journal-todo` declaration in `routes/invoice.ts`: `payment.attempt_superseded`, `payment.canceled_by_staff` and `payment.capture_refused` (left by #4841).
On stagingExposure
- `payment.canceled` lines on an event's, invoice's and account's Activity, naming who canceled a pending payment Always on
- `payment.failed` lines that say why a card capture was refused Always on
- The three new columns, read only by the journal writers above No runtime path
Engineering details
PR #8582 Issue #8508 Landed 8dd9b38
Walk
- Read: [A1, A2, A3, A4, A5, A6, A7, A8, A9] no browser-reachable change. Verified by
apps/caboose/src/app/invoice/payment-journal.itest.ts("outcome table", "plain supersede", "customer cancel", "stored actor", "capture refusal", "fail-closed", "through the route", "activity read", "payment failed") andsrc/routes/invoice-payments.itest.ts(the itests under src/app/invoice, src/app/billing and src/routes/invoice: 530 passed), the unit testspayment-journal.test.ts,verify-and-capture-payment.test.ts,confirm-invoice-payment.test.tsandapps/web/src/lib/components/activity/activity-words.test.ts(thepayment.canceledand refusal wording). For A8,grep -rn '^\s*// journal-todo:' apps/caboose/srcprints nothing. All green at e4b7525961.
Authz / money / schema
- Schema (source only; the landing generates the migration):
app.payment_checkoutgainscanceled_by_principal_id(foreign key to the principal, set null on delete) andcanceled_by_contact_id(foreign key to the contact, restrict), with a CHECK that both are null unlesscanceled_byis set.app.ar_paymentgainscapture_refusal(text, CHECK in method_mismatch, funding_mismatch, debit_not_accepted). All nullable, expand-only, no backfill. Assumption: rows claimed before the column existed carry no actor, so their cancel line names nobody and reads as the customer's. - Money: no amount, status or allocation rule changes. Each
processing → failedwriter now appends its journal entry in the same transaction; an append failure rolls back the move (fail-closed). A refused capture stamps the refusal on the payment before the Stripe cancel, and both guarded writers prefer the stamped refusal's reason forfailure_reason. The confirm path reads the stamp and no longer parses the reason text back, so a failed payment with no stamp now answersnot_confirmableinstead ofrefused: method_mismatch. Apayment_failedevent on a checkout already claimed for a deliberate cancel now records the cancel (its reason, the checkoutcanceled, no failed notice), from the failing update's own RETURNING with no added read. If a staff or customer cancel's own write fails after Stripe canceled, the checkout keeps its claim, so Stripe's canceled event or the reconcile still names the person. - Authz: none. The two cancel routes keep their gates. They now pass the request's origin, so the entry names the person.
- New
The venue and vendor actions move onto the planned-action wrapper (`definePlannedAction`, `planReadRoute`, `plannedRoute`).
On stagingExposure
- The venue plan reads and writes on the wrapper Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- `/update-venue-account` and the three vendor writes on the wrapper Always on
Engineering details
PR #8591 Issue #8302 Landed 2564f74
Walk
- Read: [A1, A2, A3, A4, A5, A6] no browser-reachable change — verified by
people-digest-pins.test.ts"venue and vendor plan digests (#8302)" (A2, committed before the move),venue-vendor-flag-reads.itest.ts"adds no flag read" (A6, green before and after the move), the unedited dark and lit route itestsvenue-merge-plan,venue-account-active-plan,venue-contact-plans,venue-portal-link-plan,vendor-account,vendor-contact-planandupdate-vendor-account-plan(A1, A3, A4),journal-completeness.test.tsunedited (A1), and the uneditedreview-walk/7703.spec.tsrun as a flag-on proof (E2E_FLAG_PROOF=action_plans) on a fresh seed (A5), green at 4ce1c17433: 6 passed, https://github.com/panko-app/panko/pull/8591#issuecomment-7395887042. The fix commit 34214512af after it moves one helper and rewords comments; it changes no answer.
Authz / money / schema
none. Every route keeps its
requireAuthZgate and its in-body staff checks, in the same order. - Improved
After a save whose refresh read fails, the contact record page's tabs still show the data from before the save as current. #8545 fixes the contact drawers' parts, which read the same cache entries; the record page reads them through `useContactPart` with no check of the save-failure tag.
On stagingExposure
- The HQ contact record's Events, Messages (All messages and Threads) and Notifications tabs show a failed state with Try again, instead of the data from before a save, when the refresh after that save fails; the Events tab count and the venue contact kicker show nothing from such a read Always on
Engineering details
PR #8593 Issue #8583 Landed e3845f4
Walk
- [A1, A2, A3, A5, A6, A8] platform admin · zz-e2e-org-tests-messaging-inbox · Hazel Harbor's contact record with Events, Threads and Notifications read (rows, and her empty Notifications card: a null answer) and her address marked bounced (by SQL) · Clear bounce on Overview (a real save), then the Events, Threads and Notifications part reads (
contacts/<id>/view?part=events,?part=inbox,?part=planner) answering 500 · open Events, Notifications, then Messages → Threads → after two failed answers each shows its failed state ("Couldn't load events.", "Couldn't load messages.", the failed Notifications card) with Try again, no row and no card from before the save, and the Events tab without its count; released, Try again on Threads is disabled while its read runs, then the threads show; Events, still answering 500, is opened again and fails, then released, its Try again shows the rows; Notifications reads again when opened and shows its card; no failed state remains, no page reload - [A4] platform admin · Hazel Harbor's contact record, Events read once (rows), then Overview; the page clock past the 30 s staleTime with no save; the Events part read answering 500 on every attempt; Events opened again → after two failed answers the cached rows keep drawing and no failed line shows
- [A7] platform admin · Hazel Harbor's contact record opened at
?tab=notificationswith theplannerpart read answering 500 → after two failed answers the failed card with Try again and no empty card; released, Try again → the failed card is gone and the card the read gives shows (for Hazel, the empty card)
Authz / money / schema
none
- New
Cancel event offers the event's scheduled appointments, each selected, and ends their cal.com bookings.
On stagingExposure
- The Appointments list in the Cancel event dialog, and the cancelling of ticked appointments with their cal.com bookings Behind action_plans: on in staging since Dec 4, 5:23 AM ET, dark in production until turned on
- The sweep's reason text and rule chosen by the appointment's cancellation reason; inquiry readers leaving event-cancel rows out Always on
- The cancel-event-plan proxy route answering POST instead of GET Always on
- The seed record No runtime path
Engineering details
PR #8584 Issue #8295 Landed 048ffa0
Walk
- [A7] Staff · acme-weddings,
action_plansdark · "Cancel Walk Appointments Event" (Avery Apptwalk) · More actions → Cancel event… → the dialog shows no Appointments list and no checkbox; Keep the event → both appointments stay scheduled. - [A1, A2, A8] Staff · acme-weddings,
action_plansexposed · the same event · Cancel event… → an Appointments list with Tasting and Finalization call, both ticked, and the line "cal.com emails the attendee when the booking ends" · untick Finalization call, wait for the plan to be read again, pick "We cancelled" and "Safety or weather", Cancel event → the event reads Cancelled; the tasting iscancelledwith reasonevent_cancelledand one cal.com booking cancellation staged; the finalization call stays scheduled with none; the event's Appointments tab shows Tasting Cancelled and Finalization call Booked. - [A3, A4, A5, A6, A9, A10, A11, A12, A13, A14] Read: the server rules, each in its named suite (green in land-checks): the appointment set (
event-scheduled-appointments.itest.ts), the sweep's event rule and "Event cancelled" text plus the cal.com echo (process-booking-cancellations.itest.ts), the inquiry readers' exclusion (close-inquiry-effects.itest.ts),plan_changed, rollback, unknown ids, one calendar step and the journal entries (cancel-event-plan.itest.ts), the digest pins (planned-digest-pins.test.ts) and the query pin (planned-cancel-event.itest.ts). The step reads back the tasting's oneappointment.cancelledentry caused by the event cancel.
- Improved
This is the last step of the messaging project: Contract schema.
On stagingExposure
- Schema drop and CHECK narrowing Always on
- Data file No runtime path
- Code: unused parameter and dead error variant removed Always on
- Tests and docs No runtime path
Engineering details
PR #8331 Issue #8325 Landed e049160
Walk
- [A1, A2, A3, A4, A5, A6, A7, A8, A9] Read: no browser-reachable change — verified by
scripts/materialize-ledger.sh --scratch(the drop gate and the production-compatibility check pass with the two reviewed waivers;migration-split.pyputs the data file inpreand the DDL inpost),contract-thread-links.itest.ts(reports: every count, the link rows a column-only tie gets, a zero rerun;refuses: the exception and the rollback), and the itestshandle-inbound-email,thread-team,fanout-recipientsandresolve-contact-thread-staff-recipients, all green at 65d5c2b577, together with caboose typecheck and unit tests, seam-lints tests andlint:seams. The selected run at 65d5c2b577 passed the whole Caboose integration suite (881 files) and 56 of 118 specs with no failure before a container restart killed it; see Degraded. The fix pass at c370900eaf changes only comments, docs and one itest's title and names.
Authz / money / schema
- Schema: drops
app.message_thread.event_id,inquiry_idandassignee_contact_idwith their foreign keys, and theapp.thread_watchertable. Assumes no code onmainreads them (#8047 removed the last readers; checked bymigration-contract.pyand the hand check). - Schema:
thread_entity_link.entity_typeCHECK narrows toeventandinquiry. AssumeswriteRecordLink, the only writer, stores only those two (true onmain). - Data:
99-messaging-contract-thread-links.sql(runs before the DDL, own ledger entry) carries every contact thread's column tie into a link row, deletes the link rows of the six retired kinds, reports its counts, and stops the deploy if a column tie is left without a link row. It holds a SHARE ROW EXCLUSIVE lock onmessage_threadandthread_entity_linkwhile it runs: reads go on, and every write to a thread or a link row (a new thread, a status change, a stamp, a link) waits until it commits. A deadlock with a worker aborts one side; if it is this file, it rolls back whole and the deploy is rerun.
- Improved
After a save whose refresh read fails, three HQ drawers and the contact drawer's parts still show the data from before the save as current. #8472 fixed screens and frames that draw through `viewState`, and #8521 fixed the nine record drawer state helpers.
On stagingExposure
- Calendar and appointment drawers: a page source (Calendar window, Dashboard Appointments card) whose refresh failed after a save is skipped and the item is read by key; a by-key read that failed after a save draws the error state with Try again Always on
- Customer and venue contact drawers: a part (Events, Threads, venue account) whose refresh failed after a save draws its failed block with Try again, which re-reads every failed part; Preview portal stays off while the portal part failed after a save (contact, venue contact and portal drawers) Always on
- Payment drawer doc comment and READMEs No runtime path
Engineering details
PR #8587 Issue #8545 Landed 349155c
Walk
- [A1] platform admin · acme-catering Calendar on C1's week · C1's appointment drawer · Hide with the calendar window read (
hq/calendar/view) and the by-key item read (hq/calendar/item) answering 500 → "Hidden from the calendar", C1 is hidden in the database, and the drawer shows "This appointment couldn't load." with Try again, never the pre-save appointment with Hide; released, Try again → the by-key read answers, the drawer shows Unhide, and the grid drops C1 once the window answers - [A2, A5] platform admin · zz-e2e-org-tests-messaging-inbox · Harbor & Pine Events · Hazel Harbor's contact drawer with Events and Threads rows and her address marked bounced (by SQL) · Clear bounce with the Events and Threads part reads (
contacts/<id>/view?part=events,?part=inbox) answering 500 → each section shows its failed line with Try again and no rows from before; released, Try again → both sections show their rows again and no failed line remains, no page reload - [A4] platform admin · Hazel Harbor's contact drawer read once (Events and Threads rows), then closed; the page clock past the 30 s staleTime with no save; the Events and Threads part reads answering 500 on every attempt; the drawer opened again → the cached Events and Threads rows keep drawing, the reads were sent, and neither section shows its failed line
- [A3, A6, A7] Read: the unit rules, each in its named suite (green in land-checks): the payment drawer after a save, by-id and list-seeded (
billing/payments/screen.test.ts, "the payment drawer after a save"); the calendar lookup with the own window, the Dashboard card and the by-key read failed after a save (hq-calendar/calendar-item-reader.test.ts, "a source whose read failed after a save"); the venue account and Threads failed blocks and the Preview portal gate (hq/contact-drawer-brand.test.tsandhq/contact-drawer.test.ts, "#8545")
Authz / money / schema
- Payment drawer (money display): no rule change. It already draws the error state with Try again for a by-id read that failed after a save (
viewState, #8480); this PR adds the proof and corrects the doc comment ofpaymentDrawerState, which said a failed refresh over a held record keeps it. Assumption: a payment's amounts are only drawn from a read that answered after the last save.
- Improved
On HQ → Activity, a line about an order names the event it belongs to and links to that event.
On stagingExposure
- HQ Activity: an order line names and links its event Always on
Engineering details
PR #8581 Issue #8577 Landed 42fda70
Walk
- [A1, A2] Staff · HQ Activity filtered to the order → the run head reads "…, for Activity polish walk" with the event its own link to the event's page; opened, no line inside it draws the event.
- [A1, A7] Same page → a single order line reads the order, then ", for Activity polish walk" (its own link), then "Only this", then the brand.
- [A1] Same page · click the run head's event link → the event's page opens; the run did not toggle first.
- [A7] HQ Activity filtered to the event → the event's own lines draw no ", for"; every order line outside a run still names it.
- [A3, A4, A5, A6] Read: another brand's or organization's event, a brandless entry, a preset order, a response with no
eventfield and payment lines are proved byorganization-activity-reads.itest.ts("order lines name their event (#8577)", "names an event of a closed status"),read.test.tsandactivity-lines.test.ts; the spec checks each named proof is present.
- Improved
Deleting an order keeps it drawn until the Orders tab shows
On stagingExposure
- The order page keeps the deleted order drawn until the Orders tab shows, and the tab's cached list loses its row Always on
- The order workbench's delete discards the unsaved buffer before it leaves Always on
- The review Walk spec 8559 No runtime path
Engineering details
PR #8586 Issue #8559 Landed ba135bc
Walk
- [A1, A3] platform admin · Preview walk read · Orders → New order (Blank, a run-tagged name) → its page; back to Orders and open it from its row; type in Customer requests and at once Delete → "Delete order" → no unsaved-changes prompt, the toast, then the Orders tab without its row: between the confirm and the tab the order page never draws Not found and the tab never draws the deleted row; one document (no reload); the order is stored gone
- [A2] platform admin · Back from the Orders tab → the deleted order's address draws Not found (never the deleted order)
Authz / money / schema
none
- Improved
The invoice record (the record host at `hq/invoices?open=<id>`) still reads two of its sections with a raw `fetch` of two JSON endpoints: the Orders line and the Payments section.
On stagingExposure
- The invoice record's Lines order line and Payments section read through the screen kit's query cache, with new pending, failed (Try again) and not-available states Always on
- The two section endpoints answer devalue text with `cache-control: private, no-store`, and a caboose 4xx answers 404 Always on
- The `hq-screen-kit` seam lint refuses a raw read of either section path anywhere under `apps/web/src` No runtime path
Engineering details
PR #8576 Issue #8567 Landed d986288
Walk
- [A1] Platform admin · acme Invoices, Drafts, "Order drawer walk" · open the final balance draft → the Lines sub-line "From order <the selected order>" and the Payments section's "No payments yet." draw, with at most one
invoices/ordersand oneinvoices/paymentsread - [A2] Platform admin · close it, open the event's booking fee draft, close it, open the final balance draft again → the order line and the Payments section draw at once with no loading line at any moment, and at most one read of each path is sent on the return
- [A3] Platform admin · a fresh page whose two section reads answer 500 · open the final balance draft → "Could not load the order." and "Could not load payments.", each with Try again · the reads answer again, Try again on each → the order line and "No payments yet."
- [A3] Platform admin · a fresh page whose two section reads answer 404 · open the final balance draft → "Order not available." and "Payments not available."
- [A1, A4] Platform admin · the paging org's Invoices · open Quill Ledgerwood's booking fee → its one payment line, with at most one
invoices/paymentsread · Payments in the sidebar, Receive payment, Paging Payments, Quill Ledgerwood, Check, a run amount on the booking fee, a run memo → "Payment received" · Invoices in the sidebar, the booking fee again, no reload → two payment lines, the new one of the run amount · the receipt is removed by SQL
Authz / money / schema
- Authz:
hq/invoices/ordersandhq/invoices/paymentsnow answer 404 (refused) for any caboose 4xx, 403 included, where before only a caboose 404 did; a 5xx stays 500. Their gates (recordBrandStaff, the orders and invoice grants) are unchanged. Held by "a caboose 4xx answers 404" in both server tests. - Money: amounts draw only from the server's answer. Neither view keeps previous data, so one invoice's payments never draw under another ("never draws one invoice's payments under another"). A refresh that fails after a save draws the failed state, never the lines from before the save ("a failed refresh after a save draws failed").
- Schema: none.
- Improved
Move the event type record (`/hq/event-types/<id>`) onto the HQ screen kit, as #8525 moved the inquiry form record.
On stagingExposure
- The event type record's page body moves into a component beside its page; nothing a user sees changes Always on
Engineering details
PR #8579 Issue #8560 Landed 7f5f606
Walk
- [A1] platform admin (org staff) · the seeded "Corporate" event type (Acme Corporate Events) at
/hq/event-types/<id>→ its name heads the record, the pager shows "n of N" over the org's event types, and the section column lists Overview, Proposal, Closing & warnings, Used by and Settings; click Used by → Used by is current; click Settings → Settings is current and the Details card shows; the record at?section=closing→ Closing & warnings is current. - [A2] platform admin · Settings › Details: Edit → Display name "Corporate (walk 8560)" → Save configuration → the new name heads the record, with no page reload; Edit → put "Corporate" back → Save configuration → "Corporate" heads it again, with no page reload.
Authz / money / schema
none
- Improved
HQ on the screen kit: Brands Messaging, Scheduling, Sessions and a session
On stagingExposure
- **Brands › Messaging, Scheduling, Sessions and a session** are drawn in the browser from parts of the record view, with no server load. Saves refetch only their own part Always on
- **`createCustomersMayAddRowPlans`** gains an optional `onSaved`. The venue account card passes none and is unchanged Always on
Engineering details
PR #8571 Issue #8534 Landed c3d48e4
Walk
- [A1, A3, A13, A25] Org admin · Acme Corporate's brand record · from Identity go to Messaging, Scheduling, Sessions, a session, then back to Identity. Hold each section's part, then release it → the frame and column show at once and the panel fills on release. No
__data.jsonat any step. Each click sends one view request. - [A2] Org admin · revisit Messaging with its refresh held → the cached panel shows at once, then refreshes in place. Open Sessions by
…/scheduling/sessionsand by…/scheduling/sessions?purpose=tasting→ onesessionsread within 30 s. - [A8, A12, A23, A24] Org admin · Acme Corporate › Messaging · the crumb reads Messaging. Save the policy and the overrides, then put both back. Create, rename and delete a run-unique saved reply. Type in the overrides form while a refresh lands → each save shows its saved state with no
__data.json, and the typed text stays. - [A8] Org admin · Messaging › Partner contacts · flip a contact, open Identity, return → the switch shows the saved value (put back in
finally). A refused flip (a faked 409) goes back with its toast. - [A8, A12] Org admin · Acme Corporate › Scheduling · flip the Tasting mode and flip it back → the shown mode is current after each save. No
__data.json. - [A2, A8, A12] Org admin · Sessions · create a run-unique session, then on its page edit, close, reopen and cancel it → each save shows its saved state. Back on Sessions, Close on the cached row shows the server's refusal toast, not the error page, and the list shows the saved state once its refresh answers. No
__data.json. - [A11] Brand sales_rep · Messaging and Scheduling open read-only. Brand-only admin (
hq-brand-only-admin@acme.test) · Acme Weddings › Messaging · saves the overrides and puts them back, and sees no partner-contact switch or row, only the sentence that an organization admin chooses. On Acme Weddings › Scheduling, flips the Tasting mode and puts it back. - [A20, A21] Brand-only admin · Acme Corporate's Messaging, Scheduling, Sessions and a session; an unknown and a malformed brand id; a malformed session id → each shows the not-available card inside the Setup frame, not the error page. A faked 500 on the
messagingpart → its error shows with Try again.
Authz / money / schema
- Route gate:
GET hq/brands/[brand_id]/viewgains four parts. Each one checks, in order: - the held brand (
brandRecordStaff); - its capability: messaging
ViewBrandSettingswith an organization, schedulingViewScheduling, sessions and sessionManageScheduling; - for session only, a UUID
?sessionid. This check comes after the capability and before any read.
A refusal answers 404 with no read made. The assumption: each capability matches the one today's section load checked.
record-access.test.tsandview/server.test.tsprove it per persona.- The four
+page.server.tskeep their actions and gates unchanged and lose theirload.
- Improved
Move the org Payments list (`/hq/billing/payments`) and Unapply onto the HQ screen kit.
On stagingExposure
- The org Payments list draws at once and reads its rows on the screen kit Always on
- The new `billing/payments/view` read (Receive payment and Unapply) Always on
- `Paged.settledAt`, a read-only getter on the screen kit Always on
Engineering details
PR #8575 Issue #8543 Landed 3b07b86
Walk
- [A1, A11, A12] Platform admin · acme-catering Events · Payments in the sidebar with the
olderpage read held → the frame shows (the Payments heading, the Invoices button) with no rows and thestreamed-pendingmarker present; releasing the read fills the rows and the marker goes; no__data.jsonread for Payments (asserted on a built host) - [A2, A3] Platform admin · the payment-pagination org's Payments · Load older payments (104 rows) · open a page-two payment, Invoices in the sidebar, then Back → both pages show (104 rows), the scroll is kept and no
olderread is sent · the clock past the 30 s staleTime, the same hop again with theolderread held → the 104 rows show while it is held, and exactly twoolderreads go out in turn, page one first - [A5] Platform admin · the payment-pagination org's Payments freshly loaded (page one of two: a part list) · search "Ledgerwood" → after the debounce exactly one searched page-one
olderread and the Quill Ledgerwood receipt alone · clear the search → noolderread while the unsearched entry is fresh, page one again · acme-catering's Payments (one page: the whole list) · type a search → noolderread - [A10] Platform admin · acme-catering's Payments with
viewandolderanswering 404 (routed on the page: every seeded org staffer holds ViewBrandInvoices) → a 200 document, "Payments are not available to you.", no Receive payment button and no rows - [A9] Platform admin · acme-catering Events, then acme-catering's Payments at
?brand=acme-weddings→ the document answers 200 with no redirect, the address becomesf.brand=<acme-weddings id>with nobrandparam, exactly oneolderread goes out and it names the id (none for All brands, none names the slug), and Back returns to Events (a replace) - [A8] Platform admin · acme-catering's Payments at
?open=r:<malformed id>→ "This payment is not in the loaded history." · at?open=<the ledger receipt>with theviewread held → the record shows with no Unapply control; released → Unapply shows - [A4, A7] Platform admin · acme-catering's Payments with
viewanswering 500 → the rows draw, "Could not check which payment actions you have." with Try again, no Receive payment; let through, Try again → the line goes and Receive payment shows · Receive payment, Acme Weddings, Platform Admin, a run-tagged check on an open invoice, with theolderrefresh answering 500 → "Payment received", noviewread, the rows stay with "The list could not refresh; amounts may be out of date." and Try again; let through, Try again → the line goes and the run receipt shows - [A6] Platform admin · acme-catering's Payments at
?open=<the run receipt>(one page loaded, N = 1) · Unapply, Unapply payment → "Payment unapplied" and the record shows None, after exactly oneolderread and onerecordread, noviewread and no__data.json(asserted on a built host); the payment-pagination org still holds its 104 rows
Authz / money / schema
- Route gate: the new
billing/payments/viewread answers 404 unless the viewer is org staff withViewBrandInvoices. It names the brands whose receipts show Unapply: every held brand withManageBilling, otherwise each brand where the viewer hasManageInvoices.olderkeeps its own gate. Assumption: these are the same checks the page's server load made before; the unit tests inview/server.test.tspin them. - Route gate, visible change: org staff without
ViewBrandInvoicesnow get a 200 page that says "Payments are not available to you." Before, they got the layout's 404 page. Both reads still answer 404 for them, so no rows reach the browser. - Money: Record payment and Unapply are unchanged on the server (
+page.server.tskeeps both actions). The list still paints nothing before the server answers. After a save, the list reads each loaded page again through theinvoicereload, and no longer reruns a page load. billing/payments/oldernow answers withcache-control: private, no-store.- Schema: none.
- Internal
Move the order template record (`/hq/order-templates/<builder_id>`) onto the HQ screen kit.
On stagingExposure
- the #8526 review Walk spec times the record's own frame No runtime path
Engineering details
PR #8574 Issue #8526 Landed 49a5618
Walk
- [A1 with the record route's code loaded; the cold first click is the #7562 ledger line, A7] platform admin · Order templates at
?f.brand=<Acme Weddings id>→ an unknown template's record (its not-available state; the record route's code loads) → Back → click Wedding Dinner with its recordviewheld → the record frame (Back to Order templates, the record kind, the loading card) shows within 100 ms of the click (asserted on a built host) with no pager; released → the editor shows and the pager counts the list's rows; no__data.jsonrequest (asserted on a built host) - [A7] platform admin · Order templates with no Brand chip → open Wedding Dinner → the pager counts the org list's rows; Wedding Dinner at
?f.brand=<Acme Corporate Events id>(a chip on another brand) → the editor shows and no pager - [A2, C7] platform admin · Wedding Dinner → Order templates by the record's back link → Event types by the Setup column → the clock moves past the 30 s staleTime → Back to the list (its rows drawn) → Back with the record
viewheld → Wedding Dinner's record shows within 100 ms from the cache (asserted on a built host); released → it refreshes in place (the same Details card, the same document) with no__data.jsonrequest (asserted on a built host) - [A8] platform admin · Wedding Dinner → its Group and Structure sections by the record's section links → no record
viewrequest; the address's season (?season=, the change the Pricing card's season picker makes; Wedding Dinner prices no package, so the picker is not drawn) moved to a season that is not the current one with that season'sviewheld → the record stays drawn (the same Details card, no loading card); released → the Edit items dialog's season select shows the new season - [A9] platform admin · Wedding Dinner → the HQ trail names Wedding Dinner; Search pages (⌘K) lists no Recently viewed entry for it, as today (an order template is not a Recently viewed kind)
- [A4] platform admin ·
/hq/order-templates/<an unknown id>and/hq/order-templates/<a malformed id>→ the not-available state inside the Setup frame; Wedding Dinner with itsviewanswering 500 (faked in the browser) → the error with Try again; let through, Try again → the recordviewis read again and the editor shows - [A5] Sasha Reyes (the messaging-inbox brand's sales_rep: ViewEventOrders, no ManageEventOrders) · the published Walk library template's record → the read-only view in the Setup frame, with no Edit, Delete, Add section or Published switch
- [C5, A3] platform admin · New template in Acme Weddings with a run-tagged name → the run's template opens; Details → a description → Save; Add section twice; the first section → Move down; its Edit → a new name → Save; the second section → Delete (confirm); Pricing → Edit → the running-estimate switch → Save with the refresh answering 500 (faked in the browser) → "Couldn't refresh this order template" above the still-drawn record; let through, Try again → the alert goes and the saved pricing shows; the Group section → Acme Weddings' first group → Save group; the Overview page section → publish the overview page; Published on, then off; Duplicate to another brand → another Acme brand with a run-tagged name → Duplicate → "Copied to …" → each shows the saved state, stored, with no page reload and no
__data.jsonrequest (asserted on a built host) - [A3] platform admin · the run's template published, made available for the wedding's event type (a policy row by SQL) and attached from the seeded Acme Weddings wedding's Order setup (an active derived builder) → back on the template, Add section (a structural save) → the "Update builders from this template?" checklist lists the derived builder; Update 1 builder → the derived builder is synced, stored
- [A11] platform admin · the run's template → Details → Edit → a new description → Save → shown; Edit again shows the saved description, Cancel keeps it; Edit → change only the name → Save → the name shows and the description is still the saved one; reload → the saved name and description
- [A12, C5] platform admin · the run's template → Delete (confirm) → the "Template deleted" toast, then the Order templates list, with no not-available card drawn in between, and the template's row is gone; Wedding Dinner's label, description, status and timestamps are as the run found them
- Improved
The last step of project #1760: bring every place that reads the business-action journal up to a polished, studio-crafted bar before `hq_redesign` is exposed.
On stagingExposure
- Activity lines grouped into runs under day headings on HQ Activity, the record Logs and the Recent activity card Always on
- "Show earlier" paging on the event and inquiry Logs (`cursor` / `nextCursor` on their reads) Always on
- One before → after row on the order History, the save-conflict panel and the Logs Always on
- Attribution from `actorKind` ("The customer, <name>") Always on
- Dev seed capability `activity-polish-walk` No runtime path
Engineering details
PR #8558 Issue #8102 Landed 41de4b9
Walk
- [A2, A7, A8, A11] Staff (platform admin) · Acme Weddings › Events › "Activity polish walk" › Activity › Activity → The newest lines sit under a day heading. Platform Admin's order edits read as ONE line, "made N changes to Activity polish walk menu" (or "made at least N changes" while older edits of the same sitting are not loaded yet), with its clock range. Opening that line shows every edit, each with its time, before → after rows, money in dollars and items by name. Every stored line is still on the page when the run is closed. The page ends with "Show earlier".
- [A8, A10] Same Log · press "Show earlier" until it is gone → Each press appends older lines below. The older task lines ("Confirm the tasting date", "Send the venue's load-in times") appear. When nothing is left, "Show earlier" is gone. The first page's request sent no cursor; the later ones did.
- [A3, A7] Same Log → Juniper Hale's guest list saves read as one run, "The customer, Juniper Hale" (not a staff name). The recalculation reads "Automatically recalculated the totals of an order, because its totals follow the event's guest counts" and stands alone; it does not join Platform Admin's run. The System line of the estimate change stands alone.
- [A2, A9] Same event › Overview → The Recent activity card shows the newest four runs, each as its head line, not four single order edits.
- [A1, A7, A9] Staff · org HQ › Activity, filtered to the order "Activity polish walk menu" → Lines sit under day headings. Platform Admin's edits to the order read as a run that opens to before → after rows. The order line names its order and has no link.
- [A4, A9] Same event › the order "Activity polish walk menu" › History → Each revision draws the same before → after rows as the Log (struck old value, new value, dollars, item names). The save-conflict panel uses the same rows (proved by
order-history-words.test.ts#rows; a conflict needs two writers). - [A9] Staff · Juniper Hale's customer account › Activity → Its lines also read as runs under day headings. The account Log has no "Show earlier".
- [A5] Read the design record:
apps/web/src/lib/components/activity/DESIGN.md(three directions, the ruling, Conventions) and the census screenshots in.docs/design/8102/. The census shows the two departures from the prototype: no kind chips, and no event name on HQ order lines.
Authz / money / schema
- Activity reads (record, scoped, HQ) now send an order revision's named detail. It goes to the same readers who already saw the line. A scoped Log read without
can_view_eventsgetsdetail: null(itestrecord-activity.itest.ts#order detail). No FGA relation, route gate, schema or money rule changed.
- Improved
Move Preset orders, the list (`/hq/preset-orders`) and the preset order record, onto the HQ screen kit.
On stagingExposure
- Preset orders (`/hq/preset-orders`) is drawn in the browser from its view on the HQ screen kit, and the old `?brand=` address is fixed in the browser Always on
- The preset order record (`/hq/preset-orders/<id>`) is drawn from its view and refreshes in place after each save; after a delete it stays drawn until the list shows Always on
Engineering details
PR #8564 Issue #8527 Landed 82b9a4b
Walk
- [A1, A22] platform admin · from Event types and from the Setup hub (both on the screen kit; no server-loaded Setup column screen remains), the Setup column's Preset orders with the list
viewheld → the Setup frame and heading, no row, the origin screen gone; released → the rows, after oneviewrequest; a Garden Celebration row with the recordviewheld → the record frame (pending), the list gone; released → the record, after one recordviewrequest - [A8, A12, A22] platform admin · New preset (Acme Weddings, from BBQ Buffet) → lands on its record with a pager that includes it, Back shows its row; publish with no item → refused with its message, still Draft; a Chafing Dish line · Save order; Settings · rename · Save details → the title and the breadcrumb follow; publish, unpublish, publish, Archive, Restore → each with no reload, no
__data.json, one recordviewand no listviewrequest per save (counts on a built host) - [A8, A24] platform admin · the Walk preset · Pricing · Edit · Per-person package · Save; a season rate typed in place → its pill reads Set; a season pick in Rates for season →
?season=changes and noviewrequest is sent; Overview page · the publish switch flips; Duplicate to another brand · Acme Corporate Events → Copied to Acme Corporate Events - [A8] platform admin · the Walk preset · Duplicate → lands on the copy, its pager includes it, Back shows its row; the copy · Delete · Delete preset → the list without its row, and the record's Not found is never drawn between the confirm and the list
- [A8] platform admin · the Walk preset published and attached to Nguyen–Patel Garden Wedding (hidden from the customer) · a per-guest override under package pricing · Save order → refused with its message, no reload, nothing written; Chafing Dish quantity 3 · Save order → the update dialog opens; Don't notify · Update selected (1) → Used by reads the copy Up to date and 0 can receive the new revision; quantity 2 · Save order with the record
viewheld, left for the list before it answers, back → no update dialog; Used by · Update event copies · Don't notify · Update selected (1) - [A2, A3] platform admin · Preset orders → the Walk preset → Back → Order templates → Preset orders by the column and links: no
__data.json(built host); the clock past staleTime, back to the list and the record with each refresh held → the cached rows and record show at once, the record's Refreshing… holds the per-guest override control, no update dialog opens, and the same element stays once released - [A9, A11] platform admin ·
?brand=acme-weddings→?f.brand=<id>,?brand=<unheld slug>→ nobrand=, nothing drawn at the old address and no history entry; Bryn Lens ·?f.brand=<Acme Corporate Events id>→ dropped; admin ·?f.brand=<Acme Weddings id>→ the read carriesbrand=<id>, Offered by and Prices from show; the chip changed to Acme Corporate Events with that read held → no Acme Weddings row drawn while held; released → its rows, a read under that key - [A20] Hollis Billing · Preset orders → "You don't have permission to manage preset orders." inside the Setup frame; the Walk preset's record → Not found, its
viewanswering 404; platform admin · the listviewanswering 500 → the error with Try again → the rows; the recordviewanswering 500 → "Couldn't load this preset order." with Try again → the record - [A21, A23] Sasha Reyes (brand sales_rep) · Preset orders and Walk library preset (7433's reader) → each opens after its
viewwith no Not found, no permission line, no failed read, and carries no POST form, enabled field, switch or write button - [A13] platform admin · the list's and a record's own address fetched as a document → the HTML holds no library, no record and no row; both
viewreads answer 200 withcache-control: private, no-store
Authz / money / schema
- Authz: the read gates moved from each page's server
loadinto itsview/+server.ts, in the same order, and every refusal now answers 404. - List: org staff; a
?f.brandthat is not a held brand; a chip brand without ViewEventOrders; no chip and no org ViewBrandEventOrders. - Record:
presetRecordBrand, unchanged. - The save actions stay in
+page.server.tswith their gates unchanged. view/server.test.tscovers each refusal, in both folders.- Money: none. Price saves still show only after the server answers.
- Schema: none.
- Improved
HQ on the screen kit: Brands list, Style, Inquiry address, Payment types
On stagingExposure
- Brands list, Style, Inquiry address and Payment types draw from view endpoints in the browser Always on
Engineering details
PR #8562 Issue #8533 Landed 155c6b7
Walk
- [A1, A11] Setup → Brands with the
rowsread held: the Setup frame and the loading rows show at once; released, the rows fill and the fact columns show. Ashq-brand-only-admin@acme.testthe rows show with no fact columns, and thefactsread answers 200 withfacts: null. Brands → Acme Corporate → Style, Inquiry address and Payment types, each with its part held: the frame and the column show and the section is pending; released, it fills. - [A2] Back to the list, Style, Inquiry address and Payment types after the cache goes stale, with the refresh held: the cached data shows at once, then refreshes in place.
- [A3] Identity → Style → Inquiry address → Payment types → Identity, all cached, with every view read held: each shows at once, and no
__data.jsonis sent. - [A9] Create brand: a taken slug shows "Slug is already taken." and a refused create (a trade name in use) shows its message; both keep the inputs and write nothing. Then "Walk 8533 <run>" is created: the new row and the brand switcher follow, with no page reload and exactly one
__data.json(the HQ layout). - [A8, A12] On Acme Corporate: the website save shows the saved value with no
__data.jsonand no reload (put back after the Walk). The Style form takes a newer saved value when nothing is typed, and keeps typed text when something is. The colour plan, Replace address and Turn off dialogs are opened, read and cancelled. On the Walk's brand: logo upload (the switcher shows the new logo); inquiry address create → replace → turn off; payment type add → rename → retire → restore. Each save: no__data.json, no reload. - [A20] As
hq-brand-only-admin@acme.test, Style, Inquiry address and Payment types of Acme Corporate's id, an unknown id and a malformed id each show "not available" inside the Setup frame, and the view answers 404 with no brand data. As the platform admin, a faked 500 on each section's read shows Try again, and Try again rereads only that section.
Authz / money / schema
- Authz: the three sections and the Brands list now answer through view endpoints instead of server loads. Each view keeps the same gate as the load it replaces, in the same order: the brand must be held by the viewer (
recordBrand, one 404 for unheld, unknown and malformed ids), then the part name (400), then ViewBrandSettings on the brand (404). Manage brand settings is sent in the body and still checked by every action. The list view needs org staff (404);factsisnull, never an error, for a viewer without Manage organization. Unit tests:[brand_id]/view/server.test.ts,[brand_id]/record-access.test.ts(view-part loop),brands/view/server.test.ts. - Money: none (payment type names only; no amounts).
- Schema: none.
- Improved
Move the event type record (`/hq/event-types/<id>`) and the inquiry form record (`/hq/inquiry-forms/<id>`) onto the HQ screen kit.
On stagingExposure
- The Setup record eyebrow draws `<kind> · <owner>` with a space on each side of the dot Always on
- The eyebrow's mounted test No runtime path
Engineering details
PR #8570 Issue #8525 Landed b9e54e9
Walk
- [A1] platform admin (org staff) · Inquiry forms → click "Planner nurture walk" with the record view's
recordpart held → the record frame (Setup record header with the ‹ Inquiry forms back link, the loading card) shows and the list is gone; released → the record draws and the HQ trail names the form; the same from the event type record's Used by › Inquiry forms (a server-load screen not on the kit): its link withrecordheld → the record frame, the event type's screen gone; released → the record. - [A21] platform admin · from the list with no Brand chip, click the form → the "n of N" pager over the org rows, with no list read for the click; the record opened with the list's
viewheld → the record draws with no pager; released → the pager; with the Brand chip on Acme Corporate Events (?f.brand=<id>) → the pager walks that brand's forms, keeping the chip; with the chip on Acme Weddings → the list view reads Acme Weddings and no pager shows. - [A2, A3] platform admin · list → record → list → record by clicks with every view read held → each second visit draws from the cache at once (no loading rows, no loading card); the clock past the 30 s staleTime, Back and Forward with the views held → the cached list, then the cached record, show at once and refresh in place (the same element); no
__data.jsonread (asserted on a built host). - [A8] platform admin · Settings › Form settings: Edit → change Display name → Save → the saved name shows with no page reload; Edit again → the field holds it; put back. Fields: Edit → flip Message box → Save → the saved state shows, Edit again holds it; put back. The Notifications planner sheet: move the last check-in day → leave to the list and come back at once → Closing & warnings shows the saved day; put back. Archive → Archived, read-only, no reload; Unarchive → Active. No
__data.jsonread (asserted on a built host). - [A8] platform admin · Settings › Form settings: Edit, type a new Display name and do not save; a planner sheet save refetches the record view → the typed name stays in the field; Cancel → the saved name.
- [A20] Hollis Billing (hq-billing-admin@acme.test, billing admin) · the form's record → the not-available card inside the Setup frame and the
recordpart answers 404; platform admin · an unknown id and a malformed id → the same card and the same 404 body; therecordpart answering 500 (faked in the browser) → the error with Try again; Try again → the record. - [A24] platform admin · the record at
?section=closing→ Closing & warnings opens once the record draws; the record at?brand=acme-weddings→ the record draws naming Acme Corporate Events and no read carries the old brand. - [A8] platform admin · the partner form "Venue Partner Preview" (Acme Weddings) › Settings → the
venuespart answers and the Venue partner field names its designated venue; Edit → the picker lists it; Cancel.
Authz / money / schema
none
- Improved
Customer People & access tab and person page: a failed refresh after a save shows Try again
On stagingExposure
- People & access tab: a refresh that fails after a save shows Try again, not the list from before the save Always on
- Customer person access page: a refresh that fails after a save shows the error frame with Try again, not the access forms from before the save Always on
- Component tests and the review-walk spec for both No runtime path
Engineering details
PR #8569 Issue #8557 Landed ad32d03
Walk
- [A1, A3] platform admin · the account's People & access tab shows Linda Harper at Viewer → her page → with the access read failing (500, faked in the browser), Change level to Planner → the toast shows, and her page shows "Couldn't load this person's access." with Try again in place of the forms → the back link, with no page load → the tab shows "Couldn't load people & access." with Try again and no people rows, and the error stays while the tab's own read runs → the read released, Try again sends one read → Linda's row reads Planner.
- [A3] platform admin · same document, Linda's page → with the access read failing, Change level back to Viewer → the error frame with Try again → released, Try again sends one read → the forms are enabled at Viewer.
- [A2] platform admin · a new document: the tab shows Linda's row → move away, the clock past 30 s, then back by a client move with the access read failing and no save before it → after both failed attempts, the tab still shows the cached list (
data-state="ready"), with no error line and no loading rows. - [A4] platform admin · Linda's page, a failed read with no save before it → the cached person with the forms off and "The forms stay off until it loads." with Try again, the level select disabled → released, Try again sends one read → the forms are enabled (unchanged behaviour).
Authz / money / schema
none
- Improved
seed the editor's Edit form when the Edit dialog opens, from the builder shown at that moment, and drop the `{#key editorKey}` remount from the builder page body.
On stagingExposure
- The order builder page keeps the structure editor mounted when the builder's name or description changes; an open section or pricing edit survives a rename Always on
- The #8540 review-walk spec No runtime path
Engineering details
PR #8565 Issue #8540 Landed 94c9643
Walk
- [A1] platform admin · the booked wedding's Order setup → Attach template → a published template → Attach → the run's builder page → a section's Edit with a new name typed, and the pricing Edit with one value changed → Details → Edit → a run-tagged name → Save → the new name shown and stored; the section edit and the pricing edit are still open with their typed values; both cancelled, nothing else stored
- [A2] platform admin · the run's builder renamed from a second page of the same session (Details → Edit → Save); on the first page, back to Order setup, the clock past staleTime, the builder again with its refresh held → the old name; a section's Edit with a name typed; released → the new name in the heading, the section edit still open with its typed text; Cancel; Details → Edit → the Name field holds the new name; Cancel. The run's builder is deleted at the end
Authz / money / schema
none
- Improved
HQ Orders tab and event invoice page: a failed refresh after a save shows Try again
On stagingExposure
- Orders tab state order (error before data) Always on
- Event invoice page state order (error before data) Always on
- Component tests and the review Walk spec No runtime path
Engineering details
PR #8561 Issue #8529 Landed 279465b
Walk
- [A4] platform admin · Preview walk read › Billing › the final-balance draft's Preview → the invoice (its entry cached); Back to event → Orders → New order → Blank, a run-tagged name → Create order lands on the new order's page; Staff notes · Save staff notes with the order's view read (
orders/<id>/view) answering 500 → the note is stored and the page gives way to "Couldn't load this order." with Try again (no workbench); released, Try again → the workbench with the saved note, no page reload - [A1] platform admin · back to Orders by its link (client navigation; the run order listed) with the tab's view read (
orders/view) answering 500 → Delete the run order → "Delete order" → the order is deleted and the tab gives way to "Couldn't load orders." with Try again (data-state="error", the intro row, no order row, no New order); released, Try again → the list without the run order, the seeded order shown, no page reload - [A3] platform admin · client navigation to the same invoice page (its cached entry marked by the run order's create and delete, reloads of
event-order) with its view read (invoices/<id>/view) answering 500 → "Couldn't load this invoice." with Try again and Back to event, not the cached invoice; released, Try again → the invoice, no page reload - [A2] platform admin · a new document on Preview walk read's Orders tab draws the list; the clock past the 30 s staleTime, Overview and back to Orders by the tab links with the tab's view read answering 500 on every attempt (no save since it was read) → the cached list keeps drawing (
data-state="ready"), never "Couldn't load orders." nor the loading rows
Authz / money / schema
none. The event invoice page now shows Try again instead of a cached invoice after a failed refresh; no invoicing rule changes.
- Internal
One Walk that proves the two Panko ID slices work together, end to end.
On stagingExposure
- The new review-walk spec `apps/e2e/tests/review-walk/8383.spec.ts` (test only) No runtime path
- The plan file `docs/plans/8383.md` No runtime path
Engineering details
PR #8563 Issue #8383 Landed 4b19fed
Walk
- [A1] Platform admin · Acme Catering HQ › Customers › Create account on Acme Weddings → "Walk 8383 <run>" with the client's first address; the client signs in with it at the acme-weddings customer door (fresh browser) → that account's portal; Account settings › "Panko ID" › Add email › the second address › the 8-digit code from Mailpit › Confirm → the card lists both, the first marked Primary.
- [A2] Client · the portal's account menu › "Log out" → a
/logoutPOST, the tab is at a login page and the portal URL opens a login page; in a fresh browser the client signs in with the SECOND address at the acme-weddings door → the same portal, the card lists both with the first Primary, the account menu shows the first address, the switcher lists "Walk 8383 <run>" under Acme Weddings; no login exists for the second address, and the sign-in emails are unchanged. - [A3] Platform admin · Many Brands Group HQ › Customers › Create account on brand zz-e2e-tests-many-brands-01 → "Walk 8383 B <run>" with the second address (unlinked); the client's tab, no reload › switcher → lists it under brand B's customer-facing name;
/"Your accounts" → lists it under the same name (still unlinked); no organization name in either; opening that row on/→ its portal, and the contact is now linked to the client's Panko ID. - [A4] Platform admin · Many Brands Group HQ › that contact → "Signs in with Panko ID" and the second address; the first address is in neither the page nor any document, fetch or xhr response of the web origin.
Authz / money / schema
none
- Improved
The three money drawers (invoice, payment, agreement) open from the address (`?drawer=invoice:<id>`, `?drawer=payment:<id>`, `?drawer=agreement:<id>`), drawn by the one URL drawer host, so a reload or a shared link keeps the drawer open on the same record and J/K steps through a list's rows from the cache.
On stagingExposure
- The invoice, payment and agreement drawers open in the address (`?drawer=`) from a page; J/K covers every shown row Always on
- The payment drawer reads by id only; Make agreement available's typed re-word asks before Back in a drawer Always on
- The e2e pins and the review-walk spec No runtime path
Engineering details
PR #8553 Issue #8480 Landed 1a540d9
Walk
- [A1, A2] Platform admin · the Invoices, Payments and Agreements lists · click a row → its drawer opens over the list and the address gains
drawer=<kind>:<id>, the path unchanged; reload, then the copied address in a new tab → the same drawer on the same record. A typeddrawer=payment:a:<attempt>opens the attempt. Back from the row's drawer → the list alone. - [A3] All brands · the Invoices list · open the last row of one brand next to a row of the other brand · J, K, › and ‹ → the drawer steps through the shown rows across both brands, replacing the address (no new history entry).
- [A4] Open
drawer=invoice:<random uuid>,drawer=payment:r:<random uuid>,drawer=payment:a:<random uuid>anddrawer=agreement:<random uuid>→ each draws its kind's not-available state, never the record page's Not found. - [A5, A9] In the ledger invoice's URL drawer, click its receipt in Payments → the payment stacks with "Back to invoice" and the address is the invoice's own (
?open=<invoice>); only the stacked payment is in history state, by id with no row payload; Esc → the invoice URL drawer again. In the receipt's URL drawer, Applied to → the invoice stacks; Esc → the payment URL drawer again. - [A6 rows 1, 2, 4] (1) No record open, a row click →
drawerset by a push: Back closes it. (4) A typed address withopenanddrawer→ both draw. (2) With both set, a click on another row movesopenanddrawerstays. - [A10] The ledger invoice's record page · its Payments section · click the receipt → a URL payment drawer beside the record (
openkept), with Open full page to the payment's own address; Open full page, then Back → the drawer again. - [A11] On the Invoices, Payments and Agreements lists, open, step and close a drawer → no
__data.jsonrequest (asserted on a built host); at most one invoice read and one agreement view read; the payment opened from the Payments list's first page sends norecordread. - [A12] A run-tagged draft agreement in its URL drawer · Send · Re-word · type a sentence · browser Back → the unsaved prompt asks first; declined, the dialog keeps the text and the address keeps the drawer; Back again and accept → the drawer closes. Nothing is sent.
Authz / money / schema
- Money: the payment drawer no longer draws the row it was opened with; it draws only the server's by-id answer, and a 404 or refusal shows not-available over any cached row. Assumption: the by-id read (
billing/payments/record) answers both id forms (r:,a:), as since #8435.
- Improved
Move the order template record (`/hq/order-templates/<builder_id>`) onto the HQ screen kit.
On stagingExposure
- The order template record (`/hq/order-templates/<id>`) draws from its view on the HQ screen kit and refreshes in place after each save Always on
Engineering details
PR #8554 Issue #8526 Landed f73e63b
Walk
- [A1, A7] platform admin · Order templates at
?f.brand=<Acme Weddings id>→ click Wedding Dinner with its recordviewheld → the record frame (Back to Order templates, the record kind, the loading card) shows within 100 ms of the click (asserted on a built host) with no pager; released → the editor shows and the pager counts the list's rows; no__data.jsonrequest (asserted on a built host) - [A7] platform admin · Order templates with no Brand chip → open Wedding Dinner → the pager counts the org list's rows; Wedding Dinner at
?f.brand=<Acme Corporate Events id>(a chip on another brand) → the editor shows and no pager - [A2, C7] platform admin · Wedding Dinner → Order templates by the record's back link → Event types by the Setup column → the clock moves past the 30 s staleTime → Back twice with the record
viewheld → Wedding Dinner's record shows within 100 ms from the cache (asserted on a built host); released → it refreshes in place (the same Details card, the same document) with no__data.jsonrequest (asserted on a built host) - [A8] platform admin · Wedding Dinner → its Group and Structure sections by the record's section links → no record
viewrequest; the address's season (?season=, the change the Pricing card's season picker makes; Wedding Dinner prices no package, so the picker is not drawn) moved to a season that is not the current one with that season'sviewheld → the record stays drawn (the same Details card, no loading card); released → the Edit items dialog's season select shows the new season - [A9] platform admin · Wedding Dinner → the HQ trail names Wedding Dinner; Search pages (⌘K) lists no Recently viewed entry for it, as today (an order template is not a Recently viewed kind)
- [A4] platform admin ·
/hq/order-templates/<an unknown id>and/hq/order-templates/<a malformed id>→ the not-available state inside the Setup frame; Wedding Dinner with itsviewanswering 500 (faked in the browser) → the error with Try again; let through, Try again → the recordviewis read again and the editor shows - [A5] Sasha Reyes (the messaging-inbox brand's sales_rep: ViewEventOrders, no ManageEventOrders) · the published Walk library template's record → the read-only view in the Setup frame, with no Edit, Delete, Add section or Published switch
- [C5, A3] platform admin · New template in Acme Weddings with a run-tagged name → the run's template opens; Details → a description → Save; Add section twice; the first section → Move down; its Edit → a new name → Save; the second section → Delete (confirm); Pricing → Edit → the running-estimate switch → Save with the refresh answering 500 (faked in the browser) → "Couldn't refresh this order template" above the still-drawn record; let through, Try again → the alert goes and the saved pricing shows; the Group section → Acme Weddings' first group → Save group; the Overview page section → publish the overview page; Published on, then off; Duplicate to another brand → another Acme brand with a run-tagged name → Duplicate → "Copied to …" → each shows the saved state, stored, with no page reload and no
__data.jsonrequest (asserted on a built host) - [A3] platform admin · the run's template published, made available for the wedding's event type (a policy row by SQL) and attached from the seeded Acme Weddings wedding's Order setup (an active derived builder) → back on the template, Add section (a structural save) → the "Update builders from this template?" checklist lists the derived builder; Update 1 builder → the derived builder is synced, stored
- [A11] platform admin · the run's template → Details → Edit → a new description → Save → shown; Edit again shows the saved description, Cancel keeps it; Edit → change only the name → Save → the name shows and the description is still the saved one; reload → the saved name and description
- [A12, C5] platform admin · the run's template → Delete (confirm) → the "Template deleted" toast, then the Order templates list, with no not-available card drawn in between, and the template's row is gone; Wedding Dinner's label, description, status and timestamps are as the run found them
Authz / money / schema
- Authz: the record's read gates moved from the page's server
loadintoview/+server.ts, in the same order: the template's brand (orderTemplateRecordBrand:recordBrandStaffon the id, then the brand's ViewEventOrders), then the record read. Every refusal answers 404, which the page draws as not-available. Org staff is not a gate, as before: the oldloadcalledasOrgStaffonly to pick the pager's chip brand, and a brandsales_repwith no org staff reads the record read-only (#8191, #7433). The first build did add an org-staff gate; the fresh Walk's step 7 caught it, and this PR dropped it before landing.view/server.test.tscovers each gate and each refusal. The save actions stay in+page.server.tswith their gates unchanged. - Money: none. Price and publish saves still paint only after the server answers.
- Schema: none.
- Improved
Move the Catalog item record (`/hq/catalog/items/[item_id]`) onto the HQ screen kit.
On stagingExposure
- The Catalog item record draws in the browser from its own cached view; saves refresh it in place Always on
- The season control keeps a viewer's season pick while a cached item record is re-read Always on
- A viewer refused the item read (no catalog access) sees "This isn't available to you." inside the record's frame, where the old page showed an error Always on
Engineering details
PR #8549 Issue #8515 Landed 5261a99
Walk
- [A1] platform admin · Items · Create · Shared · a run-unique name → its row; a click on the row with the record's view read held → the frame (back link "Item catalog", kind Item, a skeleton) shows, the list is gone and no Details card is drawn; released → the title and the Details card. Grilled Salmon at
?section=pricewith its view held → the Details card is never drawn; released → the Price section - [A2, A3, A13] platform admin · back to Items; the clock moves past the 30 s staleTime; the same row again with the record's refresh read and the catalog's held → the cached record shows at once (no skeleton) and stays in place when the refresh answers; back to Items with its read held → the cached rows; no
__data.jsonon the hops, none for the item's path (the record has no server load; asserted on a built host) - [A8, A10] platform admin · the walk's item · Details · Edit · a new Label · Save item, then at once Add group and type its label → the new label shows in the title and the form, the typed label stays whole, the save refetches the item's view, no document reload and no
__data.json(asserted on a built host) - [A11] platform admin · a cold visit (a document load) to Grilled Salmon → exactly one GET of its
items/<id>/viewonce the record shows, and no other catalog data read for the visit - [A12] platform admin · Items (the list's rows read) · the walk's item · the pager's Previous (or Next) → the neighbouring row's record, in the list's order, its position "n of N" as the list; and back again → the walk's item
- [A9] Bill (no catalog gate) · the walk's item → not-available inside the frame (back link shown, no Try again); platform admin · an unknown item id → not-available; the view answering 500 → Couldn't load with Try again; let through, Try again → the record
- [A15] platform admin · the walk's item · Delete item → the Items list, the row gone; no GET of that item's view after the click and the not-available state never drawn
- [A14] platform admin · Acme Weddings offers · Add items · New brand item (run-unique) · its brand item page at
?section=details· the Active switch, then at once Details · Edit and type in Label → the typed text survives the save and no document reload; Delete item → the offers list - [A16] platform admin · Grilled Salmon's Used in order templates (a document load: read fresh) · Chafing Dish's · pick another season in view → Grilled Salmon again within the 30 s staleTime with its view read held → its view is read again (the pick marked it stale); released → it shows the picked season; the current season picked back
Authz / money / schema
- Route gate:
hq/catalog/items/<id>/viewkeeps the org-staff gate (404). A 403 from the item read now answers 404 (not available), where the old load answered 500. The assumption: a viewer without the catalog gate should see "not available", not an error with a retry. - Money: the season price and Market price saves are unchanged. No writer paints a cached value (no
cache:orviewSaveCache), and the Price card draws only from the server's answer.
- Improved
Move the event type record (`/hq/event-types/<id>`) and the inquiry form record (`/hq/inquiry-forms/<id>`) onto the HQ screen kit.
On stagingExposure
- Inquiry form record on the HQ screen kit (client-side load, view endpoint) Always on
- Brand tree inquiry form page drops its unread streamed fields Always on
Engineering details
PR #8555 Issue #8525 Landed f65e814
Walk
- [A1] platform admin (org staff) · Inquiry forms → click "Planner nurture walk" with the record view's
recordpart held → the record frame (Setup record header with the ‹ Inquiry forms back link, the loading card) shows and the list is gone; released → the record draws and the HQ trail names the form; the same from the event type record's Used by › Inquiry forms (a server-load screen not on the kit): its link withrecordheld → the record frame, the event type's screen gone; released → the record. - [A21] platform admin · from the list with no Brand chip, click the form → the "n of N" pager over the org rows, with no list read for the click; the record opened with the list's
viewheld → the record draws with no pager; released → the pager; with the Brand chip on Acme Corporate Events (?f.brand=<id>) → the pager walks that brand's forms, keeping the chip; with the chip on Acme Weddings → the list view reads Acme Weddings and no pager shows. - [A2, A3] platform admin · list → record → list → record by clicks with every view read held → each second visit draws from the cache at once (no loading rows, no loading card); the clock past the 30 s staleTime, Back and Forward with the views held → the cached list, then the cached record, show at once and refresh in place (the same element); no
__data.jsonread (asserted on a built host). - [A8] platform admin · Settings › Form settings: Edit → change Display name → Save → the saved name shows with no page reload; Edit again → the field holds it; put back. Fields: Edit → flip Message box → Save → the saved state shows, Edit again holds it; put back. The Notifications planner sheet: move the last check-in day → leave to the list and come back at once → Closing & warnings shows the saved day; put back. Archive → Archived, read-only, no reload; Unarchive → Active. No
__data.jsonread (asserted on a built host). - [A8] platform admin · Settings › Form settings: Edit, type a new Display name and do not save; a planner sheet save refetches the record view → the typed name stays in the field; Cancel → the saved name.
- [A20] Hollis Billing (hq-billing-admin@acme.test, billing admin) · the form's record → the not-available card inside the Setup frame and the
recordpart answers 404; platform admin · an unknown id and a malformed id → the same card and the same 404 body; therecordpart answering 500 (faked in the browser) → the error with Try again; Try again → the record. - [A24] platform admin · the record at
?section=closing→ Closing & warnings opens once the record draws; the record at?brand=acme-weddings→ the record draws naming Acme Corporate Events and no read carries the old brand. - [A8] platform admin · the partner form "Venue Partner Preview" (Acme Weddings) › Settings → the
venuespart answers and the Venue partner field names its designated venue; Edit → the picker lists it; Cancel.
- Improved
After a save whose refresh read fails, an HQ record **drawer** still shows the data from before the save as current. #8472 fixed this for screens and record frames that draw through `viewState`.
On stagingExposure
- HQ record drawers (account, thread, order, contact, team member, venue, inquiry, agreement, event) show "couldn't load" with Try again, not the data from before the save, when the refresh after a save fails Always on
Engineering details
PR #8548 Issue #8521 Landed 996d6b9
Walk
- [A1, A3, A4, A5] platform admin · zz-e2e-org-tests-messaging-inbox · Harbor & Pine Events · Hazel Harbor's contact drawer with her address marked bounced (by SQL) · Clear bounce with the contact's core view read (
contacts/<id>/view?part=core) answering 500 → the clear lands (bounced is false in the database) and the drawer gives way to "This contact couldn't load." with Try again (no bounce notice, no drawer head, never not-available); released, Try again → the drawer draws Hazel Harbor again with no bounce notice, no page reload - [A2] platform admin · Hazel Harbor's contact drawer read once, then closed; the page clock past the 30 s staleTime with no save; the contact's core view read answering 500 on every attempt; the drawer opened again → the cached record keeps drawing (her name in the head), the read and its retry were sent, never "This contact couldn't load." nor not-available
Authz / money / schema
none
- Improved
Move Catalog → Import, Import items and Import options (`/hq/catalog/import/**`) onto the HQ screen kit.
On stagingExposure
- Import, Import items and Import options drawn in the browser from one cached view Always on
Engineering details
PR #8550 Issue #8514 Landed c00f651
Walk
- [A1, A8, A9] platform admin · from Events (a document load) and from an item record (a page that keeps its server load), a click to Import, Import items and Import options with that page's view part held → the Setup frame and the strip show (Import: the heading "Import catalog", the cards and the Options card's pending line; Import items and Import options: the loading panel) and the old screen is gone; released → the panel fills. A built host sends no
__data.jsonrequest for these pages (a dev host writesnot asserted) - [A2, A3] platform admin · Import → Import items → Import options (each answered once) → Back → Back, each page's view part held on the way back → each shows its cached data at once with no document request; the clock moves past the 30 s staleTime; Import again with its part held → the cached readiness line shows at once; released → the same line element stays (refreshed in place)
- [A4] platform admin · each of the three pages from Events with its view part held → the strip shows no numbers; released → Items, Options, Tags and Fee types show the numbers of that part's
counts, and no number shows and then goes away - [A7] platform admin · Import → the Options card shows the readiness sentence that matches the hub part's
optionReadiness, and the Prices card shows - [A5, A10] platform admin · Import items · a one-row CSV for a run item → Commit → the result shows and the items part is read again, with no
__data.jsonon a built host; a second run item, with the items part answering 500 after the commit → the error card with Try again shows above the wizard, the result stays on screen and a new commit is blocked; the part let through, Try again → the error card goes - [A5] platform admin · Import options · an options CSV for the step 5 run item · the dry run → no view read; Commit → the result shows and the options part is read again, with no
__data.jsonon a built host - [A11] platform admin · Import items with a CSV file staged · a run season is added (Setup › Prices › New season, in a second tab) and the page is opened again past the staleTime → the wizard mounts again (the file stage is empty) and the season select offers the run season
- [A6] hq-billing-admin@acme.test · Import, Import items and Import options → the Setup frame, the strip with no numbers and the not-available card; each view part answers that viewer 404
- Improved
Move the venue record's last server-loaded tabs onto the HQ screen kit: Settings, Spaces & floor plans, Messages and Activity › Emails.
On stagingExposure
- Venue record Settings, Spaces & floor plans, Messages and Activity › Emails read through the one query cache, with no server load. Saves refresh in place and the Settings rename paints at once Always on
- The hq-screen-kit lint drops the four tabs' allowlist entries No runtime path
Engineering details
PR #8551 Issue #8505 Landed 40a94c0
Walk
- [A1, A11, A25] org admin (platformadmin) · Harbor Hall (6377) · a cold load of Settings → three view part reads (core, events, inquiries); Overview → Settings by a tab click with the core cached → the frame, the tab bar and Venue settings at once, with no part read but a core refresh; Activity › Emails with the
emailspart held → one section per brand, each with its Sent list, while it is held, with no pending panel and no error; released → the same sections. - [A1, A11, A23] same · The Foundry · Overview → Spaces & floor plans with the
spacespart held → the frame, the tab bar and a pending list, never the Overview; released → the floor plans; a cold load of Spaces → four view part reads (core, events, inquiries, spaces) · Cedar Hall · Overview → Messages with themessagespart held → the frame, the tab bar and a pending list; released → its thread rows · Harbor Hall · Messages → No messages with this venue yet. - [A2, A11] same · past the 30 s stale time, a revisit of Settings and Activity › Emails (Harbor Hall), Spaces & floor plans (The Foundry) and Messages (Cedar Hall) with every view read held → the cached tab at once with no pending state; released → refreshed in place, the same element.
- [A3, A11, A13] same · Harbor Hall · Settings, Spaces & floor plans, Messages and Activity › Emails each drawn once, then visited again with every view read held → each shows at once with no pending state; no
__data.jsonfor Messages or Activity › Emails, and Settings' and Spaces' own (actions-only pages) counted on a built host only. - [A20] same · The Foundry · Spaces with the
spacespart answered 502 → Floor plans failed to load. with Try again inside the frame, never Not found; let through, Try again → the floor plans · Harbor Hall · Messages with themessagespart answered 502 → Messages' error with Try again; let through, Try again → its empty state · a random venue id under /settings, /spaces, /messages and /activity/emails → a 200 document and the record's not-available state. - [A21] the Acme Weddings-only admin (hq-brand-only-admin@acme.test) · Harbor Hall → no Spaces & floor plans, Messages or Settings tab; each of those three addresses answers a 200 document and draws Not found inside the frame.
- [A8] org admin · Venues · Create on Acme Weddings with a run-named venue → its Settings · Edit · rename it and give it an address · Save with the
?/updateVenuePOST held → the header and the trail show the typed name while it is held, and the header's address and brand badges do not change; released → the name stays, Venue saved, the address shows, no page reload and no other__data.json(Settings' own counted on a built host only); a FAKE refusal (the POST answered at the route with a 400 action failure) → the typed name while it is out, then the saved name back in the header and the trail and the refusal's message in a toast; assign Acme Corporate Events → it shows in the assignments list and as a second header badge, no page reload. No seeded venue is edited; the run-named venue goes inactive.
Authz / money / schema
- Route gate: the venue record's
viewendpoint gains three parts (spaces,messages,emails). Each runs the record gate first, then the gate its tab ran before (tab-gate.ts, unchanged). A refused tab answers 404, the same as the old page load. Assumption: the tab gates are the right gates for the data, as they were for the pages. - The Settings and Spaces actions keep their
gatedTabActionsgate, unchanged.
- Improved
Move Catalog → Options, Tags, Fee types and Meal categories (`/hq/catalog/{options,tags,fee-types,meal-categories}`) onto the HQ screen kit.
On stagingExposure
- Catalog › Options, Tags, Fee types and Meal categories read their own view through the query cache, and their server loads are gone Always on
Engineering details
PR #8544 Issue #8513 Landed ccfcc00
Walk
- [A1] platform admin · a click to each of Options, Tags, Fee types and Meal categories with its view read held, from (a) the Catalog list (a moved screen), (b) another of the four (Tags → Options, Options → Tags, Meal categories → Fee types, Fee types → Meal categories) and (c) Catalog › Import (unmoved), each by the catalog strip → the Setup frame and the strip (the target marked, no count) show with the loading card, and the old screen is gone; released → the card fills in and the strip shows the Items, Options, Tags and Fee types counts
- [A2] platform admin · each of the four visited, then another of them; the clock moves past the 30 s staleTime; back by the strip with its view read held → the cached card and the strip's counts show at once with no loading card; released → the same card element stays (refreshed in place), no loading card was drawn and no count went away
- [A3] platform admin · Options and Tags both cached; Options → Tags → Options by the strip with both view reads held → each card shows from the cache while held; no
__data.jsonrequest is sent (asserted on a built host) - [A8] platform admin · Fee types · New fee type · a run-tagged name, 5 percent · Create fee type → its row; open it · Archive →
Fee type archived, the row leaves the Active view, archived in the database; no page reload and no__data.jsonrequest on either save (asserted on a built host) - [A8] platform admin · Meal categories · New category twice (two run-tagged categories, side by side) →
Category addedand each row; Edit the first · a new name · Save category →Category savedand the new name; Move the second up → it sits above the first; Move it down → below again (a move retried once on "Couldn't move the category"); New category with the second's name →A category with that name already existsin the dialog and its toast, nothing written; Remove each →Category removedand its row gone; no page reload and no__data.jsonrequest on any save (asserted on a built host) - [A22] platform admin · each of the four by a document load, and by the strip from Import → one request of its own view per visit
- [A20] Bryn Lens (org staff, no organization role so no ManageCatalog, checked through SQL) · each of the four → the Setup frame and the strip, no count, no card and no not-available card. Platform admin · each of the four with its view answering 500 → the frame, the strip and Couldn't load this section. with Try again; let through, Try again → the card
Authz / money / schema
- Four new GET endpoints,
hq/catalog/{options,tags,fee-types,meal-categories}/view: the org-staff gate (404 otherwise), and with no ManageCatalog on the org the body is{ canManage: false }with no catalog read. This is the same gate the old server loads had, through the bridge.
- Improved
Move the resource templates library and record (`/hq/resource-templates`, `/hq/resource-templates/<id>`) onto the screen kit: 3 server loads (`+layout.server.ts`, `+page.server.ts`, `[template_id]/+page.server.ts`).
On stagingExposure
- Resource templates library and record draw in the browser through view endpoints Always on
Engineering details
PR #8539 Issue #8502 Landed 1733d71
Walk
- [A1, A6] Org admin · HQ → Agreement templates → Setup → Resource templates → the library frame (header, the list's loading rows) shows at once; with
view?part=ownersheld no row and no Create draw; released, the rows and Create draw together; withview?part=rowsanswering 500 (faked in the browser) the error shows Try again, and Try again reads the view again and draws the list; no__data.jsonread for the page. - [A7] Org admin · open
/hq/resource-templates?brand=acme-weddings→ the address ends on?f.brand=<that brand's id>(the entry replaced) and the Brand chip names Acme Weddings;?f.brand=<unknown id>→ the parameter goes; no view read names a brand before the address is clean. - [A8] Org admin · the library with the Brand chip on Acme Corporate Events → the Attached by column shows, from the
usageread for that brand; with no chip → no Attached by column. - [A2, A11] Org admin · click "One library walk guide" in the library → the record frame shows while its view is held, the editor fills in when it answers; the HQ trail shows the template's name; with the
reachpart held, the editor still draws. - [A9] Org admin · open the record with the library's
rowspart held → the editor draws and no pager shows; released → the pager shows; with therowspart answering 500 → the editor draws and no pager shows. - [A3] Org admin · library → record, clock past 30 s, Back → the library's rows show at once from the cache and refresh in place (the same row element); clock past 30 s, Forward → the record shows at once and refreshes in place (the same editor element).
- [A4, A13, C5] Org admin · on "One library walk guide", Edit → change only Display name → Save template → the saved name shows with no page reload and only view reads; Edit again shows the saved name; the label is unchanged; the name is put back.
- [A4] Org admin · Create a link, a rich text and a file template named for this run (Acme Weddings) → each opens its new record with no page reload and no
__data.jsonread, and Back shows the new row in the library. - [A10] Org admin · the library's Create (kind File) and the run's file template's Edit (Replace file) → each offers the direct upload (100 MiB) exactly when its view's
directUploaddecision says so, and the record's decision equals the library's. - [A13] Org admin · on the run's link template, save a new Display name → Edit, Cancel, Edit again shows the saved name; a second save changing only the URL keeps the saved name and saves the URL.
- [A4] Org admin · on the run's link template, Archive then Unarchive, and save its Brands (add Acme Corporate Events) → each shows the saved state with no page reload; a refused archive shows its message and the shown state stays the server's.
- [A5] Org admin · open
/hq/resource-templates/<an id that does not exist>→ the not-available state inside the Setup frame; the seed record with itsrecordpart answering 500 (faked in the browser) → the error with Try again, and Try again reads the view again and draws the editor.
Authz / money / schema
- Route gate:
hq/resource-templates/view?part=rows|owners|usageandhq/resource-templates/<id>/view?part=record|reachkeep the gates the old loads held: org staff, else 404; an unknown part 404;ownersand the record'sdirectUploadcome from the same Create-owner reads as before;usageonly for a held brand the viewer may view the event types of; a reach refusal answersnull, never an error. Caboose still decides which rows a viewer reads and whether they may edit.
- Improved
Move the org Venues list (`/hq/venues`) onto the HQ screen kit.
On stagingExposure
- The Venues list is drawn in the browser from the screen kit's view reads (`?part=rows|frame`), with a loading state, a failure state and Try again Always on
- Create venue builds its form in the browser and refreshes the rows after a save, including the redirect after a failed account assignment Always on
- The hydration proofs move off HQ: the delayed-startup proof uses the public inquiry form and the navigation hold uses the customer portal No runtime path
Engineering details
PR #8541 Issue #8504 Landed 6c1ef21
Walk
- [A1, A11, A20] org admin (platformadmin) · All brands · Events → the sidebar's Venues with the list's
view?part=rowsandview?part=framereads held → the title, the Venues / Venue accounts tabs, the table head and its loading rows show at once (astreamed-pendingslot); the rows released alone → Harbor Hall (6377)'s row while Create venue is still absent; the frame released → Create venue shows. - [A2] same · past the 30 s stale time, Events → Venues with the rows refresh held → Harbor Hall's row at once with no pending state; released → refreshed in place.
- [A3, A11] same · Venues → Harbor Hall's row → its record; Back → the list; the row again → the record → after both are cached, neither click sends a
__data.jsonrequest under/hq/venues(the record root's own counted on a built host only) and neither awaits a view read. - [A8, A20] same · the Venue accounts tab selected · Create venue · Brand step Acme Weddings · a run-named commercial venue with a new run-named venue account and an address typed by hand → the dialog closes, the Venue accounts tab stays selected and lists the new account; the Venues tab lists the new venue; the create sent one
rowsread, noframeread, no__data.jsonrequest and no page reload; the same create with its POST answered as a refusal → its message shows and the typed name stays. The org admin makes the run-named venue inactive infinally. - [A22] same · Create venue with its
?/createVenuePOST answered by a fake redirect result to Harbor Hall'ssettings?unassigned=1(a real failed assignment cannot be made on the bed) → Harbor Hall's Settings withunassigned=1; onerowsread after the POST, before the arrival; no page reload. - [A20] same · the old address
/hq/venues?brand=acme-weddings→ the address becomesf.brand=<Acme Weddings id>in place (the history entry replaced) and the rows show Acme Weddings' venues;?f.brand=<a random id>→ dropped, all brands. - [A20] same · Venues with the rows read answered 500 → "Couldn't load venues." with Try again; let through, Try again → the rows; the frame read answered 500 → "Couldn't load Create venue." with Retry in Create's place while the rows stay; Retry let through → Create venue.
- [A20] the Acme Weddings-only admin (hq-brand-only-admin@acme.test) · Venues → Harbor Hall shown, a venue on Acme Corporate Events alone (picked at run time) not shown, no Venue accounts tab.
- [A21] a visitor · the public inquiry form
/brand/acme-weddings/inquire/unbooked-prospect-demowith the app scripts held → "Pick an event type" shows, readiness rejects, no action runs, "Client 2 — …" absent; released → choosing Wedding shows "Client 2 — …"; a reload under held scripts → the same held state. - [A23] org admin · the brand landing
/brand/acme-weddings· "Platform Admin" with the portal's__data.jsonheld → nodata-hydratedand readiness rejects; released → the customer portal, ready; the staff hops Venues → Events hold nothing. - [A13] Read: the list's file set —
hq/venues/view/+server.ts(?part=rows|frame),screen.ts,+page.tswithssr = falseand onestartViewscall;hq/venues/+page.server.tsexports noload; the screen-kit lint lists the list's files as moved and+page.tsas a screen (lint test "venues list: … (#8504)"). - [A24] Read: the selected specs of this branch ran once on a built bed at 4fcbc464b7: 25 passed, 1 failed. The two proofs this PR moved passed (
hydration.spec.ts"SSR and reload wait for client startup…" and "staff and portal navigation await the destination, including delayed data"). The one red, "shallow drawers and cancelled navigation…", fails on lines this PR does not touch and is the tip's own (#8474 moved the contact onto a URL drawer). The specs this PR changed:hydration-journey.ts(helper),6377.spec.ts,8375.spec.ts,8504.spec.ts.
Authz / money / schema
- Route gate: the Venues list's reads move from the page
loadtohq/venues/view/+server.ts. The gates stay the same: org staff only (anyone else gets 404), and the rows follow ManageVenues (all venues and venue accounts) or ViewBrandVenues (the viewer's brands' venues), with no rows for neither. The assumption: theasOrgStaffgate on the view endpoint matches the gate the old load got from the HQ layout. No schema or money change.
- Improved
The inquiry record's server file still holds two things that the project's rule says to keep apart. `apps/web/src/routes/org/[org_slug]/hq/inquiries/[inquiry_id]/+page.server.ts` is 1,752 lines: the record's read (`_loadInquiry`, `readInquiryCore`, `readInquirySide` and their types, about 830 lines) and all the record's form actions (about 900 lines). #8407 (part 1, landed at `743443306`) moved the record onto the screen kit and kept the read in this file so its diff stayed readable.
On stagingExposure
- The inquiry record's read moves from `+page.server.ts` to `inquiry-load.server.ts`, unchanged Always on
- The record's 23 form actions move into eight section files that `+page.server.ts` spreads, unchanged Always on
- Tests, the seam lint's list of moved files, two docs and the Walk spec No runtime path
Engineering details
PR #8528 Issue #8484 Landed 0c607da
Walk
- [A2, A6] platform admin · Bria Blockscreen's inquiry record in HQ · opened by its address → its
view?part=coreandview?part=sidereads each answer 200, and the header shows her name with the record's tabs - [A1, A3, A5, A8] platform admin · Bria · Overview · Catering brief · Edit · Event timing with a run-unique text · Save → the editor closes, the saved text shows on the card, and the database holds it
- [A4, A7, A8] platform admin · Bria · Qualify · one event block · Qualify and create event → the dialog closes, the browser lands on the new event, Bria is Qualified with one event
Authz / money / schema
none
- Improved
Move the org Payments list onto the HQ screen kit, with Receive payment and Unapply.
On stagingExposure
- Receive payment on the org Payments page reads its options from its own endpoint instead of the page's load Always on
Engineering details
PR #8536 Issue #8501 Landed 346328f
Walk
- [A1, A6] Platform admin · the paging org's Payments · Receive payment → Paging Payments → Quill Ledgerwood → the dialog "Record money received for Quill Ledgerwood" opens after exactly one
receive-optionsread and no page-data read; the address carriesreceive=andreceiveBrand=. No page-data read on the pick means the load no longer reads the receive params (A6; its unit testreads no receive paramspins the load itself). - [A2, A4] Platform admin · reload at that address → the dialog shows again after exactly one
receive-optionsread (a fresh read, not a held or cached answer; A4's hold-and-drop rule is pinned byholds the options only for the open dialog). - [A7] Platform admin · in the dialog: Check, a run amount on the booking fee, a run memo → "Payment received", the dialog closes, the new receipt is on the list · Invoices in the sidebar → the fee's balance is lower by the run amount. The receipt is removed by SQL afterwards.
- [A3, A5] Platform admin · the Payments address with
?receive=<a random id>&receiveBrand=<the brand>(caboose refuses an unknown account, soreceive-optionsanswers its 404) → no dialog, one toast "Could not open Receive payment for this customer", the address loses both params, after exactly tworeceive-optionsreads (one retry). This walks the refusal path; the reshape's "brand the viewer cannot manage" case answers the same 404 and is pinned byanswers one 404 for every refused case, since the platform admin manages every brand.
Authz / money / schema
- New route gate:
hq/billing/payments/receive-options(GET) uses the old load's gate: org staff with ViewBrandInvoices, thenlensBrandStaffon?receiveBrand=with ManageInvoices. Every refusal, a missing param and a caboose refusal answer one 404. The assumption: this is the same check the page's load ran before, now on its own address. - Money: unchanged. Record payment stays server-confirmed through the same
recordPaymentaction.
- Improved
Move the event record's Order setup tab (`events/<id>/order-setup/`) and the order builder page (`events/<id>/order-setup/<builder>`) onto the screen kit.
On stagingExposure
- The Order setup tab and the order builder page draw in the browser from the query cache Always on
- The e2e helpers and the #5169 spec wait on the new view reads No runtime path
- The seam lint lists `order-setup/**` as moved and drops its two allowlist entries No runtime path
Engineering details
PR #8532 Issue #8478 Landed 87ad330
Walk
- [A1, A11, A13] platform admin · the wedding's Overview → Order setup with the tab's view read held → the record frame, its sub-tab row and the loading rows, no action button; released → the builders. Order setup → the seeded builder with its view held → the back link (Order setup) and loading rows; released → the editor. Each page reads its own
viewendpoint. - [A2, A11] platform admin · the clock moves past the 30 s stale time; revisit Order setup and the seeded builder's page, each with its refresh held → the cached data at once (no loading rows) and the refresh sent; released → the same elements stay (refreshed in place).
- [A3, A11] platform admin · with every read of the two held: Overview → Order setup, Order setup → the seeded builder, the back link → Order setup → each draws its data at once; no
__data.jsonrequest on any move (asserted on a built host). - [A8] platform admin · Order setup → Attach template → a published template → Attach → the new builder listed as Draft and stored; its page → Add section → shown and stored; Details → Edit → a new name → Save → shown and stored; Edit → name emptied → Save → "Name is required", nothing stored; one document, no
__data.jsonrequest. - [A2] platform admin · the Walk's builder renamed from a second page of the same session; on the first page, back to Order setup, clock past the stale time, the builder again → the cached entry, then the current name in Details; Edit → the Name field holds the current name; a description-only save keeps that name (consult F1).
- [A8] platform admin · on the Walk's builder page, a description save whose view refresh answers 500 → "Couldn't load this order builder." with Try again, not the pre-save builder; Try again → the saved builder. On Order setup, a second builder attached while the tab's refresh answers 500 → "Couldn't load order setup." with Try again, no builder rows; Try again → the list with the new builder (consult F3).
- [A8] platform admin · Order setup → Delete on each Walk builder (the draft-cascade confirm when asked) → the card and the stored row gone; the seeded builder stays; one document, no
__data.jsonrequest. - [A20] platform admin · an unknown builder id, and another acme-weddings event's builder id under the wedding's Order setup → the document answers 200, then not available once the view answers 404; cached entries whose refresh answers 404 → the cached data until that answer, then not available. Sasha Reyes (sales rep) types her event's Order setup URL → the record frame and Order setup not available, no builder data.
Authz / money / schema
- Route gate: two new view endpoints,
order-setup/viewandorder-setup/[builder_id]/view. Each is gated as the server load it replaces was (org staff, the record's brand througheventBrand,ManageEventOrders, the builder inside the path's event), and answers 404 for every refusal. The assumption: the old loads' gates were the right ones. The new endpoints add an explicit org-staff check, and a caboose 403 on a main read now answers 404, not 500.
- Improved
Move the HQ Agreements record (`hq/agreements/[contract_id]`) and the agreement drawer onto the screen kit (`lib/screen/`), the way the customer account record (#8360) and the event record (#8370) moved.
On stagingExposure
- The agreement record and the agreement drawer read the record view in the browser Always on
Engineering details
PR #8522 Issue #8471 Landed c4ca974
Walk
- [A1] From the Agreements list, click a link to the Walk's draft agreement with its record read held. The record's loading frame shows beside the list at once. Release the read: the record fills in. Exactly one record read is sent, and no
__data.jsonfor the record's address (counted on a built host). - [A2] From the record go to Events, and change the agreement's status elsewhere (one SQL write). With the clock past 30 s, go Back with the refresh held. The cached record shows at once (Draft) and its heading never leaves the page. Release: it shows Awaiting details with no click. The trail names the event.
- [A3] On the draft's record, Offer expires → Change → On a date → Save. The record and its list row show the new date with no page reload; one record read and one list rows read follow. With the record changed elsewhere (one SQL write), a second save is refused with "The agreement changed. Check it again." and the record shows the stored date.
- [A7] The draft's event record (Agreement card) and the Wren Walker account (Agreements tab) each open the agreement drawer with its Offer expires control. On the event's Agreement tab, Offer expires → Change → On a date → Save shows the new day.
- [A4] Make the same draft available, then Void it on its record with the Void request held. Nothing changes before the answer. Release: the record shows Void and the row leaves the live list, with no page reload; one record read and one list rows read follow.
- [A5] The agreement drawer from the list: with nothing cached it reads the record once; again within 30 s it sends nothing; past 30 s with the read held it shows the cached drawer at once, then one read and the same heading. Open full page, Events, Back twice: the drawer over the list, the list at its scroll. From an event's agreement line in a new page: one record read, no list rows or frame read; again: no read.
- [A6] The billing admin, and the weddings-only admin at an acme-corporate agreement and at a random id, each see the one Not found page; each record read answers 404, with the same body for the foreign and the random id. In the drawer: no entry and the read refused → the full page's Not found; a cached entry whose refresh is refused → the drawer's not-available line and no old field; a history entry restored after a reload → one read and the record. A 500 shows the error with Try again, never Not found; Try again then shows the record.
- [A8] Read: the agreement record has
+page.ts(ssr = false, onestartViews, ids only, in the lint's screens list),view/+server.ts,record-view.tsand an actions-only+page.server.ts. The lint holds noserver-loadentry for it, keeps thepage-stateentry fororg-agreements-table.svelteuntil the agreement drawer moves to the URL drawer, and lists the record's files as moved. - [A9] A record address in a new tab shows the record with the list beside it. Signed out, the address goes to sign-in with no HQ frame; signing in comes back to the record.
- New
Move the last three Accounting screens onto the HQ screen kit: Accounting → Customers, Items and Setup.
On stagingExposure
- Customers, Items and Setup draw in the browser from a cached view read and refresh in place after a save Always on
- Setup's Finish posts in place and moves to the hub without a page load Always on
- Customer links stay behind `qbo_customer_links` Behind qbo_customer_links: dark on staging and production until turned on
- The lint list, the pin tests and the e2e specs No runtime path
Engineering details
PR #8535 Issue #8490 Landed f3cf7f2
Walk
- [A1] platform admin · the Accounting hub, then Setup → Catalog → Fee types (a screen still on a server load) · with the member's view read held, open Customer links, Destinations and Set up accounts → the old screen's heading goes at once and the member's loading card shows (Customers and Setup with their Accounting back link); releasing the read draws QuickBooks customers, QuickBooks destinations and Set up Acme Books (catering LLC).
- [A2, A3] platform admin · Customers and Destinations both visited in this tab; back on the hub, Customer links and then Destinations again, each with its view read held → the cached screen shows at once, no loading card, and it stays when released. Between cached screens: no
__data.jsonrequest and at most one view request per visit (built host only; this dev host writes not asserted). - [A2] platform admin · Set up accounts, then ← Accounting → Destinations · save another processing-fee account on a Stripe fees row; back on the hub, Set up accounts with Setup's view read held → the loading card shows, never the wizard with its earlier choices; released, Review shows
Fees: Link <the account just saved>. - [A8] platform admin · one tab: Customers, the hub, Destinations · Food → another QuickBooks item: the row shows it, one Items view read, no
__data.json, no reload. Back, Customer links · Re-link Merged Client Demo: the impact read sends no view read; Save link to Spare Catering Client →Link saved, the row shows it, one Customers view read and no Destinations read. Another account takes Legacy Catering Client first →Already linked to …, no view read. ← Accounting → Set up accounts → 4. Customers · Review links → the review shows, no view read. - [A10] platform admin · each member opened with its view read held → only the back link (Customers, Setup) and the loading card: no heading and no file name. Bryn Lens (
hq-brand-only-admin@acme.test, no billing permission) · Customers, Destinations and Setup →This page isn't available., with no heading, description or file name in the page or the breadcrumb. Platform admin · each member with its view read answering 500 →Couldn't load this section.with Try again; let the read through, Try again → the screen. - [A11] platform admin · Destinations and Setup → the breadcrumb ends in
Acme Books (catering LLC). - [A13] Read: each member (customers, items/[connection_id], setup/[connection_id]) has
view/+server.ts,screen.ts,+page.svelte,+page.server.tswith actions only (noload), and a+page.tswithssr = falseand onestartViews(call; every one of those files is on the screen-kit lint's list. - [A17] platform admin · Setup · change the Booking fee item, 4. Customers · link an unlinked account to Legacy Catering Client, Review links, Confirm 1 link →
1 of 1 links saved; the step and the report stay after the refresh. With Setup's view read answering 500, link a second account to Spare Catering Client →1 of 1 links savedstays andCouldn't refresh this setup. Your choices are kept.shows with Try again; let the read through, Try again → the line goes. 5. Review shows the changed Booking fee. Finish answered as refused → its reason shows, the Review step and the choices stay, the address does not change. Finish answered as a redirect to the hub → the page moves to the hub with no further Setup read; the hub reads its view again and showsQuickBooks setup is completein the same tab (no__data.jsonasserted on the built host only). Both Finish answers are faked in the browser, so nothing is written.
Authz / money / schema
- Route gates: the three new view endpoints (
customers/view,items/[connection_id]/view,setup/[connection_id]/view) carry the gates the deleted server loads had: org staff plusManageBilling, and for Customers theqbo_customer_linksflag. A refused gate now answers one 404 body, and the page shows one generic sentence instead of the 404 page. The assumption: caboose still checkscan_manage_billingand the flag on every save, so the page gate only hides the screen. - No money or accounting rule changed: the save actions are unchanged.
- Schema: none.
- Improved
The contact drawer and the portal drawer open from the address (`?drawer=contact:<id>`, `?drawer=portal:<id>`), drawn by the one URL drawer host, so a reload or a shared link keeps the drawer open on the same contact, and J/K steps through a list's rows from the cache.
On stagingExposure
- Contact and portal drawers opened from a page live in the address Always on
Engineering details
PR #8523 Issue #8474 Landed 4afcb26
Walk
- [A1] Platform admin · the account "Ava Harper & Noah Lee" · click Ava Harper in People → the contact drawer opens and the address gains
drawer=contact:<id>, other params kept; close it and open again → the cached contact shows at once. - [A2] With the contact drawer open, reload; then open the copied address in a new tab → the same contact drawer is open on Ava Harper, its head shows the Acme Weddings badge, and its links go into Acme Catering's one HQ (
/org/acme-catering/hq/…). - [A3] On the account record, press J then K, and use ‹ › → the drawer steps through the People contacts, replacing the address. Open
drawer=contact:<id>on the HQ home → no pager. - [A4] Ava Harper's access page · Preview this person's portal → the address shows
drawer=portal:<id>and the frame shows her portal. Reload → the drawer shows her name and a Start preview button, not "This preview has ended"; click it → the preview is framed. Back, then Forward → the drawer is back with Start preview. No load, reload, Back, Forward or step posts a preview start. - [A5] Open
drawer=contact:<random uuid>, then a contact on a brand Bryn Lens (Acme Weddings only) does not hold, as Bryn → the not-available state, both forcontact:andportal:. - [A6] Open the event drawer (
drawer=event:<id>) and click a contact inside it → the contact stacks with "Back to …" and the address bar shows the contact's own record address, as every stacked drawer does (drawer=drops); Escape →drawer=event:<id>is back. Open the contact from the page, then click a link inside it → it stacks on top and the address keepsdrawer=contact:<id>; Escape closes the top first, then the URL drawer; Back does the same. - [A7] On the account record, change a Settings field, then open Ava Harper from the record's Primary contact → no prompt, and the field keeps its value.
- [A8] In the URL contact drawer, change a field, then Back and decline → one prompt; the drawer and the address stay.
- [A9] In the portal drawer, Exit preview inside the frame → the drawer closes, both from the address and stacked. The toolbar has no Open full page; the body's Open full page shows only while the frame does.
- [A10] About 1400 px wide, the URL contact drawer docked: Preview portal → the portal stacks as an overlay; Back → it closes; change a field; Forward and decline → one prompt, and the change stays; Forward and accept → one prompt, and the portal shows Start preview; closing it asks nothing.
- [A11] Open, step and close the URL contact drawer on the account record, an event record and the payments list → no
__data.jsonrequest (asserted on a built host). - [A12] A contact stacked from the event drawer, and the portal stacked from the URL contact drawer → each stores
{}in history state; the URL contact drawer stores no entry.
Authz / money / schema
none. The contact and portal drawers read the same contact view they read before; starting a portal preview is still a POST the person asks for.
- Internal
Move event types, inquiry forms, order templates and preset orders onto the screen kit (8 server loads).
On stagingExposure
- Walk spec only: `apps/e2e/tests/review-walk/8445.spec.ts` step 8 reads documents by navigation No runtime path
Engineering details
PR #8537 Issue #8445 Landed e6aaba3
Walk
- [A1, A22] platform admin · from Overview (the Setup hub) and Catalog (both on the screen kit) and from Preset orders (still a server load), a Setup column click to Event types, Inquiry forms and Order templates with its
viewread held → the Setup frame and the list's heading show with no row, and the old screen is gone; released → the rows show, after exactly oneviewrequest for the visit - [A2, A3] platform admin · Event types → Inquiry forms → Event types by the Setup column; the clock moves past the 30 s staleTime; back to Inquiry forms and Event types with both
viewreads held → the cached rows show at once with no loading rows, the same list element stays once released, and no__data.jsonrequest is sent (asserted on a built host) - [A11] platform admin · each list at
?f.brand=<Acme Weddings id>→ itsviewread carriesbrand=<that id>; the Brand chip changed to Acme Corporate Events only → aviewread underbrand=<Acme Corporate Events id>, and the chip names it - [A9] platform admin · each list at
?brand=acme-weddings→ the address becomes?f.brand=<Acme Weddings id>with nobrand=; Bryn Lens (Acme Weddings only) · each list at?f.brand=<Acme Corporate Events id>→ the address has nof.brand; in both, no row or sentence is drawn at the old address and the replace adds no history entry - [A8] platform admin · Event types · Create event type · Acme Weddings · a run-unique name → the row shows, with no page reload and no
__data.jsonrequest (asserted on a built host) - [A20] Hollis Billing (billing admin) · each list → its sentence inside the Setup frame ("You don't have permission to view event types.", "… to view inquiry forms.", "You don't have permission to manage order templates."); platform admin · Event types with its
viewread answering 500 → the error with Try again; let through, Try again → the rows - [A23] platform admin and Hollis Billing · the Setup hub → every row link opens, below 400 with no no-access line (8178's hub row check), Event types, Inquiry forms and Order templates among the admin's rows
- [A13, A21] platform admin · each list's own address fetched as a document → the HTML holds no library and no row (the browser draws it), and its
viewanswers 200 withcache-control: private, no-store; Preset orders fetched the same way → its library is in the HTML (its server load is kept); Order templates at?f.brand=<Acme Weddings id>· open Wedding Dinner → its record, whose pager counts the list's rows
- Improved
The Venue accounts screens move onto the screen kit: the Venue accounts list and record, a venue's Account and Merge tabs, and the venue contact drawer's own parts.
On stagingExposure
- The venue account record, the Account tab and the Merge page on the screen kit Always on
Engineering details
PR #8524 Issue #8475 Landed e2bbdb0
Walk
- [A1] platform admin · Venues · All brands · the Lantern House row → its record; the venue account's address with its view reads held → the record's frame (Back to venues and the pending section), no name; released → the name and the Messages card · Lantern House cold, the Venue account tab with the account read held → the tab's pending state inside the venue frame; released → the account · Copper Lane Annex · Settings · Review merge with the merge read held → the merge page's own pending frame, Merge disabled, no venue frame; released → the Annex beside the Loft, Merge enabled
- [A2] same · the clock past the 30 s stale time each time · Lantern House's venue account record, its Account tab and the Annex's Merge page, each with its refresh read held → the cached name (and the cached preview with Merge disabled) at once, no pending; released → refreshed in place, the same element
- [A3] same · Lantern House cold · a click to Venue account → exactly one venue account view read (
/view?part=core) and no__data.json(asserted on a built host) - [A10] same · Lantern House's venue account record → the trail and Recently viewed name the account; after a reload, the same
- [A5] same · Edit · rename the account · Save → the new name in the header and the trail, Changes saved, no page reload, no
__data.json; a FAKE refusal (the?/updatePOST answered at the route with a 400 action failure) → the painted name while it is out, then the old name back with the refusal's message; put back - [A6] same · Iris Lantern's record visited, then the venue account record · her name → the venue contact drawer from the cache (her read held); a first-name save → the drawer head and her row on the record show it with no page reload and no
__data.json; put back - [A11] same · Omar Reyes made inactive (STAGED by SQL) · the record without him · Show inactive →
?showInactive=1, his row shows, no view read; reload → still shown; Back → the earlier list without him - [A12] same · a short window ·
venue-accounts/<Lantern House>?preview=ended#contact-<Iris Lantern>→ Portal preview ended shows once and her row is in view - [A9] same · the record's forms all post to the record's own address with the record's actions (rename
?/updateamong them); the Account tab's forms all post to the venue's/accountaddress with the tab's actions - [A4] same · a random venue account id and another organization's venue account → document 200, the not-available state, the view 404 · the record with its core read answered 500 (a FAKE at the route) → the error with Try again, never not-available; let through, Try again → the account · Account tab: a venue with no account → its sentence and no account read; the account read answered 404 (a FAKE) → not-available inside the frame; answered 500 (a FAKE) → the error with Try again; let through → the account · Merge: Lantern House (no match) → the merge page's not-available; the merge read answered 500 (a FAKE) → the error with Try again; let through → the preview · Bryn Lens (no ManageVenues) · the Annex's Account and Merge → not-available
- [A8, A9] Read: the moved file sets —
venue-accounts/[venue_account_id]/view/+server.ts,record-view.ts,+page.ts(ssr = false, onestartViews),+page.svelte(useView);venues/[venue_id]/merge/view/+server.ts,merge-view.ts,+page.ts(onestartViews); the three+page.server.tsfiles export actions and noload; thehq-screen-kitlint lists them,VAR/+page.tsas a screen, and no Account or Merge allowlist entry; the plan endpoints keep their addresses and the venue contact drawer still posts?/startPortalPreview - [A7] same · the Annex's record, drawer and Account tab cached · Settings · Review merge · Merge into Copper Lane Loft → the Loft's Settings, never the merge page's not-available or error on the way · the Annex's address and its drawer with its view reads held → pending, no cached Annex; released → not-available · the Annex's venue account address held → pending; released → not-available
- Improved
Move Brands onto the screen kit (10 server loads).
On stagingExposure
- The brand record and Identity draw in the browser from the record view Always on
Engineering details
PR #8511 Issue #8447 Landed fabc978
Walk
- [A1] From the Brands list, with the record read held: click Acme Corporate's Identity. The Setup frame and an empty section column show at once and the old screen is gone. Release the read: the column fills, then Identity fills. From Acme Corporate's Messaging page, with Identity's read held: click Identity. The full column shows at once, Messaging is gone, and Identity fills on release.
- [A2] With the record cached and Identity's read held: from Style, click Identity. The full column shows with no pending marker, and Identity's place is pending. Release: Identity fills.
- [A3] Go back to Identity with its refresh held. Its data shows at once, then refreshes in place.
- [A4] Go Identity → Style → Identity with everything cached. The move to Identity sends no
__data.jsonand shows without waiting. - [A8] On Acme Corporate, edit the phone and save. On the brand the Walk creates, flip the legal-name switch and set the default rep. Each shows its saved state with no page reload and no
__data.json(counted on a built host; a dev host notesnot asserted). - [A9, A12, A23] Rename Acme Corporate. Exactly one HQ-layout
__data.jsonis sent. The shell's brand name, the record title, the section column and the trail follow; Recently viewed (which lists no brands) never offers the old name. Typed text survives a refetch; the name is put back afterwards. - [A9] On the brand the Walk creates, Deactivate and then Reactivate. Each sends exactly one HQ-layout
__data.json, and the state chip follows. A refused save shows its message. - [A20] As
hq-brand-only-admin@acme.test, open Identity for Acme Corporate's id, an unknown id and a malformed id. Each shows the not-available card inside the Setup frame, and the view answers 404. The deactivated Walk brand's column lists Identity only. A 5xx on a part (faked through a Playwright route) shows Try again, and Try again refetches only that part. - [A22] From Identity, open Style, Inquiry address, Payment types, Messaging, Scheduling, Sessions and one session. Each shows the column, its crumb and its content. One Scheduling save works.
- Improved
Move the Contacts list (`/hq/contacts`) onto the screen kit: its view endpoint, screen file and universal load, with its later pages through the existing `page/` address.
On stagingExposure
- The Contacts list drawn in the browser on the screen kit Always on
Engineering details
PR #8500 Issue #8442 Landed e7e7ec5
Walk
- [A1, A8, A11] platform admin · on Customers, with the Contacts
pageread and the view'spart=frameread held, click Contacts in the sidebar → the frame shows (the Contacts heading, the view pills, the loading line, the page-one-owed marker) with no rows and no New contact; releasing thepageread alone fills the rows while the frame read is still held; Venues, then a click on a venue row while the frame is held → no notice and no drawer; released, the same click opens the venue contact drawer. - [A2, A11] platform admin · Contacts → Customers (sidebar); the clock moves past the 30 s staleTime; back to Contacts with the
pageread held → the refresh read is sent and held, the cached rows show at once with no loading line; releasing it leaves the same row elements shown (no flash). - [A3, A11] platform admin · Contacts searched for Pat Lee · open her row (the record, now cached) and Back; then, with the record's view reads and the list's
pagereads held, open the row again and Back → the record and then the list draw from the cache while held, and no__data.jsonrequest is sent (asserted on a built host). - [A4] platform admin · Contacts searched for Art Vandelay → his row's name cell holds a link to
/org/acme-catering/hq/contacts/<id>with no drawer-load mark, as a wide row and as a narrow card (390 px); a hover on it sends the record's core read (<record>/view?part=core) before the click, and the click opens the link's address; a venue row and a vendor row hold no record link. - [A6] platform admin · the contact-pagination org's Contacts · Load more (60 rows) · open Quillon Farthingale (a page-two row), then Back → both pages are shown (60 rows) and no
pageread goes out before the rows show. - [A20] the seeded org billing admin (no customers capability) · Contacts → "Contacts are not available to you." in place of the table; platform admin · Contacts with the frame read answering 500 → the rows show and the list head says "Could not check which venue contacts you can open." with Try again; let through, Try again → the line goes; the
pageread answering 500 → the table shows "Couldn't load contacts." with Retry; let through, Retry → the rows. - [A21] platform admin ·
contacts?brand=acme-weddings(a held brand) → the address becomesf.brand=<acme-weddings id>with nobrand, and Back returns to the page before it, never the slug address;?brand=<unheld slug>and?f.brand=<unheld id>→ dropped; nopageread names a brand the viewer does not hold. - [A22]
contacts/view?part=frameandcontacts/page→ 404 with one and the same body for: the platform admin at an org that does not exist, the billing admin at another org (the contact-pagination org), and the billing admin (no customers capability) at acme-catering; the platform admin at acme-catering → 200. - [A23] platform admin · the messaging-inbox org's Contacts (every kind, all within page one; acme-catering's list is more than one page), reloaded at
?view=venues→ every pill shows its count (the counts the seed composes); Customers, then Vendors, then a search → nocontacts/pagerequest, and every pill keeps its count. - [A13] Read: the Contacts list has the fixed file set (
view/+server.ts,screen.ts,+page.tswith ssr = false, the page, and no+page.server.ts); the hq-screen-kit seam lint andcontacts/screen.test.ts,contacts/view/server.test.tscheck it, green at the head.
Authz / money / schema
- Route gate:
contacts/view(new) andcontacts/pageshare one gate,contactsStaff: org staff withViewBrandCustomerAccounts, else 404 "Not found". A caboose 404 atcontacts/pagenow answers the same body, "Not found" (before: 404 "Could not load contacts"). Assumption: "does not exist" and "not yours" give the same answer. - The
/hq/contactspage itself no longer answers 404 to org staff withoutViewBrandCustomerAccounts(its server load is gone): that viewer now gets the HQ frame with "Contacts are not available to you." in place of the table. No data is shown, because both data endpoints above still answer 404.
- Improved
Move event types, inquiry forms, order templates and preset orders onto the screen kit (8 server loads).
On stagingExposure
- Event types, Inquiry forms and Order templates lists in org HQ drawn from a view read Always on
- Old `?brand=<slug>` / unheld `f.brand` addresses fixed in the browser instead of a server 307 Always on
Engineering details
PR #8517 Issue #8445 Landed 8bec5cf
Walk
- [A1, A22] platform admin · from Overview (the Setup hub) and Catalog (both on the screen kit) and from Preset orders (still a server load), a Setup column click to Event types, Inquiry forms and Order templates with its
viewread held → the Setup frame and the list's heading show with no row, and the old screen is gone; released → the rows show, after exactly oneviewrequest for the visit - [A2, A3] platform admin · Event types → Inquiry forms → Event types by the Setup column; the clock moves past the 30 s staleTime; back to Inquiry forms and Event types with both
viewreads held → the cached rows show at once with no loading rows, the same list element stays once released, and no__data.jsonrequest is sent (asserted on a built host) - [A11] platform admin · each list at
?f.brand=<Acme Weddings id>→ itsviewread carriesbrand=<that id>; the Brand chip changed to Acme Corporate Events only → aviewread underbrand=<Acme Corporate Events id>, and the chip names it - [A9] platform admin · each list at
?brand=acme-weddings→ the address becomes?f.brand=<Acme Weddings id>with nobrand=; Bryn Lens (Acme Weddings only) · each list at?f.brand=<Acme Corporate Events id>→ the address has nof.brand; in both, no row or sentence is drawn at the old address and the replace adds no history entry - [A8] platform admin · Event types · Create event type · Acme Weddings · a run-unique name → the row shows, with no page reload and no
__data.jsonrequest (asserted on a built host) - [A20] Hollis Billing (billing admin) · each list → its sentence inside the Setup frame ("You don't have permission to view event types.", "… to view inquiry forms.", "You don't have permission to manage order templates."); platform admin · Event types with its
viewread answering 500 → the error with Try again; let through, Try again → the rows - [A23] platform admin and Hollis Billing · the Setup hub → every row link opens, below 400 with no no-access line (8178's hub row check), Event types, Inquiry forms and Order templates among the admin's rows
- [A13, A21] platform admin · each list's own address fetched as a document → the HTML holds no library and no row (the browser draws it), and its
viewanswers 200 withcache-control: private, no-store; Preset orders fetched the same way → its library is in the HTML (its server load is kept); Order templates at?f.brand=<Acme Weddings id>· open Wedding Dinner → its record, whose pager counts the list's rows
Authz / money / schema
- Route gates: each list's new
viewGET keeps today's gates (org staff, thenViewBrandEventTypes/ the inquiry-form view capability /ViewEventOrderson the org or the chip brand). Every refusal, including abrandid the viewer does not hold, now answers 404 and starts no read, where the old load answered 200 with a refused flag. Assumption: the page draws today's refused sentence from that 404. - No schema or money change.
- Improved
Move agreement, contract and resource templates onto the screen kit (9 server loads).
On stagingExposure
- Agreement templates library and record draw in the browser through view endpoints Always on
- The old `/hq/contract-templates[/<id>]` address answers 307 from an endpoint Always on
Engineering details
PR #8516 Issue #8446 Landed b8d0dca
Walk
- [A1, A6] Org admin · HQ → Setup → Agreement templates from another HQ screen → the library frame (header, Create, the list's loading rows) shows within 100 ms; the rows fill in when
agreement-templates/view?part=rowsanswers; no__data.jsonread for the page. - [A9] Org admin · open
/hq/agreement-templates?brand=<held brand slug>→ the address ends on?f.brand=<that brand's id>and the Brand chip names the brand;?f.brand=<unknown id>→ the parameter goes; no view read names a brand before the address is clean. - [A2, A10, A12] Org admin · click "One library walk agreement" in the library → the record frame shows within 100 ms, the editor fills in when its view answers; the HQ trail shows the template's name; the pager and Duplicate show once the library parts answer.
- [A3] Org admin · Back to the library, then forward to the record → each shows its data at once from the cache and refreshes in place, with no blocking read first.
- [A11, A4] Org admin · on "One library walk agreement", type text in the sections editor, then save one settings field → the typed text and its Save button stay; the field shows the saved value; the browser sends only view reads; the field is put back.
- [A4] Org admin · Create a template named for this run → its record opens and the library lists it; no
__data.jsonread. - [A4] Org admin · Duplicate that template → the copy's record opens and the library lists it; no
__data.jsonread. - [A4] Org admin · on the run's template, Archive then Unarchive, and save its Brands → each shows the saved state with no page reload; a refused save shows its message and the shown state stays the server's.
- [A5] Org admin · open
/hq/agreement-templates/<an id that does not exist>→ the not-available state inside the Setup frame; with the library view answering 500 (faked in the browser) → the error with Try again, and Try again reads the view again. - [A7] Org admin · GET
/hq/contract-templates?view=alland/hq/contract-templates/<seed template id>?x=1without following redirects → 307 to/hq/agreement-templates?view=alland/hq/agreement-templates/<id>?x=1; a signed-out GET → 404 (or the sign-in); the record'spreview.pdfunder the new address answers a PDF. - [A8] Org admin · HQ → Setup hub → the Agreement templates row opens the library, which draws from its view.
Authz / money / schema
- Route gate:
hq/agreement-templates/viewandhq/agreement-templates/<id>/viewkeep the gates the old loads held (org staff viaoneLibraryContext, else 404;draftedreads only for a held brand the viewer manages; Default for overheldBrandsWith(ManageContracts)plus the org capability). Assumption: caboose still decides which rows a viewer reads and whether they may edit. - Route gate:
hq/contract-templates[/<id>]is now a GET endpoint (asOrgStaff, else 404) answering 307 onto agreement-templates; its old never-drawn UI and actions are deleted.
- Improved
A defect in the screen kit this project landed (#8341, #8360), found by #8413's plan consult (F12, https://github.com/panko-app/panko/issues/8413#issuecomment-7365411333; reported on #7562 at https://github.com/panko-app/panko/issues/7562#issuecomment-7365837834): after a successful save, a view refresh that fails keeps the old data on screen with no error. `invalidateQueries` in `lib/data/reload.ts` swallows a failed refetch ("A failed query refetch leaves its last data on screen"), and `viewState` in `lib/screen/query.svelte.ts` answers `ready` whenever data is held, so a moved screen shows its pre-save value under a success toast.
On stagingExposure
- A failed refresh after a save shows the view's error state with Try again Always on
Engineering details
PR #8519 Issue #8472 Landed 2bdc181
Walk
- [A1, A2, A6] Platform admin · Vandelay Industries › Settings · Edit the label and Save while the account's
view?part=coreread answers 500 → the save lands and the record shows "Couldn't load this account." with Try again; neither the old nor the painted label shows as current. Release the read, click Try again → the saved label shows, with no page reload. - [A1, A2] Platform admin · Team members · Add team member (run-named, no email; the save does not paint) while the
team-members/view?part=rowsread answers 500 → "Couldn't load team members." with Try again, and no rows. Release the read, click Try again → the new member's row shows. - [A3] Platform admin · Vandelay Industries › Settings · save the label with the read answering → the saved label shows, no error state, no page reload; no
__data.jsonrequest (asserted on a built host only). - [A4] Platform admin · open Vandelay's record, go to Events, wait past the 30 s stale time, then return while the core read answers 500 (no save since it was read) → the cached record keeps drawing, with no error state.
Authz / money / schema
none
- Improved
Move the Catalog onto the screen kit (10 server loads).
On stagingExposure
- The catalog page reads one view through the query cache, and the Catalog layout's server load is replaced by a bridge Always on
Engineering details
PR #8499 Issue #8444 Landed 26fa6a4
Walk
- [A1] from Events (a document load) and from Options (not moved), a click to the catalog page with its view read held → the Catalog frame (its heading, the strip) shows with pending rows and the old screen is gone; released → the rows fill. Members: Items (platform admin, manager), a brand's offers (Acme Weddings), Items pinned (Wendy)
- [A2] platform admin · Items → Options; the clock moves past the 30 s staleTime; Items again with its view read held → the cached rows show at once with no pending rows; released → the same row element stays (refreshed in place)
- [A3] platform admin · between the cached Items and the cached Acme Weddings offers by the view menu, every view read held → each screen draws from the cache while held, and no
__data.jsonrequest is sent (asserted on a built host) - [A8] platform admin · Items · Create · Shared · a run-unique name · Create item → the row shows with no page reload and no
__data.json(asserted on a built host); a create the server refuses → its message shows and the typed name stays - [A9] platform admin ·
?brand=acme-weddings, an unknown?offers=and an unknown?f.brand=from Items → each is replaced (offers; Items; Items) and Back returns to Items (one history entry); Bill ·?offers=<Acme Weddings>→ Items; the view answers an unheld id (Wendy · Acme Corporate Events) as it answers an unknown one - [A10] platform admin · Items, Acme Weddings offers, Options, Tags, Fee types, Meal categories, Import, Import items, Import options → the strip shows the counts, and no count shows and then goes away; Wendy · Items pinned → no count
- [A11] Wendy · Items → the pinned view from one view read: Acme Weddings' rows (Signature Wedding Cake), the Brand chip offers Acme Weddings only, no Acme Corporate Events name
- [A12] one view request per visit (a document load each): platform admin · Items (no
offers); platform admin · Acme Weddings offers (offers=<id>); Wendy · Items pinned (nooffers) - [A14] platform admin · Items at
?f.brand=shared&q=Chafing· the view menu → Acme Weddings offers with its view read held (the frame shows at once with loading rows and no Items row; released, its read carriesoffers=<id>) · Unpriced and a search · Back → Items keepsf.brand=sharedand the search; no document request on the way; a refresh of the offers address keeps its view and search - [A15] platform admin · Items · create a shared item; while that save's view refetch is held, Create · Shared · type a name → released mid-typing, the typed name stays whole
- [A16] platform admin · the A8 item's record · Details · Edit · a new name · Save item → Back to Items within 30 s → the row shows the new name
- [A20] Bill · Items → the frame with "You do not have access to an item catalog."; Bill · Acme Weddings offers → Items with the same sentence; platform admin · Items with the view answering 500 → Couldn't load with Try again; let through, Try again → the rows
