Repository navigation
perf(plugins): aim dispatched-agent reports at 3,400 bytes under the 4,096 cap - #13464
Conversation
…4,096 cap Over the 48 h after the cap shipped, capped implementer reports had a median body of 4,059 bytes and a p90 of 4,764: half still exceeded 4,096. Agents aim at the stated number and overshoot it, so the contract now states a 3,400-byte aim and keeps 4,096 as the limit. Refs: #12469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: no findingsThis PR changes one line of the dispatched-agent return contract. The old line said reports stay under 4,096 bytes. The new line sets a 3,400-byte target and keeps 4,096 as the hard limit. It also adds one patch changelog fragment for each plugin. What I read
Checks
Not verified by me: the PR author reports that |
|
claude-security-review reviewed Security review: PR #13464, no security issues foundI read the whole diff. It has two identical-change groups, and I read the first path of each:
Instruction-surface lens. This edits a standing skill body, so I checked it under that lens instead of skipping it as prose-only. No rule is deleted, narrowed or softened. The 4,096-byte limit stays, now as "must". The added aim is stricter than before. The rule against dropping a Copies. All six paths are a changelog fragment or a skill body of the same kind. No copy sits at a hook, workflow, settings or manifest path where the same content would act differently. Scope checks.
This is the lane's first review of this PR; prior findings are empty and the review was not blocking only. Spend: none beyond this review run. The change should slightly shorten dispatched-agent reports, which spends less subscription usage, not more. critical-findings: 0 |
Refs: #12469
Summary
The 4,096-byte cap on dispatched-agent reports (PR 12740) cut the tail, but half of the capped reports still exceed it. Agents aim at the stated number and land just above it. The after-window measurement is on #12469: capped implementer reports had a median body of 4,059 bytes and a p90 of 4,764, with 50 of 101 over 4,096.
Fix
plugins/{discovery,implementation,plugin-quality}/skills/report/SKILL.md), the size line now reads: "Aim for 3,400 bytes; the whole message must stay under 4,096."Verification
scripts/check-affected.sh: 14 passed, 2 skipped. That includes the contract copies' byte-identity check (validate-plugin-contracts).cmpshows the three copies are identical.Related
🤖 Generated with Claude Code