Repository navigation
fix(plugin): accept verbose side-call event arrays, skip failed proposer calls (#131) - #134
Closed
Dhruv Arora (dhruv1220) wants to merge 2 commits into
Closed
Dhruv Arora (dhruv1220) wants to merge 2 commits into
Dhruv Arora (dhruv1220) wants to merge 2 commits into
Conversation
A side call that raises now skips the proposal without aborting the fold. Two follow-ups on that: - the failed tick sets last_propose, so a CLI that keeps failing is called every PROPOSE_EVERY sessions, not at every fold; - the fold's runner writes the traceback to errors.log before the distiller swallows it; until now the hook's fail-open path was what recorded it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aaron Li (aaron-jx-li)
force-pushed
the
fix/verbose-sidecall-array
branch
from
November 4, 2026 21:51
0bc96d3 to
23cee1d
Compare
Collaborator
|
Hi Dhruv Arora (@dhruv1220), please reply to the agreement accordingly, so we can proceed. |
Saksham Uboweja (SakshamUboweja)
added a commit
to SakshamUboweja/TokenEconomizer
that referenced
this pull request
Nov 8, 2026
…ips its tick With "verbose": true in the person's Claude Code settings, `claude -p --output-format json` prints the whole event list instead of one result object, so every Claude Code side call failed, and the micro-skills proposer's unguarded call aborted the fold (microsoft#131). - sidecall.claude_json: the result object from either shape, {} for none; claude_call and the toolprune measure probe both read it. - claude_call: an is_error result is no reply, not the proposer's text, and a signed-out one pauses the host's side calls as intended. - Distiller._maybe_propose: a runner that raises skips the tick instead of the fold, and counts as the tick, so a failing CLI is not retried at every fold. - runner_for: a side call that raises leaves one line in errors.log before it propagates, for the judge and the proposer alike. Never the command: most hosts take the prompt on argv, and `te doctor` prints the log's tail. Fixes microsoft#131. Builds on the approach in microsoft#134 by @dhruv1220 and the follow-up commit there.
Collaborator
|
Thanks a lot for this, Dhruv Arora (@dhruv1220), and for the clear write-up. Since the CLA couldn't be signed, we couldn't merge this PR as it stands, so we wrote an independent fix for #131 in #164 that follows the same approach: it reads the |
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.
Fixes #131: with "verbose": true in the user's Claude Code settings, every side call failed and a failed proposer call aborted the whole fold.
What changed
How it was tested