TASK-059: Signed Release Archive Packaging
July 20, 2026 ยท View on GitHub
Phase: MVP readiness Priority: high Status: done Area: distribution / release engineering
Description
Produce installable release archives so users can install Little Imp without cloning the repository. The archive should contain the daemon, packaged CLI, built frontend, installer assets, version metadata, checksums, and a signature or signature-ready manifest.
Scope
- Define the release archive layout for macOS and Linux.
- Add a repeatable packaging script for release artifacts.
- Include the production frontend bundle produced by
npm run build. - Include the daemon files needed by
daemon/install.sh. - Include the packaged
littleimpCLI entry point. - Generate SHA-256 checksums for each artifact.
- Add artifact signing or a documented signature hook suitable for local and CI release use.
- Update release documentation to describe the artifact format.
Acceptance Criteria
- A local command creates versioned release archive artifacts from a clean checkout.
- Archives include the built frontend, daemon runtime files, installer, CLI, platform files, and version metadata.
- A checksum file is generated for every archive.
- The release process supports signing or has a documented signing step that can be enforced before publication.
- Packaging output is covered by focused tests or a deterministic validation script.
Dependencies
- Should follow TASK-058 so release artifacts are based on verified MVP state.
Notes
- This is the primary task for closing the roadmap gap called "install without cloning the repository."
- Avoid introducing auto-update installation here; that belongs to TASK-061.
Completion Notes
- Added
npm run package:release, which builds the frontend and creates versioned macOS and Linux.tar.gzarchives underrelease/. - Release archives include
dist/, daemon runtime files, installer/platform assets,bin/littleimp,VERSION,RELEASE.json, internalCHECKSUMS.sha256, andSIGNING.md. - Added external
.sha256files andrelease-manifest.jsonwith expected detached.ascsignature paths. - Added
npm run release:validateto verify manifest artifacts and checksums, with--require-signaturesfor publication gates. - Added focused Vitest coverage for payload staging, checksums, missing runtime file failures, manifest signing metadata, and release artifact validation.
- Updated README, PRD, roadmap, and release checklist documentation for the archive format and signing workflow.