claude-print/notes/bf-3vj.md
jedarden 86c51495a9 Add bf-3vj verification notes: install.sh already complete
install.sh was created in Phase 9 (commit 50b2132). Verified it passes
bash -n, covers x86_64/aarch64 musl targets, installs with -m 755 to
~/.local/bin, and runs claude-print --check post-install.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 01:46:35 -04:00

1.2 KiB

Bead bf-3vj: install.sh for claude-print binary

Status: Complete (pre-existing)

install.sh was created as part of Phase 9 (commit 50b2132). No changes were required.

Verification

bash -n install.sh → passes (POSIX-compatible /bin/sh shebang, set -e).

What install.sh does

  • Detects architecture (x86_64x86_64-unknown-linux-musl, aarch64aarch64-unknown-linux-musl)
  • Downloads claude-print-<TARGET> from https://github.com/jedarden/claude-print/releases/latest/download/
  • Backs up any existing binary to ~/.local/bin/claude-print.prev
  • Installs with install -m 755 to ~/.local/bin/claude-print
  • Optionally installs mock_claude (skippable via SKIP_MOCK_CLAUDE=1)
  • Installs claude-print.yaml to ~/.needle/agents/ if NEEDLE is present
  • Runs claude-print --check to verify the binary works before exiting

Acceptance criteria

  • bash -n install.sh passes
  • Downloads correct binary for platform from GitHub releases
  • Installs to ~/.local/bin/claude-print with executable permissions (-m 755)
  • Runs claude-print --check after install
  • POSIX-compatible (#!/bin/sh, POSIX constructs only)