Expand description
Pure context query/mutate planning helpers (no store/repo I/O).
RecoveryAdvice, ObjectStore, and worktree reads stay in the CLI.
Enums§
- Context
Content Plan Error - Missing annotation body source (
-m/--file). - Context
RmPlan Error - Invalid
context rmselector combinations.
Functions§
- annotation_
passes_ filters - Whether a single annotation passes list/get filters.
- annotation_
status_ label - Machine/human status token for an annotation lifecycle state.
- audit_
duplicate_ count - Count signature groups that appear more than once (duplicate annotations).
- audit_
staleness_ key - Staleness-map key matching
repo::staleness::check_context_staleness. - audit_
target_ key - Target key used when grouping audit signatures (path or full change id).
- context_
target_ kind_ and_ label (kind, label)pair for a context target (stable machine kind tokens).- count_
active_ annotations - Count annotations still in
AnnotationStatus::Active. - filter_
annotations - Filter annotations by optional scope/tag and superseded inclusion.
- next_
annotation_ tags - Prefer non-empty override tags; otherwise keep the current revision’s tags.
- plan_
annotation_ content_ source - Require a content source for set/edit/supersede.
- plan_
context_ rm - Plan remove: when not removing all, a scope must be present.
- suggestion_
tier_ human_ label - Human-facing suggestion tier phrase for text output.
- suggestion_
tier_ token - Stable machine token for a suggestion tier (
medium/high). - supersede_
reuses_ original_ scope - Supersede keeps the original scope when
--scopeis omitted. - supersede_
reuses_ original_ target - Supersede keeps the original target when neither path nor state override is set.