Commit Graph
4922 Commits
Author SHA1 Message Date
Devin FoleyandPaperclip 463cb73433 test: measure accounting writes with many budget policies
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 10:19:07 -07:00
Devin FoleyandPaperclip 2c77785245 perf: keep accounting operator reads off the write lock
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 10:09:06 -07:00
Devin FoleyandPaperclip 24a4cff0d5 perf: reduce accounting contention and repeated budget scans
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 10:02:55 -07:00
Devin FoleyandPaperclip 4468242bb2 merge: include safe accounting error feedback
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:20:56 -07:00
Devin FoleyandPaperclip 8f6fa374c9 fix: present safe accounting and budget errors
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:20:38 -07:00
Devin FoleyandPaperclip 693a33c588 merge: preserve independent cost refresh warnings
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:14:13 -07:00
Devin FoleyandPaperclip dcc6c1bd31 fix: keep budget and stale report notices independent
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:13:52 -07:00
Devin FoleyandPaperclip 221def0a0a merge: include initial budget load error feedback
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:03:25 -07:00
Devin FoleyandPaperclip e26b758564 fix: show initial budget load failures across cost views
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 03:03:09 -07:00
Devin FoleyandPaperclip 0ae5e633c0 merge: include historical token and currency review fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:50:53 -07:00
Devin FoleyandPaperclip e1db48f754 fix: preserve historical adapter token layouts and currency counts
Recognize the persisted provider-qualified OpenCode/Pi model convention without reinterpreting legacy Codex counters. Match production USD headline event counts in Storybook while retaining other currencies in reports and the timeline.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:47:47 -07:00
Devin FoleyandPaperclip f22dc00cae Merge settled-run accounting cleanup into the regression gate
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:28:57 -07:00
Devin FoleyandPaperclip 8442ad1c41 Merge settled-run accounting cleanup into the dashboard
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:28:05 -07:00
Devin FoleyandPaperclip 66930ab7f5 perf: skip receipt indexing for acknowledged run cleanup
Use the initial run state to skip unnecessary disk reads, while retaining the locked recheck, stale pending-marker cleanup, and budget-stop delivery. Extend the backlog regression to verify duplicate finalization performs no spool listing.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:27:34 -07:00
Devin FoleyandPaperclip 849780eb33 Merge final accounting review fixes into the regression gate
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:17:54 -07:00
Devin FoleyandPaperclip e1a30434e2 fix: align cost displays and preview timelines with accounting contracts
Preserve legacy Gemini cache totals, compare provider pace warnings with the displayed company cap, and sort and limit preview financial events like production. Cover all three review cases, including both Costs surfaces.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 02:17:30 -07:00
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 f8dc998c46 Merge reviewed accounting recovery fixes into the regression gate
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:51:39 -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 3e3fead57b Merge reviewed quota copy and typography corrections
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:17:30 -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 7857e23027 Merge reviewed credential and historical token reporting fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 01:06:54 -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 0b0db3241d Merge reviewed fixture cleanup and accounting UI fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:41:11 -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 FoleyandPaperclip 8b9a00d6b8 Merge quota runtime recovery and review follow-ups
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:34:41 -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 12603feae4 Merge reviewed ACPX receipt retention and deterministic test teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-04 00:23:15 -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