Skip to main content

Module origin_resign

Module origin_resign 

Source
Expand description

A fork’s copy of its parent’s transcript, signed for the fork (docs/specs/SPEC_MESSAGE_ORIGIN_AND_ONE_CONTAINER_2026_10_25.md §6.1, “A fork”).

A record’s signature binds its owner (origin_sig), so the lines a fork copies from its parent’s zone do not verify for the fork, and the human’s own earlier messages would show in the container. After the copy, each user line that verifies for the parent gets the signature for the fork. A line that does not verify is left as it is, so a forged line is never made good by forking. The new signature has the old one’s length, so a line keeps its size and the receive-time sidecar’s offsets stay right.

Functions§

resign_buffer
resign_zone for bytes in memory (whole lines): a copy signed before it is written needs no rewrite in place, which would drop the file’s line epoch. How many lines it signed.
resign_zone
Sign for to_owner the lines of file in zone that verify for from_owner; how many it signed.