Correct scanner accounting and verify release packaging #2

Open
gamertan wants to merge 9 commits from sizequeen-scan-hardening into main
Owner

Sized could double-count allocated hard links and present incomplete scans as successful totals. This branch preserves filesystem errors, counts hard-link allocation deterministically, and exposes controlled scans for native consumers. The CLI returns nonzero status for partial results and adds explicit JSON completeness and optional filesystem boundaries.

Release archives now include the executable before archiving, along with licence, documentation, completions, target/source metadata and a SHA-256 checksum. Packaging refuses existing outputs, including dangling archive symlinks, and no longer implicitly builds platform installers. README, manual and Cargo links reflect the actual public release and the Sized/SizeQueen relationship.

Validation: macOS arm64 archive extraction, checksum, packaged-executable smoke, overwrite/dangling-symlink refusal and Cargo/Make installation into temporary prefixes pass. On source 77b11a8c29, cliff-mads push run 1065 and PR run 1066 passed: all 23 tests including real mount boundaries, formatting, strict Clippy, release smoke, the same archive verification and unchanged-checkout enforcement. Earlier scanner evidence also covers Linux ARM64.

Review the CLI exit-status/JSON and public library API changes before merging and selecting a release version. Sized retains its scanner copy and remains independently fetchable; private sized-core adoption is separate. No new tag or binary release is created by this PR.

Project: https://gamertan.com/projects/sized/

Sized could double-count allocated hard links and present incomplete scans as successful totals. This branch preserves filesystem errors, counts hard-link allocation deterministically, and exposes controlled scans for native consumers. The CLI returns nonzero status for partial results and adds explicit JSON completeness and optional filesystem boundaries. Release archives now include the executable before archiving, along with licence, documentation, completions, target/source metadata and a SHA-256 checksum. Packaging refuses existing outputs, including dangling archive symlinks, and no longer implicitly builds platform installers. README, manual and Cargo links reflect the actual public release and the Sized/SizeQueen relationship. Validation: macOS arm64 archive extraction, checksum, packaged-executable smoke, overwrite/dangling-symlink refusal and Cargo/Make installation into temporary prefixes pass. On source 77b11a8c29b5ca3435fdd962717f8e8285abe972, cliff-mads [push run 1065](https://gitea.speelman.ca/gamertan/sized/actions/runs/1065) and [PR run 1066](https://gitea.speelman.ca/gamertan/sized/actions/runs/1066) passed: all 23 tests including real mount boundaries, formatting, strict Clippy, release smoke, the same archive verification and unchanged-checkout enforcement. Earlier scanner evidence also covers Linux ARM64. Review the CLI exit-status/JSON and public library API changes before merging and selecting a release version. Sized retains its scanner copy and remains independently fetchable; private sized-core adoption is separate. No new tag or binary release is created by this PR. Project: https://gamertan.com/projects/sized/
gamertan added 7 commits 2026-10-10 03:57:34 -04:00
gamertan added 1 commit 2026-10-10 04:00:55 -04:00
Keep package targets explicit and reject existing archive symlinks
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (push) Successful in 4m57s
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (pull_request) Successful in 5m0s
77b11a8c29
gamertan added 1 commit 2026-10-10 04:09:33 -04:00
Record live Sized project and verified release cleanup
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (pull_request) Successful in 4m56s
c2cc458f27
All checks were successful
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (pull_request) Successful in 4m56s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin sizequeen-scan-hardening:sizequeen-scan-hardening
git checkout sizequeen-scan-hardening
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gamertan/sized#2