Skip to content

[comment audit] consolidate runtime, desktop and shared comment cleanup - #33011

Closed
OrcaWin wants to merge 192 commits into
mainfrom
OrcaWin/comment-audit-runtime-files
Closed

OrcaWin wants to merge 192 commits into
mainfrom
OrcaWin/comment-audit-runtime-files

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 1212 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3215 $\color{#cf222e}{\Huge{\mathbf{−}}}$​10242 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7027
Prod 1788 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​7114 $\color{#cf222e}{\Huge{\mathbf{−}}}$​21203 $\color{#cf222e}{\Huge{\mathbf{−}}}$​14089

ELI5

Remove redundant and stale comments while retaining constraints the code cannot explain. Consolidate the accumulated audits into one CI and merge unit.

What Changed

Review 8,818 files across host services, runtime/SSH, desktop integration, shared contracts, recovery UI, activity and artifacts. The combined diff edits 6,008 comment-only files plus five existing E2E fixtures, removing 46,659 net lines against current main. It absorbs #33043 and #33077.

Preserve ownership fences, security and durability constraints, mixed-version compatibility, platform boundaries, licenses, directives and SAFETY rationales. Generated shell/plugin changes preserve executable content. Newer main behavior is retained in the overlapping mobile-status, resume-tree, title-matching, child-roster, journal and socket-liveness files.

The five E2E fixtures improve inventory/terminal readiness and SSH link targeting. The SSH test waits until fitting and painting agree before measuring the link after split reflow; both navigation paths and remote-request assertions remain required. These fixtures are byte-identical to the head whose 78 CI checks, including the aggregate gate, passed before main advanced.

The two native IME jobs also restore ubuntu-22.04 runners: their isolated-desktop safety guards require GitHub-hosted runners, so the Blacksmith runner labels fail deterministically before testing input. The guards remain intact.

Why

Keep the audit reviewable as a consolidated batch and avoid independent full CI runs for each accumulated draft. The tracker and audit tooling remain local, outside the repository.

Visual Proof

N/A — no product UI or interaction changes.

Testing

Full local typechecking and changed-code quality gates pass. Source/emitted AST and executable-token equivalence pass for 6,007 audit TS/JS files, including generated OpenCode/Pi variants; the Bash snapshot and shell templates preserve non-comment content. Protected comments pass across all 6,013 changed files. Formatting, diff checks and normal commit hooks pass.

Bounded affected-unit validation covered 1,833 test entrypoints: 23,650 test executions passed and 346 were skipped. The sole desktop failure (the Bash DEBUG-trap lifecycle case) also reproduces on unchanged main; the entire 23-test suite passes in a clean local node:24-bookworm container. After merging latest main, another 350 tests passed with 17 skips across 27 affected entrypoints. All 26 tests in the five newly updated mobile suites also pass.

The managed-SSH browser-link fixture previously passed locally once plus three consecutive repetitions on an isolated X display with ORCA_BACKGROUND_LAUNCH=1, covering the real Docker SSH host, popover/modifier navigation and remote responses. The E2E typecheck ratchet passed without growth. WSL readiness fixtures passed all nine launch/paste executions plus native Windows/WSL image checks in workflow 40063986432.

The runner repair passed 72 local workflow/receipt/route contract tests. Both real native IME lanes passed targeted workflow 40083331359 on the exact two-line runner change before publication.

The final consolidated head requires every fresh CI check and the aggregate gate to pass before merge.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer content changed.

@blacksmith-sh

This comment has been minimized.

@OrcaWin OrcaWin changed the title [comment audit] Consolidate host, runtime and SSH comment cleanup [comment audit] consolidate runtime, desktop and shared comment cleanup Oct 24, 2026
@blacksmith-sh

This comment has been minimized.

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