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.
This commit is contained in:
1 parent
d09ba0f941
commit
01f77bceaa
7 files changed
+438
-29
No files matched your search
+24
-1
@@ -8,7 +8,8 @@
|
||||
# FAKE_BOOT_PW the password that gets a 200; anything else gets a 401
|
||||
# FAKE_BOOT_CODE force a code (404, 000, 500 ...) whatever the password
|
||||
# FAKE_BWS_SUMS match (default) | mismatch | absent
|
||||
# FAKE_FAIL=curl:deb | curl:chezmoi | curl:fzf | curl:docker
|
||||
# FAKE_FAIL=curl:deb | curl:chezmoi | curl:fzf | curl:docker | curl:claude
|
||||
# | curl:rustup | curl:font | curl:claude-desktop
|
||||
# fail just that one download
|
||||
|
||||
_fb=$(dirname "$0") # the fakebin directory
|
||||
@@ -57,6 +58,28 @@ case $url in
|
||||
# FAKE_FAIL=curl:docker is that download failing.
|
||||
[ "$mode" = docker ] && exit 22
|
||||
installer docker "\$HOME/.local/bin" | emit; exit 0 ;;
|
||||
# Claude Code's native installer and rustup-init, both downloaded to a file
|
||||
# and run from it, the docker shape. Each stand-in drops the fake of the same
|
||||
# name where the real one would put it, so the post-install `have` is real.
|
||||
https://claude.ai/install.sh)
|
||||
[ "$mode" = claude ] && exit 22
|
||||
installer claude "\$HOME/.local/bin" | emit; exit 0 ;;
|
||||
https://sh.rustup.rs)
|
||||
[ "$mode" = rustup ] && exit 22
|
||||
installer rustup "\${CARGO_HOME:-\$HOME/.cargo}/bin" | emit; exit 0 ;;
|
||||
# The Claude Desktop apt repository's signing key. Its fingerprint is what the
|
||||
# fake gpg reports, so the key's content here does not matter -- only that it
|
||||
# arrived.
|
||||
https://downloads.claude.ai/claude-desktop/key.asc)
|
||||
[ "$mode" = claude-desktop ] && exit 22
|
||||
printf -- '-----BEGIN PGP PUBLIC KEY BLOCK-----\nfake\n' | emit; exit 0 ;;
|
||||
# A Nerd Fonts release: a real .tar.xz holding one .ttf named for the family,
|
||||
# so the extract and the "already installed" probe both have something to see.
|
||||
https://github.com/ryanoasis/nerd-fonts/releases/latest/download/*.tar.xz)
|
||||
[ "$mode" = font ] && exit 22
|
||||
f=${url##*/}; f=${f%.tar.xz}
|
||||
d=$(mktemp -d); : > "$d/${f}NerdFont-Regular.ttf"
|
||||
tar -cJf - -C "$d" . | emit; rm -rf "$d"; exit 0 ;;
|
||||
*go.dev/VERSION*)
|
||||
echo go1.99.0; exit 0 ;;
|
||||
*api.github.com*)
|
||||
|
||||
Reference in new issue
Block a user