Commit Graph
6 Commits
Author SHA1 Message Date
FredApps 75017e2bdf craft-format: multi-line step detection, budget keeps every byte read, unreadable-entry test, place match when no identity survives 2026-11-16 05:25:45 +01:00
FredApps f299664d7c craft-format: string-aware step detection, live expanded budget, unreadable names refused, retention identity fixes 2026-11-16 05:07:48 +01:00
FredApps 07b5e88dce craft-format: block comments in step detection, room past budget, configured Deflate level, duplicate names, cached limits, whole-section/identity/top-level retention 2026-11-16 04:42:51 +01:00
FredApps f28df9c471 format: address the CodeRabbit review
- build: fail on unreadable folders/entries (only a missing pending/ is empty);
  detect a step by its declaration, not a substring
- container: commit part state only after the write; honour cancellation
  before each part and between pieces of a long one; count written parts in
  room(); bound the initial read to the approved length; enforce per-part
  limits when reading; check both thumbnail part limits before writing
- lib: crate-root deny lints; parse the legacy prefix on its own
- newer: retained container.json needs a container; index list anchors;
  report a retained field an edit replaced
2026-11-16 02:57:10 +01:00
FredApps 9e4431f9fa format: test the build-script lists and newer-file warnings, report and restore 2026-11-16 00:42:00 +01:00
Dylan M. Taylor 58854566ed feat: add craft-format (versioned JSON file formats)
Port from solidcraft: versioned JSON file format system with:
- Format families with hand-written upgrade steps and folded formats
- Pending changes that auto-number on release
- Container format: content-addressed blobs (SHA-256) in ZIP packages
- Newer file handling: read what you can, keep the rest

No external dependencies beyond serde_json and craft-zip.
Hostile-input bounded reading: sizes, counts, nesting capped.
2026-11-15 11:10:39 -05:00