Monk Loom

Federation Image v2 attachment

Wire elementValueMeaning
Section type12Canonical vfs-monk-neural-attachment JSON.
Required capabilitybit 3, value 8A reader must understand the attachment contract.
Manifest domainNEURAL\0The attachment digest contributes to source identity and image UUID.
Integrityordinary section recordSHA-256 covers exact stored bytes.

Reader invariants

Writer invariants

The Python writer accepts a typed MonkNeuralAttachment, never an arbitrary byte blob. The Perl writer validates canonical JSON through MonkLoom. Both reject orphaned and misbound attachments before serialization.

Mutation preservation

Python MutableImage and Pure-Perl V2Transaction snapshot the canonical attachment and pass it into bottom-up rebuilds. A normal file write changes the image generation while retaining the same attachment fingerprint. Accepting an adaptation is a separate explicit configuration change.