Expand description
KindHook implementations for the three note kinds this pack contributes.
Validation only — this pack introduces no new edges at after_create time.
Provenance edges (annotates -> project / document / merging PR) are
supplied by the caller (the ingester, see src/ingest.rs) as part of the
generic create(kind=..., annotates=[...]) call; the runtime’s own
create_note path validates and links them atomically, so no
after_create edge-creation logic is needed here (unlike gtd’s
TaskHook::after_create).
Structs§
- Commit
Hook KindHookfor the immutablecommitnote kind.- Issue
Like Hook KindHookshared byissueandpull_request— both requireproperties.numberandproperties.project_id, and, when present, validateproperties.state_reason.issue’sstate_reasonis governed to a fixed set (ADR-088 §3); v0 does not document a fixed set forpull_request’sstate_reason, so it is only checked for non-emptiness there.