Expand description
Thread list/show domain: collection, auto filter, and Git-ref splitting.
Owns the rich thread summary assembly used by heddle thread list /
heddle thread show (git branch tips, task assignment, recommended
action, auto flag). CLI opens the repo, calls list_threads /
find_thread_summary, then attaches verification and renders.
Status keeps its own thinner crate::status::StatusThreadSummary
path; the two share underlying repo primitives but not the same
report shape.
Structs§
- Available
GitRef - Git-only branch tip that is not yet a Heddle thread tip.
- Thread
Actor Info - Actor attribution nested on a thread list entry.
- Thread
List Entry - One thread row for list/show machine output.
- Thread
List Options - Options for
list_threads. - Thread
List Report - Machine domain report for
heddle thread list(threads + git-only refs). - Thread
Task Summary - Assigned agent task nested on a thread list entry.
- Thread
Update Before - Durable before-image for a thread metadata + ref update.
Functions§
- capture_
thread_ update_ before - Capture the complete before-image needed to update a thread transactionally.
- collect_
thread_ summaries - Collect full thread summaries (no auto filter / git-ref split).
- find_
thread_ summary - Look up a single thread summary by name.
- list_
threads - Collect, filter, and split thread list domain for an opened repository.
- list_
threads_ with_ worktree_ status - List threads while reusing a worktree comparison already required by the caller’s verification envelope.
- save_
thread_ update - Publish thread metadata, its ref update, and the undo before-image together.
- split_
available_ git_ refs - Move available Git-only branch tips out of the main thread list.
- thread_
is_ available_ git_ ref - True when the entry is a Git branch tip without a Heddle tip.
- thread_
is_ imported_ git_ ref - True when the entry is an imported Git branch already mapped into Heddle.
- visibility_
label - Visibility label for an isolated thread mode.
Type Aliases§
- Thread
Summary - Stable alias matching historical CLI naming (
ThreadSummary).