feat(install): bootstrap authenticated releases in user and system scopes #184
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.71) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.71 · 548 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.377
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.071
Real PR Conversation Timeline
1 comments
"Review active on #184"
general
weight: 0.35
jdx
<!-- entire-trail-link-start -->
https://entire.io/gh/jdx/packslip/trails/61
<!-- entire-trail-link-end -->
Package-manager bootstraps can install an authenticated release with
packslip install owner/repo, preserving its complete runtime tree while exporting only the declared commands. User and system scopes keep persistent trust and ownership state on Unix and Windows; output-directory overrides retain that state. Windows exports use native launchers without Developer Mode.The command combines forge or host discovery, authenticated list freshness, repository-ID continuity, independent administrator/caller constraints, exact trust-change approvals, host checks, bounded extraction, and recoverable replacement.
--forcecan replace conflicting commands and unmarked trees while enforcing trust and protected-path checks. Root uses fixed system state and ignores user configuration.--offlinerequires cached authenticated metadata; a failed artifact install still preserves accepted list history.Distribution builds use
--no-default-features --features install-cli, including installation and verification without publishing or schema generation. The bootstrap guide documents scope defaults, recovery, offline behavior, and the remaining publisher adoption checks. Bootstrap forge discovery currently supports GitHub; resources remain metadata and are not executed or separately exported.Validated with the full feature and library-only suites, installer Clippy, generated documentation checks and visual inspection, and native installer fixtures on macOS ARM64, Linux x64, and Windows x64. Fixtures cover complete-tree execution, arguments/exit status, relocation, rollback/withdrawal protection, digest/version rejection, key rotation, and administrator constraints. CI runs the installation layers on all five target platforms. Real mise/rustup/uv/pnpm setup and self-update adoption remains unverified.
Stacked on #177.
AI-assisted — Tool: Codex; model: unavailable; version: unavailable.
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added a
packslip installcommand to install authenticated upstream releases, with options for version, installation scope and location, variants, offline use, trust controls, and archive limits.Installation preserves the complete release tree and exports declared commands without running downloaded code or changing shell configuration.
The default CLI build now includes installation support.
Documentation
Added installation guidance covering supported sources, trust and recovery behavior, paths, and configuration.
Quality
Expanded automated checks for installation behavior and CLI documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->