Repository navigation
Probe and offer Visual evidence host tool installation in Setup - #2286
Merged
Merged
Conversation
This was referenced Nov 19, 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
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.
Summary
Updates the user manual, generated manual and hand-written Setup introductions. Probes and installers cross Setup's
Outsideeffects interface; deterministic tests use fake host tools and package managers.Closes #2283
Evidence
Execution evidence
Seams: Setup through
Outside; compiledthirdshift setupthroughScenario, including a real PTY and fake host executables.cargo test --test setup visual_evidence_without_a_terminal_warns_after_saving_and_never_installsfailed:0 passed; 1 failed; stderr only reportedthirdshift: wrote the User config ...without the required Visual evidence status.After: the same command passed:
1 passed; 0 failed.cargo test --test setup visual_evidence_installer_stops_for_a_signal_sent_only_to_setupfailed withthe terminal command did not exitafter signaling Setup during installation.After: the Visual evidence integration run passed this regression, including terminal restoration and saved settings.
cargo test --test setup visual_evidence_accepts_existing_playwright_headless_shell -- --exactfailed withVisual evidence: WARN (need Playwright Chromium executable).After: the identical command passed:
1 passed; 0 failed. The retained regression covers the Spec finding.54 passed; 0 failed. Visual evidence integration tests cover unattended status, the gh version threshold, cache executables, default-No consent after saving Credentials, foreground installation and re-probing, installer failure, Ctrl-C, and signaling Setup alone.npm run docs:check --prefix site: passed.npm test --prefix site: passed.scripts/affected-tests refs/remotes/origin/issue-2023: site checks passed. Its local Rust run had compiled the PTY fixtures before their final prompt-answer updates and stopped at the unanswered install prompt. Rebuilt the final fixtures and rancargo test --test setup --test muse_sessions --test opencode_sessions --test setup_lifetime --test setup_offer: 85 passed, 0 failed. Full Rust coverage passed in CI for694c0479; reused that result instead of repeating a full run on an already covered head. The local full run also passed all 1,976 active unit tests before reaching the stale fixture.Visual evidence
Paired captures of the manual, homepage Setup introduction and How it works Setup introduction, at matching desktop and mobile viewports. Published as GitHub attachments per ADR 0034.
Before — User manual Setup, desktop 1440×900
After — User manual Setup, desktop 1440×900
Before — User manual Setup, mobile 390×844
After — User manual Setup, mobile 390×844
Before — Homepage Setup, desktop 1440×900
After — Homepage Setup, desktop 1440×900
Before — Homepage Setup, mobile 390×844
After — Homepage Setup, mobile 390×844
Before — How it works Setup, desktop 1440×900
After — How it works Setup, desktop 1440×900
Before — How it works Setup, mobile 390×844
After — How it works Setup, mobile 390×844
Review coverage
Independent Standards and Spec reviewers compared against
refs/remotes/origin/issue-2023(6d8afeee51f1af1e142f00d52c2783f479bb512e) and inspected the follow-up fix. Standards: 0 findings. Spec: 1 finding, reproduced with its exact regression command and fixed; no additional findings.Both axes read all eleven changed files:
src/setup.rs,src/setup/visual_evidence.rs,tests/setup.rs,tests/muse_sessions.rs,tests/opencode_sessions.rs,tests/setup_lifetime.rs,tests/setup_offer.rs,docs/guide.md,site/docs/index.html,site/index.html, andsite/how-it-works/index.html. The four additional PTY fixtures explicitly decline the new install offer. No changed file was left unread. No generated output was excluded; the generated manual hunk was read. Reports and final files-read lists are retained in.thirdshift-review-qeh6ft/standards.mdand.thirdshift-review-qeh6ft/spec.md, with counts insummary.json.Unaddressed findings
Standards
None.
Spec
None. The existing Playwright headless-shell layout finding was fixed and its regression retained.
Security
None. The working-directory
.npmrcandnode_modulesnpxhijack finding invisual_evidence::installwas fixed in an isolated0700directory underhome/.thirdshift, and its regression tests intests/setup.rswere retained.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Setup changes can be reverted. An opted-in installation changes host packages and GitHub's apt repository configuration; Setup prints those commands before consent.
Blast Radius: Setup
Host installation is opt-in on a terminal. Tests run stand-ins, without live package-manager or browser downloads.
Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh