Fix safe-outputs patch size limit and title double-prefixing#57
Merged
Conversation
- Add max-patch-size: 10240 (10 MB) at top-level safe-outputs to unblock programs whose accumulated branch diffs exceed the 1024 KB default (tsb-perf-evolve at 2548 KB, perf-comparison at 1768 files) - Remove title-prefix from create-pull-request and create-issue to stop double-prefixing (e.g. "[Autoloop] [Autoloop: name]") - Shorten title-prefix on push-to-pull-request-branch and update-issue to "[Autoloop" so they match both "[Autoloop: name]" and legacy "[Autoloop] name" formats - Simplify prompt instruction for issue title creation Co-Authored-By: Claude Opus 4.6 (1M context) <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.
Summary
max-patch-size: 10240(10 MB, the framework max) at top-levelsafe-outputsto unblock programs whose accumulated branch diffs exceed the 1024 KB default — tsb-perf-evolve was failing at 2548 KB, perf-comparison at 1768 filestitle-prefixfromcreate-pull-requestandcreate-issueto stop double-prefixing (e.g.[Autoloop] [Autoloop: tsb-perf-evolve]→[Autoloop: tsb-perf-evolve])title-prefixonpush-to-pull-request-branchandupdate-issueto[Autoloop(without closing bracket) so target matching works for both[Autoloop: name]and legacy[Autoloop] nameformatsContext
Both autoloop programs on githubnext/tsessebe have been stuck in a failure loop:
perf-comparison:E003: Cannot create pull request with more than 100 files (received 1768)tsb-perf-evolve:Patch size (2548 KB) exceeds maximum allowed size (1024 KB)The title double-prefixing was reported on githubnext/tsessebe#219.
Test plan
gh aw compile autoloopsucceeds (confirmed locally)safe_outputs🤖 Generated with Claude Code