Skip to main content

Module thread

Module thread 

Source
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§

AvailableGitRef
Git-only branch tip that is not yet a Heddle thread tip.
ThreadActorInfo
Actor attribution nested on a thread list entry.
ThreadListEntry
One thread row for list/show machine output.
ThreadListOptions
Options for list_threads.
ThreadListReport
Machine domain report for heddle thread list (threads + git-only refs).
ThreadTaskSummary
Assigned agent task nested on a thread list entry.
ThreadUpdateBefore
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§

ThreadSummary
Stable alias matching historical CLI naming (ThreadSummary).