Repository navigation
[comment audit] Clean up IPC, host lifecycle and native-chat comments - #32966
Merged
Merged
Conversation
OrcaWin
force-pushed
the
OrcaWin/comment-audit-ipc-watchers
branch
from
October 23, 2026 23:16
d26424e to
a83bae8
Compare
OrcaWin
force-pushed
the
OrcaWin/comment-audit-ipc-watchers
branch
from
October 23, 2026 23:28
5ca2793 to
ee78681
Compare
OrcaWin
changed the base branch from
OrcaWin/comment-audit-main-continuation
to
main
October 23, 2026 23:28
…ch rationale [skip ci]
…e comments [skip ci]
…tionale [skip ci]
…mentary [skip ci]
OrcaWin
marked this pull request as ready for review
October 24, 2026 00:59
4 of 8 tasks
1 task done
1 of 2 tasks
9 tasks done
sj900211
added a commit
to sj900211/orcinus
that referenced
this pull request
Oct 30, 2026
One day of upstream past stage 13: 365 commits and 24 conflicting files, base `120f01331ca`. Three cluster analysts, one implementer, one independent critic, which returned ACCEPT with 0 blocking defects. The target is the parent of the PTY delivery refactor `ad1b81d53a0` (stablyai#33358, "group PTY delivery and drain ownership"), which is left to stage 15 on its own. The remaining gap after this merge is about 1,685 commits. ## Most PTY conflicts were comments Bisection showed the first upstream commit to make any PTY file conflict is `3286f3b2591` (stablyai#32966, a comment audit); before it there were 5 conflicts and no PTY ones. 16 of the 24 conflicts are that audit colliding with the fork's per-window delivery code. Each was resolved as the fork's code with upstream's comment text, adapted where it now misdescribes per-window behaviour, and the critic confirmed by token comparison that the resolved code is identical to `main` in all 16 (two more resolved files also qualify). ## Collateral outside the conflict list - `terminal-query-responder.test.ts`: upstream stablyai#33273 wrote a one-argument `markHiddenRendererPty` call against the single-window gate; the fork keys marks by `webContentsId`, so the test now marks `GATE_WINDOW`. - `pty-spawn-env-terminal-basics.test.ts`: a cast upstream removed is restored with a `SAFETY:` reason, because the fork's `registerPtyHandlers` takes a `BrowserWindow` for owner routing. - `local-file-access.test.ts`: the fork's census still named `WorkspaceEmptyState.tsx`, which upstream deleted when reverting stablyai#32182 (stablyai#32838). Its renderer-relative path hid it from the repo-rooted path sweep; the regression sweep found it. ## Identity `LOCAL_HOST_ROOT_NAME = 'Orcinus'` and the `sj900211/orcinus` release feed (`TAG_HREF_RE`) survive; the identity guard passes with `upstreamRefs=0`. The guard cannot see regex-escaped URLs, so the feed's unit test is what protects that hunk. Pre-existing `stablyai` drift in the prerelease feed's download regex and its readiness-test mocks is left for a separate commit so this merge stays attributable. ## Gates Cold typecheck 0 errors (17,824 files), full-tree oxlint 0 errors and 0 `max-lines` (`register-handlers.ts` and `daemon-host-relocation.ts` at 297/300), identity guard OK, fork contracts green. A full `discoverUnitFiles()` sweep on three trees (13,498 / 13,523 / 13,585 files, missing=0) raised 81 merge-only tests; isolated and serial rechecks attribute every one to Windows EPERM teardown or shell timing that also fails on the baselines, leaving 0. The critic's independent 807-file resample on LF trees agrees. Not applied here, by ruling: cosmetic comment ports into fork-only extractions, and upstream stablyai#32940's main-window-only project-move pause barrier, which has no production caller yet and is a watch item for when upstream wires one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
10 of 11 tasks
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.
Remove redundant and outdated comments across IPC, PTY and worktree lifecycle, runtime routing, managed accounts and servers, integrations, model catalogs, and native-chat journals, queues, Stop handling, recovery, transcripts and WSL transport. Keep concise explanations of ownership, concurrency, cancellation, path containment and mixed-version compatibility. Executable behavior is unchanged.
This consolidated batch covers 2,006 reviewed files, 1,650 comment-edited files and 12,607 net lines removed. The scan tracker remains local, outside the codebase.
Validation: source/emitted JavaScript AST and non-formatting tokens are equivalent across the full diff; protected comments are unchanged. Latest batches passed 423, 406 and 423 tests, plus 87 and 44 tests after resolving current-main conflicts. Latest main reconciliation preserves prompt-binding and host-clock additions; all 1,650 files remain executable-equivalent to current main. Changed-code quality, formatting, diff checks and normal commit hooks pass. Full PR CI and its aggregate gate are required before merge.