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(scripts): drop comments the code can say, part 4 of 5 - #4049
Part 4 of 5 for scripts/ in the repo-wide comment pass. This part covers:
plugin.ts and plugin-tui.ts (the ovis command)
the pty-sidecar tooling (pty-sidecar.ts, -attach.sh, -bench.ts) and preflight.sh
privileged-jobs-workflow.test.ts
the relay QA and benchmark scripts
the release tools (release-ci-reuse.ts, release-guards.ts, release-notes.ts)
the self-hosted runner scripts (scripts/self-hosted-runner/*.sh and its test)
the server artifact/install/manifest tools and service-worker-build.ts
the session-history fixtures
the split-view to terminal regressions
About 4,400 comment lines go. What stays:
Read by code or a test:
every // fixed wait:
run.sh's usage block, which usage() prints with sed -n '2,8p'
Usage text the docs lack:pty-sidecar.ts, release-guards.ts, release-ci-reuse.ts, roster-bench.ts, vm-runner.sh and others.
Behaviour we cannot change:
herdr's plugin hooks and state folders
/proc, zombies and pid reuse, POSIX signals, Windows processes
Docker, the GitHub Actions runner, and the token permissions of called workflows
Playwright (checked in its bundle), Chromium, WebKit and IndexedDB
xterm, mobile keyboards, and Vite
privileged-jobs-workflow.test.ts lost its 40-line header: scripts/self-hosted-runner/README.md ("Security model") carries all of it.
Every comment-only change was checked against origin/main: TypeScript by syntax tree, shell with whole-line comments dropped. No test, workflow, script or doc reads a deleted comment.
This PR touches scripts/self-hosted-runner/ and scripts/self-hosted-runner.test.ts, so it waits for GitHub's checks, Hook kill tests included.
Code changes (mechanical, no behaviour change)
scripts/replay-clipboard-demo-regression.ts: the clipboard payloads are written btoa("history"), btoa("live") and btoa("stale") instead of base64 literals with a comment beside them. Same values.
scripts/relay-mux-benchmark.ts: the bare 37 ms probe interval is PROBE_INTERVAL_OFF_RTT_MS.
scripts/sticky-modifiers-regression.ts: "\x1b[?2004l" is BRACKETED_PASTE_OFF.
src/lib/terminalLineHeight.ts exports HANGUL_INK_EM, and scripts/terminal-bundled-mono-regression.ts uses it instead of a copy of 0.913.
Dropped two shellcheck disable=SC2086 lines nothing reads (no shellcheck runs on scripts), in job-started.sh, and a trailing comment in run.sh.
Rules that only a comment stated (deleted, not enforced yet)
Security and safety:
plugin.ts warnShadowed logs only the names of shadowed keys, never their values, so a token never reaches herdr's log.
secret-input-regression.ts uses only owned no-echo fixtures, never stores the entered value, and keeps no payloads in browser-test logs.
ssh-integration.ts stops only the herdr daemons under the test's own HOME and never uses the user's socket.
Timing and order:
plugin.ts:
ENV_FILES is declared before CONFIG_DIR.
LIFECYCLE_WAIT_MS exceeds a start's two 20 s waits.
STOP_TIMEOUT_MS matches the supervisor's 6 s grace.
pty-sidecar.ts: INSTALL_DEADLINE_MS stays under the updater's 120 s step, and the record is removed before the rename.
pty-sidecar-attach.sh uploads the manifest last.
quiet-port.ts starts at 20000 because server/updater.test.ts picks below it.
build-cache-promote.sh and run.sh: the claim-time and outbox order, and 2 s between containers.
Where things may run:
self-hosted-runner.test.ts runs its kill tests isolated only, and the hook-test-harness.sh FIFO's write end stays with the harness.
server-manifest.ts uses Node built-ins only (docs/development.md:922 still says so).
session-history-fixture-data.ts uses no browser or Bun globals.
Kept in step:
server-artifact.ts PTY_PINS changes with a version bump.
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: 442 + 250 + 285 + 52 pass. shared/relay-mux-throughput.test.ts: passes.
bash -n on the edited runner scripts.
Not run here: the browser regressions themselves (code changed only in the named constants above), the runner's isolated hook kill tests, and server/compiled-server.contract.test.ts. CI runs them.
The fourth scripts/ slice of the repo-wide comment pass: plugin.ts and
plugin-tui.ts, the pty-sidecar tooling, the relay QA and benchmark
scripts, the release tools, the self-hosted runner scripts, the server
artifact/install/manifest tools, the session-history fixtures and the
split-view to terminal regressions. About 4,400 comment lines go; every
`// fixed wait:`, the usage text the docs lack, and notes on POSIX,
/proc, Docker, GitHub Actions, Playwright, Chromium, WebKit, xterm and
mobile keyboards stay. Named instead of explained: btoa("history") for
the clipboard payloads, PROBE_INTERVAL_OFF_RTT_MS, BRACKETED_PASTE_OFF,
and HANGUL_INK_EM, now exported from src/lib/terminalLineHeight.ts.
Two shellcheck suppressions nothing reads are gone.
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
Bug Fixes
Improved compatibility when locating plugin state across legacy and current plugin directories.
Expanded regression checks for prompt interactions, push-health states, repository comparisons, split views, terminal input, and other workflows.
Chores
Updated internal scripts and tests, including clearer handling of repeated cache claims.
The diff removes comments across many scripts and updates several regression checks. It also changes plugin state-directory fallback behavior, cache-claim handling, release-workflow assertions, and exports the HANGUL_INK_EM constant.
Changes: Script and workflow updates
Layer / File(s)
Summary
Plugin and runner behavior scripts/plugin.ts, scripts/self-hosted-runner/*
The plugin now checks the legacy state directory when the new-ID directory has no live PID record. Cache promotion removes later claims and matching archives after judging one claim per outbox. The hook test harness enables set -u.
Release and CI checks scripts/release-ci-reuse*, scripts/release-validate-workflow.test.ts
Tests add coverage for malformed or timed-out GitHub responses, workflow permissions and timeouts, direct CI workflow calls, script exit codes, and invalid run IDs.
Browser and terminal regression checks scripts/*regression.ts, scripts/*browser-qa.ts, src/lib/terminalLineHeight.ts
Regression scripts add or adjust checks across repository diffs, split views, session history, relay pairing, terminal input, and clipboard behavior. HANGUL_INK_EM is exported and used by the bundled-font regression.
Comment cleanup scripts/*
Explanatory comments and documentation were removed or shortened across scripts, tests, fixtures, and benchmarks. Most executable behavior in these changes remains unchanged.
This change mostly removes comments from scripts and swaps a few duplicated literals for named constants. No concrete behavior problem was found, and the remaining browser and runner tests are expected to be covered by CI.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "refactor(scripts): drop comments the code can say, part 4 of 5" matches the main change: removing explanatory comments across scripts/ in a repo-wide comment pass. It also names the scope a…
Description check
The description follows the template's intent. The template asks for a Change section describing the problem and behavior, and a Validation section listing checks run and skipped. The PR gives a detai…
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(scripts): drop comments the code can say, part 4 of 5" matches the main change: removing explanatory comments across scripts/ in a repo-wide comment pass. It also names the scope and that this is part 4 of 5. The PR also includes a few small code changes (named constants, exported HANGUL_INK_EM), but the title does not need to cover them.
Full details: Description check
Explanation
The description follows the template's intent. The template asks for a Change section describing the problem and behavior, and a Validation section listing checks run and skipped. The PR gives a detailed What section explaining the scope and mechanical changes, and a Validation section that lists the commands run (bun run check fast with results), the test files run, and the checks skipped (browser regressions, isolated hook kill tests, and the compiled-server contract test). The template's HTTP/WS contract-test note does not apply here, and the author explains why the skipped checks were not run. The description omits the CONTRIBUTING.md and changelog.d/ reference that the template comment points to, and does not state whether a changelog entry was added. That is a minor gap.
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.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.
Merged head 055af1a82f99 as a566895b2a8e on GitHub's checks, with no unresolved review threads.
Reviewer
Verdict
Note
claude
CLEAR
machine-proof
CLEAR
Merged with these checks red, none of them required: build (darwin-universal); bundle (macos-15, darwin-universal);
The owner's refactor (scripts, part 4 of 5), merged by the merge pass on his word. A machine proof removed comments per language and compared the merge base with the owner's head: 129 of the 135 files are identical, including the runner's kill-capable hook job-started.sh. The six that differ were read by a fresh reviewer and by Codex: named constants equal to the literals they replace (PROBE_INTERVAL_OFF_RTT_MS 37, BRACKETED_PASTE_OFF), btoa("history") equal to the old literal in Bun, HANGUL_INK_EM newly exported from src/lib/terminalLineHeight.ts, and in the runner launcher run.sh one trailing comment removed (bash parses the old and new file to byte-identical function bodies).
Under the owner's narrowed rule F, deleted comments of five kinds were put back on this branch by the merge pass's worker: 117 (security 49, trap 47, platform 7, measured 7, mixed 7), among them the shellcheck directive in job-started.sh that explains an intentional unquoted split. 300 notes of other kinds (race, fixture, sync, quirk, value, setting, ordering) stay deleted.
Low note: the Korean row-gap regression now imports the production ink measurement it checks.
…4087)
## What
#4049 (`scripts/`, part 4 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.
`run.sh`, `build-cache-promote.sh`, `hook-test-harness.sh`,
`relay-ios-sim.sh` are left out: the kit cannot yet prove a comment-only
change there (its shell and PowerShell readers lose track of a quoted
string partway through the file), so those notes wait for a kit fix.
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
### Committed: 92 files, +951 / -17 lines (the 17 are cut or reworded
comments replaced by their original wording)
| kind | findings | lines (approx.) |
| --- | --- | --- |
| security | 185 | 457 |
| platform fact | 103 | 207 |
| trap naming a concrete breakage | 83 | 188 |
| measured value | 15 | 19 |
| non-prose (install.ps1 reads `stopped `) | 2 | 2 |
| altered / cut mid-sentence, original wording back | 25 | 75 |
| Rust SAFETY | 0 | 0 |
The provers print nothing (prove_ts, prove_other) and verify.ts reports
`checked 92, problems 0`.
### Held, not committed (the kit reads them as "inside a string or
heredoc")
4 files, 83 findings, about 258 lines. Their whole diffs are in these
patches, which apply cleanly to main:
Most of these are security notes (41 findings).
### Security notes put back (committed)
- plugin.ts: token kept owner-only and out of herdr's log; settings
files hold the token; profile record read
from one descriptor, bounded; owner socket trusted only when owned,
mode-checked, not a link; door pinned per
command; no `authorization` on the owner socket; machine profile pairs
through the relay only; health never
falls back to TCP; `auth` fields; PC's terminal is the approver;
typed-ahead lines and pipes approve nothing;
digits re-read; signals take the code back; QR is a key, terminal only;
`phone` is the one Tailscale writer.
- plugin-tui.ts: OVIS_TOKEN/URL withheld from the TUI's environment.
- plugin.test.ts: token never printed, health asks only the owner
socket, TCP control, typed digits would approve,
pairing code replaced before the package check.
- privileged-jobs-workflow.test.ts: the runner-registration threat model
and rule set header; reviewed actions
at exact refs; artifact actions by any spelling; anything not read-only
counts as write; case variants
refused; reusable-workflow `if` checked repo-wide; no download by id;
Pages found by four signs; Release
hands the Mac app workflow every secret.
- pty-sidecar.ts, server-artifact.ts, server-install.ts,
server-manifest.ts, server-install.test.ts,
server-binary-workflow.test.ts: crate tree ties a host to sources; host
record removed first, never trusted;
manifest signature, version, size and SHA-256 checked before anything
changes; NoBinaryRelease only on 404;
https-only redirects; archive members without `..` or links; committed
key only, test key by option;
installed binary re-verified; Ed25519 over exact bytes; strict base64;
duplicate keys refused; schema
fail-closed; version check beside the signature; sign job leaves no key
line; deploy job never reads the key.
- release-ci-reuse.ts/.test.ts, release-validate-workflow.test.ts,
release-notes.ts: which CI run may stand
for a release; attempt-bound, skipped is not passed; one-line
annotation; restored builds sha256-checked;
Release restores no cache; effective token permissions; attest jobs
cannot tag or release; output parser
refuses extra lines; release notes cannot open a tag.
- self-hosted-runner.test.ts, job-started.sh, vm-runner.sh,
hook-test-container.sh: kill tests only behind a
proven guard; cache never writable; unclearable outbox means no cache;
own network namespace; root-owned
lock files; no other host mount; mirror bound to its repository; exact
repository name; only the proven
direct parent is signalled; name is not an executable; claim floods and
stale claims; fail-closed hook
header; pid digits only; token to config.sh only; DNS rule scope; never
a job without the firewall.
- relay-pairing-prompt, relay-panel, relay-shell, relay-media,
relay-dashboard(-fixtures), relay-e2e,
relay-join, relay-second-device-join: approve guards (focus, Tab,
double-click, labels); QR code taken
back on join; visitor and serve-only limits; relay switch closes the
device gate; non-extractable keys;
requests stay off the shell host; damaged or forged offers refused
before any socket; revocation clears
the key; push isolated per PC; render host runs no script before
consent; foreground-only session report;
CSP-only negative control.
- replay-clipboard, secret-input, terminal-input, terminal-early-keys,
terminal-attach, terminal-file-input,
sticky-modifiers, terminal-autoswitch, terminal-keyboard: replayed OSC
52 never copies (older bridge,
permission off, reconnect, pane switch, observer, retirement); secrets
masked, dropped on disconnect, never
drafted or held offline; no auto-replay before readiness; held drafts
not bypassed by keys or paste; a
newline in a path is not Enter; text dressed as a PNG refused; observers
get no control.
- portal-regression.ts, telemetry-regression.ts: `test-herdr.ts` import
keeps the user's session out;
telemetry keeps nothing from before an off and tells nothing while off.
Also pty-compare, ssh-integration,
ssh-password-docker, security-summary, revision-bound-update,
session-history, repo-diff, pwa-update,
push-health, prompt-dock: isolation, watch-only refusals, store-bound
Resume, auth boundary offline.
### Declined or already there (43)
- Traps without a concrete breakage (25): design reasons, test targets,
fixture gating (e.g. plugin.ts
HERDR_SOCKET precedence, prompt-dock focus choices, tab-menu "must not
open the gate").
- Measured values that only cite the demo's 4500 ms timer hold or
describe a settle loop (7); platform facts
that describe a fixture (2); one rewritten Vite note that kept its
meaning (service-worker-build.ts).
- PR-body claims (6), remote-bundle-smoke.ts XDG note already intact
(the PR's added one-line duplicate was
removed), HANGUL_INK_EM now documented at its constant in src/.
### For the owner
- privileged-jobs-workflow.test.ts's restored header (word for word)
predates #4058: rule 3 and "fails closed
on any other form" do not mention the pull-request Mac `runs-on` form
that #4058 accepts. The README's rule
list does not either.
Left out after review: the 40-line security header of
`scripts/privileged-jobs-workflow.test.ts`. #4049 dropped it on purpose
because `scripts/self-hosted-runner/README.md` ("Security model")
carries it, and its rule 3 predates #4058's pull-request Mac `runs-on`
form, so putting it back word for word would restore an out-of-date
rule.
## 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]>
…d from shell and PowerShell files (#4115)
## What
The restore PRs #4081, #4083 and #4087 put back the notes the comment
pass dropped but should have kept (security notes, traps that name what
breaks, platform facts, measured values). They held back eight shell and
PowerShell files, because the refactor kit's comments-only proof cannot
prove them (see "Kit proof" below). This PR puts back the notes in those
files.
| File | Dropped by |
|---|---|
| `install.sh`, `install.ps1` | #4040 |
| `scripts/ci-runner-route.sh`, `scripts/windows-install.test.ps1` |
#4047 |
| `scripts/self-hosted-runner/run.sh`,
`scripts/self-hosted-runner/build-cache-promote.sh`,
`scripts/self-hosted-runner/hook-test-harness.sh`,
`scripts/relay-ios-sim.sh` | #4049 |
The notes were written against older code, so each one was read against
the code beside it now. The second commit changes 12 that no longer
matched, for example:
- `run.sh`: the startup check covers the cgroup parent as well as the
CPU list (#4061), and runners also mount their build cache outbox.
- `install.sh`, `install.ps1`: the install lock is a pid file created
only where none exists, not the folder.
- `install.sh`: the herdr-core plugin build follows
`herdr-plugin.toml`'s pre-flight step (#3800).
- `windows-install.test.ps1`: the case reads `$state.badBinary`, not
`releaseDown`.
No code changes. One code line differs only in its comment:
`install.ps1`'s `} catch { $job = [IntPtr]::Zero }` gets its trailing
note back. No shellcheck or PSScriptAnalyzer directive comes back.
## Kit proof
`~/.dori-sa/kit/refactor-merge/proof.sh 4115` at 4769efc ends with
**FAIL**. Of the 8 files it proves 1 (`install.ps1`) and lists 7 as
differing. Each one's first difference is "inside a string or heredoc":
the kit's shell and PowerShell reader has lost track of the quoting by
then and reads the restored comment as string text. This is the misread
these files were held back for. Each file was checked again with the
language's own parser, base 9df15d6 against this head:
- `shfmt -mn` (shfmt 3.14.1's parser, which drops comments) prints the
same output for `install.sh`, `ci-runner-route.sh`, `run.sh`,
`build-cache-promote.sh` and `hook-test-harness.sh`.
- `relay-ios-sim.sh`: two of its notes are inside the `remote.sh`
heredoc, the script it runs on eamac. They are comments in that script,
but text to this one. `shfmt -mn` gives the same output for the
heredoc's script, and for the file with the heredoc emptied.
- `install.ps1` and `windows-install.test.ps1`: PowerShell 7.6's
`Parser.ParseFile` gives the same token list (comments and newlines left
out) on both sides, 6,005 and 10,476 tokens.
So this PR needs the owner's merge: the kit's rule is to merge only on
PASS.
## Validation
- `bun run check fast`: passed (18,673 unit tests, typecheck, build,
generated themes and types).
- `bash -n` on the six `.sh` files; `bun test
scripts/conventions.test.ts`.
- `git show HEAD~1 HEAD | grep -E '^[+-][^+-]' | grep -vE '^[+-]\s*#'`
prints only that `install.ps1` line.
Left open, not merged, on the owner's word.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
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 4 of 5 for
scripts/in the repo-wide comment pass. This part covers:plugin.tsandplugin-tui.ts(theoviscommand)pty-sidecar.ts,-attach.sh,-bench.ts) andpreflight.shprivileged-jobs-workflow.test.tsrelease-ci-reuse.ts,release-guards.ts,release-notes.ts)scripts/self-hosted-runner/*.shand its test)service-worker-build.tsAbout 4,400 comment lines go. What stays:
// fixed wait:run.sh's usage block, whichusage()prints withsed -n '2,8p'pty-sidecar.ts,release-guards.ts,release-ci-reuse.ts,roster-bench.ts,vm-runner.shand others./proc, zombies and pid reuse, POSIX signals, Windows processesprivileged-jobs-workflow.test.tslost its 40-line header:scripts/self-hosted-runner/README.md("Security model") carries all of it.Every comment-only change was checked against
origin/main: TypeScript by syntax tree, shell with whole-line comments dropped. No test, workflow, script or doc reads a deleted comment.This PR touches
scripts/self-hosted-runner/andscripts/self-hosted-runner.test.ts, so it waits for GitHub's checks, Hook kill tests included.Code changes (mechanical, no behaviour change)
scripts/replay-clipboard-demo-regression.ts: the clipboard payloads are writtenbtoa("history"),btoa("live")andbtoa("stale")instead of base64 literals with a comment beside them. Same values.scripts/relay-mux-benchmark.ts: the bare37ms probe interval isPROBE_INTERVAL_OFF_RTT_MS.scripts/sticky-modifiers-regression.ts:"\x1b[?2004l"isBRACKETED_PASTE_OFF.src/lib/terminalLineHeight.tsexportsHANGUL_INK_EM, andscripts/terminal-bundled-mono-regression.tsuses it instead of a copy of0.913.shellcheck disable=SC2086lines nothing reads (no shellcheck runs on scripts), injob-started.sh, and a trailing comment inrun.sh.Rules that only a comment stated (deleted, not enforced yet)
plugin.ts warnShadowedlogs only the names of shadowed keys, never their values, so a token never reaches herdr's log.secret-input-regression.tsuses only owned no-echo fixtures, never stores the entered value, and keeps no payloads in browser-test logs.ssh-integration.tsstops only the herdr daemons under the test's own HOME and never uses the user's socket.plugin.ts:ENV_FILESis declared beforeCONFIG_DIR.LIFECYCLE_WAIT_MSexceeds a start's two 20 s waits.STOP_TIMEOUT_MSmatches the supervisor's 6 s grace.pty-sidecar.ts:INSTALL_DEADLINE_MSstays under the updater's 120 s step, and the record is removed before the rename.pty-sidecar-attach.shuploads the manifest last.quiet-port.tsstarts at 20000 becauseserver/updater.test.tspicks below it.build-cache-promote.shandrun.sh: the claim-time and outbox order, and 2 s between containers.self-hosted-runner.test.tsruns its kill tests isolated only, and thehook-test-harness.shFIFO's write end stays with the harness.server-manifest.tsuses Node built-ins only (docs/development.md:922still says so).session-history-fixture-data.tsuses no browser or Bun globals.server-artifact.ts PTY_PINSchanges with a version bump.PROMPT_POLL_MSmatches ChatView's.telemetry-report.ts BUCKET_RANGESmatchescountBucket.tap-targetsTARGET/POINTERmatch the CSS tokens.Left open (redesigns, not done here)
plugin.ts:ownerDoorruns a dozen security checks inline.linkCommandalways hands on"link"for older releases.runningVersion's output line is parsed by Ovis for Windows.LIFECYCLE_LOCK's folder choice (Server: read a bounded tail of the plugin's server.log and keep one previous run #1611) is not visible in its name.plugin-tui.ts runTui: must register signal listeners before spawning.build-cache-promote.shuses bare return codes and-mminwindows, returns two values in one string, and has an implicit loop order.hook-test-harness.shandhook-test-container.shhave limits and modes that need names.job-started.shblocks under a non-bash shell, uses itsproc/psseam swapped by text, and splits words.run.sh:CHECK_HOST_MAX_RUNSis a sentence on purpose.SLOT_FILESports must matchcheck.ts.slot_networkdoes four jobs.vm-runner.sh's migration loop and back-off.server-install.ts withInstallLockhas a known race.server-artifact.ts ptyPackagetreats a brokenpackage.jsonas not installed.service-worker-build.ts's existence check and file policy regex.push-health,security-summary,tap-targetsandrepo-diffhold or copy the demo's 4500/2400 ms timers.session-history-fixture.tsxcopies App's target choice.roster-bench.ts's live-session guard belongs intest-herdr.ts.relay-dashboard-browser-qa.ts fleet(the handler is called beforeopenresolves).render-crash-demo-regression.ts's own click around a render race.tab-pick.ts clickTab(untrusted).terminal-imagescore/first,telemetry-report hidden,terminal-ghostty storedOff.terminal-input-regression.ts's minified recorder string.self-hosted-runner.test.ts'sprctl(36)(PR_SET_CHILD_SUBREAPER).Validation
bun run check fast: passed (18,568 unit tests, typecheck, build, generated files).shared/relay-mux-throughput.test.ts: passes.bash -non the edited runner scripts.server/compiled-server.contract.test.ts. CI runs them.🤖 Generated with Claude Code