GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(server): long setup scripts complete in macOS zsh by sync · Pull Request #37836 · pingdotgg/t3code Conversation
|
| Review note | Disposition |
|---|---|
| Transport guards needed direct test coverage. | Extended existing cases to reject paste markers for PowerShell, quiet fallback, and short scripts, and to require the long-script envelope and LF-only interior. |
| Interactive Bash needed real readline verification. | Verified Bash 5.3.20 after live readiness: all 120 expected lines and completion exit code 0. |
| Unobserved scripts and quiet fallback are not fully covered by this fix. | Raw LF scripts and shells reaching the quiet fallback retain their pre-existing limitations. Raw CRLF scripts can also take the paste path. This PR does not claim to fix all unobserved scripts. |
| Shell redraw can leave wrapper fragments in the setup output tail. | Known cosmetic limitation. Output filtering is outside this transport fix. |
| The syntax-error test fails on macOS system Bash 3.2. | Confirmed on the unchanged upstream wrapper too: status 1 instead of the test's expected 2. No unrelated shell-status change included. |
| Runtime evidence has limits. | Native macOS PTY and isolated real-server setup verified. Browser inspection covers the after-fix terminal result, not a UI-created before/after scenario. Linux remains unverified. |
b79d277cddaf65858418f29d73b87fcc3d1a19c5 for the missing paste envelope, then passes with this fix.vp test run apps/server/src/project/ProjectSetupScriptRunner.test.ts: 14 passed, 1 failed. The sole failure is the existing syntax-error test expecting status 2; macOS system Bash 3.2 returns 1. Independently extracting and executing the unchanged upstream wrapper produces the same status 1.vp run check:changed 4b758f49ec52ab58a0bd9647e28c9e2911945c88: format, lint, knip, GraphQL validation, and all three affected-package typechecks pass. Adjacent tests: 16 passed, 1 failed, the same baseline Bash discrepancy.scenarios:prove run or other-OS shell verification is claimed. Native PTY and actual server terminal transcripts provide the before/after and runtime proof.Independent council reviews from GPT-6.1 Sol, Claude Opus 5.5, and Claude Fable 5.2 approved this scoped change. Non-blocking notes and verification limits are documented above.
Created with GPT-6.1+ Sol in the Codex harness.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The change sends multiline POSIX setup commands as bracketed paste when the shell reports line-editor readiness, allowing long scripts to complete in macOS zsh. Script selection and execution permissions remain unchanged, with the existing input path retained for quiet-shell fallback. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Check name | Status | Explanation |
|---|---|---|
| Title check | The title names the main change: long multiline setup scripts now complete in macOS zsh. The raw summary shows the transport change that sends long POSIX wrappers as one bracketed paste after readines… | |
| Description check | The description follows the template. It has Problem, Change, Scope, and Verification sections, and each section is filled with specific content. It links issue #37817, lists the review notes and thei… |
|
| Linked Issues check | [#37817] The requirement is that long, multiline POSIX setup wrappers run once in macOS zsh, report exit status, and let the agent start. The current head is 9c99be4, a merge of origin/main into the f… |
|
| Out of Scope Changes check | The supplied change summary for the current head lists only apps/server/src/project/ProjectSetupScriptRunner.ts and its test file. The runner change is limited to the readiness-gated bracketed-paste b… |
Explanation
The title names the main change: long multiline setup scripts now complete in macOS zsh. The raw summary shows the transport change that sends long POSIX wrappers as one bracketed paste after readiness, which targets that outcome. The title follows the conventional commit format, is specific, and is not misleading.
Explanation
The description follows the template. It has Problem, Change, Scope, and Verification sections, and each section is filled with specific content. It links issue #37817, lists the review notes and their disposition, and reports verification with commands, environments, and observed results. It also states limits, such as unverified Linux behavior and the failing Bash 3.2 syntax-error test. The template's agent-model line is present at the end. One gap: the description says the 'Scope' section should link the issue, and it does (Fixes #37817). The description is long, but it covers every required section with concrete information.
Explanation
[#37817] The requirement is that long, multiline POSIX setup wrappers run once in macOS zsh, report exit status, and let the agent start. The current head is 9c99be4, a merge of origin/main into the fix branch. The whole-PR diff against merge base d63b9c4 could not be read because changed blobs are missing from the checkout. The current-head conclusion therefore relies on the supplied change summary and the previous assessment. That summary states that runForThread sends a POSIX command containing carriage returns as \x1b[200~ + the command with CR replaced by LF + \x1b[201~ when the shell is ready. The final Enter is kept. watchShellReadiness returns "quiet" instead of "ready" for the quiet fallback, which keeps unbracketed input. The test changes assert the long-script envelope and the absence of the envelope for PowerShell, quiet-shell, and short-script paths. The zsh PTY, Bash, and development-server results are author-reported and were not re-run here. Manual UI steps in the issue are non-coding.
Explanation
The supplied change summary for the current head lists only apps/server/src/project/ProjectSetupScriptRunner.ts and its test file. The runner change is limited to the readiness-gated bracketed-paste branch and the quiet-fallback return value. The test changes support those behaviors. The PR states that client, contract, Fish, Nushell, PowerShell submission, and unrelated shell-status code are unchanged. The merge with origin/main adds no file the summary attributes to this PR. Residual uncertainty: the whole-PR file list could not be verified from repository diff because changed blobs are missing from the checkout, and call sites of watchShellReadiness were not checked for dependence on the old "ready" value. No demonstrated out-of-scope change exists.
9b283a31-cea1-4b70-a8a8-f825dcafdbf3apps/server/src/project/ProjectSetupScriptRunner.test.tsapps/server/src/project/ProjectSetupScriptRunner.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The automated pipeline stopped on this pull request and will not merge it: the fix is written and reviewed, but proving it needs something no worker has:
It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
EvidenceProven on macOS with Steps: paste the literal 120-line printf script into a synchronous worktree-creation action; create a new worktree thread from main; submit the same Replay prompt; inspect the setup terminal.
Head verified exactly 120 ordered output lines, once each, the Scenario source · Proof summary · Supplemental manual head output scroll |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
**v0.1.12-nightly.20261123.5151** · 67 changes from 25 contributors - **Background browser previews.** Agents can take screenshots and interact with previews while T3 Code is hidden, minimized, or covered. - **Agent message delivery.** Messages from other agents can steer a running turn without waiting behind a queued message. - **Web startup.** T3 Code starts in browsers where WebAssembly is disabled. - **Open links on macOS.** Links open a T3 Code window when the app is running without one. ### Plus 51 more bug fixes and performance improvements. <details> <summary>Full changelog</summary> ## What's Changed * fix(web): retry a failed port-forward locality probe by @juliusmarminge in pingdotgg/t3code#41353 * fix(web): start without WebAssembly by initialising Words in a guard by @juliusmarminge in pingdotgg/t3code#41361 * feat(scripts): server metrics read event-loop delay and GC in every window by @juliusmarminge in pingdotgg/t3code#41252 * feat(scripts): server metrics measure a busy server on a copy of real data by @juliusmarminge in pingdotgg/t3code#41280 * feat(scripts): server metrics attach real clients and time a reconnect storm by @juliusmarminge in pingdotgg/t3code#41281 * feat(scripts): server metrics time the turn pipeline and opening a large thread by @juliusmarminge in pingdotgg/t3code#41282 * perf(server): SQL transactions stop copying every service twice by @juliusmarminge in pingdotgg/t3code#41379 * fix(cli): environment link --from no longer ignores --url by @only21mil in pingdotgg/t3code#41375 * fix(server): a Claude turn no longer ignores messages added to its session in a terminal by @matthewcosier in pingdotgg/t3code#38528 * fix(server): projects behind a git insteadOf rewrite are recognized as GitHub again by @Muzammil-Bit in pingdotgg/t3code#41364 * fix(web): hide Mark unread on threads with no completed run by @juliusmarminge in pingdotgg/t3code#41365 * fix(web): keep OpenDocument image descriptions in alt text by @geezoria in pingdotgg/t3code#41383 * fix(server): t3_thread_read returns the newest page to outside MCP clients by @mfazekas in pingdotgg/t3code#41378 * fix(server): pull request tools say when repository is not owner/repo by @iamshadmantaqi in pingdotgg/t3code#41397 * fix(server): storage cleanup retries and keeps reporting git metadata it failed to delete by @juliusmarminge in pingdotgg/t3code#41386 * fix(desktop): ⇧⌘V (Paste as Text) pastes text in the composer on macOS by @tiliakoos in pingdotgg/t3code#39008 * perf(server): replay stored events about twice as fast by @hieu-lee in pingdotgg/t3code#26719 * fix(server): Codex async alerts keep their delivery marker in the thread API by @juliusmarminge in pingdotgg/t3code#41411 * fix(desktop): recover frozen macOS backends on relaunch by @juliusmarminge in pingdotgg/t3code#41401 * fix(cli): npx no longer skips the install offer for a directory or non-runnable t3 on PATH by @only21mil in pingdotgg/t3code#41402 * fix(server): PR tools build URLs through the refined forge they are exposed for by @juliusmarminge in pingdotgg/t3code#41414 * fix(desktop): a link opened while the macOS window is closed opens a window by @Marve10s in pingdotgg/t3code#40347 * fix(server): slow provider batches stay whole while a write waits on its own thread by @juliusmarminge in pingdotgg/t3code#41416 * fix(server): agent browsers' DevTools ports no longer show as servers by @tiliakoos in pingdotgg/t3code#40728 * fix(mobile): apply Android language changes immediately by @qi-hey in pingdotgg/t3code#38982 * fix(web): chat links open their menu from the keyboard on macOS by @Kenmege in pingdotgg/t3code#37405 * fix(server): report failed Finder reveals for missing files by @VinzentHubrich in pingdotgg/t3code#38748 * fix(server): Word attachments leave hidden text out of what agents read by @only21mil in pingdotgg/t3code#41421 * fix(server): skip CodeRabbit review acknowledgement wakes by @voltcrash in pingdotgg/t3code#32300 * fix(cli): expand ~ in t3 environment link --from by @Marve10s in pingdotgg/t3code#41430 * fix(cli): reject incomplete workflow signal addresses locally by @only21mil in pingdotgg/t3code#41431 * fix(opencode): Usage → Limits no longer warns when no Console workspace is signed in by @nthewara in pingdotgg/t3code#41415 * fix(cli): uninstall removes a script launcher whose target names the home through a symlink by @only21mil in pingdotgg/t3code#41435 * fix(server): long setup scripts complete in macOS zsh by @sync in pingdotgg/t3code#37836 * fix(server): preview type sends key events to the page by @juliusmarminge in pingdotgg/t3code#41432 * fix(shared): Open in Cursor skips a broken cursor on PATH by @N4M3Z in pingdotgg/t3code#38212 * fix(cli): expand ~ in t3 policy templates --policy by @Marve10s in pingdotgg/t3code#41438 * fix(server): read relocated shared strings in XLSX attachments by @Lucenx9 in pingdotgg/t3code#41441 * fix(server): import Claude sessions whose first prompt carries a large image by @juliusmarminge in pingdotgg/t3code#41446 * fix(server): keep PowerPoint slides with alternate relationship prefixes by @Lucenx9 in pingdotgg/t3code#41454 * fix(server): another agent's queued message no longer holds back an auto send by @juliusmarminge in pingdotgg/t3code#41461 * feat(scripts): server metrics record machine load and derive noise floors from A/A runs by @juliusmarminge in pingdotgg/t3code#41370 * feat(scripts): server metrics measure many threads working at once with one client by @juliusmarminge in pingdotgg/t3code#41371 * docs: point provider setup at ACP Registry agents like GitHub Copilot by @juliusmarminge in pingdotgg/t3code#41478 * fix: treat empty PATH entries as the working directory in launcher and CLI lookups by @Motaghi in pingdotgg/t3code#41393 * test(web): open history documents without reloading the app in iframes by @juliusmarminge in pingdotgg/t3code#41489 * feat(scripts): server metrics reconnect a user's devices by default and keep the 20-client storm behind --stress by @juliusmarminge in pingdotgg/t3code#41372 * fix(cli): clarify provider-specific model option examples by @nettee in pingdotgg/t3code#41484 * feat(scripts): server metrics get a --quick profile, one-line failures and a guide to the scenarios by @juliusmarminge in pingdotgg/t3code#41373 * fix(server): analytics report every model name by @t3dotgg in pingdotgg/t3code#41237 * fix(server): workflows find a project named by its Windows folder by @Marve10s in pingdotgg/t3code#41456 * fix(client-runtime): a workflow reply with no space before the limit is cut at the limit by @Marve10s in pingdotgg/t3code#41488 * test(web): load history documents without re-evaluating the app graph by @juliusmarminge in pingdotgg/t3code#41497 * fix(server): an unfinished control sequence no longer delays terminal output by @juliusmarminge in pingdotgg/t3code#41420 * fix(server): service commands no longer stop systemd-oomd watching the user manager by @juliusmarminge in pingdotgg/t3code#41495 * fix(server): a compaction or manual continuation keeps its session busy like a turn by @navidnadali in pingdotgg/t3code#41490 * fix(server): Azure DevOps PRs read by number get their full URL by @4dwaffle in pingdotgg/t3code#41472 * fix(desktop): agent screenshots and clicks work while T3 Code is hidden, minimized or covered by @3xcalibur-tech in pingdotgg/t3code#40263 * fix(server): a PR whose merge is refused for conflicts shows as conflicting by @micnem in pingdotgg/t3code#41500 * fix(cli): a symlinked spelling of the T3 home is the same home for service uninstall by @only21mil in pingdotgg/t3code#41464 * fix(server): preserve number formats when XLSX styles are relocated by @Lucenx9 in pingdotgg/t3code#41486 * fix(web): Markdown previews load relative images in timestamped and root folders by @only21mil in pingdotgg/t3code#41505 * fix(server): RTF text in an ANSI font reads as code page 1252 under any document code page by @Marve10s in pingdotgg/t3code#41508 * fix(web): RTF previews read text in an ANSI font as code page 1252 under any document code page by @Marve10s in pingdotgg/t3code#41514 * fix(web): notebook previews show errors saved without a traceback by @only21mil in pingdotgg/t3code#41511 * fix(server): a declined steer of a delegated completion still wakes the parent by @juliusmarminge in pingdotgg/t3code#41521 * test(server): HTML preview revision test no longer depends on a fine kernel clock by @t3dotgg in pingdotgg/t3code#40931 ## New Contributors * @qi-hey made their first contribution in pingdotgg/t3code#38982 * @VinzentHubrich made their first contribution in pingdotgg/t3code#38748 * @nthewara made their first contribution in pingdotgg/t3code#41415 * @sync made their first contribution in pingdotgg/t3code#37836 * @N4M3Z made their first contribution in pingdotgg/t3code#38212 * @nettee made their first contribution in pingdotgg/t3code#41484 * @4dwaffle made their first contribution in pingdotgg/t3code#41472 * @micnem made their first contribution in pingdotgg/t3code#41500 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261123.5138...v0.1.12-nightly.20261123.5151 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261123.5151
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Long worktree setup scripts hang in macOS zsh
There was an error while loading. Please reload this page.