You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(src): drop comments the code can say, part 6 of 9 - #4074
Part 6 of 9 for src/ in the repo-wide comment pass. This part covers:
src/lib/account/ and src/lib from accountQrWatch to agentStateSince: account sign-in, enrollment and leaving, the native sign-in, the QR watch, actions, agent copy, inbox, launch mode, marks, roster, setup and state stamps
src/lib from agentStateWatch to composerStrip: alerts and alert sounds, the API client and its request ids, auth links, chat images, lanes, minimap, quotes, rows, scroll memory and timestamps, the clipboard, and the composer's drafts, notices and length
src/lib from tabStripScroll to toolVerbs: terminal box glyphs, glyphs, folds, images, file links, widths, peeks, drafts and viewport, and the theme boot, CSS, contrast, derivation and roles
the tests of all of these, and touchFling.test.ts
About 2,100 comment lines go. Security, trap, platform and measured notes stay (the owner's rule for comment-removal PRs). What stays:
Behaviour we cannot change:
xterm 6.0.0 internals, each checked in its source (width cache, composition helper, DOM renderer, linkifier, image addon limits, selection join on Windows)
Claude Code's and Codex's argument parsers (commander and clap, checked in their source)
IndexedDB transactions, Web Audio, Web Locks, randomUUID's secure context, Chrome's background timer throttling, window.open in a click, timers during sleep
Safari's and iOS's audio state, clipboard, AbortSignal versions and URL.canParse, CSS and CSSOM rounding
recordings of Claude Code, Codex and OmO with their versions, the plan formats of omp, Claude Code and Codex
the Base16, WCAG and Unicode emoji specs
Machine-read comments: two // fixed wait: markers in account/join.ts.
Every change was checked against origin/main by syntax tree. No test, script or doc reads a deleted comment, and no code changes.
This PR touches account sign-in (src/lib/account/, authLink.ts), the API client (api.ts) and drafts of typed input (composerDraft.ts, terminalDraft.ts), with comments and no code changed there, so it waits for a real review (AGENTS.md).
Rules that only a comment stated (deleted, not enforced yet)
Smaller rules:
themeCss.ts: runtime code never imports it.
agentStateSince.ts: a tracker added on the server is named in OWN_STATE_AGENTS too.
Deleted as false or unverifiable:
the "AbortSignal.any needs Safari 17.4" and "timeout needs Safari 16" reasons in api.ts: builtins.ts fills in AbortSignal.any, and the oldest Safari supported is 16.4
the dsh-tui model note in agentLaunchMode.ts (its effort note stays), and the MODEL_ALIASES doc that quotes an alias the code does not list
Left open (redesigns, not done here)
api.ts:
fetchAgentCatalog, fetchPaneSummaries and verifySourceBoot each build an abort and timeout by hand; AbortSignal.any(… AbortSignal.timeout …) (already used at api.ts:126) would do.
SUMMARY_REQUEST_MS (8 s) is set by hand against shared/pane-summary.ts's PANE_SUMMARY_DEADLINE_MS.
requestRelay counts a 409 as a success only when its body has a phase.
Account (account/join.ts, leave.ts, service.ts):
Three hand parses of the /api/account/records answer (200, with refusals inside each record); one typed helper with an isFinalOutcome check would do.
enrollPc's inline reasoning about vouched and unvouched PCs could be named predicates.
AccountService.session's bare catch falls back to a plain read on any error, not only a full storage; accountQrWatch.ts ask swallows every error.
Hand-kept copies that could live in shared/:
agentStateSince.ts OWN_STATE_AGENTS copies the server's tracker names.
toolVerbs.ts SUMMARY_LENGTH copies the server's 120 (grok.ts, hermes.ts).
textPreview.ts copies element counts and the viewer's fold length from Markdown.tsx.
State held in flags:
agentStateWatch.ts's module-wide watch: a second keep silently resets the first owner's state.
alertTurns.ts: due = Infinity means "waiting for this tab's player".
agentStateSince.ts advanceStateStamps could be split into named rules (herdr replaced, pane moved, counter moved by one, pane back after a missed look).
terminalFold.ts reads back the style.top/left it wrote to find the grid.
Terminal glyphs:
terminalGlyphs.ts: the nullable Relay fields exist so a face that never loads cannot keep the terminal in memory (a WeakRef or AbortSignal would say so); swapping the family's quote style to make xterm measure again needs a named step.
terminalBoxGlyphs.ts: LINES is a positional string language, Weight uses 0–3, and QUADRANTS is an unnamed bitmask; a typed table keyed by code point would read without a legend.
terminalDispose.ts disposeAfterPendingFrame: its delay was for an xterm 5.5 race and was never checked again on 6.0.0.
agentMark.ts OTHER_CONTROL: \p{C} also strips private-use Nerd Font glyphs, which the name hides.
terminalImages.ts: the anonymous CSI handler that silences XTSMGRAPHICS.
terminalDraft.ts: the stored-key migration sits inside a read, and two side effects run when the module loads. themeBoot.ts: the old palette migration sits inline in sanitizeAppearance.
terminalPeek.ts sentOutcome relies on the server listing outcomes oldest first; terminalViewport.ts visibleFindRects re-checks matches because PaneFindMatch has no delivery sequence.
themeCss.ts's special case for droplet-bg#000; terminalLabel.ts's guard against displayPaneTitle falling back to the pane id; agentCopy.ts unwrapAgentRows' compound wraps condition.
Validation
bun run check fast: passed (18,593 unit tests, typecheck, build, generated themes and types).
Unit tests of every touched test file and of the modules that import a touched one: 70 + 42 + 58 files, src/conventions.test.ts included. All pass.
Not run: the server contract tests that import api.ts and account/ (comments only; CI's integration job runs them) and browser regressions.
The sixth src/ slice of the repo-wide comment pass: src/lib's account
sign-in and enrollment, the agent copy, launch mode, marks and state
stamps, alerts and alert sounds, the API client, auth links, chat rows,
images, lanes and minimap, the clipboard, the composer and its drafts,
and from telemetrySurface to toolVerbs (terminal glyphs, box glyphs,
folds, images, file links, widths, peeks, drafts and viewport, theme
boot, CSS, contrast and derivation), with their tests. About 3,400
comment lines go; notes on xterm 6, commander and clap, IndexedDB,
Web Audio, Web Locks, Safari and iOS, CSS and the Base16, WCAG and
Unicode specs stay. Comments only.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Tests
Expanded automated checks for theme readability, terminal scrolling, and stale file-link interactions.
Updated test coverage for agent roster layout and wrapped replies.
Documentation
Revised and reduced explanatory code documentation across account, chat, terminal, and theme features. No user-facing behavior changes are reported.
The pull request removes or revises comments and documentation across library modules and tests. It also adds a small number of test assertions for agent roster layout, compose refusals, terminal links and drafts, viewport polling, wrapped replies, and theme contrast. Reported implementation behavior is unchanged.
Changes: Library documentation and test updates
Layer / File(s)
Summary
Account and sign-in documentation src/lib/account/*, src/lib/accountQrWatch.ts
Comments describing account joining, enrollment, sign-in, and QR-watch behavior were removed or revised. The reported account and watch logic remains unchanged.
Agent roster and state tests src/lib/agent*.ts, src/lib/agent*.test.ts, src/lib/agentsPage*
Comments were removed or shortened. Tests add an agent roster background-layout case and an assertion for a short wrapped reply.
This change mostly removes code comments and adds a few test assertions, with no reported change to runtime behavior. It is low risk to merge; the server contract tests and browser regressions were not run, so they are worth running as a precaution.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "refactor(src): drop comments the code can say, part 6 of 9" matches the changeset, which removes explanatory and JSDoc comments across src/lib files and their tests without changing code. I…
Description check
The description follows the repository template's intent. It explains what changed and the scope (about 2,100 comment lines across src/lib), and it reports validation with the commands run and those s…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "refactor(src): drop comments the code can say, part 6 of 9" matches the changeset, which removes explanatory and JSDoc comments across src/lib files and their tests without changing code. It names the main change, though it does not list the affected areas, and the 'part 6 of 9' suffix is series bookkeeping.
Full details: Description check
Explanation
The description follows the repository template's intent. It explains what changed and the scope (about 2,100 comment lines across src/lib), and it reports validation with the commands run and those skipped. The template's 'Change' section asks for the problem being solved and the resulting behavior. The description gives the motivation only indirectly (comment pass, owner's rule) and does not link a tracking issue. Changelog handling under changelog.d/ is not mentioned, and the contract-test skip is noted but not tied to the template's HTTP/WS coverage requirement in detail.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between 30ba8bf and 3723529.
Files selected for processing: 127
src/lib/account/join.test.ts
src/lib/account/join.ts
src/lib/account/leave.ts
src/lib/account/methods.test.ts
src/lib/account/myPcs.ts
src/lib/account/service.ts
src/lib/account/signin.ts
src/lib/account/store.ts
src/lib/account/useLinkPageSignIn.ts
src/lib/accountQrWatch.ts
src/lib/actions.ts
src/lib/adjacentTarget.test.ts
src/lib/adjacentTarget.ts
src/lib/agentCopy.test.ts
src/lib/agentCopy.ts
src/lib/agentInbox.test.ts
src/lib/agentInbox.ts
src/lib/agentLaunchMode.test.ts
src/lib/agentLaunchMode.ts
src/lib/agentList.test.ts
src/lib/agentList.ts
src/lib/agentMark.ts
src/lib/agentRoster.test.ts
src/lib/agentRoster.ts
src/lib/agentRowTokens.ts
src/lib/agentSetup.test.ts
src/lib/agentSetup.ts
src/lib/agentStateSince.test.ts
src/lib/agentStateSince.ts
src/lib/agentStateWatch.test.ts
src/lib/agentStateWatch.ts
src/lib/agentsPage.test.ts
src/lib/agentsPage.ts
src/lib/alertFilters.ts
src/lib/alertSound.test.ts
src/lib/alertSound.ts
src/lib/alertTurns.test.ts
src/lib/alertTurns.ts
src/lib/alertsBell.ts
src/lib/animatedHeight.ts
src/lib/api-request-id.test.ts
src/lib/api-signin.test.ts
src/lib/api.test.ts
src/lib/api.ts
src/lib/appCounting.ts
src/lib/authLink.test.ts
src/lib/authLink.ts
src/lib/bridgeProgress.ts
src/lib/changeTree.test.ts
src/lib/changeTree.ts
src/lib/chatImages.test.ts
src/lib/chatImages.ts
src/lib/chatLane.ts
src/lib/chatMinimap.test.ts
src/lib/chatMinimap.ts
src/lib/chatQuote.ts
src/lib/chatReadDeadline.ts
src/lib/chatRowState.test.tsx
src/lib/chatRowState.tsx
src/lib/chatRows.test.ts
src/lib/chatRows.ts
src/lib/chatScrollMemory.test.ts
src/lib/chatScrollMemory.ts
src/lib/chatTimestamp.ts
src/lib/checklist.ts
src/lib/clipboard.ts
src/lib/closePaneShortcut.test.ts
src/lib/colorMath.ts
src/lib/compose.test.ts
src/lib/composerDraft.test.ts
src/lib/composerDraft.ts
src/lib/composerDraftAgentOnly.test.ts
src/lib/composerImageMime.ts
src/lib/composerLabelFit.ts
src/lib/composerLength.ts
src/lib/composerNotices.test.ts
src/lib/composerNotices.ts
src/lib/composerStrip.ts
src/lib/tabStripScroll.ts
src/lib/teammateMessage.ts
src/lib/telemetrySurface.ts
src/lib/terminalBoxGlyphs.test.ts
src/lib/terminalBoxGlyphs.ts
src/lib/terminalDispose.test.ts
src/lib/terminalDispose.ts
src/lib/terminalDraft.test.ts
src/lib/terminalDraft.ts
src/lib/terminalFileLinks.test.ts
src/lib/terminalFileLinks.ts
src/lib/terminalFold.test.ts
src/lib/terminalFold.ts
src/lib/terminalGlyphs.test.ts
src/lib/terminalGlyphs.ts
src/lib/terminalImages.ts
src/lib/terminalLabel.test.ts
src/lib/terminalLabel.ts
src/lib/terminalLineHeight.test.ts
src/lib/terminalPeek.test.ts
src/lib/terminalPeek.ts
src/lib/terminalQuote.ts
src/lib/terminalReflow.test.ts
src/lib/terminalReplies.test.ts
src/lib/terminalReplies.ts
src/lib/terminalViewport.test.ts
src/lib/terminalViewport.ts
src/lib/terminalWheel.ts
src/lib/terminalWidths.test.ts
src/lib/terminalWidths.ts
src/lib/textPreview.test.ts
src/lib/textPreview.ts
src/lib/themeBoot.test.ts
src/lib/themeBoot.ts
src/lib/themeContrast.ts
src/lib/themeCss.ts
src/lib/themeDerive.test.ts
src/lib/themeDerive.ts
src/lib/themeFor.ts
src/lib/themeRoles.ts
src/lib/themes.contrast.test.ts
src/lib/themes.parity.test.ts
src/lib/themes.test.ts
src/lib/themes.ts
src/lib/todos.test.ts
src/lib/todos.ts
src/lib/toolVerbs.test.ts
src/lib/toolVerbs.ts
src/lib/touchFling.test.ts
Files with no reviewable changes: 96
src/lib/account/join.test.ts
src/lib/account/leave.ts
src/lib/account/methods.test.ts
src/lib/account/myPcs.ts
src/lib/account/service.ts
src/lib/account/signin.ts
src/lib/account/store.ts
src/lib/account/useLinkPageSignIn.ts
src/lib/actions.ts
src/lib/adjacentTarget.test.ts
src/lib/adjacentTarget.ts
src/lib/agentCopy.test.ts
src/lib/agentInbox.test.ts
src/lib/agentInbox.ts
src/lib/agentLaunchMode.test.ts
src/lib/agentList.test.ts
src/lib/agentList.ts
src/lib/agentMark.ts
src/lib/agentRoster.test.ts
src/lib/agentSetup.test.ts
src/lib/agentSetup.ts
src/lib/agentStateSince.test.ts
src/lib/agentStateWatch.test.ts
src/lib/agentsPage.test.ts
src/lib/agentsPage.ts
src/lib/alertSound.test.ts
src/lib/alertSound.ts
src/lib/alertTurns.test.ts
src/lib/alertsBell.ts
src/lib/animatedHeight.ts
src/lib/api-request-id.test.ts
src/lib/api-signin.test.ts
src/lib/api.test.ts
src/lib/appCounting.ts
src/lib/authLink.ts
src/lib/bridgeProgress.ts
src/lib/changeTree.test.ts
src/lib/changeTree.ts
src/lib/chatImages.test.ts
src/lib/chatMinimap.test.ts
src/lib/chatMinimap.ts
src/lib/chatQuote.ts
src/lib/chatReadDeadline.ts
src/lib/chatRowState.test.tsx
src/lib/chatRowState.tsx
src/lib/chatRows.test.ts
src/lib/chatScrollMemory.test.ts
src/lib/chatTimestamp.ts
src/lib/checklist.ts
src/lib/clipboard.ts
src/lib/closePaneShortcut.test.ts
src/lib/colorMath.ts
src/lib/compose.test.ts
src/lib/composerDraft.test.ts
src/lib/composerImageMime.ts
src/lib/composerLabelFit.ts
src/lib/composerNotices.test.ts
src/lib/composerStrip.ts
src/lib/telemetrySurface.ts
src/lib/terminalBoxGlyphs.test.ts
src/lib/terminalDispose.test.ts
src/lib/terminalDraft.test.ts
src/lib/terminalDraft.ts
src/lib/terminalFileLinks.test.ts
src/lib/terminalFold.test.ts
src/lib/terminalFold.ts
src/lib/terminalGlyphs.test.ts
src/lib/terminalImages.ts
src/lib/terminalLabel.test.ts
src/lib/terminalLabel.ts
src/lib/terminalLineHeight.test.ts
src/lib/terminalPeek.test.ts
src/lib/terminalQuote.ts
src/lib/terminalReflow.test.ts
src/lib/terminalReplies.test.ts
src/lib/terminalReplies.ts
src/lib/terminalViewport.test.ts
src/lib/terminalViewport.ts
src/lib/terminalWheel.ts
src/lib/terminalWidths.test.ts
src/lib/terminalWidths.ts
src/lib/textPreview.test.ts
src/lib/textPreview.ts
src/lib/themeBoot.test.ts
src/lib/themeContrast.ts
src/lib/themeCss.ts
src/lib/themeDerive.test.ts
src/lib/themeFor.ts
src/lib/themes.contrast.test.ts
src/lib/themes.parity.test.ts
src/lib/themes.test.ts
src/lib/themes.ts
src/lib/todos.test.ts
src/lib/toolVerbs.test.ts
src/lib/toolVerbs.ts
src/lib/touchFling.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
The kit's proof prints a block that spans lines and one written {} apart;
the catch keeps its original two lines, its comment still gone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…turns (#4078)
## What
`src/lib/relay/shellEnrollment.test.tsx` waits for the pairing flow with
an `until` helper that gave up after 10,000 event-loop turns. Turns are
not time: on a loaded runner the WebCrypto and fetch work behind a
pairing can take longer than those turns spin. The Fast checks of #4074
failed that way on `herdr-ci-ovis-parts-2` ("Enrollment did not reach
the expected state", in "looks for the introduction as the pairing was
made"); the rerun passed on another runner, and #4074 does not touch
`src/lib/relay/`.
The helper now waits at least 3 s of real time as well as 10,000 turns,
so it never gives up sooner than before. The clock is `process.hrtime`,
which the tests' fake timers do not move; 3 s stays under Bun's 5 s test
timeout.
Test-only: no app code changes.
## Validation
- `bun run check fast`: passed (18,593 unit tests, typecheck, build,
generated themes and types).
- `bun test src/lib/relay/shellEnrollment.test.tsx`: 44 pass.
- Not reproduced locally before the fix: 24 copies at once, and 12 on
one CPU core, all passed. The change only lengthens the wait, so it
cannot fail a run the old helper passed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <[email protected]>
maslianok
added a commit
to maslianok/ovis
that referenced
this pull request
Nov 17, 2026
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
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.
What
Part 6 of 9 for
src/in the repo-wide comment pass. This part covers:src/lib/account/andsrc/libfromaccountQrWatchtoagentStateSince: account sign-in, enrollment and leaving, the native sign-in, the QR watch, actions, agent copy, inbox, launch mode, marks, roster, setup and state stampssrc/libfromagentStateWatchtocomposerStrip: alerts and alert sounds, the API client and its request ids, auth links, chat images, lanes, minimap, quotes, rows, scroll memory and timestamps, the clipboard, and the composer's drafts, notices and lengthsrc/libfromtabStripScrolltotoolVerbs: terminal box glyphs, glyphs, folds, images, file links, widths, peeks, drafts and viewport, and the theme boot, CSS, contrast, derivation and rolestouchFling.test.tsAbout 2,100 comment lines go. Security, trap, platform and measured notes stay (the owner's rule for comment-removal PRs). What stays:
randomUUID's secure context, Chrome's background timer throttling,window.openin a click, timers during sleepAbortSignalversions andURL.canParse, CSS and CSSOM rounding// fixed wait:markers inaccount/join.ts.Every change was checked against
origin/mainby syntax tree. No test, script or doc reads a deleted comment, and no code changes.This PR touches account sign-in (
src/lib/account/,authLink.ts), the API client (api.ts) and drafts of typed input (composerDraft.ts,terminalDraft.ts), with comments and no code changed there, so it waits for a real review (AGENTS.md).Rules that only a comment stated (deleted, not enforced yet)
themeCss.ts: runtime code never imports it.agentStateSince.ts: a tracker added on the server is named inOWN_STATE_AGENTStoo.Deleted as false or unverifiable:
AbortSignal.anyneeds Safari 17.4" and "timeoutneeds Safari 16" reasons inapi.ts:builtins.tsfills inAbortSignal.any, and the oldest Safari supported is 16.4dsh-tuimodel note inagentLaunchMode.ts(its effort note stays), and theMODEL_ALIASESdoc that quotes an alias the code does not listLeft open (redesigns, not done here)
api.ts:fetchAgentCatalog,fetchPaneSummariesandverifySourceBooteach build an abort and timeout by hand;AbortSignal.any(… AbortSignal.timeout …)(already used atapi.ts:126) would do.SUMMARY_REQUEST_MS(8 s) is set by hand againstshared/pane-summary.ts'sPANE_SUMMARY_DEADLINE_MS.requestRelaycounts a 409 as a success only when its body has aphase.account/join.ts,leave.ts,service.ts):/api/account/recordsanswer (200, with refusals inside each record); one typed helper with anisFinalOutcomecheck would do.enrollPc's inline reasoning about vouched and unvouched PCs could be named predicates.AccountService.session's barecatchfalls back to a plain read on any error, not only a full storage;accountQrWatch.ts askswallows every error.shared/:agentStateSince.ts OWN_STATE_AGENTScopies the server's tracker names.toolVerbs.ts SUMMARY_LENGTHcopies the server's120(grok.ts,hermes.ts).chatImages.ts MENTIONcopiesserver/paste.ts's upload file names.textPreview.tscopies element counts and the viewer's fold length fromMarkdown.tsx.agentStateWatch.ts's module-wide watch: a secondkeepsilently resets the first owner's state.alertTurns.ts:due = Infinitymeans "waiting for this tab's player".agentStateSince.ts advanceStateStampscould be split into named rules (herdr replaced, pane moved, counter moved by one, pane back after a missed look).terminalFold.tsreads back thestyle.top/leftit wrote to find the grid.terminalGlyphs.ts: the nullableRelayfields exist so a face that never loads cannot keep the terminal in memory (aWeakReforAbortSignalwould say so); swapping the family's quote style to make xterm measure again needs a named step.terminalBoxGlyphs.ts:LINESis a positional string language,Weightuses 0–3, andQUADRANTSis an unnamed bitmask; a typed table keyed by code point would read without a legend.terminalDispose.ts disposeAfterPendingFrame: its delay was for an xterm 5.5 race and was never checked again on 6.0.0.chatLane.ts useLaneOf(locate),chatRowState.tsx useRowFocus(key,from,memory).agentMark.ts OTHER_CONTROL:\p{C}also strips private-use Nerd Font glyphs, which the name hides.terminalImages.ts: the anonymous CSI handler that silences XTSMGRAPHICS.terminalDraft.ts: the stored-key migration sits inside a read, and two side effects run when the module loads.themeBoot.ts: the old palette migration sits inline insanitizeAppearance.terminalPeek.ts sentOutcomerelies on the server listing outcomes oldest first;terminalViewport.ts visibleFindRectsre-checks matches becausePaneFindMatchhas no delivery sequence.themeCss.ts's special case fordroplet-bg#000;terminalLabel.ts's guard againstdisplayPaneTitlefalling back to the pane id;agentCopy.ts unwrapAgentRows' compoundwrapscondition.Validation
bun run check fast: passed (18,593 unit tests, typecheck, build, generated themes and types).src/conventions.test.tsincluded. All pass.api.tsandaccount/(comments only; CI's integration job runs them) and browser regressions.🤖 Generated with Claude Code