Commit Graph
2077 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip acba463d56 test: drain heartbeat finalizers before fixture teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 21:43:43 -07:00
Devin FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 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 FoleyandPaperclip 05035f9f65 fix: address accounting recovery and budget review findings
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 21:15:10 -07:00
Devin FoleyandPaperclip feba1f926f Merge adapter timeout contract regression update
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 21:11:22 -07:00
Devin FoleyandPaperclip 14bc077440 test: distinguish unavailable Kimi prices from incomplete receipts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 21:10:56 -07:00
Devin FoleyandPaperclip dce0c0f265 Merge reviewed quota and adapter fixes into durable accounting
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-03 21:06:51 -07:00