Preview fixed VHD creation #12
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
phg/iodd-tool#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
IODD Tool specification
What to build
Choose a destination and virtual capacity, then preview exact VHD length, required allocation, and creation eligibility before any write.
Acceptance criteria
Blocked by
Validation contract
Completion requires the applicable independently checked software evidence in Set validation gates and the implementation handoff. A closed policy decision does not establish that implementation tests have passed. Use disposable images/virtual volumes and controlled faults; no hardware-trial or performance gate applies.
Scope
This ticket belongs to the later implementation effort. All planning decisions are resolved; current work covers tracker and documentation updates. The parent specification indexes the authoritative product and software-validation contracts. Forgejo governs live updates; retained local files record the handoff.
Resolution — fixed VHD creation preview implemented
Implemented on implement/iodd-tool-spec-7, implementation f251bf8, integration merge a133e4d.
The native creation form and public preview API apply exact binary MiB/GiB decimal arithmetic, alignment/minimum/ceiling/FAT32 limits, explicit corrections, footer-inclusive EOF and cluster allocation. Existing directory records, actual FAT32/exFAT collation and short-alias reservations implement create-only destination checks. The preview reserves one complete image run plus separate supported directory/metadata allocation and conservative serialized/replay recovery workspace on the Mac. Total-space/run/workspace/collision/unsupported/stale outcomes are distinct; preview performs no writes. Compact remains a separate reviewed operation followed by fresh analysis and a renewed Create request.
Validation: all61 integrated public-operation tests pass on Xcode27.0/27A266a Swift6.4, including exact fraction/overflow/limit/one-sector-beyond/footer-crossing boundaries without enormous files, directory growth/collisions and unchanged image hashes. Independent literal reservations and native read-only collation checks agree. Native macOS26.6.2/25G83 checks exercise default1GiB exactC/L/A/32769-cluster explanation, byte-preserving MiB/GiB switches, misalignment correction with explicit renewed preview, create-only collisions, policy/guest explanation and stale invalidation. Release executable is arm64; plist and binary minimumOS15.0 are verified.
Reproducible evidence and native screenshot. The disabled execution control accurately reflects the remaining image execution/recovery slices13/14. Actual exclusive revalidation, complete zero initialization/readback and publication remain those tickets; baseline/current-stable release qualification remains the later gate.