Skip to content

Report scoped context usage through ACP - #150

Closed
Maximooch wants to merge 1 commit into
test/acp-windows-producerfrom
feat/acp-context-usage
Closed

Maximooch wants to merge 1 commit into
test/acp-windows-producerfrom
feat/acp-context-usage

Conversation

@Maximooch

Copy link
Copy Markdown
Owner

Change

Report ACP context usage from Penguin's existing per-session telemetry after each turn and from explicitly scoped token events. Preserve exact context-token/window counts, skip missing/unknown/global/malformed values, and leave cost absent when no actual cost data exists. Child history accepts the same typed usage updates.

Depends on #149 (test/acp-windows-producer). No PRs merged.

Validation

Four focused usage/event tests pass on Windows Python 3.11, including Penguin's actual persisted-session usage function and no-global-attribution/invalid-data checks. Ruff and diff checks pass; dedicated ACP CI includes the new test. Previous integrated ACP+native Windows suite:84 passed. Environment suite after portability fix:24 passed.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
penguin Ready Ready Preview Oct 28, 2026 5:49am UTC

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Maximooch

Copy link
Copy Markdown
Owner Author

Integrated with preserved commit history through #161 (main commit abd8a66). Closing this stacked review after verifying its current head is an ancestor of main.

@Maximooch Maximooch closed this Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview — b0ef38ff Deployed Oct 28, 2026 by vercel[bot]
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