fix(hermes): retain per-turn reported OpenRouter billing

Capture pinned SDK wire attempts, carry closed versioned receipts through ACPX and PRP, and bind reported subtotals to native turn accounting. Keep incomplete attempts unpriced and require settled cost plus budget health in the live OpenRouter oracle.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-08 02:36:03 -05:00
1 parent 77216f7a7f
commit a978fd5b4a
38 files changed
+1286 -48

No files matched your search

+4
View File
@@ -303,6 +303,10 @@ definition includes the account/runner harness source digest. Its API-only scope
does not substitute for subscription or lifecycle qualification.
The task permits one attempt. Both public 200-cent budgets must match the fixture
scope before task creation; unlimited or foreign budget records fail admission.
OpenRouter also requires a settled provider-reported price with an exact USD
amount and healthy company/agent budget state before fixture teardown. The
oracle reads scoped public run, company and agent records; it never derives
billing or health from the model's answer or the cleanup pause.
## Persistent agent files