Skip to main content

Module annotate_handler

Module annotate_handler 

Source

Structs§

AnchorInput
Simplified anchor — the agent provides unit_type and name; the handler resolves the full signature and corrected lines via AST.
AnchorResolution
How an anchor was resolved (or not) during annotation.
AnnotateInput
Input provided by the calling agent when annotating a commit.
AnnotateResult
Result returned after writing the annotation.
ConstraintInput
A constraint supplied by the author (source is always Author).
RegionInput
A single region the agent wants to annotate.

Enums§

AnchorResolutionKind

Functions§

handle_annotate
Core handler: validates input, resolves anchors via AST, builds and writes the annotation as a git note.