Skip to content

Probe Visual evidence host tools in Setup and offer interactive terminal installation #2283

Closed

Description

@JacobStephens2

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: gh version >= 2.103.2, ffmpeg on PATH, 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 PASS or WARN line naming any missing or outdated tool and printing OS-appropriate install/upgrade commands (brew on macOS, apt plus Playwright Chromium installation on Debian/Ubuntu Linux), runs no external installer commands, and exits 0.
    • On an interactive terminal when all three checks pass, Setup reports PASS and 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 to N. Answering N or pressing Enter leaves the host unchanged; answering y executes 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.
  • 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 setup writes the User config, prints PASS when gh >= 2.103.2, ffmpeg, and headless Chromium are present or WARN with OS-appropriate install/upgrade commands when any is missing or outdated, runs no installer, and exits 0.
  • Interactive terminal thirdshift setup asks no install prompt when all three tools pass, and prompts [y/N] (default N) after saving User config and Credentials when any check warns.
  • Answering N or Enter runs no installer; answering y runs 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

  1. added
    enhancement
    ready-for-agent
    on Nov 18, 2026
  2. JacobStephens2 commented on Nov 19, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #2286, merged into issue-2023 by a thirdshift Ticket run with Self-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions