Repository navigation
Closed
Labels
Description
Parent
#2023 (ADR 0034; glossary: Setup, Visual evidence, User config, Credentials)
What to build
Extend Setup (through its Outside effects interface so unit and PTY tests run deterministically without hitting host package managers or the network) to check and optionally install or upgrade the host tools needed for pull request Visual evidence:
- Probe three host capabilities:
ghversion>= 2.103.2,ffmpegonPATH, and an installed Playwright headless Chromium binary in standard Playwright cache locations or via Playwright CLI. (Q2.8, Q3.2) - Run the probe and any interactive prompt after writing the User config (and Credentials when applicable):
- With no terminal, Setup emits a concise
PASSorWARNline naming any missing or outdated tool and printing OS-appropriate install/upgrade commands (brewon macOS,aptplus Playwright Chromium installation on Debian/Ubuntu Linux), runs no external installer commands, and exits0. - On an interactive terminal when all three checks pass, Setup reports
PASSand asks no install question. - On an interactive terminal when one or more checks warn, Setup prints the exact install/upgrade commands and offers a single
[y/N]prompt defaulting toN. AnsweringNor pressing Enter leaves the host unchanged; answeringyexecutes the commands in the foreground, re-probes, and reports the updated status, treating any installer failure or interruption at that stage as a warning so the already-saved User config and Credentials remain intact.
- With no terminal, Setup emits a concise
- Document Setup's Visual evidence check and interactive terminal offer in the user manual and regenerate the site manual page.
Acceptance criteria
- Non-terminal
thirdshift setupwrites the User config, printsPASSwhengh >= 2.103.2,ffmpeg, and headless Chromium are present orWARNwith OS-appropriate install/upgrade commands when any is missing or outdated, runs no installer, and exits0. - Interactive terminal
thirdshift setupasks no install prompt when all three tools pass, and prompts[y/N](defaultN) after saving User config and Credentials when any check warns. - Answering
Nor Enter runs no installer; answeringyruns the install/upgrade commands, re-probes, and reports updated status. - A non-zero installer exit or interruption during the post-save install step emits a warning without losing or rolling back the already-written User config or Credentials.
- The user manual and generated site docs cover Setup's Visual evidence check and pass documentation checks.
Activity
JacobStephens2 commentedon Nov 19, 2026
Closed by #2286, merged into issue-2023 by a thirdshift Ticket run with Self-merge.
Check and offer to install Visual evidence tools after Setup saves Ja…