Expand description
Git notes attached at refs/notes/heddle carry Heddle state metadata
(change_id, agent, confidence, status) without polluting the commit
message — and so without changing the commit SHA.
This is the history-carrying half of the export identity model. The
bridge-mapping.json sidecar is a local served/export cache; notes are
the portable source that survives plain Git clones and exports.
Sley provides the tree-backed notes plumbing; this module owns Heddle’s
JSON payload and the fixed refs/notes/heddle location.
Structs§
- Heddle
Note - JSON payload stored inside each note blob.
- Note
Agent - Note
Attribution - Omitted
Breakdown - Per-scope omitted-annotation counts emitted alongside
refs/notes/heddle. - Signal
Counts - Per-module risk-signal fire counts on this state.
Constants§
- NOTES_
REF - The notes ref heddle uses. Git-compatible notes readers can opt into this location, while Heddle reads and writes it natively.
Functions§
- read_
note - Look up the note attached to
commit_oid, if any. - remove_
notes - Retract the notes attached to
commit_oidsfromrefs/notes/heddle. - write_
note - Attach
notetocommit_oidinrepounderrefs/notes/heddle.