Skip to content

refactor(scripts): drop comments the code can say, part 3 of 5 - #4048

Merged
devswha merged 4 commits into
mainfrom
refactor/no-comment-scripts-3
Nov 17, 2026
Merged

devswha merged 4 commits into
mainfrom
refactor/no-comment-scripts-3

Conversation

@devswha

@devswha devswha commented Nov 17, 2026

Copy link
Copy Markdown
Owner

What

Part 3 of 5 for scripts/ in the repo-wide comment pass. This part covers:

  • file-viewer to ideal-state:
    • the film tools (film/capture.ts, camera.ts, stage.ts, timeline.ts, render.ts)
    • the code generators (generate-*.ts, hc-types.ts)
    • fixed-sleeps.ts
    • the herdr theme tools (herdr-theme*.ts)
    • the file-viewer, font, folder-filter, health-flap and Hermes scripts
  • join kit to phone-back:
    • scripts/join/kit.ts
    • the keyboard, key-bar and viewport regressions
    • own-herdr.ts and pages-static.ts
    • the mirror, notification, omo and omp scripts
    • pane-mute-demo-run.ts

About 2,060 comment lines go. What stays:

  • Read by a test or a doc: every // fixed wait: (scripts/fixed-sleeps.ts reads them), the rule at the top of fixed-sleeps.ts (conventions.test.ts points to it), and the re-capture paragraph in film/render.ts (docs/development.md points to it).
  • Contracts: the /// <reference> in join/kit.ts, and the usage text docs/development.md lacks (the film tools, the generators, fresh-install-docker.ts, the probes).
  • Behaviour we cannot change:
    • iOS, iPadOS and Safari viewport and keyboard behaviour, Chromium's Back intervention, Android and Gboard
    • Playwright clocks and init scripts, xterm, Vite, Rollup and Mermaid
    • herdr, omo and omp storage, Cloudflare Pages matching
    • the shell, curl, git and readline

Every comment-only change was checked against origin/main by syntax tree. No test, script or doc reads a deleted comment.

Code changes (mechanical, no behaviour change)

  • scripts/mobile-tabs-regression.ts waits for the sheet's history entry with the shared sheetEntryLeft (scripts/sheets-settled.ts) instead of its own copy of that wait.

Rules that only a comment stated (deleted, not enforced yet)

  • Theme tools: herdr-themes.ts, herdr-theme-proposal.ts and herdr-theme-overrides.ts are offline tools. Nothing at run time may read them, the proposal tool never writes files, and its gamut clipping must match repair.mjs.
  • Test isolation:
    • own-herdr.ts runOnOwnHerdr must run before anything imports test-herdr.ts, and never reuses the caller's CHECK_DIR files.
    • herdr-restart-regression.ts and pane-lifetime-regression.ts stop their herdr, so they must never share the browser lane's test session.
    • generate-protocol-types.test.ts rewrites both generated outputs, so it must never run beside another file that does.
  • Where scripts may reach:
    • herdr-profiles-browser-qa.ts: discovery must not connect anywhere but a closed loopback port.
    • notification-startup-regression.ts: never attaches to or types into a PTY.
    • keyboard-viewport-demo-regression.ts: keeps every output in a disposable folder.
  • How scripts are run:
    • omp-question-compat.ts: only through bun run check run --build.
    • math-browser-qa.ts: never takes the host's language, because its locators are English.
    • key-bar-hold-repeat-regression.ts: its NO_SEND_WAIT_MS waits measure a gesture or prove nothing is sent, never readiness.
  • Ordering:
    • follow-focus-regression.ts must end on the pane it started on, with the setting off, even when it fails.
    • pane-mute-demo-run.ts: its behaviour sections stay together and in order, and its 15 s heartbeat must match the server's stream.
    • film/timeline.ts: the R3/R6 marks are measured again after a re-capture, which the kept render.ts header still says.

Left open (redesigns, not done here)

  • Film tools:
    • Cam's fields (k, fx, fy, ax, ay, rx, ry, d) and ObjDesc (k, u, m) need names.
    • The hand-measured R3_DONE/R6_*/CARD_DESK/PHONE_CARD_Y could be derived from the takes' marks.
    • filmHold matches the demo's timers by their 4500/2400 ms delays.
    • The after-plain story stages around an app layout problem.
  • Values copied from elsewhere:
    • fixed-sleeps.ts's SLEEP/BOUND regexes could be built from named parts.
    • generate-themes.ts DEFAULT_ID copies DEFAULT_THEME.
    • pending-pane-switch-regression.ts's bare 10 * 60 * 1000 + 1000 (three times) is the bridge's held-receipt window.
    • key-bar-customization polls for the demo's replay to end.
  • Smaller items:
    • file-viewer-regression.ts activateInTranscript dispatches a fake click because the chat scrolls links away.
    • pane-mute-demo-run.ts shares counters across sections.
    • mirror-scroll-demo-regression.ts copies cause.name so the lane finds TimeoutError.
    • own-herdr.ts rewrites HERDR_SOCKET for later imports.
    • machine-conflict-regression.ts has a fixed wait an ordered event could replace.

Validation

  • bun run check fast: passed (18,568 unit tests, typecheck, build, generated files).
  • Unit tests of every touched test file and of the modules that import a touched one: 219 + 203 pass.
  • Not run here: the browser regressions themselves (their code changed only in the one helper above). CI's browser jobs run them.

🤖 Generated with Claude Code

The third scripts/ slice of the repo-wide comment pass: the
file-viewer to ideal-state scripts (the film tools, the code
generators, fixed-sleeps.ts, the herdr theme tools) and the join kit to
phone-back scripts (keyboard and viewport regressions, own-herdr,
pages-static, the omo/omp probes). About 2,060 comment lines go; every
`// fixed wait:`, the usage text docs/development.md lacks, the rule in
fixed-sleeps.ts that conventions.test.ts points to, and notes on iOS,
Safari, Chromium, Android, Playwright, xterm, Vite, herdr and Cloudflare
Pages stay. mobile-tabs-regression waits for the sheet's history entry
with the shared sheetEntryLeft instead of its own copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

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.

Run configuration

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 regression coverage for file previews, Markdown and source rendering, browser history, and rendered media.
    • Added checks for mobile keyboard and focus behavior, narrow panes, pane muting, pending drafts, and notification views.
    • Broadened browser checks for navigation, machine and workspace interactions, and responsive layouts.

This pull request updates many scripts under scripts/. It expands selected browser and regression checks, changes repeated-name handling in the protocol type generator, and removes or revises explanatory comments across test, tooling, and film scripts.

Changes: File preview regression coverage

Layer / File(s) Summary
Preview, panel, and navigation checks
scripts/file-viewer-regression.ts, scripts/file-viewer-page-scripts-browser-qa.ts
The file-viewer regression adds checks for preview history, panel behavior, Markdown rendering, large files, HTML reports, and media failures. The browser QA script retains its page-script assertions while removing scenario comments.

Other regression coverage

Layer / File(s) Summary
Mobile, pane, and browser checks
scripts/keyboard-viewport-regression.ts, scripts/mirror-fold-demo-regression.ts, scripts/narrow-pane-demo-regression.ts, scripts/pane-mute-demo-run.ts, scripts/pending-pane-switch-regression.ts, scripts/*regression.ts, scripts/*browser-qa.ts
Selected regression scripts add checks for viewport state, folded panes, narrow layouts, mute synchronization, held drafts, and other browser scenarios. Many neighboring scripts only lose explanatory comments.

Generator behavior

Layer / File(s) Summary
Repeated protocol definition names
scripts/generate-protocol-types.ts, scripts/generate-protocol-types.test.ts
The generator namespaces every repeated definition name by section and emits a declaration for each collected definition. The test file removes explanatory comments.

Comment and documentation edits

Layer / File(s) Summary
Script documentation updates
scripts/film/*, scripts/generate-*, scripts/join/*, scripts/*
Scripts remove or shorten comments and section labels. Most affected implementations and assertions remain unchanged.

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Refactor

Merge Risk: Minimal · previous review aaa21

This change mostly removes comments from scripts and adds some regression test coverage. I found no concrete behavior risk, and the reported fast checks passed. Browser regression results will come from CI.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing explanatory comments from scripts/ files as part 3 of a series. The raw summaries and objectives confirm the change is almost entirely comment removal across …
Description check Passed The description follows the repository template's intent. It has a What section that explains the scope and the retained comments, and a Validation section that lists the commands run and the browser …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: removing explanatory comments from scripts/ files as part 3 of a series. The raw summaries and objectives confirm the change is almost entirely comment removal across many scripts/ files, plus one small helper swap in mobile-tabs-regression.ts. The title is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the repository template's intent. It has a What section that explains the scope and the retained comments, and a Validation section that lists the commands run and the browser regressions not run. The template's Change section asks for the problem and resulting behavior, and the description covers that. The template's HTTP/WS contract-test note does not apply to this comment-only change. It does not link an issue, but the template only requires that for features. The changelog reference in the template comment is not addressed, and the change is a refactor, so a changelog.d entry may still be needed per CONTRIBUTING.md.

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.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5a53eab and aaa216f.

Files selected for processing: 105

  • scripts/file-viewer-page-scripts-browser-qa.ts
  • scripts/file-viewer-regression.ts
  • scripts/film/camera.ts
  • scripts/film/capture.ts
  • scripts/film/footage.ts
  • scripts/film/hand.ts
  • scripts/film/render.ts
  • scripts/film/stage.ts
  • scripts/film/timeline.ts
  • scripts/fixed-sleeps.ts
  • scripts/folder-filter-regression.ts
  • scripts/follow-focus-regression.ts
  • scripts/font-swap-demo-regression.ts
  • scripts/fresh-install-docker.ts
  • scripts/generate-brand.ts
  • scripts/generate-case-folding.test.ts
  • scripts/generate-case-folding.ts
  • scripts/generate-confusables.ts
  • scripts/generate-protocol-types.test.ts
  • scripts/generate-protocol-types.ts
  • scripts/generate-themes.test.ts
  • scripts/generate-themes.ts
  • scripts/gjc-status-browser-regression.ts
  • scripts/grok-chat-browser-qa.ts
  • scripts/grok-image-browser-qa.ts
  • scripts/growth-snapshot.test.ts
  • scripts/growth-snapshot.ts
  • scripts/hc-types.ts
  • scripts/header-context-demo-regression.ts
  • scripts/header-lens-switch-regression.ts
  • scripts/header-lens.ts
  • scripts/header-more.ts
  • scripts/health-flap-demo-regression.ts
  • scripts/held-rows-demo-regression.ts
  • scripts/herdr-prefix-keys-demo-regression.ts
  • scripts/herdr-profiles-browser-qa.ts
  • scripts/herdr-profiles-ssh-qa.ts
  • scripts/herdr-restart-regression.ts
  • scripts/herdr-theme-overrides.ts
  • scripts/herdr-theme-proposal.ts
  • scripts/herdr-themes.ts
  • scripts/hermes-history-schema-probe.ts
  • scripts/hide-pc-demo-regression.ts
  • scripts/hook-kill-tests-workflow.test.ts
  • scripts/ideal-state-behaviour-harness.ts
  • scripts/ideal-state-behaviour-qa.ts
  • scripts/ideal-state-idle-regression.ts
  • scripts/ideal-state-idle.ts
  • scripts/join/kit.test.ts
  • scripts/join/kit.ts
  • scripts/join/test-world.ts
  • scripts/key-bar-customization-demo-regression.ts
  • scripts/key-bar-hold-repeat-regression.ts
  • scripts/keybar-focus-regression.ts
  • scripts/keyboard-viewport-demo-regression.ts
  • scripts/keyboard-viewport-regression.ts
  • scripts/lan-exposure-notice-regression.ts
  • scripts/light-runner-workflow.test.ts
  • scripts/link-menu-demo-regression.ts
  • scripts/mac-carry-drafts.test.ts
  • scripts/machine-conflict-regression.ts
  • scripts/machine-dialog-regression.ts
  • scripts/machine-events-browser-regression.ts
  • scripts/machine-own-ovis-regression.ts
  • scripts/machines-browser-qa.ts
  • scripts/markdown-outline-browser-qa.ts
  • scripts/markdown-outline-fixture.tsx
  • scripts/math-browser-qa.ts
  • scripts/mirror-fold-demo-regression.ts
  • scripts/mirror-scroll-demo-regression.ts
  • scripts/mobile-tabs-regression.ts
  • scripts/mobile-viewport-regression.ts
  • scripts/narrow-pane-demo-regression.ts
  • scripts/new-session-skills-browser-qa.ts
  • scripts/newtab-typeahead-regression.ts
  • scripts/notification-startup-regression.ts
  • scripts/notification-view-regression.ts
  • scripts/old-safari-demo-regression.ts
  • scripts/omo-chat-browser-qa.ts
  • scripts/omo-plan-browser-regression.ts
  • scripts/omo-question-wheel-regression.ts
  • scripts/omp-codex-image-browser-qa.ts
  • scripts/omp-question-compat.ts
  • scripts/omp-store-layout-probe.ts
  • scripts/opencode-prompt-regression.ts
  • scripts/output-browser-qa.ts
  • scripts/ovis-site.test.ts
  • scripts/ovis-tui-prepare.test.ts
  • scripts/own-herdr.ts
  • scripts/page-scripts-fixture.tsx
  • scripts/pages-gate.test.ts
  • scripts/pages-static.ts
  • scripts/palette-keys-regression.ts
  • scripts/palette-local-page-demo-regression.ts
  • scripts/palette-machines-demo-regression.ts
  • scripts/pane-find-regression.ts
  • scripts/pane-input-focus-demo-regression.ts
  • scripts/pane-lifetime-regression.ts
  • scripts/pane-mute-captures-demo-regression.ts
  • scripts/pane-mute-demo-regression.ts
  • scripts/pane-mute-demo-run.ts
  • scripts/pane-paging-demo-regression.ts
  • scripts/pc-load-demo-regression.ts
  • scripts/pending-pane-switch-regression.ts
  • scripts/phone-back-demo-regression.ts
Files with no reviewable changes: 81

  • scripts/file-viewer-page-scripts-browser-qa.ts
  • scripts/file-viewer-regression.ts
  • scripts/film/capture.ts
  • scripts/film/footage.ts
  • scripts/film/hand.ts
  • scripts/fixed-sleeps.ts
  • scripts/font-swap-demo-regression.ts
  • scripts/fresh-install-docker.ts
  • scripts/generate-brand.ts
  • scripts/generate-case-folding.test.ts
  • scripts/generate-case-folding.ts
  • scripts/generate-confusables.ts
  • scripts/generate-protocol-types.test.ts
  • scripts/generate-themes.test.ts
  • scripts/generate-themes.ts
  • scripts/gjc-status-browser-regression.ts
  • scripts/grok-chat-browser-qa.ts
  • scripts/grok-image-browser-qa.ts
  • scripts/growth-snapshot.test.ts
  • scripts/growth-snapshot.ts
  • scripts/hc-types.ts
  • scripts/header-context-demo-regression.ts
  • scripts/header-lens-switch-regression.ts
  • scripts/header-lens.ts
  • scripts/header-more.ts
  • scripts/held-rows-demo-regression.ts
  • scripts/herdr-prefix-keys-demo-regression.ts
  • scripts/herdr-profiles-browser-qa.ts
  • scripts/herdr-profiles-ssh-qa.ts
  • scripts/herdr-restart-regression.ts
  • scripts/herdr-theme-overrides.ts
  • scripts/herdr-theme-proposal.ts
  • scripts/herdr-themes.ts
  • scripts/hermes-history-schema-probe.ts
  • scripts/hide-pc-demo-regression.ts
  • scripts/hook-kill-tests-workflow.test.ts
  • scripts/ideal-state-behaviour-harness.ts
  • scripts/ideal-state-behaviour-qa.ts
  • scripts/ideal-state-idle-regression.ts
  • scripts/ideal-state-idle.ts
  • scripts/join/kit.test.ts
  • scripts/join/test-world.ts
  • scripts/key-bar-hold-repeat-regression.ts
  • scripts/keyboard-viewport-demo-regression.ts
  • scripts/light-runner-workflow.test.ts
  • scripts/mac-carry-drafts.test.ts
  • scripts/machine-conflict-regression.ts
  • scripts/machine-dialog-regression.ts
  • scripts/machine-events-browser-regression.ts
  • scripts/machine-own-ovis-regression.ts
  • scripts/machines-browser-qa.ts
  • scripts/markdown-outline-browser-qa.ts
  • scripts/markdown-outline-fixture.tsx
  • scripts/math-browser-qa.ts
  • scripts/mirror-fold-demo-regression.ts
  • scripts/mirror-scroll-demo-regression.ts
  • scripts/narrow-pane-demo-regression.ts
  • scripts/new-session-skills-browser-qa.ts
  • scripts/notification-startup-regression.ts
  • scripts/old-safari-demo-regression.ts
  • scripts/omo-plan-browser-regression.ts
  • scripts/omo-question-wheel-regression.ts
  • scripts/omp-codex-image-browser-qa.ts
  • scripts/omp-question-compat.ts
  • scripts/omp-store-layout-probe.ts
  • scripts/opencode-prompt-regression.ts
  • scripts/ovis-site.test.ts
  • scripts/ovis-tui-prepare.test.ts
  • scripts/own-herdr.ts
  • scripts/page-scripts-fixture.tsx
  • scripts/pages-gate.test.ts
  • scripts/palette-keys-regression.ts
  • scripts/palette-local-page-demo-regression.ts
  • scripts/palette-machines-demo-regression.ts
  • scripts/pane-find-regression.ts
  • scripts/pane-input-focus-demo-regression.ts
  • scripts/pane-mute-captures-demo-regression.ts
  • scripts/pane-mute-demo-regression.ts
  • scripts/pane-paging-demo-regression.ts
  • scripts/pc-load-demo-regression.ts
  • scripts/pending-pane-switch-regression.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.

@devswha
devswha merged commit d56104e into main Nov 17, 2026
16 checks passed
@devswha

devswha commented Nov 17, 2026

Copy link
Copy Markdown
Owner Author

Merge pass

Merged head 27b16bf0288e as d56104e2287a on GitHub's checks, with no unresolved review threads.

Reviewer Verdict Note
claude CLEAR
machine-proof CLEAR

The owner's refactor (scripts, part 3 of 5), merged by the merge pass on his word. A machine proof removed comments and compared the merge base with this head: 104 of the 105 files are identical. The one code change (scripts/mobile-tabs-regression.ts waiting through sheetEntryLeft, whose missing timeout let Playwright's 30 s default replace the test's 5 s) was reverted to the merge base's own wait by the merge pass's worker, so that file is unchanged apart from comments; giving sheetEntryLeft its own bound for its other callers is a follow-up.

Deleted comments that carried a reason were sorted before the merge, and under the owner's narrowed rule only security, trap, platform and measured notes came back: 41 kept (trap 20, security 12, measured 5, platform 4) of 270 that carried a reason no test holds. The other 229 (race, quirk, fixture, ordering and the like) stay deleted. Giving sheetEntryLeft its own timeout for its other callers is a follow-up.

@devswha
devswha deleted the refactor/no-comment-scripts-3 branch November 17, 2026 15:33
devswha added a commit that referenced this pull request Nov 17, 2026
…4084)

## What

#4048 (`scripts/`, part 3 of 5) was part of the repo-wide comment pass
and merged before the owner's rule for comment-removal PRs: security
notes, platform facts, measured values, third-party attribution, Rust
SAFETY notes and traps that name a concrete breakage stay. This PR puts
back what it dropped of those, word for word where the code is
unchanged, on today's `main`.

How the notes were picked: a Codex adversarial review (gpt-6.2-sol,
reasoning high) of the merged commit against its parent listed every
deleted comment it took for a kept kind; each finding was checked
against the code before the pass and today's file, and put back only
when it is one of those kinds. A trap came back only when it names what
the obvious change would break. Notes whose code has since moved sit on
that code now; notes whose code is gone, or that are no longer true,
stay out.

Comments only: no code changes. The refactor-merge kit's `proof.sh`
checks that every file is identical once comments are removed; lint
directives (which it counts as code) stay out.

## Details

### Lines restored per kind (approximate; a mixed block is counted under
its main kind)

| Kind | Findings accepted | Lines |
|---|---|---|
| Security | 85 | ~187 |
| Platform fact (incl. 2 cut sentences: film/footage header,
newtab-typeahead `watch`) | 59 | ~105 |
| Measured value | 29 | ~68 |
| Trap (names a concrete breakage), incl. film/stage's cut "Objects"
bullet | 47 | ~83 |
| Third-party attribution (hc-types Apache-2.0 source; herdr-themes
reviewed against the pinned Rust source) | 2 | 3 |
| **Total** | **222** | **~446** |

67 files, all in `scripts/`. Nothing was already back on main: pile C
(#4045) landed before #4048 and touched no top-level `scripts/` file;
the only later change to these files is light-runner-workflow.test.ts
(#4058), where the macOS note goes back only as its still-true clause
("a fork stays on macos-15") and the bundle-windows note is skipped
because `FORMER_LIGHT` is gone.

### Declined, rejected, skipped

- 27 trap findings declined (test target, design reason, or no named
breakage): file-viewer's chatScrollMemory reload, two focus traps,
double Show beside the pane, pane-local `--chat-w`, Copy revealing
source, refused body JSON, late image remount, decode failure opener;
capture's after-plain plan bar; folder-filter typo; fresh-install
Node/Rust branch; generate-themes `<!--` duplicate and fail-closed
markers; header-lens-switch held media query; herdr-profiles-ssh
identity override; herdr-theme-overrides "never generate";
herdr-theme-proposal offline/gamut/defaults (x3); keyboard-viewport
stale height, zero geometry, select arming; notification-view double
delivery; omp-question-compat `--build`; own-herdr early `HERDR_SOCKET`;
palette-local-page over Files; pane-paging fractional end.
- 16 rejected: file-viewer's two same-path panes and closed-pane Forward
(correctness test targets, no trust boundary); capture's header filmHold
bullet (same numbers restored on `filmHold`) and FILM_SCALE note (kept
header says it); render "Decisions" 2x/960 px (capture header and
timeline header say it); follow-focus header (`herdr tab create --focus`
fact restored at its call); generate-protocol-types Heeler analogy (not
attribution) and `(string & {})` line (kept header says it);
herdr-profiles-browser-qa Manage PC menu (test target);
ideal-state-behaviour-qa probe durations (describes code); join kit.test
`--trial` (our own join.sh); light-runner bundle-windows (code gone);
link-menu `longPress` docblock (kept header says it); mobile-tabs 450 ms
/ 8 px (app thresholds, no reason); omp-codex no-store row (test
target); phone-back Navigation API header (kept comment says "before
102").
- 7 PR-body findings and 1 LOW finding left alone.

### Security notes put back (file, a few words)

- file-viewer-page-scripts-browser-qa.ts: a page is drawn without
scripts until asked; beside the pane a page with scripts cannot take the
app's keys; autofocus takes no keys; scripts are not remembered across
files or reopenings; popup vs docked focus rules; a press or Tab hands
the page the keys
- file-viewer-regression.ts: what a script page may not reach (network,
storage); colored in the worker under the server's CSP; the frame allows
no scripts at first; the page may ask the server for nothing; media
served from the checked descriptor, lapsed and revoked addresses
refused, sign-out revokes
- loopback-only, no herdr session: font-swap, health-flap, held-rows,
key-bar-customization, key-bar-hold-repeat, link-menu,
new-session-skills, old-safari, opencode-prompt (never a user's OpenCode
session)
- fresh-install-docker.ts: Docker and network, nothing on the host
changes
- generate-case-folding(.test).ts, generate-confusables.ts: pinned
SHA-256 of the reviewed source, download or `--source` with other bytes
refused, checked before parsing; the look-alike skeleton scope (#2233)
- growth-snapshot(.test).ts: gh sign-in or GH_TOKEN; who starred is
never kept, only the day; no referrers or paths in the output; exit 2
for a token without access; the stand-in gh reaches no GitHub, its
login/referrer/path must not leak
- health-flap / held-rows / mirror-fold / mirror-scroll / pane-mute: an
observer watches only; watch-only offers no Send now; a watching device
adopts the pty's grid; a mirrored observer never types; a watching
device sees the mute state, not the switch
- held-rows-demo-regression.ts: rows from an earlier release whose herdr
nothing proves go to Recover unsent text
- herdr-profiles-ssh-qa.ts: a verified official bundle; keys grant
reconnection, not permission to start the bridge
- hermes-history-schema-probe.ts: runs only Hermes's SessionDB, never
the agent, a model or a provider, in a temporary HERMES_HOME
- hook-kill-tests-workflow.test.ts: never on self-hosted runners, read
token only, container confined; the runner image never carries the
marker
- join/kit.ts: nothing fetched runs before its SHA-256 matches, the line
holds no secret; the paste line's Linux gate, digest-before-exec and
argument passing; TEST-KIT gates test switches; join.sh refuses other
names; kit files must match SHA256SUMS exactly; real-path check against
links into the checkout; digests from the kit's own copy
- join/test-world.ts: its own container on the test network, kit folders
read-only
- lan-exposure-notice-regression.ts: reachable with no token and nothing
paired; `lan_exposure` sent only to a request that got in; loopback
unreachable from the network
- light-runner-workflow.test.ts: a fork's job never reaches the
self-hosted pool, the guard first; ci-runner-route keeps forks hosted;
CI_FAST labels only for ovis-vm, never a fork's; a fork stays on
macos-15; `forkSafe` and the not-on-pull-requests condition
- machines-browser-qa.ts: loopback fixture with a private remoteHome;
older held messages stay manual and scoped to their PC
- new-session-skills-browser-qa.ts: Claude Code's parser would run a
message named like a subcommand, so the message rides on the request;
held, never typed on its own after a drop; nothing typed goes on its own
after a disconnect
- newtab-typeahead-regression.ts: typed-ahead keys reach only the new
tab, paste and keys typed before leaving are held for review; a masked
prompt's text goes as a secret, no receipt or draft keeps it
- old-safari-demo-regression.ts: no inline script under the CSP
- omo-chat-browser-qa.ts: a process with no omo evidence is sent raw and
not bound as omo
- ovis-tui-prepare.test.ts: none of the user's git config
- palette-machines-demo-regression.ts: identical IDs on another PC never
retarget a destructive dialog
- pane-find-regression.ts: GUI searches never go to scrollback or
terminal input
- pane-lifetime-regression.ts: text typed for a previous herdr's pane
never shows in the pane that reuses its ID; an older bridge keeps a
draft in the page only
- pending-pane-switch-regression.ts: no delivery after a lost
connection; no automatic delivery after ready; split siblings cannot
advance another pane's queue; only the bridge's receipt brings a copy
back, for an explicit Send now; another browser session gets no
receipts, and proof is never saved

## Validation

- `bun run check fast`: passed (18,593 unit tests, typecheck, build,
generated themes and types).
- `proof.sh` (comments only), `ready.sh` (required checks, threads,
CodeRabbit, main) before the merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant