Commit Graph
3317 Commits
Author SHA1 Message Date
DottaandClaude Fable 5 5f3f71a5e7 test(install): bootstrap e2e CLI via npm pack tarball install
Running cli/dist/index.js in-checkout fails after build-npm.sh swaps in the
publishable package.json (externals like zod are not linked by pnpm). Pack
and npm-install the tarball instead — the same layout npm users get.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 18:13:56 +00:00
DottaandClaude Fable 5 d65836a155 test(install): add clean-machine install lifecycle e2e script
Proves install --canary / install --ref (build-from-GitHub) / update --check /
update --rollback / payload reuse / bad-ref hygiene / service lifecycle /
uninstall-preserves-data on a pristine machine. Used by the PAP-14994
Docker + GitHub Actions verification matrix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 18:06:55 +00:00
DottaandPaperclip c9f7fdff50 fix(installer): block piped privileged bootstrap
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 16:10:44 +00:00
DottaandPaperclip 02f9cac163 fix(cli): recover installs and confirm git updates
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:52:52 +00:00
DottaandPaperclip cff904bfd2 fix(cli): reject systemd directive injection
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:36:22 +00:00
88408b2884 fix(install): build git checkouts hermetically against NODE_ENV=production
installGitPayload's in-checkout pnpm install inherited ambient
NODE_ENV=production, so pnpm omitted devDependencies (esbuild) and
build-npm.sh failed with ERR_MODULE_NOT_FOUND. Strip NODE_ENV from the
env of every build/pack command run inside the checkout so source
installs succeed on hosts that export NODE_ENV=production globally
(PAP-15205).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:36 +00:00
8c0ee1fc8c fix(installer): align install.sh help with git-ref gate
install.sh advertised --ref/--repo in usage() while unconditionally
rejecting them. Remove them from the help text, use a supported env
example, and point the rejection error at the CLI's working
'paperclipai install --ref' path. (PAP-15204)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:36 +00:00
DottaandPaperclip ce9db23bf3 fix(cli): stage git install workspace closure
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 42c561cbdb fix(release): install only bundled staging dependencies
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 60e3ef657b fix(release): stage bundled packages without registry workspace fetches
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip a7e5e28229 fix(install): scope postgres patch and surface rollback failures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 14df3c37e9 fix(db): preserve child process spawn overloads
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip bcec510631 fix(cli): harden activation and service writes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 6feacab361 test(installer): pass explicit noninteractive consent
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 871dbe0302 fix(cli): secure git installs and restart locks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 0f5a674ea0 fix(server): clear stale workspace finalize blockers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip ae7ca9b456 chore: exclude generated lockfile from install change
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip c9559a5d90 fix(service): make managed installs start reliably
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 8925d3f38a fix(cli): escape launchd service names
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 8a7d9c1040 fix(cli): serialize same-instance restarts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 38dadbf5ba fix(installer): require explicit noninteractive consent
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip fda763e27a docs(cli): align update options with implementation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 388978397e fix(cli): harden managed lifecycle coordination
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 7fd6e8d829 fix(doctor): ignore empty managed install stores
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip ade8761ae3 fix(cli): ignore update cache in managed install doctor
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 5b61cf1f63 test(installer): make fixture logging atomic
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip c7d8e0fe59 test(cli): cover final installer hardening
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip b9df8bf4f5 fix(installer): pin npm registry trust boundary
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 94b68d2437 fix(cli): allow cached managed reinstalls
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip dc06b610b9 feat(cli): add managed GitHub ref installs
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip a491790319 chore: retrigger PR policy checks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 66d9c9860a fix(cli): avoid guessed restart versions
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip eeaec78627 feat(cli): add managed update and rollback
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip e64d383b6f fix(cli): preserve installs when service state is unknown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 06e8d2f387 fix(installer): harden dry runs and unit escaping
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 7a22677471 fix(cli): fail closed on install locks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip c15a35fb8f fix(cli): serialize managed uninstall
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 6eda77574e fix(cli): harden managed install store
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 0a4651232c fix(installer): verify third-party bootstrap scripts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 9f0aa2ac75 fix(cli): make bootstrap options explicit
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 49503ddba4 fix(cli): harden service lifecycle edge cases
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 247ed753b2 fix(cli): align installer flags and restart health
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip d38ac01af5 chore: retrigger PR policy checks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip a45ba82d94 chore(cli): clean installer smoke script whitespace
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip c858e7364c fix(cli): harden managed install filesystem writes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 8354cecede fix(cli): harden install integration checks
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:13 +00:00
DottaandPaperclip 1c5b6c1caf feat(cli): integrate managed install workflows
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:12 +00:00
DottaandPaperclip 3bfeba5835 feat(cli): add managed npm install store
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:12 +00:00
DottaandPaperclip 3c1666e318 docs: document installer raw fallback
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:12 +00:00
DottaandPaperclip b4b596503d feat(cli): add managed service lifecycle
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-27 15:32:12 +00:00