# Gauge acceptance record

Target edition: 17 October 2026. This keeps the existing row-based acceptance form and replaces the previous all-release verdict with per-clause `done`, `partial` or `missing` status, matching CONTRACT.md. Original baseline: `2d227a48623b4270f608fee6b9b672383093b379` (17 October 2026). Currency implementation update: 19 October 2026, tested by `tests/gauge-currency.mjs`. The original seventeen clauses retain their IDs, behavior and existing public-door test evidence. The operating core now saves agency currency and timezone, defaults new installations to USD and America/Los_Angeles, and retains historical currencies without conversion. Setup offers USD, AUD, CAD, EUR, GBP, NZD, CHF and SGD, all with two decimal minor units. Native billing includes pre-tax invoices and bounded retainer issue; external submission and provider settlement remain distinct. The US target remains partial/missing where it has no corresponding implementation; no target journey below is asserted to have passed merely because it is written down.

Tests guard buyer journeys through built HTTP, browser, CLI, download and provider callback doors. Existing core checks: `tests/gauge.mjs`, `tests/gauge-currency.mjs`, `tests/gauge-agent.mjs`, `tests/gauge-forecast.mjs`, `tests/gauge-portability.mjs`; `tests/fresh-clone.mjs` covers the existing CLI/browser path at 1440 and 390. Network-edge sandboxes may stand in for paid providers. Target checks must use the actual application and verify the end state. Provider acceptance alone does not prove external completion.

CLIENT-001 implementation and journey provenance: `fe207e842d44c6e275c427b889cb542d7144acf7` (27 October 2026). The handoff identifies the final metadata commit and its guarded landing results; local proof alone does not establish a production or provider result.

## Published operating core

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 1 | ENGAGEMENT-001 | Set up agreed work | `ENGAGEMENT-001 real empty account to scoped engagement`. Evidence: `src/gauge/catalog.ts`; `tests/gauge.mjs`. | done |
| 2 | BUDGET-001 | Agree terms and change orders | `BUDGET-001 immutable approved terms and additive change orders`. Evidence: `src/gauge/catalog.ts`; `tests/gauge.mjs`. | done |
| 3 | RATE-001 | Keep rates by effective date | `RATE-001 effective-dated private rates`; `TIME-002 return, correction and approval of exact revisions` (later rate leaves approved economics unchanged). Evidence: `src/gauge/catalog.ts`; `src/gauge/time.ts`; `tests/gauge.mjs`. | done |
| 4 | CAPACITY-001 | See next month's capacity | `CAPACITY-001 working calendar, leave and separate tentative staffing`; Forecast import `tests/gauge-forecast.mjs`. Evidence: `src/gauge/reports.ts`; `tests/gauge.mjs`; `tests/gauge-forecast.mjs`. | done |
| 5 | TIME-001 | Record time | `TIME-001 persistent timer, exact manual duration, parallel exclusion and idempotence`. Evidence: `src/gauge/time.ts`; `tests/gauge.mjs`. | done |
| 6 | TIME-002 | Approve and correct time | `TIME-002 return, correction and approval of exact revisions`. Evidence: `src/gauge/time.ts`; `tests/gauge.mjs`. | done |
| 7 | COST-001 | Record expenses with receipts | `COST-001 expense receipt custody, exact approval and attachment privacy`. Evidence: `src/gauge/expenses.ts`; `tests/gauge.mjs`. | done |
| 8 | ECONOMICS-001 | Reconcile the engagement | `ECONOMICS-001 approved actual cost and remaining effort`. Evidence: `src/gauge/reports.ts`; `tests/gauge.mjs`. | done |
| 9 | BILLING-001 | Draft a billing packet | `BILLING-001 concurrent source reservations and fixed-fee eligibility`. Evidence: `src/gauge/billing.ts`; `tests/gauge.mjs`. | done |
| 10 | BILLING-002 | Approve and export once | `BILLING-002 exact approval, formula-safe repeated exports and linked correction`. Evidence: `src/gauge/billing.ts`; `src/gauge/billing-corrections.ts`; `tests/gauge.mjs`. | done |
| 11 | REVIEW-001 | Review the week's exceptions | `REVIEW-001 grounded decisions, missing time and capacity exceptions`. Evidence: `src/gauge/reports.ts`; `tests/gauge.mjs`. | done |
| 12 | ACCESS-001 | See only permitted work | `ACCESS-001 native personas, scoped data and direct transport denials`; `ACCESS-001 revocation and minimal replay acknowledgements`. Evidence: `src/gauge/store.ts`; `src/gauge/reports.ts`; `tests/gauge.mjs`. | done |
| 13 | MOVE-001 | Move in from Harvest and leave whole | `MOVE-001 Harvest preview, partial rollback, native reconciliation, idempotence and untouched undo`; `MOVE-001 complete D1 archive restore, corruption and occupied refusal`; browser journey export → fresh clone → import. Evidence: `src/gauge/harvest.ts`; `src/gauge/imports.ts`; `tests/gauge.mjs`; `tests/gauge-portability.mjs`. | done |
| 14 | AGENT-001 | Time reconstruction | `AGENT-001 time reconstruction: the agent drafts, only the person confirms actual time`. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. | done |
| 15 | AGENT-002 | Resourcing | `AGENT-002 resourcing: tentative alternatives only, the lead approves one`. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. Evidence: `tests/gauge-agent.mjs` (AGENT-002): more than five alternatives and committed staffing are refused for the agent; staff cannot decide and cannot read the history; the lead approves one alternative through its own form and it becomes a tentative allocation; the lead's Staffing page states each alternative's open hours before and after and its new conflict dates but no cost or billable value; finance additionally sees the day-priced cost and billable value, and an unpriced person reads Unknown, never zero. | done |
| 16 | AGENT-003 | Billing preparation | `AGENT-003 billing preparation: eligibility checked, finance approves the exact packet`. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. | done |
| 17 | AGENT-004 | Delivery exceptions | `AGENT-004 delivery exceptions: change-order briefs are declined or approved by the lead`. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. | done |
## Agency setup and sales to delivery

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 18 | SETUP-001 | US agency setup | Start empty, configure a New York agency, quote and invoice USD work across a daylight-saving change; import an old AUD record and require an explicit conversion policy before consolidation. Evidence: `tests/gauge-currency.mjs` (setup page, mismatch refusal, 1440/390 screens); `tests/gauge-agency.mjs` agencyJourney (New York profile and role privacy, workweek, quote → time across the 8 March 2026 spring-forward → USD invoice equal to the quote, old AUD import kept in AUD, consolidation refused then converted at labelled approved rates); `src/gauge/agency.ts`; `src/gauge/agency-profile.ts`; `src/gauge/fx-rates.ts`; `src/gauge/setup.ts`; `src/gauge/ui-agency.ts`; `migrations/core/0019_gauge_agency.sql`; `migrations/core/0058_gauge_agency_profile.sql`; `src/gauge/invoices.ts`; `tests/gauge-invoices.mjs`. Gap: none in the acceptance; PARTIAL only until ct approves the adopted default (EIN owner-only and never on a document; no conversion at import; owner-only rate approval, attributed to its approver, is approved by ct on 23 October 2026). Invoice-document printing of the legal business (INVOICE-003) and SETUP-005 per-client currencies and report-wide conversion inherit. | partial |
| 19 | SETUP-002 | Client and contact workspace | Create two similarly named clients, merge the duplicate, search by PO and external ID, and verify terms and every linked project remain attached. Evidence: `tests/gauge-clients.mjs` (`SETUP-002`): finance saves "Northwind Studio" (legal name, billing and project contacts, a US billing address, EIN and exemption references, PO required with PO-1001, tags, `hubspot:5001`, Net 45) and the similarly named "Northwind Studios" (PO-2002, `hubspot:5002`, `quickbooks:88`, Net 30) with two engagements, an opportunity and an approved $10,000 milestone; a second client claiming `hubspot:5001` is refused; search by name finds both and by PO only the duplicate; leads get 403 on search and only the client name in state. The merge refuses a lead, a stale revision, the duplicate's client rate card in force (until withdrawn) and differing terms without a choice, then keeps the survivor's Net 45. Afterwards PO-2002, PO-1001, `hubspot:5002`, the bare `5002` and `quickbooks:88` find only the survivor with all three engagements; every engagement and the opportunity point at it; the moved milestone's expected cash uses Net 45 (FINANCE-002: received in December, not "Net 30 assumed"); the merged record names survivor, reason and terms choice and refuses new work, edits and a second merge; the audit lists the merge on all five changed records; the Engagements page searches by PO and offers the merge on a client's edit view. SETUP-004 custom fields and INVOICE-001 bill-to details inherit. | done |
| 20 | SETUP-003 | Client billing currencies and exchange rates | As the owner, approve CAD→USD 0.7300 effective 1 October from a named published rate and see the rates table show its rate, effective date, source and approver; approvals by finance or staff are refused. An issued CAD 10,000.00 invoice dated in October converts to USD 7,300.00 labeled with the 0.7300 rate and its 1 October date, and a GBP amount dated before any approved GBP rate is shown unconverted, not zero, with the total withheld. Approve 0.7400 effective 1 November and confirm the October converted total and the CAD invoice are unchanged; a backdated rate and a rate effective inside a closed period are refused. Evidence: `tests/gauge-agency.mjs` — clientCurrencyJourney through `tests/gauge-currency.mjs` (the owner approves CAD 0.7300 effective 1 October from a named published rate and the Access rates table shows its rate, effective date, source and approver, with 0.7400 beside it, captured at 1440 and 390; the issued CAD 10,000.00 invoice converts to USD 7,300.00 labeled 0.7300 from 2026-10-01 on Imports; the GBP amount with no dated rate is shown unconverted and the total withheld; 0.7400 effective 1 November leaves the October total and every issued invoice unchanged); `tests/gauge-agency.mjs` — agencyJourney through `tests/gauge-currency.mjs` (finance and staff approvals refused 403; a backdated rate refused 409); `tests/gauge-invoices.mjs` — agencyCloseJourney through `tests/gauge-cash-forecast.mjs` (a rate effective inside the closed September refused 409 with the period named, accepted after the authorized reopen); `src/gauge/fx-rates.ts`; `src/gauge/ui-agency.ts`. Every acceptance point passes through public doors. Client currencies, their end-to-end carriage and report-wide conversion are SETUP-005. | done |
| 21 | SETUP-004 | Custom fields on clients, engagements, people and tasks | Import a Kantata OX package with a project single-select field "Practice" (Brand, Web) and a user field "Office" (NYC, Austin); the utilization and profitability reports grouped by Practice and by Office equal the totals of independent source reports from the same package, and a project carrying an undefined option "Legacy" is listed in the preview rather than dropped. Make "Practice" required on engagements and see creation with it empty refused, both directly and through a SALES-004 conversion. Add a finance-only currency field "Contract value": a lead cannot read it through the page, the API, a CSV export or a saved report, while finance sums it by Practice. Filter resource search by Office = Austin and see only Austin people. Before shipping, all permitted custom fields filter/group REPORT-001 profitability with handler-enforced field visibility on screen, API, source drills and CSV. Evidence: `tests/gauge-invoices.mjs` — `customFieldJourney` (called by `tests/gauge-cash-forecast.mjs`) proves: a reviewed fields-only Kantata package with stable project/user IDs maps Practice Brand/Web and Office NYC/Austin, rejects the explicit Legacy finding without any writes, and reconciles literal independent package controls (10 h / 40 h = 25%, $1,500 earned − $900 cost = $600 margin; 20 h / 40 h = 50%, $3,000 − $1,800 = $1,200) through both Practice and Office groups. It asserts every permitted field type/scope filters and groups both reports and saved reports, exact 1.25 + 2.75 numeric measures, per-Practice $1,000.01/$2,000.02 contract measures with definition/record source CSV, ISO minor-unit handling (JPY/BHD native forms), required direct/conversion/template creation and preserved template defaults, seven-type validation, add/retire options without rewriting values, private contract fields absent from lead pages/API/history/CSV/saved reports, private-value version fencing after definition broadening, Austin-only candidates and typed filters on every supported scope, calendar roster filtering, and replay preserving native edits with original source custody. Owner forms, values, report results, profitability and resource screens are asserted at 1440/390. `tests/gauge-base-portability.mjs` — `prepareCurrentPortability` round-trips original custom packages, mappings, definitions including a required private field on a legacy dataset, values, source IDs, saved reports and all revision history under fresh authority. Current and original definition visibility both hold; explicit resave publishes the new value version. REPORT-004 and CLIENT-001 inherit all handler checks on their future doors; broad OX/SX migration remains MIGRATE-004. | done |
| 21a | SETUP-005 | Client currencies and converted figures | Set a Toronto client to CAD and a New York client to USD; approve CAD→USD 0.7300 effective 1 October; issue a CAD 10,000.00 invoice and a USD 5,000.00 invoice in October and sync both to a QBO multicurrency sandbox, where each lands in its own currency; the October portfolio total reads USD 12,300.00 labeled with the 0.7300 rate and its 1 October date. Approve 0.7400 effective 1 November and confirm the closed October total, the CAD invoice and its QBO copy are unchanged; a GBP amount dated before any approved GBP rate is shown unconverted, not zero. Evidence: `tests/gauge-agency.mjs` — newClientCurrencyJourney through `tests/gauge-currency.mjs` (empty AUD native setup; USD command and form defaults, explicit CAD choice and inheritance; edits retain saved defaults and legacy AUD interpretation; finance-only writes, stale-revision and request-key refusals; existing AUD commercial records and issued CSV and PDF bytes unchanged); `tests/gauge-agency.mjs` — clientCurrencyJourney through `tests/gauge-currency.mjs` (Toronto CAD and New York USD client defaults, pre-commercial engagement override and lock, CAD 10,000.00 and USD 5,000.00 native October invoices; the October portfolio earned value reads USD 12,300.00 known at the labeled 0.7300 rate from 1 October with the GBP amount unconverted, unchanged after 0.7400 effective 1 November, and a CA$200.00 October cost converts to USD 146.00 in approved burn at that rate with unknown time costs keeping burn and margin unknown, on Review at 1440 and 390; the CAD cash expected on 8 November reads USD 7,300.00 at 0.7300 and USD 7,400.00 once 0.7400 effective 1 November is approved, with the GBP amount unconverted, on Review at 1440 and 390); `src/gauge/portfolio.ts`; `src/gauge/ui-portfolio.ts`; `src/gauge/cash-conversion.ts`; `src/gauge/ui-cash.ts`; `src/gauge/ui-conversion.ts`; `src/gauge/fx-rates.ts`. Remaining: Proved: strict USD defaults for new clients through native commands and forms even when the agency is AUD, explicit CAD choices and engagement inheritance, saved and legacy client currency preservation on edits, finance authorization and stale and request-key refusals, unchanged existing AUD work and issued CSV and PDF artifacts, and the pre-commercial override, CAD and USD October invoices, the October portfolio earned value and approved burn converted amount by amount at labeled approved rates (GBP unconverted, unknown costs kept unknown) and unchanged by a later November rate, and expected cash by month converted at the rate in force on its expected day. Remaining: QBO multicurrency sandbox sync (account-blocked: needs a QBO sandbox and the owner's authority); a closed-October proof (October 2026 cannot close before it ends); conversion of portfolio budget and EAC, the FINANCE-006 forecast (its EAC has no dated components yet), the cash forecast's committed revenue and historical-timing figures and REPORT-003 figures, with their source drills and CSVs; and estimate, proposal, retainer, credit and payment-link currency carriage through every door. | partial |
| 22 | SALES-001 | Opportunity pipeline | `SALES-001 two probabilities, won/lost history, separate tentative demand, exact replay, scoped access and booked backlog without double counting` in `tests/gauge-pipeline.mjs`: create through the engagement forms, move to won, link approved terms once, mark another lost, inspect history and deny staff/revoked reads. Create two deals at different probabilities, move one to won, and verify that open weighted pipeline is reported separately from won booked value. Link the won opportunity to an engagement with approved terms, approve revised terms, and verify that only the latest approved terms count once, never both the opportunity and the terms. Verify booked amounts are labeled "before billing" and booked backlog equals won value before billing until billing exists; once invoices exist, reconcile backlog to booked value minus billed value. Browser end states checked at 1440 and 390. Evidence: `tests/gauge-pipeline.mjs` (SALES-001): an engagement with approved terms has backlog equal to booked value until an invoice is issued, a billing packet is not billed, the issued pre-tax invoice is subtracted for finance as of its issue day only, leads read no billed or backlog amounts, and the backlog figure drills to its budget and invoice sources; finance's Engagements page shows booked value before billing, billed and backlog at 1440 and 390. | done |
| 23 | SALES-002 | Costed estimates | Estimate design and engineering with a contractor and discount, compare versions and show a non-finance recipient no internal costs. Accept a fixed-fee estimate, convert it twice, and find one engagement whose budget and milestones reconcile to that estimate (SALES-004 conversion). Evidence: `tests/gauge-invoices.mjs` — `estimateJourney` (called by `tests/gauge-pipeline.mjs`) asserts design, engineering, contractor and expense lines: source base 645000, 10% contingency, 10% discount gives 638550; private cost 427900 and margin 210650. A second immutable version with changed effective contractor rate, engineering price, 5% discount and dates gives 694925, cost 433400, margin 261525; deltas and feasible design dates reconcile, and the first snapshot never changes. Lead recipients see no private cost/margin or competing-project source through API/page/comparison, staff is refused, unknown assumptions remain null, and fixed/hourly/mixed work is priced. The same journey proves a quoted $150 hour less 5% bills $142.50, excludes contingency/unrelated overtime, retains quote provenance after task edits and allowance changes, prices two committed hours at $285, traces the exact estimate in rate explanation/CSV, and permits only an explicit project renegotiation to change future pricing without retconning the frozen hour. Owner-only cited acceptance attestation, stale-version refusal, SETUP-004 required fields, manual once-only conversion/replay through both estimate and won-opportunity carriers, exact draft fee budget 689700 plus expense allowance 5225, 126000 effort seconds, three tasks and reconciled draft milestones are proven; native hourly conversion and owner/lead/editor screens run at 1440/390. `tests/gauge-base-portability.mjs` — `prepareCurrentPortability` retains estimate versions, owner attestation, conversion and all linked native records/history without replay. The ct 22 October carrier is now structured: owner-only reported acceptor name/contact, date, signed-document/email/PO/verbal channel and evidence reference are required; each missing field is refused. The same estimateJourney proves audited pre-conversion withdrawal, withdrawal blocking conversion, fresh re-attestation, post-conversion refusal, and the exact “recorded by agency, client identity unverified” label on every listed surface and export. prepareCurrentPortability preserves those fields, withdrawal history and labels. SALES-003 retains verified client-link and signature acceptance. | done |
| 24 | SALES-003 | Proposals and client acceptance | Send two proposal versions to a controlled inbox; accept the latest through the client link and require a fresh acceptance after changing its price. Evidence: `tests/gauge-commercial-proposals.mjs` — commercialProposalJourney through `tests/gauge-pipeline.mjs` (immutable customer-only scope/deliverables/exclusions/dates/payment/expiry document, controlled Resend network-edge inbox with two versions, exact replay and concurrent single submission, native owner prepare/review/send, recipient-only native email proof, views/questions/rejection/acceptance, superseded and changed-price refusal until fresh acceptance, primary once-only native conversion, revoked links, signature refusal without evidence, Resend delivered/bounced/expired-authorization readback, Inkwell reviewed-original binding, mismatch refusal, signed PDF/certificate intake/download and client confirmation, owner/client/rate screens at 1440/390); `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs` (native original/signed/certificate bytes, bound signed client decisions and history retained; provider/readback/recipient authority stripped, explicit reconnect restores only scoped artifact access and sends nothing). The native email-confirmed client-link carrier is approved (22 October brief). Resend readback reconciles the exact message and recipient without resending, distinguishes delivered from bounced/unconfirmed, and resumes after credential rotation. Inkwell intake verifies native completed status, exact recipient and original/signed/certificate PDF digests, retains signed artifacts and requires a deliberate client response; a mismatched original leaves acceptance unavailable. Signature originals are now complete Gauge-generated immutable PDFs, retaining the exact customer document fingerprint. The owner cannot substitute another PDF digest; Inkwell original bytes must match the native original before signed evidence can unlock a client response. The already-approved native email-confirmed carrier remains authoritative; no owner-attested original-to-proposal mapping is trusted. All acceptance points now pass through the named native public-door journeys, including generated originals, verified signed artifacts, delivery reconciliation, exact signed-decision linkage and authority-free restore. Inkwell supplies the clause’s signed-provider carrier; CONNECT-018 retains broader signature-provider handoffs. | done |
| 25 | SALES-004 | Won work becomes an engagement | Win a fixed-fee opportunity, convert it twice, and find one engagement whose draft budget and staffing requests reconcile to the won value and demand, with any unplaced remainder shown. `SALES-004 won fixed-fee opportunity converts once into an engagement, draft budget and staffing requests that reconcile to it` (finance/owner only, lead/staff 403, unwon 409, page button and API, second convert returns the same engagement, fixed draft budget = won value and demand, one open request per service at 36000 s/day, 7 s unplaced shown, booked value counted once before and after approval, edits keep the link). Evidence: `src/gauge/sales-conversion.ts`; `src/gauge/ui-pipeline.ts`; `tests/gauge-pipeline.mjs`. | done |
| 26 | SALES-005 | Change scope with the client | Propose extra work, decline it, revise and accept it as the client, then verify only the accepted increment changes the forecast. Current native change carrier (default adopted pending ct): the native owner explicitly releases one exact independently internally approved version to a confirmed non-staff recipient for one to 30 days. The recipient opens it from the invited project or with a separately shared shown-once key. The closed customer document preserves prior and proposed scope, currency, commercial allowances, effort, rounding, expenses and dates, without private cost or margin. Acceptance requires a typed name and explicit consent through the native email-confirmed account and records the exact document digest, version, revision, recipient, reason and time. Rejection retains its exact reason and never signs acceptance. Only the native owner deliberately adopts the current accepted version, once, after live authority and complete baseline checks in the committing transaction. Adoption changes only its exact native effects and retains prior terms and signature references; it never issues an invoice. Internal approval keeps its internal label. No message sends automatically, and restored evidence carries no review or adoption authority. Native identity-bound evidence is not an external signature-provider or legal-compliance claim. Evidence: `tests/gauge-project-scenario-scope.mjs` — scopeScenarioJourney through `tests/gauge-project-scenarios.mjs` (immutable scope, date, capacity, forecast, cash and margin comparisons; decline, revise, independent internal approval; same-person self-review refusal; internal labels; stale baseline and supersession fences; shown-once hashed review key, recipient and origin refusals, exact request replay and changed-content refusal, revocation and no automatic sending); acceptedChangeJourney in the same file and Verify suite (invited-project navigation with live reviews and explicit omission of superseded, withdrawn, expired, revoked and stale reviews; balanced nonzero phase expenses through scopeScenarioJourney; exact customer scope, terms and dates at 1440 and 390; exact rejection reason; required typed name and consent, exact signed document digest, revision and identity; pending and rejected forecast unchanged; native-owner-only adoption, concurrent once-only replay, preserved prior terms, exactly 36000 additional forecast cents and 18000 additional margin cents, no packet or invoice, independent key and portal revocation); `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs` (signed native decision and exact customer document retained; review authority absent and restored adoption refused). Remaining: PARTIAL pending ct approval of the native change carrier stated above: explicit owner release of exact customer commercial terms, native identity-bound client consent and separate once-only native-owner adoption. All five planned native behaviors now have public-door assertions in acceptedChangeJourney: portal review, exact rejection, revision-bound acceptance, retained signed evidence beside prior terms and adoption of only the accepted increment. No external signature-provider or legal-compliance completion is claimed. Exact-SHA Verify and the guarded landing remain publication gates. | partial |
| 27 | RATE-002 | Client rate cards and cost policy | Approve identical services for two clients at different rates, cross an effective date, and trace billed value and declared loaded cost without changing historical approvals: `RATE-002 versioned client, role, person, service and project cards`; `RATE-002 identical services bill two clients differently, cross an effective date and freeze declared W-2/1099 USD costs`; `RATE-002 overtime rules, write-downs and negotiated entry overrides freeze at approval`; `RATE-002 explain view shows precedence; billed value and declared cost trace without changing historical approvals`; `RATE-002 legacy AUD costs keep their currency; new USD-declared costs stay a separate bucket and mixed sums are refused`. Evidence: `src/gauge/rate-cards.ts`; `src/gauge/ui-rate-cards.ts`; `src/gauge/time.ts`; `src/gauge/reports.ts`; `tests/gauge-rate-cards.mjs`; `tests/gauge-currency.mjs`. | done |
| 28 | BUDGET-002 | Phase and service budgets | Split a $60000 project across discovery and delivery, move an approved allowance and verify phase and project totals and the overspend alert. With 75% and 90% thresholds on a 100-hour phase, approving 76 hours raises one 75% alert, 15 more raise one 90% alert, and re-approving a corrected entry raises no duplicate. A $10,000 not-to-exceed hourly engagement at $150/h with 70 approved hours drafts an invoice for $10,000.00 (66 h 40 min) and holds 3 h 20 min ($500.00) as over-cap; an accepted $1,000 change order releases the $500 to the next draft, while a write-down instead removes it from billing without changing the approved time. Evidence: `tests/gauge-invoices.mjs` — `phaseBudgetJourney` proves the exact $60,000 rollup and controlled transfer, 76/91-hour 75/90 alerts counting submitted work before approval, corrected approval dedupe, fee and expense thresholds, explicit overspend, distinct hourly/fixed billing, independent costs/provisional costs/earned/billed/credits/remaining effort/ETC/EAC/margins per phase, source drills/CSV, budget-bearing templates and lead/finance controls at 1440/390. `notToExceedJourney` in that file proves the exact $10,000 / 66 h 40 min cap and $500 / 3 h 20 min hold, accepted change-order release, independently reviewed permanent write-down preserving approved time, cancellation, work-date order, cash hold and privacy. `tests/gauge-base-portability.mjs` — `prepareCurrentPortability` restores phase budgets/templates, slices, alerts, source history and held excess. Before phase budgets ship, apply a DELIVERY-003 template carrying phase budgets and verify the new engagement receives them. Current threshold delivery is an immutable in-app rule for the engagement lead and finance, once per engagement/phase, metric and percentage. FOLLOWUP-003 inherits external notification delivery and further unattended rules. Inherits FINANCE-001: before phases ship, assert each margin figure per phase. | done |
## Retainers and recurring commercial promises

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 29 | RETAINER-001 | Recurring hours and value retainers | Create a $10000 monthly retainer and a 40-hour quarterly retainer, start mid-period and verify the previewed prorated entitlement and renewal dates: the monthly retainer starting 16 October previews $5,161.29 (16 of 31 calendar days) and renews 1 November; set to working-day proration with a Monday–Friday workweek and no October holidays it previews $5,000.00 (11 of 22 working days); the October–December quarterly retainer starting 16 October previews 33 h 29 min (77 of 92 days) and renews 1 January. Evidence: `tests/gauge-retainers.mjs` (`RETAINER-001`) asserts all three exact samples through native forms and public commands. It checks monthly, quarterly and annual terms, inclusive ends, notice and manual renewal, immutable commercial versions/calendar snapshots, service and billability consumption, unknown rates, lineage, replay/races, ordinary billing holds and ct-approved manager/owner authority. `tests/gauge-base-portability.mjs` restores calendars, terms and individual periods. Calendar boundaries anchor periods; half-up cents/whole-minute proration applies only to contractual start/end, and manual renewal requires a new commercial version. Optional finance-only period fees (REPORT-001, ct 21 October 00:30Z) are integer cents per full commercial period on its immutable version, separate from allowance. Under scope54 (21 October), service fees prorate on that version’s saved working weekdays and holidays, independently of the allowance’s proration choice, round half up cumulatively to cents, and are earned ratably through the inclusive as-of day only for opened periods; month slices are differences of cumulative amounts, so they reconcile exactly. Other roles cannot set or read the fee through preview, records, history, pages, CSV or audit; a lead’s later version preserves its existing hidden fee unless finance sets a new one. FINANCE-001 and FINANCE-006 use that earned fee, and FINANCE-007 assumes one unissued fee in advance on the active period start until RETAINER-005 supplies its contractual issue schedule, never billing it twice. Additional current evidence: `src/gauge/retainer-fees.ts`; `tests/gauge-portfolio.mjs`. | done |
| 30 | RETAINER-002 | Rollover and overage rules | Carry 8 of 40 unused hours into a capped next period, consume them before expiry, exceed allowance by 3 hours and reconcile the overage at its agreed rate. Evidence: `tests/gauge-retainer-rules.mjs` (`RETAINER-002`) exercises the built HTTP/browser/packet-download doors: 8-of-40-hour FIFO carry, cap and original expiry, deficit reduction, immutable prior rules, hour/value rates, exact 3-hour $600 overage, duplicate/ambiguous/stale approval refusal; `tests/gauge-base-portability.mjs` round-trips versioned rules. RETAINER-004 inherits immutable closed FIFO/rule/source snapshots; RETAINER-005 and INVOICE-001 inherit exact eligible-overage rates, quantities and unique reservations before shipping. | done |
| 31 | RETAINER-003 | Explained remaining balance | Open a retainer statement, trace a consumed hour to approved time, and verify pending time changes the projection but not posted consumption. Assign an ambiguous approved hour to one retainer family with a reason and see only that statement consume it; a stale, staff or agent assignment and a move of reserved work are refused. Evidence: `tests/gauge-retainer-statements.mjs` (RETAINER-003) through `tests/gauge-retainers.mjs`; `tests/gauge-base-portability.mjs`. Permitted-client parity is carried by CLIENT-001/003 and linked allowance adjustments by RETAINER-004. Additional current evidence: `tests/gauge-retainer-close.mjs`. | done |
| 32 | RETAINER-004 | Retainer period corrections | Close October, receive late October work in November, approve a partial overage waiver, and show the original statement plus a linked adjustment without double consumption; change current RETAINER-002 rules and verify the closed FIFO statement, amounts and original rule/source versions stay unchanged; trace RETAINER-003 linked allowance adjustments and posted/projected effects. Evidence: `tests/gauge-retainer-close.mjs` (`RETAINER-004`) through `tests/gauge-retainers.mjs`, using completed July/August/September periods without changing the real close clock: chronological single finance close, frozen source/rule/FIFO history, exact once-only late source, original-rate partial waiver with independent above-limit API/form approval, external refund, pause/cancellation/renewal preview and effects, stale/unknown refusal, hours-only correction views and own staff sources, history and CSV; `tests/gauge-base-portability.mjs` preserves closes, linked adjustments and approval history through restore. | done |
| 33 | RETAINER-005 | Scheduled retainer billing | Advance the public test clock over month-end twice and restart the job; obtain one new period and one correct draft, with disputed overages held; reconcile the RETAINER-002 three-hour overage at its agreed rate, excluding included allowance and duplicate reservations. Before shipping, schedule and issue REPORT-001’s recorded immutable period fees once on the contractual advance/arrears basis, replacing the assumed active-start date without repricing earned history; assert no duplicate fee on restart. Evidence: `tests/gauge-retainer-rules.mjs` — retainerScheduleJourney (immutable advance/arrears fees, exact three-hour $600 overage, included-work exclusion, disputed holds/release, unique reservations, native pre-tax issue with atomic packet/number/dates/run, provenance and audit, live consenter revocation and 1440/390); retainerAutomaticExceptions (over-cap, held/disputed periods, newer terms, missing PO/remittance and TIME-003 lock leave named drafts without invoices; disable stops cron); retainerRestartAndCloseJourney (two month ends, real restart, one consecutive invoice per period, explicit approved credit applied once, lifecycle and FINANCE-004 close leave non-issuable exception drafts); `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs` (all schedule/fee/run history round-trips; restore strips execution consent and refuses issue). The original autoIssue 403 assertion is replaced by the ct-approved bounded issue and exception journeys. External sending and durable retry obligations remain with the INVOICE clauses and FOLLOWUP-004. | done |
## Staffing and resource planning

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 34 | RESOURCE-001 | Skills and resource requests | `tests/gauge-resources.mjs` — RESOURCE-001: request 20 UX hours, find qualified available employees and contractors, inspect finance-only effective costs, refuse unknown/conflicting capacity and stale approvals, fill through the browser, race two approvals and reconcile one allocation with 20 hours total demand. Profile, candidate and filled screens at 1440/390; scoped sources and revoked access checked. | done |
| 35 | RESOURCE-002 | Portfolio resource schedule | Move a booking across a holiday and another project, split it between two staff and verify both conflicts and unallocated demand. Evidence: `src/gauge/schedule-preview.ts`; `src/gauge/schedule.ts`; `src/gauge/ui-schedule.ts`; `tests/gauge-schedule.mjs` (`RESOURCE-002`). Moves preserve inclusive day count and daily seconds; splits partition dates exactly. Preview includes global committed bookings, holidays, private leave totals, separate tentative demand and unknown capacity; applying binds the exact preview. Person/role/skill search is current; SETUP-004 inherits person custom-field search before shipping. | done |
| 36 | RESOURCE-003 | Leave and holiday approvals | Approve leave on a staffed date, observe reduced capacity and a lead notification, and override one holiday for an agreed contractor workday. Set a part-time person's hours by weekday, change them from a future effective date and see earlier capacity unchanged. Apply US federal and agency holidays with one regional exception and see capacity follow each person's own calendar. Request leave with a private reason: capacity is unchanged until it is approved, and no one else's view shows the reason. Evidence: `tests/gauge-schedule.mjs` — RESOURCE-003 native holiday administration, weekday hours, protected history and reviewed absence (federal and agency holidays, regional exception and contractor holiday workday; weekday hours and future effective version with earlier dates unchanged; staffed-date approval reduces capacity and posts the scoped lead alert; requested capacity unchanged, requester-only category in state and history; legacy submission requires owner review, supplied approval and direct edits cannot bypass it; medical and legal free text refused through both submissions and decisions without audit persistence; audited owner decisions, rejection, cancellation, stale refusal, actual-conflict-only alerts and no outbound notification; native request, decision, calendar and tooltip screens at 1440 and 390); `tests/gauge-utilization.mjs` — RESOURCE-004 (approved leave reconciles capacity and utilization); `src/gauge/work-calendar.ts`; `src/gauge/leave-approvals.ts`; `src/gauge/ui-leave.ts`; `src/gauge/audit.ts`. Every acceptance point passes through the named public-door journeys. ct approved the 23 October ruling and riders: decisions are owner-only, audited and revision-bound; only the person sees their private category; in-app conflict alerts stay within the responsible lead's scope, with no outbound delivery. Both native and compatibility submissions create reviewed requests. Categories are limited to Personal time, Vacation and Prefer not to say; medical and legal free text is refused, and decisions store fixed administrative text. Historical declared absences retain their existing capacity effect and use owner cancellation. Audit exports withhold other people's raw leave payloads with redacted decision views. HR-system synchronization is RESOURCE-006. | done |
| 37 | RESOURCE-004 | Scheduled versus actual utilization | `tests/gauge-utilization.mjs` — RESOURCE-004: 30 billable scheduled / 32 net workable hours, 24 approved and 4 pending; internal training increases total only. Browser grouping and source drills at 1440/390, holiday/leave/unknown denominators, private costs and scoped CSV snapshot reconciliation. | done |
| 38 | RESOURCE-005 | Resource demand forecast | Compare hire, contractor and delayed-start scenarios for a pipeline deal; close it as won and ensure demand moves to committed once. Evidence: `tests/gauge-demand-forecast.mjs` (RESOURCE-005): as of 20 October, November committed demand of 20 allocated + 10 unfilled-role hours, + 20 weighted-pipeline hours apart, employee and contractor capacity apart, committed fees/cost/margin equal to the FINANCE-006 month; finance prepares contractor, planned-hire and 28-day delayed-start scenarios for a $10,000, 40-hour deal, leads are refused, only the owner approves, approved scenarios are immutable; deltas: contractor +40 h capacity, $4,000 cost, +$6,000 margin; planned hire every weekday's capacity costed; delayed start moves the 40 hours to December at $3,600; the baseline is byte-identical before and after; winning the deal puts its 40 hours in committed once (won backlog, then the same hours as converted open roles, replay included), and Week in review shows it at 1440 and 390. | done |
| 38a | RESOURCE-006 | HR-system time-off sync | Sync the same approved BambooHR time-off twice, find one leave record, then cancel it at the source and see capacity restored. Remaining: Split from RESOURCE-003 by ct's REST ruling (23 October 2026). No HR-system connection, stable source IDs, replay or source cancellation exist. Needs a live BambooHR sandbox and the owner's authority to connect it (account-blocked). | missing |
## Project delivery and client collaboration

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 39 | DELIVERY-001 | Task execution and views | Create and assign a recurring task with subtasks, move it through a board and log time against it; see the same status and total in project and personal views. Evidence: `src/gauge/tasks.ts`; `src/gauge/ui-tasks.ts`; `src/gauge/expenses.ts`; `tests/gauge-tasks.mjs` (DELIVERY-001); `tests/gauge-base-portability.mjs`. The lead assigns dated, prioritized task trees with own-effort estimates, checklists and billability; the assignee updates board progress and links time/expenses. Filtered project, list and personal views reconcile the status and permitted actual seconds. Root completion creates one next calendar-day occurrence tree through its inclusive last start date, preserving history and resetting progress; stale or duplicate requests cannot add another occurrence. Recurring records and their links round-trip in the BASE-002 journey. | done |
| 40 | DELIVERY-002 | Dependencies and Gantt schedules | `tests/gauge-delivery.mjs` (`DELIVERY-002`) creates a phase/task/milestone DAG through native forms, checks Gantt and independently computed critical slack, delays the upstream task two business days across declared Thanksgiving, previews the dependent client milestone and global two-hour staffing conflict plus unknown/tentative capacity, then approves one immutable baseline. Exact replay, stale/cross-project/unauthorized refusal, source history, unchanged prior baseline and approved milestone commercial values are asserted. The existing `tests/gauge-base-portability.mjs` (`DELIVERY-002 / BASE-002`) archive journey restores the baseline and its source records. Explicit weekdays/holidays, inclusive dates, next-working-day finish-to-start edges and calendar-offset booking moves are the published semantics. | done |
| 41 | DELIVERY-003 | Reusable delivery templates | Apply a new-client template to two start dates, update its version, and confirm the earlier projects keep their original plans. Evidence: `tests/gauge-delivery-templates.mjs` (DELIVERY-003) through `tests/gauge-delivery.mjs`; `tests/gauge-base-portability.mjs`. Phase budgets, intake forms and required custom fields are carried by BUDGET-002, DELIVERY-006 and SETUP-004. | done |
| 42 | DELIVERY-004 | Project conversations and documents | Upload two deliverable revisions, annotate a region of revision 1, mention a teammate and approve revision 2 as client-visible; the annotation stays on revision 1, the teammate sees the mention in the in-app inbox and the next digest, and a client and unrelated employee cannot fetch private revisions. Link a Google Drive folder and verify a person without Drive access is sent to Drive's own permission prompt. Evidence: `src/gauge/catalog.ts`; `src/gauge/harvest.ts`. Remaining: Scope text and imported historical files exist; task discussions, document versioning, proofing annotations, notification inbox/digests, file-store links and project file rights are absent. | partial |
| 43 | DELIVERY-005 | Milestone acceptance and risks | Reject a milestone for missing work, resolve its issue and accept it; verify neither the initial delivery nor acceptance alone issues an invoice. Until CLIENT-001 ships, the engagement lead or finance records the named contact, date and reason, always labelled “recorded by <person>, not confirmed by the client”; CLIENT-001 inherits direct confirmation. Evidence: `tests/gauge-milestone-delivery.mjs` — milestoneDeliveryJourney and directMilestoneReviewJourney through `tests/gauge-delivery.mjs` (health, issue owner, mitigation, dated dependencies, rejection, resolution, acceptance and preserved snapshots; separate finance authorization and packet approval; no automatic packet or invoice; confirmed non-staff exact recipient, description-only projection without staff decision reasons or relabelled confirmation, hashed shown-once token and secret-free receipts, one and 30 day limits, revocation, expiry, delivery-change and owner-authority fences; every access in the owner audit; native delivery and audit screens at 1440 and 390); `tests/gauge-base-portability.mjs` — prepareCurrentPortability (decision, release and access history retained with recipient authority absent even with the old token and fresh email confirmation). ct approved this PARTIAL boundary on 25 October 2026: native-owner-only audited release of one exact delivery to a confirmed non-staff recipient for one to 30 days; immediate revocation and invalidation on delivery changes; customer-description-only projection; no outbound sending; separate finance authorization; no restored recipient authority. The token is stored only as SHA-256, returned once and omitted from replay receipts, business history and archives. Every review access attempt appears in the owner access audit, including refused attempts. Current proof: `tests/gauge-milestone-delivery.mjs` — milestoneDeliveryJourney through `tests/gauge-delivery.mjs` (retained mitigation; independently enumerated delivered health, issue, dependency and commercial snapshot values; rejection, resolution and immutable history; changed-content request-key refusal; replacement delivery requires renewed finance authorization; pre-existing undelivered milestones refuse billing; independent finance and packet gates); directMilestoneReviewJourney (exact saved direct-client reasons; dependency and draft-commercial edits invalidate acceptance and review access; unconfirmed recipients and later internal grants refused; hashed shown-once token, exact replay, expiry, revocation and live owner authority; closed private projection and no outbound send; owner release, recipient submissions, saved reasons, owner revocation forms and access audit at 1440 and 390); milestoneAudit (99 successful submitted milestone commands reconciled to one audit entry each with exact actor, request key, previous and result revisions and values); `tests/gauge-base-portability.mjs` — prepareCurrentPortability (decision, release and access history retained without recipient authority). CLIENT-001 retains the full scoped project portal and retainer parity. CLIENT-004 retains recipient accounts and delivery notifications. No outbound notification is sent by the bounded exact-delivery review. | done |
| 44 | DELIVERY-006 | Client intake and follow-through | Request brand assets with a due date, upload as the client, reject an incomplete submission and verify reminders stop only after acceptance. Before intake forms ship, apply a DELIVERY-003 client-onboarding template carrying an intake form and verify it is requested for the new engagement. Current native intake uses the existing CLIENT-001 invited-project authority. The engagement lead or native finance requests a dated form and file, schedules an in-app reminder interval and escalates blocked inputs to the project lead. Only a currently invited recipient submits; current project and client identity, invitation and session authority are rechecked in the committing transaction. An incomplete submission can be returned with a reason but cannot be accepted. Each resubmission retains its answers and file as a separate immutable version; review binds the latest revision. Outstanding actions and reminders remain visible through submission and rejection and close only on explicit acceptance. Download permission belongs to the submitting recipient while invited, the assigned lead and native finance. Files are bounded to 512 KiB, downloaded as opaque attachments and never executed. No outbound notification is sent. Optional Chest and Blotter links retain those products as separate permission boundaries and trigger no server request. Client-onboarding templates carry the form and relative business-day due date; application creates a requested intake record for the new engagement. Evidence: `tests/gauge-delivery-templates.mjs` — clientIntakeJourney, invoked by deliveryTemplatesJourney through `tests/gauge-delivery.mjs`: exact dated brand request; client answers and independently expected first and later uploaded file bytes; exact 512 KiB acceptance and oversized refusal; opaque execution-protected attachments and successful recipient, assigned-lead and native-finance downloads; native-finance requests; incomplete acceptance refusal and reasoned rejection; submitted and rejected reminder visibility, correct escalation ownership and explicit acceptance closure; onboarding template request with its exact requested-file label and a business-day due date crossing a weekend; same-project submission-owner page and download isolation in both directions; native owner, assigned lead and native-finance upload refusals with no intake or file write; cross-project file refusal, revoked replay refusal, request-key conflict and invitation, project-client and session committing-authority rollback; stale-review refusal; changed screens at 1440 and 390. `tests/gauge-milestone-delivery.mjs` — clientPortalJourney: complete intake records and both file versions survive installation restore without imported recipient authority. | done |
## Time capture and expense operations

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 45 | TIME-003 | Daily and weekly timesheets | Fill a week using a favorite and manual interval, return one day, correct it and resubmit; a locked period refuses an unapproved edit. Evidence: `src/gauge/timesheets.ts`; `src/gauge/time-favorites.ts`; `src/gauge/time-policy.ts`; `src/gauge/ui-timesheets.ts`; `src/gauge/import-targets.ts`; `tests/gauge-timesheets.mjs` (TIME-003); `tests/gauge-base-portability.mjs`. A worker uses a private favorite in the day/week interval grid, enters manual time, copies recent task defaults, submits exact revisions atomically, sees net missing hours and separate approval status, then corrects and resubmits a returned day. Stale batches change nothing. An inclusive finance cutoff blocks edits, reviews and import insertion/removal, and cannot strand a running timer; audited finance reopening enables a historical correction while preserving the original approver, actual seconds and frozen billing rounding. Favorites stay private to their person (owner acts as them only on finance Time), never leak to another lead’s state/history/report export, and round-trip with policy/history under BASE-002. | done |
| 46 | TIME-004 | Timesheet policies and reviewer queues | Submit short-note and excessive-hours entries, resolve the flags, delegate review during leave and verify the original worker cannot bypass the policy. Evidence: `tests/gauge-time-review.mjs` (`TIME-004`, invoked by `tests/gauge-timesheets.mjs`) exercises the built HTTP/browser doors: policy saving, weekly timezone due/aging, required-note and entry/day-limit flags, all-or-none bulk submission, corrected resubmission, optional service billability, lead absence and scoped dated delegation, range/revocation/identity/self-approval refusal, time-only source/history scope (no project staffing or unrelated tasks), immutable first review and independent finance final approval. Changed policy requires renewed submission; approved history is unchanged. BASE-002 carries the new policy/delegation/history records without authority. | done |
| 47 | TIME-005 | Consented evidence inbox | Connect a calendar and issue project, resolve a meeting matching two clients and reject a PR-only suggestion; revoke access and verify collection stops. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. Remaining: Manually cited time proposals and personal confirmation exist; live collection, consent management and evidence inbox are absent. | partial |
| 48 | TIME-006 | Timer continuity and idle recovery | Start on desktop, inspect on mobile, disconnect, reconnect and stop twice; recover an overnight timer with the worker choosing the actual interval. Evidence: `src/gauge/time.ts`; `tests/gauge.mjs`. Remaining: Persistent web timer and parallel exclusion ship; cross-device clients, offline reconciliation and idle recovery do not. | partial |
| 49 | COST-002 | Expense policy and reimbursement | Submit a travel receipt with a policy exception, approve it, export it for reimbursement and invoice its allowed markup once. Claim 120 miles at the effective per-mile rate, change the rate the next day and verify the approved claim keeps its amount. Evidence: `tests/gauge-handoffs.mjs` — expensePolicyJourney asserts exact finance review, missing-FX refusal and unknown provisional cost, frozen CAD cost with receipt tax and allowed markup, separate native flags, 120-mile and per-diem claims unchanged by later rates, unknown provisional unit cost and missing-rate refusal, once-only reimbursement and invoice sources with exact-request replay, agency-paid client-only recovery without employee reimbursement, immutable artifact hashes and quantity-bound accepted or rejected results, signed reimbursement correction without changing the invoice, scoped reads and native 1440 and 390 screens. `tests/gauge-base-portability.mjs` — prepareCurrentPortability retains receipt bytes, unit rates, economics, handoff artifacts, results, revision history and once-only reservation after restore. `tests/gauge-invoices.mjs` — invoicePresentationJourney retains category, vendor and receipt references. ct approved the native manual slice on 25 October 2026. expensePolicyJourney additionally proves all five ruling assertions: stale review after an input edit and immutable approved inputs; positive owner and finance reads beside member and client privacy across current doors and exports; unchanged reimbursement and recovery in both directions; signed bounded correction form with signer, reason and history; no outbound payment or expense notification call. The same accounting receipt and mileage exports pair finance reads of frozen unit-rate, FX and review values with accountant omission of those fields and actual review values, unchanged reviewed amounts and source revisions, stable accountant bytes and an unchanged original artifact and hash. Accountant, member and client screens and the correction form are checked at 1440 and 390.  `tests/gauge-handoffs.mjs` — expensePolicyJourney pairs populated completed-close downloads for accountant and finance, including receipt and mileage economics and nested expense snapshots inside issued invoices; accountant copies omit private commercial keys while retaining all permitted amounts, identities, revisions and legitimate time review notes. Repeated downloads and finance originals stay unchanged. The same projection protects invoice-category accounting handoffs; completed-close links and fit are asserted at 1440 and 390. Broader automatic payouts and provider execution remain absent and unclaimed. No payment, automatic send, tax filing or accounting posting is claimed. | done |
| 50 | COST-003 | Contractor and purchase commitments | Commit $8000 to a subcontractor, receive two bills against it and reconcile forecast versus actual cost without doubling the commitment. Enter a $3,000 bill in a QBO sandbox coded to the project: after sync it appears once as actual cost against the $8,000 commitment, a re-sync adds nothing, and a bill coded to an unmapped QBO project is listed as unmatched. Evidence: `tests/gauge-vendor-commitments.mjs` — native commitment and received-bill journey: native forms prepare and independently approve an exact $8,000 purchase order and $2,000 plus $3,000 original-backed user-recorded bills; HTTP, source drills and decoded report CSV reconcile $5,000 actual plus $3,000 remainder to $8,000 forecast in project, phase, margin and portfolio totals. Duplicate matches and references, excess and concurrent bills, stale revisions, ambiguous expense and contractor-work overlaps, currency mismatch, above-limit self-approval and private reads by leads, staff, recipients and agents refuse without business changes. Linked purchase-order and bill corrections preserve originals; later signed bill deltas retain earlier monthly actuals; closed periods refuse backdated bills. Immediate finance revocation closes state, history, originals and writes. Native screens captured at 1440 and 390. `tests/gauge-finance-forecast.mjs` — existing committed forecast and margin journey retains unknown-cost and currency boundaries. `tests/gauge-base-portability.mjs` — prepareCurrentPortability, invoked by `tests/gauge.mjs`, retains complete vendor records, original bytes, approval and correction history and match reservations; restored stale sessions and duplicate approval refuse.. Remaining: Native owner and finance same-currency manual commitments and received bills only; GOVERN-001 supplies the existing monetary review limit and independence rule. The workflow refuses ambiguous native expense, expense-budget and contractor-work overlaps rather than inventing a source match. QBO_CLIENT_ID is unprovisioned; an authorized QBO sandbox and OAuth connection with owner connection authority remain required. CONNECT-001 and CONNECT-002 provider reads, the live $3,000 coded-bill reconciliation and re-sync proof, provider-side unmatched-project handling, QBO and Xero actual-cost matching, W-9 and 1099 classification-reference exports and broader currency coverage remain unimplemented and unproved. User-recorded native approval establishes no accounting posting, payout, provider settlement or tax filing. | missing |
## Economics, forecasts and financial control

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 51 | FINANCE-001 | Explain actual and forecast margin | Approve time and expenses, leave one cost unknown, invoice half the project and trace actual/forecast margin and its incomplete flag to source records. Evidence: `tests/gauge-finance-forecast.mjs` (`FINANCE-001` margin drill as of 20 October): a complete hourly engagement shows actual margin $600 and forecast margin $2,000 with nothing billed and "No payments recorded"; on the drill engagement, 6 approved hours at $90/$150, 2 approved hours by a person with a bill rate and no cost rate, $600 approved travel, 2 submitted hours and a $50 submitted expense, and 8 committed future hours: earned operational value $1,800 (labeled not recognized revenue), approved cost unknown with known $1,140, provisional cost $230, billed $850 for half the work net of a $50 credit (labeled billing prepared, not invoiced), paid cash "No payments recorded", remaining effort 10 task hours and 8 committed hours, ETC fees $1,200, EAC fees $3,000; approved cost, actual margin (known $660) and forecast margin are unknown and each names the unknown-cost time entry among its sources; billed and credits trace to both packets; leads read no margin or margin lineage; Week in review shows the section, its unknown sources and each figure's calculation at 1440 and 390. Per-phase figures (BUDGET-002), invoiced billing (INVOICE-001) and paid cash (INVOICE-006) are inherited by those clauses. Evidence: `src/gauge/margin.ts`; `src/gauge/report-lineage-margin.ts`; `src/gauge/ui-margin.ts`; `tests/gauge-finance-forecast.mjs`. REPORT-001’s recorded opened-period fees are earned ratably through the inclusive as-of day on the saved working-day fee basis; the earned value and actual margin reconcile to `tests/gauge-portfolio.mjs`. Additional current evidence: `tests/gauge-invoices.mjs`. | done |
| 52 | FINANCE-002 | Revenue and cash forecast | Delay a milestone by two weeks; the shifted cash curve equals an independent FINANCE-007 recomputation month by month, while booked revenue and settled cash remain distinct. Evidence: `tests/gauge-cash-forecast.mjs` (`FINANCE-002`, as of 20 October): a Net 30 client with a $10,000 milestone due 26 October, a $10,000 milestone due 15 December and hourly fees of $600 (October actual) and $1,200 (November committed) expects cash November $10,000, December $1,800 and January $10,000, equal to an independent recomputation; delaying the first milestone 10 business days through the approved delivery plan moves it to 9 November and the curve to December $11,800 and January $10,000, again equal to the recomputation, and October revenue drops to the booked $600; booked revenue $600, backlog $1,200, "None issued" receivables and "No payments recorded" pending and settled cash stay distinct; 10 approved days late and 50% collection give the historical-timing curve, range and halved expected cash beside the full open amount, each equal to the recomputation; a client without terms reads "Net 30 assumed" and is placed at 30 days; each month's cash traces to its milestone, client terms and as-of day; leads read no cash figures or client cash assumptions; Week in review shows the section and each figure's calculation at 1440 and 390. The payment-promise point is INVOICE-006's (ct 20 Oct 06:10Z); SETUP-002, INVOICE-001 and FINANCE-007 inherit theirs. Evidence: `src/gauge/cash-forecast.ts`; `src/gauge/report-lineage-cash.ts`; `src/gauge/ui-cash.ts`; `tests/gauge-cash-forecast.mjs`. Additional current evidence: `tests/gauge-invoices.mjs`. | done |
| 53 | FINANCE-003 | Project scenarios and baseline comparison | Model replacing a staff member with a contractor across two projects, compare baseline economics and adopt only the selected future staffing changes. Evidence: `tests/gauge-project-scenarios.mjs` names FINANCE-003 and asserts the two-project staffing acceptance through built HTTP commands/state/history and capacity at 1440/390: exact baseline/candidate cost, margin, cash and utilization, selected future-only human adoption, past/unselected preservation, replay, stale and unauthorized refusal. `tests/gauge-project-scenario-rates.mjs` additionally asserts native future rate versions across two projects, independent remaining cost/margin/cash, selected adoption, unchanged dates/utilization, immutable earlier rates and frozen actuals. `tests/gauge-project-scenario-deadlines.mjs` asserts holiday/dependency cascade, fixed-fee cash moving month, effective-dated cost, global conflict, native baseline adoption and lead project planning; existing Rates and Engagements screens are exercised at 1440/390. `tests/gauge-project-scenario-scope.mjs` asserts explicit two-project scope/terms/task/booking effort, remaining cost/margin/cash/utilization, exact selected native adoption, immutable historical and unselected records, fixed-milestone preservation and unscheduled-fee incompleteness. `tests/gauge-project-scenario-pricing.mjs` asserts native future write-down/overtime cards, independent integer premium/discount rounding, cross-project daily thresholds/spillover, tentative isolation, unchanged cost/dates/utilization, expected cash terms/probability, frozen actuals and prior cards, replay and agency-day refusal; resulting native screens at 1440/390. BUDGET-002, RETAINER-005, SALES-002/005 and INVOICE-001/004 inherit as they add records/capabilities. | done |
| 54 | FINANCE-004 | Monthly period close | Attempt close with missing cost and an unmatched invoice, resolve both and close; late time requires a linked adjustment or authorized reopen. Evidence: `tests/gauge-invoices.mjs` — `agencyCloseJourney`: missing time/cost, unapproved costs and unmatched invoice controls refuse close until resolved; manual net reconciliation refuses the wrong amount; WIP/unbilled notes, exact source totals and stale preview refusal; finance cutoff held against late time, costs and receipts; immutable retainer close links and a named open exception; independent above-limit close/reopen, role denials, immutable repeated download, ordinary late-time approval after authorized reopen and a linked reclose; native form at 1440/390. `tests/gauge-base-portability.mjs` — `prepareCurrentPortability` round-trips the close, match, prepared reopen request, history and download with fresh authority. Per ct 20 October 23:45Z, this is a separate agency record composing TIME-003 and RETAINER-004. Native manual external controls are finance-recorded and unverified, never statutory books. | done |
| 55 | FINANCE-005 | Revenue schedules for the accountant | Bill a prepaid fixed project, recognize approved monthly delivery by the selected policy and reconcile the reviewed journal export to deferred and unbilled balances. Evidence: `tests/gauge-handoffs.mjs` (`revenueScheduleJourney`) proves prepaid fixed billing, approved monthly delivery under the recorded policy, all three schedule modes, owner-only policy revisions preserving approved journals and refusing stale drafts, duplicate-schedule refusal, exact balanced journal mapping, deferred and unbilled snapshots, immutable specialist exports with accepted and rejected amounts, stale reviews, duplicate refusals and private access; later issued billing reconciles unbilled value with no new recognition, and an immutable signed monthly-delivery correction requires independent finance review even with no review limit; its author and a non-finance lead are refused, scheduled processing leaves journals and handoffs unchanged, and no accounting provider call is made. The signed correction survives exact accountant export reconciliation. Existing handoff screens asserted at 1440 and 390. Policy APPROVED by ct (24 October 2026, 16:35Z): owner-recorded accountant policy, finance-reviewed operational journals and independently reviewed corrections; manual inputs only, no provider authority or automatic posting. Remaining: Native command schedules and reviewed journals ship for unphased fixed or hourly terms, with frozen deferred and unbilled snapshots. Corrections to milestone or time recognition, repeated corrections to the same delivery, phase schedules and live accounting posting remain absent. Owner-recorded accountant policy revisions preserve approved journals and invalidate outstanding drafts; one schedule per engagement is enforced atomically. | partial |
| 56 | FINANCE-006 | Committed forecast basis | On 20 October, for an hourly engagement with cost rate $90/h and bill rate $150/h changing to $175/h on 1 November: approve 10 hours worked 1–17 October, commit 12 future hours on 21–31 October and 8 on 3–7 November, add 8 tentative November hours and a $500 billable expense budget dated November. The forecast shows actual fees $1,500, committed ETC fees $3,200, committed EAC fees $5,200, tentative-inclusive EAC fees $6,600, committed cost EAC $3,200 ($900 + $1,800 + $500) and committed margin $2,000, split October $3,300 and November $1,900 committed (+$1,400 tentative). Withdrawing the 1 November rate changes November to $1,700 and committed EAC to $5,000. A $20,000 fixed-fee project with two $10,000 milestones forecasts revenue in its two milestone months whatever its allocations. Evidence: `tests/gauge-finance-forecast.mjs` (`FINANCE-006`) through the built command, state (`asOf=2026-10-20`) and Week in review doors: actual $1,500, committed ETC $3,200, EAC $5,200, +tentative $6,600, cost EAC $3,200 and margin $2,000, October $3,300 / November $1,900 (+$1,400 tentative), withdrawal of the 1 November card giving November $1,700 and EAC $5,000, fixed-fee revenue in its two milestone months, labelled weighted pipeline, unpriced allocations incomplete never zero, finance-only figures with formula and source lineage. Phase figures, percentage schedules, retainer period fees and FX conversion are carried by BUDGET-002, INVOICE-002, RETAINER-005 and SETUP-005. REPORT-001’s optional recorded opened-period fees accrue ratably through as-of, with the remainder in ETC; missing fees remain incomplete. RETAINER-005 inherits once-only schedule/issuance; `tests/gauge-portfolio.mjs` asserts earned fee, EAC, working-day basis and immutable later versions. | done |
| 57 | FINANCE-007 | Expected cash basis | On 10 October, for a New York client on Net 30 with nothing issued: a $10,000 fixed-fee milestone scheduled for 15 October, $4,000 of October hourly fees billed monthly in arrears on 1 November, and a $3,000 November retainer billed in advance on 1 November. The forecast shows November $10,000 (due 14 November) and December $7,000 (due 1 December). Approving 10 days late for the client keeps November $10,000 (24 November) and December $7,000 (11 December), labeled historical timing, with the on-terms dates as the range's other end. Moving the milestone to 29 October keeps it in November (due 28 November); moving it to 5 November moves $10,000 to December (due 5 December). Back on the original schedule, issue the milestone invoice on 15 October and record a $1,000 dispute: November expected cash reads $9,000 and the $1,000 is listed separately as disputed. Setting a 50% collection probability on the scheduled retainer invoice shows December expected cash of $5,500 beside the full $7,000. Advancing the test clock to 2 December and paying the $4,000 hourly invoice by ACH in Stripe test mode shows $4,000 pending ACH, not settled cash, until Stripe reports settlement. Evidence: `src/gauge/cash-forecast.ts`; `src/gauge/report-lineage-cash.ts`; `tests/gauge-expected-cash.mjs` — FINANCE-007; `tests/gauge-cash-forecast.mjs`; `tests/gauge-invoices.mjs`; `tests/gauge-portfolio.mjs`. Remaining: Unissued fixed milestones and monthly-arrears hourly fees follow client Net N terms, labelled approved days late, collection probability and the on-terms/historical range. Recorded period fees use an explicitly assumed in-advance date. Ordinary issued invoices, dated manual receipts and payment promises now replace their sources once. Contractual retainer schedules/issuance, scheduled-invoice probability overrides, dispute collection holds, processor pending versus settled cash and approved FX remain absent. | partial |
## Invoices and collections

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 58 | INVOICE-001 | Issue numbered USD and client-currency invoices | Issue a USD invoice from time and expenses, race a second issue and verify one immutable numbered invoice with each source billed once; include a RETAINER-002 overage and reconcile its agreed rate and quantity while included allowance stays unbilled. Issue a CAD invoice for a CAD client in the same numbering sequence and verify its lines, totals and payment link stay in CAD. Evidence: `src/gauge/billing.ts`; `tests/gauge.mjs`; `tests/gauge-currency.mjs`. Remaining: Approved billing packets and immutable CSVs retain their source currency, including USD, and refuse mixed currencies. Native ordinary pre-tax numbered invoices, exact source/client/PO/terms snapshots and manual paid states are asserted by `tests/gauge-invoices.mjs` (REPORT-003). Retainer overage issuance, client-currency payment links and full issuance remain open.  Before shipping, assert BOUNDARY-001 exact specialist-input identity and accepted/rejected reconciliation with honest provider labels. Inherits FINANCE-001: assert billed revenue counts issued invoices net of credit notes, labeled invoiced. Inherits FINANCE-002: assert issued invoices are placed by actual issue date as issued receivables. Additional current evidence: `src/gauge/invoices.ts`; `src/gauge/ui-invoices.ts`; `tests/gauge-invoices.mjs`. | partial |
| 59 | INVOICE-002 | Progress and consolidated invoices | Collect a 20% deposit on two projects, issue a combined progress invoice and reconcile deposit deduction and remaining budgets. Evidence: `tests/gauge-progress.mjs` — progressJourney through `tests/gauge-cash-forecast.mjs`: paid deposits of $2,000 and $4,000; one $9,000 combined progress invoice ($3,000 and $6,000 after deposit deductions), remaining fixed fees $5,000 and $10,000, immutable per-project sources and document detail; independently reconciled project and phase invoice, credit, receipt, margin and cash figures; two fixed phase budgets with exact remaining cents; three 1,200-second portions of a $100.01 approved hour issue $33.34, $33.33 and $33.34, with no duplicate full billing, stale source, overlapping race, lost cancellation gap or editable reserved original; client and currency mismatches and nonfinance access refused; native Billing preparation and partial forms and retained invoice screens at 1440 and 390. `tests/gauge-retainer-rules.mjs` — retainerScheduleJourney and retainerRestartAndCloseJourney through `tests/gauge-retainers.mjs` prove recurring principal fees, reviewed overages, consecutive numbering across two month ends and restart, bounded consent and owned exceptions. `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs` carries consolidated sources, partial time, approved artifacts, issued originals and histories through fresh-authority restore. Percentages retain basis points and cumulative half-up semantics; billing schedules never invent earned revenue or delivery confirmation. | done |
| 60 | INVOICE-003 | Branded invoice delivery | Send an invoice to a controlled mailbox, open its exact PDF and hosted page, then induce a bounce and observe an actionable delivery failure. Evidence: `tests/gauge-invoices.mjs` — invoicePresentationJourney (branded PDF, retained original and selected detail files; exact-recipient hosted access, views, role refusals and revocation at 1440 and 390); `tests/gauge-invoice-delivery.mjs` — invoiceDeliveryJourney (native owner queue then dispatch, verified sender, provider admission distinct from delivery, byte-identical attachments and invoice-version linkage, mismatched evidence refusal, concurrent claim and replay without resend, induced network-edge bounce with an actionable failure, revoked-source refusal, exact reconciliation counts and value controls, and invoice and Access screens at 1440 and 390); `tests/live/invoice-delivery.mjs` (real SendGrid native-job submission 3xL1Yr0oRXWhEGwW-n08IA; QA receipt 655f159b-6d6a-408f-8d6a-7664a82dba60, 26 October 2026, DMARC pass, exact received PDF and detail bytes and received hosted link; native invoice:delivery-readback correlated the admitted ID and durable reference to delivered activity 3xL1Yr0oRXWhEGwW-n08IA.recvd-5bb5b9cb76-4pnkk-1-6ADEAB6E-5.0); `tests/gauge-base-portability.mjs` — prepareCurrentPortability (document-access history and views retained; restored authority absent); `src/gauge/invoice-delivery.ts`; `src/gauge/invoice-delivery-readback.ts`; `src/gauge/invoice-mail-provider.mjs`. Remaining: Explicit invoice delivery, sender verification, provider acceptance, exact-message readback, byte-identical received attachments, secure hosted access and actionable network-edge bounce reconciliation are implemented and proved by the named journeys. The live carrier is SendGrid transactional mail, as this clause permits; no live Resend invoice proof is claimed and Resend-specific proposal obligations are unchanged. PARTIAL under the 26 October brief pending ct confirmation that explicit invoice email inherits the approved exact-document boundary. Default ADOPTED: native owner only, separate audited exact-recipient mail consent and dispatch, one to thirty days of hosted access, live recipient and releasing-owner checks, immediate hosted revocation, no authority in archives and no automatic send. The 24 October ct ruling already approved hosted access; that earlier pending-approval sentence was stale. | partial |
| 61 | INVOICE-004 | Credits voids and write-downs | Credit part of an issued expense, void an unpaid invoice and reissue the valid balance; reconcile every source and original document. Evidence: `tests/gauge-invoice-corrections.mjs` (`INVOICE-004`, through `tests/gauge-cash-forecast.mjs`) exercises the built HTTP command/state/history/CSV doors and the Billing page: a $700.00 invoice of a $400.00 reimbursable expense and two hours is credited $150.00 on the expense line as a `CN-` numbered credit note while the invoice record stays byte-identical; credits before issue, beyond the line or beyond what is owed are refused, and the credited expense cannot enter a new packet or reissue its packet; under a $200.00 review limit a $300.00 write-off is pending, changes nothing, is refused to its preparer and issued by another finance person; a receipt above the remaining $250.00 and a void of the credited invoice are refused. A $450.00 unpaid invoice is voided and its valid $300.00 line reissued as a new number on the same packet (due by the client's Net 30 from the void date) with $150.00 written down; receipts, promises, credits and a second void on the void are refused and the written-down hour cannot be billed again. Every source stays out of WIP; dashboard invoiced, open and credited move by exactly $1,000.00, $550.00 and $450.00 with invoiced = open + paid + credited; cash places $250.00 and $300.00 on their due dates with nothing re-scheduled; margin billed and billed against booked value each move by $550.00 net of credit notes, and their lineage and the November cash lineage name the credit notes; the `revenue:USD:creditedMinor` lineage names the credit notes and the expense and appears in the CSV; the INVOICE-006 aging and client statement for that client read $1,450.00 invoiced = $0.00 paid + $450.00 credited + $450.00 voided + $550.00 open, with two credit rows and one void row in its CSV; a BOUNDARY-001 handoff of the three invoices, two credit notes and the void totals $550.00 in signed invoice rows and records one user-recorded rejection without changing any document; staff and leads see none of it (state, history 403, commands 403); a discount issued through the Billing form at 390 px and both widths fit. `tests/gauge-base-portability.mjs` round-trips a credit note through BASE-002. | done |
| 62 | INVOICE-005 | US sales tax and exemptions | Issue taxable and exempt US service invoices in provider test mode, credit a taxed line and reconcile the provider calculation, invoice and books. Remaining: No sales-tax configuration, provider calculation, exemption workflow or tax reversal. | missing |
| 63 | INVOICE-006 | Accounts receivable and payment allocation | Receive one payment covering two invoices, leave an unapplied balance and trace aging and statement totals through a later credit. Evidence: `tests/gauge-receipts.mjs` (`INVOICE-006`, through `tests/gauge-cash-forecast.mjs`) drives the built HTTP command, receivables, state, CSV and Billing doors: a $500.00 client receipt under one unique reference is allocated across two of a client's invoices ($150.00 clears the first, $250.00 of the second's $300.00), leaving $100.00 unapplied that is not subtracted from any invoice (received = allocated + unapplied; before the allocation dates the whole receipt reads unapplied; a receipt dated after the as-of day, another client and other roles see none of it); a reused reference (also against a direct invoice receipt), a wrong-client or earlier-dated allocation, one beyond the invoice or the receipt, a repeat on the same invoice and two racing allocations that together exceed the receipt are refused or admit exactly one; a second $100.00 receipt is allocated on the Billing page at 1440 and 390; the invoice is disputed for $30.00 (a second open dispute, an amount beyond what is open and a dispute on a paid invoice are refused), aging buckets and open totals do not move, and expected cash excludes the $30.00 and names the dispute in its lineage until a later $50.00 credit note resolves it as credited, after which invoiced = paid + credited + open to the cent as of each day; paid cash per engagement equals the allocated payments, and the statement CSV carries receipt, unapplied and dispute rows; staff, leads and agents read none of it, record none and are refused its history. Evidence: `src/gauge/receipts.ts`; `src/gauge/receivables.ts`; `src/gauge/cash-forecast.ts`; `src/gauge/ui-invoices.ts`; `migrations/core/0040_gauge_client_receipts.sql`. Native pre-tax receivables, exact manual receipt allocations and as-of aging/client statement JSON/CSV remain asserted in `tests/gauge-invoices.mjs` (REPORT-003). The named journey changes a payment promise and independently checks the shifted cash month and full open amount. Inherits FINANCE-001: assert paid cash shows allocated payments instead of "No payments recorded". Inherits FINANCE-002: change a payment promise and assert the shifted cash curve equals an independent FINANCE-007 recomputation month by month. | done |
| 64 | INVOICE-007 | Overdue follow-up until resolution | Send a scheduled overdue reminder, record a client dispute, pause it, then ingest payment before the next send and prove the sequence stops. Let an undisputed invoice pass 30 days overdue under 1.5% monthly terms and verify one late-fee draft of exactly 1.5% awaiting finance approval. Evidence: `tests/gauge-late-fees.mjs` — lateFeeJourney (native agreement and finance preview forms; frozen issued terms; exact $10,000 principal at 1.5% produces one $150 draft awaiting finance approval; cap and half-up integer cents; exact replay and concurrent duplicate refusal; stale payment, allocated-receipt, credit and dispute inputs; unapplied receipts leave invoice principal unchanged; paid, void and credited-away refusals; an attributed finance-created draft, wrong-invoice preview refusal, revoked and erased finance replay and history denials, and private state and history denials for other roles; unchanged original, receivable, cash and payments). `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs`, using prepareLateFeePortability (exact issued terms, draft, attributed draft audit with its source revisions and client term history retained; old sessions and duplicate restored requests refused). Existing `tests/gauge-receipts.mjs` — receiptJourney through `tests/gauge-cash-forecast.mjs` retains allocation and dispute coverage.. Remaining: Native draft scope is the first completed monthly anniversary of the frozen due date, clamped to month end and only after more than 30 days overdue; a simple percentage of current unpaid principal, half up to cents and within the frozen total cap. Missing frozen terms grant no entitlement; later client edits cannot retrofit an invoice. Drafts grant no approval or issuance authority and change no receivable, cash or payment. Needs an authorized business-mail sender and provider credential plus a controlled mailbox for delivered reminders and reply and stop proof. Approved collection cadences, delivery and reply routing, promise and dispute holds across sends, verified payment, credit and cancellation stop conditions and uncertain-outcome escalation remain unproved. Flat fees, broader period coverage, compounding, fee approval and issuance, and accounting and provider execution remain omitted. General unattended outbound policy remains held under FOLLOWUP-004; bounded automatic fee issuance requires FOLLOWUP-003 authority. No existing account, owner or ct hold is released. | partial |
| 65 | INVOICE-008 | Invoice line presentation and time-detail backup | From the same 14 approved time entries and 3 approved expenses, render a draft summarized by service with expenses summarized and the same draft itemized per entry with expenses itemized, then issue the summarized version with the time-detail attachment. Both PDFs total identically to the cent, the invoice number is assigned once, the attachment lists exactly the 14 billed entries and 3 expenses and sums to the invoice, and the footer shows the client's remittance text. Evidence: `tests/gauge-invoices.mjs` — invoicePresentationJourney through `tests/gauge-cash-forecast.mjs` (same fourteen approved time entries and three receipt-backed expenses; service and entry PDFs independently decoded to identical cents; all six time groupings; category and itemized expense lines; exact PDF and CSV source detail, actual and billed durations, rate, receipt references and reconciled totals; client remittance, logo, limited rich text, legal business and address without EIN; previews consume no number, one native form issuance, immutable originals after defaults change, role denials and screens at 1440 and 390); `tests/gauge-base-portability.mjs` — prepareCurrentPortability through `tests/gauge.mjs` (settings, source snapshots and byte-identical invoice PDF, detail PDF and CSV after fresh-authority restore); `tests/gauge-invoice-corrections.mjs` — invoiceCorrectionJourney (reissued document and source detail reconcile to the reduced amount); `tests/gauge-retainer-rules.mjs` — retainerScheduleJourney and retainerRestartAndCloseJourney (automatic numbered invoices retain documents and survive restart). No remaining acceptance gap. Every acceptance point passes through the named native journeys. Finance-only agency and client defaults and draft overrides change presentation only; exact issued originals and optional detail attachments are retained on manual, scheduled and reissued invoices. Category and vendor labels freeze with approved expenses. Only PNG and JPEG logo bytes and limited formatting are accepted; rendering performs no remote asset fetch. Secure client delivery remains INVOICE-003; no send or settlement is claimed. | done |
| 66 | PAYMENT-001 | Stripe card and ACH payment links | Pay an invoice in Stripe test mode by card and another by ACH, verify pending then settled state and confirm no sensitive payment details reach Gauge. Evidence: Native owner card and ACH Checkout instructions, partial amounts, separate pending and settled balances, explicit fees, and secret-free state, audit and pages: `tests/fixtures/stripe-journey.mjs` — stripePaymentJourney through `tests/gauge-invoices.mjs` and `tests/gauge-cash-forecast.mjs`; native create and reconcile forms, Billing and Access at 1440 and 390. Remaining: Real Stripe test card completion is proved by `tests/journeys/stripe-sandbox.mjs`, recorded in `tests/artifacts/stripe-sandbox.json`; its charge balance remained pending, so settlement is not yet proved. ACH sandbox payment and settlement are blocked: the held Australian Stripe test account has no activated US bank account capability. Default ADOPTED pending ct: only a native owner may release an exact invoice instruction; test mode must match canonical Stripe mode; no raw payer credentials, automatic collection or new recipient access. | partial |
| 67 | PAYMENT-002 | Reconcile processor outcomes | Replay payment webhooks out of order, simulate an ACH return and refund, then reconcile against Stripe read-back and invoice balances. Evidence: Signed raw-body verification, expired and invalid signature refusal, duplicate and out-of-order callbacks, latest canonical payment and balance readback, once-only allocations, signed refund and ACH return entries, disputes, fees and automatic payout membership: `tests/fixtures/stripe-journey.mjs` — stripePaymentJourney through `tests/gauge-invoices.mjs`; invoice balances and exact signed accountant handoff results are asserted. `tests/fixtures/stripe-archive.mjs` — stripeArchiveJourney through `tests/journeys/stripe-native.mjs` preserves business history while refusing restored readback and refunds before any network request. Remaining: The held-key run in `tests/artifacts/stripe-sandbox.json` proves actual card refund and payment readback, plus a 152-transaction automatic AUD payout with zero difference. Live signed Stripe delivery and ACH return remain unproved. ACH requires an enabled US bank account test merchant. Periodic readback is an explicit native-owner polling command, not an unattended schedule. Default ADOPTED pending ct: signed callbacks only record verified canonical metadata; they never allocate cash or issue refunds. Each refund needs a typed, exact, audited native-owner instruction. | partial |
| 68 | PAYMENT-003 | External payments and bank reconciliation | Import a QBO check payment against two similarly numbered invoices, resolve its match as finance and reverse it in QBO; Gauge reflects the exact final allocation. Remaining: No external payment reconciliation or ambiguous payment queue. | missing |
## Reporting and client visibility

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 69 | REPORT-001 | Portfolio profitability dashboard | Compare a profitable retainer and loss-making fixed project, filter by team and trace the margin difference to source time and costs. Evidence: `tests/gauge-portfolio.mjs` (REPORT-001) through `tests/gauge-report-lineage.mjs`: $3,100 monthly retainer earns $1,690.91 through 16 October (12/22 working days), $100 cost and $1,590.91 operational margin; fixed project earns $50 with $250 approved costs, losing $200. Date/team/service/person/client/project/lead/firm cohorts, monthly trends, exact frozen time/expense/fee lineage and CSV, stale input refusal, incomplete missing-cost totals, finance-only fee/state/preview/page/history/export, immutable future versions, working-day proration and assumed once-only cash schedule are asserted at 1440/390. `tests/gauge-base-portability.mjs` restores fee versions and snapshots. A separate additive team/service view counts approved hours, frozen labor/expense costs and hourly billable value once, with fixed/retainer fees on an unattributed line and every cell linked to sources; it counts approved time/expenses once, leaves expense service unassigned, and does not invent fee allocation or claim a team/service margin. Filters select whole engagements; team/service cohorts overlap and are labelled non-additive; budget/EAC cover the whole project. Current currency buckets remain separate. SETUP-004 inherits permitted custom-field filters/groups, and SETUP-005 dated conversion, before those capabilities ship. | done |
| 70 | REPORT-002 | Utilization and realization dashboard | Approve ten hours at standard value, write down two hours on the invoice and reconcile realized rate and utilization without exposing salary to leads. Set a 75% billability target, record 28 billable of 40 available hours and see 70% against target with a −5 point variance. Evidence: `tests/gauge-realization.mjs` (`REPORT-002`) through `tests/gauge-utilization.mjs`: finance-only effective-dated person/role targets (page form and `target:set`; lead/staff 403), 28 of 40 available hours = 70% against a 75% person target = −5 points (80% role target −10), ten approved hours at a 150.00/h standard rate billed then two hours written down by packet correction = 80% realization, 120.00/h effective rate, 300.00 write-off (agency-currency cents), unbilled and nonbillable separate, role/client/month groups, traced CSV, and a lead page and state with utilization but no amount, rate, cost or salary. SETUP-004 custom-field grouping inherits. | done |
| 71 | REPORT-003 | Revenue cash and backlog dashboard | Move a deal through won, delivered, invoiced and paid; see value transfer between buckets once and flag stale accounting state. Native slice: `tests/gauge-revenue-dashboard.mjs` (REPORT-003), through `tests/gauge-cash-forecast.mjs`, asserts open-to-won and conversion deduplication, exact approved hourly WIP/expense sources with as-of and retainer exclusions, billing packets remaining unissued, unknown amounts, source lineage, stale CSV refusal and finance privacy; Review is exercised at 1440 and 390. Additional native slice: `tests/gauge-invoices.mjs` (REPORT-003), composed through the same cash journey, asserts won/converted/delivered/invoiced/paid transfer, immutable numbered pre-tax sources and client terms, issue/payment races and replay, overpayment/currency/date refusals, as-of WIP/open/receipt equality, cash/margin totals, CSV/lineage, specialist accepted/rejected reconciliation and finance privacy. Billing forms issue at 1440 and record payment at 390; both end states fit both widths. `tests/gauge-base-portability.mjs` retains invoices, receipts and numbering in the complete archive. Remaining: retainer/credit/tax/delivery and client-currency invoice completeness, provider settlement, accounting connector freshness/reconciliation, and approved USD FX conversion. | partial |
| 72 | REPORT-004 | Custom reports and scheduled delivery | Schedule a client profit report to finance and a cost-free status report to a lead; revoke the recipient and verify the next delivery is stopped. Schedule a BigQuery export of the saved report and verify its row count and totals equal the on-screen report. Evidence: `src/gauge/custom-fields.ts`; `src/gauge/custom-report.ts`; `src/gauge/saved-report-export.ts`; `src/gauge/ui-custom-fields.ts`; `tests/gauge-saved-reports.mjs` — saved report public-door sanity journey; `tests/gauge-base-portability.mjs` — prepareCurrentPortability; `tests/gauge-report-lineage.mjs`. Remaining: Native saved profitability and utilization reports provide typed custom filters, grouping, selected existing calculated columns, numeric and currency sums, revision-bound edits and current-authority CSV, XLSX and PDF downloads of the displayed snapshot. Exact currencies, unknowns, overlapping-cohort warnings, formula-safe text, original and current field policy, creator or finance visibility, definition history and complete-data restore are retained. Scheduled email delivery and its authorized sender, controlled recipients, recipient revocation and freshness proof remain unbuilt; an authorized SendGrid account is not held. BigQuery requires an authorized project, dataset and service account not held. Snowflake exports, BigQuery exports, Power BI and Looker Studio feeds, additional datasets and broader sharing remain unbuilt. Existing unattended outbound and account holds remain unchanged. | partial |
| 73 | REPORT-005 | Trace every reported amount | `REPORT-005 burn drill, frozen rate and approval lineage, exact CSV subtotal reconciliation, unknown cost/calendar, stale snapshot refusal and private/revoked exports` in `tests/gauge-report-lineage.mjs`. The browser drills into a project cost, exports all visible calculations and independently reconciles the known subtotal while an unknown cost stays flagged; later rates preserve frozen amounts and known overspend remains a lower bound. Review, engagement detail, staffing and billing inspected at 1440 and 390. Evidence: `tests/gauge-demand-forecast.mjs` (REPORT-005): every month and approved-scenario figure on Week in review equals its lineage figure, opens its formula and source rows in the browser, and the exported CSV carries the figures and sources and reconciles (committed demand = allocated + unfilled + won; margin = fees − cost; scenario margin delta). | done |
| 74 | CLIENT-001 | Scoped client portal | Invite contacts from two clients, expose a budget to one sponsor and attempt direct URL/API access to the other project and internal rates. Reconcile a permitted client’s retainer statement to the corresponding authorized manager statement, trace an approved source and verify pending time changes only the provisional projection; another client and private cost/rate detail remain inaccessible. Before CLIENT-001 ships, permitted clients must directly approve or reject the exact delivered milestone with a reason under DELIVERY-005, preserving earlier snapshots, rejection issues and separate independent finance authorization; staff-recorded decisions must stay labelled not confirmed by the client and must never become direct confirmations. Before this capability ships, permitted clients receive RETAINER-003 statement parity: opening allowance, rollover, approved consumption, provisional pending projection, linked adjustments, remaining hours/value and authorized source/rule versions, under this clause’s client scope. **CT policy ruling (26 October 2026, reviewed pin 6b0a1c89cb42045a0f880e159e60b2acdf87f809): APPROVE WITH RIDERS.** The scoped project invitation default is approved as the current door and replaces its pending label: only the native owner issues an explicit invitation, audited with a reason, to a recipient already invited and email-confirmed through Access who holds no internal Gauge grant; monetary details stay off until native finance shares them; revocation and stale revisions take effect at the next request; every read rechecks the recipient, releasing owner, client identity, expiry and invitation revision; archives keep the audit and never the recipient authority; and the invitation itself sends nothing. One to 30 days remains available, but a project portal is a standing relationship: before CLIENT-001 is done, the owner can grant project access for up to 12 months and renew it from the access list without re-entering the recipient, with each renewal audited. A signed-in recipient sees a list of exactly their current invited projects. Each exact delivery released to that recipient on that project opens from the project page, and a recipient with current project access decides there under the existing exact-delivery checks; the shown-once review key remains the door for recipients without project access. Finance chooses each monetary detail separately, as CLIENT-001's clause text requires: the approved budget amount, burn to date and remaining budget, and retainer value statements, each audited; the present single choice is the interim. When the releasing owner loses owner authority, the access list shows each affected invitation as stopped with that reason, and a current owner renews it in one audited action. Invitation and renewal notices are carried by CLIENT-004. CLIENT-001 inherits SETUP-004's versioned field-visibility checks at the portal handler before any custom field reaches a recipient. This ruling counts nothing complete and changes no status. **Rider acceptance (ct, 26 October 2026):** Try to invite a staff member, an unconfirmed email, 0 days and 31 days and see each refused, with no provider request from any invitation, sharing or revocation command. Grant one sponsor 12 months and renew it. Sign in as each sponsor and see only their own invited projects. Share only the budget amount with one sponsor and see the other sponsor, whose project also has an approved budget, receive no monetary detail. Decide a released delivery from the project page as an invited recipient. Deactivate the releasing owner and see the recipient refused and the invitation shown as stopped until a current owner renews it. Evidence: `tests/gauge-milestone-delivery.mjs` — clientPortalJourney through `tests/gauge-delivery.mjs`: two clients with approved budgets; current approved budget and labelled superseded history with once-only remaining balance; exact invited-project list and scope; isolated finance-selected budget, burn, remaining budget, value statements and currency fields with audit; cross-client and private-rate refusal; nonzero hour and value statement parity, linked adjustments and source versions; owner-only 12-month issuance and renewal with persisted expiry, invalid recipients and durations, stale revisions, stopped owner versions without reactivation revival, revocation and expiry; portal rejection, issue resolution, replacement acceptance and independent finance authorization; complete authority-free restore; project, list, decision, access and stopped screens at 1440 and 390; keyboard-focus navigation tooltips. directMilestoneReviewJourney retains the separate shown-once-key door. clientPortalJourney also directly refuses non-finance sharing, changed recipient lifecycle and project-client identity, and a fresh owner session on a former recipient invitation; portalRevisionRace refuses an in-flight invitation revision change through the public handler with real native authority and database transport. Current and saved lead-and-finance fields are excluded. Each successful client command retains its actor, request key, action, identity, revision and reason; finance choices are enumerated independently. `.github/workflows/verify.yml` retains the browser captures as a commit-labelled artifact. Remaining: CLIENT-003 retains client financial self-service. CLIENT-004 retains client-specific account onboarding and explicit invitation, renewal and delivery notices; this project carrier sends nothing. | done |
| 75 | CLIENT-002 | Client status and budget reports | Publish a redacted weekly status, have a client question a milestone, revise it and inspect both publications without leaking cost or other clients. Remaining: No publishable client reports, client replies or budget-sharing policy. | missing |
| 76 | CLIENT-003 | Client financial self-service | As a client, open the statement, question an overage, download the invoice and pay its undisputed balance; finance sees the reply and correct outstanding amount. Before shipping, reconcile RETAINER-003 permitted-client statement parity (opening, rollover, approved/pending, adjustments, remaining and authorized source/rule versions) to the manager statement; trace approved time and verify pending changes only the projection, with other clients and private cost/rate details inaccessible. Remaining: No client invoice/statement/retainer self-service or payment/dispute portal. | missing |
| 142 | CLIENT-004 | Client portal with recipient accounts and delivery notifications | A recipient signs into their scoped account, receives a delivery notification and opens only the authorized delivery; a revoked or other-client account is refused. CLIENT-004 also carries CLIENT-001 invitation and renewal notices (ct, 26 October 2026): when the native owner chooses, an invited recipient receives the invitation and each renewal with the portal sign-in link through an explicit audited native-owner send on the same queue, GOVERN-008 credential custody and durable provider job that INVOICE-003 uses; nothing sends automatically, and provider acceptance is not delivery. Acceptance adds: invite a confirmed recipient with the notice chosen, read the controlled mailbox and open the portal through the received link; an invitation without the notice sends nothing. Remaining: No client-specific account onboarding or explicit invitation, renewal and delivery notices. Access confirmation and CLIENT-001 supply scoped project reads and decisions without sending notices. | missing |
## Named live integrations

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 77 | CONNECT-001 | QuickBooks Online | Create and credit an invoice in a QBO sandbox, pay it there, replay the sync and reconcile one external invoice and its final balance. Remaining: No QBO OAuth, accounting writes, object mappings or reconciliation.  Before shipping, assert BOUNDARY-001 exact specialist-input identity and accepted/rejected reconciliation with honest provider labels. | missing |
| 78 | CONNECT-002 | Xero | Issue, amend by credit and partially pay a Xero sandbox invoice; restart sync and reconcile one document with the correct remaining balance. Remaining: No Xero connection, writes or payment reconciliation.  Before shipping, assert BOUNDARY-001 exact specialist-input identity and accepted/rejected reconciliation with honest provider labels. | missing |
| 79 | CONNECT-003 | Google Calendar | Sync a private and shared calendar, edit then delete an event and revoke consent; suggestions update or disappear and private descriptions remain hidden. Remaining: No Google OAuth, calendar event sync or consent controls. | missing |
| 80 | CONNECT-004 | Microsoft 365 and Outlook | Connect a Microsoft test tenant, process a changed calendar event and an invoice reply, then revoke one scope and verify its collection stops. Remaining: No Microsoft Graph connection, mail context or calendar interoperability. | missing |
| 81 | CONNECT-005 | Jira | Resolve a Jira issue, import a worklog update twice and inspect one linked delivery change and an unapproved time suggestion. Remaining: No Jira connection or worklog/progress reconciliation. | missing |
| 82 | CONNECT-006 | Linear | Move a Linear issue to done, replay its webhook and inspect one linked completion while its time suggestion remains unconfirmed. Remaining: No Linear connection or issue evidence sync. | missing |
| 83 | CONNECT-007 | GitHub | Merge a PR in an authorized repo, propose its milestone effect and verify a client and unauthorized repo receive no private code/context. Evidence: `tests/gauge-github.mjs` — githubJourney (sealed GitHub App credential and RS256 App-signed installation tokens limited to one repository and read-only permissions, an installation-only repository selection that refuses an unauthorized repository without ever contacting it, read-only pull request and issue evidence without code, bodies or logins and never billable, a merged pull request naming one milestone proposed and approved into one delivery that is neither accepted nor billable, the client delivery review and every non-owner role seeing nothing, the exact approved issue follow-up sent once with an uncertain send never retried, rotation and revocation, owner Access at 1440 and 390); `tests/live/github.mjs` — live GitHub App sandbox receipt (26 October 2026 held-key run against the one installed sandbox repository: the App merged a pull request, Gauge read six items, proposed and approved one milestone delivery, refused an uninstalled repository without sending any request for it, created no evidence from a commit-only branch, sent one approved issue that returned as evidence, and made 27 requests, all to the sandbox repository); `src/gauge/github.ts`; `API.md`. Remaining: PARTIAL pending ct confirmation of the adopted owner-only default: only the native owner connects, selects repositories, reads, approves milestone effects and sends follow-ups, and no client, agent, lead, staff or finance role sees GitHub records. Not built: project-rights visibility for leads and staff, webhook-driven or scheduled ingestion (reads are owner-initiated and cover the latest 30 pull requests and issues per repository), a scoped personal token alternative, and automatic follow-ups from client decisions. | partial |
| 84 | CONNECT-008 | Asana | Complete an Asana task, change its due date and replay both events; Gauge shows the current source date and one linked completion. Remaining: No Asana connector or delivery reconciliation. | missing |
| 85 | CONNECT-009 | Slack | Send a missing-time nudge to a controlled workspace, submit time from its action and reject a stale or wrong-person approval. Remaining: No Slack delivery, signed interactions or reply routing. | missing |
| 86 | CONNECT-010 | Microsoft Teams | Send a Teams approval card, approve as the assigned lead and reject a forwarded card from another user; show the verified resulting revision. Remaining: No Teams app, delivery or approval callbacks. | missing |
| 87 | CONNECT-011 | HubSpot and Orbit | Convert the same HubSpot and Orbit won-deal event twice and verify one project per deal; a later CRM edit becomes a reviewed change. Remaining: No HubSpot or Orbit deal handoff or health sync. | missing |
| 88 | CONNECT-012 | Salesforce | Convert a sandbox closed-won opportunity and verify its staffing demand and linked project; a replay and conflicting amount produce no duplicate or silent overwrite. Remaining: No Salesforce connector or opportunity mapping. | missing |
| 89 | CONNECT-013 | Harvest API and Forecast continuity | Sync the same Harvest time twice, amend it at source, compare Forecast staffing to actuals and adopt an unbilled period without billing history again. Evidence: `src/gauge/harvest.ts`; `src/gauge/forecast.ts`; `tests/gauge-forecast.mjs`. Remaining: Live Harvest/Forecast connections, continuous comparison and cutover write control are absent. | partial |
| 90 | CONNECT-014 | NetSuite | Post an invoice and credit to a NetSuite sandbox, simulate a mapping rejection and reconcile payment after correcting it with no duplicate. Remaining: No NetSuite integration or posting reconciliation.  Before shipping, assert BOUNDARY-001 exact specialist-input identity and accepted/rejected reconciliation with honest provider labels. | missing |
| 91 | CONNECT-015 | Sage Intacct | Send a two-project batch to an Intacct test company with one rejected dimension, resolve it and reconcile both transactions and payment once. Remaining: No Sage Intacct integration or batch/payment reconciliation.  Before shipping, assert BOUNDARY-001 exact specialist-input identity and accepted/rejected reconciliation with honest provider labels. | missing |
| 92 | CONNECT-016 | Zapier and Crank automation | Trigger a Zapier and Crank workflow from a budget exception, replay it and verify one permitted follow-up; a revoked connection receives no new data. Evidence: `tests/gauge-provider-custody.mjs` — providerCustodyJourney (Crank published trigger contract at the network edge, durable claim, exact event identity, rotation/requeue and permanent revocation). The Crank budget-exception trigger submits an owner-authorized exact source as a durable version-bound job; pending or held admission is never downstream completion. Native owner release now supports sealed Zapier Catch Hooks and general signed hooks for exact project changes, time approvals, budget exceptions, issued invoices and recorded payments. `tests/gauge-provider-custody.mjs` — providerCustodyJourney proves HMAC-SHA-256 over exact event bytes, stable event IDs, one source/revision delivery on replay/concurrent dispatch, credential rotation/requeue, revocation sending no new data, no private costs/notes or hook secrets on public surfaces and native 1440/390. Provider admission is not downstream completion. The same journey proves created/changed project, approved-time, issued-invoice and recorded-payment projections through native sources for both Crank and signed hooks; a domain-separated workflow receipt and explicit original-owner approval create exactly one ordinary nonbillable task, honoring current custom fields and phase rules. Wrong signatures, stale sources, revoked keys, other actors and changed replays cannot write. PARTIAL: unattended subscriptions/callback execution remain disabled pending ct approval of the adopted owner-review boundary. Signed receipt verification proves the permitted native follow-up; whole-run Crank status readback is not claimed. Dependency for whole-run health: Crank’s published trigger credential cannot read runs; a minimally scoped event-status door must be supplied by Crank. Default ADOPTED for new unattended/outbound policy: explicit native-owner release only, no automatic outbound subscriptions or remote write callbacks until ct rules. | partial |
| 93 | CONNECT-017 | Work email and reply routing | Deliver an approved invoice via a controlled sender, reply from the client and simulate a hard bounce; the case shows the reply and suppresses repeated bad-address sends. Remaining: No business mail delivery/reply routing; the existing mail module handles operator authentication only. | missing |
| 94 | CONNECT-018 | Document and signature handoff | Receive a signed scope event twice, link one accepted version and request review when a later unsigned revision arrives. Remaining: No commercial-document or signature integrations. | missing |
| 95 | CONNECT-019 | Connector health and reconciliation | Expire a provider token mid-page, restart after reauthorization and reconcile source counts and money without lost or duplicated records; logs and exports contain no secret. Evidence: `tests/gauge-provider-custody.mjs` — providerCustodyJourney; `tests/gauge-base-portability.mjs` — prepareCurrentPortability. GOVERN-008 supplies encrypted per-connection custody, rotation/revocation, owner use inspection and disconnected restore. Owner Access now shows current scopes, source mapping, last successful readback, checkpoint age and unresolved jobs. `tests/gauge-provider-custody.mjs` — connectorHealthJourney proves a two-source Resend reconciliation snapshot, token expiry mid-page, actual Worker restart, reauthorization and exact once-only source counts/30000 USD cents with source currency retained; provider message content must match the exact version, recipient and quoted amount. Each explicit read-only page commits its durable cursor; failed reads do not advance it. `tests/gauge-base-portability.mjs` — prepareCurrentPortability preserves snapshots and strips readback authority. PARTIAL: Crank trigger credentials cannot read run outcomes under its published contract, and provider-wide/general connector backfill, provider-wide pagination and automatic dead-letter recovery remain absent. `tests/gauge-commercial-proposals.mjs` — commercialProposalJourney additionally proves a bounded Inkwell binding manifest, expired-token checkpoint, explicit rotation/resume into exact source/value controls, immutable previously verified artifacts, replay and revoked-source refusal without a provider read; Inkwell health is inspected at 1440/390. Current cursors page frozen Gauge delivery/binding manifests, not whole provider accounts. Default ADOPTED pending ct: native-owner-only read-only reconciliation of exact existing Gauge sources; no provider-wide mailbox discovery or new audience exposure. | partial |
| 96 | CONNECT-020 | Documented API and signed webhooks | Page all projects through an app credential, post time with the same key twice, verify a signed event and reject a revoked credential and stale replay. Evidence: `tests/gauge-app-api.mjs` — appApiJourney through `tests/gauge-utilization.mjs` (page every native-visible project with a scoped credential, filters and version header, stale cursor refusal, identical draft-time request replay once, changed-body refusal, person and read-only boundaries, audited SHA-256 custody, grant invalidation, revoked reads and write replays, Access at 1440 and 390); `tests/gauge-provider-custody.mjs` — providerCustodyJourney through `tests/gauge-pipeline.mjs` (independent signed event verification, stable identity and single concurrent delivery, credential rotation and revocation, explicit reviewed redelivery and stale signed replay refusal); `tests/gauge-utilization.mjs` — CONNECT-020 utilization key and self-revoke (aggregate-only figures, audited create and read, revocation); `tests/gauge-base-portability.mjs` — prepareCurrentPortability and `tests/gauge-portability.mjs` through `tests/gauge.mjs` (live app and utilization credentials excluded, restored installation has neither, audit retained); `API.md`. Remaining: Policy ruling, ct, 26 October 2026: APPROVE WITH RIDERS for owner-issued exact-staff-grant project reads, explicitly selected own draft-time writes, and individually reviewed native-owner release of signed outbound events. This is a policy ruling only; status remains partial. No delegated approval, remote approval, standing class release or unattended subscription is authorized. Existing evidence is retained without asserting a fresh test pass. Gaps: complete documented PSA read and write coverage; finite credential expiry and visible lifecycle; exact captured project-scope non-widening; exact payload preview and complete field projections; the complete signed webhook subscription lifecycle with class and field selection, bounded consent, versioning, expiry, pause, immediate revocation and safe resumption; receiver replay-window and durable deduplication proof; complete delivery-failure reconciliation; connected-copy erasure and old-restore erasure coverage. Native rights, custom-field visibility, audit, provider custody, erasure and authority-free restore remain inherited requirements. Acceptance rider: retain the original project-pagination, repeated-time-write, signed-event, revoked-credential and stale-replay journey. Issue a credential for one named staff member and exact projects; verify every page and filter against that person’s native visibility. Refuse another person’s draft, an unassigned project, hidden fields, submission, approval, billing and outbound commands. Verify that native widening adds no credential authority, bound-version changes invalidate it, expiry refuses the next request, and revocation also refuses previously successful write replays. Inspect shown-once issuance and non-secret lifecycle metadata. Preview an exact event, release and dispatch it as the native owner, independently verify its exact-byte signature, reject tampering and stale timestamps, and deduplicate concurrent delivery and reviewed redelivery to one permitted receiver effect. Exercise rotation, revocation, rate-limit refusal, uncertain delivery and visible owned failure without inferring completion. Round-trip permitted history while proving credentials, secret-bearing destinations and execution authority absent, with nothing resumed after restore or reconnection. Exercise applicable erasure and old-restore fences without claiming unproved remote deletion. Capture each changed screen at 1440 and 390. Keep every unproved result as a named Gap. | partial |
## Follow-up and unattended operation

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 97 | FOLLOWUP-001 | Timesheet submission and approval cadence | Miss a Friday submission, receive a nudge, submit, then return and resubmit one entry; reminders move to the right person and stop after final approval. Evidence: `src/gauge/reports.ts`; `src/gauge/time.ts`; `tests/gauge.mjs`. Remaining: Review detects missing time and decisions; no scheduled messages, replies or escalation. | partial |
| 98 | FOLLOWUP-002 | Owned operational cases | Open a scope-risk case, send an approved request, receive an ambiguous reply and escalate; close only after verified client acceptance and an updated forecast. Evidence: `tests/gauge-commercial-proposals.mjs` — `commercialProposalJourney` (through `tests/gauge-pipeline.mjs`) proves owner-only scope-risk creation with the owner as default responsible person, reassignment to an active member, actual once-only request attempts, ambiguous inert reply, snooze/reassignment/escalation history, failed submission-only closure, stale forecast refusal and exact client acceptance plus changed approved native forecast closure at 1440/390. `tests/gauge-base-portability.mjs` — `prepareCurrentPortability` preserves case responsibility, next action/due, baseline, reply/snooze and event history without automatic execution. Native-owner-only durable cases cover exact risk/input/staffing/billing/client-decision sources, responsible person (the owner by default, reassignable among existing active members), next action/due, immutable attempts/replies and snooze/reassignment/escalation history. An actual approved proposal request is linked to its provider job; invocation never completes a case. Closure requires current exact email-confirmed client acceptance, conversion and a changed native forecast fenced to its reviewed inputs. BASE-002 preserves cases/history without outbound authority. ct approved (22 Oct): owner-only management, the owner as default responsible person reassigning among existing active members with no external access, no automatic outbound action, owner-recorded replies explicitly unverified. Remaining: verified closure of noncommercial cases (internal risk, blocked input, staffing gap, billing exception) without a linked proposal/opportunity. | partial |
| 99 | FOLLOWUP-003 | Rules and approval policies | Configure a budget-risk rule, trigger it twice, pause it and change the budget; observe one bounded case and require fresh approval after input changes. Remaining: No configurable event/schedule rules or unattended action policies. | missing |
| 100 | FOLLOWUP-004 | Durable scheduled jobs | Restart during a retainer draft and a timed-out email send, read back provider state and verify one draft/send or a visible uncertain case requiring a person. Evidence: `tests/gauge-provider-custody.mjs` — providerCustodyJourney (persisted queue survives a real Worker restart, compare-and-swap claim, original-owner credential exception/requeue and one external submission); `tests/gauge-commercial-proposals.mjs` — commercialProposalJourney (durable Resend claim and concurrent exact replay); `tests/gauge-base-portability.mjs` — prepareCurrentPortability (restored jobs cannot replay). Current provider jobs require explicit native-owner queue/dispatch, bind source and credential versions, and retain claims/outcomes with visible expired-claim uncertainty. Native retainer schedules now persist separate job claims, atomic draft/run outcomes, three-attempt bounded backoff/exhaustion, explicit audited review of proven non-admission dead letters and cancellation; expired consent is an owned finance exception. `tests/gauge-retainer-rules.mjs` — retainerDurableJobJourney proves refused atomic draft, backoff, real restart, corrected-source recovery into one draft, expired authority and cancellation at 1440/390; retainerRestartAndCloseJourney retains month-end and consecutive-invoice proof. `tests/gauge-commercial-proposals.mjs` — commercialRestartJourney proves an actual in-flight Worker interruption beyond the mail deadline, no resend, visible owned uncertainty and exact provider readback. `tests/gauge-provider-custody.mjs` — providerRetryJourney is the committed outside-Verify elapsed-time journey for 60/120-second backoff, real restart, cancellation, three-attempt exhaustion, the ten-job connection limit and audited original-owner review of proven non-admission dead letters. Provider dispatch is limited to ten claimed source jobs per connection per minute. Only explicit 429 refusal is retryable; ambiguous/5xx/timeout results never retry. PARTIAL: general unattended external dispatch remains disabled under the adopted conservative policy (explicit native-owner release only); the exact-candidate elapsed-time proof is the outside-Verify cloud run `sx-gauge-c38-retry-20261022-final` of the committed providerRetryJourney; its SHA-bound receipt is retained by the lane. This closes timing proof only and does not approve unattended policy. | partial |
## Move in and switch without losing the business record

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 101 | MIGRATE-001 | Shared migration custody and reconciliation | Preview a filtered and incomplete export, refuse completeness, then reconcile full counts, raw and billable hours, costs, invoice, paid and outstanding totals and retainer balances by client, month and currency; interrupt, resume, reapply and undo without losing native edits. Evidence: `tests/gauge.mjs` — MOVE-001 (Harvest coverage refusals, replay, undo and native edit preservation); `tests/gauge-currency.mjs` (incomplete preview with no apply control at 1440 and 390); `tests/gauge-forecast.mjs` — MIGRATE-003 (missing Forecast coverage and pages refused); `tests/gauge-kantata.mjs` — kantataJourney (history extent, object completeness and existing finance controls); `tests/fixtures/scoro-journey.mjs` — reconciliationRefusals and interruptedSourceJourney through `tests/gauge-scoro.mjs`, `tests/gauge-teamwork.mjs`, `tests/gauge-productive.mjs`, `tests/gauge-rocketlane.mjs` and `tests/gauge-float.mjs` (independent client controls, cross-month payments, actual restart, replay and undo); `tests/fixtures/scoro-restore.mjs` — sourceRestore (original manifests, bytes, source claims and journals); `tests/gauge-base-portability.mjs` through `tests/gauge.mjs` (Harvest and Forecast custody restore); `tests/fixtures/harvest-finance.mjs` — harvestFinanceRestart through `tests/gauge.mjs` (actual interruption within finance, bounded resume, replay and untouched undo); `tests/fixtures/source-custom-fields.mjs` — sourceFieldJourney through `tests/gauge.mjs` and `tests/gauge-currency.mjs` (original definitions and values from all nine source flavors, seven native types, reviewed mappings, invalid and unknown value refusals, privacy, replay, later private source revisions and whole-installation restore). Harvest now retains complete bounded historical expense, estimate, invoice, payment and signed retainer records, exact billed-time invoice joins and mandatory independent time-cost and financial controls. Forecast requires original page envelopes and separately captured account, history, window and per-object count metadata; CSV controls bind the original digest. Scoro, Teamwork, Productive, Rocketlane and both Kantata flavors reconcile signed source retainer balances where exported; Float retains its explicit non-retainer source controls. Every source has an owner-reviewed original custom-field carrier with seven native types, source field and value IDs, explicit native relationships, private visibility, replay and full archive custody. Missing, unknown, inexact or mismatched required money and currency controls refuse completeness or apply. The owner-only custom-field reversal restores untouched values and their prior source and version metadata, retires unused adopted schemas, preserves later native values and referenced definitions, and retains exact originals and effect journals through restore. Stale reversal and silent replay of undone sources are refused.  `tests/fixtures/source-custom-fields.mjs` — sourceFieldJourney additionally proves native custom-field reversal, stale refusal, exact replay, original custody, unused-schema retirement and later-native-value preservation through `tests/gauge-currency.mjs` at 1440 and 390 and through the full restore fixture in `tests/gauge.mjs`. Every acceptance point is proved for the documented bounded adapters; no live account or Base refresh is required. MIGRATE-002, MIGRATE-004 and MIGRATE-010 retain their broader provider-format, financial-adoption and operational cutover duties. | done |
| 102 | MIGRATE-002 | Harvest complete move-in | Import 2.11 raw hours and 2.25 rounded hours as 7596 actual and 8100 billing seconds, with historical rates and invoice reference; reconcile billed/unbilled, costs and outstanding balances, reject incomplete PDF-only finance history. Evidence: `tests/gauge-harvest-history.mjs` (MIGRATE-002: 7596 raw / 8100 billing seconds; invoice reference; historical rates; billed/unbilled/cost controls; source approval/lock evidence; HTTP and browser CSV/XLSX preview/apply; retained workbook bytes; formula/worksheet/size refusals; cross-format replay; native review and duplicate-billing refusal; PDF-only refusal); `tests/gauge.mjs`; `tests/gauge-currency.mjs`. Remaining: CSV/XLSX raw/rounded time, original workbook custody, explicit worksheet/row provenance, value-only bounded decoding, cross-format replay, source invoice/approval/lock evidence, dated person-rate histories and independent client/month billed/unbilled/cost controls are asserted. API captures, full source approval decisions, expenses/receipts, estimates, invoice/payment records and outstanding-balance reconciliation remain absent. | partial |
| 103 | MIGRATE-003 | Forecast complete schedule move-in | Import both export orientations and compare team capacity and project totals across a holiday; keep aggregates labeled until reviewed day mappings or exact API allocations resolve them. Evidence: `tests/gauge-forecast.mjs` (MIGRATE-003) asserts Project/Team rows and columns, weekly/monthly periods, independent 20-hour source totals, reviewed holiday dates, unresolved aggregate retention/download, authorized mapped API people/projects/assignments/availability, workdays/holidays, partial-day leave, unfilled placeholders, commitment, no authority, replay, invalid capture refusal and strict undo. `tests/journeys/forecast-browser.mjs` exercises upload, preview, apply and retained sources at 1440/390; `tests/gauge-base-portability.mjs` carries source snapshots, calendars, leave and assignments through BASE-002. | done |
| 104 | MIGRATE-004 | Kantata OX and SX move-in | Reconcile an OX two-year package including time/invoice/expense joins and a separate SX Salesforce package; missing object permissions or export windows block cutover, and neither flavor uses the other mapping. The OX package's project field "Practice" and user field "Office" arrive with every value, and reports grouped by them reconcile to the source. Evidence: `tests/gauge-kantata.mjs` — `kantataJourney` through `tests/gauge-harvest-history.mjs`: literal OX two-year time/invoice/expense/payment/WIP joins and a separately mapped SX Salesforce ZIP reconcile object counts and independent client/month/currency controls; missing permissions/incomplete windows/undefined Legacy options/control disagreements write nothing; wrong-flavor mapping refuses. Exact originals, resumable ten-record batches, identity replay, untouched undo, source Practice/Office groups, bounded XLSX/asynchronous API preview and finance-only native screens at 1440/390 are covered. Bounded historical evidence import now distinguishes OX CSV/time XLSX/Insights-ID objects/asynchronous JSON downloads from SX Salesforce object CSV ZIP/API captures, with separate reviewed maps, source IDs and original custody. Complete contiguous year windows, object permissions, source joins, seven-type custom values and independent object/client/month/currency controls gate apply. Journaled batches resume, replay without duplicates and undo untouched source effects; historical Practice/Office controls reconcile. Native owner-confirmed adoption now resumes in bounded stages for draft clients/people/skills/projects/tasks/rates/time/expenses, tentative exact-date staffing and finance-only native custom fields/values. Source approval never approves native work; source-billed time cannot rebill. Fresh native review produces Practice/Office utilization and profitability matching independent controls; undo holds later edits/approvals and source custody while adoption exists. ct approved (22 Oct): historical financials stay source-owned evidence with source IDs, reconciled to the source, and OX and SX never share a mapping; owner-reviewed native drafts, private fields and tentative dates grant no issuance, settlement or cutover authority. Remaining: full native financial adoption/receipt custody; cutover, a separate explicit owner act that missing object permissions or export windows block, is not built; broader provider-format coverage. `kantataJourney` also round-trips native core, private field versions/values, approved economics, exact dates, history and both journals, with no old session authority. Historical evidence is not native invoice issuance, payment settlement or approval. | partial |
| 105 | MIGRATE-005 | Scoro move-in | Import an entry with only allocated_invoice_id and preserve it as billed; compare two differently grouped reports and reconcile raw hours, billable value and invoice totals without duplication. Evidence: `tests/gauge-scoro.mjs` — scoroJourney; `src/gauge/scoro.ts`; `src/gauge/ui-scoro.ts`. CSV/XLS/XLSX/v2 JSON, complete date-filter/window and pagination refusals, two grouped originals, raw/billable/invoice controls, exact custody, explicit native drafts, source-billed native denial, scoped state/history and restore assertions passed; Imports inspected at 1440/390 (no icon-only controls). Historical finance remains source evidence; MIGRATE-010 owns separate cutover. | done |
| 106 | MIGRATE-006 | Teamwork.com move-in | Import DST-boundary time, an archived project, invoiced and uninvoiced work, a proof approval and a value retainer with surplus/deficit carry; reconcile project financial and period balances. Evidence: `tests/gauge-teamwork.mjs` — teamworkJourney; `src/gauge/teamwork.ts`; `src/gauge/ui-teamwork.ts`. Exact DST-boundary user work date and separate UTC audit timestamp, 90 billed/60 unbilled minutes, archived source project, approved proof, subtask dependency, 20,000 surplus then -30,000 deficit carry and independent project/period controls pass. CSV/Excel and v1/v3 captures retain originals; native drafts carry no approval or retainer billing authority. Replay, scoped reads, restore and Imports at 1440/390 pass. MIGRATE-010 retains separate cutover. | done |
| 107 | MIGRATE-007 | Productive move-in | Import an unnumbered-draft attribution and a manually invoiced entry, verify neither rebills, and reconcile a retainer opening balance and dated rate override to the manager source reports. Evidence: `tests/gauge-productive.mjs` — productiveJourney; `src/gauge/productive.ts`; `src/gauge/ui-productive.ts`. Unnumbered draft/manual source attribution retains empty invoice numbers and both native packet attempts refuse after fresh approval. Worked 120 versus 90 billable minutes prices at the captured 1 March override (27,000 value/20,000 cost); current/version controls, recurring budget and 25,000 retainer opening reconcile independently. CSV/XLSX/v2 replay, exact numeric/decimal source values, duplicate-key refusal, bounded rollback/undo, custody, scoped reads/history boundary, archive restore and native 1440/390 screens pass. MIGRATE-010 retains separate cutover. | done |
| 108 | MIGRATE-008 | Rocketlane move-in | Import phase and ad-hoc entries plus soft placeholder demand, then reconcile approval/rate history and invoices to separate source finance totals before authorizing cutover. Evidence: `tests/gauge-rocketlane.mjs` — rocketlaneJourney; `src/gauge/rocketlane.ts`; `src/gauge/rocketlane-cutover.ts`; `src/gauge/ui-rocketlane.ts`. Phase/ad-hoc entries, SOFT placeholder demand with exact days, source approval/rate history, 25,500 invoice/5,000 paid and independent controls pass. Missing original finance, stale review, source rate/approval/invoice disagreement and non-owner review refuse; native drafts confer no imported approval or settlement. Original custody, replay, reversal and restore pass. PARTIAL: adopted owner-only explicit audited source-comparison receipt performs no operational cutover; ct must decide the cutover/native financial ownership policy and its resulting workflow must be proven. | partial |
| 109 | MIGRATE-009 | Float move-in | Import two export windows with repeated phase budgets, an effective-dated workweek and leave; reconcile schedule and actuals, process duplicate deletion events and require a fresh full comparison after missed deletion coverage. Evidence: `tests/gauge-float.mjs` — floatJourney proves original source windows, budgets, actuals, historical rates, coverage, custody and format replay; `tests/fixtures/float-native-journey.mjs` — floatNativeJourney proves exact native weekday calendars, daily tentative staffing and owner-reviewed leave, independent capacity reconciliation, unauthorized and stale-input refusals, mapping fences, replay and Worker restart; `tests/fixtures/float-deletion-journey.mjs` — floatDeletionJourney proves duplicate events once, missing and gapped coverage refusal, newer full-original comparison, linked native deletions, capacity reconciliation, untouched other windows, later native commitment protection, replay and restart. Both native flows run at 1440 and 390. `tests/fixtures/scoro-restore.mjs` — sourceRestore proves custody, native records, journals and revision history survive complete installation restore. Adoption and continuation each need an explicit audited native-owner confirmation; no source approval, provider deletion or financial cutover authority is imported. MIGRATE-010 and CONNECT-013 retain their separate obligations. | done |
| 110 | MIGRATE-010 | Shadow run cutover and continuation | Reconcile one period, adopt the next unbilled period, route late time and an old invoice payment to the correct system and issue the first new invoice once; changed source extracts produce explicit revisions, not duplicate history. Evidence: `src/gauge/harvest.ts`; `src/gauge/imports.ts`; `tests/gauge.mjs`. Remaining: Stable import identities, billed flags and native reconciliation exist; complete parallel-run comparison and invoice/retainer ownership cutover do not. | partial |
## People, permissions and governance

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 111 | GOVERN-001 | Owner and finance rights | Try a cost export and credit as staff and as finance, then attempt an above-limit credit by its preparer; only an independent authorized approver can proceed. Evidence: `tests/gauge-approvals.mjs` (`GOVERN-001`) through `tests/gauge.mjs`: finance's report CSV carries the approved cost figure while staff and lead exports carry none; staff and lead credits 403; only the owner sets the limit on Access (finance/lead 403); a $200.00 credit above the $100.00 limit is refused to its finance preparer through the API and the Billing form, shown as "Needs an independent approver" with no approve form, and approved by the owner; a credit at the limit is self-approved; limit history and stale-revision refusal; audited grants shown on Access. INVOICE-004, FINANCE-004, COST-003 and SETUP-003 inherit. | done |
| 112 | GOVERN-002 | Leads staff and contractors rights | Give a contractor two projects and a lead one project, directly call unauthorized approval/file routes and revoke a dated delegate; all requests enforce the resulting rights. `GOVERN-002 contractor on two projects, one-project lead, direct approval/file denials and a revoked dated delegate` (own-work-only recording, permitted context, no rates/salary/leave reasons, API and page-form approval denials, receipt/packet/archive/history denials, lead planning on their project only, a scoped dated delegate who approves then is refused on API, form, history and state after revocation and never gains files). Evidence: `src/gauge/store.ts`; `src/gauge/reports.ts`; `src/gauge/time-review.ts`; `tests/gauge.mjs`. | done |
| 113 | GOVERN-003 | Resource manager accountant and client rights | Exercise each role through direct APIs and downloads; a resource manager cannot issue invoices, an accountant cannot edit time and a client collaborator cannot read private billing. Evidence: `tests/gauge-handoffs.mjs` — revenueScheduleJourney (accountant direct API and download refusals; scoped planning, closed read set, private-cost exclusion, inactive granting-owner refusal, next-request narrowing and revocation; Access, accountant review and Staffing at 1440 and 390); `migrations/core/0085_gauge_client_roles.sql`; `tests/gauge-client-roles.mjs` — clientRoleJourney, loaded by `tests/gauge-handoffs.mjs`, proves sponsor budget visibility and exact-delivery acceptance; collaborator nonempty delivery with empty billing, burn and retainer projections; direct private APIs and downloads refused; actual independently released invoice refusal; native owner configuration, finance and recipient refusals, invalid role and approval widening refusal, stale revisions, immediate narrowing, successful-decision replay refusal after downgrade, no finance effects from client acceptance, audited configuration and revocation without older-review fallback. Sponsor, collaborator and owner screens are captured at 1440 and 390; behavior assertions use 1440.. Remaining: Read-only accountant and explicitly scoped resource-manager grants remain proven. Sponsor shared finances, exact released-delivery decisions, delivery-only collaborators and owner-configured client ceilings now ship. Remaining: sponsor approval of scope and scope changes; general configurable native role grants beyond the existing closed roles; ct approval of the adopted client-role ceiling and its treatment of independently released financial documents; complete lifecycle, concurrent-change, erasure and restore assertions for the new client-role combinations. GOVERN-003 remains partial. | partial |
| 114 | GOVERN-004 | Enterprise identity and lifecycle | Provision a staff member through SCIM, require MFA, revoke them at the IdP and prove their old session and app token fail the next request. Remaining: Native Base operator sessions exist; no enterprise SSO, MFA/passkey policy or SCIM integration. | missing |
| 115 | GOVERN-005 | Searchable business audit | Trace a corrected time entry through approval, invoice adjustment and provider sync; export the audit and verify every decision and external reference. Evidence: `tests/gauge-audit.mjs` (`GOVERN-005`): a time entry saved, submitted, approved, reopened through an audited correction, shortened from 2 h to 1 h 30 min and approved again shows all seven steps in order with each actor and role, request key, previous and resulting values, changed fields, the lead's approvals and frozen $300.00 then $225.00 bill value; its billing packet's approval, export and a −$75.00 finance credit linked to the packet it corrects; Harvest import effects attributed to the importing finance person with job, source identity and provenance while the imported time keeps its Harvest source id; an owner key's create and keyed read without the key. Search by kind, record, person, text and agency dates; favorites are omitted; staff and leads get 403 and signed-out callers 401 or the sign-in redirect on every audit door. The complete export recomputes independently to its SHA-256 chain head with no sequence gap, carries no key, its hash, session, setup or mail secret, and keeps favorites as hash-only stubs; an edited entry is named and fails the earlier export's checkpoint, a deleted entry leaves a named gap, and both verify again once restored. Billing links to the Business audit page, which shows integrity, the checkpoint result and the trail. Provider sync is inherited by CONNECT-001 through CONNECT-020, PAYMENT-001 through PAYMENT-003, INVOICE-001 through INVOICE-008 and FOLLOWUP-004 before they ship ; `tests/gauge-provider-custody.mjs` — providerCustodyJourney proves audited current Crank jobs and metadata-only provider use, with non-owner audit exports withholding provider custody metadata. Evidence: `src/gauge/audit.ts`; `src/gauge/ui-audit.ts`; `src/gauge/store.ts`; `tests/gauge-audit.mjs`. | done |
| 116 | GOVERN-006 | Retention erasure and privacy | Erase an exited worker with historical billed work, verify receipts/evidence removal and retained lawful financial totals, then restore an old archive with the erasure journal and prove private content stays erased. Evidence: `tests/gauge-privacy.mjs` — `privacyJourney` through `tests/gauge-audit.mjs`: empty-install journal download, retention/stale-preview/active-grant holds, renewed preview after new archive creation and committing transfer-set fences, direct role refusals, owner browser confirmation at 1440/390 of a preview naming the anonymized form held records keep, receipt/leave/profile removal with its completion record, retained billed time/economics and packet bytes, intact lawful audit, forbidden regrant, old-archive refusal with trusted later journal and anonymous post-erasure restore. Owner-only versioned retention, explicit exit, read-only exact consequence preview and manually confirmed bounded native erasure ship. ct approved this slice (22 Oct): native-owner-only manual erasure after the exact preview and explicit lawful-receipt authorization; financial totals and immutable audit stay on legal hold under the anonymized profile the preview names; every erasure writes its mandatory completion record. Profiles, private leave notes, favorites and eligible receipt bytes are removed; billed work and financial artifacts remain exact. Base redaction journal refuses an old archive with the trusted later journal, and post-erasure archives restore anonymous profiles without erased receipt bytes. Remaining: the owner-set retention schedule and its automatic execution (saved retention days only gate this manual erasure); erasure in search, caches and connected copies where authorized; restoring an old archive with the erasure journal so private content stays erased (today that archive is refused); full personal-content erasure in retained audit, source originals and other free text. This is not complete subject erasure. | partial |
| 117a | GOVERN-007 | Provider and agent custody: agent tools and approvals | Revoke an agent, then attempt an evidence-text instruction and stale approval; all are refused without leaking secrets. Verify an agent granted one purpose and engagement receives no other engagement's records or undeclared fields, a revoked agent's open proposal cannot be approved, cited text containing an instruction is shown literally and changes no proposal, scope or decision, and a decision after a cited source record changed is refused with nothing written; search pages, state, logs and audit for any credential. Evidence: `tests/gauge-agent.mjs` — "GOVERN-007 purpose-scoped data, inert quotations, stale decisions and owner revocation" (each purpose/engagement and undeclared-field boundary, direct read/history/command refusals, grant narrowing and granting-owner live authority, revocation with readable fenced proposals, literal instructions leaving typed plan/decision unchanged, edited task/allocation/approved-time stale refusals without business writes, grant/refusal audit and generated-key/session/setup/mail-secret scans of pages/state/logs/audit); `tests/journeys/agent-custody-browser.mjs` — "inspectAgentCustody" (Access grant and revoke, quoted evidence, stale refusal, fresh confirmation and revoked Review/Staffing proposals at 1440/390; run with "GAUGE_AGENT_BROWSER=1 node tests/gauge-agent.mjs"). | done |
| 117b | GOVERN-008 | Provider and agent custody: provider credentials | Rotate a provider key during a queued task; it is refused without leaking secrets. Queue a FOLLOWUP-004 Crank delivery, rotate the credential before it runs and verify nothing is sent under either version and a credential-rotated exception appears; re-queue it and verify exactly one delivery under the new version; revoke with another job queued and verify it is never sent; inspect use metadata; search pages, state, logs, audit, exports and a portable archive for the planted credential, restore the archive and verify the connection is disconnected. Evidence: `tests/gauge-provider-custody.mjs` — providerCustodyJourney through `tests/gauge-pipeline.mjs` (real native budget exception, native-owner-only custody and use inspection across roles/API keys/state/history/audit/export, exact credential replay conflict, version-bound Crank durable job surviving an actual Worker restart, rotation sends under neither version and leaves an owned exception, native re-queue then one concurrent submission under the current version, permanent revocation, safe use metadata, secret-free pages/state/logs/exports and 1440/390); `tests/gauge-base-portability.mjs` — prepareCurrentPortability and `tests/gauge-portability.mjs` through `tests/gauge.mjs` (planted Resend/Crank credentials absent from archive, key/ciphertext/receipts/job authority excluded, restored connections disconnected and queued Crank/email history unable to send). The ct-approved provider custody mechanism is complete for current Resend and Crank jobs. CONNECT-001 through CONNECT-019 inherit this sealed version-bound dispatch, metadata-only inspection and authority-free restore before shipping. | done |
## Mobile desktop and everyday access

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 118 | MOBILE-001 | Complete responsive agency workflow | At both widths complete a realistic worker-to-client invoice path with keyboard and screen-reader checks; no clipped controls or private data leak occurs. Evidence: `src/gauge/ui.ts`; `src/gauge/ui-time.ts`; `tests/fresh-clone.mjs`. Remaining: Responsive current time, capacity, approval, billing-packet and native pre-tax invoice/manual-receipt forms exist. Client reports/payments and complete keyboard, focus, error-recovery and screen-reader accessibility acceptance remain absent. Additional current evidence: `src/gauge/ui-invoices.ts`; `tests/gauge-invoices.mjs`. | partial |
| 119 | MOBILE-002 | Native iOS and Android | On iOS and Android capture a receipt and time offline, reconnect once, approve from a push notification and revoke the lost device without duplicate work. Remaining: No native mobile applications, offline synchronization or push delivery. | missing |
| 120 | MOBILE-003 | Desktop timer applications | Start a macOS timer, inspect it on Windows/web, recover a network outage and stop twice; one exact interval remains after worker-confirmed idle correction. Remaining: No macOS/Windows timer applications or offline recovery. | missing |
| 121 | MOBILE-004 | Browser timer extension | Start from a linked Jira page, stop on web and verify one task-linked interval; an unrelated page cannot be read and extension revocation ends API use. Remaining: No browser extension or browser-host consent model. | missing |
## Owned platform and product boundaries

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 122 | BASE-001 | Run and own the complete product | Clone, install, set up an empty agency, start locally and deploy a private test installation; open health, sign-in and unknown routes without seeded client data. Evidence: `AGENTS.md`; `SEED-COMMAND-CONTRACT.md`; `src/server.ts`; `tests/gauge-cli-journey.mjs`. Remaining: Local Base command path exists; hosted target deployment and new integration operational capacity remain unproven. | partial |
| 123 | BASE-002 | Whole installation portability | Round-trip a complete agency dataset into an empty install, reconcile counts and money, reject corruption/occupied restore and verify no old session or external job runs. Evidence: `tests/gauge-base-portability.mjs`; `tests/gauge-portability.mjs`; `tests/gauge.mjs` (`BASE-002 / MOVE-001`). Restored current agency records, money, capacity, all revision histories, packet/receipt bytes, historical PDFs and source originals reconcile; corrupt and occupied restores and old owner/agent HTTP sessions are refused before fresh login. prepareCurrentPortability additionally proves current provider connection metadata, Resend history and queued Crank jobs survive without credentials or execution authority, remain disconnected and cannot replay; client documents/decisions survive without release authority, and fresh reconnect sends nothing. Every future capability inherits portability before shipping, including the SETUP-004, SALES-002–005, RETAINER-001–005, DELIVERY-001–006, FINANCE-004–007, INVOICE-001–008, PAYMENT-001–003, CONNECT-001–020 and FOLLOWUP-004 additions named in CONTRACT.md. | done |
| 124 | BASE-003 | Replace platform interfaces explicitly | Switch a supported mail/model provider, revoke its credentials and observe an explicit failed job with unchanged business records; upgrade then export/restore without losing historical calculations. Evidence: `base-copies.json`; `edition.json`; `src/modules/operator-auth/README.md`; `SEED-COMMAND-CONTRACT.md`. Remaining: Base composition and current interfaces are recorded; model-backed PSA execution and tested provider substitution for the target are absent. | partial |
| 125 | BASE-004 | Capacity backup and recovery operations | At the BASE-005 floor import and bill a multi-project agency, interrupt jobs, restore a backup and reconcile all counts and financial totals; exceeding a bound produces a visible resumable/refused operation. Evidence: `MOVE-IN.md`; `src/gauge/imports.ts`; `tests/gauge.mjs`. Remaining: Current bounded import and archive recovery exist; target capacity measurements, scheduled backups and operational monitoring are absent. | partial |
| 126 | BASE-005 | Agency-size capacity floor | Generate a floor-sized agency from a fixed seed as a Kantata OX package, import it through the MIGRATE-004 route on a private deployment within the bound, measure page and report times against the stated bounds, then export it and restore into an empty install within the bound, reconciling every count and money total; a package 10% above the measured limit is refused at preview with no write. Remaining: Existing hard admission bounds refuse packages above 1,000 rows or 8 MiB. No floor dataset generator, hosted agency-capacity measurements, published measured bounds or preview refusal against those measured bounds exists. | missing |
## Push further

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 127 | RECOVER-001 | Portfolio recovery agent | Delay a key deliverable on two staffed projects, ingest missing cost and compare contractor, scope and date alternatives; every proposal cites the relevant records and shows both projects effects. Plant an alternative that books a person 6 hours over their dated capacity and one that starts a task before its predecessor finishes: the first is offered only with its over-allocation cost named, the second is refused, and every offered alternative's margin delta equals an independent FINANCE-006 recomputation and its cash delta an independent FINANCE-007 recomputation. Evidence: `tests/gauge-recovery-feasibility.mjs` — native two-project recovery comparison journey through built HTTP and Review forms: independently reconciled FINANCE-006 margins and FINANCE-007 monthly expected cash, global dated load, six-hour excess refused unless priced and explicitly conditional on lead acceptance, predecessor refusal, exact client-date and budget and phase and retainer exceptions, stale sources, unauthorized and revoked and erased-person refusal, unknown costs and currencies, no native business effects; browser proof at 1440 and 390. `tests/gauge-agent.mjs` — existing agent grant and private-finance boundary coverage. `src/gauge/recovery-feasibility.ts`; `src/gauge/ui-recovery-feasibility.ts`. Remaining: Human-triggered read-only native comparison is implemented; BASE-003 remains held for its recorded sibling or capacity doors, including model-backed PSA execution and tested provider substitution. Continuous complete signed-scope and provider joining and diagnosis, owned-case recovery workflow, model-backed recovery generation, lead and client and commercial approvals, and recovery adoption and execution remain absent. PAYMENT-001 and PAYMENT-002 and BOUNDARY-002 retain their unchanged account, settlement and ct-policy holds, including the enabled US bank account merchant requirement; complete FINANCE-007 provider-settlement qualification remains unproved. Existing agent grants gain no private amounts or new scope; no provider collection, payment execution or noncommercial case-closure permission is authorized. | partial |
| 128 | RECOVER-002 | Negotiate and execute approved recovery | Approve one recovery, receive a client counteroffer and a staffing refusal, show a revised plan that passes RECOVER-001's feasibility conditions and require renewed affected approvals before connector writes; a counteroffer that would over-book the refusing person is refused, not offered. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. Remaining: Human decision and exact proposal effects ship; external negotiation, feasibility re-check after replies, approved follow-up delivery and cross-system execution are absent. | partial |
| 129 | RECOVER-003 | Verify recovery improved the outcome | Simulate a successful write with unchanged provider state and refuse closure, then reconcile the real changes and demonstrate measured forecast improvement or escalate the remaining gap. Evidence: `tests/gauge-project-scenarios.mjs` — recoveryOutcomeJourney through `tests/gauge-recovery-outcomes.mjs` (built HTTP and native Review forms: ordinary human scenario adoption; retained before and expected observations; independent dates, dated global load, FINANCE-006 margin and supported FINANCE-007 monthly expected cash; zero unchanged variance and exact subsequent native variance including later approved expense terms; manual receipts, collection assumptions, separate currencies and explicit unknowns; forged figures, unadopted and stale and incompatible and unauthorized and revoked reads refused; concurrent native writes return a coherent captured observation or refuse read drift; no business effects or case closure or outbound sends; browser proof at 1440 and 390). `tests/gauge.mjs` — complete installation restore through `tests/gauge-base-portability.mjs` (retained approved observation and exact sources; old sessions refused, fresh native authority required and no adoption replay). `tests/gauge-agent.mjs` — existing purpose and private-finance boundaries. `src/gauge/recovery-outcomes.ts`; `src/gauge/scenario-observations.ts`; `src/gauge/ui-recovery-outcomes.ts`. Remaining: Proved: human-triggered native owner and finance read-only post-adoption comparison against the retained approved baseline and expected snapshot, with fixed projects, as-of day, window and currencies; exact native source revisions, changed inputs and dated and financial variance; explicit unknowns, user-recorded manual receipts and unobserved provider outcomes. Remaining: authorized delivery and staffing and Stripe or accounting-provider test accounts with scoped readback credentials are required for real changed provider-state reconciliation. Complete cross-system readback of schedules, allocations, approved terms and invoice and payment state; provider freshness and settlement qualification; complete approved recovery authorization and follow-up; verified improvement across every promised outcome; and case closure, reopening or escalation remain absent. FOLLOWUP-002 noncommercial closure restrictions and all existing account, owner, ct and Base and model-provider holds remain unchanged. FINANCE-003 approval supplies only its existing native scenario authority; no new financial-agent access, connector execution, collection or payment authority is granted. | partial |
| 130 | RECOVER-004 | Retainer promise to cash steward | Detect an overused retainer with pending work, obtain approvals and a client overage decision, draft the correct invoice and follow it to a reconciled payment or owned exception. Remaining: No retainer steward, delivered approval chasing or invoice/payment completion loop. | missing |
| 131 | RECOVER-005 | Evidence to completed timesheet agent | Offer an ambiguous two-client meeting and PR activity, accept only worker-confirmed intervals, follow a return-for-clarification and stop after the lead approves. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. Remaining: Cited reconstruction and personal confirmation ship; connected collection and active completion chasing are absent. | partial |
| 132 | RECOVER-006 | Forecast learning with traceable assumptions | Learn from late fixed projects, exclude one atypical client and score two proposals on the same six held-out completed projects. One lowers design-role effort error (for example from 28% to 12%) without raising margin or payment-timing error: it is offered, and once the owner adopts it only the next estimate's preview changes. The other does not beat the current assumption: it is withheld with "no improvement" and its scores. A cohort with four completed projects reports insufficient history. Evidence: `tests/gauge-learning.mjs` — RECOVER-006 owner backtests immutable original estimates without adopting assumptions (six-project effort MAPE and FINANCE-006 final-margin error independently reconciled for two candidates, atypical-client exclusion, four-project refusal, exact source revisions, stale-source refusal, unknown costs and currencies, manual receipts kept unverified, owner-only preview and audit, numeric score CSV, erasure and replay, built Review at 1440 and 390); `tests/gauge.mjs` — BASE-002 complete current agency restore through `tests/gauge-base-portability.mjs` (exact retained cohort, revisions and scores; restored history cannot adopt); `src/gauge/learning.ts`; `src/gauge/learning-score.ts`; `src/gauge/ui-learning.ts`. Remaining: Proved: owner-selected revision-bound completed fixed-project cohorts, explicit client exclusions and eligibility reasons, same held-out samples for baseline and candidate role-effort backtests, effort MAPE, estimated versus final FINANCE-006 margin error, sample lineage and immutable comparison history. Unknown costs and currencies remain unknown; manual receipts never become settled-cash observations. Remaining: broader historical project and assumption coverage; confidence-qualified role-effort, cost and payment assumption proposals; held-out settled-payment timing validation; the complete three-metric improvement gate and owner-only future-version adoption that leaves approved terms and past work unchanged. PAYMENT-001, PAYMENT-002 and BOUNDARY-002 retain their unchanged settlement, account and ct-policy holds, including an enabled US bank account test merchant. Native-owner-only read-only comparisons adopt the conservative authority floor under the standing scope rule; scoped delegation remains omitted. No provider collection or payment execution is included. | partial |
| 133 | RECOVER-007 | Signed scope to governed delivery agent | Provide a signed SOW with a conflicting milestone and retainer clause, require human resolution, then approve a feasible plan whose budgets and invoice triggers match the accepted interpretation. Evidence: `src/gauge/proposals.ts`; `tests/gauge-agent.mjs`. Remaining: Cited change-order briefs exist; initial document extraction, ambiguity resolution and complete plan/retainer setup are absent. | partial |
| 134 | RECOVER-008 | Cited operational analyst and financial guardian | Ask a lead and finance why utilization fell and one project lost margin; each answer cites reconciled records and permitted amounts, and a proposed correction still requires the authorized person. Evidence: `tests/gauge-analyst.mjs` — native analyst recovery journey: lead and finance ask utilization, margin, time-policy and billing questions through built HTTP and browser forms at 1440 and 390; independently reconciled capacity, earned value, frozen cost, historical margin changes and billing corrections; formulas, exact revisions, freshness and explicit unknowns; inert proposed review steps followed by ordinary exact-revision authorized time correction and separate finance adjustment approval; private finance, other-project, agent, bearer, stale capture, revoked-session and erased-person refusals; immutable finance snapshots survive complete installation restore without source text, restored access or replayed corrections. `tests/fixtures/analyst-portability.mjs` — complete installation transport used by the same journey. `src/gauge/analyst.ts`; `src/gauge/analyst-discrepancies.ts`; `src/gauge/analyst-snapshots.ts`; `src/gauge/ui-analyst.ts`. Remaining: Native bounded analysis and review steps are implemented. BASE-003 remains held for its recorded sibling or capacity doors, including model-backed PSA execution and tested provider substitution; general model-backed natural-language coverage and the complete model-backed action-proposal workflow remain unproved. Finance calculations stay inside the native finance session; existing agent grants gain no private amounts or new scope. No model or provider qualification is authorized or claimed. | partial |
| 135 | RECOVER-009 | Migration and configuration agent | Present two ambiguous source users and mismatched invoice totals, resolve as the owner/finance, reconcile the shadow period and verify first-cycle invoice/payment continuity before recommending retirement of the incumbent. Evidence: `src/gauge/imports.ts`; `src/gauge/harvest.ts`; `tests/gauge.mjs`. Remaining: Reviewed import planning exists; configuration/migration agents, case resolution and settled-cycle verification do not. | partial |
## Honest boundaries and neighboring products

| # | Clause | What a person can do | Test | Status |
| --- | --- | --- | --- | --- |
| 136 | BOUNDARY-001 | Books payroll and tax remain specialist products | Export approved labor/expense and revenue inputs to an accounting/payroll test receiver, reconcile acceptance and rejection, and find no claim that Gauge filed payroll or certified profit. Evidence: `tests/gauge-handoffs.mjs` (`BOUNDARY-001`) exercises exact approved revisions, immutable downloaded CSV bytes, independent labor/expense/signed revenue-input totals, unknown cost, an HTTP test receiver, strict uploaded accepted/rejected results, unresolved rejection reasons, fresh/idempotent requests and native finance-only/revoked access. Manual-export / no-financial-effect / user-recorded-result semantics are asserted. `tests/gauge-base-portability.mjs` carries artifacts, results and history through BASE-002. INVOICE-001/004, FINANCE-005, COST-002 and CONNECT-001/002/014/015 carry new specialist-input/result reconciliation before shipping. Additional current evidence: `tests/gauge-invoices.mjs`. | done |
| 137 | BOUNDARY-002 | Payments use the agency merchant account | Connect the agency Stripe test account, complete invoice payment and refund, and trace settlement while confirming Gauge holds no money or card/bank numbers. Evidence: Merchant readiness, test-mode confirmation and explicit onboarding and restricted-business requirements, invoice payment and refund composition, fee and payout trace, and withholding payer details: `tests/fixtures/stripe-journey.mjs` — stripePaymentJourney through `tests/gauge-invoices.mjs`, with Billing and Access at 1440 and 390. `tests/fixtures/stripe-archive.mjs` — stripeArchiveJourney proves restored history has no execution authority. Remaining: The held-key run in `tests/artifacts/stripe-sandbox.json` proves hosted card payment, refund and existing automatic payout reconciliation. This card charge remained processor-pending; its own settlement and payout composition remain unproved. ACH collection requires an enabled US bank account test merchant. No live merchant onboarding completion or independent bank reconciliation is claimed. Default ADOPTED pending ct: the native owner alone authorizes invoice collection and each refund; Stripe holds and moves funds under the agency agreement, and Gauge retains only safe outcome metadata. | partial |
| 138 | BOUNDARY-003 | Products remain separate | Use an external CRM, signature provider and delivery tool to complete estimate-to-cash, retain source links, and export Gauge independently with no shared-product requirement. Remaining: Named sibling/external handoffs for the complete PSA target are not implemented. | missing |

DELIVERY-006 provenance: the current builder proof extends the historical PARTIAL judgment at `47b862d1ce99cf7ed238a4235455404f0fb8b8f7` (27 October 2026). Fresh independent judgment and exact-candidate Verify, publication scan and Run site receipts belong to the guarded landing.

## Upgrade and implementation limits

Applied migration history stays byte-for-byte unchanged. The currency implementation adds forward migration `0019_gauge_agency.sql`, which infers the agency currency from stored money without rewriting monetary records, revisions or approved artifacts. Empty installations default to USD; the owner saves the currency and IANA timezone at first-run setup. The existing local suites do not prove a real agency export, hosted capacity, a live provider integration or an actual billing period. A consenting agency must reconcile the whole source period and the first destination billing/collection cycle before retiring its incumbent (MIGRATE-010).

The canonical implementation status, evidence paths and remaining gaps are in CONTRACT.md, with one matching acceptance row here per clause. No test was weakened, renamed or removed to express the expanded target. Missing journeys are build obligations rather than application fallbacks.
