Add deterministic file ordering in Builder.Build() #23

Open
opened 2026-02-09 01:05:40 +01:00 by clawbot · 0 comments
Collaborator

Phase 1 item from #10

Manifest output should be deterministic: sort file entries by path (lexicographic, byte-order) in Builder.Build() before serialization.

This ensures that two runs against the same directory tree produce byte-identical output, which is essential for reproducibility and signature verification.

Should include a test asserting byte-identical output from two independent runs against the same directory.

**Phase 1 item from #10** Manifest output should be deterministic: sort file entries by path (lexicographic, byte-order) in `Builder.Build()` before serialization. This ensures that two runs against the same directory tree produce byte-identical output, which is essential for reproducibility and signature verification. Should include a test asserting byte-identical output from two independent runs against the same directory.
clawbot self-assigned this 2026-02-09 01:05:40 +01:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/mfer#23
No description provided.