Skip to content

fix(profiles): restore Runtime token-cap receipt - #173

Merged
drewstone merged 1 commit into
mainfrom
fix/runtime-applied-max-token-receipt-20260816
Aug 16, 2026
Merged

fix(profiles): restore Runtime token-cap receipt#173
drewstone merged 1 commit into
mainfrom
fix/runtime-applied-max-token-receipt-20260816

Conversation

@drewstone

Copy link
Copy Markdown
Owner

Restores the established Runtime v2 receipt field appliedMaxTokens in both Pi execution paths. AgentProfile input remains maxTotalOutputTokens; the bridge maps that policy field to the receipt contract.

Proof:

  • pnpm test: 970 passed, 12 skipped
  • pnpm typecheck: pass
  • real Pi isolation regression observes appliedMaxTokens: 64000 and rejects the renamed field
  • independent blocker audit: no findings

@drewstone
drewstone merged commit 32d42d9 into main Aug 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant