Repository navigation
fix(brief): Pi and OpenCode get the probes through pixel brief --parts (#906) - #919
Merged
Merged
Conversation
#906) The brief command was capped under 4 000 bytes, the limit the Pi and OpenCode extensions set themselves, so the probe blocks were cut on those two hosts while Claude, Codex and Gemini received them. --parts N gives the command the pack and probe budget of an N-part hook; both extensions pass 3 and accept 30 000 bytes. pixel-5 through pixel brief: 3 356 B without the error-origin block before, 12 953 B with it after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 7
Comment |
diff rejected by verify gate (classified suspicious) Comment |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pixelio — needs human. Attempt budget exhausted. Last failure: |
LivioGama
added a commit
that referenced
this pull request
Nov 25, 2026
#906) (#919) * fix(brief): Pi and OpenCode get the probes through pixel brief --parts (#906) The brief command was capped under 4 000 bytes, the limit the Pi and OpenCode extensions set themselves, so the probe blocks were cut on those two hosts while Claude, Codex and Gemini received them. --parts N gives the command the pack and probe budget of an N-part hook; both extensions pass 3 and accept 30 000 bytes. pixel-5 through pixel brief: 3 356 B without the error-origin block before, 12 953 B with it after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(changelog): scope the brief --parts fragment (#906) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #906
Summary
The probes reached Claude Code, Codex and Gemini, but not Pi or OpenCode. Those two run
pixel brief, which was capped under 4 000 bytes. That is the limit our own extensions set (MAX_OUTPUT = 4_000), and it cut every probe block.pixel brief --parts N(1–8, default 1) gives the command the pack and probe budget of an N-part prompt hook, printed as one text. With--parts 1nothing changes: at mostCLI_CHARS(3 900) and the probes capped atCOMMAND_MAX_BYTES.opencode-brief.js) and Pi (pi-brief.ts) extensions pass--parts 3and accept up to 30 000 bytes.Evidence
Run on merged main plus this branch, in a temp HOME after
pixel setup --yes, on the pixel-5 census question (an error-message question):pixel brief(Pi, OpenCode)error originblock--parts 3: 12 953 B with the blockcargo test -p pixel-cli --bin pixel -- region_pack execution_brief::probes execution_brief::chain: 251 passed.cargo test -p pixel-install: all passed.cargo clippy -p pixel-cli --all-targets -- -D warnings: clean.Merge Danger
Door: two-way. The new flag defaults to the old behaviour.
Blast radius: Pi and OpenCode users get larger briefs, up to about 30 KB of context per prompt, as Claude and Codex already do.
Docs touched
ARCHITECTURE.md(the region pack paragraph: thebriefcommand cap and--parts),changelog.d/906-brief-command-parts.fixed.md.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit
--partsoption topixel briefto control how much context it returns.