Skip to content

docs: fix binary install location documentation#42

Merged
beonde merged 1 commit intomainfrom
fix/docs-p2-install
May 2, 2026
Merged

docs: fix binary install location documentation#42
beonde merged 1 commit intomainfrom
fix/docs-p2-install

Conversation

@beonde
Copy link
Copy Markdown
Member

@beonde beonde commented May 2, 2026

Summary

Fixes incorrect binary install location in documentation.

Issues Fixed

  • P2-9 (Medium): Docs reference wrong binary installation path

Changes

  • Updated binary location references to match actual install behavior

Binary installs to <package>/bin/ first, with ~/.capiscio/bin as
fallback when package dir is read-only. Download is lazy (no
postinstall). Docs previously only documented the fallback path.

Fixes: DOCS_REMEDIATION_PLAN P2-9
Copilot AI review requested due to automatic review settings May 2, 2026 17:04
@beonde beonde merged commit ecb92f4 into main May 2, 2026
7 checks passed
@beonde beonde deleted the fix/docs-p2-install branch May 2, 2026 17:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates end-user documentation to describe where the wrapper installs/caches the capiscio-core binary, aligning docs with the wrapper’s runtime download behavior.

Changes:

  • Updated docs to describe a primary install location under the package directory with a home-directory fallback.
  • Clarified that downloads happen lazily on first command (no postinstall).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/index.md Updates the high-level “What this package does” description of binary caching and first-run download behavior.
docs/getting-started/installation.md Updates installation guide language and lists primary/fallback binary locations.
README.md Updates “How it Works” section to describe primary/fallback binary locations and lazy download behavior.

- **macOS/Linux**: `~/.capiscio/bin/`
- **Windows**: `%USERPROFILE%\.capiscio\bin\`
- **Primary**: `<package>/bin/capiscio` (alongside node_modules)
- **Fallback**: `~/.capiscio/bin/capiscio` (if package dir is read-only)
Comment thread README.md
Comment on lines +59 to +61
- **Primary**: `<package>/bin/capiscio` (alongside node_modules)
- **Fallback**: `~/.capiscio/bin/capiscio` (if package dir is read-only)
- *Windows fallback*: `%USERPROFILE%\.capiscio\bin`
Comment thread docs/index.md

1. **Downloads** the correct `capiscio-core` binary for your platform (macOS/Linux/Windows, AMD64/ARM64)
2. **Caches** the binary in `~/.capiscio/bin` (or `%USERPROFILE%\.capiscio\bin` on Windows)
2. **Caches** the binary in `<package>/bin/` (primary) or `~/.capiscio/bin` (fallback if package dir is read-only)
Comment on lines +47 to +49
- **Primary**: `<package>/bin/capiscio` (alongside node_modules)
- **Fallback**: `~/.capiscio/bin/capiscio` (if package dir is read-only)
- **Windows fallback**: `%USERPROFILE%\.capiscio\bin\`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants