Commit Graph
3 Commits
Author SHA1 Message Date
Claude ee1ba9a4ad test(packaging): cover malformed manifests with a valid hash
Invalid JSON, missing or null required fields, an unknown format version, an
unsafe product name and an empty component list are all reported as corrupt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:26:21 +00:00
Claude fc8df1f411 feat(packaging): add staged install transaction and logged file removal
Extracted files land in a staging folder inside the target and are moved into
place with backups of replaced files; a failed move rolls everything back.
Removal deletes only logged payload paths and prunes folders left empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:56:37 +00:00
Claude d79ab1e41b feat(packaging): add TPK1 self-extracting payload format
Installer payload appended to the setup program: JSON manifest (components,
files with size/SHA-256/offsets/mtime, shortcuts, file types) plus deflate or
stored entries and a 64-byte footer with the manifest hash. The reader finds
the footer before an Authenticode table, validates every offset, rejects
unsafe paths and bounds inflation by the declared size; the writer is
deterministic, deduplicates identical content and strips a signed stub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:56:37 +00:00