Devin Foley and Paperclip
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 Foley and Paperclip
6f55d0377b
Merge reviewed quota copy and typography corrections
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-04 01:16:44 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
3f8a95f8a4
Merge reviewed credential contention handling into accounting
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-04 01:03:53 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
7d7e66d5da
Defer fresh executions during credential lock contention
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-04 01:01:43 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
28d661a124
Merge deterministic heartbeat fixture teardown
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-04 00:22:37 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
7c6d3f1526
Merge current master and adapter startup proof
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-04 00:00:59 -07:00
Devin Foley and Paperclip
f0b683a24e
Merge current master and resolved fixture synchronization
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 23:55:14 -07:00
Devin Foley and Paperclip
2d56b73b75
fix: discard obsolete quota recovery after reconnect
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 23:54:10 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
0ae6037cf2
Merge upstream runtime metadata test synchronization
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 23:44:19 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
420af2835f
Merge runtime metadata fixture synchronization
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 23:42:54 -07:00
Devin Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
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 Foley and Paperclip
1fae0e7554
Merge reviewed credential write-back fix into accounting core
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 22:43:10 -07:00
Devin Foley and Paperclip
fc97e24392
fix: retain and retry contended credential write-back
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 22:31:28 -07:00
Devin Foley and Paperclip
04bd774133
Merge quota deadline and revision fixes into accounting stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 22:10:39 -07:00
Devin Foley and Paperclip
8bd5846ba0
fix: preserve OAuth refresh lifetime and quota revision caches
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 22:10:36 -07:00
Devin Foley and Paperclip
b2815ee3cd
fix: retain failed native receipts and known attempted-run charges
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:51:37 -07:00
Devin Foley and Paperclip
a9c6f25b88
Merge bounded provider record accounting into core stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:45:30 -07:00
Devin Foley and Paperclip
c4f738d112
Merge bounded provider record accounting into quota stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:45:27 -07:00
Devin Foley and Paperclip
fb8b03a083
fix: bound accounting strings before buffering provider records
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:45:23 -07:00
Devin Foley and Paperclip
acba463d56
test: drain heartbeat finalizers before fixture teardown
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:43:43 -07:00
Devin Foley and Paperclip
cde30114b2
Merge credential and adapter review follow-ups into accounting stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:38:49 -07:00
Devin Foley and Paperclip
dfd62bd7e2
fix: recheck credential versions after waits and defer conflicting refreshes
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:38:46 -07:00
Devin Foley and Paperclip
beb28fef65
Merge full-stream accounting fixes into quota stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:33:57 -07:00
Devin Foley and Paperclip
6e7168ac5c
fix: retain full-stream usage and scope biller inference to its provider
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:33:54 -07:00
Devin Foley and Paperclip
7cf8df553d
fix: serialize managed credential refresh with reads and secret edits
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:30:51 -07:00
Devin Foley and Paperclip
2e9b1de70e
fix: preserve policy settings and initialize cancellation on demand
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:24:09 -07:00
Devin Foley and Paperclip
482cdc5fa5
Merge adapter and quota review fixes into accounting stack
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:15:10 -07:00
Devin Foley and Paperclip
05035f9f65
fix: address accounting recovery and budget review findings
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-10-03 21:15:10 -07:00