# Product contract

Target edition: 17 October 2026. Coaster is expense management that replaces Expensify, SAP Concur Expense or Emburse for a US company of 15–150 employees, with the card, policy-agent and conversational depth buyers now look to Ramp, Navan and Brex for. Receipts are snapped, forwarded, texted or pulled from inboxes and read automatically; corporate-card and bank feeds are matched to receipts; policy is enforced as people spend and submit; approvals chase the people who owe them; reimbursements go out by ACH through a payment provider and are tracked to settlement; and every expense, receipt, reimbursement and clearing entry syncs both ways with QuickBooks Online, Xero or Pantry. Money is USD by default, distance is miles at the IRS standard mileage rate, per diem follows GSA rates, and schedules respect US time zones and business days.

The product is the whole expense lifecycle the incumbents sell: capture, cards and feeds, claims, coding, policy, approval, follow-up, reimbursement, accounting, reporting, administration, mobile and migration from each incumbent. Neighboring products stay separate and are integrated, never rebuilt: Pantry is the ledger, Purse owns supplier purchasing and bills, Willow holds the HR record, Gauge bills clients for project time and expenses, Nook is team chat, Auth is workforce sign-in and Crank runs cross-product automations. Payroll is run by the buyer's payroll provider or [Envelope](https://github.com/just-every/run-envelope). No gap in implementation reduces this destination: provider applications, card programs, ACH onboarding and native apps are engineering work recorded as clauses below.

This is a target contract, not a release verdict. Every named clause states the behavior a buyer gets and its acceptance evidence: the journey or test through a public door (screen, HTTP API, agent API, CLI or provider webhook) that proves it. The [Status](#status) section marks each clause done, partial or missing at current code; a cited local test does not establish hosted operation, a live provider connection or an accessibility certification. Existing clause IDs COA-001 to COA-013 are preserved and their flow tests in `tests/coaster.test.mjs` remain their proof; `tests/browser.mjs` drives the same flows through the screens at 1440 and 390 pixels wide. This documentation round changes no homepage, interface or runtime behavior.

## Product target

Coaster is the expense management product a US company of 15–150 employees buys instead of Expensify, SAP Concur Expense or Emburse, with the card, policy-agent and conversational depth buyers now look to Ramp, Navan and Brex for. This contract describes that product, which is what Coaster is being built towards, and marks how close the current code is (see [Status](#status)).

| | |
| --- | --- |
| Category | Expense management |
| Incumbents a buyer switches from | Expensify, SAP Concur, Emburse, Ramp, Navan, Brex |
| First buyer | The finance or operations lead at a US company of 15–150 employees running Expensify (or SAP Concur or Emburse) on company cards with QuickBooks Online, Xero or Pantry, who wants receipts read, cards matched, approvals chased, employees paid by ACH and the books synced without manual work |

## Existing guarantees: the claim-to-reimbursement spine

- **COA-001 — Business, categories and people set by the owner.** The owner names the business and sets its currency (fixed once claims exist), timezone, mileage rate, optional per-diem rate and receipt threshold; adds categories with account code, tax code and optional per-expense limit; and adds people as employee, manager and/or finance with each employee's approving manager. Nobody else can change these. LOCALE-001 sets the US defaults and ADMIN-001 widens the roles. **Acceptance evidence:** `COA-001` flow test: the owner configures the business, categories and people through the HTTP API; a manager, finance member and employee are each refused the same writes and nothing changes.

- **COA-002 — Receipt, mileage and per-diem expenses with receipt provenance.** An employee starts a claim and adds purchases with a receipt photo or PDF, mileage (distance × the business rate, rounded half up once) and per-diem days (days × the business rate). Each receipt keeps its exact bytes, SHA-256, size, type (from its own signature), uploader and time. Invalid dates, amounts and files are refused and change nothing. **Acceptance evidence:** `COA-002` flow test: upload a JPEG and a PDF, add mileage and per diem, read back exact bytes and hashes, and see malformed dates, amounts and disguised files refused with no write.

- **COA-003 — Exact splits across categories and cost centers.** An employee splits one expense across categories and cost centers; the parts must add up exactly to the expense, and each part becomes its own accounting line. **Acceptance evidence:** `COA-003` flow test: split one expense three ways, see a non-adding split refused, and read three coded accounting lines in the batch export.

- **COA-004 — Policy exceptions explained, acknowledged and carried to the books.** Coaster flags policy exceptions (no receipt above the threshold, an expense's total in a category over that category's limit however it is split, the same receipt twice, the same date/merchant/amount as another expense on the claim, another claim or an imported report). Submission needs the employee's explanation for each; the manager must acknowledge them to approve; they stay on the decision, the batch and the accounting CSV. POLICY-001 extends the rules. **Acceptance evidence:** `COA-004` flow test: submit an over-limit, receipt-less and duplicate claim, see submission refused without explanations, approval refused without acknowledgment, and the exceptions in the batch and CSV.

- **COA-005 — An exact duplicate is never reimbursed twice.** One database key per expense (its receipt bytes' SHA-256, or without a receipt its employee, date, type, merchant and amount) admits it to one batch only, and a claim holding the same exact expense twice cannot be submitted. FEED-004 extends the same key to card transactions. **Acceptance evidence:** `COA-005` flow test: approve two claims carrying the same receipt and see the second refused from any batch; a claim holding the same expense twice cannot be submitted.

- **COA-006 — The assigned approver decides the exact submitted revision.** Submission freezes the claim as a numbered revision and routes it to the employee's approving manager. Only that approver approves, returns (with a reason) or rejects (with a reason) that exact revision; nobody decides their own claim; a stale view is refused. APPROVE-001 extends routing to multi-step workflows, APPROVE-005 lets the approver hold single expenses and approve the rest, and APPROVE-007 adds retraction and unapproval before payment, all without weakening these rules. **Acceptance evidence:** `COA-006` flow test: another manager, the employee and a stale revision are refused; the assigned manager's decision is recorded against the exact revision.

- **COA-007 — Corrections never erase evidence.** A returned claim is corrected and resubmitted as the next revision. Earlier revisions, their receipts and decisions stay readable and downloadable; receipts, revisions, decisions and history lines cannot be changed or deleted. **Acceptance evidence:** `COA-007` flow test: return, correct with a replacement receipt and resubmit; both revisions, both receipts and every decision remain readable and no route edits or deletes them.

- **COA-008 — Role-scoped access in every handler.** Access follows roles in every API handler, not only in screens: employees see their own claims; approvers see claims routed to them once submitted; finance and the owner see submitted claims; drafts stay private to their employee. Writes need the current native session from the same origin; deactivated people (in Coaster or in their sign-in account) lose access at once, agent keys included; forged fields in requests decide nothing. **Acceptance evidence:** `COA-008` flow test: each role reads and writes across every claim, batch and receipt route; cross-origin, deactivated and forged requests are refused with no write.

- **COA-009 — Reviewed reimbursement batches with reconciled exports.** Finance gathers approved claims into a draft batch, reviews it by confirming the reconciled total (someone else must review a batch holding their own claim), then downloads an accounting CSV (one line per category split with account/tax codes, receipt SHA-256, exceptions and approver) and a reimbursements CSV (one total per person). Both add up to the batch total. Once the batch is released under PAY-004's controls, finance can record a payment made outside Coaster with its reference and date; PAY-001 is the provider-paid route and ACCT-001 to ACCT-003 the live ledger route, and this file route stays available alongside them. **Acceptance evidence:** `COA-009` flow test: batch, review, download both CSVs, check both sum to the batch total, record the payment and see each employee's claim marked reimbursed.

- **COA-010 — Personal agents prepare; people decide.** A person makes an agent key. Their agent prepares draft claims from receipts (employees) or batch proposals (finance) through `/api/coaster/agent/*`; it cannot submit, approve, batch, pay or read anything else. Only that person accepts or declines; acceptance is recorded with who and when, and the claim or batch says it was prepared by the agent. The push-further agents (AGENT-001 to AGENT-009) build on this authority model. **Acceptance evidence:** `COA-010` flow test: an agent key proposes a claim and a batch, is refused submission, approval and foreign reads, and only its person accepts; the provenance appears on the result.

- **COA-011 — Expensify report history move-in.** The owner moves in Expensify history from a report-template CSV (IMPORTING.md) on Base import-kit: preview writes nothing and lists errors; commit applies only the exact previewed bytes and mapping; the original file is retained; undo reverses the job, and the same file can be imported again after an undo. Imported reports stay read-only history and flag later re-claims as possible duplicates. MOVE-001 extends this to the whole Expensify account. **Acceptance evidence:** `COA-011` flow test: preview with errors, commit, see a re-claim flagged, undo and re-import the same file.

- **COA-012 — Whole-installation export and restore.** The owner exports the whole installation with `rer export` and restores it into an empty installation with `rer import`: claims, revisions, decisions, receipt bytes, batches, history and imported history come back identical, and a corrupt archive or one with inconsistent claims is refused without writing. Provider connections and secrets added by later clauses are excluded and must be reconnected (SEC-001). **Acceptance evidence:** `tests/browser.mjs` archive section and `tests/browser-archive.mjs`: export, refuse tampered and inconsistent archives, import into a second empty installation and compare.

- **COA-013 — Fresh-clone install and runtime.** Coaster installs and runs from a fresh clone with `rer install`, `setup`, `dev`, `build`, `preview`, `verify`, `reset`, `export`, `import`, `deploy --dry-run`, `describe` and `check`, on TanStack Start, Hono, D1 and Cloudflare Workers. **Acceptance evidence:** `tests/browser.mjs`, `rer check` and `rer verify` on the exact commit.

## Target clauses

### US defaults

- **LOCALE-001 — US-first defaults.** A new installation defaults to USD, a US time zone chosen from the US zones offered at setup, miles, US date and number formats and a receipt threshold of $75 (the IRS documentary-evidence line). A category whose name says lodging, hotel or motel always needs a receipt, and the owner cannot turn that off; every other category has an owner-set “Always needs a receipt” flag. The mileage rate is an effective-dated table seeded with the IRS standard business mileage rate for each year, editable by the owner, and each mileage expense takes the rate in force on its trip date. Receipts carry sales tax as its own field mapped to a tax code. Other currencies and kilometers remain available per entity (ADMIN-004). Later entities may use any IANA time zone through the API (ADMIN-004). **Acceptance evidence:** Set up a fresh installation and see USD, miles, the US time-zone choices and the $75 receipt threshold. For categories named lodging, hotel and motel, verify a receipt is always required and the owner cannot disable that rule; for another category, set and clear “Always needs a receipt” and verify the flag controls its below-threshold receipt requirement. Use the API to set a non-US IANA time zone for a later entity (ADMIN-004) and verify it is retained. Enter mileage dated either side of a January rate change and see each priced at its year's rate; capture a receipt's sales tax and see it on its own accounting line.

### Capture

- **CAPTURE-001 — Photo, file and bulk receipt upload.** On phone or desktop an employee photographs a receipt with the camera or uploads JPEG, PNG, WebP, HEIC or multi-page PDF files up to 10 MB each, one at a time or dozens at once by drag and drop. Each upload lands in the employee's receipt inbox with its processing state visible (received, reading, read, needs attention) and keeps COA-002 provenance; large files live in R2 with their hash in D1. Exact intake semantics: 10 MB means an inclusive 10,000,000 bytes per file; each file is committed independently, so a refused file never removes successful uploads. Receipt format comes from its signature, not its extension or browser type. Until CAPTURE-003 ships, a received original immediately enters needs attention with the reason that reading is unavailable; no reading or read success is claimed. The camera source records use of the camera control, not verification that a physical camera took the image. The original bytes, hash, uploader, source, time and private numbered state history survive COA-012 export and restore. **Acceptance evidence:** At 390 px photograph a receipt; at 1440 px drop 30 mixed files including an 8 MB three-page hotel folio PDF and a HEIC; see each appear in the inbox with state, exact bytes and hash, and a 12 MB file refused with a reason.

- **CAPTURE-002 — Email-in receipts.** Each installation has a receipts address. Mail from a member's known address (or an alias they confirm) becomes receipts in that member's inbox: attachments, inline images and HTML receipt bodies rendered to a stored PDF. Mail from unknown senders is held for the owner, never attached to anyone. Forwarded receipts keep the original message headers as provenance. AGENT-002 obligation: merchant-email receipt fields that disagree with the reading or attached charge use the same one-question, confirmed-only correction and source-evidence service. **Acceptance evidence:** Forward an airline HTML receipt, a PDF invoice and a photo from a member's address and see three inbox receipts with the source message retained; send one from an unknown address and see it held; confirm an alias and see the next one land.

- **CAPTURE-003 — Automatic receipt reading with a correction path.** Every receipt is read for merchant, date, total, subtotal, sales tax, tip, currency, payment card last four and line items, each with a confidence and the image region it came from. Read fields prefill the expense; low-confidence or conflicting fields are marked for the employee, who corrects them in place, and the correction and the original reading are both retained. A field is shown as confident only when the reader's confidence clears the installation's threshold and it agrees with every other source (card charge, email receipt, line-item sum); anything else is marked for review and never silently prefilled as settled. Reading runs through the Base AI module with an optional Amazon Textract AnalyzeExpense adapter, and failures show an actionable state rather than a silent blank. Exact native door semantic (sx-coaster-c37, 22 Oct; external-processing consent and reading-retention default awaiting ct): the direct Base AI transport and the owner/admin setting both default off. An employee or live Submit-only/Full delegate explicitly consents to one original’s reading attempt; no upload automatically sends it. One configured vision model processes the original, with no retry or provider fallback. The private numbered reading retains field confidence, source regions, normalized values, review reasons and each human correction; originals and reading history remain under the existing opaque-identity financial-record retention rule. Only safe fields prefill a draft expense or explicitly selected card-match details. The employee alone can enable the off-by-default standing matching choice with the sharing notice; it uses safe fields and never resurrects an individually withdrawn, discarded, merged or cash-reserved original. Reading does not submit, approve or pay. Textract and automatic processing of unconsented originals are not implemented. Reading quality is measured, not asserted: a committed, labeled corpus of at least 40 synthetic US receipts (`tests/fixtures/receipts/` with one label file per receipt giving merchant, date, total, subtotal, sales tax, tip, currency and card last four) covers restaurant receipts with handwritten and printed tips, hotel folios, faded thermal receipts, airline and ride-share email receipts, multi-page PDF invoices, crumpled and skewed photos and a foreign-currency receipt, and every reader adapter is scored against it. Obligation carried from CAPTURE-004 (scope-review 67): reading may prefill an original's match details, but automatic card matching uses only details the person confirmed or fields this clause marks confident; reading never opts an original in. A person may choose a standing setting that opts in all of their own read originals; it is off by default and nobody else can set it. **Acceptance evidence:** Run the reading suite over the labeled corpus through the public upload door: (1) every field the reader marks confident equals its label exactly (zero confident-wrong fields); (2) every field that differs from its label is marked for review, never prefilled as confident; (3) each prefilled expense's amount equals the labeled total before the employee touches it whenever the total was marked confident, including the tipped restaurant receipt (total includes the tip), the hotel folio (folio balance, not the first night) and the faded thermal receipt; (4) the per-field read-without-correction rate for merchant, date and total is reported and recorded with the commit, and merchant, date and total are read correctly without review on at least 90% of the corpus. Then correct the faded total and see both values in history; force the reader to fail and see the needs-attention state with a retry.

- **CAPTURE-004 — Receipt inbox and automatic attachment.** Unattached receipts wait in the employee's inbox and are attached automatically to the matching card transaction (FEED-004) or turned into a draft out-of-pocket expense when no card charge matches within a configurable window. The employee can attach, detach, merge duplicates or discard with a reason; discarded receipts stay in history. Exact rules today: an employee with their own active employee membership, or their live ADMIN-005 Submit-only or Full delegate, can discard a private inbox original with a trimmed nonblank reason of at most 1000 characters and its current lifecycle sequence (zero before any disposition). The same-origin native session, live grant, employee ownership and exact sequence are checked atomically; agent keys and role-only owner, finance, approver or auditor access grant no discard authority. Discard is terminal and allowed in any reader state or under a legal hold: a private append-only lifecycle line records sequence, kind, reason, time, signed-in actor, on-behalf employee and app channel, separate from unchanged reader history. Replay, stale and concurrent second discards are refused with 409; a foreign employee sees 404. The original remains downloadable in Discarded receipts with its exact hash and provenance; no un-discard or expiry starts, and re-upload creates a new original. Future attachment, matching and draft automation must skip discarded receipts: this clause's automatic attachment and cash-draft window, and FEED-004's receipt matching, carry that obligation before they ship. Private inbox lifecycle lines and reasons never join global history, audit packs, claim data or notifications; only the whole installation archive carries them. Unshared originals and filenames stay in the employee and delegate inbox scope. Under the 21 Oct attachment notice below, an attached receipt's ordinary provenance, including its filename, is shared with approvers and finance once submitted; its private lifecycle and reasons remain separate. Future attachment, matching and draft automation must skip merged originals as well. A duplicate merge uses the same authority and atomic checks: the employee, or their live Submit-only or Full delegate, merges one of that employee's own active inbox originals into another of their own originals (never itself, a foreign original, or one that is already discarded or merged) by naming the survivor and the duplicate's current lifecycle sequence, with a trimmed nonblank reason of at most 1000 characters unless both originals have the same SHA-256 (then the stored reason is empty unless one is given). A merge is terminal like discard, allowed in any reader state or under a legal hold, and writes one private append-only lifecycle line (kind merged, survivor, reason, time, signed-in actor, on-behalf employee, app channel) on the merged original only: the survivor, both originals' bytes and hashes and the reader history are not written, the merged original stays downloadable in Merged receipts, and it cannot be un-merged or later discarded; a later discard of the survivor leaves the merge line alone. Replay, stale sequence and the loser of concurrent merges (including opposite directions) are refused with 409, a foreign original or survivor with 404. Merge lines follow the same privacy, retention and erasure rules as discards: no marker column or reason reaches approvers, finance, global history, audit packs, claim data or notifications, names and addresses in a merge reason are replaced under ERASURE-001 (an empty reason is never rewritten and is not counted), and archives refuse a merge whose survivor is unknown, itself, another employee's, closed before the merge, merged back, or lacking a reason for different files. Automatic card attachment (ct scope-review 67, 21 Oct): until CAPTURE-003 reads receipts, automation considers only originals whose employee, or that employee's live Submit-only or Full delegate, has entered the merchant, purchase date, total and currency (card last four optional) on the private original and chosen to match it to their card charge, after seeing that approvers and finance can see the receipt, its file name and the entered total, currency and date once the matched expense is submitted, including by scheduled submission. Entering details changes no reader state and claims no reading. Details and the choice can be changed or withdrawn while the original is unattached, each as a private sequence-guarded lifecycle line; agent keys and role-only owner, finance, approver, card-admin or auditor access have no such authority. FEED-004's rule attaches such an original only to the same employee's posted, receipt-less card expense on an editable draft or returned claim when each is the other's only candidate, through the same atomic transition as a manual attach (claim version, lifecycle sequence, one R2 original, no copied bytes); otherwise the employee and their live delegates get a private question instead of a guess. Automation skips discarded, merged, attached, cash-draft-reserved and withdrawn originals, undone or rejected pairs and inactive members; it never submits, notifies or changes a card expense's statement facts, and it writes a private attached line by "automation: card match" with the rule version on behalf of the employee. While opted in, an original is outside the cash-draft window; an original with a cash-draft reservation cannot be opted in and is attached by hand. Undo is a detach by the employee or a live delegate while the expense is editable; that pair is never proposed again and matching stops for the original until it is chosen again. Before submission no original, file name, hash, entered detail, question or private line reaches anyone outside the employee and delegate scope, global history, audit packs, reports or notifications. An employee or live Submit-only or Full delegate can attach an active unattached inbox original to a purchase without a receipt on their own draft or returned claim, and detach it while the expense remains editable. Each operation checks the claim version and original lifecycle sequence atomically, appends a private attached or detached line naming claim, expense, actor and on-behalf employee, and advances the claim version. Attaching shows that approvers and finance can see the receipt once submitted. Claim aliases retain provenance and reference the single R2 original without copying its bytes; detaching preserves earlier submitted receipt evidence. Attached originals cannot be merged or discarded until detached. Generic expense editing cannot bypass these transitions. Financial retention may remove the expense while its private lifecycle references and original remain; when no live expense carries it, the original can be attached again without altering those historical lines. The cash-window preparation slice opens an empty native draft claim and a private dated needs-details record; the employee enters its amount and category, then attaches its original through these same controls. When they ship (ct, 21 Oct): attach, detach and merge are only by the employee or their live Submit-only or Full delegate on that employee's own originals and draft or returned expenses, with the person and delegate actor on the private lifecycle line and the shown notice at attach that approvers and finance see the receipt once the expense is submitted (COA-008); the cash-draft window defaults off, finance sets 1-90 days and must confirm the shown count of existing older unattached originals before any draft is made, and the hourly automation is idempotent and replay-safe, bounded, once per original, dates the draft at upload with no amount and needs-details, never submits it, skips discarded and merged originals, stores the original once with its hash preserved and records the audit actor automation: cash-draft window. Exact preparation semantics: days are elapsed 24-hour periods with an inclusive upload-time cutoff; the needs-details date is the UTC upload date. Finance reviews the eligible older-original count and confirms the same version/count snapshot within ten minutes; a changed count or setting refuses atomically. Each hourly delivery considers at most 25 originals belonging to active employees, with a permanent once-per-original reservation checked in the same transaction as draft creation. The draft contains no expense amount or attached receipt, cannot submit until complete under the ordinary claim rules, and has no automatic-submission key. Turning the setting off stops future preparation and keeps existing drafts and reservations. **Acceptance evidence:** Upload a receipt before its card charge exists, enter its details and choose matching, then post the charge through FEED-002's statement-file import and see it attach automatically once, by "automation: card match"; see two same-amount candidates raise a private question, an undone match never return, and a discarded or merged original stay unmatched (the live-feed forms of this journey belong to FEED-001, FEED-002's program feeds and CARD-001); upload a cash receipt and see a draft expense after the window; discard one and find it in history; merge a duplicate into another receipt and find it in Merged receipts. Automatic attachment (scope-review 67): through public doors, as the employee and both live delegate levels, enter details and opt in (notice text checked at 1440/390), import a synthetic statement fixture whose charge then attaches once with a private automation line and a global charge-only FEED-004 line; refuse opt-in by agent keys, role-only owner/finance/approver/auditor, foreign employees, revoked delegates, stale sequences and cash-reserved originals; prove skips for discarded, merged, attached, withdrawn, undone and inactive-member cases and for another employee's same-amount charge; two candidates produce one private question and no attach, and answering attaches by the person; replayed and concurrent hourly deliveries attach once; finance, approvers, auditors, history search, audit pack, reports and notifications show no original, file name, hash, entered detail or question before submission, and the ordinary provenance plus match basis after; opted-in originals stay outside the cash window; archive round trip identical and malformed match archives refused; ERASURE-001 replaces identities on the new private lines. Obligation carried from ERASURE-001: discard and merge inputs use text(reason,Reason,1000), measured in UTF-16 code units before trimming. Kept reasons are trimmed strings with collapsed length 1–1000, where each greedy non-overlapping 22-unit Former member / former-member- token followed by eight lowercase hex digits counts as one only when c_members holds the matching opaque email/label pair. Stored text is at most 22,000 UTF-16 units and 22,000 UTF-8 bytes. Erasure replaces case-insensitive address windows, then exact full names, only outside real tokens; it preserves the complete result and earlier tokens across later erasures. No marker flag is trusted. Matching-row count and old-reason guards make a concurrent change return 409; the erasure receipt records only the number of discard reasons rewritten. Archives apply the same rule from their staged member rows, with no identity echoed on refusal.

- **CAPTURE-005 — Inbox retrieval from Gmail and Outlook.** With an employee's consent, Coaster connects to their Google Workspace or Microsoft 365 mailbox with read-only scopes limited to receipt searches, finds receipts for their unmatched card transactions and attaches them, naming the message each came from. The employee can review what was read and disconnect at any time; nothing outside matching receipt messages is stored. Obligation carried from ERASURE-001: erasing a member revokes and removes their mailbox connection in the same erasure. AGENT-002 obligation: connected merchant-email receipts use the same one-question disagreement service, preserving source evidence and accepting only confirmed values. **Acceptance evidence:** Against provider test tenants, connect a mailbox, post an unmatched card charge, see the matching receipt message found and attached with its source; disconnect and see the grant revoked and no further reads; erase a departed employee with a connected mailbox and see the grant revoked and the connection gone (ERASURE-001).

- **CAPTURE-006 — Receipts by Slack, Microsoft Teams and text message.** An employee sends a receipt photo to the Coaster app in Slack or Teams, or texts it to the installation's US number, and it lands in their inbox; Coaster replies in the same thread with what it read and any question it needs answered. Unknown senders are refused. Obligation carried from APPROVE-006: a reply in a Coaster Slack or Teams thread by the person an open question names is recorded in Coaster as their answer, closes the question and is shown to the asker beside the expense, exactly as an answer given in the app. Obligation carried from ERASURE-001: erasing a member removes their Slack, Teams and phone-number links in the same erasure. Obligation carried from ADMIN-001: connecting the Slack and Teams apps and the installation's number follows the role permission matrix's connect row (owner, admin, finance), and a receipt sent by chat or text lands only for a member whose roles submit their own expenses; every other role is refused with 403 and no write. COST-001 obligation: show USD per-message and month-to-date SMS costs before and after enablement and pause the optional SMS service at an owner cap. **Acceptance evidence:** Through Slack and Teams test workspaces and a Twilio test number, send a receipt each way and see it in the inbox with a threaded reply of the read fields; reply with the business purpose and see it on the expense; an unlinked Slack user is refused. As an approver ask "Which client was this for?" on one expense of a pending claim (APPROVE-006); answer from a Slack reply as the employee and see the answer recorded in Coaster, the question closed and the answer visible to the approver as they approve. Erase a departed employee and see their Slack, Teams and phone links gone and their next message refused as unknown (ERASURE-001).

- **CAPTURE-007 — Merchant receipt feeds.** The owner connects Uber for Business, Lyft Business and Amazon Business; their trip and order receipts arrive automatically with business purpose and project fields where the merchant provides them, and match to the card charge. AGENT-002 obligation: merchant-provider receipt fields use the same one-question disagreement service when they conflict with the reading or card charge. **Acceptance evidence:** With provider sandbox data, connect each merchant, post a ride, a trip and an order and see receipts arrive, match their card charges and carry the merchant's expense code.

### Cards and feeds

- **FEED-001 — Card and bank connections through Plaid.** Finance connects company card and bank accounts, and employees connect personal cards for reimbursable spend, through Plaid Link. Transactions arrive through Plaid's incremental sync cursor, assigned to cardholders by account and last four, including pending-to-posted transitions and reversals without duplicates. Obligation carried from MOVE-004: a feed charge matching imported Ramp, Brex or Navan history (same cardholder, date, merchant and amount) is not created again. Obligation carried from ERASURE-001: erasing a member removes their personal-card connections in the same erasure, keeping the expenses already created. Obligation carried from AUDIT-001: each connection, disconnection and sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from CAPTURE-004 (scope-review 67): a waiting opted-in inbox receipt never attaches to a pending transaction; it attaches under FEED-004's rule when the sync posts the charge, and the pending-to-posted transition keeps one expense and at most one attachment. Obligation carried from ADMIN-001: connecting and disconnecting company feeds follows the role permission matrix's connect row (owner, admin, finance), and every other role is refused with 403 and no write; an employee connects only their own personal card. COST-001 obligation: show USD per-connected-account and month-to-date cost before and after enabling the optional connection, and honor an owner cap without stopping manual claims. **Adopted foundation default pending ct:** Plaid sandbox only; the native owner configures installation-sealed application credentials and explicit USD estimates. Company connection authority is owner, admin or finance; personal-card authority is the employee in their own native session. Live Full delegates retain the company connection row with attributable history; personal card custody stays in the employee’s own native session, and agent credentials receive no connection authority. Each physical provider request requires sign-in within ten minutes and current authority. Link requests are session-bound, expiring and consumed before token exchange, with no automatic retry after uncertainty. Only provider-verified account identifiers, type and last four are retained; no balances, account names or account numbers. Explicit disconnection asks Plaid to remove the item before deleting local custody. Erasure atomically deletes personal local custody without claiming remote provider revocation. Configuration, Link and connection execution custody are excluded from archives. Owner-entered per-account monthly USD estimates reserve at least one full account month before exchange and settle the full verified account estimate, retaining unknown reservations and any overrun without refund on disconnect; the atomic owner cap pauses additional exchange and activation while manual claims remain available. No transaction sync, expense creation, payment, scheduled renewal or outbound notification is enabled by this foundation. **Acceptance evidence:** In Plaid sandbox connect a company card and a personal card, run sync through added, modified (pending→posted) and removed transactions and see one expense per posted charge assigned to its cardholder; replay the same cursor and see no duplicates; import MOVE-004's Ramp export, connect a card covering the same month and see no charge it holds created again; erase a departed employee with a connected personal card and see the connection gone and their expenses kept (ERASURE-001).

- **FEED-002 — Commercial card program feeds and statement import.** For corporate cards from American Express, Visa and Mastercard issuers, Coaster ingests the program's commercial data feed (Amex GL1025, Visa VCF through Visa IntelliLink, Mastercard CDF3 through Smart Data) with no person downloading or uploading files. Transport: each installation gets a dedicated SFTP drop (an inbound SFTP endpoint per installation with its own username and SSH public-key authentication, files PGP-encrypted to the installation's published key) that the issuer pushes to, or, where the issuer only offers pick-up, Coaster pulls from the issuer's SFTP host with a key it holds; either way a scheduled job checks the drop on a cadence finance sets (hourly by default) and imports every new file once, keyed by file name, issuer sequence number and content hash, so a re-delivered file never double-imports. Enrollment is guided: Coaster shows finance the exact values the issuer's commercial-data authorization form asks for (delivery host, port, username, public key, PGP key, the company's program and control account numbers) and a checklist per issuer, records the date each step was done, and marks the feed live when the first file arrives. Each feed has an expected-delivery calendar (daily, or the issuer's business days); a file that has not arrived by its expected time plus a grace period finance sets raises FEED-003's stale-feed alert. Card accounts in each file are assigned to cardholders by account and last four, and new cards in a file are offered for assignment to the roles the ADMIN-001 matrix allows (owner, admin, card admin). CSV, OFX and QFX statement files remain the recovery path; any file import is previewed, deduplicated against feed history and undoable on import-kit. Statement-file import exact rules (ct scope-review 67, 21 Oct; the statement-file door is the recovery path and is never called a feed, connection, daily file, feed health or provider verification; its screens, IMPORTING.md, docs, Status table and homepage rows say "statement file import"): the owner, an admin or finance import (the ADMIN-001 matrix's connect row) by a same-origin native session (delegates act within their grantor's row, agent keys are refused), and cards (issuer label plus last four) are assigned to one active employee by the owner, an admin or a card admin (its cards row); only documented formats are read, with synthetic fixtures in IMPORTING.md and no layout guessing: OFX 1.x (SGML) and 2.x (XML) credit-card statement responses (CCSTMTRS with CCACCTFROM, BANKTRANLIST, STMTTRN: TRNTYPE, DTPOSTED, optional DTUSER, TRNAMT, FITID, NAME or PAYEE, MEMO, optional CURRENCY or ORIGCURRENCY; QFX is OFX with Intuit headers; bank, investment and other message sets and any bank or routing number are refused) and CSV through an explicit mapping (posted date, description and amount required, with the date format and sign convention chosen in preview; a card column or one card for the whole file; optional transaction date, id, currency, status and type), within 1.5 MB and 1,000 rows per file and at most 150 new charges per import (no looser than MOVE-004's 2 MB and 2,000 rows); no more than the last four digits of any card number is written to D1, R2, archives, history or logs: a full number in ACCTID or a CSV card column is masked to its last four in memory, the retained original is that masked file labelled "card numbers masked" with its own SHA-256, and SEC-001 outranks byte-exact retention for this door; a posted feed item is a transaction row of an assigned card with a posted date, a nonzero amount and a purchase or credit type, never a pending or authorized row, a payment to the card account, interest, a fee or a balance line (excluded rows are listed in preview and kept only inside the original for FEED-005); every card in a file resolves to exactly one card record assigned to one active employee before commit, an unknown card blocks commit until it is assigned or explicitly excluded (the exclusion is recorded), assignment is never inferred from names or emails in the file and is prospective, and each assignment appends a history line; re-importing the same file and mapping imports nothing unless the earlier job was undone, rows dedupe on (card record, FITID) for OFX and QFX and on (card record, transaction id) or, without one, (card record, posted date, amount, normalised description, occurrence) for CSV, a row matching another door's charge by card, date, amount and description is flagged in preview and excluded unless the importer includes it (the inclusion is recorded), and a row matching imported Ramp, Brex or Navan history is not created; preview writes nothing, commit applies exactly the previewed bytes and mapping, and undo reverses only charges still exactly as imported (unsubmitted, unedited, no receipt) and lists the rest; each committed item becomes exactly one native card expense under FEED-004's gates, and the next hourly delivery runs FEED-004's rule for its cardholder; commit, undo, card assignment and each charge append numbered uneditable lines that survive export and restore, written on the import channel, and the matcher writes under "automation: card match"; COA-012 round-trips masked originals, jobs, card records, assignments, charges, match records and private lines, malformed archives are refused (a charge without a card record, a cross-employee match, a match to a discarded or merged original, a full card number), ERASURE-001 replaces identities and RETAIN-001 governs expiry; no outbound request is made and no credential or partner account is involved. Obligation carried from CAPTURE-004 (scope-review 67): when a program file posts a charge, a waiting opted-in inbox receipt attaches under FEED-004's rule exactly as after a statement-file import. Obligation carried from MOVE-004: a feed charge matching imported Ramp, Brex or Navan history (same cardholder, date, merchant and amount) is not created again. Obligation carried from AUDIT-001: each program feed, file drop and statement import appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting a card program's file delivery or SFTP drop follows the role permission matrix's connect row (owner, admin, finance), and every other role is refused with 403 and no write. **Acceptance evidence:** Against a test SFTP server standing in for the issuer at the network edge, complete the enrollment checklist and see the delivery values; place PGP-encrypted GL1025, VCF and CDF3 fixture files at the drop and, with nobody uploading, see the scheduled job pick each up and cardholders see their transactions once; switch the feed to pull mode and see a file fetched from the issuer host; re-deliver the same GL1025 file and see nothing imported twice; skip the next day's file and see the stale-feed alert (FEED-003) to finance and the spend report show that date as uncovered; import a QFX statement for the same period and see overlaps flagged as duplicates in preview, and an undo reverse the job. Import MOVE-004's Brex export and deliver a feed file covering the same month; see no charge it holds created again. Statement files (scope-review 67): through the public import door with synthetic OFX, QFX and CSV fixtures, preview writes nothing; a full card number in `ACCTID` or a CSV column is stored nowhere (database, R2 and archive scanned) and the retained original is the labelled masked file; an unassigned card blocks commit until the owner assigns it; pending, payment, fee and interest rows create no card expense; re-importing the same file and a QFX overlapping an earlier CSV create nothing twice (overlaps flagged in preview); a row matching imported Brex history is not created; undo removes untouched charges and keeps matched or submitted ones, listed; each import, undo and assignment is in AUDIT-001's history; no outbound request. Program feeds: with nobody uploading, a GL1025 fixture file that posts a charge attaches the waiting opted-in receipt once (CAPTURE-004).

- **FEED-003 — Visible feed health and reconnection.** Every connection shows last successful sync, transaction freshness and the provider's error in plain words (for example a login-required error) with the exact reconnect step; every file-delivered commercial feed (FEED-002) also shows its last file, its next expected file and any missed delivery dates. A stale or broken feed, or a commercial file that missed its expected delivery, alerts its owner and finance (NOTIFY-001) and is never treated as zero spend: reports show the uncovered dates until the late file or backlog arrives. Obligation carried from REPORT-002: feed coverage is one of REPORT-002's reports (each feed's covered and uncovered dates in the period), exportable as CSV and schedulable like the others. Obligation carried from AUDIT-001: each reconnection and health change appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Exact mapped CSV semantics today: explicit daily delivery time, IANA time zone, elapsed grace and first expected date; repeated local times use the later occurrence and skipped local times move forward by the clock gap. A successful directory poll is distinct from the last accepted file. Only both explicitly mapped delivery-period columns, equal valid ISO dates on every accepted row and independent of transaction and sequence columns, cover that one date. Missing or ambiguous periods remain unverified; empty directories, statement uploads, transaction dates and sequence strings establish neither coverage nor zero spend. Settings shows the last file, next expectation and missed dates; each first miss and evidenced coverage retains immutable numbered health and global history. REPORT-002 exposes the same dated evidence on screen, as CSV and through its existing authorized schedule. This native mapped CSV scope qualifies no GL1025 or Plaid provider journey and sends no stale-feed alert. **Acceptance evidence:** Trigger a Plaid login-required error in sandbox; see the connection marked broken with its last sync and a reconnect action, the owner notified, and the spend report show the uncovered dates; reconnect through update mode and see the backlog arrive. With a clock-controlled installation, let a daily GL1025 file miss its expected time plus grace; see the missed date on the feed, the alert to finance and the uncovered date in the report; deliver the late file and see the date covered and the alert closed. Run REPORT-002's feed-coverage report for the month and see the missed date uncovered until the late file arrives, then export it as CSV and schedule it.

- **FEED-004 — Card transaction expenses and receipt matching.** Each card charge becomes an expense owned by its cardholder, with merchant, amount, date and merchant category. Receipts match charges by amount (allowing tips and currency conversion within set tolerances), date window, merchant and card last four; ambiguous matches ask the employee instead of guessing. Exact rule v1 (ct scope-review 67, 21 Oct): candidates are the same employee's posted, positive, receipt-less card expenses on a draft or returned claim, never pending, never imported history and never a pair undone or rejected; the charge date (transaction date when given, else posted date) is 1 day before to W days after the receipt date (W 0–14, default 7); an entered last four must equal the card's; amounts agree exactly in a shared currency, or within a tip tolerance T (0–30%, default 20%, charge above the receipt only) with merchant agreement, or for a foreign receipt against a business-currency charge within an FX tolerance F (0–10%, default 5%) of its CLAIM-003 reference conversion with merchant agreement; merchant agreement is the documented token rule and never breaks ties. A pair attaches automatically only when each side is the other's only candidate; otherwise the employee and live delegates get a private question, and answering attaches by the person. The owner or finance sets W, T, F and an on/off switch, each save a new rule version recorded on every automatic attach. Card expenses are non-reimbursable company-card expenses (FEED-006 aside) with immutable statement facts and the card transaction as their COA-005 key, on the cardholder's own draft automatic report until FEED-005 groups by statement; reimbursable totals, batches and COA-009 exports exclude them, and an out-of-pocket duplicate (same receipt SHA-256, or same employee, date, merchant and amount) cannot be reimbursed. For this duplicate check merchant comparison trims, folds case and collapses whitespace. An out-of-pocket duplicate is refused before manual or scheduled submission and before a held claim is released; the same gate guards a statement or receipt attachment arriving during submission. A claim approved before its card charge arrived is still refused from reimbursement at batching. A charge posts when a FEED door creates it as posted: FEED-002's statement-file import today, and FEED-001, FEED-002 program files and CARD-001 when they ship. Each match and unmatch appends a global line naming only the charge, claim, rule version, actor and channel, never the original's identity, file name, hash or entered details. APPROVE-004's per-charge rule approval applies only at submission. Undo/rejection exclusions use the immutable card transaction key, so undoing and re-importing a statement never proposes that original/transaction pair again. Match-basis differences are in the compared currency: the entered currency for exact/tip matches, and business currency for ECB/FX matches; the frozen basis names that currency. Matched pairs can be undone. A card charge and a reimbursable claim for the same purchase cannot both be paid (COA-005's key extended to card transactions). Obligation carried from APPROVE-004: a matched charge that meets the owner's approval rule (under its amount, receipt matched, no exception) approves by rule on its own, recorded with the rule version and sampled by POLICY-003, while a charge with an exception routes to a person. Obligation carried from REPORT-002: card charges not yet on a submitted claim join the unsubmitted-spend accrual report. Obligation carried from REPORT-001: card charges are spend, grouped by card too. Obligation carried from REPORT-004: card charges count against budgets from posting. Spend and budgets count each posted company-card charge once by expense date (transaction date, else posted date), including draft and returned reports as pending; unsubmitted charges use finance’s statement-import coding and submitted reports use their frozen allocations and reveal their submitted receipt, while unsubmitted originals and matching details stay private. Card grouping uses the assigned card identity and issuer/last four; out-of-pocket spend has its own group. Obligation carried from AGENT-003: before card transactions ship, the policy-change replay includes card spend, shows affected charges and their before/after exceptions, and leaves original charges and decisions unchanged. Obligation carried from AUDIT-001: each charge, match and unmatch appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from CLAIM-003: matching a foreign-currency receipt replaces its reference conversion with the card’s posted business-currency amount, retaining the original currency/amount, reference conversion and card amount, with their provenance visible and exported. Obligation carried from CAPTURE-004: matching never attaches a discarded or merged inbox receipt, which stays unmatched in its employee's Discarded or Merged receipts with its original unchanged. **Acceptance evidence:** Post 20 charges through FEED-002's statement-file import (provider sandboxes once FEED-001 and FEED-002's program feeds ship) and 20 receipts including a tipped meal, a foreign charge and two same-amount charges on one day; see 18 auto-matches, two match questions, an undo, and a duplicate out-of-pocket claim for a matched card charge blocked from reimbursement. Enable the approval rule (APPROVE-004) and see a compliant $40 matched charge approved by rule and a $40 charge with an exception routed to a person. Leave three matched charges unsubmitted at month end and see them, with their total, in REPORT-002's accrual report. See matched card charges in REPORT-001's spend, grouped by card. See a posted card charge count against its REPORT-004 budget before it is submitted. Replay a tightening and a relaxation against card-charge history and assert affected charges, exact before/after counts and unchanged charge/decision records (AGENT-003). Match a EUR receipt to its posted USD card charge; assert the card amount wins, both amounts and the original EUR remain, with conversion source/rate/date visible and exported (CLAIM-003). Discard or merge an inbox receipt that would match a posted charge and see it stay unmatched in Discarded or Merged receipts (CAPTURE-004). Obligation from CAPTURE-004 (scope-review 67): only opted-in originals match, ties ask, an undo never re-proposes the pair, nothing private is visible before submission, and opted-in originals stay outside the cash window.

- **FEED-005 — Card statement reconciliation and liability clearing.** Finance reconciles each card statement period: Coaster totals posted charges, payments and credits against the statement balance, lists differences, and posts card expenses to the card liability account and the statement payment as its clearing entry (ACCT-001 to ACCT-003). Obligation carried from AUTO-001: an employee's card charges group into one automatic report per card statement period, submitted on AUTO-001's schedule. Obligation carried from AUDIT-001: each statement reconciliation and clearing entry appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Exact semantic of the statement-file slice (sx-coaster-c36; ct approved as landed 22 Oct 11:40Z; the statement-file door is the recovery path and is never called a feed): finance or the owner (same-origin native session; delegates act within their grantor's row; agent keys and every other role are refused with 403, and the ADMIN-001 matrix's card-spend readers, admins, auditors, bookkeepers and card admins, read) open one card's statement period from an imported statement file, naming the card by its last four digits; the period and the closing balance come from the retained masked original (a CSV has none, so finance enters it, and an OFX balance is never overridden), with `LEDGERBAL` read by the OFX credit-card convention that a negative balance is owed, and the opening balance is the previous closed statement's closing balance or, for a card's first statement, entered by finance. Coaster totals the statement's posted purchases, credits, payments, fees and interest from the retained original against the card charges it holds, and lists each difference: a purchase on the statement with no card expense, a credit not yet acknowledged, a row that cannot be classified, or a statement whose own lines do not add up to its balance; the period's difference is the statement balance less Coaster's accounted balance (opening plus held and explained purchases, fees and interest, less payments and acknowledged credits). Finance resolves a missing charge by adding it as a card expense on the cardholder's statement report in a chosen category, or by explaining it in writing (a charge already delivered under another id, or not a company-card expense), and acknowledges a credit by linking the charge it refunds or saying what it is; a footing gap or an unclassifiable row cannot be resolved and blocks closing until the file or the opening balance is corrected, and opening balances are restated only while the period is open. Closing needs every difference resolved and a zero difference; it is permanent and writes the period's double entries once to the native card liability ledger (each purchase to the expense account of the category it is coded to at close, each credit, fee, interest charge and the statement payment as its clearing entry, and a card's first opening balance), after which the card account equals the statement balance to the cent; statements close in order, and a closed statement's import can no longer be undone. A card's charges from one statement file go on the cardholder's own draft automatic report for that card and statement period (the period end names it), continuing in a further report after 100 expenses and falling back to the expense month only when a file names no period end, and AUTO-001's schedule submits it like any automatic report. Each opening, restated balance, resolution and close appends its numbered history line on the app channel under the person who acted; reconciliations, resolutions and ledger entries are permanent financial records that RETAIN-001 does not expire, COA-012 round-trips them (an archive whose ledger does not reach its statement balance is refused) and ERASURE-001 replaces the identities on them; no outbound request is made. Inherited obligations: ACCT-001 to ACCT-003 carry posting these closing entries to the connected ledger and the ledger card account tie-out, ACCT-006 their reversals, and FEED-001 and FEED-002's program feeds reconcile their statements through the same door. **Acceptance evidence:** Reconcile a fixture statement with one missing charge and one refund; see the difference listed, resolve it, close the period and see the ledger card account match the statement balance; see a statement period's card charges collect in one automatic report and submit on schedule.

- **FEED-006 — Individual-liability corporate cards.** For corporate cards where the employee is billed and pays the issuer (individual liability), card charges arrive through the same feeds (FEED-001, FEED-002) marked individual-liability; approved business charges are reimbursed to the employee (PAY-001, PAY-003) instead of posted to a company card liability, personal charges are excluded from reimbursement, and an option pays approved amounts directly to the card account through the payment provider where the issuer accepts it. The ledger posting treats them as reimbursable expenses, not company card spend. Obligation carried from AUDIT-001: each individual-liability charge and repayment appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. **Acceptance evidence:** Mark a fixture card program individual-liability; post six charges, two marked personal; approve the claim and see the four business charges in the reimbursement batch to the employee, the two personal charges excluded, and the QuickBooks sandbox posting as a bill to the employee rather than a purchase on a card account. **Added acceptance:** Through public native doors, prove permitted connection-row selection and wrong-role refusal, and prove that later requests cannot change program liability. Assert the independently declared six-charge fixture, the exact four business transaction keys totaling USD 100.00, the two excluded personal keys, once-only reimbursement eligibility and the company-liability contrast. Prove original-cardholder classification succeeds while foreign, delegated, agent, inactive, stale, submitted and paid cases are refused without writes. For scoped delegation, prove authorized classification and immediate revocation, wrong-program refusal, attributable immutable history and identical restore. Neither local classification nor batching establishes provider payment, issuer acceptance or legal allocation of liability.

- **CARD-001 — Company cards through an issuing partner.** Finance issues virtual and physical Visa or Mastercard cards to employees through a licensed issuing partner (Stripe Issuing or Lithic adapter) with per-card and per-category limits, merchant category allow and block lists, expiring single-use cards and freeze or cancel in one action. Authorizations are approved or declined in real time against the card's policy, the decline reason is shown to the cardholder, and issued-card transactions flow into FEED-004 without a separate feed. Obligation carried from AUDIT-001: each card issue, limit, freeze and cancel action appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from CAPTURE-004 (scope-review 67): an issued-card transaction is matched only once it settles (posts), never at authorization; a waiting opted-in inbox receipt then attaches under FEED-004's rule. Obligation carried from ADMIN-001: issuing, limiting, freezing and cancelling cards follow the role permission matrix's cards row (owner, admin, card admin) in every handler, agent route and chat action, and every other role is refused with 403 and no write, finance included. **Acceptance evidence:** In the issuing partner's test mode, issue a virtual card with a $500 monthly limit and a blocked category; authorize an allowed purchase, see a blocked-category and an over-limit decline with reasons, freeze the card and see the next authorization declined.

- **CARD-002 — Personal spend on company cards.** A cardholder marks a card charge personal; Coaster records what they owe, collects it by ACH debit through the payment provider or by deduction from their next reimbursement, and tracks it to settlement. Finance can require repayment within a set period and freeze an issued card while a repayment is overdue. Obligation carried from AUDIT-001: each repayment and personal-spend mark appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. **Acceptance evidence:** Mark a sandbox charge personal, repay by netting against a reimbursement and by ACH debit; see both settle and clear the balance; leave one overdue and see the reminder and, for an issued card, the freeze.

### Claims

- **CLAIM-001 — US mileage.** Mileage is entered as miles from start and end addresses, with the driving distance calculated by a routing provider, round-trip and multi-stop options, an optional commute deduction, an odometer photo option and GPS-tracked trips from the mobile app (MOBILE-002). Each trip stores route, distance source and the IRS rate in force (LOCALE-001). **Acceptance evidence:** Enter a three-stop round trip from addresses and see the calculated miles and route; apply a commute deduction; record a GPS trip on the mobile build; see each priced at its date's rate and the distance source retained.

- **CLAIM-002 — GSA per diem by location.** Per diem uses the GSA CONUS rates (and the State Department OCONUS rates) by city, county and fiscal year for meals and incidental expenses and for lodging, with 75% on the first and last travel day, deductions for provided meals, and an option for a company rate or the IRS high-low method. Rate tables update each fiscal year and the rate used is copied onto the expense. Exact semantics: government trips select an explicit published locality and 1–60 inclusive calendar dates; each date selects its own effective published table and lodging month, without geography guesses or substitution for a missing year. M&IE is rounded half up in USD cents after the 75% reduction (once for a single-day trip), then full published meal deductions apply, never below incidentals. Lodging covers each night before the return date and is not reduced to 75%. The IRS high-low choice follows the notice’s exact high-cost seasons. The company alternative retains COA-002’s owner-set flat daily allowance, without government travel-day or meal adjustments. Government amounts are USD; another business currency uses CLAIM-003’s explicit rate or owner-enabled ECB reference conversion, with the original USD evidence retained. Every expense and frozen revision copies the daily rate, effective dates, source, meals, deductions and resulting amount; PDFs and accounting CSV/XLSX carry that evidence. The account-free official-source updater in `scripts/per-diem/README.md` refreshes full fiscal-year GSA/IRS tables and monthly State publications, refuses missing or ambiguous source data, and preserves saved expense rates. Published coverage is recorded in `src/coaster/per-diem-data/sources.json`; unpublished rates are refused, never invented. No runtime request sends trip or employee data to a rate publisher, and an allowance is not a tax certification. **Acceptance evidence:** `tests/coaster-per-diem.test.mjs` (CLAIM-002) claims a four-day Chicago trip with a provided lunch, asserts its $296 M&IE total and daily 75%/deduction math, claims a trip spanning 1 October and asserts each day’s fiscal-year source and monthly lodging, and proves single-day incidental floors, foreign State rates, seasonal IRS high-low, company rates, explicit FX, nonwriting previews, invalid/missing-coverage refusals and immutable submitted evidence through approval and accounting/PDF doors. `tests/browser-per-diem.mjs` (CLAIM-002), run by `tests/browser.mjs`, enters, previews, submits, approves and reimburses the allowance at 1440 and 390 px and reads the saved daily evidence; the archive journey restores it unchanged.

- **CLAIM-003 — Foreign-currency expenses.** An expense records its original amount and currency and converts to the installation currency (USD by default), keeping the rate, named source and rate date visible to the approver and in frozen revisions, history and exports. Exact rules today: the owner may enable "ECB currency conversion" (off by default); conversion fetches only the fixed public ECB history URL declared in `seed.json`, without expense data or redirects. Use the transaction-date ECB reference rate, or the latest published date before it on weekends/holidays, cross-rated through EUR; unavailable dates/currencies and failed downloads refuse without saving. The label is "ECB reference rate, not your card’s rate". An employee may explicitly enter a positive rate in business units per original unit (up to 12 decimal places), including with ECB off or unavailable; it is labelled "rate entered by hand" and visible to the approver, never an automatic fallback. Entered amounts use hundredths of a currency unit; conversion rounds half up to the nearest hundredth (credits away from zero). Each split and its sales tax retains its original amount; round each part, with the final part taking the remainder so business totals reconcile. ECB cross-rates are calculated as exact decimal ratios, displayed to 12 decimal places. Imported Ramp/Brex/Navan and Emburse amounts use the expense date and retain original amount/currency, source originals and FX provenance; Concur converts the approved report-currency entry and its signed allocations, preserving report amounts, transaction amount/currency and raw journals separately, with the last converted allocation taking the remainder. Preview binds the resolved rates; changed rates require a fresh preview. This clause is done for capabilities present today. Before card matching ships, FEED-004 must replace the reference conversion with the card’s posted business-currency amount while retaining both amounts, the original currency and conversion provenance. **Acceptance evidence:** `tests/coaster-fx.test.mjs` (CLAIM-003, DATA-001) claims a €48 Paris taxi, asserts exact USD, rate/date/source, frozen revision and CSV/XLSX values, splits/tax, half-up rounding, cross-rates, opt-in/no-egress when off, fixed no-data GET, failed/redirected download refusal and explicit manual rates visible to the approver; `tests/coaster-fx-imports.test.mjs` (CLAIM-003) imports Ramp, Emburse and Concur EUR history, credits and allocations, asserts originals/conversion and changed-rate refusal. FEED-004 owns the EUR receipt/card-match acceptance before matching ships.

- **CLAIM-004 — Cash advances.** An employee requests a cash advance for a trip; once approved and paid (PAY-001), later expenses draw it down and the claim settles the difference: the company pays the balance or the employee returns the excess, tracked to the IRS 120-day return window. Exact rule: an advance routes to the employee's approving manager (or that manager's delegate) like a spend request (CLAIM-005), and nobody decides their own. A finance member other than the employee records it paid with a reference and date (until PAY-001 pays advances, Coaster moves no money) and records each excess the employee returns, never more than is still owed. An advance settles on exactly one claim of its employee, linked while that claim is a draft or returned; from submission the claim draws the advance down by its total, up to the advance less returns (draft, returned and rejected claims draw nothing). Its batch pays the claim's total less that draw and posts the draw as one negative "Cash advance applied" accounting line to the owner's cash advance account, so the accounting lines, the per-employee totals and the batch total agree to the cent. Excess still owed (the whole advance while no submitted claim draws it) is due back 120 calendar days after the paid date finance recorded and is overdue from the next day in the business time zone. Each request, decision, payment record, link and return appends its history line (AUDIT-001). Obligation carried from CLAIM-008: an excess not returned within 120 days shows in finance's Accountable plan list beside the late expenses. **Acceptance evidence:** Approve and pay a $1,000 advance, claim $830 of expenses and see $170 owed back; claim $1,200 and see $200 reimbursed; let a return lapse and see it reach the overdue list and CLAIM-008's Accountable plan list.

- **CLAIM-005 — Spend requests and trip pre-approval.** An employee requests approval before spending (a trip, a conference, a software purchase) with an estimate; approval routes like a claim (APPROVE-001), and later expenses link to the request so approvers see estimate against actual. Requests over a policy threshold are required before booking. Until APPROVE-001's workflows exist, a request routes exactly as a claim does today: to the employee's approving manager, or their APPROVE-002 delegate, and nobody approves their own request; APPROVE-001 must route requests through its workflows before it ships. Coaster cannot stop a booking made outside it, so "required before booking" is enforced at approval: an expense whose amount is strictly above the owner's "Spend request needed above" amount (integer cents; empty turns the rule off) and that is not linked to an approved request carries a pre-approval exception, and the claim cannot be approved for reimbursement until an approved request is linked (the approver returns it, the employee links one and resubmits) or the approver overrides with a recorded reason. Acknowledging the exception is not enough. The override reason is the decision's reason, a history line (audit trail) and part of the batch's accounting memo (reports); the same gate holds when a hold is released or part of a claim is approved (APPROVE-005). Only an approved request of the same employee can be linked. **Acceptance evidence:** Request a $2,400 conference trip, approve it, then file expenses linked to it and see estimate versus actual on the claim; file an unlinked expense over the threshold and see approval refused, including a partial approval that keeps it, until an approved request is linked; approve another with the approver's override reason and see that reason in the claim's history and the batch's accounting export.

- **CLAIM-006 — Billable expenses and client rebilling.** Any expense can be marked billable to a customer and project; billable lines sync to QuickBooks Online or Xero as billable expenses and hand off to Gauge for client invoicing, with their receipts. Native coding today accepts customer and project as trimmed text (at most 200 characters each), optional on an expense; marking it billable requires a named customer. Submitted revisions retain that coding, every accounting split and sales-tax line carries it, and customer/project PDF filters combine by exact case-sensitive AND and include billable lines only. These native files send nothing externally; the provider handoffs remain required. **Acceptance evidence:** Mark two expenses billable to a customer; see them as billable in the QuickBooks sandbox with attachments and as billable items in a Gauge test installation.

- **CLAIM-007 — Itemization, attendees and required fields.** Hotel folios are itemized into room, tax, meals and incidentals with each part categorized; meals record attendees (employees and guests) and policy can limit per person; the owner defines required custom fields per category (business purpose, client, flight class). A per-person limit divides the expense's total share in that category by the number of attendees listed on it (at least one; the employee is listed like any attendee). The share shown on the expense rounds half up to the nearest cent ($101.95 for three is $33.98 a person); the limit is checked against the exact share, so the soft exception is raised when the amount is greater than the limit times the people. Required fields are checked when the claim is submitted, not on each save, and submission is refused naming every blank field. **Acceptance evidence:** Itemize a three-night folio and see room and in-room dining in their categories; add four attendees to a $320 dinner against a $75 per-person limit and see the exception; see a $101.95 dinner for three shown as $33.98 a person, under $75; leave a required field blank and see submission refused with the field named.

- **CLAIM-008 — Accountable-plan compliance and non-employee claims.** Coaster runs reimbursements as an IRS accountable plan: it tracks substantiation within 60 days of spend and return of excess within 120 days, shows lapses to finance, and routes any amount finance treats as non-accountable to payroll as taxable wages (PAY-003). Contractors can submit claims as non-employees; their reimbursements are flagged for 1099 review in exports. Obligation carried from CLAIM-009: a stipend finance marks as taxable pay goes to the payroll handoff as taxable wages. Exact rules today: an expense an employee files (receipt, mileage or per diem; stipends are Coaster's own) is late when the first submission carrying it is more than 60 calendar days after its spend date, counted to that submission's day in the business time zone (day 60 is on time); finance and auditors see every late expense on claims not rejected in the Accountable plan list on Batches, and employees cannot read it. A finance member (a person, never an agent) marks any expense on a submitted or approved claim not yet in a reviewed batch as non-accountable with a reason, or clears the mark with a reason; the amount reimbursed never changes, and each mark is a history line. The native Gusto Demo handoff in PAY-003 now sends those taxable amounts as wages; other payroll providers and production access remain unimplemented. The portable files retain the existing labels: the reimbursements file carries each person's `taxable_amount` (their non-accountable expenses plus stipends set as taxable pay) and the accounting file marks each such line `taxable`; Coaster labels, it never decides taxability. The owner marks a person with the employee role as a contractor; they claim as anyone does, and their reimbursement and accounting lines carry `form_1099_review`. Each clause that adds the missing capability carries its part before it ships: PAY-003 sends every `taxable_amount` (non-accountable expenses and CLAIM-009 taxable stipends) to payroll as taxable wages, and CLAIM-004 tracks return of excess within 120 days on cash advances, the only excess Coaster can hold. **Acceptance evidence:** File an expense 75 days after the spend and see the lapse flagged; mark it non-accountable and see it in the payroll handoff as taxable; reimburse a contractor and see the 1099 review flag in the export; pay a CLAIM-009 taxable stipend and see it in the payroll handoff as taxable. Today: file an expense 75 days after the spend and another 10 days after; see only the first in finance's Accountable plan list (an employee refused); mark it non-accountable as finance (an employee refused) and see the mark refused once the batch is reviewed; reimburse a contractor and a CLAIM-009 taxable stipend in the same batch and see the reimbursements file's `taxable_amount` hold the non-accountable expense plus the stipend, the accounting file mark both lines taxable, and the contractor's lines flagged `form_1099_review`; PAY-003 and CLAIM-004 carry the payroll and excess-return points.

- **CLAIM-009 — Recurring expenses and stipends.** Finance sets recurring allowances (for example a $75 monthly phone stipend or a $500 yearly home-office allowance) per person, department or entity, as either a fixed stipend that creates an expense each period without a receipt (accountable or taxable, CLAIM-008) or a reimbursement cap the employee claims against with receipts; employees set recurring personal expenses (a monthly software subscription) that create a draft each period with the receipt requested. Stipends follow approval rules (APPROVE-001, APPROVE-004), stop on deactivation and show remaining allowance to the employee. Exact rules today: the owner, an admin or finance (ADMIN-001's policy row) sets an allowance for one employee, one department (ADMIN-001) or every employee, monthly, quarterly or yearly (calendar periods in the business time zone), from a start day, and can stop it. A stipend names its category and whether it is paid under an accountable plan or as taxable pay (CLAIM-008 labels taxable stipends as taxable pay in the reimbursement files and PAY-003 carries them to payroll); the hourly run gives each active employee it covers one claim per period, dated the period's first day (or the start day, when later), with one stipend expense and no receipt, submitted in the employee's name to their approving manager as any claim is and recorded as "allowance"; it never approves by APPROVE-004's rule because it carries no receipt, an employee without an approving manager finds it waiting as a draft, a deactivated employee gets no further stipend, and periods before the run first saw a stipend are not back-filled. A cap is claimed against by choosing it on a purchase: what is left is the cap less every other expense the employee has claimed against it with an expense date in the same period, on claims not rejected (drafts included), taken when the expense is saved; above that, the expense keeps the receipt's amount as claimed, is reimbursed only what is left (the excess comes off its last categorized part first; its sales tax stays), and raises an over-allowance exception naming the claimed, left and unreimbursed amounts; with nothing left, or less left than its sales tax, the expense is refused. Each employee sets their own recurring expenses (merchant, amount, category, period, start day) and can stop them; the hourly run opens one draft claim per period with that expense, dated as a stipend is, without a receipt and described as "receipt requested". Each employee sees the allowances that apply to them with what is left of each cap for the period and whether this period's stipend was paid; finance, auditors and the owner see every allowance. **Acceptance evidence:** With a clock-controlled installation, set a monthly $75 phone stipend for every employee and a yearly $500 home-office cap, with APPROVE-004's approval rule on; advance three months and see three stipend expenses created, each submitted to the employee's approver without a receipt, and reimbursed; claim $320 then $250 against the cap and see the second capped at $180 with the excess flagged and the employee shown what is left; set a monthly software subscription and see each month's draft ask for its receipt; deactivate a member and see their stipend stop. A department's stipend is in ADMIN-001's acceptance, payroll routing of a taxable stipend in CLAIM-008's and a stipend following a configured workflow in APPROVE-001's.

### Coding

- **CODE-001 — Accounting dimensions from the ledger.** Categories map to the chart of accounts, and classes, locations, departments, projects, customers and vendors are pulled from the connected ledger (ACCT-001 to ACCT-003) and kept current by the scheduled daily refresh, with no one pressing sync; anything archived in the ledger stops being offered. Custom tags and cost centers sit alongside, including dependent multi-level tags (for example department → project → task), where each level offers only the choices allowed under the level above; they are built in the app or imported from CSV, and each level can be required or optional. The owner sets which dimensions each category requires, and each person's default department and location come from ADMIN-002. Obligation carried from REPORT-001: projects are a spend grouping. Obligation carried from REPORT-004: budgets can cover a project or tag. Exact semantic of the current doors (sx-coaster-c37, 22 Oct): owner/admin native sessions configure named native dimensions and dependent choices or import the documented CSV; each expense stores selected stable choice ids, validates active ancestors and category requirements at entry and every submission door (including agent acceptance, automatic reports and held-expense release), and freezes names, ownership and source provenance with the submitted revision. Catalog project owners are active approvers resolved and frozen by project-owner workflow steps, with no self-approval; project spend and project/tag budgets use the frozen choice ids and include every split and tax line once. Native free-text project/customer coding remains available where no catalog binding requires a choice and is never described as ledger-synced. QuickBooks connects only after explicit native-session consent by the connect row; only metadata is fetched, Intuit accounting tokens are sealed with installation-secret encryption and excluded from archives, and the complete daily snapshot commits atomically after the finance-configured business-time hour. QuickBooks Department supplies its location/department choices, Customer supplies customers and project/job children, and Account, Class and Vendor supply the other choices. Removed/inactive choices stop being offered; existing revisions keep their provenance. Owner/admin configuration and the sync row govern the existing native catalog and metadata-refresh doors; no expense, receipt, employee or payment payload is posted to Intuit. Disconnect stops further metadata requests and retires the disconnected company’s offered choices. Restoration keeps the coding records but restores no live provider or public-API credential. ADMIN-002 still supplies the future HRIS defaults; ACCT-001 to ACCT-003 inherit financial posting and their provider-specific catalog forms. **Acceptance evidence:** Connect a QuickBooks sandbox and see its accounts, classes, locations and customers as choices; add a class in QuickBooks and see it appear after the next scheduled refresh with nobody pressing sync; archive a class and see it no longer offered; import a department → project tag list where Sales offers only Sales projects, and see a Marketing project refused on a Sales expense; require a project on Travel and see a Travel expense refused without one. See REPORT-001's spend grouped by project. Set a REPORT-004 budget on a project and see its expenses count against it. APPROVE-001 obligation: when project ownership ships, resolve workflow project-owner reviewers from that ownership and assert project-based routing with no self-approval.

- **CODE-002 — Automatic coding.** Coaster fills category, class, location, department, project, customer and memo on every new card charge and receipt from these sources, in this order of precedence: (1) finance's merchant rules (for example "Delta → Airfare, class Sales"), which always win; (2) the employee's own personal rules; (3) learned coding: how this person, then their department, then the company has coded this merchant before, updated after every correction; (4) the card charge's merchant category code, mapped to a category; (5) the receipt reading's merchant and line items (CAPTURE-003). Each suggestion shows the source that produced it and why. A suggestion only fills an empty field and never overwrites coding the employee or an approver has entered. It only uses accounts, classes and tags that are active in the connected ledger at that moment: an archived account or class is never suggested, and a rule that points at one is flagged to finance instead of applied. After a person overrides the coding for a merchant twice, their next charge from that merchant gets the corrected coding. Employees and approvers accept or change each suggestion, and finance sees acceptance rates per rule and per source. Coding quality is measured, not asserted. Exact semantic of the current native doors (sx-coaster-c37; ct approved as landed 22 Oct 11:40Z): the Policy row configures exact normalized merchant rules and MCC mappings; the Submit row configures private personal rules. Finance rules, personal rules, personal observations, submitted department history, submitted company history and MCC mappings fill only empty fields, in that order. An invalid rule is flagged rather than silently bypassed; archived categories, mapped accounts, dimensions and ancestors are refused again at commit. Own private drafts, receipt metadata and corrections teach only that employee; shared learning uses submitted category and catalog choices, with no other person’s identity, original text or memo exposed in a reason. Predictions alone do not teach the learner. Native statement-file charges and uploaded originals with an employee-entered merchant use the same service. Manual and scheduled original attachment preserve existing expense coding. Native screens show the proposed values, source, reason and human decision; immutable submitted revisions are not rewritten by reviewer feedback. Private receipt and personal-rule data follow erasure; financial item coding follows the existing confirmed claim-retention door. The file-import form is not an issuer feed, and typed receipt metadata is not receipt reading. The explicit mapped-CSV SFTP feed now invokes this service at scheduled charge creation. A private CAPTURE-003 reading supplies verified merchant and line items to one separately consented Base AI coding request, after MCC and the higher sources; unknown IDs, low confidence and invalid active choices stop for review. Reading, consent, catalog and human-context versions are rechecked at commit. FEED-001 and FEED-002’s GL1025/VCF/CDF3 forms inherit the same service; no unbuilt provider form is claimed. A committed, labeled coding fixture set (`tests/fixtures/coding/`) holds at least 100 synthetic card charges and receipts, each labeled with category, class and project, plus 12 months of prior coding for the same people and merchants. It covers repeat merchants, merchants new to the company, merchants covered by rules, ambiguous merchants (Amazon, airport shops) and charges whose usual account or class has since been archived. **Acceptance evidence:** Run the coding suite over the fixture set through the public feed and upload doors: (1) every charge a merchant rule covers gets exactly the rule's coding (100%), including where learned history points elsewhere; (2) for repeat merchants (coded at least twice in the history by the person or the company), the suggested category equals the label on at least 90%, and the match rate across all suggestions for category, class and project is reported and recorded with the commit; (3) override one person's coding for a merchant twice and see their third charge from it carry the corrected coding, while another person's charge from the same merchant is unchanged; (4) no suggestion uses an archived account or class, and no suggestion changes a field the employee filled before the charge arrived; (5) open a suggestion and see its source and reason, override it, and see the override and the rule's acceptance rate.

### Policy

- **POLICY-001 — Versioned policy rules.** Finance writes the expense policy as versioned rules with effective dates: limits per expense, per day, per trip, per attendee and per month by category, receipt thresholds, required fields, blocked merchants and categories, weekend and holiday spend, submission deadlines and approval requirements. Each rule is soft (explain and acknowledge, COA-004) or hard (cannot submit). Every exception names the rule version that raised it, and past decisions keep the version they were made under. Exact semantics: owner business/category saves append an immediately effective version containing the receipt threshold, spend-request threshold, each category's receipt-always flag, per-expense and per-person limits and required fields, alongside the active finance rules. Owner receipt and amount limits remain soft and owner-required fields hard. Finance publishes additional rules with an effective day today or later in the business time zone; each is soft or hard and additive, never relaxing the owner floor. Additional rules cover per-expense and per-attendee category limits, daily/trip/monthly category totals, receipt thresholds, required fields, blocked merchants/categories, weekend/holiday spend, deadlines and required approved spend requests. Amounts are integer cents, limits inclusive; attendees and displayed shares follow CLAIM-007. A daily or monthly total includes the employee's category allocations across all non-rejected claims, drafts included, grouped by expense date or its calendar month. A trip is an approved CLAIM-005 request and totals that employee's linked category spend across non-rejected claims; an expense missing its request raises an exception instead of evading the trip limit. Merchant comparison ignores case and repeated spacing; categories match by id. Weekends are Saturday/Sunday expense dates; holidays are the eleven US federal holidays as observed under FOLLOWUP-001's business-day calendar. Deadlines count calendar days to the business-local submission day; exactly the permitted age is in time. An approval requirement is a linked approved request of the same employee; its soft exception requires the recorded approver override in CLAIM-005, and a hard one blocks submission. The highest numbered version whose effective day has arrived supplies all checks, and the commit refuses a version that changed during submission; versions and their configurations are never edited or deleted. Submission and hold release record that version, preserving earlier exceptions, decisions and per-person limit displays. For versions created before configuration snapshots existed, upgrade captures the then-current owner configuration, labelled as captured during upgrade rather than an invented historical setting; existing recorded exceptions are unchanged. Employees can fill policy-required custom fields in the expense form. **Acceptance evidence:** `POLICY-001` public HTTP journeys in `tests/coaster-policy.test.mjs`: publish the daily limit, merchant block and hard 90-day deadline, see their versions and exact boundary, publish a later version and preserve older claims; assert versioned owner settings, owner floor, every additional rule's hard refusal and soft acknowledgment, approved-request/override paths, cross-claim period totals, observed holidays, required-field form data and hold release.

- **POLICY-002 — Duplicate and fraud signals.** Beyond COA-004 and COA-005, Coaster flags the same receipt across different employees, near-duplicate images (cropped or re-photographed), receipts whose image shows edits or generation artifacts, charges split to stay under a limit, round-amount and weekend patterns, and receipts that disagree with the card charge. Each signal shows its evidence; none blocks payment by itself or accuses anyone, and finance resolves it with a recorded reason. Signals are held to a measured false-positive bound so they do not swamp the POLICY-003 queue: a committed clean fixture set of at least 300 legitimate expenses across 20 employees (including recurring same-amount subscriptions, shared team meals split by attendees and legitimately round amounts) raises a signal on no more than 2% of its expenses, and the rate is recorded with the commit. Exact semantics: observations are labelled "possible, needs review", never a finding of fraud or verified authenticity. Original hashes identify exact copies across employees. Local content inspection compares normalized visible ink and affine landmarks against current-report receipts and retained submitted revisions, including cropped, re-photographed and recompressed copies; high agreement with a localized changed band is an image-content-change observation. Numeric similarity, overlap, changed ink/regions, registration and compared receipt hash accompany the reason. JPEG 8-pixel boundary contrast above 10 and over 2.5 times interior contrast raises a compression-grid observation, with both measurements and an explicit ordinary-compression caveat; this does not identify a generator. JPEG, PNG, WebP and single-image HEIC content is inspected locally up to 24 megapixels; unreadable, insufficient-ink, over-limit and non-raster receipts have an explicit inspection status, never an authenticity verdict. JPEG APP1 EXIF Software/DateTime/DateTimeOriginal and PNG tEXt/eXIf metadata supply the existing editing-software and image-date observations. Software matching names Photoshop, GIMP, Affinity Photo or Pixelmator. A valid DateTimeOriginal wall-calendar date differing from the expense date carries both dates and warns that later photographs can be legitimate; no timezone conversion is invented. Stripped/unrecognized supported metadata reads "no metadata to check" without a metadata flag; PDF/WebP/HEIC metadata, compressed PNG text and XMP remain explicitly unchecked. A split-charge observation groups the employee's same-day, same normalized merchant/category purchases when two or more are individually within an effective owner or finance per-expense limit and together exceed it. Attendee-shared expenses are excluded from that grouping. Whole-unit round-amount and weekend patterns require that employee's same merchant on at least three distinct dates in an inclusive 15-day window; an isolated round amount/weekend or a monthly subscription does not suffice. Both patterns exclude attendee-shared expenses. Every pattern lists the purchases, dates and amounts. Card disagreement uses the frozen entered receipt amount/date and the posted statement facts already shared by native matching; amount/reference-conversion or date differences carry the match rule, tip/FX context and both values. No unmatched private inbox data is published. The POLICY-003 queue includes these observations at risk weight 1 alongside the independent policy exceptions, and finance removes an observation by recording the same append-only human review reason shown on the claim. Signals add no explanation, special approval acknowledgment, route change, rejection or payment delay; the independent COA-004 policy rules and COA-005 exact reimbursement key still apply. Submitted evidence stays immutable; partial approval retains only kept-expense observations and hold release inspects the held expenses anew. **Acceptance evidence:** Submit the same receipt from two employees, a re-photographed copy, an edited total and two $480 charges against a $500 limit; see each signal with evidence, resolve one as legitimate and see the reason recorded. Run the clean fixture set and see signals on no more than 2% of its expenses, each with its evidence, and the rate recorded.

- **POLICY-003 — Finance exception queue and audit sampling.** Finance sees one queue of open exceptions, signals and lapses across all claims and card spend, sortable by risk and age, and can sample a percentage of approved spend for post-approval audit with findings recorded. Exact rules today: an open exception is a policy exception recorded on the current submitted revision of a claim that is submitted, approved, batched or reimbursed, until someone in finance reviews it with a note (once; the review is a history line); auditors read the queue. Risk weights are duplicate receipt 5, possible duplicate 4, no approved spend request 3, over a category limit 3, over a per-person limit 2, over budget 2 (REPORT-004) and missing receipt 2; the risk order is weight then oldest submission, the age order oldest submission then weight, and age is whole days since that submission. Finance sets the sample as a whole percentage p from 1 to 100 (empty turns it off); the n-th approval of a claim revision is sampled when floor(n × p ÷ 100) is greater than floor((n − 1) × p ÷ 100), so exactly p of every 100 approvals are sampled, counted by approval rather than by dollar, whichever path approved it (a decision, a partial approval or a released hold). Each sample takes one finding, clean or an issue with its text, that never changes, recorded by someone in finance other than the claim's employee. Card spend, lapses and new signals do not exist yet, so each clause that adds one feeds this queue before it ships: FEED-004 (card charges), POLICY-001 (deadline lapses and hard rules), POLICY-002 (fraud signals), and APPROVE-004's rule approvals are sampled like any approval. **Acceptance evidence:** Generate exceptions across five claims and card charges; see them in one queue ordered by risk; configure a 10% audit sample and see a sampled claim with a recorded finding.

### Approval

- **APPROVE-001 — Multi-step conditional approval workflows.** The owner builds workflows for claims (including CLAIM-009 stipends) and spend requests. The employee’s approving manager or imported ordered manager chain runs first; matching rules then add sequential stages, each containing one or more parallel reviewers. Current conditions are total amount strictly above a major-unit amount converted to integer cents, any allocated category, exact project name, any policy exception, and a spend request or linked approved spend request; an always condition covers every submission. Current steps resolve the employee’s manager or a named active manager or finance reviewer. Rule order, matched conditions and reviewer identities freeze with the submitted revision; delegation substitutes an active delegate holding that stage’s manager or finance role when its stage opens and does not change an already waiting task. Settings changes affect future submissions only. All reviewers in a parallel stage must approve before the next stage, return or reject stops the path, and one final completion alone makes a claim eligible for payment and counts in reports, exports and audit sampling. Only assigned people with the current matching role decide their exact revision and version; no self-approval, including through delegates, and stale views are refused. The owner reassigns waiting tasks; holds require all other reviews complete and held expenses resubmit through the full workflow; unapproval restarts the frozen workflow. ADMIN-001 adds department conditions and department-head and manager’s-manager reviewers, resolved from the actual hierarchy and frozen at submission; CODE-001 must add project-owner resolution before that capability ships. **Acceptance evidence:** `tests/coaster-workflow.test.mjs` (APPROVE-001): configure over $1,000 adds a named department head and any exception adds finance; $200, $1,400 and $300-with-exception take different paths; the head’s own claim is refused; category and project rules create parallel/sequential stages, finance can finish its task first, other and stale decisions are refused, edits preserve frozen routing, spend requests use the same workflow and an hourly stipend follows its configured path; final batch/export/payment totals and samples count each completion once. `tests/coaster-workflow-lifecycle.test.mjs` (APPROVE-001) asserts return/reject, delegation, reassignment, hold/resubmit, reminders and unapproval restart.

- **APPROVE-002 — Delegation, out of office and reassignment.** An approver delegates to a named colleague for a date range; claims submitted while the delegation is active route to the delegate and record who approved on whose behalf. Claims already waiting stay with the original approver, and the owner can reassign them. Admins (ADMIN-001) and the owner reassign stuck approvals, and a deactivated approver's queue moves to the successor ADMIN-001's deactivation names, or else to their manager automatically. **Acceptance evidence:** Set a delegation for next week and see a claim route to the delegate with "on behalf of" recorded; deactivate an approver and see their queue move with a history line. Submit one claim before a delegation starts and another while it is active: the waiting claim stays with the original approver and the new claim routes to the delegate. As the owner or an admin (ADMIN-001), reassign the waiting stuck approval and inspect its history. Date bounds are inclusive in the business time zone. Finance reviewers set their own out-of-office for finance reviews, with an active finance delegate; manager reviews use manager delegates. The owner may set either for anyone. A deactivated finance reviewer’s waiting claim and spend-request tasks move to their active manager only when that manager holds finance; otherwise the owner reassigns them. Existing waiting tasks do not change when delegation starts or ends. `tests/coaster-finance-delegation.test.mjs` (APPROVE-001, APPROVE-002) asserts finance delegation and role-preserving deactivation across claims and spend requests.

- **APPROVE-003 — Approve anywhere.** Approvers decide from the phone (web and native), from a signed one-time link in an email, from interactive Slack and Microsoft Teams messages, and in bulk from the queue; every channel enforces COA-006 and shows the exceptions before the decision. Obligation carried from ADMIN-001: every email-link, Slack, Teams, native and bulk approval action checks the same matrix row as the screen, so only the approver a workflow step names decides and nobody approves their own claim, connecting the Slack and Teams apps follows the connect row (owner, admin, finance), and every other role is refused with 403 and no write. **Acceptance evidence:** Approve one claim at 390 px, one from an email link (a reused or expired link is refused), one from Slack and one from Teams test workspaces, and bulk-approve three; each records its channel and refuses a stale revision.

- **APPROVE-004 — Rule-based auto-approval.** The owner can let expenses that meet strict conditions approve themselves (for example matched card charges under $75 with a receipt and no exception), recorded as approved by rule with the rule version, and sampled by POLICY-003. Exact rules today: Coaster approves claims, not single expenses (COA-006), so the rule approves a whole claim at submission. The owner or an admin (ADMIN-001) turns the rule on with one amount, or off; each save is the next rule version. A submitted claim approves itself only when every expense is a receipt expense with its receipt attached and strictly under that amount, and the revision raises no policy exception; mileage and per diem expenses carry no receipt, so a claim holding one goes to a person. The approval is recorded on that revision as approved by "rule vN" with its reason, which shows wherever an approver's name does (the claim, its history and the batch accounting line); the claim is batched like any approved claim and POLICY-003 samples it like any approval. Every other claim routes to its approver unchanged. Card charges do not exist yet, so FEED-004 carries per-charge rule approval before it ships (a compliant matched charge approves by rule on its own while the rest of its claim goes to a person), and APPROVE-001 runs the rule as a workflow step. **Acceptance evidence:** Enable the rule at $75; see a compliant $40 claim (one expense with its receipt and no exception) approved at submission by rule v1, on its accounting line and in the audit sample, while a $40 expense with an exception, a $75 expense and a mileage claim each route to the approver; change the rule and see the next compliant claim approved by rule v2 while the first keeps v1; turn it off and see a compliant claim routed to a person. The matched-charge form of this journey is FEED-004's acceptance.

- **APPROVE-005 — Hold one expense, approve the rest.** On any approval step an approver can put one or more expenses on hold with a reason and approve the remaining expenses of the same revision in one decision. Coaster splits the claim: the approved expenses continue as their own revision along the workflow to batching and payment, and the held expenses move to a new claim that stays with the employee, carrying the hold reason, the approver and a link to the original claim. The employee answers the hold by fixing the expense (for example adding an attendee list) and resubmits the held claim on its own, or the approver releases the hold; held expenses are chased by FOLLOWUP-001 like any other open item and age in REPORT-002. Every COA-006 guarantee holds for both parts: the decision applies to the exact revision shown, nobody holds or approves their own expense, a stale view is refused, and the split and both claims' histories are append-only (COA-007). Holds also work from every APPROVE-003 channel and for card charges. Exact rules today: with one approval step, the approver holds inside an approve decision on the exact revision shown, with a required reason, and must approve at least one expense (holding every expense is a return). The approved expenses become the claim's next revision, approved at once and batched like any approved claim, while its earlier revision keeps every expense; the held expenses keep their ids, splits and attendees and move to a new claim returned to the employee, which names the original claim, the approver, when and why, with each receipt copied byte for byte (the original receipt stays with the original claim's earlier revision). The employee fixes and submits the held claim like any claim; until then the approver who held it may release the hold, which freezes the held claim as it stands as its first revision and approves it, submitted by whoever submitted the original. Payment is the finance-recorded payment of COA-009 until PAY-001. No multi-step workflows, reminders, ageing reports, chat or email approval, or card charges exist yet, so each clause that adds one carries this obligation before it ships: APPROVE-001 (a hold on any step), FOLLOWUP-001 (held expenses chased), REPORT-002 (held expenses aged), APPROVE-003 (holds from every channel) and FEED-004 (card charges held). **Acceptance evidence:** Submit a five-expense claim; as the approver hold the dinner with "Add the attendee list" and approve the other four; see the four reach a batch and be paid (PAY-001) while the dinner sits in a new claim with the employee, with the reason and a link to the original; advance the clock and see FOLLOWUP-001 remind the employee; add the attendees and resubmit the held claim alone and see it approved and paid separately. The employee cannot hold or approve their own claim, a hold sent against an older revision is refused, and history on both claims shows the split with who and when.

- **APPROVE-006 — Comments and questions without a decision.** Anyone who can see an expense or claim (employee, approver, finance, auditor, delegate) can comment on it or ask a question of a named person without approving, returning or holding it; the named person is notified (NOTIFY-001), can answer in the app or from a Slack, Teams or email reply, and open questions show on the approver's queue and are chased by FOLLOWUP-001. Comments are part of the append-only history (AUDIT-001) and are never editable after another reply. Exact rules today: a comment is on the claim or on one of its expenses and never changes the claim's status or version; a question names one person who can open the claim (its employee, its approver, finance, an auditor or the owner), never the asker, and stays open until that person or their delegate replies in Coaster. The named person is emailed through the installation's mail provider, and the answer to the request says whether the provider accepted the message or mail is not set up; nothing claims a send that did not happen. Each claim row counts its open questions, the approver's queue included. The author may edit a comment until anyone replies, the earlier wording stays in the history line, and comments are never deleted; a delegate comments in the granting person's name, recorded as theirs on that person's behalf (ADMIN-005). Answers from chat or mail replies, notification preferences and chasing do not exist yet, so each clause that adds one carries this obligation before it ships: APPROVE-003 and CAPTURE-006 take answers from Slack and Teams replies, CAPTURE-002 from email replies, NOTIFY-001 delivers by each person's chosen channel, FOLLOWUP-001 chases open questions, and APPROVE-005 holds and FEED-004 card charges take comments the same way. **Acceptance evidence:** As an approver ask "Which client was this for?" on one expense of a pending claim; see the claim stay pending with the question marked open, the employee notified, the employee answer from a Slack reply, and the approver approve with the answer visible; try to edit the question after the reply and be refused.

- **APPROVE-007 — Retract a submitted claim and unapprove before payment.** An employee, or their delegate (ADMIN-005), can retract a submitted claim before any approver has decided it, for example to add a forgotten receipt. The claim returns to draft, the retraction is recorded on that revision, it leaves every pending approver's queue and their reminders stop, and resubmitting makes the next revision (COA-007). Once any step has approved, retraction is refused and the employee asks the approver to return it. The approver who approved, finance or an admin can unapprove an approved claim with a reason until it is in a reviewed batch, released for payment (PAY-004) or posted into a closed ledger period. The claim goes back to the step that approved it, or to the employee, as the person unapproving chooses; anything ACCT-001's at-approval trigger already posted to the ledger is voided or reversed there; and the history keeps the original approval and the unapproval with who, when and why. After a batch is reviewed or released, unapproval is refused and corrections follow ACCT-006. Exact rules today: with one approval step, "before any approver has decided" means the claim is still waiting for its approver; the retraction is a history line naming the revision it ends, and the claim leaves the approver's queue. "An admin" is ADMIN-001's admin role, which the owner also holds. "The approver who approved" is the person who recorded the approval or the approver it was recorded on behalf of (APPROVE-002, ADMIN-005). An approved claim can be unapproved while it is in no batch or in a draft batch not yet reviewed, and unapproving takes it out of that batch; once its batch is reviewed, unapproval is refused. Sent back to the approver, the same frozen expenses become the next revision for a fresh decision (COA-006); sent to the employee, the claim is returned for correction. PAY-004's release comes only after review, so a released claim is already refused. No ledger postings, card charges or ledger periods exist yet, so each clause that adds one carries this obligation before it ships: FOLLOWUP-001 stops a retracted claim's reminders, APPROVE-001 sends an unapproval back to the step that approved, ACCT-001, ACCT-002 and ACCT-003 void or reverse an at-approval posting on unapproval (card charges arrive with FEED-004), and ACCT-006 refuses it in a closed period. **Acceptance evidence:** Submit a claim and retract it before any decision; add a receipt, resubmit, and see revision 2 with the retraction recorded on revision 1 and the approver's pending reminder stopped; another employee's attempt to retract it is refused; retract a claim after its first step has approved and be refused. Approve a card-charge claim and see its purchase posted to the QuickBooks sandbox; unapprove it with a reason and see the claim back with the approver, the purchase voided in QuickBooks, and both events in history; try to unapprove a claim in a reviewed batch and be refused.

### Follow-up and automation

- **FOLLOWUP-001 — Reminders that chase people.** Coaster reminds employees about missing receipts, unsubmitted expenses, held expenses (APPROVE-005) and unanswered questions (APPROVE-006, AGENT-002), and approvers about pending decisions, on a schedule finance sets (for example after 2, 5 and 10 business days), through each person's chosen channels (NOTIFY-001), respecting their time zone, quiet hours and US federal holidays. Each reminder links straight to the one thing to do and stops the moment it is done. Obligations this clause carries from clauses that shipped before it: the held claim an APPROVE-005 hold creates is chased with its employee until they resubmit it or the hold is released; an open APPROVE-006 question is chased with the person it names until they or their delegate reply; and retracting a claim (APPROVE-007) stops its approver's pending reminders at once. Exact rules today: finance or the owner sets one to five rising whole numbers of business days (2, 5 and 10 by default) and the quiet hours (20:00 to 08:00 by default, in the business time zone). The open items are a receipt expense on a draft or returned claim with no receipt where one is needed (over the receipt threshold or in an always-receipt category), each draft or returned claim holding expenses, each held claim not yet resubmitted, each question not yet answered by the person it names or their delegate, and each submitted claim waiting for its approver (a new revision or a reassignment starts afresh). The hourly run notes each item the first time it sees it open; on a US business day (Monday to Friday except the observed federal holidays) outside quiet hours, an item whose business days since that day reach the next step is reminded once for that step (when several are due at once, only the latest), by email to the person who owes it with a link to its claim, and each reminder is a history line on the claim. An item stops being reminded the moment it is no longer open: a receipt attached, a claim submitted, a hold resubmitted or released, a question answered, a decision made or the claim retracted. Chosen channels and each person's own time zone and quiet hours do not exist yet, so NOTIFY-001 carries them before it ships, AGENT-002's questions are chased like APPROVE-006's when it ships, and FOLLOWUP-002 escalates an exhausted sequence. **Acceptance evidence:** With a clock-controlled installation, leave a receipt missing, a draft unsubmitted, a held expense unanswered and a claim unapproved; advance the clock and see reminders on the scheduled business days, none on a holiday or in quiet hours; resolve each and see its reminders stop. Hold one expense of a claim (APPROVE-005) and see the employee reminded about the held claim until they resubmit it; ask the employee a question (APPROVE-006) and see them reminded until they reply; submit a claim, let the approver's reminder go out, retract the claim (APPROVE-007) and see no further reminder to the approver.

- **FOLLOWUP-002 — Escalation with service levels.** When a reminder sequence is exhausted, the item escalates to the person's manager, then to finance, as finance configures; approval service levels (for example three business days) show on the queue and in reports (REPORT-002). Escalations are recorded on the item. Exact rules today: finance or the owner sets the approval service level (3 business days by default) and the escalation gap (2 business days by default; empty turns escalation off). Business days count as in FOLLOWUP-001, from the first hourly run that saw the item open. A claim waiting for its approver escalates on the first business day past the service level, any other open item once its last reminder step plus the gap has passed; each goes first to the owing person's approving manager, then after another gap to everyone in finance except that person, or straight to finance once when the person has no active manager; when finance has set an ADMIN-001 escalation chain for the owing person's department, or a default chain, that chain replaces this one and each step records the chain version. Each escalation is sent once by email with a link to the claim, on business days outside quiet hours, and is a history line on the claim naming the level, the recipients, who owed it and the business days; it stops when the item is done. The approvals queue shows each waiting claim's business days since submission and how many are past the service level, and REPORT-002's cycle-time report counts the decisions made more business days after submission than the service level allows. **Acceptance evidence:** Let an approval pass its three-day service level and see escalation to the approver's manager and then finance, each recorded; approve it and see escalation stop.

- **FOLLOWUP-003 — Missing-evidence chasing on card spend.** Card charges without a receipt, memo or required field are chased automatically from the day they post, with the option to freeze an issued card (CARD-001) after a configured number of days and unfreeze it when the evidence arrives. **Acceptance evidence:** Post a charge with no receipt, advance seven days and see three reminders and the card frozen; attach the receipt and see the card unfreeze and the chase close. Current native semantics: each existing posted card expense owes a receipt at every amount, a nonblank expense memo and the required fields of its allocated categories and active finance policy. The existing finance-configured business-day steps and business quiet hours apply, measured from the immutable posted date rather than scheduler discovery. Each due step has one durable mail-adapter identity and history entry, including missed steps on a late import. Completing evidence through native expense and receipt doors stops further chase mail. This slice performs no issuer operation.

- **NOTIFY-001 — Notification delivery and preferences.** Coaster sends notifications for submission, decision, return, payment, failure, reminder and escalation events by email (Base mail adapter with Postmark), Slack, Microsoft Teams, Nook and mobile push. Each person chooses channels per event type, digest or immediate; delivery attempts and provider acceptance are recorded per message, and a failed channel falls through to email. Obligation carried from FOLLOWUP-001: reminders go by each person's chosen channels and respect each person's own time zone and quiet hours (today they go by email in the business time zone and quiet hours). Obligation carried from ADMIN-001: connecting the Slack, Teams, Nook, push and mail delivery providers follows the role permission matrix's connect row (owner, admin, finance), and every other role is refused with 403 and no write; each person still chooses their own channels. COST-001 obligation: SMS delivery carries per-message and month-to-date USD metering and optional service caps. **Acceptance evidence:** Set one person to Slack-immediate and another to an email daily digest; generate events and see the Slack messages and one digest; make the Slack webhook fail and see the attempt recorded and the email fallback sent. Give one person Slack reminders, their own time zone three hours behind the business and quiet hours until 09:00, and see FOLLOWUP-001's reminder reach them in Slack at 09:00 their time.

- **AUTO-001 — Automatic reports and scheduled submission.** Expenses group into reports automatically (by period, trip or card statement) and submit on a schedule the owner sets (daily, weekly, twice monthly, monthly) when they are complete and compliant; incomplete items stay behind with their reminders. Exact rules today: an expense an employee adds without choosing a claim goes into their open automatic report for the approved spend request (trip, CLAIM-005) it is linked to, otherwise for its expense date's calendar month, and a report is opened when none is; claims built by hand are never grouped or submitted for anyone, and grouping by card statement joins with FEED-005. The owner sets the schedule or turns it off: daily is every US business day, weekly the first business day of each Monday-to-Sunday week, monthly the first business day of the month and twice monthly that and the first business day on or after the 16th, each at the first hourly run at or after 9:00 in the business time zone, once. Then each automatic draft report submits to the employee's approving manager, recorded as submitted by "schedule", with its complete expenses: an expense is incomplete while a policy exception on it is unexplained (a missing receipt included), a required field (CLAIM-007) is blank or it repeats another on the report, and complete otherwise (an explained exception goes to the approver as COA-004 sets out). Incomplete expenses move with their receipts to a new automatic report for the same month or trip, the move and each reason are recorded, and FOLLOWUP-001 keeps reminding about them; a report with nothing complete, or whose employee has no approving manager, waits. **Acceptance evidence:** Set weekly submission; add five compliant expenses and one missing a receipt; at the scheduled time see a report of five submitted and the sixth held with a reminder. See an expense linked to an approved trip collect in that trip's report, and a claim built by hand stay unsubmitted. Grouping by card statement is in FEED-005's acceptance.

### Reimbursement

- **PAY-001 — ACH reimbursement through a payment provider.** Finance releases an approved batch and Coaster pays each employee by ACH through Dwolla (or another provider adapter), from the company's verified funding account, choosing standard or same-day ACH. Each transfer is tracked through pending, processed, failed and returned states with the Nacha return code in plain words (for example R03 no account), failed amounts return to the employee's balance for repayment after correction, and employees see each state on their claim. COA-009's manual route remains for companies that pay elsewhere. Obligation carried from APPROVE-005: both parts of a hold split are paid this way, the approved part in the batch it reaches and the held claim on its own once it is resubmitted and approved or its hold is released. Obligation carried from AGENT-003: before provider reimbursements ship, policy-change previews show effects on pending, settled, failed and returned reimbursements without changing any transfer or historical decision. Obligation carried from AUDIT-001: each payment send, return and resend appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from CLAIM-004: an approved cash advance is paid to the employee by ACH the same way, only on a PAY-004-style release (grant, recent sign-in, never by its own employee), and its provider reference and settlement mark the advance paid in place of finance's recorded payment. Obligation carried from PAY-004: transfers go only on a PAY-004 release (grant, dual release, recent sign-in, no own claim), each release records the provider reference, and after release the batch total and the provider's transfer totals reconcile to the cent. Obligation carried from ADMIN-001: connecting the payment funding account is the owner's alone (the role permission matrix's funding row), and every other role is refused with 403 and no write, admin and finance included. COST-001 obligation: show USD per-transfer and month-to-date provider costs before and after enabling the optional payment service, and pause that service at an owner cap without stopping claims. Before this capability ships, it inherits PAY-003’s inactive provider restore and current-authority checks at each physical provider request. Restored records confer no connection or execution authority. Prove refusal without current native authority and an explicitly reauthorized connection, while retaining this clause’s own role rules and credential exclusions. Before ACH transfers ship, PAY-001 must enforce PAY-002’s saved bank-change hold at each physical transfer request; a hold cannot prevent observation and reconciliation of an already submitted transfer. **Acceptance evidence:** In the Dwolla sandbox, verify a funding account and two employees, release a batch, see the provider reference on the release and the transfer totals equal to the batch to the cent (PAY-004), see both transfers settle and the claims marked paid; simulate an R03 return and see the failure, the plain-words reason, the employee notified and the amount back in their balance; retry after correction and see it settle once. Hold one expense of a five-expense claim (APPROVE-005), release a batch holding the other four and see them settle by ACH, then approve the resubmitted held claim and see it paid by ACH in a later batch. Replay a policy change against pending, settled, failed and returned sandbox reimbursements and assert exact effects while every provider transfer and earlier decision stays unchanged (AGENT-003). Release an approved $1,000 cash advance and see it settle by ACH and the advance marked paid with the provider reference (CLAIM-004).

- **PAY-002 — Employee bank details and change protection.** Employees add their bank account through the provider's verification flow (instant account verification or micro-deposits); Coaster stores only the provider's token and the last four digits. A change of bank details notifies the employee at their previous contact, holds payments for a cooling-off period finance sets, and requires a fresh sign-in. Obligation carried from ERASURE-001: erasing a member removes their bank token and last four in the same erasure. Obligation carried from AUDIT-001: each bank detail change and hold appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: employees' bank details (verification status and last four only) are read by the owner and finance and by each employee for their own (the role permission matrix's bank-details row), and an admin, a card admin, an approver, an auditor and a bookkeeper are refused with 403. Before this capability ships, it inherits PAY-003’s inactive provider restore and current-authority checks at each physical provider request. Restored records confer no connection or execution authority. Prove refusal without current native authority and an explicitly reauthorized connection, while retaining this clause’s own role rules and credential exclusions. **PAY-002 default adopted pending ct, 27 October 2026.** A personal owner explicitly connects only Plaid sandbox and Stripe test-mode verification credentials in their own recent native session. Only the employee in their own recent native session adds or changes their account; no delegate, agent or public credential acquires bank authority. Provider requests recheck current native authority and the original connected credentials. Finance or the owner sets a one-to-thirty-day cooling-off period, initially two days; a saved change keeps its saved deadline, and replacing the account again cannot shorten an outstanding hold. Replacing an account discards its old token, notifies the address on record before replacement and holds all new batch release, recorded payment and payroll handoff until the hourly run records release after that deadline. A notice records mail-provider acceptance or failure, never mailbox delivery; the hold persists on failure. Coaster collects no bank credentials or account numbers. Provider tokens are installation-sealed; archives contain sealed tokens, last four and historical state but exclude provider connection credentials, confer no provider authority and require explicit reauthorization. No transfer or disbursement is performed. Production verification, actual mailbox delivery and ACH settlement are not established by this sandbox slice. **Acceptance evidence:** Add an account by instant verification and another by micro-deposits; read the database and archive and find only tokens and last four; change the account and see the notice to the old address, the payment hold and its release after the period; erase a departed employee and find their bank token gone from the database and the next archive (ERASURE-001).

- **PAY-003 — Payroll reimbursement route.** As an alternative to ACH, approved reimbursements go to the next payroll run in Gusto, ADP RUN, Paychex Flex or Rippling as non-taxable reimbursement lines (and non-accountable amounts as taxable wages, CLAIM-008), confirmed back from the payroll provider. Obligation carried from AUDIT-001: each payroll handoff appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from CLAIM-008: each person's `taxable_amount` (expenses finance marked non-accountable and CLAIM-009 stipends set as taxable pay) goes to payroll as taxable wages and the rest as non-taxable reimbursement. Exact native semantic (sx-coaster-c-i820, 26 Oct; implementation semantic ratified by the CT ruling below): only the owner in their own native session explicitly connects a Gusto Demo company, maps its active employees and authorizes a reviewed, released USD batch after a sign-in within ten minutes; their own claims are refused. Existing batch review, dual release and once-only reimbursement keys remain required. Each person’s actual taxable amount is added to the provider’s taxable Bonus earning and the rest to a separate reimbursement line on the next unprocessed regular run, preserving existing amounts. The adapter never submits payroll. A durable reservation precedes every amount update; a lost response can only be read back, never automatically resent, and a handoff refuses manual payment override. Claims remain batched until the original run is processed and its employee financial fingerprints and receipt reimbursements match; this records provider run confirmation, not bank settlement. Every connection, mapping, preparation, handoff and confirmation appends numbered history. Tokens are installation-sealed and excluded from archives, employee mappings are excluded, unrelated salary amounts are not retained, and pending financial evidence restores without sending authority. Reconnection to the same company is explicit; erasure replaces identity on retained handoff lines and retention removes them only with their expired batch. PAY-001 and PAY-002 retain their own role rules and inherit inactive provider restore and current-authority checks at each physical request when their doors ship. **CT ruling, 26 October 2026 — APPROVE WITH RIDERS; PAY-003 remains PARTIAL.** The approved current default is a personal owner acting in their own native session, explicit consent to the named Gusto Demo company and exact batch, and reviewed and fully released USD batches sent to the next eligible unprocessed regular payroll. Recent sign-in, independent release controls, own-claim refusal and once-only reimbursement remain required. Taxable non-accountable expenses and taxable stipends retain their actual amounts as provider wages; remaining amounts retain separate reimbursement treatment without replacing existing payroll amounts. Coaster neither submits payroll nor automatically resends an uncertain amount update. Paid means confirmation of the original processed provider run with matching financial evidence and receipt, and does not claim bank settlement. Credentials remain installation-sealed and excluded from archives; restored financial evidence grants no provider authority. This approves the conservative default, preserves the complete production reimbursement route and all named provider targets, and grants no completion. **Acceptance evidence:** With the Gusto developer sandbox, send a batch to payroll and see reimbursement lines on the next run and the claims marked paid when the run is confirmed; a non-accountable amount and a CLAIM-009 taxable stipend appear as taxable (CLAIM-008).

- **PAY-004 — Payment controls and schedules.** Finance sets a reimbursement schedule (for example every Friday), dual release above an amount, step-up sign-in for release, and who may release; each release is recorded with who, when and the provider reference, and the batch total, provider totals and ledger clearing reconcile to the cent. Building on COA-009's reviewer rule, nobody releases a batch containing their own claim. Obligation carried from AUDIT-001: each schedule change, release grant and release appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Exact rules today: the owner alone sets the payment controls and gives the release grant (owner-only security controls under ADMIN-001), to finance members only, and the owner may always release. Release comes after review (COA-009) and before the payment is recorded: a released batch is the one finance pays. Dual release applies to a batch whose total is over the owner's amount (not at it): the first release is recorded and the batch waits for a second release by a different person. Nobody with a claim in the batch releases it, agents never release, and a delegate (ADMIN-005) cannot release for anyone. Step-up is a recent sign-in: the releaser's Coaster session must have been signed in within the last 10 minutes (Base sessions are never extended, so the session's start is the sign-in time), otherwise the release is refused with "Sign in again to release"; no second factor exists, so it is labelled a recent sign-in, never MFA. The schedule is one weekday the owner picks: at the first hourly run at or after 9:00 business time that day, once, every approved claim not yet in a batch (oldest first, at most 200, skipping any whose exact expense is already reimbursed) goes into one draft batch written as "pay schedule"; the schedule never reviews or releases. Each release line records who, when and the sign-in it relied on. Coaster moves no money today, so the provider reference is the payment reference finance records after paying (COA-009), and the reconciliation is the batch total against the reimbursements file (payment) and the accounting file (ledger), to the cent. Provider transfers and ledger clearing do not exist yet, so each clause that adds one carries this obligation before it ships: PAY-001 records the provider reference on each release and reconciles the batch to the provider's transfer totals, and ACCT-001 and ACCT-002 reconcile the batch to the ledger's bill payments. **Acceptance evidence:** Set dual release over $5,000 and a Friday schedule; see a $7,200 batch wait for a second releaser, a releaser with their own claim refused, and after release batch, provider and ledger totals agree. Today: as the owner set dual release over $5,000 and a Friday schedule (refused for finance), give two finance members release access (refused for a non-finance person), see the Friday 9:00 run open one draft $7,200 batch (none on Thursday or before 9:00, none twice), see a finance member without the grant, a releaser with their own claim and a sign-in older than 10 minutes refused with no history written, the first release wait for a second, different releaser and payment refused until released, and after release the batch, reimbursements file and accounting file agree to the cent; each payment-control change, release grant, scheduled batch and release reads back in order in AUDIT-001's history, refused for edit, and identical after restore.

- **PAY-005 — Reimbursing employees outside the US.** Employees of non-US entities (ADMIN-004) or US-entity employees with foreign bank accounts are reimbursed in their local currency through an international payout provider adapter (Wise Business API by default; Canadian employees by EFT in CAD): finance releases them in the same batch flow under PAY-004 controls, the FX rate, fee and provider reference are recorded on each payment, and settlement and failure are tracked to the claim as for PAY-001. **Acceptance evidence:** In the provider's sandbox, add a Canadian entity employee's CAD account and a UK employee's GBP account; release a batch holding them and a US employee; see the US transfer go by ACH (PAY-001) and the CAD and GBP payouts by the international provider with rate, fee and reference recorded; fail one payout and see the claim reopened for payment with the reason.

### Accounting

- **ACCT-001 — QuickBooks Online two-way sync.** Coaster connects to QuickBooks Online by OAuth, pulls accounts, classes, locations, departments, customers, vendors and employees, and posts card expenses as purchases on the card account, reimbursable expenses as bills to the employee as vendor (or journal entries, as configured), payments as bill payments from the funding account, and every receipt as an attachment. Sync runs on its own, with nobody pressing a button. **Posting triggers** are set per record type: card and other non-reimbursable charges post as purchases at final approval; reimbursable expenses post as bills at final approval or, as finance configures, at payment (PAY-001 release or PAY-003 payroll confirmation); a bill payment posts when its ACH transfer is released or, as configured, when it settles, and is reversed if the transfer is returned (PAY-001). A posting job runs on every trigger event and at least every 15 minutes to retry anything outstanding. A **scheduled dimension refresh** pulls accounts, classes, locations, departments, customers, vendors and employees daily at a time finance sets; a manual "sync now" stays available to finance and the bookkeeper (ADMIN-001). **Employee vendors:** an employee with no vendor link is matched to an existing QuickBooks vendor by email, then exact name; when none exists and auto-create is on (the default), the vendor is created on first posting and linked to the person, and with auto-create off the posting waits in the ACCT-006 queue with a one-step "create vendor" fix. **Payment status comes back:** with "sync reimbursed bills" on (the default), each run reads payments recorded in QuickBooks against Coaster's bills. A bill fully paid in QuickBooks marks its claim reimbursed with the QuickBooks payment reference, date and paying account, removes it from any draft batch, and refuses it from any later batch or ACH release; a partial payment leaves the remainder owed. A payment made in Coaster marks the QuickBooks bill paid. Each record carries Coaster's ID, so re-sync updates instead of duplicating, and changes in QuickBooks (a deleted or edited entry, a deleted bill payment) are detected and shown. **Unapproval** (carried from APPROVE-007): when an approved claim is unapproved, whatever its final approval posted (a purchase or a bill) is voided or reversed in QuickBooks on the next posting run, and the void is a history line on the claim. Obligation carried from AUDIT-001: each connection, posting, refresh and payment-status sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from PAY-004: after a release, the bill payments that clear the batch in QuickBooks total the batch to the cent. Obligation carried from ADMIN-001: connecting QuickBooks Online follows the role permission matrix's connect row (owner, admin, finance) and a manual sync or mapping fix its sync row (owner, finance, bookkeeper); every other role is refused with 403 and no write. **Acceptance evidence:** On a clock-controlled installation against a QuickBooks sandbox company, with nobody pressing sync: (1) final-approve a card-charge claim and see the purchase on the card account, with its receipt attached, after the next posting run; (2) with the reimbursable trigger at final approval, final-approve a claim and see its bill posted; switch the trigger to at payment, approve another and see no bill until its ACH batch is released, then see the bill and bill payment posted together with totals equal to the batch; (3) post for an employee with no QuickBooks vendor and see the vendor created once and reused on their next claim, and with auto-create off see the posting queued with the create-vendor fix; (4) mark one Coaster bill paid inside QuickBooks and, after the next run, see that claim marked reimbursed with the QuickBooks payment reference, gone from the draft batch, and refused from a later batch and from an ACH release; (5) add an account and a class in QuickBooks and see both offered as choices after the next scheduled daily refresh; (6) re-run sync and see no duplicates; delete one bill in QuickBooks and see the discrepancy flagged; return an ACH transfer (PAY-001) and see its bill payment reversed. (7) Final-approve a card-charge claim and see its purchase posted; unapprove it with a reason (APPROVE-007) and see the claim back with the approver, the purchase voided in QuickBooks after the next posting run, and both the unapproval and the void in history.

- **ACCT-002 — Xero two-way sync.** The same for Xero, with ACCT-001's posting triggers, posting job, daily dimension refresh, employee contact matching and creation, payment status coming back, and its void or reversal on unapproval (APPROVE-007). Tracking categories, accounts and contacts are pulled on the daily refresh. Card spend posts as spend-money transactions on the card account at final approval; reimbursable expenses post as bills to the employee contact at final approval or at payment, as configured; payments are recorded on release or settlement; receipts are attached; every record is idempotent by Coaster ID, and after a PAY-004 release the payments that clear the batch in Xero total the batch to the cent. A bill paid in Xero (a payment recorded against it, including through a Xero batch payment) marks the Coaster claim reimbursed with the Xero payment reference and keeps it out of any later batch or ACH release. Obligation carried from AUDIT-001: each connection, posting, refresh and payment-status sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting Xero follows the role permission matrix's connect row (owner, admin, finance) and a manual sync or mapping fix its sync row (owner, finance, bookkeeper); every other role is refused with 403 and no write. **Acceptance evidence:** Against a Xero demo company on a clock-controlled installation, with nobody pressing sync, repeat ACCT-001's journey: a final-approved card claim appears as a spend-money transaction after the next run; a reimbursable claim on the at-payment trigger posts its bill and payment when its ACH batch is released, with totals equal to the batch to the cent (PAY-004); an employee with no contact gets one created once; a bill paid in Xero marks its claim reimbursed with the Xero reference and is refused from a later batch and ACH release; a tracking option added in Xero appears after the next daily refresh; re-sync makes no duplicates; a posted card claim unapproved with a reason (APPROVE-007) has its spend-money transaction voided after the next run.

- **ACCT-003 — Pantry sync.** For buyers on Pantry, Coaster posts the same records through Pantry's API with ACCT-001's posting triggers, posting job, vendor handling, payment status coming back, and void or reversal on unapproval (APPROVE-007). It receives Pantry's chart, dimensions, vendors and period locks on the daily refresh, and at once through Pantry's change webhooks where Pantry sends them, so Pantry's ledger and bank reconciliation see Coaster's clearing entries without manual matching. A bill Pantry records as paid marks the Coaster claim reimbursed with Pantry's payment reference and keeps it out of later batches and ACH releases. Obligation carried from AUDIT-001: each connection, posting, refresh and payment-status sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting Pantry follows the role permission matrix's connect row (owner, admin, finance) and a manual sync or mapping fix its sync row (owner, finance, bookkeeper); every other role is refused with 403 and no write. **Acceptance evidence:** With a Pantry test installation and a clock-controlled Coaster, with nobody pressing sync: final-approve a card claim and see the expense in Pantry after the next run; release an ACH batch on the at-payment trigger and see bills, payments and attachments posted with totals equal to the batch, and Pantry's bank-feed line for the ACH debit reconcile against Coaster's clearing entry; mark one bill paid in Pantry and see the claim marked reimbursed with Pantry's reference and refused from a later batch and ACH release; add an account in Pantry and see it in Coaster after the next refresh; unapprove a posted card claim with a reason (APPROVE-007) and see its Pantry expense reversed after the next run.

- **ACCT-004 — NetSuite and Sage Intacct.** For larger buyers, Coaster posts expense reports, vendor bills and card transactions to NetSuite and Sage Intacct with subsidiaries, departments, classes, locations and projects, idempotent by Coaster ID, with ACCT-001's posting triggers, daily dimension refresh, employee vendor handling and payment status coming back. Obligation carried from AUDIT-001: each connection and sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting NetSuite or Sage Intacct follows the role permission matrix's connect row (owner, admin, finance) and a manual sync or mapping fix its sync row (owner, finance, bookkeeper); every other role is refused with 403 and no write. **Acceptance evidence:** Against vendor sandboxes with nobody pressing sync, final-approve claims in two entities and see records in each subsidiary with dimensions and attachments after the next run; mark one vendor bill paid in NetSuite and one in Sage Intacct and see both claims marked reimbursed with the ledger's reference and refused from a later batch.

- **ACCT-005 — Exports alongside live sync.** Every batch, period and report exports as CSV and XLSX with configurable column templates (including QuickBooks Desktop IIF), so companies on any ledger can import, and exports name the receipts by hash and link. Exact rules today: the files are a batch's accounting lines (one per category split, plus a sales tax line) and its per-employee reimbursements, for one reviewed batch or for every batch reviewed in a period (from and to dates inclusive, in the business time zone); finance and auditors download them, and each download is a history line. CSV amounts are decimal currency units and XLSX amounts are numbers. The default template carries every field; finance or the owner saves named templates that choose the fields, their order and their headers for CSV and XLSX. IIF carries the accounting lines as one QuickBooks Desktop bill per claim to the employee as vendor, crediting "Accounts Payable" and debiting each line's account code (its category name when it has none), dated the day the batch was reviewed, and every bill balances to zero. Each line names its receipt by SHA-256 and by a link that opens it for a signed-in person who can see the claim. Reports have no exports until REPORT-002 ships them in the same formats and templates. **Acceptance evidence:** Export a batch with the default and a custom template and as IIF; import the IIF into a fixture validator and see totals match the batch.

- **ACCT-006 — Posting integrity and close.** Sync errors (an archived account, a missing class) go to a queue with the record, the ledger's message and a one-step fix, and retry only what failed. A closed ledger period locks posted expenses in Coaster; a later correction posts a dated reversal and a new entry rather than editing the closed one. Obligation carried from AUDIT-001: each sync error, retry, period-lock refusal and reversal appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: fixing a sync error or mapping follows the role permission matrix's sync row (owner, finance, bookkeeper), and editing coding on a submitted or approved expense, including a correction that posts a reversal, its coding row (owner, finance, bookkeeper, and the routed approver before deciding); every other role is refused with 403 and no write. Exact semantic of the native account correction door: on submitted or approved, unbatched manual reimbursable purchases with no existing ledger posting, the coding matrix permits an expense-specific account-code overlay with a required reason. The routed approver may act only before their decision; current native authority, exact claim version, submitted revision, correction sequence, batch absence and posting absence are fenced before and after the atomic write. Full delegates retain their grantor's row and actual attribution; agent keys gain no authority. Numbered append-only corrections retain before and after codes for the exact submitted allocation without modifying snapshot bytes, decisions, categories, dimensions, split amounts, tax, receipts, routing, totals or reimbursement identity. Native claim readback shows submitted and effective codes; batch creation freezes the selected sequence and accounting CSV and XLSX use it with unchanged reconciled totals. Restore validates the chain and frozen selection before writes. This native slice does not qualify sandbox posting or closed-period corrections. ACCT-008 retains the newer coding-eligibility and per-expense posting requirements, including capped expenses and expenses of every kind; this native slice does not establish those requirements. **Acceptance evidence:** Archive an account in the sandbox and see the failing records queued with the message; map a new account and retry only those; close March and correct a March expense in April, then see a reversal and new entry dated April.

- **ACCT-007 — QuickBooks Desktop connection.** For companies still on QuickBooks Desktop (Pro, Premier or Enterprise), Coaster connects through Intuit's QuickBooks Web Connector: the owner installs the generated connector file, and on each scheduled run Coaster pulls accounts, classes, customers, vendors and employees and posts card charges, reimbursable bills, bill payments and journal entries with the same idempotency and error queue as ACCT-001 and ACCT-006. IIF export (ACCT-005) remains available. Obligation carried from AUDIT-001: each connector setup and sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting QuickBooks Desktop follows the role permission matrix's connect row (owner, admin, finance) and a manual sync or mapping fix its sync row (owner, finance, bookkeeper); every other role is refused with 403 and no write. **Acceptance evidence:** Against a QuickBooks Desktop test company (or a Web Connector qbXML fixture at the network edge), run the connector and see accounts and classes pulled; sync a batch and see the bill and card-charge requests with totals equal to the batch; re-run and see no duplicate; make one request fail and see it queued with the QuickBooks message and retried alone.

- **ACCT-008 — A coding correction is refused only for the expense's own closed posting.** Obligation carried from ACCT-006: finance, the owner or the bookkeeper, following ADMIN-001's coding row, and the routed approver before deciding can correct the coding of a submitted or approved expense of any kind, including a capped manual receipt. An accepted correction appends a history line. A cap, removal from a draft or reviewed batch, or another bill's retained coding selections from a former batch never counts as that expense's closed posting. Only the expense's own entry in a closed ledger period refuses an in-place correction with 409; the later correction follows ACCT-006's dated reversal and new-entry path. Every other role is refused with 403 and no write. **Acceptance evidence:** Through the public coding-correction door: (1) as finance, the owner, the bookkeeper and the routed approver before deciding, correct submitted and approved expenses of every kind, including a manual receipt with a cap; see each accepted with a history line and no cap-based 409; (2) remove a purchase from a reviewed batch and another from a draft batch, correct each before its own former batch posts, and see both accepted; (3) remove another bill's batch while retaining its coding selections, then correct an unrelated queued bill and see it accepted because the posting-exists check counts only that expense's own posting; (4) compare an expense with no posting, one with its own open-period posting and one with its own closed-period entry: only the last refuses the in-place correction with 409, then its ACCT-006 correction posts a dated reversal and a new entry without editing the closed entry; (5) as every other role attempt the same corrections and see 403 with no write; (6) in one public-door journey correct a capped manual receipt and an unrelated queued bill after another bill's batch was removed, see both accepted, then see a closed-period expense refused and complete ACCT-006's reversal path.

### Reporting and API

- **REPORT-001 — Spend analytics.** Finance and managers (within their scope) see spend by employee, department, category, merchant, project, card and period with drill-down to the expense and receipt, budget versus actual for every budget set under REPORT-004, and saved views. Exact rules today: spend is every expense on the current revision of each submitted, approved, batched or reimbursed claim whose expense date falls in the period (both ends inclusive), one line per category split plus its sales tax as its own line, so every grouping adds up to the same total, with approved (approved, batched or reimbursed) and pending (submitted) shown apart. The owner, admins, finance, auditors and bookkeepers (ADMIN-001's read-all row) see everyone's spend; a manager sees everyone below them in the manager hierarchy, however many levels, and every member of a department they head, drill-down included; nobody else sees spend. Groupings are employee, department (ADMIN-001), category, merchant (ignoring case), cost centre, card (FEED-004) and month of the expense date; a group drills to its lines, each opening its receipt. A saved view is one person's own named grouping and period. Every REPORT-004 budget shows its budget, actual and remaining for the period holding the last day shown. Projects do not exist yet, so CODE-001 adds that grouping here before it ships. **Acceptance evidence:** Load six months of fixture spend; group it by employee, category, merchant, cost centre and month and drill from a category to a receipt; a manager sees only their reports' spend; save a view and reopen it. Grouping by department is in ADMIN-001's acceptance, by project in CODE-001's, by card in FEED-004's, and budget against actual in REPORT-004's.

- **REPORT-002 — Operational and compliance reports.** Reimbursement aging, approval cycle time per approver, receipt compliance rate, unsubmitted card spend for month-end accruals, policy exception trends and feed coverage, each exportable and deliverable by scheduled email. Exact rules today: the owner, finance and auditors run each report for a period of calendar dates in the business time zone, both ends inclusive (by default the first of this month to today), on screen or as a CSV ending in a totals row. Reimbursement aging lists every approved claim not yet reimbursed (approved or in a batch) aged in whole days from its approval to today, and every held claim (APPROVE-005) its employee has not resubmitted aged from its hold, in 0–7, 8–14, 15–30 and over-30-day buckets. Approval cycle time takes each decision made in the period, from its revision's submission to the decision, per person (or approval rule, APPROVE-004) who decided: decisions, approved, returned and rejected, average, median and longest hours, and how many were decided past the approval service level (FOLLOWUP-002). Receipt compliance counts the receipt expenses on each claim's highest revision submitted in the period and the share carrying their receipt, with missing-receipt exceptions, per employee. Unsubmitted spend for accruals lists the expenses dated on or before the period's last day on draft or returned claims (held claims included), per employee. Exception trends count the exceptions on each claim's highest revision submitted in the period by the month it was submitted and exception, with the expenses' amounts. Hours and percentages show to one decimal, halves rounded up. Finance or the owner schedules a report for named finance members, auditors or the owner, on the last US business day of each month (that month to date) or the first (the month before); a business day is Monday to Friday except the US federal holidays as observed, and the hourly run sends from 08:00 business time, once per schedule and period, to the recipients who can still read reports, recording what the mail provider answered in the history. The email carries the report's name, period and a link that needs a Coaster sign-in; only the owner may opt a schedule in to attaching the figures as CSV (DATA-001's mail flow declares both). Card charges and feeds do not exist yet, so FEED-004 adds unsubmitted card spend to the accrual report and FEED-003 adds the feed-coverage report before they ship. **Acceptance evidence:** Run each report on fixture data and check its totals against the underlying records; schedule the accrual report for the last business day and see it delivered.

- **REPORT-003 — Searchable audit history and auditor access.** Every expense, claim, card charge, batch, payment and sync has a searchable history (who, what, when, from which channel or agent). Search and audit packs cover every history line that exists. Search reads all events generically, so card-charge and ledger-sync lines join when CARD-*/FEED-*/ACCT-* write them; those clauses retain the standing obligation to write their history, and AUDIT-001 stays partial for exactly those writes. Payment means the finance-recorded payment and its reference (COA-009) until PAY-001. An auditor role reads everything and changes nothing, and finance can export an audit pack for a period with receipts, decisions, exceptions and payment references. **Acceptance evidence:** Search history for one claim across capture, approval, payment and sync; sign in as an auditor and see writes refused; export a quarter's audit pack and verify receipt hashes against stored bytes. For today's claim, search and export every existing capture, approval and finance-recorded payment/reference line (COA-009). When CARD-*/FEED-*/ACCT-* write card-charge and ledger-sync history, prove those lines join the same generic search and audit pack; this is their standing obligation and AUDIT-001 remains partial for exactly those writes.

- **REPORT-004 — Budgets with threshold alerts.** Owners, admins and finance set budgets by category, department, project, tag or the whole entity, monthly, quarterly or yearly, either shared or per member (for example $200 a month of meals per person), each with an owner and one or more alert thresholds (for example 80% and 100%). Actual spend counts card charges from posting and out-of-pocket expenses from submission, with approved and pending shown separately; a threshold crossing notifies the budget owner and finance once per period through NOTIFY-001, and an optional policy rule marks an expense that would exceed its budget as a soft exception for the approver (POLICY-001). Budgets are versioned, import from CSV and appear in REPORT-001 and the AGENT-007 spend answers. Exact rules today: the owner, an admin or finance (ADMIN-001's policy row) sets a budget on the whole business, one category, one cost centre or one department (ADMIN-001, optionally narrowed to one category), monthly, quarterly or yearly, shared or per person, with an owner who is an active member, one to four rising alert percentages (80 and 100 by default) and an optional policy rule; each save is the budget's next version and earlier versions stay, and budgets import from a CSV (name, scope, scopeKey, period, amount, owner, thresholds, perMember, policyRule, alertAmounts) where every row must be valid or none is saved. Actual is the spend REPORT-001 counts, by expense date within the calendar period (business time zone), approved and pending apart, per person for a per-person budget. The hourly run alerts the budget's owner and everyone in finance by email once per budget, period, person and threshold reached (only the highest when several are reached at once), naming the budget, person, percentage and period with a link; the actual and the budget amount appear in it only when the owner (never finance) opts that budget in. With the policy rule on, an expense whose spend would take the budget past its amount for its period, counting every other submitted claim and the claim's earlier expenses, is an over-budget soft exception (explained, acknowledged, risk 2 in POLICY-003's queue). Finance, auditors, the owner and each budget's owner read budgets; REPORT-001 shows budget against actual for the period holding its last day. Projects and tags (CODE-001) and card charges counted from posting (FEED-004) join before they ship, and AGENT-007 answers from budgets when it ships. **Acceptance evidence:** Set a $5,000 monthly Travel budget owned by the Sales head with 80% and 100% alerts and its policy rule on, and a $200 monthly per-member meals budget; post $4,100 of travel and see exactly one 80% alert to the Sales head and finance and the report show $5,000 budget, $4,100 actual (82%) split into approved and pending; post past $5,000 and see the 100% alert and the over-budget soft exception on the next claim; exceed one member's meals budget and see only that member flagged; advance to next month and see actuals reset with no repeat alert; see the budget, actual and remaining beside REPORT-001's spend; see no amounts in those alerts, and amounts only in the alerts of a budget the owner opted in (finance cannot); save a new version and import budgets from CSV. A budget for the Sales department is in ADMIN-001's acceptance.

- **REPORT-005 — Claim PDF with receipts.** Anyone who can see a claim can download it as one PDF: a summary page (employee, period, totals by category, approval chain with who and when, payment reference), one line per expense with coding, exceptions and explanations, comments, and every receipt image or PDF page in expense order, each stamped with its expense and receipt hash; finance can download a batch of claims as one file, and billable expenses can be filtered to one customer for rebilling (CLAIM-006). Exact rules today: customer filtering trims the query and matches the expense’s trimmed native customer field exactly, including case and includes only expenses explicitly marked billable; a billable expense requires a named customer. Submitted and paid PDFs use frozen revision coding, amounts and receipt identities; drafts use current saved data. The PDF includes receipt originals as attachments as well as their rendered pages; unreadable or encrypted originals cause an explicit refusal. HEIC rendering has an explicit 24-megapixel safety limit: a larger image refuses with 422 and its original remains downloadable. PDFs are prepared locally on demand, never sent externally. **Acceptance evidence:** Download a paid three-expense claim with a JPEG, a HEIC and a two-page PDF receipt; see the summary totals equal the claim, the approval chain and payment reference, every receipt page present in order with its hash matching the stored bytes; download the customer-filtered PDF and see only that customer's billable expenses; a user who cannot see the claim is refused.

- **API-001 — Public API and webhooks.** A documented REST API with scoped API keys and OAuth covers expenses, receipts, claims, cards, batches, payments, people and reports, and signed webhooks announce state changes, so Crank and the buyer's own systems can automate around Coaster under the same role rules as the screens. Exact semantic of the current doors (sx-coaster-c37, 22 Oct; conservative security default awaiting ct): the owner alone explicitly mints or revokes a credential or OAuth client with their own native session, bound to that owner, explicit resource scopes and a 1–90 day expiry; the secret is shown once and stored as SHA-256. Public API credentials are a distinct audience from native sessions and agent keys, never delegate, and never submit, approve, release, pay, mint credentials or change security settings. They list the named current resources and prepare only their own draft claims, expenses and receipts through the same current role and record checks, guarded again at commit. OAuth authorization codes use an exact registered redirect, explicit owner consent and S256 PKCE, are short-lived and consumed once; public credentials are permanently invalid after access-snapshot changes and immediately refused on expiry or revocation. Webhooks require separate audited owner consent to selected event types and one exact HTTPS global IPv4 literal destination (hostnames await trusted DNS-pinned egress); no redirect or private destination is followed. Their sealed signing secret signs timestamp plus exact JSON bytes with HMAC-SHA256; payloads contain event id, type and time and resource kind, id and status only. A durable history-derived outbox retries failed deliveries with a stable event id, no response body retained, and revocation stops further attempts. Approval and the existing native recording of an external batch settlement produce the two acceptance events; PAY-001 and PAY-003 inherit provider-originated settlement when those doors ship. Archives exclude all API, OAuth and webhook credentials and pending deliveries, so restore cannot revive access or outbound effects. Exact semantic of the frozen report read door (sx-coaster-c-i798, 26 Oct; conservative default awaiting ct): explicit `claim-reports:read` grants only `GET /api/coaster/public-api/v1/claims/:id/final-report` to the same owner-minted, self-bound, expiring credentials. It requires current native visibility, current approved, batched or reimbursed status and final approval evidence; optional `revision` pins that current approved revision and refuses a superseded one. It projects the exact stored submitted revision with its digest, per-expense frozen coding, referenced receipt ids and hashes, frozen policy review and receipt signals, every decision with approver, authority role, time, reason and revision, and only that claim’s batch and externally recorded payment reference when present. Internal coding context, private notes and inbox evidence, unattached originals and receipt bytes are excluded; no new principal, write or outbound action exists. Later edits never recompute frozen evidence; unapproval removes availability until a new revision is approved. PURSE INTAKE-006 is the automatic-fetch consumer; receipt bytes still require `receipts:read`, and provider settlement remains inherited by PAY-001 and PAY-003. **Acceptance evidence:** Create a scoped key, list and create expenses, be refused outside the scope, subscribe a webhook and verify its signature on a claim approval and a payment settlement.

### Administration

- **ADMIN-001 — People, roles, departments and the permission matrix.** Roles are owner, admin, finance, card admin, approver, employee, auditor (REPORT-003) and external bookkeeper, combinable per person (a person's powers are the union of their roles); people belong to departments with a manager hierarchy. Each role's powers are exactly the row in the role permission matrix below, enforced in every API handler (COA-008), agent route and chat or email action, not only in screens; every action outside a role's row is refused with no write. Separation holds across combined roles: nobody approves their own expense (COA-006), and release still follows PAY-004. Deactivation hands open approvals and unsubmitted card charges to a named successor before access ends. Obligation carried from REPORT-001: spend groups by department, and a manager's spend scope follows the department hierarchy. Obligation carried from REPORT-004: budgets can cover a department. Obligation carried from FOLLOWUP-002: finance configures escalation chains by role and department (for example the department head, then a named finance approver) in place of the fixed approving-manager-then-finance chain. Obligation carried from CLAIM-009: finance sets an allowance for a department. Obligation carried from CAPTURE-004 (scope-review 67): the successor handoff of unsubmitted card charges first detaches any private inbox original attached to them, recorded on the departing person's private lifecycle; the original stays in that person's inbox and the successor never sees it. Exact semantic (sx-coaster-c36, 22 Oct): the approver role is stored and sent as `manager`, the admin, card admin and bookkeeper roles as `admin`, `cardAdmin` and `bookkeeper`, and a person's powers are the union of their roles; every role that submits its own expenses (owner, admin, finance, card admin, approver, employee) can do so, an auditor and a bookkeeper cannot, and the owner holds every row but approving, which is only for whoever a workflow step names. The matrix lives in `src/coaster/permissions.ts`, and the doors that exist today map to it as follows: business settings, categories, mileage rates, scheduled submission, departments, approval workflows, the approval rule (APPROVE-004) and reassigning a stuck claim or spend request (APPROVE-002) to the Business settings row; saving a person, their roles, department and deactivation, sending their sign-in invitation, and granting or ending someone else's delegates (ADMIN-005) to the people row; policy publishing, budgets and their import, allowances, escalation chains and the card-matching rule to the Policy row; statement-file preview, import and undo (FEED-002) and QuickBooks metadata connection/disconnection (CODE-001) to the connect row; native accounting catalogs/category requirements to Business settings and manual QuickBooks metadata refresh to the sync row; assigning a statement card to the cards row; claims, expenses, receipts, automatic-report expenses, spend requests and cash advances to the Submit row; claim, spend-request and cash-advance decisions to the Approve row; unapprove; claim, receipt and batch reads and card-spend reads (statement files, charges and reconciliations); batch creation, review and removal; batch release; period, batch and report exports and the spend report (an approver's scope only) to the Export row; audit packs; and history search. An agent key acts inside its person's row (drafts for the Submit row, batch proposals for finance), and an auditor or bookkeeper, who submits nothing, holds no agent key. A single-role person is refused every other cell with 403 and no write; an approver reads only the claims routed to them, an employee only their own, and a card admin reads card spend and no claims. The owner's own record and delegates, release access, payment controls, retention and legal holds, erasure, move-in imports and adopting policy advice stay the owner's alone (owner-only security controls, ct 20 Oct), an admin invites everyone but another admin, and the owner's saving of an admin moves the person's Base operator role to `admin`, which is what lets them send invitations. Doors their own clauses give to finance (reminder and escalation timings, audit sampling, the cash-draft window, report schedules, exception review, accountable-plan marks, cash-advance payments and returns, recording a batch paid and statement reconciliation) stay with finance and the owner. The manager hierarchy is each person's approving manager chain; a department has a head who is an active approver and members, and a manager's scope (spend and reports) is everyone below them in that chain, however many levels, while a department head's scope is every member of the department wherever they sit. Deactivating a person who holds open work names a successor who takes, in one transaction, every approval waiting on them (claims, spend requests, workflow tasks by the role each needs, cash advances), their reports, any department they head and each unsubmitted card charge, which moves with its statement facts and a recorded handoff onto the successor's own statement report; an inbox original attached to such a charge is first detached on the departing person's private lifecycle and stays in their inbox, never reaching the successor; with no named successor the person's own approving manager takes what its roles allow, and a named successor must hold every role the work needs. Spend groups by department; a budget can cover a department, optionally narrowed to one category; an allowance can be set for a department; finance's escalation chain (up to two steps, each the department head, the approving manager or a named finance member) for the owing person's department, else the default chain, replaces the approving manager then finance and records each step; workflow conditions can name a department and reviewers can be the employee's department head or manager's manager, resolved and frozen at submission with no self-approval at any level. Matrix rows, and parts of rows, whose action has no door in Coaster yet are carried in the own text and acceptance of the clause that adds the door: issuing, limiting, freezing and cancelling cards (CARD-001); the payment funding account (PAY-001); employees' bank details (PAY-002); connecting feeds, ledgers, HRIS, chat and mail providers (FEED-001, FEED-002's program files, ACCT-001 to ACCT-004, ACCT-007, ADMIN-002, CAPTURE-006, APPROVE-003, NOTIFY-001); financial posting sync and posting-mapping fixes (ACCT-001 to ACCT-004, ACCT-006, ACCT-007; CODE-001 already adds QuickBooks metadata refresh under the sync row); editing coding on submitted or approved expenses (ACCT-006); and chat or email actions (APPROVE-003, CAPTURE-006); the permission journey reads this matrix and fails when a row appears that it neither drives nor names. **Acceptance evidence:** Add one person holding only each role and a three-level hierarchy; a matrix test drives every action in the matrix through its public route as each single-role person and sees each permitted cell succeed and every other cell refused with 403 and no write (for example the bookkeeper exports and syncs but is refused releasing a payment, changing policy and reading bank details; the card admin freezes a card but is refused approving a claim or releasing a batch); a person with finance and approver roles gets both rows but cannot approve their own claim; deactivate a manager with open approvals and see them moved to the successor and the manager's access end at once. Group REPORT-001's spend by department and drill to a receipt; see a department head's scope cover their whole department. Set REPORT-004's monthly Travel budget for the Sales department and see only Sales travel count against it. Configure an escalation chain of the department head then a named finance approver and see an approval past its FOLLOWUP-002 service level escalate along it, each step recorded. Set CLAIM-009's monthly $75 phone stipend for the Sales department and see only Sales members paid it. APPROVE-001 obligation: when departments and hierarchy ship, add department workflow conditions, department-head and manager’s-manager reviewers, and assert the $1,400 department-head route and no self-approval across the hierarchy.

**Role permission matrix (ADMIN-001).** ✓ = allowed; blank = refused. "Bank details" means verification status and last four only: no role ever sees a full account number (SEC-001).

| Action | Owner | Admin | Finance | Card admin | Approver | Employee | Auditor | Bookkeeper |
|---|---|---|---|---|---|---|---|---|
| Business settings, entities and approval workflows | ✓ | ✓ | | | | | | |
| Invite people, assign roles (except owner), deactivate | ✓ | ✓ | | | | | | |
| Policy rules, merchant rules and budgets | ✓ | ✓ | ✓ | | | | | |
| Grant or revoke policy agent approval authority (AGENT-005) | ✓ | | | | | | | |
| Connect payment funding account | ✓ | | | | | | | |
| Connect feeds, ledger, HRIS, chat and mail providers | ✓ | ✓ | ✓ | | | | | |
| Issue, limit, freeze and cancel cards; assign feed cards | ✓ | ✓ | | ✓ | | | | |
| Submit own expenses and claims | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| Approve, hold, return or reject routed claims | | | | | ✓ | | | |
| Unapprove an approved claim before its batch is reviewed (APPROVE-007) | ✓ | ✓ | ✓ | | own decisions only | | | |
| Read all claims, card spend and receipts | ✓ | ✓ | ✓ | card spend only | routed and reports' only | own only | ✓ | ✓ |
| Edit coding on submitted or approved expenses | ✓ | | ✓ | | routed, before deciding | | | ✓ |
| Create and review reimbursement batches | ✓ | | ✓ | | | | | |
| Release payments (PAY-004) | ✓ | | ✓ with release grant | | | | | |
| See employees' bank details | ✓ | | ✓ | | | own only | | |
| Run a manual ledger sync and fix mappings | ✓ | | ✓ | | | | | ✓ |
| Export reports and accounting files | ✓ | ✓ | ✓ | | scope only | | ✓ | ✓ |
| Export audit packs (REPORT-003) | ✓ | ✓ | ✓ | | | | ✓ | |
| Read full history and audit search | ✓ | ✓ | ✓ | | | | ✓ | |

The policy agent envelope is the ct-approved native-owner-only grant under AGENT-005 (22 October 2026); a Full delegate cannot grant it. The approver column applies to whoever a workflow step names (APPROVE-001), whatever their other roles. A delegate (ADMIN-005) acts inside the granting person's row, narrowed by the delegate's access level.

- **ADMIN-002 — HRIS roster sync.** Coaster keeps people, departments, managers, locations and employment status in sync from Gusto, Rippling, BambooHR, ADP Workforce Now or Willow; a termination in the HRIS deactivates the person (ADMIN-001) and freezes their issued cards. Obligation carried from AUDIT-001: each HRIS connection and sync appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. Obligation carried from ADMIN-001: connecting and disconnecting an HRIS follows the role permission matrix's connect row (owner, admin, finance), and every other role is refused with 403 and no write. **Acceptance evidence:** Connect a Gusto sandbox; add a hire, change a manager and terminate someone in Gusto; see each reflected in Coaster after sync and the terminated person's card frozen.

- **ADMIN-003 — Single sign-on and provisioning.** Members sign in through SAML 2.0 or OpenID Connect with Okta, Microsoft Entra ID, Google Workspace or Auth, and SCIM 2.0 provisions and deprovisions them; the owner can require SSO for everyone except a break-glass owner. Obligation carried from AUDIT-001: each identity-provider connection, SCIM change and SSO requirement appends its numbered history line (actor, agent, channel, time) that no route edits or deletes and that survives export and restore. **Acceptance evidence:** Configure Okta and Entra test tenants, sign in through each, provision and deprovision a user by SCIM and see access granted and removed; require SSO and see a password sign-in refused for a member.

- **ADMIN-004 — Multiple entities.** One installation runs several legal entities, each with its own currency, policy, approval workflows, chart and ledger connection, while people and cards can belong to more than one; consolidated reports convert to the reporting currency. **Acceptance evidence:** Set up a US entity in USD and a Canadian entity in CAD with separate QuickBooks sandboxes; file expenses in each, sync to the right company and see a consolidated USD report.

- **ADMIN-005 — Delegates who prepare and submit for someone else.** Any member can grant another member delegate access to their expenses at one of two levels: Submit only (capture receipts, build, code and submit the granting person's claims and answer questions on them) or Full (everything the granting person can do in their own row of the matrix, including approving claims routed to them, including the owner's row when the owner grants it, except changing their bank details, delegates, agent keys or sign-in; approval out-of-office delegation (APPROVE-002) stays the person's own). Every action a delegate takes is recorded and shown as "by delegate on behalf of owner" in history, notifications and the ledger memo. Until ACCT-* supplies ledger integration, the ledger memo is a memo column on the batch accounting CSV. Until NOTIFY-001, the granting person is notified of each grant by email through the installation's mail provider and sees it in Settings; they can revoke it at once. The owner grants and revokes delegates for anyone, and an admin (ADMIN-001) for anyone but the owner, whose own delegates only the owner grants. A delegate never sees the granting person's bank details: none exist until PAY-002, whose handlers must refuse any delegate as a standing obligation before shipping. A delegate cannot approve a claim that belongs to themselves or to the person they act for, and loses access the moment the grant is revoked or either person is deactivated. Delegates are people, distinct from COA-010 agent keys, which still cannot submit. **Acceptance evidence:** An executive grants an assistant Submit only access; the assistant uploads three receipts, builds a claim and submits it in the executive's name, and history shows "submitted by the assistant on behalf of the executive"; the assistant is refused approving any claim, reading the executive's bank details and changing the executive's settings; the executive revokes the grant and the assistant's next request is refused with no write. A Full delegate approves a claim routed to the executive with "on behalf of" recorded, and is refused approving the executive's own claim and the delegate's own claim. As the owner, and as an admin for anyone but the owner (ADMIN-001), grant and revoke a delegate for another person. Verify each grant emails the granting person through the installation's mail provider and appears in their Settings until NOTIFY-001; export a batch accounting CSV and see the on-behalf attribution in its memo column until ACCT-*. Have the owner grant Full delegation and prove the delegate uses the owner's row but cannot change delegates, agent keys, sign-in or APPROVE-002 out-of-office delegation. PAY-002 must prove its bank-detail handlers refuse every delegate before shipping; no bank details are claimed to exist before it.

### Mobile

- **MOBILE-001 — Phone-width web app.** Capture with the camera, claim building, submission, approval and payment status all work in a phone browser at 390 px without horizontal scrolling. **Acceptance evidence:** `tests/browser.mjs` runs the employee, manager and finance journey at 390 px with screenshots of every main screen.

- **MOBILE-002 — Native iOS and Android apps.** Store-distributed apps capture receipts offline and upload when connected, track mileage by GPS (CLAIM-001), receive push notifications (NOTIFY-001), approve with the full exception view (APPROVE-003) and unlock with Face ID, Touch ID or Android biometrics. **Acceptance evidence:** On iOS and Android test devices, capture three receipts in airplane mode and see them upload on reconnect; record a GPS trip; approve from a push notification; sign out and see biometric unlock required.

### Migration

- **MOVE-001 — Complete Expensify move-in.** Beyond report history (COA-011), the owner moves in an Expensify account's people, approvers, categories, tags, policy rules, open and closed reports with their receipt images, and card assignments, from Expensify exports and its Integration Server API; preview names everything that cannot map, and the move-in is undoable. Exact export-set semantic (sx-coaster-c40): native-session owner-only import accepts the documented Integration Server report CSV, named receipt files and a translated policy JSON with explicit opaque crosswalks, people initially inactive, ordered approvers, native categories/tags and last-four card assignments. Company-wide policy rules add to the owner floor in a new version; undo appends a compensating version and preserves later edits and live dependencies. Preview names unsupported fields; commit binds the exact original bytes, receipt hashes and crosswalk. The separate read-only Integration Server host command requires explicit consent, fixed-host nonredirecting transport and ephemeral environment credentials; it has no source update, export marking, email or scheduled action. Conservative source-export consent/credential-custody default awaits ct, so MOVE-001 remains partial. **Acceptance evidence:** With a synthetic Expensify export set (policy JSON, report CSVs, receipt images), preview and see people, rules and reports mapped and unmapped fields named; commit, see receipts attached to their expenses, then undo.

- **MOVE-002 — SAP Concur move-in.** The owner moves in SAP Concur users, approvers, expense types, supported company-wide policies and expense report history with receipt images from Standard Accounting Extract v4 or explicitly mapped documented-header exports and SAP Image Delivery archives. The reviewed configuration envelope in IMPORTING.md reuses MOVE-003's opaque UUID crosswalk, inactive/uninvited people, explicit native reuse, native categories and ordered approval chains; existing people retain their access. Supported POLICY-001 rules are additive to existing finance rules and the immutable owner floor, effective today in a new version. Unsupported rules, scopes or properties are named and block commit. Undo appends a compensating policy version, preserving all earlier versions/revisions and any later native policy edits; activated people, used categories and frozen chains are retained with an undo explanation. Extract layouts and employee/category mappings are explicit, never guessed; repeated journal/allocation rows group by entry id, approved amounts count once, signed allocations and extract/report totals reconcile, and credits retain negative amounts. The receipt index joins entries and reports to images; report-level receipts stay on their report, ambiguous or missing associations refuse, and extract, archive, index and receipt originals are retained byte for byte. Populated banking/full-card-number columns or known SAE positions refuse before retention, with an instruction to export without those fields. Preview writes nothing; commit binds the exact reviewed bytes and mapping, history is read-only and flags reclaims, and undo uses the existing import lifecycle. Erasure retires structured employee provenance and withdraws extract/archive/index originals even if their bytes contain only upstream ids; later preview/commit refuse erased records. Foreign-currency conversion is CLAIM-003's inherited obligation before that capability ships. **Acceptance evidence:** `tests/coaster-concur.test.mjs` (MOVE-002) previews, maps and commits synthetic configuration, an allocated SAE extract with a refund and indexed entry/report receipts; asserts inactive/no-invite people, native category/chain/policy behavior, exact originals and nonwriting preview; refuses changed bytes/mappings, unsupported rules and banking/PAN sources without persistence; undoes history and configuration with a compensating version, preserving frozen revisions and later native edits; and erases upstream-id-only provenance, proving original withdrawal and no restoration through status/undo/reimport. CLAIM-003 must assert original foreign-currency Concur amounts and converted USD values before conversion ships.

- **MOVE-003 — Emburse move-in.** The same for Emburse (Certify, Chrome River and Abacus exports): users, categories, ordered approval chains and expense history with receipts. The owner previews and commits expense CSVs with receipts, and a separate configuration JSON envelope in IMPORTING.md translated from the source people/category/approval exports; each keeps its originals and can be undone. Configuration source rows have opaque UUID keys, native members have random UUID identities, and an explicit reviewed crosswalk maps each source row to a new or existing native UUID. Names and addresses never infer a match; collisions require an explicit mapping. Existing mapped people and categories retain their native fields and access. New people are inactive, uninvited and cannot access the installation until the owner activates and invites them. Categories become native coding choices with account/tax codes (lodging always requires receipts). Chains use ordered distinct manager identities, refuse self-approval, freeze on submission and require every manager to be active; delegation replaces only the current step, and only the final approval makes a claim reimbursable. Approval-by-rule cannot skip an imported chain. Correction resubmission freezes the current configured chain; reopening approval restarts the original frozen chain; partial holds are available only at its final step and held expenses must be submitted again. Undo preserves native edits, activated people, used categories and frozen chains and explains those retained rows. Erasure withdraws affected originals and tombstones the erased person's source records and affected chain records; later undo, resume and reimport cannot restore them. Foreign-currency Emburse history is carried by CLAIM-003 before conversion ships. **Acceptance evidence:** `tests/coaster.test.mjs` (MOVE-003) previews, commits and undoes synthetic Certify and Chrome River expense exports and receipts. `tests/coaster-import-configuration.test.mjs` (MOVE-003) proves nonwriting preview, exact-byte originals, changed-preview refusal, opaque crosswalks, inactive/no-invite people, native categories, explicit reuse, dependency-aware undo and erasure without resurrection. `tests/coaster-chains.test.mjs` (MOVE-003) proves ordered managers, no early payment/rule bypass, stale decisions, delegation, inactive-manager refusal, reopening, returns and final-step holds through public import/claim/batch doors.

- **MOVE-004 — Ramp, Brex and Navan move-in.** Card transactions, receipts, memos and coding from Ramp, Brex and Navan exports come in as read-only history that later feeds deduplicate against. Exact rules today: the owner imports one tool's transaction CSV at a time with the receipt files it names, in the columns IMPORTING.md lists for each tool and a chosen date format, through Base import-kit: preview writes nothing, import applies exactly the previewed bytes and mapping, and undo reverses one import. Each charge becomes one read-only history record (employee, date, merchant, amount, memo, the tool's category and GL code, and its receipt's name, size, type and SHA-256); the export and each receipt are kept byte for byte as the import's originals. Refunds and credits come in as history records with a negative amount, so later feeds deduplicate them like charges. A row naming a receipt that was not added, a duplicate transaction id, a bad date or amount, or an address that is not an email blocks the import; foreign rows convert under CLAIM-003 with original amount/currency and rate/source/date retained; unmapped columns and receipt files no row names are listed and left out. Imported charges never become claims; an out-of-pocket expense with the same employee, date, merchant and amount is flagged as a possible duplicate naming the charge. Feeds deduplicating against this history are FEED-001's and FEED-002's to prove. **Acceptance evidence:** Import a synthetic Ramp transaction export with receipts and see history; import synthetic Brex and Navan exports and see their history; claim an imported charge again and see it flagged; undo one import. Connecting a feed overlapping the same month and seeing no duplicates is in FEED-001's and FEED-002's acceptance.

- **MOVE-005 — Cutover without double counting.** A switching company runs Coaster beside its old tool for a period: imported history, live feeds and open items from the old tool are reconciled so no expense is reimbursed or posted twice, and a cutover report lists what moved, what is still open and what was left behind. The current read-only inventory counts source records separately for each retained import job (including an undone job); report headers and expenses are separate records, and expense money is summed without report totals. Open means source status open, submitted or approved. Through the carry API, an employee carries their own source report into one native draft, explicitly mapping each reimbursable purchase to an active category. Non-reimbursable expenses stay history; source approval never becomes native approval. The employee supplies missing receipt evidence and explanations and submits through normal policy, routing, approval and batch controls. A complete report of 1–100 expenses is required; mileage requires explicit native trip entry instead. Opaque report and transaction reservations are committed atomically with the draft and history line, and survive source undo, reimport and financial retention; undo never cancels the native claim. The inventory names the linked native claim even after undo. Undone or absent source effects are left behind. The current mapped-CSV scheduled SFTP door excludes matching imported card history and replays once through the shared statement planner. Connected-ledger posting reconciliation remains open under ACCT-001/PAY-001 and needs an authorized provider company; future feed doors inherit overlap deduplication before they ship. **Acceptance evidence:** Import a month of Expensify history, connect a feed covering the same month and carry three open reports; see imported charges deduplicated, open reports reimbursable once, and a cutover report that accounts for every source record.

### Integrations and neighboring products

- **INTEG-001 — Travel booking context.** Itineraries and booking receipts from Navan, TravelPerk, SAP Concur Travel and Egencia (by API or forwarded confirmation) become trips that group the related expenses, prefill per diem locations and dates (CLAIM-002) and link to spend requests (CLAIM-005). Booking itself stays in the travel tool. **Acceptance evidence:** Forward a TravelPerk confirmation and import a Navan trip through its API sandbox; see trips with dates and locations, matching card charges grouped under them and per diem prefilled.

- **SIBLING-001 — Handoffs to neighboring products.** Coaster connects to its sibling products rather than rebuilding them: Pantry for the ledger (ACCT-003), Purse for supplier purchases and bills (an expense that is really a supplier invoice is handed to Purse with its receipt, not reimbursed), Willow for the people record (ADMIN-002), Gauge for client billing (CLAIM-006), Nook for chat (NOTIFY-001), Auth for sign-in (ADMIN-003) and Crank for automations (API-001). Each handoff records its outcome and failures stay visible in Coaster. **Acceptance evidence:** With test installations of each sibling, run each handoff once; hand a supplier invoice to Purse and see it leave the claim with a link; break one sibling's connection and see the failure owned in Coaster.

### Security, privacy and data custody

- **AUDIT-001 — Append-only history of every action.** Every write (settings, claims, decisions, batches, payments, card controls, provider connections, syncs, agent actions) appends a numbered history line with actor, agent, channel and time that no route can edit or delete, and that survives export and restore. Exact rules today: lines are numbered in write order; the channel is `agent` for an agent key acting for a person (the line names both), `import` for the owner's import door (each preview-confirmed commit, resume and undo appends one line with the job's state as the import kit left it), `rule` for the owner's approval rule ("rule vN"), `schedule` for the hourly run (written under its name: schedule, allowance, budget, reminder, escalation, retention, cash-draft window, card match, report schedule or pay schedule) and `app` for a person in the app; an invitation is recorded only after the sign-in link was handed to the mail provider. No route edits or deletes a line, and the database refuses both, with exactly two exceptions owned by done clauses: an owner-confirmed RETAIN-001 expiry removes the expired claims' and batches' lines and leaves one `claim-expired` line each, and an ERASURE-001 erasure replaces the erased person's address and name inside lines with their opaque subject. Done for every write that exists today: settings, people and invitations, claims, decisions, batches, payment controls, release grants and releases (PAY-004), finance-recorded payments (COA-009), bank-provider connections, employee bank verification, changes and cooling-off holds (PAY-002), Gusto Demo connections and employee mappings, payroll preparation and reserved, sent and confirmed handoffs (PAY-003), agent keys and agent actions, imports and the hourly run. The Gusto Demo and Plaid sandbox connection foundations now append native history; their remaining production connections, provider payments, card controls and syncs retain the following obligations before they ship: CARD-001 and CARD-002 (card issue, limits, freezes, cancellation and repayments), FEED-001, FEED-002 and FEED-003 (feed connections and reconnection; FEED-002 also statement-file imports and card assignment), FEED-004, FEED-005 and FEED-006 (feed syncs, matching and clearing), ACCT-001, ACCT-002, ACCT-003, ACCT-004, ACCT-006 and ACCT-007 (ledger connections and syncs), PAY-001, PAY-002 and PAY-003 (provider payments, bank details and payroll handoffs) and ADMIN-002 and ADMIN-003 (HRIS and identity-provider connections). Private receipt-inbox processing and CAPTURE-004 lifecycle histories stay in the employee and delegate scope, with database-enforced immutability and COA-012 round trips; they do not enter the global audit search or audit pack. **Acceptance evidence:** Perform one action of each kind through its public door, read the history and see each line in order; try to alter or delete a line through every route and see refusal; export, restore and see identical history.

- **ERASURE-001 — Personal-data erasure with financial-record retention.** The owner can erase a former person's personal data (name, contact, bank tokens, chat and mailbox links, personal-card connections) while keeping the financial records the law requires, with the person replaced by an opaque subject in history and exports; an erasure receipt lists what was removed and retained, and restoring an archive made before the erasure is refused, naming the erasure; into an empty destination the owner supplies the later archive as the journal. Obligation carried from RETAIN-001: erasure is refused for a person covered by a live legal hold until it is released. Exact rules today: only the owner, signed in as themselves (no delegate or agent), erases, and only a deactivated member who is not the owner, has no claim other than paid or rejected ones, no spend request waiting and no claim waiting for their decision; a live legal hold on them or on the whole business, or a period hold covering one of their expense dates, refuses it. In one transaction it removes their name and address everywhere, their sign-in account with its sessions, links and invitations, their agent keys, their delegations and delegate grants on either side, their place as approving manager of other people, their own comments (other people's replies stay, as top-level comments) and the reminders sent to them; it removes their address from imported history and withdraws the imported original files that named them (Base import-kit custody erasure). It keeps every claim, expense, split, receipt (bytes and SHA-256), decision, revision, batch and history line, with their address replaced by a random subject `former-member-<8 hex>` shown as "Former member <8 hex>" (random, never derived from the person); that replacement is the only change an erasure makes to history lines (AUDIT-001). The receipt, which the owner and auditors read under Retention, names the label, who erased and when, the counts removed, and the retained claims (number, status, total) and receipt SHA-256s; it holds no erased value. The erasure advances Base's portability redaction checkpoint in the same transaction, so `rer import` refuses an archive made before it with `erasure_epoch` when the destination or the later archive supplied with `--journal` knows it; a destination given neither cannot recognise an older archive. PAY-002 erasure removes all active, pending, replaced and abandoned bank rows, including sealed tokens and last four, in that transaction. Mailbox and chat links and personal-card connections remain future work: CAPTURE-005, CAPTURE-006 and FEED-001 each add theirs to this erasure before they ship. Exact inbox rules: original bytes and hashes remain business evidence. CAPTURE-004 lifecycle actor and on-behalf identities become the erased subject; every discard reason is kept, replacing any-case occurrences of the erased address with the opaque subject and exact occurrences of their full name with their label, including when the erased person was a delegate. **Acceptance evidence:** Erase a departed employee with paid claims; see their personal fields gone, amounts and receipt hashes kept under an opaque subject, the receipt listing both; export after the erasure, then into an empty destination restore an archive made before the erasure with the later archive as the journal and see it refused, naming the erasure; place a RETAIN-001 legal hold on a departed employee and see their erasure refused until it is released. Expanded-reason proof covers the 1000-unit input, 22,000-byte one-character-name case, both employee and delegate reasons, later Form-name erasure protecting earlier tokens, and identical archived reasons after restore; removed.discardReasons counts rewrites without personal data.

- **RETAIN-001 — Record retention and legal hold.** Receipts and expense records are retained for a period the owner sets (seven years by default, matching common US record-keeping practice), never silently removed; expiry needs owner confirmation and leaves a receipt, and a legal hold on a person, entity or period blocks expiry and erasure until released. Exact rules today: the owner sets the period in whole years from 1 to 30 (7 by default), counted from a claim's last change, which for a paid or rejected claim is when it was paid or rejected (business time zone); open, returned, approved and unpaid claims never expire. A rejected claim expires on its own; a paid claim expires together with every claim of its reimbursement batch once they are all past the period, and the batch goes with them. The hourly run proposes everything past the period and not under a hold when no proposal is waiting, and nothing is removed until the owner confirms. Confirmation removes, in one transaction, each proposed claim still exactly as proposed and not under a hold: the claim, its expenses, receipt bytes, revisions, decisions, comments, exception reviews, audit samples, reminders and history lines, and a paid claim's batch; anything changed or held since is skipped and listed. It keeps one "claim-expired" history line per claim and an expiry receipt (who confirmed, when, the period, and for each claim its number, status, total, expense dates and receipt SHA-256s), and keeps each expired expense's exact-expense key as a SHA-256 so it can never be reimbursed again (COA-005). The owner places a legal hold, with a reason, on one person, the whole business or an inclusive range of expense dates (business time zone); a claim is held when a live hold covers its employee, the business or one of its expense dates, and the owner releases holds. The owner and auditors read the period, holds, the waiting proposal and every receipt. **Acceptance evidence:** Set a short retention on a test installation and see expiry proposed, confirmed and receipted; place a legal hold and see expiry refused until it is released. Erasure refused under a hold is in ERASURE-001's acceptance.

- **SEC-001 — Financial data and provider credential custody.** Card numbers and bank account numbers are never stored, only provider tokens and last four; provider credentials and OAuth tokens are encrypted at rest, excluded from exports and named in the restore checklist; payment release, bank changes and provider connection need a recent sign-in, with passkey or SSO step-up where configured. **Acceptance evidence:** Connect each provider, export the installation and scan the archive and database for card and account numbers and tokens (none in clear); attempt a payment release with a stale session and see step-up required.

- **DATA-001 — Declared external data flows.** MOVE-001 additionally declares the explicitly consented, read-only Integration Server source-preparation command in seed.json: partner credentials, selected source IDs and template go only to the fixed Expensify endpoint; returned files stay private locally, no source mutation, marking, email, retry, credential retention or native import egress. Its network-edge public-command test proves this flow; conservative consent and custody default awaits ct under MOVE-001.  `seed.json` declares each outbound data flow (Cloudflare hosting, mail, receipt reading, Plaid, card programs, the payment provider, ledgers, HRIS, chat, travel and mailbox connections) with the data sent, before that flow ships; optional providers stay off until the owner connects them, and the core claim flow works with none connected. Exact rules today: the flows that exist are Cloudflare hosting, the optional mail adapter (Resend, SendGrid or Cloudflare Email), the optional Auth identity provider and owner-enabled ECB reference-rate downloads (CLAIM-003), each declared in `seed.json` with the data it sends; "connected" means the provider is linked and in use, so naming an Auth installation (`IDENTITY_PROVIDER`) sends nothing until the owner approves the link with a fresh email proof. Linked Auth receives only the link handshake (code redemption with Coaster's origin, callback, interface and a signed assertion) and the OpenID Connect exchange (metadata and key reads, the authorization request, code redemption with the PKCE verifier and a signed client assertion); no claim, expense, receipt, comment or member data reaches it. ECB receives only a fixed history GET without query/body/cookies/authorization, never expense or identity fields; redirects are refused, and manual-rate or domestic expenses send no request. Each clause that adds an outbound flow declares it in `seed.json` and extends the egress test with that provider faked at the network edge before it ships: receipt reading (CAPTURE-003), mailbox and chat connections (CAPTURE-002, CAPTURE-005, CAPTURE-006, APPROVE-003, NOTIFY-001), Plaid and card programs (FEED-001 to FEED-006, CARD-001, CARD-002), the payment providers (PAY-001 to PAY-005), ledgers (ACCT-001 to ACCT-004, ACCT-007), HRIS and SSO (ADMIN-002, ADMIN-003) and travel (INTEG-001). **Acceptance evidence:** With no providers connected, run the claim-to-batch journey and observe no outbound traffic beyond Cloudflare and the configured mail adapter; connect each provider and see only its declared data leave. FEED-001 additionally declares the optional Plaid sandbox Link, token exchange, masked-account verification and explicit item-removal flow in `seed.json`; its HTTP fixture asserts that member addresses and Coaster financial content are absent from provider requests.

- **A11Y-001 — Accessible screens.** Every screen meets WCAG 2.2 AA: keyboard operation, visible focus, labeled controls, sufficient contrast and screen-reader announcements for state changes such as reading progress and payment status. Exact rules today: a main screen is every rail destination a signed-in person can open (Claims, Approvals, Batches, Move in, Settings) plus claim and batch detail, audited for the owner, employee, manager and finance at 1440 and 390 px with axe-core 4.14.0's complete default rule set (WCAG 2.0–2.2 A and AA rules and best practices); on phones a selected panel that replaces the column is the page's main landmark and carries a screen-reader page title. A screen a later clause adds (for example FEED-004 card charges, CAPTURE-003 reading review, NOTIFY-001 preferences) joins this sweep before it ships. **Acceptance evidence:** Run axe on every main screen at 1440 and 390 px with no violations, complete the claim and approval journeys by keyboard only, and check reading and payment state announcements with VoiceOver.

- **COST-001 — Visible provider costs in USD.** The owner sees what each connected provider costs per use (Plaid per connected account, ACH per transfer, receipt reading per page, SMS per message) and month to date in USD before and after enabling it, with optional caps that pause the optional service rather than the core claim flow. Current AI semantics: the native owner enters exact-model input/output rates in USD per million tokens, a per-page reservation and an optional monthly USD cap. The ledger records provider-reported token usage at that immutable price version, per-use and per-page estimates and UTC month-to-date totals, not provider invoices. Before each reading or coding request an atomic check includes settled estimates and all outstanding reservations; uncertain or unmetered attempts retain the reservation. A final metered charge may exceed its reservation, is fully recorded, and pauses subsequent requests. Manual claims, corrections and manual coding remain available. No price is invented before configuration, and no receipt, filename, employee or reading text enters the owner cost ledger. FEED-001, PAY-001 and CAPTURE-006/NOTIFY-001 inherit their connected-account, transfer and SMS costs before those optional provider doors ship. **Acceptance evidence:** Enable receipt reading with a $20 monthly cap and read the CAPTURE-003 labeled corpus; see the per-page and month-to-date cost recorded against the corpus run; read receipts until the cap and see reading pause with manual entry still working.

### Agent surface (Base-delivered)

#### BASE-AGENT-001 — One MCP door per seed

*Tier:* Agent surface

**Requirement.** Every seed, hosted or self-hosted, serves one remote MCP endpoint at `/mcp` over Streamable HTTP. It speaks the current revision (2026-07-28) and accepts 2025-11-25 clients through the twelve-month deprecation window. It implements `server / discover`, tools, resources and prompts. Lists are deterministic and carry `ttlMs` and `cacheScope: "private"`. Roots, Sampling and Logging are not served.

**Acceptance.**
1. `server / discover` returns the supported versions, capabilities, `serverInfo` and instructions.
2. A 2026-07-28 request works with no handshake, and a 2025-11-25 client completes `initialize` and lists the same tools.
3. An unsupported version returns `UnsupportedProtocolVersion`.
4. Two `tools / list` calls return the same order, with cache fields.
5. A foreign Origin returns 403, and a header and body method mismatch returns `HeaderMismatch`.
6. An oversized body returns 413 with no effect.

#### BASE-AGENT-002 — The seed's jobs are tools, through the UI's own actions

*Tier:* Agent surface

**Requirement.** Each Core job a person does in the product is a tool. Where one is not, the Agent surface says why: it runs on a device, it is a person's interactive screen, it belongs to a connector or the import door, or it is an installation fact. Risk is never the reason: a risky job is a tool with its class (BASE-AGENT-006). Tools are named `<seed>.<area>.<verb>` and declare input and output schemas and truthful annotations. Each calls the same server action as the UI, so validation and authorization are written once, and the seed's embedded agents use the same registry. A business refusal returns `isError` with the seed's stable error code.

**Acceptance.**
1. The Core clause ids in each tool's `_meta`, with the not-a-tool reasons that `server / discover` serves, cover every Core clause in the contract, and no reason is risk; the harness and `rer check` fail on a gap.
2. Each tool's fixture result validates against its `outputSchema`.
3. Read tools declare `readOnlyHint`; tools that can carry destructive declare `destructiveHint`, and tools that can carry external declare `openWorldHint`.
4. A refusal returns the same error code the UI gets for the same action.
5. The UI action and its tool, on the same fixture, give the same record state and the same audit event type.
6. The seed's embedded agents appear in the audit as calls to the same tools.

#### BASE-AGENT-003 — Records are resources

*Tier:* Agent surface

**Requirement.** Each primary record type has a URI template, and tools return `resource_link`s to the records they touch. A read returns exactly the fields the caller's role sees in the UI. File bytes count against any byte budget on the grant. A record the caller cannot open reads as not found, identical to a missing id. Text from customers, imports or files carries an untrusted marker in `_meta`.

**Acceptance.**
1. `resources / templates / list` names every record type in the Agent surface.
2. Reads as two roles return exactly what the UI shows each.
3. An out-of-scope id and a missing id give identical responses.
4. A write's `resource_link` reads back the new state.
5. Bytes over budget return `budget_exhausted` and no partial content.
6. Customer-sourced text carries the untrusted marker.

#### BASE-AGENT-004 — Business identity and short-lived, audience-bound tokens

*Tier:* Agent surface

**Requirement.** The door is an OAuth 2.1 resource server. Its RFC 9728 metadata names the authorization servers this installation trusts. That is the paired Business when Business provisioned it, verified with the owner-claim trust the installation already holds for its import door; otherwise it is the seed's own sign-in. Access tokens are RFC 9068 JWTs with `aud` set to the seed's canonical MCP URI, `sub` the sponsoring person, `act` the agent (RFC 8693) with its specialist, scopes per tool family, and a lifetime of 15 minutes or less (5 by default). The policy scopes rules on the sponsor, agent and specialist the token names. The consent behind the tokens can last longer and is revocable. Tokens travel only in the Authorization header, and there is no passthrough.

**Acceptance.**
1. An unauthenticated call returns 401 with `resource_metadata`, and the metadata names the trusted servers and scopes.
2. A Business token for this seed works, and the same token sent to a sibling seed returns 401.
3. An expired token returns 401, and a token with a lifetime over 15 minutes is refused.
4. A read-only token calling a write tool returns 403 `insufficient_scope` with every needed scope in one challenge.
5. A token in a query string is refused and not logged.
6. Revoking consent in the seed or in Business refuses the next call within 60 seconds.
7. After unpairing, Business tokens are refused and the seed's own sign-in still works.

#### BASE-AGENT-005 — An agent acts as a person in a role, never more

*Tier:* Agent surface

**Requirement.** Every call is authorized as the sponsoring person's current role and access (BASE-ACCESS-004), intersected with the grant's resources, actions and budget. A grant only narrows. No call widens the calling agent's own authority. A call that would widen its own grant or its sponsor's role, or change the company policy or Pause, is refused with `self_escalation`, whatever the policy says; narrowing its own grant is allowed. Other access and security changes are ordinary actions in the access and security classes. An agent never acts after its sponsor is suspended. Anything an agent reads (records, files, emails, imports, other seeds' results) is data and cannot change its scope, its targets or a call's class.

**Acceptance.**
1. For each role fixture, every tool's allow or deny through MCP equals the UI's for the same action.
2. A one-folder, read-only grant holds, and widening through arguments is refused.
3. Downgrading the sponsor changes the next call's result, and suspending the sponsor returns 401.
4. Calls that widen the agent's own grant or its sponsor's role, or change the policy or Pause, return `self_escalation` and change nothing, even under a policy with every class autonomous; dropping a scope from its own grant runs.
5. An injection fixture yields no out-of-grant call and no change of class: record text asking for a wider action, or claiming that a recipient is internal.

#### BASE-AGENT-006 — Every action declares its risk class

*Tier:* Agent surface

**Requirement.** Classes come from the fleet list in RISK-POLICY.md: standard, external, money, commitment, accounts, gated, access, security, destructive, sensitive and live. In the registry, each tool declares the classes it can carry and a server-side classifier that decides them per call from the arguments, current records and, for gated, the provider's answer. The classifier also supplies each class's facts: the measure (items, recipients, amount and currency, people or records), the counterparty (internal, known, new or public), the direction for access, the provider and step for gated, and the data kind for sensitive. A classifier never reads a flag, label or claim supplied by the agent or by record text. A seed cannot add a class; it proposes one for the fleet list.

**Acceptance.**
1. Every tool in `tools / list` carries its possible classes in `_meta`, equal to the Agent surface table.
2. For each tool, fixture calls cover every class it can carry, and the computed classes and facts equal the fixture's expected values.
3. An argument or record text asserting a class or a confirmation (`internal: true`, `confirmExternal: true`) leaves the computed classes unchanged.
4. Money calls carry amount and currency, external calls their counterparty and recipient count, access calls their direction, and destructive calls their item count.
5. No tool in `tools / list` declares a class outside the fleet list, and `rer check` fails on one.
6. A refused call's audit row still records its computed classes.

#### BASE-AGENT-007 — The company's policy decides, at one chokepoint

*Tier:* Agent surface

**Requirement.** Every agent door calls one decision function: MCP, the integration API with agent tokens, and the seed's embedded agents. It evaluates the call's classes against the company's policy, as above. The seed ships no dispositions and fills no gap with one: agent access opens only under a complete policy that setup has asked for (RISK-POLICY.md), and before then every agent call returns `policy_unset` with the setup link and changes nothing. *Autonomous* runs the call. *Review* runs it and adds it to the review feed. *Approval* saves a pending action with server-computed facts and returns `input_required`, with a URL-mode elicitation to the seed's approval page and a pending handle. Each person the rule names approves the exact saved revision in a signed-in browser, and changed inputs need a new approval. The retried call returns the result and a receipt. A rejection returns `approval_rejected`, and a lapse past the wait the rule sets returns `approval_expired`. *Blocked* returns `policy_blocked`, naming the class, rule and revision.

**Acceptance.**
1. The Base harness runs each tool under each disposition for every class it can carry, and sees it run, run and enter the review feed, wait with no effect, or be refused.
2. Before setup is complete, the setup page lists every class the seed's tools carry with examples and no answer pre-selected, an agent call returns `policy_unset` with the setup link and changes nothing, and an incomplete revision cannot be confirmed; a `*` rule completes it, and a tool an upgrade adds with an unanswered class appears in `tools / list` once that class is answered, while the other tools keep running.
3. Under "money autonomous up to $500, approval up to $10,000, blocked above", calls of $400, $600 and $20,000 run, wait and are refused; a per-day cap sends the call that crosses it to the next rule.
4. A call carrying two classes takes the stricter disposition.
5. An approval shows server-computed facts and an expiry, returns the URL elicitation and a handle, and completes once after the named approver approves; a changed input needs a new approval, and a rejection or lapse leaves no effect.
6. The same call through MCP, the integration API and an embedded agent gets the same decision.
7. A policy change applies to the next call within 60 seconds, and the audit cites the new revision.
8. A policy document with a bad signature or another Business's id is rejected, and the door keeps the last valid revision.

#### BASE-AGENT-008 — Truthful attribution

*Tier:* Agent surface

**Requirement.** Every agent act is recorded and shown as `"<agent> for <person>"`, and mail and messages an agent sends outside name it that way as their sender. An approval, a review mark, a confirmation (a warning dialog, a typed-field confirmation, a delivery confirmation), a decision or a signature attributed to a person comes only from that person's signed-in session. When an agent does the equivalent act, the record names the agent, and the act carries its own class; a binding decision or a signature is commitment. Agent doors ignore arguments that stand for a person's confirmation. No tool solves a bot check, or enters a person's own password or 2FA code at an outside service. A provider step that demands a person goes to a person, whatever the policy says; the gated class marks such steps before they run.

**Acceptance.**
1. An agent call carrying a person-confirmation flag is classified and decided exactly as without it.
2. Approving, marking reviewed or answering a policy question with an agent or device token returns 403 and changes nothing.
3. A form-mode elicitation "accept" never completes an approval.
4. Where an agent's decision, signature or field confirmation runs without a person, it reads `"<agent> for <person>"` in the record, the activity view, exports and any certificate, never as the person's own act.
5. After a person approves an agent's prepared action, the record shows the person as approver and the agent as preparer.
6. Activity and exports at 1440 and 390 show `"<agent> for <person>"` for every agent act.
7. Mail an agent sends to an outside address names `"<agent> for <person>"` as its sender.

#### BASE-AGENT-009 — Every agent action is audited with its class and decision

*Tier:* Agent surface

**Requirement.** Extending BASE-OPS-005, each call that reads private data or changes anything records the agent client, name and specialist, and the run or task id (`traceparent` when sent); the sponsoring person, the grant, the tool and the targets; the classes and their facts, and the policy revision and rule; the decision (autonomous, review, approval, blocked, unset or self_escalation) and the outcome (done, refused, pending or failed); the approval or review id and person, and the idempotency key. For a period, the seed's Agents page shows actions by class and decision with the notable ones, the review feed (Mark reviewed, Flag, and Undo where reversible), pending approvals, steps waiting for a person and setup questions. Business shows the same across seeds.

**Acceptance.**
1. One write leaves a complete audit row.
2. Refused, pending, unset and self-escalation calls are audited.
3. The Agents page's counts by class and decision equal the audit rows on a fixture week.
4. The review feed lists exactly the calls decided as review; Mark reviewed records the person, and Undo restores a reversible one.
5. Filtering by agent or class lists only those rows, and export includes every field.
6. Removing the agent keeps its rows and its name.
7. The Agents page works at 1440 and 390 with no serious or critical axe findings.

#### BASE-AGENT-010 — Agents can follow changes

*Tier:* Agent surface

**Requirement.** The seed emits a typed event for every record change and for every approval, review and policy decision. Each event carries a stable id, a type, the record URI, the actor (a person, or an agent acting for a person) and a time. Events never carry secrets or more than the subscriber may read. Agents can read events three ways: `subscriptions / listen`, an `events.list` tool with a cursor, and signed webhooks from Base `integrations` using the same ids. Every channel delivers at least once and filters by access at delivery.

**Acceptance.**
1. A subscribed record changed in the UI produces a notification within 10 seconds.
2. `events.list` returns the same event id the webhook carries.
3. Replaying from a cursor returns the same ids in order.
4. After access is revoked, no channel delivers events about that record.
5. A failed webhook is visible and replays without duplicate effects.
6. `approval.pending`, `approval.decided`, `review.flagged` and `policy.adopted` carry the class and decision and nothing the subscriber may not read.

#### BASE-AGENT-011 — Limits are policy, and Pause stops everything

*Tier:* Agent surface

**Requirement.** Business limits are rules in the company's policy: per-call and per-day thresholds on any class's measure, such as money moved, outside recipients or items destroyed; spend caps on provider cost (models, SMS, email) per seed, specialist or agent, which setup asks with the classes; "no cap" is an answer. Tools with provider cost declare an estimate before they run, and an exhausted cap returns `budget_exhausted` before any partial effect. The seed's capacity limits (request rate, body and byte sizes) protect the installation: they bound rate and size, never daily business volume, are documented and are not policy. A grant carries budgets only when the person granting it sets them. A **Pause agents** control in the seed, and Pause all agents in Business when paired, refuses every agent token within 60 seconds until a person resumes; browser sessions and devices keep working.

**Acceptance.**
1. A rate overrun returns 429 with `Retry-After`.
2. A per-day cap of three outside recipients sends the fourth to the rule that applies past the cap.
3. An exhausted spend cap returns `budget_exhausted` with no partial effect and shows the spend.
4. Under the answer "no cap", a spending call runs and its spend shows in usage; a call that spends nothing is unaffected by any cap.
5. The usage view shows calls, decisions by class, money moved and provider spend per agent.
6. Pause and Pause all agents each stop the next call within 60 seconds, and resume restores access.
7. An agent token cannot resume.

#### BASE-AGENT-012 — Writes are idempotent and conflict-safe

*Tier:* Agent surface

**Requirement.** Every mutating tool requires an idempotency key and takes an optional expected revision. The same key with the same arguments returns the first outcome for at least 24 hours; the same key with different arguments returns `idempotency_conflict`; a stale revision returns `revision_conflict` with the current revision. Long work returns a job handle and a status tool, with no dependence on the Tasks extension.

**Acceptance.**
1. Two calls with one key give one effect and equal results.
2. A retry with a new JSON-RPC id and the same key, after a dropped stream, returns the recorded outcome.
3. The same key with different arguments returns a conflict and no effect.
4. A stale revision returns a conflict naming the current revision.
5. A job handle used by another person's token reads as not found.

#### BASE-AGENT-013 — Manifest, docs and the conformance journey

*Tier:* Agent surface

**Requirement.** `server / discover` instructions and an on-site `/docs/agents` page are generated from the action registry. The page lists tools by job, with each tool's classes, the test that adds each computed class, its scopes, resource templates, event types, capacity limits and error codes, and the specialist role. `prompts / list` carries the specialist's jobs. Base ships the conformance journey, a harness that `rer verify` runs against `rer dev` and seeds run in CI. It is an MCP client; a signed-in test person takes a person's steps (setup answers, approvals, review marks, resume) through the URLs the door returns, and the same browser leg runs the UI-parity actions and the page checks at 1440 and 390. It runs every acceptance point of BASE-AGENT-001 to 012 and of the seed's SURFACE clauses under two company policies: *all autonomous* (`*`), and *held* (standard review, every other class the seed declares approval, which the test person grants), plus the single-class variants a point names. A point that names no disposition passes under both.

**Acceptance.**
1. The docs list exactly the names in `tools / list` and `resources / templates / list`.
2. Each tool's classes, and the test behind each computed one, are documented.
3. The harness fails on any of: a tool without a schema; an effect under approval or blocked, or before setup is complete; a computed class that differs from its fixture; a flag that changes a class or completes a person's step; a role-parity mismatch; a wrong-audience token being accepted; a duplicate effect on retry.
4. Every acceptance point runs under both policies, every decision matches the policy in force, and under all autonomous no call waits for a person or is refused by policy.
5. A stranger agent given only the seed URL completes the specialist journey through MCP.

## Push further with agents

Every agent here acts through the COA-010 authority model: it works for a named person or for finance under standing rules the owner grants, every action is recorded in AUDIT-001 with the agent named, and money movement, policy changes and accusations stay with people.

- **AGENT-001 — The spend agent closes every expense.** For each card charge and out-of-pocket purchase the agent works the whole path until receipt, coding, approval, reimbursement settlement and ledger entry agree: it reads the receipt (CAPTURE-003), asks the employee in Slack or Teams for exactly the missing context, applies coding (CODE-002), routes approval (APPROVE-001), prepares the payment run and posts to the ledger, chasing the responsible person or system under finance's cadence. Finance sets the standing rules, escalation owners and which steps it may take alone; payment release, changed bank details and disputed coding always need a person, and the agent stops on any dispute. **Acceptance evidence:** Post 30 sandbox charges with mixed receipts; see the agent collect receipts and context by chat, route approvals and prepare a payment run that a person releases; see every step in history with the agent named, a disputed coding stop the item, and an attempt to release payment refused. Over the CODE-002 coding fixture set, the coding the agent applies meets CODE-002's bars: 100% on merchant-rule charges and at least 90% category matches on repeat merchants.

- **AGENT-002 — Resolve unclear receipts with one question.** Where the reading, the merchant's email receipt and the card charge disagree (tip, tax, currency, business purpose), the agent asks the employee one specific question with the receipt crop and the conflicting values, applies the confirmed answer, and keeps the original reading and the source crop. Current native semantics: one question is derived from the current private reading and its attached posted charge, with all differing values and source regions; it persists logically until confirmed or its source changes, without making another OCR copy. The employee or live Submit-only/Full delegate explicitly confirms the receipt total, currency and conflicting fields before an atomic private correction and confirmed comparison are saved on the draft or returned expense. The posted card amount and all statement facts remain unchanged. The confirmation notice explains that only the confirmed comparison is shared when submitted; raw reading, source regions and questions stay private. An unanswered question changes nothing and is chased on the existing business-day schedule with a generic link, never receipt values or question identifiers in global history. CAPTURE-002, CAPTURE-005 and CAPTURE-007 inherit merchant-email conflicts through this same question service when their intake doors ship. It never invents a receipt, fills a value nobody confirmed, or changes a paid claim. Obligation carried from FOLLOWUP-001: an unanswered agent question is chased on the reminder schedule like an APPROVE-006 question. **Acceptance evidence:** Submit a receipt whose total differs from its card charge by a handwritten tip; see one question with the crop and both values; confirm and see the corrected expense with the original reading retained; ignore the question and see no value changed. Over the CAPTURE-003 labeled corpus matched to fixture card charges, every receipt where the reading and the charge disagree gets exactly one question and none gets a value the label contradicts. Leave the question unanswered for two business days and see FOLLOWUP-001 remind the employee.

- **AGENT-003 — Preview a policy change before adopting it.** The deterministic policy assistant proposes changes for recurring exceptions across every current finance rule kind and previews finance-prepared changes, including tightening, before the owner adopts them. No model or external transfer is used; current agent keys gain no grants. A signed-in finance person or owner enters estimated minutes per exception and replays the rolling calendar year ending today (inclusive expense dates in the business time zone; a leap-day start clamps to 28 February). Each claim contributes only its latest submitted revision; drafts, rejected claims and imported history never supply approval evidence. Existing owner category-limit suggestions need three acknowledged approved over-limit expenses and propose their largest amount; the owner adopts that limit, raising lower soft finance caps while preserving higher caps and never relaxing a hard cap. Every current soft finance rule kind also supports a suggestion to remove it after three distinct approved expenses carry an acknowledged exception attributable to those exact recorded rule semantics. Finance can prepare any candidate set of supported rules, including new hard rules or tighter limits; previews always retain the owner's current floor. The replay uses POLICY-001's actual rule evaluator: deadlines use the original business-local submission day; daily, monthly and trip totals use the submitted replay population, including all expenses of its contributing claims, never private drafts or an invented historical population. It shows each affected claim and expense, exceptions before/after, and observed submission-to-final-approval hours on affected claims. Estimated review hours saved are avoided configurable exceptions times entered minutes divided by 60; a negative saving means added effort, never a prediction of decision dates. Counterfactual reimbursement eligibility excludes a claim's in-window amount when it has a hard exception or lacks a required approved request; a recorded override is not assumed for a new counterfactual. The preview separately shows affected approved/batched spend awaiting payment and already finance-recorded paid spend; no historic decision or payment changes. Only the owner adopts the exact preview; changed policy, history or candidate inputs refuse without writes, and adoption appends today's new version and an audit line while preserving earlier revisions, exceptions and decisions. Under pattern 1 this clause is done for all capabilities that exist today: FEED-004 must add card-spend replay before card transactions ship, and PAY-001 must add payment settlement/return effects before provider reimbursements ship. **Acceptance evidence:** `tests/coaster-policy-advice.test.mjs` (AGENT-003) asserts the $50 → $75 recurring lunch proposal, affected claims/counts and entered-minute estimate; owner-only adoption, stale/tampered refusal, new-policy enforcement and unchanged history; every current finance rule kind's recurring acknowledged approvals and removal preview; hard-rule exclusion; finance-prepared hard tightening, exact approval-time and manual reimbursement amounts, counterfactual eligibility, no writes or external traffic on preview, and owner-floor preservation. FEED-004 and PAY-001 carry their future acceptance points explicitly below.


- **AGENT-004 — Repair feed and accounting handoffs.** The agent compares feed cursors, statement totals, payment references and ledger postings, finds gaps (a missing day of transactions, a payment not cleared, a bill missing in QuickBooks), opens a reconnection or mapping task for the right person and reprocesses only confirmed gaps once fixed. It never treats a missing feed as zero spend, issues a second payment or posts a duplicate. **Acceptance evidence:** Drop a day from a sandbox feed and delete a synced bill in QuickBooks; see the agent identify both with evidence, open the reconnect and resync tasks, and after reconnection reprocess only the gap with no duplicates.

- **AGENT-005 — Policy review agent with cited reasons.** Before an approver opens a claim, the agent reviews each expense against the policy version, receipt, card data, trip and past spend, and writes a recommendation with the rule and evidence cited. Within an envelope the owner grants (for example matched, compliant spend under $100) it approves on the owner's behalf; everything else goes to the approver with the recommendation. Approvers see how often they agreed. Exact native semantic (sx-coaster-c40): at submission, including scheduled submission and held-expense release, deterministic advice copies the actual evaluator’s reasons and policy version plus the expense facts, linked request and shared receipt fingerprint into the immutable revision. It internally compares completed receipt readings, frozen card-match/statement evidence and current finance merchant coding; it publishes only comparison results and already-shared financial facts, never private reading values, original identifiers or lifecycle lines. Unavailable checks are named. A split retains advice and approvals only for retained expenses; an unapproval clears approval authority on the reopened revision and keeps the earlier evidence. The native owner explicitly grants or revokes a versioned compliant-spend envelope; no agent key, public credential, admin or Full delegate can grant it. It is off by default, requires consent, uses a strict per-expense limit, never approves the granting owner’s own expense, and requires no policy exception, agreeing receipt reading or person-confirmed card-match evidence, and coding verified against an active finance merchant rule; uncertain/generated coding routes to a person. Each covered expense gets a cited approval on the owner’s behalf at submission, independently of other expenses on the report. The report completes automatically only if every expense is covered and no explicit chain/workflow requires human stages. Existing workflow stages and all release/payment controls remain in force. Each approval retains its envelope/rule version and participates in independent expense audit sampling with a finance finding. Revocation stops future approvals and preserves earlier decisions. Approvers see their own agreement over retained explicit per-recommendation feedback; unanswered recommendations and automatic decisions never enter the denominator. Ct approved this native-owner-only, off-by-default, versioned and immediately revocable consent boundary on 22 October 2026: no key, admin or Full-delegate grant, no approval of the owner’s own expense, existing workflow and payment gates preserved, comparison-only receipt evidence, finance-verified coding with uncertainty routed to a person, and agreement measured only from retained explicit reviewer feedback. **Acceptance evidence:** Grant a $100 compliant envelope; submit a claim with a compliant $60 lunch and an over-limit $180 dinner; see the lunch approved by the agent with cited reasons and the dinner routed with a recommendation; revoke the envelope and see the next compliant lunch routed to a person. Over the CODE-002 coding fixture set, every expense the agent approves within its envelope carries coding equal to its label or its merchant rule, and every expense whose coding came from a low-confidence suggestion is routed to the approver with that coding marked for review.

- **AGENT-006 — Fraud and anomaly investigation.** The agent investigates POLICY-002 signals across employees, cards and time (repeated near-duplicates, edited receipts, split charges, merchants unusual for a role) and assembles an evidence pack for finance with the images, charges and pattern. It never contacts the employee about a suspicion, blocks payment or concludes wrongdoing; finance decides and records the outcome. Current semantics: the native finance door assembles connected POLICY-002 observations from frozen submitted revisions, following their explicit comparison references and same-merchant records within 30 days. It includes original-image downloads and card-charge identity where present, never unpublished drafts or private inbox data. A pack is computed on demand, carries no automatic adverse decision, and retains no extra image copy. A finance outcome is an append-only history line; someone else must review a pack containing their own expenses. **Acceptance evidence:** Seed a pattern of split charges and an edited receipt across two employees; see one evidence pack with the related records; confirm no message was sent to the employees and no payment was held until finance acts.

- **AGENT-007 — Conversational expenses and spend questions.** An employee tells the agent in Slack, Teams, the app or by text "add my Denver trip" with photos, and it builds the claim with receipts, per diem and mileage for review before submission. Finance and managers ask spend questions in plain words ("what did Sales spend on travel in Q3 compared with Q2?") and get answers computed from Coaster's records, with links to the underlying expenses and limited to what the asker may see. Obligation carried from REPORT-004: spend answers include budget, actual and remaining. **Acceptance evidence:** In Slack send four receipt photos with "Denver client trip, Oct 6–8" and see a draft claim with receipts, per diem and a question for the missing purpose; as a manager ask a Q3 versus Q2 question and see figures that match REPORT-001 with links; ask about another department and see the scope refusal. Ask how much of the Travel budget is left and get REPORT-004's remaining for this month.

**CT policy ruling, 27 October 2026 — APPROVE WITH RIDERS; AGENT-007 remains PARTIAL on this candidate.** The current native foundation requires the person’s own native session for conversation input and proposal decisions, an explicit trip year and reviewed receipt fields. Agent keys do not read native conversation proposal payloads, and delegates cannot decide those proposals through shared proposal doors. Published GSA allowances remain reviewable proposals; no receipt or question is sent to a model or chat provider by this native mode. Spend answers are computed from authorized Coaster records with working source links and existing report permissions. The inherited REPORT-004 duty is to return budget, actual and remaining, including the current month in the business time zone. Acceptance creates an editable draft only; submission, approval and payment require their ordinary authorized workflows. The full target retains Slack, Teams, app and text intake, automatic photo reading, conversational clarification, receipt, per-diem and mileage assembly and useful scoped spend questions. This ruling accepts no completion and changes no landed status.

**Added acceptance:** Extend the existing conversation tests to refuse key reads and delegated decisions on native conversation proposals while retaining authorized existing agent proposals. Assert exact reviewed receipt fields and independently expected Denver locality, dates, published allowance and total. Ask the current-month budget question across a business-time boundary and assert budget, actual and remaining. Complete the original authenticated Slack four-photo journey and the remaining conversational entry surfaces without automatic financial decisions.

CT reviewed-gap snapshot before this fix round (historical, not the current Status Gap): **Gap — AGENT-007:** Native conversation proposal custody is not enforced or asserted at every shared read and decision door. Conversation input and spend-answer screens, authenticated Slack linking and threaded four-photo intake, Teams and text intake, automatic photo reading, conversational purpose replies and mileage assembly remain unbuilt. Exact reviewed-field preservation, independent Denver allowance selection and amount and current-month business-time assertions remain open. Live chat qualification has no receipt on the reviewed candidate. Published allowance calculations do not establish expense eligibility or legal tax treatment. No scope is carved.

- **AGENT-008 — Month-end close preparation.** On the close schedule the agent lists unsubmitted card spend and pending claims for accrual, chases their owners (FOLLOWUP-001), checks card statements reconcile (FEED-005) and that every paid reimbursement has cleared in the ledger, and hands finance a close checklist with an accrual entry ready to post. Finance posts the accrual. **Acceptance evidence:** On a fixture month with unsubmitted charges and one uncleared payment, see the checklist with the accrual amount by department, the chases sent and the uncleared payment named; post the accrual and see it in the QuickBooks sandbox.

- **AGENT-009 — Trip assembly.** From travel bookings (INTEG-001), the employee's connected calendar and card charges, the agent groups a trip's expenses, fills per diem days and locations and mileage legs, and proposes one complete claim for the employee to confirm. **Acceptance evidence:** With a Navan itinerary, a calendar event and eight charges, see one proposed trip claim with the right expenses, per diem days at the city's GSA rate and an airport mileage leg; the employee edits and submits it.

## Honest boundaries

- Coaster is not a bank, card issuer or lender. Company cards are issued by the issuing partner and its sponsor bank (CARD-001), which hold the funds, run business verification and own credit decisions; Coaster runs the controls and the expense workflow. Existing cards from any issuer stay usable through feeds. Commercial card feed enrollment (FEED-002) is completed with each issuer on the issuer's timetable and forms; Coaster supplies the delivery endpoint, keys and checklist and tracks each step, and statement import covers any days before the first file arrives.
- Coaster does not hold reimbursement funds or operate ACH. Dwolla (or another provider) and its bank partners move the money under Nacha rules, with their own onboarding and timing; Coaster owns approval, release controls, status and reconciliation.
- Coaster never asks for or stores bank sign-in credentials. Feeds come through Plaid and card program files, institution coverage is shown, and statement import is the recovery path; no feed is promised to be universal or instant.
- Coaster does not run payroll or file taxes. Payroll belongs to [Envelope](https://github.com/just-every/run-envelope), the RunEditRun payroll product, or the buyer's Gusto, ADP, Paychex or Rippling (PAY-003); 1099 filing, taxability and deductibility decisions stay with the buyer's accountant or Pantry; Coaster supplies flags and records, not tax advice.
- Coaster is not a travel agency. Booking stays in Navan, TravelPerk, SAP Concur Travel or Egencia, and Coaster takes their itineraries and receipts (INTEG-001).
- Coaster is not the ledger, the procurement system, the HR record, the PSA or the chat tool: those are Pantry, Purse, Willow, Gauge and Nook (or the buyer's QuickBooks Online, Xero, Procurify, BambooHR, Harvest, Slack or Teams), connected through SIBLING-001 and the named integrations.
- The US is the first market: USD, IRS and GSA rules, US holidays and US providers. Foreign-currency receipts and additional entities are supported (CLAIM-003, ADMIN-004); foreign VAT reclaim is done by a specialist reclaim partner from Coaster's exported receipts.
- Native app store distribution, provider applications (Plaid, Dwolla, issuing partner, QuickBooks, Xero, Slack, Teams) and card program enrollment are engineering and partnership work tracked by their clauses, not cuts in scope. No SOC 2 report, PCI scope reduction or hosted service level is claimed without its own evidence.
- No agent verdict replaces a person's decision to release money, change a policy or act on a fraud signal, and raw records stay readable without any AI summary.

## Decided defaults

- Money is integer minor units; each mileage amount rounds half up once; the rate used is copied onto the expense.
- A missing receipt above the threshold is a soft exception that needs an explanation, unless finance makes it hard (POLICY-001). Exceptions never block approval on their own: the approver decides, except that an unlinked expense over the spend request threshold needs the approver's recorded override reason (CLAIM-005).
- "Exact duplicate" means the same receipt bytes, or for an expense without a receipt the same employee, date, type, merchant and amount; the same card transaction ID for card spend. Same date, merchant and amount with different receipts is a visible possible duplicate, not a block.
- One finance person may create and review a batch unless it holds their own claim; dual release applies above the PAY-004 threshold.
- Receipts and their history are never deleted outside RETAIN-001 and ERASURE-001.
- Agent keys and provider credentials are per installation, stored hashed or encrypted, and excluded from exports; a restored installation reconnects its providers and issues new keys.
- An archive carries Coaster's data, not sign-in accounts or sessions: roles are keyed by email, so after a restore people sign in to the new installation and keep their roles.

## Current implementation detail

Current code is the distance to the target, not a limit on it. It runs one business reimbursing in one currency, with original foreign-currency purchases and explicit or owner-enabled ECB reference conversion, and US defaults (USD, a US time zone, IRS mileage rates by trip date, the $75/lodging receipt rule), GSA/State/IRS per-diem tables with daily meal deductions and an optional company flat rate, receipts up to 1.5 MB stored in D1, one approving manager per employee (with dated delegation and owner reassignment), manual entry with no receipt reading, no card feeds, optional Auth sign-in and ECB public-rate calls, outside payment recorded by finance, and accounting by CSV. The Status section below marks each clause against that code.

Historical 21 October documentary review only: the commit then judged was the `main` commit the `contract-target` branch was based on; the branch changes only CONTRACT.md and ACCEPTANCE.md, so its code is identical. The supplied code audit was taken at `9a9543c203ac20a177b3ad60bf11997a74fd1668`; since then main changed only Base sign-in, mail, demo and run-site files and nothing under `src/coaster`, `src/ui` or `tests`, so every row was re-read at the judged commit. `done` means the bounded clause has cited code and a public-door test; `partial` names the shipped subset in Evidence and what is open in Gap; `missing` means no implementation. Kind `published` marks the clauses of Coaster's released contract (COA-001 to COA-013), `target` the clauses this target contract adds and `push-further` the agent clauses under [Push further with agents](#push-further-with-agents). Citations were read, not re-run, in this documentation round.

## Homepage claims

Every capability claim the homepage (run-coaster.com, `src/site/landing/`) states or draws, mapped to the clauses that promise it and judged against this commit's code: `done` when the claimed form runs today, `partial` when a narrower form is in code and the rest is contract, `missing` when it is contract only. The homepage shows the product being built toward (owner, 17 October 2026); this table and the Status table show how far the code has come. `OWN` is the MIT license and the public repository.

**51 claims: 11 done, 18 partial, 22 missing.**

| # | Section | Claim | Clause(s) | Status |
| --- | --- | --- | --- | --- |
| 1 | Hero | "Coaster reads every receipt" (Union Station Grill receipt "read ✓") | CAPTURE-003 | partial |
| 2 | Hero | "matches it to the card charge" (Amex ••1008 "matched to receipt") | FEED-004 | missing |
| 3 | Hero | "chases approvals" | FOLLOWUP-001 | done |
| 4 | Hero | "pays employees by ACH" | PAY-001 | missing |
| 5 | Hero | "syncs it all to QuickBooks or Xero" (QuickBooks Online card) | ACCT-001, ACCT-002 | missing |
| 6 | Hero | "100% free, open source alternative to Expensify, SAP Concur and Emburse" | OWN | done |
| 7 | Hero | Slack: "Who was at the $101.95 dinner?" and "$33.98 a person · under $75" | AGENT-002, CLAIM-007, CAPTURE-006 | missing |
| 8 | Hero, 06 | "Approved by Dana Kim … from Slack" | APPROVE-003 | partial |
| 9 | Hero, 07 | ACH "returned R03 … Bank updated · resent … settled" | PAY-001, PAY-002 | missing |
| 10 | 02 Trip | One claim from first receipt to paid back (C-1186, 5 receipts, $907.75) | COA-002, COA-006, COA-009 | partial |
| 11 | 02, 03 | "Jordan never typed an amount!" | CAPTURE-003 | partial |
| 12 | 03 Capture | Forwarded from Gmail, original message kept | CAPTURE-002 | partial |
| 13 | 03 | Camera snaps of receipts | CAPTURE-001 | partial |
| 14 | 03 | Hotel folio PDF dropped in Slack | CAPTURE-006 | missing |
| 15 | 03 | Lyft Business receipt "arrived on its own" | CAPTURE-007 | missing |
| 16 | 03 | Jordan's receipt inbox (Received / Reading / Read) | CAPTURE-004 | missing |
| 17 | 03, 06 | "$179 a night is over the $175 cap. Why this hotel?" and the explained exception | COA-004, POLICY-001 | partial |
| 18 | 03 | "add my Denver trip" builds draft claim C-1186 | AGENT-007, COA-010 | partial |
| 19 | 04 Read | Two-page folio read as one stay: the balance, not night 1; room split from tax | CAPTURE-003, CLAIM-007 | partial |
| 20 | 04 | Faded date marked unclear; Jordan's correction and the reading kept | CAPTURE-003 | partial |
| 21 | 04 | Itemized Lodging · Room / Lodging · Tax | CLAIM-007, COA-003 | done |
| 22 | 05 Match | Amex daily file, 61 new charges, 58 matched | FEED-002, FEED-004 | missing |
| 23 | 05 | Attendees added, per-person limit checked | CLAIM-007, AGENT-002 | partial |
| 24 | 05 | Coding by rule, past coding and merchant category | CODE-002 | done |
| 25 | 05 | Card $458.95 · out of pocket $448.80 · claim $907.75 | FEED-004, FEED-006 | missing |
| 26 | 05 | Submit inside Jordan's Slack thread (claim submitted 9:31 am) | COA-006, AGENT-007 | partial |
| 27 | 06 Approve | Lyft "approved by rule" | APPROVE-004, FEED-004 | partial |
| 28 | 06 | Friday reimbursements: 23 people, reviewed, Release | COA-009, PAY-004 | done |
| 29 | 06 | Standard ACH, settles Tue Oct 13 (bank holiday) | PAY-001, PAY-004 | missing |
| 30 | 06 | QuickBooks: 23 bills paid, receipts attached; card purchases posted | ACCT-001 | missing |
| 31 | 07 Return | R03 return detected and explained in plain words in Slack | PAY-001, NOTIFY-001 | missing |
| 32 | 07 | New account verified, notice to previous email, payments held 2 days | PAY-002 | missing |
| 33 | 07 | QuickBooks bill payment reversed and re-posted, 0 errors | ACCT-001, ACCT-006 | missing |
| 34 | 08 Map | The trip assembled: Oct 6–8, 5 receipts, $907.75, paid | AGENT-009 | missing |
| 35 | 09 Chase | Amex daily file health (last, next, holiday) | FEED-003 | missing |
| 36 | 09 | October Amex feed: 412 charges, 398 matched, 14 chased | FEED-004 | missing |
| 37 | 09 | Reminders after 2, 5 and 10 business days, quiet hours, then manager, then Megan | FOLLOWUP-001, FOLLOWUP-002 | done |
| 38 | 09 | Chases stop when the receipt arrives (27 closed) | FOLLOWUP-003 | partial |
| 39 | 10 Close | Amex corporate statement balanced to the cent | FEED-005 | done |
| 40 | 10 | QuickBooks Amex account tie-out with accruals | ACCT-001, ACCT-006 | missing |
| 41 | 10 | "hands Megan an accrual ready to post" | AGENT-008 | missing |
| 42 | 10 | 42 reimbursements paid, all cleared in QuickBooks | ACCT-001, PAY-001 | missing |
| 43 | 11 Policy | Coaster spots an exception everyone approves and proposes a fix | AGENT-005, AGENT-003 | partial |
| 44 | 11 | Replay on 12 months; adopt; v8 effective, past decisions keep v7 | AGENT-003, POLICY-001 | done |
| 45 | 12 Moving in | "Your Expensify history" moves in | COA-011, MOVE-001 | partial |
| 46 | 12 | Preview reviewed before anything moves | COA-011 | done |
| 47 | 12 | People from Gusto, approvers, categories → QuickBooks, tags, rules, 21,870 receipt images, 38 Amex cards | MOVE-001, ADMIN-002 | missing |
| 48 | 12 | Nothing paid twice (47 overlapping charges, 0 doubled; open reports reimbursable once) | MOVE-005 | partial |
| 49 | 12 | `npx -y @runeditrun/rer dev just-every/run-coaster` starts Coaster on your computer | COA-013 | partial |
| 50 | 12 | Synthetic export imports cover SAP Concur, Emburse, Ramp, Brex and Navan | MOVE-002, MOVE-003, MOVE-004 | done |
| 51 | 13 Closing | "100% free and open source. MIT licensed." | OWN | done |

## Status

Judged from the code and tests at commit `c499e79faf6e8c17cc0168ce8a96387f0d1b21d0` (27 October 2026). This identifies the reviewed starting tree. Status rows and subsequent scoped clause evidence describe the implementation tree carrying this file, including unlanded candidate work. The historical 21 October documentary judgment is not a new judgment of unrelated clauses. PAY-002 remains PARTIAL; scoped AGENT-007 evidence is updated by this fix round, with no landed completion claimed.

| Clauses | Done | Partial | Missing | Total |
| --- | ---: | ---: | ---: | ---: |
| Published | 13 | 0 | 0 | 13 |
| Target and push further | 47 | 36 | 21 | 104 |
| All | 60 | 36 | 21 | 117 |

| Clause | Title | Kind | Status | Evidence | Gap |
| --- | --- | --- | --- | --- | --- |
| `COA-001` | Business, categories and people set by the owner | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-002` | Receipt, mileage and per-diem expenses with receipt provenance | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-003` | Exact splits across categories and cost centers | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-004` | Policy exceptions explained, acknowledged and carried to the books | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-005` | An exact duplicate is never reimbursed twice | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-006` | The assigned approver decides the exact submitted revision | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-007` | Corrections never erase evidence | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-008` | Role-scoped access in every handler | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-009` | Reviewed reimbursement batches with reconciled exports | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-010` | Personal agents prepare; people decide | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-011` | Expensify report history move-in | published | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**preserveClaimSpine**, original role, provenance, revision, exact reimbursement and move-in assertion phases). |  |
| `COA-012` | Whole-installation export and restore | published | done | `tests/browser.mjs` (complete six-batch archive section); `tests/browser-archive.mjs`; `tests/journeys/screens-installation-concur.mjs`; `tests/journeys/screens-installation-cutover.mjs`; `tests/journeys/screens-installation-receipts.mjs` (full mixed-original dataset including HEIC and the 8 MB three-page PDF, frozen history and exact restore) |  |
| `COA-013` | Fresh-clone install and runtime | published | done | `tests/browser.mjs`; rer check; rer verify |  |
| `LOCALE-001` | US-first defaults | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/claim-spine.mjs` (**applyUsDefaults**); `tests/coaster.test.mjs`: **A US business pre-approves an itemized client trip, prices dated mileage and published per diem, then reimburses its exact tax and split lines**. |  |
| `CAPTURE-001` | Photo, file and bulk receipt upload | target | partial | `tests/coaster-capture.test.mjs`: **CAPTURE-001 thirty mixed uploads retain exact originals and provenance in a private inbox, including an 8 MB three-page PDF and HEIC; one refusal leaves valid files intact** (explicit complete inbox set, initial state, independent byte counts and SHA-256, exact downloads and retained R2 originals); **CAPTURE-001 inclusive size boundary, rejected signatures and forged uploads, legacy claim receipts and immediate deactivation** (inclusive limit and refusal with unchanged inbox). `tests/browser-capture.mjs`: **captureJourney** asserts one desktop drop containing 30 mixed valid originals and a refused 12 MB file in the middle, each visible state, byte count and hash, and exact downloads at 1440; the 390 smoke uses the camera input without claiming physical photography. Loaded by `tests/coaster-capture.test.mjs` and `tests/browser.mjs` in push Verify. `scripts/installer/capture-archive.mjs` and **assertRestoredInbox** retain original bytes and private history through CLI restore. | Physical phone photography through the 390 px intake remains unproved and requires an actual phone and camera. File selection through the camera input establishes only that input door. The remaining bulk-drop, visible-state, exact-original and oversized-file acceptance points have native assertions. Saved uploads initially need attention; explicit reading remains CAPTURE-003 and attachment remains CAPTURE-004. CAPTURE-001 stays PARTIAL. |
| `CAPTURE-002` | Email-in receipts | target | partial | `tests/coaster-capture.test.mjs`: **Forwarded HTML, PDF and inline photo receipts retain private source messages and replay exactly once** (three inbox originals and exact private source messages); **Unknown and unconfirmed sender mail stays owner-held; native alias proof grants future intake and erasure revokes it** (owner holding, future-only aliases and live delegate downloads); `tests/coaster-reader.test.mjs`: **Receipt disagreements ask one private crop-backed question across the labeled corpus, apply only confirmed answers and remind after two business days**; **Merchant email body and attachment readings share one confirmed-only question and retain both exact sources** (separate consent, unread-source matching refusal, one question, stale-source refusal and confirmed-only changes); `tests/coaster.test.mjs`: **APPROVE-006 an approver asks a named person about one expense without deciding; the answer closes the question and frozen comments stay in history** (native email answers, live identity, HTML, replay and erasure); `tests/coaster-capture.test.mjs` with `tests/coaster-capture.test.mjs` (inbox, aliases, held mail, source downloads, merchant questions and answered claims at 1440 and 390); `tests/browser.mjs` (exact originals, private question credentials and answer links restored; inconsistent evidence refused); `docs/receipt-email.md` | Native intake, independent merchant-body comparison and direct-provider email question answers implemented. PARTIAL pending ct ratification of owner destination consent, trusted event-envelope identity, future-only alias grants, private append-only receipt source custody and financial-erasure retention; accepted question replies retain only erasable comments and opaque replay digests. BLOCKED on Base managed-mail reply-address support: the pinned RER adapter refuses Reply-To before dispatch, so managed notifications remain app-only. Hosted domain routing proof remains pending; routing access is held, not an account blocker. |
| `CAPTURE-003` | Automatic receipt reading with a correction path | target | partial | `src/coaster/receipts/reading/`; `src/coaster/receipts/reading-coding.ts`; `src/ui/receipt-reading.tsx`; `src/ui/receipt-reading-fields.tsx`; `src/ui/quick-expense.tsx`; `tests/coaster-reader.test.mjs` ("Receipt reading requires both consents, keeps exact private evidence and returns only verified prefill"; "Receipt confidence is lowered by arithmetic and native conflicts; human correction keeps both readings and failure has explicit retry"; "Receipt reader authority survives neither delegate revocation nor terminal disposition and readers cannot widen their identity"); `tests/receipt-reading-quality.mjs`; `tests/fixtures/receipts/reader/measurement.json`; `tests/fixtures/receipts/reader/manifest.json`; `tests/coaster-reader.test.mjs` (readingScreens via tests/coaster-card-matching-volume.test.mjs); `scripts/installer/receipt-reading-archive.mjs` | Native consent, original reading/corrections, confidence and arithmetic/conflict checks, safe expense/matching prefill, standing self-consent and failure/retry are implemented. Actual gpt-6.1-sol public-door measurement on 3b12d8046b4223ede1d30abc53b73138c7e24951 reads all 46 frozen originals: merchant/date46/46 (100%), total45/46 (97.83%), zero confident-wrong or unflagged-different fields and zero incorrect confident expense prefills. The committed measurement includes every original and all nine field rates. The earlier368ac0c run failed the90% bar because PDFs lacked source regions; original PDF text/page geometry now accompanies the complete PDF, without replacing model output or guessing values. Native PDF values and original-page evidence were also used at1440/390. PARTIAL pending ct ratification of explicit outbound-processing consent and retained private reading history under opaque financial-record identity; network-edge fakes prove workflow only. Textract is not implemented. |
| `CAPTURE-004` | Receipt inbox and automatic attachment | target | done | `tests/coaster-capture.test.mjs` (**CAPTURE-001 thirty mixed uploads retain exact originals and provenance in a private inbox, including an 8 MB three-page PDF and HEIC; one refusal leaves valid files intact**, with **preserveReceiptCustody1/2** in `tests/journeys/receipt-custody-1.mjs` and `tests/journeys/receipt-custody-2.mjs`); `tests/coaster-statements.test.mjs` (**FEED-005 a statement with one missing charge and one refund is reconciled line by line, closed into the card ledger at the statement balance, grouped into a statement report that submits on schedule**, with **preserveCardCustody1/2** in `tests/journeys/card-custody-1.mjs` and `tests/journeys/card-custody-2.mjs`); `tests/browser.mjs` (**capture**, **cash**, **matching** and **core** journeys, via `tests/journeys/browser-receipt-custody.mjs`, `tests/journeys/browser-cash-attachment.mjs`, `tests/journeys/browser-matching.mjs` and `tests/browser-archive.mjs`): terminal lifecycle, live authority, merge, cash window, attachment, role privacy, matching basis, erasure, exact originals and all malformed lifecycle/matching archive refusals.; `tests/journeys/screens-installation-receipts.mjs` (bulk originals, terminal dispositions and expanded erased reasons in the whole-installation archive). | |
| `CAPTURE-005` | Inbox retrieval from Gmail and Outlook | target | missing |  | No Gmail or Outlook connection. |
| `CAPTURE-006` | Receipts by Slack, Microsoft Teams and text message | target | missing |  | No Slack, Teams or SMS intake. |
| `CAPTURE-007` | Merchant receipt feeds | target | missing |  | No merchant receipt feeds. |
| `FEED-001` | Card and bank connections through Plaid | target | partial | `tests/coaster-plaid.test.mjs` registers **companyPlaidJourney** from `tests/plaid-native.mjs` in the mandatory push Verify HTTP suite; it asserts the admin company connection, denied card-admin, approver, auditor and bookkeeper doors, session-bound replay refusal, stale-sign-in refusal, live Full company delegation and revocation, declared sandbox egress, masked account projection, sealed live credentials, ordered immutable history, explicit provider removal and retained estimated costs. **personalPlaidJourney**, registered in the same suite, asserts personal isolation, owner-cap refusal, expired and withdrawn-authority refusal, retained costs, manual claims and local personal-connection erasure. Network-edge fixtures prove this bounded native foundation only; they do not establish the full sandbox transaction acceptance. `tests/browser.mjs` — **roundTrip** uses the real CLI to preserve exact numbered history and cost estimates without account details through restore, exclude execution custody and refuse restored HTTP provider execution. | Native connection foundation only; adopted sandbox custody, consent and cost default awaits ct approval. The company authority, replay, cost and personal-custody journeys are registered in push Verify. `tests/plaid-sandbox.mjs` proves actual company and personal card connection, masked-account verification, admin authority, denied roles, USD estimates, cap refusal, continued manual claims and confirmed provider removal through native HTTP doors with held sandbox credentials; its value-free receipt names the tested source SHA. This receipt does not prove transaction sync or expense creation. Still unproved or unbuilt: browser Plaid Link screens; company account assignment and personal reimbursable expenses; incremental transaction cursor sync with added, modified, pending-to-posted and removed reconciliation; replay-safe expense identity; Ramp history overlap; pending receipt timing and exactly-once attachment; statement reconciliation and automatic coding inheritance; recurring account-month metering and cap enforcement; complete exact-candidate Plaid sandbox transaction receipt. Local erasure removes personal execution custody but establishes no remote provider deletion. The complete original acceptance remains binding. |
| `FEED-002` | Commercial card program feeds and statement import | target | partial | `src/coaster/cards/ofx.ts`; `src/coaster/cards/statement-csv.ts`; `src/coaster/cards/plan.ts`; `src/coaster/cards/charges.ts`; `migrations/core/0059_card_charges.sql`; `IMPORTING.md`; `tests/coaster-statements.test.mjs` (FEED-002, AUDIT-001); `tests/coaster-card-matching-volume.test.mjs`; `src/coaster/feeds/`; `migrations/core/0069_program_feeds.sql`; `tests/coaster-feed.test.mjs` ("CODE-002 actual scheduled SFTP public-key delivery creates coded card expenses once; active choices, human edits and disconnected consent remain guarded"); `tests/coaster-feed.test.mjs` (programFeedScreens via tests/coaster-card-matching-volume.test.mjs); `scripts/installer/program-feed-archive.mjs` ; `PROGRAM-FEEDS.md`; `tests/coaster-statements.test.mjs`, **FEED-002 QFX and mapped CSV import with masking, overlap flags, imported-history skips and an undo that keeps edited charges**, calls **importPrivateStatements** and **scanStatementStorage** in `tests/statement-archive.mjs`: compact, spaced, hyphenated and mixed-format account numbers repeated in transaction identifiers, descriptions, memos and unmapped fields are absent from every persisted database cell and R2 object. `tests/coaster-card-matching-volume.test.mjs` calls **scanStatementArchive**, **rejectUnsafeStatementArchives** and **verifyPrivateStatementDownloads** in the same helper: every decoded archive field, BLOB and reassembled object is scanned; OFX, QFX and mapped CSV masked bytes, size and SHA-256 survive public downloads and real CLI restore exactly; re-sealed unmasked originals and incorrect size or digest are refused before any destination row or object is written. `scripts/installer/statement-archive.mjs` is the new staged validator. | Statement file import (OFX, QFX and mapped CSV) previews, masks card numbers, commits company-card expenses and undoes untouched charges; an explicitly mapped CSV program feed now reads a pinned-host-key SFTP directory on schedule without uploads, retains masked originals and records issuer-sequence deduplication. Explicit owner/admin/finance consent gates connections; disconnect and in-flight revocation stop commits; credentials never enter an archive and restored connections stay off. Native screens expose configuration, delivery history and disconnect. GL1025, Visa VCF, Mastercard CDF3, PGP, enrollment, stale-feed alerts and the import-kit job runner remain unimplemented. The public-IPv4-only hosted destination and installation-sealed credential default await ct ratification; matching fixtures now prove exact archive round-trip and selected malformed-record refusals; complete statement-number storage scans, masked-original integrity and unsafe-original restore refusal are asserted, while remaining S1–S12 acceptance stays open; credit and foreign-currency rows are not turned into expenses.  Commercial formats require version-matched issuer layout and schema and sanitized sample bundles not held in this run; public fragments are insufficient to implement them without guessing. Inbound public SFTP additionally needs a managed TCP endpoint outside the present Workers-only deployment (Base infrastructure); outbound pinned SFTP pick-up is implemented. |
| `FEED-003` | Visible feed health and reconnection | target | missing | `migrations/core/0088_program_feed_health.sql`; `tests/coaster-feed-health.test.mjs` — **Mapped SFTP delivery health and authorized coverage reports preserve source dates, deadlines, replay and revocation**: real scheduled SFTP, explicit daily calendar, source-period coverage, late and invalid files, empty polls, replay, report CSV and authorized scheduled attachment, role refusals, disconnect, in-flight revocation and daylight-saving boundaries. `tests/journeys/browser-feed-health.mjs` — **runFeedHealthJourney** (loaded by the desktop phase in `tests/browser.mjs`): native Settings and Reports at 1440 and 390, last poll distinct from last file, next expectation, missed and late dates, CSV and schedule. `tests/feed-health-archive.mjs` — **restoreFeedHealth**: real CLI exact restore, inert provider execution and malformed coverage refused before writes; numbered immutable health and global history. | Main’s missing judgment is retained. Mapped CSV delivery health and source-bound coverage are narrower implementation evidence, not acceptance of the full FEED-003 provider journey. Mapped CSV test-server SFTP proves only the selected native workflow. Held remainder: authorized American Express GL1025 commercial-feed enrollment and version-matched layout and samples, the complete GL1025 missed and late-file journey, FEED-001 transaction sync and real login-required and update-mode backlog, Plaid freshness and reconnection, and owner and finance stale-feed alert delivery remain unproved. FEED-002 retains its managed inbound SFTP endpoint, issuer enrollment and layouts, PGP, import-kit runner and ct destination and credential-default holds (RL-106). Scheduled mail-adapter proof establishes no actual Postmark or mailbox delivery and no other NOTIFY-001 channel qualification. Every existing account, owner, ct, Base, device and sibling hold and prerequisite remains unchanged. |
| `FEED-004` | Card transaction expenses and receipt matching | target | done | `tests/coaster-card-matching-volume.test.mjs`: **FEED-004 twenty posted USD charges and opted-in originals yield eighteen automatic matches, two questions, a human answer, permanent undo and exported EUR basis**, including **preserveCardReporting1** in `tests/journeys/card-reporting-1.mjs`; `tests/coaster-statements.test.mjs` (surviving **FEED-005** journey with **preserveCardCustody1/2** in `tests/journeys/card-custody-1.mjs` and `tests/journeys/card-custody-2.mjs`): immutable liability/keys, duplicates, matching consent/privacy/skip/undo, exact boundaries, frozen basis and mixed-rule approvals/sampling; `tests/coaster-policy-advice.test.mjs` with **preservePolicyAdvice** in `tests/journeys/specialized-policy-advice.mjs` (card replay); `tests/browser.mjs` (**matching** and **policy-agent**, via `tests/journeys/browser-matching.mjs` and `tests/browser-policy-review.mjs`): native 1440/390 consent/questions/undo, statement close, mixed rule approval, samples, immutable history and exact CLI restore. | — |
| `FEED-005` | Card statement reconciliation and liability clearing | target | done | `src/coaster/cards/reconcile.ts`; `src/coaster/cards/reconcile-analysis.ts`; `src/coaster/cards/ledger.ts`; `tests/coaster-statements.test.mjs`: **FEED-005 a statement with one missing charge and one refund is reconciled line by line, closed into the card ledger at the statement balance, grouped into a statement report that submits on schedule**, including the missing-charge/stale/unfooted/next-opening assertion phase in **preserveCardCustody2** (`tests/journeys/card-custody-2.mjs`); `tests/browser.mjs` (**matching**, `tests/journeys/screens-statements.mjs` **statementScreens** and **statementPrivacyScreens**, 1440/390 and exact CLI archive restoration). | None for the current statement-file door. Ct approved as landed (22 Oct 11:40Z): finance/owner explicit permanent close and financial history; no outbound; ACCT-001–003 inherit connected posting and connected-ledger card account tie-out. ACCT-006 inherits reversals; FEED-001 and FEED-002 program feeds inherit this reconciliation door before they ship. |
| `FEED-006` | Individual-liability corporate cards | target | missing | `tests/coaster-individual-liability.test.mjs`, **Individual-liability SFTP charges reimburse only four approved business purchases once and freeze attributable evidence**, proves scheduled mapped-CSV ingestion, explicit six-charge identity, two personal exclusions, four employee accounting lines totaling USD 100.00, four exact transaction keys, company-card exclusion, authority and stale-state refusal, frozen source and numbered history. `tests/browser-individual-liability.mjs` shows configuration, classification and the batch at 1440 and 390 with tooltip proof. `tests/individual-liability-archive.mjs`, **individualArchive**, proves identical real CLI financial and history restore and staged corruption refusal without destination writes.  The same HTTP file also asserts cash-purchase replay refusal, Desktop company-liability contrast, permitted native connection roles and refused Full delegation under the newer SEC-001 boundary, deactivation without liability transfer, and submitted and paid classification refusal. The archive journey additionally rejects forged key prefixes and offsetting frozen-amount changes. | Current main’s missing judgment is retained during conflict resolution; the new native evidence does not establish completion. Owner-authorized QuickBooks sandbox company access and posting a bill to the employee rather than a card-account purchase remain unproved. Actual PAY-001 and PAY-003 reimbursement, provider repayment history, optional direct-to-card-account payment where the issuer supports it, and all inherited FEED-001 and FEED-002 duties remain open with their existing prerequisites. Original-cardholder-authorized scoped human classification delegation for assisted workflows remains to be implemented and proved. Exact-candidate completed Verify and sentence-level assertion and mutation receipts remain unestablished for completion. Batching is not settlement, and the native liability selection establishes no legal liability transfer. No scope is carved. |
| `CARD-001` | Company cards through an issuing partner | target | missing |  | No issuing partner integration. |
| `CARD-002` | Personal spend on company cards | target | missing |  | No personal-spend repayment. |
| `CLAIM-001` | US mileage | target | partial | `src/coaster/items.ts`; `tests/coaster.test.mjs` (COA-002) | Mileage is miles × the IRS rate in force on its date (LOCALE-001) with exact rounding; no miles default, address routing, multi-stop, commute deduction, odometer or GPS trips. |
| `CLAIM-002` | GSA per diem by location | target | done | `tests/coaster.test.mjs`: **A US business pre-approves an itemized client trip, prices dated mileage and published per diem, then reimburses its exact tax and split lines**; `tests/journeys/specialized-per-diem.mjs` (**preservePerDiem**, all four original published-rate and refusal phases); `tests/browser.mjs` (**core**, `tests/browser-per-diem.mjs` **perDiemJourney** at 1440/390, independent daily amounts and exact restore). |  |
| `CLAIM-003` | Foreign-currency expenses | target | done | `tests/coaster-fx.test.mjs` (CLAIM-003, DATA-001); `tests/coaster.test.mjs`: **A US business pre-approves an itemized client trip, prices dated mileage and published per diem, then reimburses its exact tax and split lines**; `tests/journeys/specialized-fx-imports.mjs` (**preserveForeignImports**, Ramp/Emburse and Concur signed foreign-history assertion phases); `tests/coaster-statements.test.mjs` (**preserveCardCustody1/2**, EUR matching boundaries). | Card matching inherited by FEED-004 before it ships. |
| `CLAIM-004` | Cash advances | target | done | `src/coaster/advances.ts`; `src/coaster/batches.ts`; `src/coaster/accountable-plan.ts`; `src/ui/advances.tsx`; `tests/coaster.test.mjs` (CLAIM-004) |  |
| `CLAIM-005` | Spend requests and trip pre-approval | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `CLAIM-006` | Billable expenses and client rebilling | target | partial | `src/coaster/items.ts`; `src/ui/item-form.tsx`; `tests/coaster-pdf.test.mjs` (CLAIM-006) | Native billable/customer/project coding, immutable revisions, accounting CSV/XLSX fields and customer/project-filtered PDFs ship; customer/project ledger sync, billable ledger attachments and Gauge rebilling remain. |
| `CLAIM-007` | Itemization, attendees and required fields | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `CLAIM-008` | Accountable-plan compliance and non-employee claims | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `CLAIM-009` | Recurring expenses and stipends | target | done | `tests/coaster.test.mjs` (CLAIM-009 stipend/allowance journey); `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-claims.mjs` (**serializeAllowanceConsumption**, through **preserveOperationsLifecycle**). |  |
| `CODE-001` | Accounting dimensions from the ledger | target | partial | `tests/coaster-auto-coding.test.mjs` ("CODE-001 native hierarchy import, category requirements and every submission retain real coding and reject invalid parents atomically"; "CODE-001 projects group exact split and tax spend, with project and tag budget actuals on frozen coding"; "CODE-001 project-owner workflows resolve persisted owners, freeze reviewers and refuse self approval"); `tests/coaster-qbo.test.mjs` ("CODE-001 QuickBooks consent is session-bound; daily metadata changes and archived choices reach the real catalog without manual sync", Intuit network edge only); `tests/coaster-auto-coding.test.mjs` (codingScreens via tests/coaster-card-matching-volume.test.mjs, native settings, dependent expense choices, project spend and budget at 1440/390); `src/coaster/coding/`; `src/coaster/accounting/qbo/`; `QBO.md` | Native hierarchy import, per-category requirements, frozen coding, project grouping, project/tag budgets and project-owner routing ship. The real QuickBooks OAuth and daily metadata adapter has network-edge proof, but the clause requires a live QuickBooks sandbox receipt: authorized company access is unavailable (held app credentials alone do not authorize a company; _od08-env.py refused missing QBO_REFRESH_TOKEN). Sandbox choices, new-class discovery and archived-class removal remain unproved live. ACCT-002/003 provider catalogs and ADMIN-002 HRIS defaults remain with those clauses. |
| `CODE-002` | Automatic coding | target | done | `src/coaster/coding/automatic/`; `tests/coaster-auto-coding.test.mjs`: **CODE-002 labeled 120-charge and 120-receipt corpus measures finance-rule exact coding and twelve-month repeat learning through native public doors**, including **preserveAutomaticCoding1** in `tests/journeys/automatic-coding-1.mjs` (guarded rules, correction/undo/rates, private receipt coding, frozen approver feedback and consented BaseAI output/concurrency refusals); `tests/coaster-feed.test.mjs`; `tests/coding-attachment-quality.mjs` (**runAttachmentCodingQuality**, full old and semantic corpora, separate intake/final measurements and exact-matching final-stage assertions); `tests/browser.mjs` (**matching**, `tests/journeys/screens-automatic-coding.mjs` **automaticCodingScreens**, native rules/sources/acceptance rates and receipt decisions at 1440/390). | None for the current doors. Ct approved as landed (22 Oct 11:40Z): own-private observations, submitted aggregates only; processing uses explicit separate reading/coding consent and existing erasure/retention. Historical actual-provider final repeat402/432 (93.06%) and intake378/432 (87.50%) remain separate observations, never acceptance thresholds; the existing acceptance remains 100% finance-rule exactness and at least90% full-repeat category agreement. Exact-candidate external run sx-coaster-c38-code-002 executes the committed full-corpus final-stage assertions outside push Verify; every unmatched/abstaining case remains counted. FEED-001 and FEED-002 commercial GL1025/VCF/CDF3 forms inherit this service before they ship. |
| `POLICY-001` | Versioned policy rules | target | done | `tests/coaster-policy.test.mjs`: **POLICY-001 finance publishes versioned rules: a soft daily meal limit, a hard blocked merchant and a hard 90-day deadline fire naming their version, and a later version leaves older claims on theirs**, including **preservePolicy** in `tests/journeys/specialized-policy.mjs` (all original configuration, rule-kind, period-total, hold-release and upgrade assertions). |  |
| `POLICY-002` | Duplicate and fraud signals | target | done | `tests/coaster-receipt-signals.test.mjs`: **Finance investigates related split and edited receipts across employees without contacting them or changing payment, and records a human outcome**, including **preserveReceiptSignals1** (`tests/journeys/receipt-signals-1.mjs`, all original metadata/image/pattern/card-disagreement assertions), `tests/receipt-signal-scenarios.mjs` (numeric comparison evidence and ordinary-compression caveat) and **cleanSignalMeasurement** (`tests/journeys/receipt-signal-population.mjs`, all detectors and duplicate exceptions together on 300 legitimate expenses / 20 employees, every observation evidenced and queued); `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit** (independent advisory risk weight 1, **preserveFinanceAnalysis**); `tests/coaster-statements.test.mjs` (**preserveCardCustody1/2**, complete role/privacy matrix); `tests/browser.mjs` (**signals**, `tests/journeys/browser-signal-investigation.mjs`, 1440/390 evidence, legitimate review, paid-with-unresolved and queue end states). | — |
| `POLICY-003` | Finance exception queue and audit sampling | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `APPROVE-001` | Multi-step conditional approval workflows | target | done | `tests/coaster-workflow.test.mjs`: **APPROVE-001 owner configures three conditional paths; frozen reviews finish once and reimburse exactly the approved total**, including **preserveWorkflow**, **preserveWorkflowLifecycle** and **preserveFinanceDelegation** (`tests/journeys/specialized-workflow.mjs`, `tests/journeys/specialized-workflow-lifecycle.mjs`, `tests/journeys/specialized-finance-delegation.mjs`); `tests/coaster-admin.test.mjs` with **preserveAdministration** (`tests/journeys/specialized-admin.mjs`): all original category/project/parallel/request/stipend, delegation, return/reject/hold/restart, finance-role, department and hierarchy routing assertions. | Current claims and spend requests use frozen conditional sequential/parallel workflows, with ADMIN-001's department conditions and department-head and manager's-manager reviewers; CODE-001 carries project-owner resolution. |
| `APPROVE-002` | Delegation, out of office and reassignment | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `APPROVE-003` | Approve anywhere | target | partial | `src/ui/approvals.tsx`; `tests/browser.mjs`; `tests/coaster-workflow.test.mjs` ("Bulk decisions require per-claim review and exceptions, refuse stale or unauthorized claims unchanged, and record three exact revisions"; "Bulk approval preserves workflow stages, mixed results, live delegation and self-approval refusal"); `tests/coaster-workflow.test.mjs` (native queue selection, exception review and three recorded decisions; browser screens at 1440 and 390, loaded by push Verify) | Native phone-width web decisions and bulk queue approval are implemented. Email-link approval with one-use, expired and reused-link refusal; authenticated Slack and Microsoft Teams approval; channel-specific connection permissions and stale-revision journeys for those channels; and native-app approval remain unproved. Teams needs a licensed Microsoft 365 test workspace and user consent; native devices remain MOBILE-002. APPROVE-003 stays PARTIAL; bulk approval does not establish another channel. |
| `APPROVE-004` | Rule-based auto-approval | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `APPROVE-005` | Hold one expense, approve the rest | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `APPROVE-006` | Comments and questions without a decision | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `APPROVE-007` | Retract a submitted claim and unapprove before payment | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `FOLLOWUP-001` | Reminders that chase people | target | done | `src/coaster/reminders.ts`; `src/coaster/business-days.ts`; `migrations/core/0029_reminders.sql`; `src/ui/settings.tsx`; `tests/coaster.test.mjs` (FOLLOWUP-001) |  |
| `FOLLOWUP-002` | Escalation with service levels | target | done | `src/coaster/escalations.ts`; `src/coaster/reminders.ts`; `migrations/core/0030_escalations.sql`; `src/coaster/views.ts`; `src/coaster/reports.ts`; `src/ui/approvals.tsx`; `tests/coaster.test.mjs` (FOLLOWUP-002) |  |
| `FOLLOWUP-003` | Missing-evidence chasing on card spend | target | partial | `tests/card-chases.mjs`: **proveCardEvidenceReminders**, loaded by the existing FOLLOWUP-001 public-door test (statement import, delayed discovery, below-threshold receipt, three mail-adapter identities and numbered history, quiet hours, weekend, replay and a newly due step suppressed after attachment); **proveCardEvidenceCompletion**, loaded by that same reminder test (memo, category field and finance policy field, overdue catch-up, native edits and closure). `tests/coaster.test.mjs` shows the native expense, reminder history and receipt attachment at 1440 and 390; loaded by the policy-review browser group. `tests/card-chases.mjs`: **proveCardEvidenceEscalations**, loaded by the existing FOLLOWUP-002 public-door test proves manager escalation at seven business days, finance at nine, exact recipients and mail identities, replay refusal and evidence closure while the unsubmitted-claim task remains independent. These are native and controlled mail-edge proofs, not mailbox delivery or issuer actions. | Issuer freeze after seven days and receipt-driven issuer unfreeze remain unbuilt and unproved: CARD-001 requires an enabled Stripe Issuing or Lithic test program, which is not held. Native evidence completion stops the chase but grants no issuer authority and establishes no freeze or unfreeze. Broader notification-channel and preference duties remain with NOTIFY-001. FOLLOWUP-003 remains PARTIAL; the complete original acceptance remains binding. |
| `NOTIFY-001` | Notification delivery and preferences | target | missing |  | Mail is used only for sign-in invitations; no event notifications, preferences or chat delivery. |
| `AUTO-001` | Automatic reports and scheduled submission | target | done | `src/coaster/auto-reports.ts`; `src/coaster/holds.ts`; `migrations/core/0035_auto_reports.sql`; `src/ui/quick-expense.tsx`; `src/ui/settings.tsx`; `tests/coaster.test.mjs` (AUTO-001) |  |
| `PAY-001` | ACH reimbursement through a payment provider | target | missing |  | Payment happens outside Coaster and finance records it (COA-009). |
| `PAY-002` | Employee bank details and change protection | target | partial | `tests/coaster-bank.test.mjs` — "Employees add a bank account by instant verification and another by micro-deposits, and Coaster keeps only sealed tokens and the last four" asserts both methods, wrong-deposit and non-instant refusal, fresh sign-in, sealed database custody, provider-label number exclusion and disconnect between provider requests; "Changing the account tells the address on record, holds payments for the cooling-off period and releases them after it, in numbered history" asserts the previous-contact notice, saved three-day deadline, payment refusals, before-deadline refusal, after-deadline release and once-only numbered history; "Bank details are read by the owner and finance and by each person for their own only, refused to every delegate, and erased with the person" asserts the role matrix, own-only access, delegate refusal, immutable history and same-transaction erasure. `tests/coaster-admin.test.mjs` — "ADMIN-001 the permission matrix: each role as a single-role person succeeds at every permitted cell through its public route and is refused every other with 403 and no write" includes the bank-status door. `tests/coaster-bank.test.mjs` — journey shows native Settings provider, pending, verified, changed-held and finance states at 1440 and 390. `tests/browser.mjs` — roundTrip asserts sealed token and last-four-only archives, provider exclusion, exact accounts and ordered history after restore, corrupt archive refusal and the next archive after erasure. `tests/bank-sandbox.mjs` — journey uses actual Plaid sandbox instant verification and Stripe test micro-deposits, wrong-amount refusal and replacement; its sanitized external receipt is retained by the fleet, never in this public repository. Native gate repairs: `tests/coaster-bank.test.mjs` — "Restored bank evidence can be replaced after explicit provider reconnection without the old installation secret" proves inert historical ciphertext can be replaced only after reauthorization; "A committed bank replacement sends and records the previous-contact notice even if its native session is then revoked" proves the committed safety notice survives session withdrawal. The cooling-off journey asserts hold-specific refusal on a released batch for both recorded payment and the real payroll handoff door, zero payroll writes, and inclusion on the first eligible payday after hold release. `tests/browser.mjs` also replaces the account after a real CLI restore under a new installation secret and explicit provider reconnection. | Native verification, custody, cooling-off, erasure and permission foundations are implemented; PAY-002 remains PARTIAL. The conservative owner-connected sandbox and test-mode provider, cooling-off and inactive-restore defaults above await ct approval. Production verification is not implemented; actual provider-hosted browser collection with the installation’s publishable key and actual previous-contact mailbox delivery remain unproved. Bank details establish no PAY-001 disbursement or production payment authority. PAY-001 remains MISSING and must honor the saved hold at each physical transfer request, without preventing reconciliation of an already submitted operation. The full original acceptance remains binding. |
| `PAY-003` | Payroll reimbursement route | target | partial | `tests/coaster-payroll.test.mjs` — "Payroll preserves the reviewed split, waits for exact provider confirmation, and retains immutable numbered history" proves the actual non-accountable and stipend split, pending-payment gate, exact readback, immutable ordered history and erasure; "Payroll refuses unauthorized handoffs and recovers a lost provider acknowledgement without another payment write" proves native authority, withdrawal and once-only recovery; "A native batch crossing Gusto’s employee page limit reconciles every person and confirms only the complete receipt" proves complete pagination. `tests/coaster-payroll.test.mjs` — journey proves connection, mapping, split review, unpaid and confirmed screens plus tooltips at 1440 and 390. `tests/browser.mjs` — roundTrip proves identical pending and confirmed financial history through CLI export and restore, credential exclusion and re-sealed corruption refusal. Provider network-edge fixtures prove native behaviour only. Live Gusto proof: `tests/gusto-sandbox.mjs` — journey, with actual successful provider output in `evidence/payroll-gusto-sandbox.jsonl`, ran source 73b05daad2128092d1abd4f7821594c09718c0bc: next regular payroll ea17513b-8fef-43f6-ac7a-dab69e71be73 contained 10.00 reimbursement and 12.00 taxable Bonus (5.00 non-accountable expense plus 7.00 taxable stipend), then processed with submit_success and a matching receipt; both native claims became reimbursed. Repeated send and confirmation retained one provider amount write and one payment history line. | **Remaining PAY-003 scope and proof:** The complete Gusto developer-sandbox acceptance has no receipt on the reviewed SHA. Production Gusto connection and the ADP RUN, Paychex Flex and Rippling routes remain unimplemented, as do the documented contractor route and advances exceeding remaining non-taxable reimbursement. Direct proof remains absent for delegate, agent and owner-own-claim handoff refusal; contrasting unsupported-currency and payroll-selection cases; mismatched provider receipts; sealed live credential custody; restored HTTP execution refusal; and payroll-handoff retention with its batch. Existing native assertions and historical sandbox evidence remain evidence of their stated scope. PAY-003 remains PARTIAL. |
| `PAY-004` | Payment controls and schedules | target | done | `src/coaster/batches.ts`; `src/coaster/settings.ts`; `src/coaster/hourly.ts`; `tests/coaster.test.mjs` (PAY-004); `tests/browser.mjs` (archive section) |  |
| `PAY-005` | Reimbursing employees outside the US | target | missing |  | No payment provider, so no international payouts. |
| `ACCT-001` | QuickBooks Online two-way sync | target | missing |  | No QuickBooks Online connection, posting triggers, scheduled refresh, vendor creation or payment status sync. |
| `ACCT-002` | Xero two-way sync | target | missing |  | No Xero connection, posting triggers, scheduled refresh or payment status sync. |
| `ACCT-003` | Pantry sync | target | missing |  | No Pantry connection, posting triggers, scheduled refresh or payment status sync. |
| `ACCT-004` | NetSuite and Sage Intacct | target | missing |  | No NetSuite or Sage Intacct connection. |
| `ACCT-005` | Exports alongside live sync | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `ACCT-006` | Posting integrity and close | target | missing | Native account-code overlay only: `tests/coaster-accounting-corrections.test.mjs`; `tests/browser-accounting-corrections.mjs`; `tests/accounting-corrections-archive.mjs`; `migrations/core/0086_account_corrections.sql`. Additional native evidence covers independent split corrections, replaced-batch frozen selections, public history mutation refusal, competing corrections, reviewer reassignment, completed decisions, post-write guards, all existing posting states, and malformed allocation/provenance/chain restoration refusal. | Main’s missing judgment is retained: native overlays and frozen exports do not prove ledger error queues, period locks or reversals. The narrower manual-purchase door does not satisfy ACCT-008’s all-kind eligibility, expense-specific posting checks or combined reversal journey. Owner-authorized accounting sandbox access remains required for the ledger acceptance. |
| `ACCT-007` | QuickBooks Desktop connection | target | done | `tests/coaster-qbo.test.mjs`: **ACCT-007 Desktop scheduled SOAP catalog, posting replay and isolated error retry use the native role fences and immutable audit history**; `tests/browser.mjs` (**desktop**, **runDesktopConnectionJourney** in `tests/journeys/browser-desktop-connection.mjs`): configuration/catalog/mapping, failed/successful posting and focused tooltip at 1440/390; exact CLI export, empty restore and re-export of every portable record and connector setup/sync history field; `DESKTOP.md`. | None. The accepted network-edge Desktop proof does not complete ACCT-001 or ACCT-006. |
| `ACCT-008` | A coding correction is refused only for the expense's own closed posting | target | missing | None. | Coding-correction eligibility, per-expense posting checks and the combined public-door journey remain unproved; ACCT-006 retains its separate error-queue, close and reversal obligation. |
| `REPORT-001` | Spend analytics | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `REPORT-002` | Operational and compliance reports | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `REPORT-003` | Searchable audit history and auditor access | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `REPORT-004` | Budgets with threshold alerts | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `REPORT-005` | Claim PDF with receipts | target | done | `src/coaster/claim-pdf.ts`; `src/coaster/pdf-receipts.ts`; `src/coaster/pdf-layout.ts`; `tests/coaster-pdf.test.mjs` (REPORT-005) |  |
| `API-001` | Public API and webhooks | target | partial | `tests/coaster-api.test.mjs` ("API scoped keys prepare only own drafts, expose resource projections and invalidate on access changes"; "API OAuth requires explicit native owner consent, exact redirect and single-use PKCE S256"; "API consented signed webhook outbox announces native approval and external payment recording, retries and revokes"; "API frozen approved report preserves submitted evidence and refuses unscoped, private, editable and invalid access" per frozen-report behavior); `src/coaster/public-api/`; `migrations/core/0064_public_api.sql`; `API.md` | The frozen approved-report door for PURSE INTAKE-006 ships with explicit claim-reports:read, current native visibility, exact submitted coding and advisory evidence, decision authority and revision identity, and claim-only batch and external-payment evidence. All original API-001 acceptance actions have named public-door assertions. PARTIAL pending ct approval of the adopted owner-only, self-bound, expiring read and own-draft credential boundary, the new approved-report read grant and explicitly consented minimal-metadata webhooks. Hostname webhook destinations remain blocked on trusted Base DNS-pinned egress under the Base HOLD; current global IPv4-literal delivery is unchanged. Wider principals and provider-originated settlements are not claimed. |
| `ADMIN-001` | People, roles, departments and the permission matrix | target | done | `tests/coaster-admin.test.mjs`: **ADMIN-001 the permission matrix: each role as a single-role person succeeds at every permitted cell through its public route and is refused every other with 403 and no write**, including **preserveAdministration** and **preserveSuccessorHandoff** (`tests/journeys/specialized-admin.mjs`, `tests/journeys/specialized-handoff.mjs`): departments, hierarchy, scoped spend/budgets/stipends, escalation chains, hierarchy routing and named successor handoff; `tests/browser.mjs` (**core**, `tests/browser-journey.mjs` **ownerScreens** at 1440/390). | None. Rows and parts of rows with no door yet are carried in their own text and acceptance by CARD-001, PAY-001, PAY-002, FEED-001, FEED-002, ACCT-001 to ACCT-004, ACCT-006, ACCT-007, ADMIN-002, CAPTURE-006, APPROVE-003 and NOTIFY-001. |
| `ADMIN-002` | HRIS roster sync | target | missing |  | No HRIS connection. |
| `ADMIN-003` | Single sign-on and provisioning | target | partial | `src/auth.server.ts` | The Base identity-provider dependency is declared; no tested SAML/OIDC sign-in, SCIM provisioning or SSO-required journey. |
| `ADMIN-004` | Multiple entities | target | missing |  | One business per installation. |
| `ADMIN-005` | Delegates who prepare and submit for someone else | target | done | `tests/coaster.test.mjs`: **A proposed receipt becomes a corrected, reviewed and paid claim exactly once, with private drafts and immutable evidence**; `tests/journeys/operations-lifecycle.mjs` (**preserveOperationsLifecycle**, via `tests/journeys/operations-claims.mjs`, `tests/journeys/operations-approvals.mjs`, `tests/journeys/operations-questions.mjs` and `tests/journeys/operations-delegates.mjs`): original claim, decision, question and delegate assertion phases. |  |
| `MOBILE-001` | Phone-width web app | target | done | `src/ui/item-form.tsx`; `src/ui/approvals.tsx`; `tests/browser.mjs` |  |
| `MOBILE-002` | Native iOS and Android apps | target | missing |  | No native apps. |
| `MOVE-001` | Complete Expensify move-in | target | partial | `src/coaster/imports/expensify.ts`; `src/coaster/imports/configuration.ts`; `src/coaster/imports/concur-policy.ts`; `scripts/expensify/export.mjs`; `tests/coaster-concur.test.mjs`: **MOVE-001 Expensify configuration previews exact people, chains, categories, tags, rules and last-four assignments and undoes unused rows** (configuration mapping, nonwriting preview, originals, undo); **MOVE-001 report receipts retain exact image bytes on their expenses, bind preview changes and undo without creating payable claims** (open/closed reports, image association, exact bytes, unmapped columns, undo); **MOVE-001 Integration Server command requires explicit consent, selects read-only jobs and keeps credentials out of retained exports** (source API jobs, consent, custody, authentication refusal); **MOVE-001 erasure withdraws the policy original, replaces imported cardholder identity and prevents undo/reimport resurrection**; `tests/coaster-concur.test.mjs`: **expensifyJourney** (native configuration/receipt import and undo at 1440/390), invoked by `tests/browser-policy-review.mjs` before **policyReviewArchive** (exact export/restore). | Export-set implementation and synthetic public-door proofs ship. Conservative optional source-export default: explicit host-operator consent, no persisted credential or scheduled/destructive/outbound follow-up action; ct ratification pending. No actual Expensify account exercised. |
| `MOVE-002` | SAP Concur move-in | target | done | `tests/coaster-concur.test.mjs`: **MOVE-002 owner previews, maps and imports Concur configuration and allocated SAE history with indexed receipts; native policy and chain work and undo compensates without rewriting history**, including **preserveConcurCustody1** (`tests/journeys/concur-custody-1.mjs`, sensitive-original/mapping/unsupported-rule refusals and upstream-ID erasure/undo/reimport assertions). |  |
| `MOVE-003` | Emburse move-in | target | done | `tests/coaster.test.mjs`: **Migration previews exact source bytes, preserves read-only history, flags reclaims, undoes and reimports each incumbent**; `tests/journeys/operations-custody.mjs` (**preserveOperationsCustody**, via `tests/journeys/operations-migration-history.mjs`, `tests/journeys/operations-import-configuration.mjs`, `tests/journeys/operations-import-chains.mjs` and `tests/journeys/operations-erasure.mjs`): original exact incumbent history/configuration/custody, ordered imported approval chain and financial erasure assertions; `tests/browser.mjs` (**core**, **capture** and **matching**, exact originals and pseudonymized CLI restoration). |  |
| `MOVE-004` | Ramp, Brex and Navan move-in | target | done | `tests/coaster.test.mjs`: **Migration previews exact source bytes, preserves read-only history, flags reclaims, undoes and reimports each incumbent**; `tests/journeys/operations-custody.mjs` (**preserveOperationsCustody**, via `tests/journeys/operations-migration-history.mjs`, `tests/journeys/operations-import-configuration.mjs`, `tests/journeys/operations-import-chains.mjs` and `tests/journeys/operations-erasure.mjs`): original exact incumbent history/configuration/custody, ordered imported approval chain and financial erasure assertions; `tests/browser.mjs` (**core**, **capture** and **matching**, exact originals and pseudonymized CLI restoration). |  |
| `MOVE-005` | Cutover without double counting | target | partial | `src/coaster/exceptions.ts`; `src/coaster/imports/cutover.ts`; `src/coaster/imports/carry.ts`; `src/ui/cutover-report.tsx`; `tests/coaster-concur.test.mjs`; `tests/coaster-concur.test.mjs` (MOVE-005) | Cutover inventory and employee-owned open-report carry into normally approved native claims are asserted, including three open reports reimbursed once and undo/reimport reservations. `tests/coaster-cutover.test.mjs`: **MOVE-005 a connected scheduled SFTP month excludes imported Expensify card history once while the cutover inventory retains every source record** closes current mapped-CSV SFTP overlap/replay proof. DONE is blocked on authorized accounting-provider posting reconciliation (ACCT-001/PAY-001 company/access/refresh authority not held); future live-feed forms retain their own overlap duty; carry supports reimbursable purchases only, with explicit categories and native receipt evidence. |
| `INTEG-001` | Travel booking context | target | missing |  | No travel tool connection. |
| `SIBLING-001` | Handoffs to neighboring products | target | partial | `src/auth.server.ts`; `src/modules/dependencies/auth.mjs` (Auth OIDC sign-in dependency) | No Pantry, Purse, Willow, Gauge, Nook or Crank handoffs, or tested cross-product outcome and failure journeys. |
| `AUDIT-001` | Append-only history of every action | target | done | `tests/coaster.test.mjs`: **Finance closes the books with reconciled exports, spend, budgets, reports and an independent audit**; `tests/journeys/operations-finance.mjs` (**preserveOperationsFinance**, via `tests/journeys/operations-finance-analysis.mjs`, `tests/journeys/operations-reporting.mjs` and `tests/journeys/operations-audit.mjs`): original exact export, scoped spend, budget, report delivery, queue/sample, auditor and append-only history assertions; `tests/browser.mjs` (**core**, exact history/archive restoration). |  |
| `ERASURE-001` | Personal-data erasure with financial-record retention | target | done | `tests/coaster.test.mjs`: **Migration previews exact source bytes, preserves read-only history, flags reclaims, undoes and reimports each incumbent**; `tests/journeys/operations-custody.mjs` (**preserveOperationsCustody**, via `tests/journeys/operations-migration-history.mjs`, `tests/journeys/operations-import-configuration.mjs`, `tests/journeys/operations-import-chains.mjs` and `tests/journeys/operations-erasure.mjs`): original exact incumbent history/configuration/custody, ordered imported approval chain and financial erasure assertions; `tests/browser.mjs` (**core**, **capture** and **matching**, exact originals and pseudonymized CLI restoration). |  |
| `RETAIN-001` | Record retention and legal hold | target | done | `src/coaster/retention.ts`; `migrations/core/0036_retention.sql`; `src/coaster/batches.ts`; `src/ui/retention.tsx`; `tests/coaster.test.mjs` (RETAIN-001) |  |
| `SEC-001` | Financial data and provider credential custody | target | partial | `tests/coaster-payroll.test.mjs` — **Payroll refuses unauthorized handoffs and recovers a lost provider acknowledgement without another payment write**; `tests/coaster-feed.test.mjs` — **CODE-002 actual scheduled SFTP public-key delivery creates coded card expenses once; active choices, human edits and disconnected consent remain guarded; SEC-001 requires recent native connection authority**: native HTTP stale refusal before provider access or credential persistence, fresh sign-in retry, in-flight authority and freshness withdrawal, both commit guards, role and delegate and key refusals, sealed custody and immediate disconnect. `tests/coaster-payroll.test.mjs` — **journey** and `tests/coaster-feed.test.mjs` — **programFeedScreens**: actionable stale-session refusal and successful fresh native sign-in retry at 1440 and 390. Network-edge fixtures establish only this native session boundary. | Native recent-sign-in scope is limited to Gusto Demo connection and mapped CSV SFTP configuration. Residual required access: authorized provider company and funding grants, especially PAY-001 for real payment, bank-change and connection step-up and full connected-provider custody scans. Each-provider qualification, token-and-last-four custody, encrypted-at-rest credentials, database and archive scans for clear account numbers and tokens, credential exclusions, named restore checklists, configured passkey or SSO step-up and every other unproved payment-release, bank-change and provider-connection journey remain owed. Existing evidence proves only its stated scope. FEED-002 managed inbound SFTP infrastructure, issuer enrollment and layouts and ct destination and credential-default holds, PAY-003 recorded hold and all other lane holds and prerequisites remain unchanged. |
| `DATA-001` | Declared external data flows | target | done | `seed.json`; `tests/harness.mjs`; `tests/identity-provider.mjs`; `tests/coaster.test.mjs` (DATA-001) |  |
| `A11Y-001` | Accessible screens | target | partial | `tests/browser.mjs`; `tests/browser-accessibility.mjs` (A11Y-001); `src/ui/shell.tsx` | Keyboard-only claim creation, receipt selection, submission, return, correction, resubmission and approval are asserted at 1440 and 390 with visible focus and exact resulting revisions, and axe's complete default rule set reports no violation on every main screen for all four personas at both widths. VoiceOver reading and payment state announcements remain unproven (owner check). Expanded receipt reading, automatic coding and program-feed states now run the complete default axe rule set at 1440/390 through their existing browser journeys. |
| `COST-001` | Visible provider costs in USD | target | done | `tests/coaster-reader.test.mjs`: **Owner sees per-page USD corpus usage and an atomic monthly cap pauses reading and coding while manual expenses work** (46 labeled originals, every page/attempt, month-to-date USD, concurrent cap and manual expense); `tests/browser.mjs` (**receipt-agents**, `tests/journeys/screens-reading.mjs` **costScreens**, before/after enabling and paused/manual states at 1440/390; **receiptAgentArchive**, exact costs/readings restoration and malformed cost refusal); `src/coaster/provider-costs.ts`. |  |
| `AGENT-001` | The spend agent closes every expense | push-further | partial | `src/coaster/agents/preparations.ts`; `tests/coaster-agents.test.mjs` (Expense preparation cites coding receipt and submission issues while keeping every financial decision human); `tests/coaster-agents.test.mjs` (native preparation screens at 1440 and 390) | Native cited coding and receipt review plan uses CODE-002 proposals and policy issues; explicit acceptance records review only and opens the original draft for human correction and submission. Existing coding overrides that still disagree with current advice stop acceptance. Card and receipt collection through chat, autonomous coding application, approval chasing, provider settlement and ledger agreement, and the full coding-fixture acceptance remain open. |
| `AGENT-002` | Resolve unclear receipts with one question | push-further | done | `tests/coaster-reader.test.mjs`: **Receipt disagreements ask one private crop-backed question across the labeled corpus, apply only confirmed answers and remind after two business days** (all 46 originals, exact conflicts/regions, ignored values unchanged, original retained, live delegate/revocation, paid claim unchanged and stopped reminders); `tests/browser.mjs` (**receipt-agents**, `tests/journeys/screens-reading.mjs` **questionScreens**, crop/both values/confirmed expense/tooltip at 1440/390; **receiptAgentArchive**, exact restore and malformed confirmation refusal). |  |
| `AGENT-003` | Preview a policy change before adopting it | push-further | done | `tests/coaster-policy-advice.test.mjs`: **AGENT-003 finance replays approved recurring exceptions with affected claims and an explicit hours estimate; owner adoption changes today’s policy only**, including **preservePolicyAdvice** (`tests/journeys/specialized-policy-advice.mjs`, original stale-history/policy, finance-only floor, all-rule-kind, tightening/payment and card-replay assertions). |  |
| `AGENT-004` | Repair feed and accounting handoffs | push-further | missing |  | No feeds or sync to repair. |
| `AGENT-005` | Policy review agent with cited reasons | push-further | done | `tests/coaster-policy-review.test.mjs`: **AGENT-005 a fully evidenced reimbursable lunch completes once on the owner behalf and its accounting line retains the agent and envelope version**, including **preservePolicyAgent1** (`tests/journeys/policy-agent-1.mjs`, original frozen recommendation, envelope/agreement/revocation, low-confidence and own-expense/workflow/payment fence assertions); `tests/automatic-coding-quality.mjs` (**runPolicyAgentCodingQuality**, full old + semantic fixture population); `tests/browser.mjs` (**policy-agent**, `tests/browser-policy-review.mjs` **policyAgentScreens** and **policyReviewArchive**, 1440/390 native screens/axe, mixed rule approval/samples, exact restore and malformed-authority refusal). Push Verify executes the surviving HTTP test through `tests/coaster-suite.mjs` and the browser phase through `tests/browser.mjs`. | — |
| `AGENT-006` | Fraud and anomaly investigation | push-further | done | `tests/coaster-receipt-signals.test.mjs`: **Finance investigates related split and edited receipts across employees without contacting them or changing payment, and records a human outcome**; `tests/browser.mjs` (**signals**, `tests/journeys/browser-signal-investigation.mjs`): investigation pack, evidence links and keyboard tooltip at 1440/390; `src/coaster/investigations.ts`. |  |
| `AGENT-007` | Conversational expenses and spend questions | push-further | partial | `tests/coaster-agents.test.mjs`: **Conversation compares scoped quarter spend with exact report values and refuses another department** asserts REPORT-001 quarter totals, source links and scope refusals; **Conversation returns the authorized monthly budget actual and remaining without widening budget custody** asserts REPORT-004 historical values and both sides of the Denver current-month boundary; **Conversation keeps four reviewed photos and published Denver per diem in a proposal until native acceptance** asserts exact dates, merchants, amounts and categories before and after acceptance, four original byte streams, independently expected Denver GSA meal allowance of 23000 USD cents, key-read refusal, delegated accept and decline refusal, retained ordinary agent proposals and a draft-only result. `tests/coaster-agents.test.mjs` covers existing proposal and draft screens at 1440 and 390; it supplies no connected-chat or conversation-input-screen proof. | Conversation input and spend-answer screens, authenticated Slack linking and threaded four-photo intake, Teams and text intake, automatic photo reading, conversational purpose replies and mileage assembly remain unbuilt. Live chat qualification has no receipt on this candidate: the fleet injector refuses SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET because neither is provisioned for this cloud run. Native proposal custody, exact reviewed-field preservation, independent Denver allowance and current-month business-time contrasts are asserted in the existing conversation tests; they do not complete the connected intake target. Published allowance calculations do not establish expense eligibility or legal tax treatment. No scope is carved. |
| `AGENT-008` | Month-end close preparation | push-further | partial | `src/coaster/agents/preparations.ts`; `src/coaster/agents/close-statements.ts`; `tests/coaster-agents.test.mjs` (Month-end preparation cites pending accruals and cutoff without exposing private evidence or posting); `tests/coaster-close-statements.test.mjs` (Close review assesses overlapping native statements, missing reconciliation and exact differences without posting or changing accruals; Close preparation and acceptance fence concurrent source changes at both guards and refuse delegates and agent keys without writes); `tests/journeys/browser-preparations.mjs` (native close assessments at 1440 and 390, stale review refusal and exact real CLI restoration of proposals, reconciliations, native ledger and numbered history) | Native owner-reviewed checklist includes overlapping recorded statement periods, exact native balance differences, unresolved and resolved lines, unknown boundaries and imported spend without reconciliation explicitly unverified. Both transaction guards bind preparation and acceptance to source evidence; review changes no financial records and sends no chase. The 23 October own-native-session checklist boundary was approved for this PARTIAL slice; delegates and keys remain refused. RL-101 requires authorized finance preparation and company-policy agent scope; those remain unimplemented. Owner-authorized QuickBooks company refresh and realm consent is required for real accrual posting and ledger clearance. Scheduled execution, actually sent chases, complete provider-feed and statement coverage, connected-ledger posting and clearance, and the complete fixture-month acceptance journey remain unproved. Native card ledger closure establishes no external clearance or commercial-feed delivery; existing account, ct, Base, device and sibling holds remain unchanged. |
| `AGENT-009` | Trip assembly | push-further | partial | `src/coaster/agents/preparations.ts`; `tests/coaster-agents.test.mjs` (Trip preparation groups owned draft receipts mileage and per diem exactly once after explicit acceptance); `tests/coaster-agents.test.mjs` (native preparation screens at 1440 and 390) | Native proposal groups eight owned draft expenses, including receipt, mileage and per diem records, with citations; explicit acceptance moves each existing item once into an editable draft. Never-submitted manual drafts only. Travel booking and connected calendar context (INTEG-001), new locality per diem and airport routing, automatic reports, cards and private inbox-linked grouping remain open. |
| `BASE-AGENT-001` | One MCP door per seed | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts.  `tests/coaster-agent-body-boundary.test.mjs` — **Oversized MCP preparations preserve financial evidence and leave their retry identities unused**: selected acceptance point 6 through the actual Worker and D1 MCP door, ordinary personal keys, both protocol versions, autonomous and held policies, declared and streamed bodies, UTF-8 byte overflow, nonempty financial and original-byte comparisons, no pending approval or provider request, and exact-limit retry with once-only replay. | Resources and prompts are undeclared; only tools, policy, pause, audit and idempotency are offered by this core subset.  This round adds only oversized-body proof for the existing claim and batch preparation tools. Acceptance points 1 through 5, complete hosted and self-hosted qualification and wider tool, resource and protocol coverage receive no new completion claim. Accepted Base and rer pins and the recorded refresh and repin HOLD remain unchanged. Byte budgets, private original-byte readers, resource refresh, broader records, multi-sponsor and complete Business roster lifecycle, financial-decision tools, provider execution, scheduled-service and embedded-agent migration, events and subscriptions, revision, job, timed and queued lifecycle and full native administration remain outside this entry. COA-010 human-decision custody, every existing queue scope and all account, owner, ct, Base, device and sibling holds and prerequisites remain unchanged. |
| `BASE-AGENT-002` | The seed's jobs are tools, through the UI's own actions | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | The current four preparation verbs are mapped; the broader ct draft screen-native and provider tool surface remains unimplemented under COA-010 human-decision custody. |
| `BASE-AGENT-003` | Records are resources | target | partial | `tests/coaster-agent-resources.test.mjs` — Proposal resources preserve own projections, held policy and native human custody: deterministic proposal template, employee and finance readback, hidden and missing refusals, exact links and replay, untrusted content, held reads and immediate revocation and erased-person replay refusal through the Worker and native doors. `tests/journeys/browser-agent-resources.mjs` — runAgentResourceJourney: linked native screens at 1440 and 390, human acceptance and exact real CLI export and restore with fresh native sign-in and keys. `tests/agent-door/native.mjs` and `tests/agent-door/fixtures.mjs` extend the production-door conformance journey (864 of 864 points locally), including unchanged native proposal state under company policies. | Personal-agent claim and batch proposals now have a resource template and links under existing own-proposal custody. Byte-budget enforcement (point 5), private original-byte readers, resource refresh, other record types and wider ct draft obligations remain unproved. Multi-sponsor and Business roster lifecycle, financial-decision tools, legacy REST and scheduled-service migration, provider execution, prompts, events and subscriptions remain outside this slice. Keep accepted Base and rer pins and the refresh and repin HOLD, COA-010 human-decision custody and every existing account, owner, ct, Base, device and sibling prerequisite unchanged. |
| `BASE-AGENT-004` | Business identity and short-lived, audience-bound tokens | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | Core unknown, changed-email, inactive and native-admission-excluded sponsor refusals are proved. Multi-sponsor operation and the complete Business roster lifecycle remain unscoped; Business settings only bind existing native accounts. |
| `BASE-AGENT-005` | An agent acts as a person in a role, never more | target | partial | `tests/coaster-agent-role-parity.test.mjs` — **Four personal-agent tools preserve native role permissions and grant narrowing under autonomous and held policy**: eight independent native role fixtures, one local-key sponsor at a time, both MCP protocols, native context and proposal projections, own-only preparation, finance-only approved-claim projection, native human capability intersected with the preparation grant, retained auditor and bookkeeper keys, key-issuance refusals, hidden and missing refusals and no product writes on refusal. Required company approvals use returned native URLs; the legacy held read boundary remains named in Gap. `tests/journeys/browser-agent-role-parity.mjs` — **runAgentRoleParityJourney**, invoked by `tests/browser.mjs` preparations: native allowed and refused proposal states at 1440 and 390, exact real CLI restore and fresh sign-in and key readback. Existing `agent-surface.json`, `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs` retain the production-door conformance fixtures. | PARTIAL. The selected four-tool native role matrix is proved except the approved held `coaster.proposals.get` read under MCP 2025-11-25: the pinned Base wire omits its read continuation state, so retry opens another approval and returns no projection even after native approval executes. Base transport support is required; retain the accepted Base and rer pins and recorded refresh and repin HOLD. Broader point 1 tools and complete points 2–5 remain unproved: resource, action and budget grant bounds, scope dropping, self-escalation and access and security adapters, full sponsor lifecycle and the complete injection matrix. No standing access or security change is registered. Multi-sponsor Business operation and complete Business roster lifecycle remain unscoped. No Business enrollment, role, grant, policy or Pause mutation tool or new agent authority is included. Broader financial and provider tools, byte budgets, private original-byte readers, resource refresh, scheduled-service and embedded-agent migration and all existing queued scope remain open. COA-010 human-decision custody and all existing account, owner, ct, Base, device and sibling holds and prerequisites remain unchanged. |
| `BASE-AGENT-006` | Every action declares its risk class | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | Standard and sensitive preparation effects and external public ECB rate reads are exposed. Money, commitment, accounts, gated, access, security, destructive and live tool families remain unimplemented. |
| `BASE-AGENT-007` | The company's policy decides, at one chokepoint | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | Shared-door core policy, held preparation, refusal and revocation are proved. The existing narrow personal-key REST contract and native scheduled services have not been migrated to the company door; spend reservation and full standalone policy administration remain open. |
| `BASE-AGENT-008` | Truthful attribution | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts; for points 5 and 6 on claim and batch preparations by personal agents, `tests/coaster-agent-attribution.test.mjs` (test: Personal-agent preparations read as the agent for the person, with the native accepter and company approval kept apart) and `tests/journeys/browser-agent-resources.mjs` (journey runAgentResourceJourney, run by `tests/browser.mjs`: record, activity and audit-pack screens at 1440 and 390, real CLI export and restore). | Door and native proposal attribution are proved for preparation, and claim and batch preparations by personal agents now read `"<agent> for <person>"` with the native accepter, a delegate's own name and the person they acted for named separately, in the claim and batch records, the activity view and the audit pack manifest and history, derived from the retained proposal and its acceptance line and kept apart from company policy approval, native conversations and native preparations. Still open: point 4 (an agent's own decision, signature or field confirmation), point 7 (outside mail sender), points 1 to 3 across the complete approval, review, policy-question and device-token matrices, every other record and export family, broader native financial actions, review Undo and queued continuation attribution. |
| `BASE-AGENT-009` | Every agent action is audited with its class and decision | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | Core reads, refusals and preparation calls have matching policy audits with zero differs_from_policy. Broader native scheduled and legacy personal-key effects are outside this new door audit. |
| `BASE-AGENT-010` | Agents can follow changes | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts. | Events and subscriptions are undeclared families. Internal module events do not advertise an external event or subscription capability. |
| `BASE-AGENT-011` | Limits are policy, and Pause stops everything | target | partial | `agent-surface.json` and `tests/agent-door/owner.mjs` and `tests/agent-door/fixtures.mjs`; released rer 0.2.91 production-door conformance: 802/802 points, including native inactive/excluded sponsor refusals and exact automatic/manual FX proposal amounts; `tests/coaster-agent-capacity.test.mjs` — Agent capacity shares the advertised allowance and refuses preparation without native or provider effects (full discovered rate, mixed protocol versions and ids, concurrent boundary, accurate retry delay, other agent and native-session access, autonomous and held policies); `tests/journeys/browser-agent-discovery.mjs` — runAgentDiscoveryJourney compares built capacity documentation with live discovery; `src/coaster/agent-door/limits.ts` shares the capacities in force with generated `docs/agents.md`. | Core Business and local Pause and originating-consent revocation are proved. Spend and byte budgets, timed lifecycle and queued lifecycle remain unscoped and unenforced. Per-day recipient thresholds, provider-cost estimates, spending and no-cap qualification, and the complete per-agent money and provider-spend usage view remain omitted. Installation capacity counters establish protection only, not daily business or provider-spend enforcement. Existing refresh and repin holds and all recorded prerequisites remain unchanged. |
| `BASE-AGENT-012` | Writes are idempotent and conflict-safe | target | partial | `tests/coaster-agent-replay.test.mjs` — "Accepted batch preparation replays the lost outcome under current authority and policy without financial effects": actual Worker and D1 claim submission, approval, MCP preparation, lost response, native batch acceptance and retries with new JSON-RPC ids under autonomous and held policies retain the original outcome and link, expose current accepted state only through authorized resource readback and append distinct linked audits with original effect facts. Exact native financial evidence stays unchanged; changed arguments, fresh keys for consumed claims, withdrawn finance authority, inactive membership, revoked keys, Pause and newly blocking or held policies refuse without cached content or native writes. `tests/journeys/browser-agent-resources.mjs` — **runAgentResourceJourney**, registered by `tests/browser.mjs` preparations: native acceptance and completed replay, proposal and draft-batch screens at 1440 and 390, exact real CLI restore of accepted proposals and financial evidence with fresh native authentication and keys. Existing `agent-surface.json`, `tests/agent-door/owner.mjs`, `tests/agent-door/fixtures.mjs` and `tests/agent-door/native.mjs` retain released rer 0.2.91 production-door conformance, native sponsor refusals and exact automatic and manual FX amounts. | Selected acceptance points 1 and 2 cover completed batch-preparation retries after native human acceptance; this adapter-only slice does not qualify the full clause. Expected-revision conflicts, long-running job handles, foreign-handle refusals and other mutation lifecycle cases remain unproved. Native financial revisions, uncertain provider outcomes and queued continuation remain outside this preparation-only slice. Accepted Base and rer pins and the recorded refresh and repin HOLD remain unchanged; no Base-source change or release interpretation is claimed. Byte-budget enforcement, private original-byte readers, resource refresh, wider record and tool families, multi-sponsor and complete Business roster lifecycle, financial-decision tools, legacy REST or scheduled-service migration, provider execution, events and subscriptions retain their existing exclusions. COA-010 human-decision custody and every existing account, owner, ct, Base, device and sibling hold and prerequisite remain binding. |
| `BASE-AGENT-013` | Manifest, docs and the conformance journey | target | partial | `tests/coaster-agent-discovery.test.mjs` — "Expense controller discovery is static, private and grants no preparation authority": deterministic private prompt lists, both protocol versions, typed invalid and unknown requests, no private projection or native writes, role refusal, revocation and erased-key replay refusal. `tests/journeys/browser-agent-discovery.mjs` — **runAgentDiscoveryJourney**, registered by `tests/browser.mjs` preparations: built docs match live tools, templates and prompts, scopes and classes with checked journey witnesses, including automatic FX and explicit manual rate; docs and linked claim and batch review screens at 1440 and 390 through **runAgentResourceJourney**. `tests/agent-door/native.mjs` — **beforeStep** and **afterStep** extend the released rer 0.2.91 production-door conformance (863 of 863 points passed) under autonomous and held policies: discover jobs, prepare and read the same proposals, preserve native human custody, exact FX amounts and existing role, revocation and injection refusals. `scripts/agent-docs.mjs` generates the native registry catalogue and validates its fixture references. | Selected prompt jobs and catalogue acceptance points 1 and 2 cover only the current personal-agent preparation surface. Registry-generated server discovery instructions, the wider ct draft tool, resource, class and journey target, all unselected optional families, dual host and full native administration remain open. Full acceptance points 3 through 5 across BASE-AGENT-001 through BASE-AGENT-012 are not claimed. Accepted Base and rer pins and the recorded refresh and repin HOLD remain unchanged. Byte-budget enforcement, private original-byte readers, resource refresh, broader record coverage, multi-sponsor and complete Business roster lifecycle, financial-decision tools, legacy REST or scheduled-service migration, provider execution, events and subscriptions remain omitted. COA-010 human-decision custody and every existing account, owner, ct, Base, device and sibling hold and prerequisite remain binding. |
