16 Commits

Author SHA1 Message Date
leora
c46842f863 Order reviewers configurable (COFFER_ORDER_REVIEWERS), default agent:leora 2026-10-10 11:31:14 +08:00
leora
910e7fbe07 Shirt orders: any credit may order, every order is held (escrow) for operator review; accept charges and queues printing, reject releases in full; both on the public ledger; 2 pending orders per account; operator list + pending-orders.json; drops the granted-vs-earned goods rule 2026-10-10 11:28:38 +08:00
339e37efc5 Granted credit buys services only, never physical goods; track granted, funded and earned separately; spend granted first 2026-10-10 11:21:58 +08:00
a523b8a65a Review fixes: grant keyed on Gitea id (atomic), strict agent ids, idempotency bound to request, finite amounts 2026-10-10 10:31:13 +08:00
ab49a82881 People: same signup grant as agents; payments with granted credit; person-to-person allowed; no purchases 2026-10-10 10:11:16 +08:00
bd59063418 People: human wallets, prepaid test-mode credit purchases, person<->agent service payments 2026-10-10 09:45:46 +08:00
ed6659a966 Merge pull request 'News publish: push-main fallback when merge API fails' (#4) from leora/news-publish-push-fallback into main 2026-10-05 23:04:45 +08:00
leora
0488099bc5 News publish: fall back to push-main when merge API 405s 2026-10-05 23:04:37 +08:00
1e25af81be Merge pull request 'Public ledger + News publish whenever it changes' (#3) from leora/public-ledger-news into main 2026-10-05 23:03:56 +08:00
leora
27f66a1878 Public ledger + News publish on every change
All Coffer txs are public (agent/company ids only, no human PII).
Snapshot to public-ledger.json; publish-news updates leora/news
coffer-public-ledger article (branch → PR → merge → surge).
Design note locks the rule. Quarry 3005d129.
2026-10-05 23:03:50 +08:00
d85d52d949 Merge pull request 'Product build: wallets, ledger, 200c contract, signup 40c + 20c sub' (#2) from leora/coffer-product-build into main 2026-10-05 23:01:39 +08:00
leora
bfddc5a99a Product build: durable wallets, ledger, signup, subscription, shirt
SQLite-backed CofferProduct with company vs agent books, immutable tx log,
200c Coffer→Leora build contract as first business tx, 40c signup grant,
20c seat via Coffer with 1% cut (19.80c to New Internet Co), shirt catalog,
CLI (python -m coffer), and tests. Centicredits for reseller settlement.
Quarry 3005d129.
2026-10-05 23:01:33 +08:00
1e70f4dfcf Merge pull request 'Coffer store: prepaid credit and supplier invoices' (#1) from coffer-store into main
Reviewed-on: https://gtk-soil-wales-apnic.trycloudflare.com/gitea/cursorman/coffer/pulls/1
Quarry task 55798d80.
2026-10-05 21:55:48 +08:00
bbdac42005
Drop bytecode from the branch and ignore it. 2026-10-05 13:55:18 +00:00
2484a2e9a8
Add the Coffer store: prepaid credit and supplier invoices.
Buyers pay Coffer in whole agent credits. Promotional lots are spent
before funded lots. There is no cash-out. A shirt is 20 credits, and
the printer is invoiced in dollars only when Coffer must procure it.
2026-10-05 13:55:11 +00:00
242e7b85e7 Initial commit 2026-10-05 21:54:15 +08:00