Context
When a user installs the client via scripts/install.sh (macOS/Linux) or scripts/install.ps1 (Windows), also install the tracebloc CLI (tracebloc/cli) so they can tracebloc dataset push ./data against the client they just set up — no separate install step.
Approach
- New
scripts/lib/install-cli.sh with install_tracebloc_cli() that reuses the CLI's own released, signed installer (curl -fsSL https://github.com/tracebloc/cli/releases/latest/download/install.sh | sh) — inherits SHA256 + cosign verification and 8-arch detection, no duplication.
- Non-fatal: a CLI-install failure must never break the
✔ Connected to tracebloc success (set -e is on) — warn + 'install later' hint, never error.
- New Step 5/5 after
wait_for_client_ready; renumber step N 4→N 5 + print_roadmap.
- Wire
install-cli.sh into the bootstrap FILES=() in install.sh.
- Windows parity: equivalent
Install-TraceblocCli in install-k8s.ps1 (via the CLI's install.ps1), Step 5/5.
- Summary: add
tracebloc dataset push ./data to 'What to do next'.
- Docs:
docs/INSTALL.md. Tests: bash -n/shellcheck + a bats non-fatal case; PS parse check.
Acceptance criteria
- Installing the client (bash + PowerShell) installs
tracebloc and a fresh shell resolves it.
- CLI-install failure leaves the client install succeeding (non-fatal).
- Targets
develop.
Context
When a user installs the client via
scripts/install.sh(macOS/Linux) orscripts/install.ps1(Windows), also install the tracebloc CLI (tracebloc/cli) so they cantracebloc dataset push ./dataagainst the client they just set up — no separate install step.Approach
scripts/lib/install-cli.shwithinstall_tracebloc_cli()that reuses the CLI's own released, signed installer (curl -fsSL https://github.com/tracebloc/cli/releases/latest/download/install.sh | sh) — inherits SHA256 + cosign verification and 8-arch detection, no duplication.✔ Connected to traceblocsuccess (set -eis on) — warn + 'install later' hint, nevererror.wait_for_client_ready; renumberstep N 4→N 5+print_roadmap.install-cli.shinto the bootstrapFILES=()ininstall.sh.Install-TraceblocCliininstall-k8s.ps1(via the CLI'sinstall.ps1), Step 5/5.tracebloc dataset push ./datato 'What to do next'.docs/INSTALL.md. Tests:bash -n/shellcheck + a bats non-fatal case; PS parse check.Acceptance criteria
traceblocand a fresh shell resolves it.develop.