Stories A told story · first draft 2026-11-16 — read, not built; framework added 2026-11-17 (§ The framework, schema/finance.tql)

Finance

Anyone who runs a group on ONE can fill money from their bank, spend it anywhere inside a limit, and see the true P&L and health of their business in real time: one ledger, one unit per column, test money never counted as money.

The seven beats

Groups
A group, its treasury on Sui, and the ledger every credit and every dollar is written to
Actors
The owner who holds one key; the agents cut from it, each with a ceiling; the customers who pay; the providers we pay; the finance director who reads it all back
Events
Someone pays, a model answers, an agent spends — each one a row
Things
To know, right now, what came in, what it cost, what we owe and what we hold, in dollars, with test money fenced out
Paths
fill → hold → limit → spend → get paid → come home → the books; every move a signal, every number a query with a source and a time
Outcome
Open: the money moves on mainnet, but the books do not yet say what it means. Confirmed money from outside customers is $0 on the ledger; the cost of serving models is $356.52
Learning
Open — Learning is done by someone, and this one is not written yet

ONE moves real money now: mainnet since 2026-11-12, a vault on Sui, agents that pay and get paid. What it can't do yet is tell you what that money means. The Revenue page shows revenue as a hard zero. Test card sales sit in the same table as real ones. The cost of a model turn is written in three places that disagree.

This file sits above the money docs and points down to them. It opens with the framework: the few measures that matter most, the same for any group on ONE and for people and agents alike. ONE's own books are its first worked example. After the framework it holds four things no other doc holds: one map of every money feature, the books as they stand (read from production, not from code), what a strong finance system adds, and the order to build it in. The screens for /on and /off are drawn here first, before any code.

Status: red at the making, by law. None of the seven rows in the schedule above is built. Each one goes green when its test or its page does.

The framework

Any group, person or agent on ONE asks its money the same few questions: what came in, what it cost, what is left, what it holds, and what it owes. Each answer is a measure. A measure always has a scope (whose money) and a window (from, to). The meanings below are the finance director's ruling of 2026-11-17. lib/finance/books-fence.ts, lib/finance/books.ts and the finance-books skill already encode most of them.

Every number is a Figure

A Figure is one value with its unit, its source and the time it was read.

Field What it says
value the number, or null when it was not read
unit usd, credits, or a chain asset
source where it was read from, in plain words: never a table, column, file or task id
asOf when it was read
truncated the read was capped, so the number is a floor
status ok · open · unconfirmed · pending · partial · not_read
counted false for a line shown beside a total but never added to it

A read that fails is null and not_read, never 0. A line that waits on a ruling is shown with counted: false and is never summed.

The rules over every measure

  1. Test money never counts. Only live rows (test_mode = 0). Testnet is a separate view, never part of a total.
  2. A credit is not a dollar. Credits and USD are two columns, never one total. A credit is worth what was paid for it. A granted credit is worth $0 until Tony rules otherwise.
  3. A move inside the scope is not revenue and not cost. A transfer, a sweep, a group paying itself, an owner funding its agent, an agent paying its owner: each is a move. "Inside" is the scope's own set (below).

The measures

Measure What counts Unit Read from
Cash in settled, live, on a cash rail (stripe, x402, sui, evm, btc, sol), paid by someone outside the own set, landing with the scope. Never credits, internal or an on-ramp arrival. A platform's sellers' money is theirs (decided by payee). Split-sale twins and :debit legs count once. Pending is "on the way" and never added USD D1 settlements
Cost of goods what the provider reported per call, for calls made by or for the scope. Never credits times the peg, never a catalogue estimate. Work that skips the gateway is its own line, not_read until a provider bill is read USD D1 gateway_calls.cost_usd
Gross margin cash in − cost of goods, same scope and window. null if either part is null USD the two above
Costs money paid out to someone outside the own set: settlements where the scope is payer, chain gas, card fees. Buying credits is a cost on the day the cash is paid, and burning them later is not a second cost. A category no ledger holds (seats, hosting) is a named not_read line, never silently absent USD D1 settlements, the chain, the card provider
Profit or loss cash in − every cost that was read, naming the cost lines that were not. With an unread line its status is partial. Gross margin is never called profit USD the lines above
Cash on hand read from the chain now, per address and vault the scope controls, each asset in its own unit. USD only for stablecoins; other assets are held, not priced, until a price source is named. A vault counts beside its owner's address, never inside it, never twice. A chain not read is named per asset the chain
Credits balance (grants − burns) and use over the window. Use leaves out moves: transfers, expiry and payouts (USAGE_BURN in books-fence.ts). The balance takes no fence of either kind: a test grant and its test burn net out, and so does a move credits D1 credit_grants, credit_burns
Credit liability paid credits only, at the price paid, still unburned. partial until a burn is tied to the grant that paid for it. Granted credits are a promotion at $0 (Tony's open ruling) USD D1 credit_grants, credit_burns
Spend limit an actor's ceiling and what is left this period, in the vault's own asset. A stablecoin is not a dollar on the books until it is converted the vault's asset (USDC today) the chain (the vault signer: per payment, per period, spent), never a doc or D1
Funding in money from inside the own set: from an owner, an admin, or a parent group that is the same money. Shown beside cash in, counted: false, never dropped USD D1 settlements
Funding out money to the own set: to an owner, an agent, or a child group that is the same money. Shown beside costs, never a cost USD D1 settlements

The "Read from" column is for builders and names tables. A Figure's source on a page never does: it says where the number came from in plain words.

The scopes

Scope What it shows
Group every measure
Person or agent cash in where it is the payee, costs where it is the payer, cost of goods for calls made by it, credits it burned, its spend limit. An agent's P&L is the same formula at a smaller scope, not a second one
Wallet cash on hand, and settled moves in and out by address
Treasury cash on hand across its addresses and vaults, and every actor's limit
Roll-up a parent's measure read over its same-money sub-groups, fenced by its own set. A move between two of them drops out by itself. Never a plain sum of the children, and never a client's or a tenant's money

The own set

The third rule needs one answer: who is inside this scope?

  • The own set follows ownership, not the group tree. The tree records who provisioned a group, not who owns it: the platform is every signup's default parent, and an agency provisions its clients. So a group is inside a scope's own set only when it is the same money: every direct owner of the group is a direct owner of the scope, wherever the two sit in the tree, or outside it. A person's own workspace has no parent and still counts.
  • A group shared with another owner is not the same money. If Tony and a partner both own a group, the partner's money is not ONE's: the group is outside ONE's own set, its payments to ONE are cash in, and the partner never enters. The rule runs one way: a group with more owners than the scope is never inside it.
  • A group's own set is the group, every group that is the same money, the group's owners, the admins of every group in the set, and every agent whose wallet one of those groups holds. A roll-up is the one place the tree still matters: it reads the group and its same-money sub-groups only. A child's money from a same-money parent is funding in on its books and a move in the parent's roll-up.
  • The platform is a host, never a money parent. Its tenants are outside its own set and it is outside theirs, unless the same owner owns both (one and tony today).
  • An agency is not its clients. A client's money is the client's, and a payment between them is cash in on one side and a cost on the other.
  • Admins never cross into other money. An admin of a group that is not the same money, such as an agency's admin paying its client, is outside, and the payment is cash in.
  • The own set never decides who may read the books. lib/finance/gate.ts does. A sub-group's admin is inside a parent's own set (their payment is a move) and still may not read the parent's books. Never gate a read with the own set.
  • A membership alone never makes an actor ours. Members, viewers and auditors are outside, and so is an agent that is only a member. An outside agent that buys from a group may join it as a member; if that made it ours, every payment it made would leave cash in as funding, and revenue would read close to zero without a word.
  • A person's or agent's own set is the actor, its wallets and addresses, the agents whose wallet a group it owns holds, and, for an agent, the owners and admins of the group that holds its wallet. An agent paid by its owner is funded, not earning. An owner paid by its agent is a sweep home, not revenue.
  • Ids and addresses. Each actor and group in the set brings its ids, wallets and addresses (proven and rotated), read from D1.

Three limits, each named. A company's own team whose owner holds no direct owner membership on it reads as outside its company, until who owns which group is a fact of its own. An agent we own whose wallet no group in the own set holds reads as outside. A plain member agent reads as outside even when it is ours. The two agent limits hold until its home group is a fact (the spend delegation in the held schema/design/finance.tql).

books-fence.ts OWN_GROUPS (one, tony) is the hand-written first instance of this rule. The fence reads the rule instead of a list once the own set is wired at the edge (§ What changes for the builders). At the edge the rule runs over the brain snapshot, which caps its membership and row reads, so an own-set read carries truncated, and a figure fenced by a truncated set says so.

Where money lives: D1 and TypeDB

Amounts live in D1 and on chain. TypeDB holds who owns and runs each group. D1 holds which wallets each group holds. No payment writes an amount into TypeDB (only deals and story events carry signal.amount), so a TypeDB function that summed money would answer differently from the ledger. That would be a second set of books. So schema/finance.tql returns who, never how much, and the D1 read answers how much, fenced by it.

 TypeDB: same-money groups, who runs them
   rollup-groups-of · own-groups-of
   controllers-of · is-controller
        │
        │ the brain snapshot (memberships,
        │ roles, group parents) at the edge
        ▼
 D1: whose wallets, and how much
   wallets (which group holds each)
   settlements · gateway_calls
   credit_grants · credit_burns
        │
        ▼
 The chain: what is held now
   balances · vault limits
        │
        ▼
 One Figure per measure, read by the
 page, the CLI, the chat and MCP
Measure Amount from Own set from
Cash in, funding in D1 settlements the snapshot (tree, controllers) and D1 wallets
Cost of goods D1 gateway_calls the snapshot and D1 wallets
Costs, funding out D1 settlements, the chain the snapshot and D1 wallets
Credits, credit liability D1 credit_grants, credit_burns not needed (a balance nets; use is fenced by reason)
Cash on hand, spend limit the chain D1 addresses of the own set

Why this way: one source per fact. The ledger already is the source for amounts and is fenced and tested. The group tree and who runs each group already live in TypeDB, and the brain snapshot already carries every membership with its role and every group's parents. The request path never queries TypeDB (one.ie/web/src/lib/CLAUDE.md § The brain and the edge), so the edge applies the same rule to the snapshot, and the functions are the rule written once.

schema/finance.tql

No new entities, relations, attributes or thing-type values. Functions over group, actor, membership and hierarchy, reusing descendants-of (one.tql):

Function Answers
rollup-groups-of(g) the group and every sub-group that is the same money: whose rows a roll-up reads
same-money(s, g) whether every direct owner of s is a direct owner of g
own-groups-of(g) the group and every group that is the same money, tree or no tree: a payment between any two is a move
controllers-of(g) every owner and admin of a group in the own set, people or agents
is-controller(a, g) whether this actor's payment to or from the tree is a move; never whether it may read the books

The groups a person owns are controlled-groups-of (reason.tql), so an actor's scope needs nothing new. Which agent wallets a group holds is a D1 fact, so it stays in D1 and is not copied into TypeDB. The rule is pinned on a real TypeDB by tests/integration/finance-own-set.test.ts, including a member agent that must read as outside, a member whose own home group must stay outside, a parentless same-money group that must read as inside, a group co-owned with a partner that must read as outside (and the partner with it), a platform and its tenant that must read as outside each other, an agency and its client likewise, a company and its own team that must read as one money, and an admin who must not cross into other money. It is written, not deployed: deploying a schema is a ship and waits for Tony.

Three more facts about the file (moved from schema/CLAUDE.md, 2026-11-19): it loads after one.tql and roles.tql; it is read at the edge through the brain snapshot (memberships, roles and group parents), never on the request path; and it never gates a read — lib/finance/gate.ts decides who may read the books.

The held money ladder (schema/design/finance.tql: pay_route, rulings, the never-hold custodian; explained in text/finance-tql.md) joins this file as a later section when its migration applies.

One view, every surface

/u/<slug>/finance gives a person a view of their own money and their agents': wallets, treasury, profit, loss and costs. The page, oneie finance, the chat and MCP read the same measures from the same loaders (finance:pnl, finance:health), which finance-surfaces.test.ts checks.

 Tony · finance · read 03:12 UTC
 ──────────────────────────────────
 ME         cash in · costs · P&L
 AGENTS     one row each, same
            measures, smaller scope
 WALLETS    per address, per asset
 TREASURY   held now · each limit
 ──────────────────────────────────
 funding in / out shown, never added

What changes for the builders

For the /finance team (engineering owns the lanes):

  1. The own set replaces the hand list. books-fence.ts OWN_GROUPS becomes the own groups of the scope being read (the same-money family, from the brain snapshot's memberships and group parents). Its D1 reads stay as they are, keyed by those groups: the wallets they hold, and so the agents inside. Owners and admins come from the snapshot's memberships. A plain member never joins the set, and the set never gates a read: gate.ts keeps deciding who may read the books.
  2. Funding in and funding out are new lines. Money from or to the own set leaves cash in and costs (it does today) and is now shown as its own Figure with counted: false, never dropped.
  3. Every measure takes a scope. Today the loaders read ONE's books. A person's or agent's P&L is the same loader with a smaller own set, not a second loader.
  4. Nothing here touches a money table, and no amount moves into TypeDB.

Open, for Tony

The framework shows both of these and sums neither.

  • Grant 7: whether the top-up was received.
  • Grant 7 also turns on who owns vespio, and the own set decides it. If Tony directly owns vespio, it is inside ONE's own set and grant 7 is a move (funding), not revenue, whether or not the money arrived. If he does not, it is cash in once it is confirmed. Nobody has checked who owns vespio yet, and the framework does not guess.
  • Granted credits: owed (a liability) or a promotion at $0.

ONE's books, the first worked example

Everything below applies the framework to ONE itself.

What did not land

Bad news first. Every number was read on 2026-11-16 at about 08:00 UTC from production D1 one-owners (read-only SELECTs) and Sui mainnet GraphQL.

  • Confirmed money from outside customers is $0. The settled ledger holds two live cash payments of $1.00 each. The x402 one on 2026-11-12 was agent one buying its own credits: the payer and the payee are both its id, 01a1bfca…. The Sui one on 2026-11-14 came from 0x4ed5…28e5, which matches no ONE key on this Mac. It may be the first outside dollar, but that is not confirmed. Every Stripe settlement, all 67 orders ($1,705.98), is test_mode = 1.
  • One Stripe top-up is off the peg. On 2026-06-29 grant 7 gave vespio 100,000,000 credits for $389.10. At 1,000 credits a dollar, $389.10 buys 389,100 credits. The grant came before the 2026-09-28 rate migration (0270_grant_rate_default.sql), and its credits are still on the books.
  • Credits are given away with no money recorded. There are 87 subscription grants worth 10,237,450 credits, every one with cents_paid empty. 18 groups sit on paid plans, and none has a Stripe subscription, so monthly recurring revenue is $0 on the ledger. stripe_events holds 10 invoice.payment_succeeded events up to 2026-11-15, but it has no column that says live or test.
  • Before late September, model cost cannot be traced to a customer. The AI Gateway logged $356.52 of model cost from July to November. Calls were first linked to ledger rows on 2026-09-25. Before that date, $155.33 of calls had no link by design. Since then, $11.85 of $201.19 (6%) has no ledger row.
  • The Revenue page has no revenue. loadRevenue returns revenue: 0 (one.ie/web/src/lib/analytics/revenue.ts:42). Its cost column reads cost_credits × $0.001, which is a fourth cost number, not the provider's bill.
  • No money can come in from a bank or go out to one. No ramp provider appears anywhere in the code (grep -rliE 'moonpay|transak|bridge\.xyz' over web, sdk, cli and pay → 0). /on and /off answer 404 on one.ie.

The money map

Every money feature at ONE falls into one of ten groups. Each group points to the doc that owns it. This file does not repeat them.

 MONEY AT ONE
 │
 ├─ A  KEYS & WALLETS     who holds it
 │     key · 5 chains · send · receive
 │     → wallets.md · key.md
 │
 ├─ B  TREASURY & LIMITS  who may move it
 │     vault · ceilings · sweep · $50 line
 │     → one.md § The treasury
 │
 ├─ C  MONEY IN           how it arrives
 │     on-ramp · swap · faucet · x402
 │     → onramp-plan.md · spend-anything.md
 │
 ├─ D  GET PAID           selling
 │     shop · cards · USDC · links · x402
 │     → pay.md · payments-integrated.md
 │
 ├─ E  SPEND              buying
 │     credits · shops · swap · hl
 │     → money-paths.md · spend-anything.md
 │
 ├─ F  MONEY OUT          cash out
 │     off-ramp · seller payouts
 │     → this file § /off
 │
 ├─ G  CREDITS            the metered unit
 │     grant · burn · gate · plans
 │     → billing.md · credits.md
 │
 ├─ H  AGENT ECONOMY      agents pay agents
 │     offer · escrow · settle
 │     → agent-commerce.md
 │
 ├─ I  THE BOOKS          what it means
 │     ledger · cost · P&L · health · sheets
 │     → this file
 │
 └─ J  PROOF & DUTY       receipts · tax
       chain read-back · invoices · HK books
       → this file § A strong finance system

How the money moves between them:

           YOUR BANK APP
                │ send, like paying a friend
                ▼
  C  MONEY IN   on-ramp → USDC in YOUR address
                │
                ▼
  A  HOLD       one key · five chains
                │
                ▼
  B  LIMIT      the chain answers before money moves
                │
     ┌──────────┼───────────┐
     ▼          ▼           ▼
  E  SPEND   D  GET PAID  H  AGENTS TRADE
     │          │           │
     └──────────┼───────────┘
                ▼
  B  COME HOME  earnings swept to the owner
                │
     ┌──────────┴───────────┐
     ▼                      ▼
  F  MONEY OUT           I  THE BOOKS
     to a bank              every row read
                            back, one unit

What we have, sorted

Legend:

  • ● seen on production this session, as a ledger row, a chain balance or a 200
  • ◐ built, or claimed live by another doc, but not seen in the ledger
  • ○ designed only
  • · not started

Each row names its unit. A credit is not a dollar. One credit is priced at $0.001 (CREDITS_PER_USD = 1_000), and only a row with cents or usd in its column is money.

A · Keys and wallets → wallets.md, key.md

Power State Unit Where
24 words on paper bring everything back ◐ — text/key.md
Five chains from one key: Sui, EVM, Solana, BTC, ASI ● Sui read · ◐ the rest — packages/sdk/src/wallet.ts
Send on Sui, ETH, Base and Arbitrum ◐ chain units packages/cli/src/lib/wallet-money.ts
Ask to be paid (wallet:invoice) ◐ chain units packages/sdk/src/receivers.ts
Send on Solana or Bitcoin · — not in SendChain

Prod has 349 wallets rows and 0 wallet_sends rows. A CLI send signs on the device and leaves no D1 row, so the ledger cannot see sends.

B · Treasury and limits → one.md § The treasury

Power State Unit Where
Owner's Sui address holds money ● 22.534188 USDC · 10.632606485 SUI Sui GraphQL, address 0x85a1…ff43
Agent one's own Sui address ● 0.151996927 SUI 0xd4f3…7598e
Vault package on mainnet, agent ceiling enforced on chain ◐ USDC one.ie/web/src/lib/sui-network.ts
one and tony never refused on balance ● credits owners.unlimited_credits = 1, 2 rows; lib/credits.ts:26
Sweep earnings home ◐ SUI wallet:sweep; 1 sweep rule, 1 sweep order on prod
USDC sweep, fund-from-parent, earned overdraft ○ — text/one.md § The treasury

Not read this session: the vault's balance and the EVM, Solana and BTC balances. one-treasury.sh refused its read from this shell (the key acts as ?), so the cash line in § Health is Sui only.

C · Money in → onramp-plan.md, onramp-vendors.md, spend-anything.md

Power State Unit Where
Your own bank details; deposits land as USDC · USD → USDC text/onramp-plan.md door 1 (Bridge)
Card or Apple Pay, bought from a partner · USD → USDC door 2 (Transak)
Local QR rails: PH, ID, VN · local → USDC door 3 (Alchemy Pay)
Buy credits over x402: $1 → 850 credits ● USD → credits x402_payments: 3 rows, $1.04, all with a verified tx digest; the $1 was agent one buying for itself
Swap between chains (NEAR 1Click) ◐ chain units text/swap.md
Testnet faucet ● testnet test credits 2 grants, 20 credits

D · Get paid → pay.md, payments-integrated.md

Power State Unit Where
A shop takes USDC on Sui ● cents settlements: 1 live row, $1.00, 2026-11-14, payer 0x4ed5…28e5 not identified
Sellers take cards through their own Stripe ◐ test only cents 48 groups have a Connect account; 0 have charges_enabled
ONE's own checkout takes live cards ◐ cents stripe_events has 68 completed checkouts, but every Stripe settlements row is test. Confirm in the Stripe dashboard
Payment links (links:create) ◐ cents 3 minted_links rows
Crypto invoices from an agent ◐ pending cents 5 crypto-link settlements, $223.00, all pending
Found in ChatGPT, paid on your shop ◐ — text/sell-in-chatgpt-plan.md

E · Spend → money-paths.md, spend-anything.md

Power State Unit Where
Pay for models and tools in credits ● credits credit_burns: 11,813 rows
Buy a plugin with credits ● credits shown as cents 5 settlements rows on rail credits, $59.20 face
Buy from a ONE shop (one shop buy) ◐ USDC escrow not on mainnet
Trade on Hyperliquid (one hl) ◐ USDC text/hyperliquid-api.md
Gift cards, shipped orders, a card per agent ○ — text/spend-anything.md

F · Money out

Power State Unit Where
Cash out USDC to your bank · — § /off below
Pay sellers their share ◐ cents Stripe Connect pays the seller directly; payout_requests has 0 rows

ONE never holds seller money (text/payments-integrated.md). A cash-out goes from the person's own address to a partner, who pays their bank.

G · Credits → billing.md, credits.md

Power State Unit Where
One writer prices every turn (credits:spend) ● credits in the registry; 7,226 burns priced live
Every burn carries its provider cost in dollars ◐ USD cost_usd filled on 7,713 of 11,813 rows, since late September
Grants: plans, top-ups, sponsorships ● credits credit_grants: 181 rows
Starter grant for every enrolled agent · credits AGENT_STARTER_CREDITS unset; 0 platform:enroll grants
Usage windows, caps, plan margin (credits:usage, credits:cap, plans:margin) ○ credits not in the registry (grep → 0 each)
Monthly allocation, alerts, auto top-up crons ○ off credits flags unset in wrangler.toml (workers/billing-cron.ts:16-26)
Daily drift check that warns ● rows workers/billing-verify-cron.ts:42, warns through the substrate now

H · Agent economy → agent-commerce.md

Power State Unit Where
Offer → escrow → deliver → settle ◐ testnet credits agent_deal_escrow: 10 rows
Escrow on mainnet · — text/x402.md

I · The books (this file)

Power State Unit Where
Revenue and cost page ◐ cost only credits × $0.001 /u/one/analytics/revenue (302 to sign-in); revenue hard-coded 0
Sales page ◐ not probed cents /u/<slug>/sales, reads settlements (lib/sales/sales-overview.ts:226)
Provider cost per call ● USD gateway_calls: 18,082 rows, $356.52
Margin mirror ◐ cents token_costs: $646.33, written by lib/billing.ts:307
P&L, cash, runway, health · — § A strong finance system

J · Proof and duty

Power State Unit Where
x402 payments carry a verified chain digest ● USD 3 of 3 rows
Invoices · — invoices: 0 rows
Refunds ◐ cents refunds: 0 rows
Tax, VAT, the HK company books · — —

The books today

The figures a P&L would start from, read on 2026-11-16 at about 08:00 UTC. Each one names its table. Test money is fenced out unless the line says otherwise.

Line Value Unit Source
Live cash payments, settled $2.00 USD settlements live, paid, rail x402 or sui
of which from outside customers, confirmed $0.00 USD x402 payer is agent one; Sui payer not identified
Unconfirmed live Stripe top-up $389.10 USD credit_grants id 7, 2026-06-29; not in settlements
Test card sales $1,705.98 USD, test settlements rail stripe, test_mode = 1
Model cost, provider-reported $356.52 USD gateway_calls.cost_usd, July to November
Model cost since linking began, 2026-09-25 $201.19 USD gateway_calls from the first linked call
of which, no ledger row $11.85 (6%) USD gateway_calls.burn_id IS NULL in that window
Model cost this month $15.14 USD gateway_calls, since 2026-11-01
Credits outstanding, excluding one and tony 112.0 M credits grants − burns, live, both unlimited groups left out
of which vespio 104.8 M credits —
Drift rows (the cron's own rule) 2 rows, 1,500 credits credits credit_burns reason Paid Donal, zero split
Burns with no rate 3,412 rows credits rate_source IS NULL, before migration 0269
Paying customers 0 groups owners.stripe_subscription_id

Four things in this table need a ruling before they go in a P&L:

  1. Which cost counts. Three columns all claim to be model cost:

    • gateway_calls.cost_usd ($356.52) is what the provider reported per call.
    • credit_burns.cost_usd ($201.88, only since September) is that cost copied onto the rows that were billed.
    • token_costs ($646.33) adds a catalog estimate where the provider gave nothing, and falls back to cost_credits × $0.001.

    Ruling: cost of goods is gateway_calls.cost_usd. The other two are views of it. Model work that bypasses the gateway, such as Claude Code seats and m.sh calls on other keys, is not in any of the three. It has to come from the provider's own bill.

  2. Credits priced before the live rate are not cost. Every burn before 2026-09-27 has no rate. In July and August those burns booked 1.43 M cost-credits, about $1,429 at the peg, while the gateway saw $74.46. The gateway may not have seen every call then, but most of the gap is the old flat rate overpricing turns. Those burns stay out of cost of goods.

  3. Transfers live in the burn ledger. 18 transfer rows (1.29 M credits) sit in credit_burns with zero cost. The drift check exempts transfer but not Paid Donal. A move between groups is not a burn, and the double-entry ledger in Wave 2 gives it its own account.

  4. Outstanding credits are a liability, and most were never paid for. vespio's 104.8 M credits would be $104,816 at face value. They were bought for $389.10 or granted. The books need a ruling on whether a granted credit is owed (deferred revenue) or a promotion (no liability). This is Tony's call, and the finance director recommends: paid credits are deferred revenue, granted credits are a promotion at $0.

The queries:

-- real cash in
SELECT rail, SUM(amount_cents) FROM settlements
WHERE test_mode = 0 AND status = 'paid'
  AND rail NOT IN ('credits','internal')
GROUP BY rail;
-- unbilled model cost, since linking began
SELECT SUM(cost_usd) FROM gateway_calls
WHERE burn_id IS NULL
  AND ts >= (SELECT MIN(ts) FROM gateway_calls
             WHERE burn_id IS NOT NULL);
-- drift, the cron's own rule (as run: 2 rows)
SELECT COUNT(*), SUM(amount_credits)
FROM credit_burns
WHERE test_mode = 0
  AND reason != 'transfer'
  AND reason NOT LIKE 'transfer:%'
  AND reason != 'expiry'
  AND ABS(amount_credits - (
      COALESCE(cost_credits,0)
    + COALESCE(agency_margin,0)
    + COALESCE(platform_margin,0)
    + COALESCE(recipient_share,0))) > 0.0001;

A strong finance system

What a business that runs on ONE should be able to ask its books, and what each answer reads. Size: S is one read or one receiver, M is a receiver plus a page or migration, and L is a new rail, partner or ledger.

# Feature Why it matters Reads Size Today
1 Test money fenced A test sale counted as revenue is a lie in every number after it settlements.test_mode; orders has no test_mode column S ◐
2 A P&L by month The first question a business asks settlements in, gateway_calls out S ·
3 Real-time health line Know now whether you are fine § Health S ·
4 A double-entry ledger Every move is a debit and a credit, so nothing vanishes and transfers stop posing as burns credit_grants, credit_burns, settlements, chain reads L single entry
5 Cost of goods per sale Model cost, chain gas and card fees against each sale gateway_calls, Sui gas from the tx, Stripe balance fee M model cost only
6 Unit economics Cost per conversation, per landed card, per sale, per agent run credit_burns.thread_id, actor, signal_id M columns exist
7 Cash and runway Cash across fiat and five chains, divided by monthly burn wallet:portfolio, Stripe balance, gateway_calls M ·
8 P&L by group, product, agent Know which line of business pays settlements.payee, order_items, credit_burns.actor M ·
9 Budgets against actuals A cap you set and what was spent against it, with a warning before the line allocations, owners.monthly_cap, credits:cap M ○
10 Revenue recognition Credits sold are owed until burned (deferred revenue) grants with cents_paid, burns M ·
11 Provider bill reconciled Our cost rows match the bill we pay OpenRouter and Anthropic invoices against gateway_calls S ·
12 Invoices and receipts A customer and an accountant both need a document invoices, wallet:invoice, Stripe invoices M 0 invoices
13 Payouts to sellers Sellers paid by their own Stripe or wallet; ONE never holds it Stripe Connect, payout:get/set M ◐ test
14 An agent's own P&L Agents with wallets earn and spend; show each one's net settlements.payee = agent, burns by actor, wallet sends M ·
15 Alerts when health turns A number crossing its line warns and notifies the owner health series → warn + human:notify S drift only
16 Forecast Next month from this month's rate the health series S ·
17 Tax, VAT, HK books The company is registered in Hong Kong; sellers need VAT storefront_tax_enabled, settlements by country L ·
18 Export to the accountant CSV and a journal an accountant imports the ledger in feature 4 M ·
19 On-chain audit trail Every settled payment links to its transaction rail_ref, verified_tx_digest, read back from the chain S x402 only
20 Money in and out from a bank Nothing else matters until money can arrive ramp:* (text/onramp-plan.md) L ·

Spreadsheets

Tony asked for spreadsheets that calculate costs, billing and P&L, wired into billing and everywhere else. The rule that decides how: one source per fact, the rest read it (CLAUDE.md § Every surface moves together). A sheet must never become a second store of money.

So a sheet is a view. Each cell is a named read: a loader, a window and a grouping, such as pnl(month, group), cogs(model) or health.cash. Those are the same loaders the pages and the chat read. A cell that sets something, such as a budget, a cap or a price, edits by sending a signal to the receiver that owns that fact, so the sheet and billing cannot disagree.

Three ways to build it:

Option What it is Gain Cost
A · a sheet as a thing a saved sheet stored in TypeDB, cells as data lives in the substrate, agents can read it a new thing-type value; TypeDB on the request path is forbidden; the numbers still come from D1
B · a page, /u/<slug>/finance a sheet grid whose cells read the finance loaders; saved layouts in the existing analytics_reports table one source, real time, no new store, works for every group we build the grid
C · two-way sync to Google Sheets or Excel (Composio) a live copy in the tool accountants already use familiar a second store: every edit made there has to be turned back into a receiver call, or it drifts

Recommended: B, with C as a one-way export. The Finance page is the sheet, and every number in it is the same query the chat and the CLI quote. "Open in Google Sheets" or "Download for Excel" pushes a stamped copy (each cell carries its asOf) through Composio or as a CSV, and a copy never writes back. Billing edits happen in the page, through credits:cap, billing:plan and billing:set-markup. That gives Tony spreadsheets wired into billing, and a spreadsheet everywhere, without a second set of books.

Every surface

Surface What it gets
Schema no new entity; no new thing-type needed for option B
SDK receivers finance:health, finance:pnl, finance:sheet (the namespace is free: grep -c '"finance' receivers.ts → 0)
API one.ie/web/src/pages/api/finance/*, read-only, owner-attested
CLI oneie finance (health), oneie finance pnl --month, oneie finance export --csv
MCP derived from the receivers
Page a Finance tab beside Analytics at /u/<slug>/finance
Chat ONE answers "how healthy are we?" from finance:health, quoting source and time
llms.txt and docs the three receivers and the health line

Health: eight numbers, right now

The line that says whether the business is healthy. Each number has one query and a freshness, and the page, the dashboard, oneie finance and the chat all print the same eight.

# Number Today Source Fresh
1 Cash in from outside customers, this month $0 confirmed ($1.00 from an unidentified payer) settlements, live, paid, cash rails, own payers fenced out per row
2 Cost of goods, this month $15.14 gateway_calls.cost_usd per call
3 Gross margin, this month −$15.14 (−$14.14 if the $1.00 is outside) 1 − 2 per row
4 Unbilled cost, since linking began $11.85 (6%) gateway_calls with no burn per call
5 Cash on hand 22.53 USDC + 10.63 SUI on Sui; others not read chain reads per address per read, about 1 s
6 Credits owed, paid only not computable yet: grants carry no price grants with cents_paid − burns needs feature 10
7 Drift rows 2 (1,500 credits) credit_burns, the cron's rule daily cron at 04:00 UTC
8 Paying customers 0 owners.stripe_subscription_id plus live payers per webhook
 one · health · 2026-11-16 08:00 UTC
 ──────────────────────────────────────
 cash in (Nov)      $0 confirmed ▏
 cost of goods      $15.14       ███
 margin            −$15.14       ▼
 unbilled cost      6%           █
 cash on hand       22.53 USDC   Sui only
 credits owed       not computable yet
 drift              2 rows       ▲ warn
 paying customers   0
 ──────────────────────────────────────
 source: D1 one-owners · Sui GraphQL

A number that crosses its line, such as margin below zero, drift above zero or unbilled cost above 5%, sends warn on the finance → health:<n> path and human:notify to the owner. A number that holds marks the path.

/on: money in, drawn first

/on is the page where a person turns their bank money into USDC in their own wallet. It follows text/onramp-plan.md doors 1 to 3. A card or Apple Pay payment buys USDC from the ramp partner, and the partner sends that USDC. ONE's Stripe never takes that payment, and ONE never holds the money.

Design redrew this screen on 2026-11-16 from the finance director's draft, to the screen law: one centred card, the path rail, and ONE in the chat.

Desktop (60 characters wide):

┌──────────────────────────────────────────────────────────┐
│ Add money to your wallet  ● mainnet                      │
├─────────────┬──────────────────────────────┬─────────────┤
│ ✓ 1 To      │ Your bank details  [ Show ]  │ ONE         │
│ ✓ 2 How     │ ──────────────────────────── │ ─────────── │
│ ✓ 3 Check   │ Name     Your Name      copy │ Copy the    │
│ ● 4 Send    │ Bank     partner's bank copy │ details     │
│ ○ 5 Landed  │ Account  •••• 4417      copy │ into your   │
│             │ Routing  •••••••••      copy │ bank app.   │
│             │                              │ I'll tell   │
│             │ [ Copy all ]                 │ you the     │
│             │                              │ moment it   │
│             │ Partner  Bridge              │ lands.      │
│             │ Fee      shown before        │             │
│             │          you send            │             │
│             │                              │             │
│             │ Add it as a payee once.      │             │
│             │ Send any amount from your    │             │
│             │ bank app. It lands here as   │             │
│             │ USDC, in your own address.   │             │
│             │                              │             │
│             │ ONE never holds it.          │             │
└─────────────┴──────────────────────────────┴─────────────┘

Phone (32 characters):

┌──────────────────────────────┐
│ Add money          ● mainnet │
│ ✓1 ✓2 ✓3 ●4 ○5  Send         │
├──────────────────────────────┤
│ Your bank details  [ Show ]  │
│ Partner  Bridge              │
│ Name     Your Name      copy │
│ Bank     partner's bank copy │
│ Account  •••• 4417      copy │
│ Routing  •••••••••      copy │
│ [ Copy all ]                 │
│ Fee  shown before you send   │
│                              │
│ Send from your bank app.     │
│ It lands here as USDC.       │
│ ONE never holds it.          │
│                              │
│ [ Ask ONE                  ] │
└──────────────────────────────┘

Phone, stop 5, Landed:

┌──────────────────────────────┐
│ Add money          ● mainnet │
│ ✓1 ✓2 ✓3 ✓4 ●5  Landed       │
├──────────────────────────────┤
│ Landed  +20.00 USDC          │
│ tx 0x9f…c1  ↗                │
│                              │
│ Arrivals                     │
│ +20.00  ACH   landed  ↗      │
│ +50.00  SEPA  on its way     │
│                              │
│ [ Ask ONE                  ] │
└──────────────────────────────┘

On a phone the chat is the sheet behind the Ask ONE bar.

Each stop, what its card shows and what ONE says:

 1 To      [ Sui · USDC ▾ ]
           0x85a1…ff43  yours
           ONE: This is your own address. Only your key
           can move it.
 2 How     (●) Bank transfer
           ( ) Card / Apple Pay
           ( ) QR: PH · ID · VN
           On a phone these are the three tabs:
           [ Bank ] [ Card ] [ QR ]
           ONE: Pick one way in. The next stop shows how.
 3 Check   The partner checks your ID once.
           ID check ✓ done, once   (shown done, skipped)
           Not done yet: [ Check my ID ] partner link
           ONE: The partner checks your ID once. It opens
           from here.
 4 Send    Bank: the bank details, as drawn.
           Card: the partner's sheet, address filled in.
           QR: a local QR code with its amount limit.
           Partner  Bridge, and the fee line, sit here.
           ONE: Copy the details into your bank app. I'll
           tell you the moment it lands.
 5 Landed  amount + tx link, read back from the chain
           Arrivals live here only:
           +20.00 USDC  ACH   landed   tx 0x9f…c1 ↗
           +50.00 USDC  SEPA  on its way
           ONE: +20.00 USDC landed, tx ↗  (a receipt in
           the chat, not a second table)

The states, top to bottom:

 no key yet      → "Make your key first" (home)
                   [before stop 1]
 key, no ID check→ [ Check my ID ] partner link
                   [stop 3]
 checking        → "The partner is checking"
                   [stop 3]
 blocked here    → "Not in your country yet"
                   (HK, TH: § Two rulings)
                   [replaces stop 1's card; stops 2–5 grey]
 ready           → bank details, as drawn
                   [stop 4]
 money sent      → "On its way" + rail time
                   [stop 5]
 landed          → amount + tx link, read
                   back from the chain
                   [stop 5]

The tabs:

  • Card shows the partner's sheet with the address filled in.
  • QR shows a local QR code with its amount limit.
  • An agent never sees /on. Its owner fills the treasury, and the agent draws from it inside its ceiling.

/off: money out, drawn first

/off sends USDC from the person's own wallet to a partner, and the partner pays their bank. It is designed only. No partner for it is chosen yet, and text/onramp-vendors.md lists which ramps also pay out.

Design redrew this screen on 2026-11-16 from the finance director's draft, to the screen law: one centred card, the path rail, and ONE in the chat.

Desktop (60 characters wide):

┌──────────────────────────────────────────────────────────┐
│ Cash out  ● mainnet                                      │
├─────────────┬──────────────────────────────┬─────────────┤
│ ✓ 1 Amount  │ From  Sui · USDC             │ ONE         │
│ ✓ 2 To      │ Amount  20.00 USDC           │ ─────────── │
│ ● 3 Confirm │ To  •••• 4417  checked       │ The fee is  │
│ ○ 4 Landed  │                              │ on the      │
│             │ Partner fee   shown here     │ card. The   │
│             │ You receive   shown here     │ price holds │
│             │ Arrives       rail's time    │ 60 s, so it │
│             │                              │ cannot move │
│             │ This price holds 60 s.       │ under you.  │
│             │                              │ Agents      │
│             │ [ Cash out · Touch ID ]      │ can't cash  │
│             │                              │ out. Above  │
│             │ You sign with Touch ID.      │ your limit, │
│             │ USDC goes from your wallet   │ your finger │
│             │ to the partner, who pays     │ decides.    │
│             │ your bank. ONE never holds   │             │
│             │ it.                          │             │
└─────────────┴──────────────────────────────┴─────────────┘

Phone (32 characters):

┌──────────────────────────────┐
│ Cash out           ● mainnet │
│ ●1 ○2 ○3 ○4  Amount          │
├──────────────────────────────┤
│ From  Sui · USDC  ▾          │
│       22.53 available        │
│                              │
│ Amount  [   20.00 ] USDC     │
│ [ Max ]  keeps the SUI       │
│          for gas             │
│                              │
│ [ Ask ONE                  ] │
└──────────────────────────────┘

Phone, stop 3, Confirm:

┌──────────────────────────────┐
│ Cash out           ● mainnet │
│ ✓1 ✓2 ●3 ○4  Confirm         │
├──────────────────────────────┤
│ To  •••• 4417  checked  ▾    │
│                              │
│ Partner fee   shown here     │
│ You receive   shown here     │
│ Arrives       rail's time    │
│                              │
│ This price holds 60 s.       │
│                              │
│ [ Cash out · Touch ID ]      │
│                              │
│ ONE never holds it.          │
│                              │
│ [ Ask ONE                  ] │
└──────────────────────────────┘

On a phone the chat is the sheet behind the Ask ONE bar.

The state until a partner is signed:

 no partner yet  stop 3 reads
 "No partner yet: cash out opens when one is signed"

The button reads "Cash out · Touch ID" on a device that has it, otherwise "Cash out · confirm with your key".

Each stop, what its card shows and what ONE says:

 1 Amount  From [ Sui · USDC ▾ ]
           22.53 USDC available
           Amount [     20.00 ] USDC
           [ Max ] keeps the SUI for gas: it sends all but
           a little SUI, so the fee to send is covered.
           ONE: Leave a little SUI for the fee to send.
 2 To      To your bank
           (●) •••• 4417  checked
           [ + add a bank ]
           The ID check runs here once, if not done.
           ONE: Pick the bank that gets paid.
 3 Confirm Partner fee   shown here
           You receive   shown here
           Arrives       rail's time
           This price holds 60 s.
           [ Cash out · Touch ID ]
           Nothing before this stop moves money.
           ONE: The fee is on the card. The price holds
           60 s, so it cannot move under you. Agents
           can't cash out. Above your limit, your finger
           decides.
 4 Landed  Two legs, each with its own state:
           USDC leg   sent · tx ↗ (read from the chain)
           Bank leg   partner paying · paid
                      (with the partner's reference)
           ONE: the receipt, both legs, with links.

Cash-out needs the same ID check as /on, done once with the partner. The person signs the send themselves. An agent's ceiling never reaches /off, because cash-out moves money out of the system entirely, and that is the owner's act alone.

Building the on-ramp

The plan is text/onramp-plan.md, and the 13-provider survey behind it is text/onramp-vendors.md. It runs Bridge, then Transak, then Alchemy Pay, then Meld, through seven cycles C1 to C7 on a new ramp:* namespace. This file adds only what finance needs from it:

  • Every arrival is a row. ramp:landed writes a settlements row with rail = 'ramp', the partner's fee in its own column, and rail_ref set to the chain digest. It is not revenue: the money is the person's.
  • The partner's fee is a cost we show, not one we take. ONE takes no fee on a fill. If that changes, the change is a promise of its own.
  • /off waits until /on has a live proof. That is cycle C7: a real $20 bank transfer read back on chain. /off is its own row after that. The HK and Thai rulings below gate both pages.

Two rulings before any partner

Both are in text/onramp-plan.md § Two rulings. In short:

  • Hong Kong retail waits for HK counsel on the Stablecoins Ordinance.
  • Thai residents are blocked by location until Thai counsel clears it.

The build carries on in sandbox while counsel answers. The location gate is code, so it ships closed.

The order we build in

Planned in waves, never in days. Each wave closes on rows whose promises carry the proof.

 W1  the true P&L + health line for group one,
     and beside it the on-ramp sandbox C1 to C4
        │
        ▼
 W2  the ledger balances:
     double entry, revenue recognised,
     provider bill reconciled
        │
        ▼
 W3  the Finance page as a sheet,
     export to Sheets / Excel / CSV,
     budget cells write through credits:cap
        │
        ▼
 W4  money in and out: /on C5–C7 (card, Asia,
     live proof), then /off, then seller payouts
        │
        ▼
 W5  the company: tax and VAT, HK books,
     accountant export, agent P&L, forecast

Wave 1 is the smallest set that gives Tony a true P&L and a health line for group one. Three rows, to be filed once Tony has read this file:

  1. Fence the books. Real cash comes only from settlements where test_mode = 0, the rail is a cash rail, and the payer is not one of our own keys. Add test_mode to orders and to stripe_events. Rule on the three cost columns, with gateway_calls as cost of goods, and on grant 7 (#4 above). Owner: engineering, with the finance director's ruling attached. Tags: finance, billing.
  2. finance:pnl and finance:health. These are two read-only receivers that return the books table and the eight health numbers above. Each value carries source, asOf and truncated. Owner: engineering. Tags: finance, credits. It is blocked by row 1.
  3. Show it on every surface. The Finance tab at /u/one/finance, oneie finance, the chat answer and llms.txt, all reading row 2's receivers. The Revenue page's hard-coded revenue: 0 gets replaced by the same read. Owner: engineering, then design for the tab. Tags: finance. It is blocked by row 2.

Wave 2 opens on what Wave 1 shows. The 6% of model cost with no ledger row comes first. It means either a door that skips credits:spend, or model work that should never be billed, and the P&L has to say which.

The CEO's rulings, 2026-11-16. The on-ramp sandbox C1 to C4 runs now, beside Wave 1, because Tony asked for it in the finance meeting. W4 keeps C5 to C7, /off and seller payouts. Credits rows (unbilled cost, burns, usage, cap, plan margin, crons) sit in W2. Spend E1 to E7 and get-paid rows (x402, invoices, Stripe Connect, the BTC canary) sit in W4. The agent economy rows (escrow, market settle, agent P&L) sit in W5. Treasury rows (cash on hand, vault mirror, sweep, the vault drawing) sit in W1, because health number 5 reads cash on hand; funding a child vault and the earned overdraft are new powers, not the health line, so they sit in W5. Of the Finance A rows, wallet:send recording every chain and the live CLI send sit in W2, because they put every send in the ledger that balances; the $1 proof and the Solana and Bitcoin sends sit in W4, money out. The passkey PRF measure and the paper drill belong to the key, not a finance wave. The Sold rows and the ChatGPT shop belong to the sale, not a finance wave.

The rules as queries run beside the waves. text/finance-tql.md (schema/design/finance.tql, a design) answers "may I, alone, whose key?" as one query, pay_route, and holds counsel's rulings as policy rows. Its own plan, F1 validate → F2 review → F3 deploy → F4 wire → F5 counsel, must land F4 before any spend:* rail signs on Base or Solana, where no chain ceiling exists yet.

The waves, as a Gantt

Waves read top down, W1 first. A row waits on its
blockers; the line under a row names them.

W1  the true P&L + health line, and beside it
    the on-ramp sandbox C1 to C4, cash on hand
----------------------------------------
░ Wave 1 + on-ramp sandbox (parent)         c0b856
▓ Fence the books                           51bebd
▒ finance:pnl + finance:health              99cc54
  └ after: Fence the books (W1)
▒ Show P&L + health on every surface        4b4e24
  └ after: finance:pnl + finance:health (W1)
▒ Fence: storefront webhook hunk            51a694
  └ after: Paying a link the call made wakes… (other board)
░ Decide: free credits owed or promo?       012694
░ Decide: Vespio $389.10 top-up             1f8cba
▒ Read-back: finance meeting KPIs           b250b9
  └ after: Fence the books (W1)
  └ after: finance:pnl + finance:health (W1)
░ Security review: money doors now          abed2b
▒ Settlements read back from chain          5898c3
  └ after: Fence the books (W1)
░ On-ramp C1 red tests, receivers           53ab88
▒ On-ramp C2 Bridge adapter, webhook        10dfff
  └ after: On-ramp C1 red tests, receivers (W1)
▒ On-ramp C3 chain read-back                a0b67b
  └ after: On-ramp C2 Bridge adapter, webhook (W1)
▒ On-ramp C4 every surface                  1e20e1
  └ after: On-ramp C3 chain read-back (W1)
░ Sweep USDC home                           127511
▒ Security review: USDC sweep               a381e3
  └ after: Sweep USDC home (W1)
▒ Cash on hand, every holding               c59348
  └ after: Receiver contract:read over lib/co… (other board)
▒ Vault mirror matches chain                43a8c9
  └ after: Cash on hand, every holding (W1)
▒ Vault drawing matches chain               2b6480
  └ after: Tony: top up agent one and set the… (other board)

W2  the ledger balances; credits, sends, 6% unbilled
----------------------------------------
░ Name doors behind the 6% unburned         907f43
▒ Every model call writes its burn          fe9ef5
  └ after: Name doors behind the 6% unburned (W2)
▒ New burns carry provider cost             35c0f7
  └ after: Name doors behind the 6% unburned (W2)
░ Double-entry (its only blocker was dissolved) 381db2
▒ Revenue recognised                        d9d9e6
  └ after: Double-entry ledger (W2)
  └ after: Decide: free credits owed or promo? (W1)
▒ Provider bill reconciled                  7f6860
  └ after: finance:pnl + finance:health (W1)
▒ Refunds land in the ledger                71e535
  └ after: Press one real $100 Sold purchase and… (unplaced)
  └ after: Settlements read back from chain (W1)
▒ Invoice for every paid settlement         160ab6
  └ after: Settlements read back from chain (W1)
░ wallet:send records every chain           4eb1ba
▒ A live CLI send records itself            6a90c8
  └ after: wallet:send records every chain (W2)
░ credits:usage                             d49d92
▒ credits:cap                               e70ef4
  └ after: credits:usage (W2)
▒ plans:margin                              0e9ae2
  └ after: New burns carry provider cost (W2)
  └ after: credits:usage (W2)
▒ Fix and arm the alert crons               e05466
  └ after: credits:cap (W2)

W3  the Finance page as a sheet
----------------------------------------
▒ The Finance sheet                         5466ad
  └ after: Show P&L + health on every surface (W1)
  └ after: Revenue recognised (W2)
  └ after: Provider bill reconciled (W2)
▒ Export the sheet (CSV, Sheets)            ffd678
  └ after: The Finance sheet (W3)
▒ Budget cells write the cap                8035b3
  └ after: The Finance sheet (W3)

W4  money in (C5-C7, get paid) and out (/off, spend)
----------------------------------------
░ Decide: ramp vendor sales asks            438ade
░ Decide: HK counsel on ramp                169e52
░ Decide: Thai counsel on ramp              66db8f
▒ On-ramp C5 Transak card door              5c8ac8
  └ after: On-ramp C4 every surface (W1)
  └ after: Decide: ramp vendor sales asks (W4)
▒ On-ramp C6 Alchemy QR doors               31b73d
  └ after: Decide: ramp vendor sales asks (W4)
  └ after: On-ramp C5 Transak card door (W4)
▒ On-ramp C7 live $20 proof                 968774
  └ after: On-ramp C4 every surface (W1)
  └ after: Decide: ramp vendor sales asks (W4)
  └ after: Decide: HK counsel on ramp (W4)
  └ after: Decide: Thai counsel on ramp (W4)
▒ Security review: on-ramp                  45bfcb
  └ after: On-ramp C2 Bridge adapter, webhook (W1)
  └ after: Security review: money doors now (W1)
░ Crypto invoices settle or expire          4e7e8c
░ Seller Stripe accounts read back          da6373
░ x402 v2 C1 answer and verify              0ea654
▒ x402 v2 C2 settle                         208b1d
  └ after: x402 v2 C1 answer and verify (W4)
░ Bitcoin treasury canary                   f93094
░ Off-ramp counsel                          8e80b8
░ Write offramp-plan.md                     4f0640
▒ /off C1-C3 receivers                      b79b65
  └ after: On-ramp C2 Bridge adapter, webhook (W1)
  └ after: Write offramp-plan.md (W4)
▒ /off page                                 942672
  └ after: /off C1-C3 receivers (W4)
▒ /off on every surface                     688cc7
  └ after: /off C1-C3 receivers (W4)
▒ /off live $20 proof                       01e8db
  └ after: Off-ramp counsel (W4)
  └ after: /off page (W4)
  └ after: /off on every surface (W4)
░ Seller payouts tell the truth             c5ca0f
░ Spend E1 one limit check                  d2aa09
░ Spend E2 partner answers                  8d5546
▒ Spend E3 gift card                        0c4344
  └ after: Spend E1 one limit check (W4)
  └ after: Spend E2 partner answers (W4)
▒ Spend E4 order by ASIN or link            63eff3
  └ after: Spend E1 one limit check (W4)
  └ after: Spend E2 partner answers (W4)
▒ Spend E5 a card per agent                 0515f7
  └ after: Spend E1 one limit check (W4)
  └ after: Spend E2 partner answers (W4)
▒ Spend E6 same on every surface            d18528
  └ after: Spend E3 gift card (W4)
  └ after: Spend E4 order by ASIN or link (W4)
▒ Spend E7 $5 gift card (Tony)              b72998
  └ after: Spend E3 gift card (W4)
▒ Prove it: $1 USDC on Sui and Base         e3ccf2
  └ after: A live CLI send records itself (W2)
▒ Send on Solana: SOL and USDC              64fbde
  └ after: A live CLI send records itself (W2)
▒ Send on Bitcoin: native SegWit            687f6e
  └ after: Send on Solana: SOL and USDC (W4)

W5  the company: tax, HK books, agent economy
----------------------------------------
▒ Decide tax and VAT                        e16627
  └ after: Fence the books (W1)
▒ HK books + accountant export              6649b9
  └ after: Double-entry ledger (W2)
  └ after: Refunds land in the ledger (W2)
  └ after: Invoice for every paid settlement (W2)
  └ after: Decide tax and VAT (W5)
▒ Each agent's own P&L                      88adf6
  └ after: finance:pnl + finance:health (W1)
  └ after: Deal settle leaves a settlement (W5)
░ Red test: market:settle rows              3a3c85
▒ Deal settle leaves a settlement           2bb757
  └ after: Fence the books (W1)
  └ after: Red test: market:settle rows (W5)
░ Decide mainnet escrow rail                68ccf8
▒ Security review: escrow                   161b31
  └ after: Decide mainnet escrow rail (W5)
▒ Escrow answers on mainnet                 858cde
  └ after: Decide mainnet escrow rail (W5)
  └ after: Security review: escrow (W5)
▒ First mainnet escrowed deal               d428ad
  └ after: Tony's fingerprint: pay gas secret… (other board)
  └ after: Deal settle leaves a settlement (W5)
  └ after: Escrow answers on mainnet (W5)
▒ Forecast: cash runway, 3 months           750e35
  └ after: finance:pnl + finance:health (W1)
░ Fund a child vault from parent            cac796
░ The earned overdraft                      5a0c7c

UNPLACED
----------------------------------------
belongs to the sale, not a finance wave
▓ Put Sold on production's store: prod_…    574854
▒ Community product bound to group:sold…    8ff0b8
  └ after: Create group:sold and join every S… (other board)
▒ Press one real $100 Sold purchase and…    1f75ce
  └ after: When the included month lapses, a… (other board)
  └ after: Publish the Sold course on product… (other board)
░ ONE's shop is complete in ChatGPT: st…    59e55f
belongs to the key, not a finance wave
░ Passkey PRF on synced passkeys            d12311
░ Paper drill: 24 words, 5 addresses        fc5b06

34 done rows (keys, custody...) need no wave

Legend: █ done · ▓ picked · ░ open · ▒ open and waiting on a blocker. A row sits in a wave by the wave in its title, the wave 1 text, a wave's own words, or the CEO's rulings of 2026-11-16 (see above). The three on-ramp DECIDE rows sit in W4 because they gate C5 to C7. The W1 parent row is titled "wave 1 + on-ramp sandbox", and the board now matches. Done rows are left off the chart; they need no wave. Read from tasks:list tag finance, 117 live rows (61 dissolved skipped, 0 live copies), on 2026-11-16. Placed: W1 19, W2 14, W3 3, W4 29, W5 12 (77 in all). Unplaced: 6 (4 belong to the sale, 2 to the key). Done: 34. The list returned 178 rows under a limit of 200, with no truncated flag.

What it defends, and what it accepts

Defends Accepts
Test money is never counted as money Old rows stay as they are, fenced by a query, never rewritten
One source per number; sheets, page, chat and CLI read the same query A sheet copy outside ONE is out of date the moment it's exported, and says so with its asOf
Money lands in the person's own address, never ONE's A ramp partner sees the person's ID check and the transfer
An agent can't cash out or raise its own ceiling Cash-out is a person's act, one at a time
A credit is never written as a dollar Two columns where one would read more simply

Where the depth lives

  • Keys and wallets: text/wallets.md · text/key.md
  • The treasury and agent limits: text/one.md § The treasury
  • Every payment rail: text/pay.md · text/payments-integrated.md
  • Send, swap, buy and sweep as one chain: text/money-paths.md
  • Fill and spend, the promise: text/spend-anything.md
  • The on-ramp build: text/onramp-plan.md · text/onramp-vendors.md
  • Credits and the ledger: text/billing.md § The ledger · text/credits.md
  • Issued cards: text/issued-cards-features.md
  • The money ontology, the ladder and the law as data: text/finance-tql.md · schema/design/finance.tql

Stale docs to fix in passing (found by the on-ramp survey):

  • These still say testnet: text/pay.md:18-34, text/wallets.md:55 and text/key.md:422.
  • text/one.md:991 says the vault is not on mainnet, which one.ie/web/src/lib/sui-network.ts:120-124 contradicts.

Connected to

Every link here was checked against the repo when the page was built. 2 names the story uses could not be found and are shown without a link.

Promises

What it holds; a told promise opens its own story.

Docs

What derives from this file.

Transactions

  • bank → USDC in the person's own address
  • USDC → a shop, a gift card, a card swipe
  • a model turn → a credit burn → a provider bill
  • earnings swept home to the owner

Analytics

  • real cash in
  • cost of goods
  • gross margin
  • unbilled cost
  • credit liability
  • drift rows
  • cash on hand
  • paying customers