Commit Graph
4884 Commits
Author SHA1 Message Date
Devin FoleyandPaperclip 73f153ce04 Merge indexed receipt recovery into the cost dashboard
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:13:10 -07:00
Devin FoleyandPaperclip 3415e577b9 perf: index receipt recovery outside company accounting locks
Reuse a batch index of immutable receipt identities so settlements read only matching or newly published files. Verify unrelated receipts are read once, company locks remain available during indexing, and late publications still settle correctly.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:12:13 -07:00
Devin FoleyandPaperclip 9b270744d7 Merge accounting recovery fixes into the cost dashboard
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:51:12 -07:00
Devin FoleyandPaperclip e27c5ea4e1 fix: preserve native recovery and settle the latest durable receipt
Keep fresh budget admission blocked without cancelling the native recovery needed to close accounting. Drain every matching disk receipt under the accounting lock and retain files until ledger commit. Add PostgreSQL rollback, backlog, movement, and budget-scope regressions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:51:02 -07:00
Devin FoleyandPaperclip 99ca89b1fc Merge reviewed quota copy and typography corrections
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:17:05 -07:00
Devin FoleyandPaperclip 6f55d0377b Merge reviewed quota copy and typography corrections
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:16:44 -07:00
Devin FoleyandPaperclip 9390b17ef6 Use accurate credential retry copy and monetary typography
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:15:47 -07:00
Devin FoleyandPaperclip 2c6bfb013b Verify normalized historical tokens across provider card sections
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:06:17 -07:00
Devin FoleyandPaperclip 964c454a12 Merge reviewed token aggregation and credential contention fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:04:36 -07:00
Devin FoleyandPaperclip 3f8a95f8a4 Merge reviewed credential contention handling into accounting
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:03:53 -07:00
Devin FoleyandPaperclip 1b790095ed Normalize historical OpenAI token layouts before report aggregation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:03:53 -07:00
Devin FoleyandPaperclip 7d7e66d5da Defer fresh executions during credential lock contention
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:01:43 -07:00
Devin FoleyandPaperclip 8a891f4eaf Merge reviewed fixture cleanup and accounting UI fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:41:08 -07:00
Devin FoleyandPaperclip 236c8adee4 Merge reviewed fixture cleanup and accounting UI fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:41:05 -07:00
Devin FoleyandPaperclip 7205606dad Merge reviewed fixture cleanup and accounting UI fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:41:02 -07:00
Devin FoleyandPaperclip 7a16a47e1b Merge reviewed fixture cleanup and accounting UI fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:40:58 -07:00
Devin FoleyandPaperclip 9ec4ac0932 fix: surface stale reports and invalid accounting edits
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:40:55 -07:00
Devin FoleyandPaperclip d442fc431f test: release held adapters even when recovery assertions fail
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:40:55 -07:00
Devin Foley a5a523d3c0 Merge runtime token recovery and quota review fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>

# Conflicts:
#	ui/src/components/ProviderQuotaCard.tsx
#	ui/src/pages/Costs.production.tsx
#	ui/src/pages/Costs.tsx
2026-10-04 00:34:16 -07:00
Devin FoleyandPaperclip 60f7e0981d Merge runtime token recovery and quota review fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:33:31 -07:00
Devin FoleyandPaperclip 8cfa4b33a4 fix: recover quota credentials before runtime use and auth failure
Also show safe quota transport failures and shared timestamp formatting.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:32:57 -07:00
Devin FoleyandPaperclip 3787c14a93 Merge reviewed ACPX receipt retention and deterministic test teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:23:12 -07:00
Devin FoleyandPaperclip 803d7e2d52 Merge reviewed ACPX receipt retention and deterministic test teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:23:08 -07:00
Devin FoleyandPaperclip 1cf7bba6f2 Merge reviewed ACPX receipt retention and deterministic test teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:23:05 -07:00
Devin FoleyandPaperclip 28d661a124 Merge deterministic heartbeat fixture teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:22:37 -07:00
Devin FoleyandPaperclip 79b7516322 fix: retain ACPX usage when receipt persistence rejects
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:22:37 -07:00
Devin FoleyandPaperclip 722db815da test: drain heartbeat work before deleting recovery fixtures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:22:36 -07:00
Devin FoleyandPaperclip dede51d286 test: prevent announcements from obscuring quota screenshots
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:19:21 -07:00
Devin FoleyandPaperclip d4de579f4b test: frame quota screenshot evidence on the provider card
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:17:23 -07:00
Devin FoleyandPaperclip 000187faa1 test: capture provider quota states and failed refresh recovery
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:12:39 -07:00
Devin FoleyandPaperclip 20df2a3b7f Merge receipt handoff recovery and current master
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:10:01 -07:00
Devin FoleyandPaperclip f60247951b fix: recover pending receipts before replacing run recorder
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:09:32 -07:00
Devin Foley 4f9dd4d04e Merge quota reconnect recovery and current master
Co-Authored-By: Paperclip <noreply@paperclip.ing>

# Conflicts:
#	server/src/services/heartbeat.ts
2026-10-04 00:03:13 -07:00
Devin FoleyandPaperclip 7c6d3f1526 Merge current master and adapter startup proof
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:00:59 -07:00
Devin FoleyandPaperclip f0b683a24e Merge current master and resolved fixture synchronization
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:55:14 -07:00
Devin FoleyandPaperclip 2d56b73b75 fix: discard obsolete quota recovery after reconnect
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:54:10 -07:00
Devin FoleyandPaperclip 99c84ccca2 Merge current master into accounting test isolation
Keep upstream runtime startup assertions, which independently fix the same PID-persistence race, alongside our port-claim isolation and canonical path fixtures.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:54:09 -07:00
Devin FoleyandPaperclip 8f10b0b7c5 Merge accounting lifecycle fences and durable OAuth recovery
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:45:16 -07:00
Devin FoleyandPaperclip 4176cfdcde Merge durable quota token recovery and fixture synchronization
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:44:45 -07:00
Devin FoleyandPaperclip 0ae6037cf2 Merge upstream runtime metadata test synchronization
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:44:19 -07:00
Devin FoleyandPaperclip 7966dac682 fix: journal exchanged quota credentials before transactional save
Encrypt and fsync replacement OAuth tokens before vault/grant/activity writes. Retry failed saves from the journal without consuming the old refresh token again; retain durable recovery through rollback, commit failures, restart, and lost commit responses. Fence replay against revocation and reconnect.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:44:19 -07:00
Devin FoleyandPaperclip 420af2835f Merge runtime metadata fixture synchronization
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:42:54 -07:00
Devin FoleyandPaperclip 87b5bd6aae test: await committed runtime metadata before asserting process identity
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:42:50 -07:00
Devin FoleyandPaperclip a8c6256c72 fix: fence accounting closure and budget stops against recovery races
Keep retryable native receipts pending, preserve cumulative recovery usage, complete admission before atomic dispatch, and serialize retry gates in accounting lock order. Revalidate budget enforcement at its durable stop intent and retain startup failure proof.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:42:49 -07:00
Devin FoleyandPaperclip e2664b655b Merge upstream startup accounting proof and fixture isolation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:21:21 -07:00
Devin FoleyandPaperclip 1dd6c03d2c Merge adapter startup accounting proof and test isolation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:21:17 -07:00
Devin FoleyandPaperclip 065bf17ba3 fix: preserve proof of process adapter bootstrap failures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:21:13 -07:00
Devin FoleyandPaperclip 2d30ee8868 Merge runtime test isolation fixes into adapter receipts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:19:30 -07:00
Devin FoleyandPaperclip 1275ef8282 test: isolate runtime port claims and canonicalize fixture paths
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 23:19:25 -07:00
Devin FoleyandPaperclip 525d7b8da6 fix: retain separate cache reads in historical Claude totals
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 22:58:30 -07:00