Commit graph

4 commits

Author SHA1 Message Date
Snider
6ec9fa13fc fix(install): use latest release instead of hardcoded version
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Free Tier Security Scanners / semgrep (push) Waiting to run
Free Tier Security Scanners / trivy (push) Waiting to run
Free Tier Security Scanners / gitleaks (push) Waiting to run
Free Tier Security Scanners / osv-scanner (push) Waiting to run
Free Tier Security Scanners / checkov (push) Waiting to run
Free Tier Security Scanners / aggregate-findings (push) Blocked by required conditions
Bootstrap from Template / bootstrap (push) Waiting to run
Test Setup Scripts / Linux (Ubuntu) (push) Waiting to run
Test Setup Scripts / macOS (push) Waiting to run
Test Setup Scripts / Windows (push) Waiting to run
Test Setup Scripts / All Platforms (push) Blocked by required conditions
- install-core.sh: Auto-detect latest release via gh/curl (was hardcoded v0.1.0)
- install-core.ps1: Add Get-LatestVersion for build-from-source path
- install-deps.sh: Fix bash 3 compatibility (${var,,} → tr)
- README.md: Fix command (core health → core dev health)
- Fix CRLF line endings in shell scripts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 02:36:18 +00:00
unknown
15778b7a5f
fix: address CodeRabbit review feedback
- Separate local declaration from assignment to avoid masking errors (SC2155)
- Add exit code check after Homebrew installer execution
- Add exit code check after NodeSource setup script execution
- Add LASTEXITCODE check after Chocolatey installer execution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 02:00:26 +11:00
unknown
d9a8fe279e
security: harden shell scripts with integrity verification
- Add SHA256 checksum verification to install-core.sh binary download
- Add version pinning (v0.1.0) to install-core.sh matching PowerShell version
- Use mktemp for secure temp files instead of predictable /tmp/core
- Add symlink detection to prevent directory traversal attacks
- Add GPG signature verification for git tags when available
- Add checksum verification for Go binary in install-deps.sh
- Add SHA384 signature verification for Composer installer
- Replace Invoke-Expression with download-verify-execute in install-deps.ps1
- Download Homebrew/NodeSource scripts to temp files before execution
- Add security documentation and warnings for external scripts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 01:19:45 +11:00
Snider
64bf2e281e feat: add installation scripts for cross-platform setup
- Add Makefile for make-based workflow
- Add setup.sh / setup.bat for one-command bootstrap
- Add scripts/install-deps.sh for macOS/Linux dependencies
- Add scripts/install-deps.ps1 for Windows (Chocolatey)
- Add scripts/install-core.sh to build/download core CLI
- Add scripts/install-core.ps1 for Windows
- Update README with installation instructions

Developers can now run:
  macOS/Linux: ./setup.sh (or make setup)
  Windows: .\setup.bat (as Admin)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:57:30 +00:00