Repository navigation
Conversation
Reopened from pingdotgg#31789 and squashed onto current main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wSedlacek
force-pushed
the
t3/one-click-git-fix-composer
branch
from
November 14, 2026 23:32
45c5e65 to
f45e1ec
Compare
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This branch has not been deployed
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.
Problem
When a Git action fails, users have to manually copy the error into chat to ask their agent for help. The expected behavior is a one-click way to add that error to the current composer for review before sending.
Change
Adds Fix with agent to failure toasts for Git actions, pull, and repository initialization in web and desktop. It appends a help request and the error to the existing composer draft without submitting it. The click resolves draft-promotion redirects so a toast created before promotion still updates the visible server-thread composer.
Git errors retain static guidance and safe structured diagnostics; arbitrary stdout/stderr is excluded from error details. Depends on pingdotgg#28438; its commits are included because the dependency branch lives in a fork. Mobile is unchanged. No workflow changes.
Scope and approval
This is a user-requested addition to the existing Git error flow. No triaged issue or explicit upstream maintainer approval has been linked. The author is not on the explicit triage exemption list; this description does not claim an approval exemption. Maintainer direction and scope approval remain outstanding.
Verification
gitFixPrompt.test.tsand the relevantGitVcsDriverCore.test.tscases, including arbitrary hook secrets on stdout/stderr, nested=argument values, and rejected-push classification./private/varversus/var).NodeOSimport was reproduced against the merge with main; the corrected author-identity test and server typecheck pass.Created with GPT-6 Astra in Codex; review fixes with GPT-6.1 Sol in Codex.
🤖 Generated with Claude Code