Commit Graph
3 Commits
Author SHA1 Message Date
bcherb2 01f77bceaa feat: manifest rows for the tools dev actually uses
A new laptop built from the manifest had no Claude Code, no beads, no jq and no
Go tooling, and its Nerd Font rows installed fonts-powerline, which is the
Powerline glyphs alone and not a Nerd Font.

New rows:
- agents/claude: Anthropic's native installer, downloaded to the run's
  workdir, checked non-empty, then run with bash (no pipe, no root).
- agents/beads, core/tea, core/bun: brew-only, @needs core/brew.
- core/jq, shellcheck, clang-format, gitleaks, xz: plain apt/brew rows.
- core/go-tools: gopls, goimports, golangci-lint and staticcheck through a
  new `go` channel that runs after the tarball and brew channels, because
  `go install` needs a go. Tools already in GOBIN are left alone.
- core/rust: rustup-init downloaded and checked, --no-modify-path because
  ~/.zshenv already sources ~/.cargo/env.
- virt/incus: invasive, never ticked for you.
- apps/claude-desktop (gui): on Linux, adds Anthropic's apt repository and
  refuses the signing key unless its fingerprint matches the published one.
  Mac uses the claude cask.
- apps/signal (gui): flathub org.signal.Signal, --user; signal cask on Mac.

Changed: the Nerd Font rows unpack the Nerd Fonts release into
~/.local/share/fonts and run fc-cache on Linux (they @needs core/xz). The pi
plugin spec adds pi-lens and pi-mcp-adapter. agents/specify-cli is dropped.
The uv channel stays, and its tests now run against a fixture row.
2026-11-18 02:01:01 -05:00
bcherb2 a538ab75dd fix: docker installs from Docker, never brew; VM guest rows
The docker-ce, buildx and compose rows named apt packages that only exist in
Docker's own repository, so on stock Ubuntu they fell through to brew. They
are a script channel now: get.docker.com downloaded to the run's workdir and
run from the file on Linux, Docker Desktop's DMG installer on macOS. One
install serves all three rows; the plugin rows report its outcome.

Also adds virt/guest-agent and virt/spice-vdagent, with tests and README.
2026-11-18 01:41:43 -05:00
bcherb2 042320208e test: seal the fake PATH instead of prepending it
The old harness put .tests/fakebin at the front of $PATH, which fails OPEN: a
package manager with no fake fell through to the real one, and an audit of this
suite invoked the host's actual `brew`. The twelve one-line fakes are replaced
by a single dispatcher every fake symlinks to, plus seal.sh, which builds the
WHOLE of $PATH for a run — real binaries for the pure tools, fakes for anything
that installs, downloads or needs root, and command-not-found for everything
else. Runs go under `env -i` so they inherit nothing.

Two audits ship with it: any `have`/`find_tool` probe the seal has never heard
of is an error, and the four absolute paths find_tool probes are written to
.shadowed so a test needing a tool to be genuinely absent can say so.

The dispatcher also fails on demand (FAKE_FAIL), which is what makes the
installers' failure paths reachable at all — the apt and npm one-at-a-time
retries, note_fail, and cmd_install's non-zero exit had all been unreachable,
and all three survived being deleted outright.

_curl stands in for every remote the installer talks to and for nothing else:
an unrecognised URL is a failed download, so a typo'd host shows up as the
failure it would really be. The fzf fake records its argv, which is what makes
the picker's bindings testable.
2026-08-21 22:34:30 -04:00