Release · 2026-08-04T01:43:20+02:00 · By Threadnote
Threadnote 4.0.1
Threadnote 4.0.1 makes newly created and freshly updated worktrees useful much sooner by reusing graph work that has already been completed elsewhere in the same checkout.
What's new
Threadnote 4.0.1 makes newly created and freshly updated worktrees useful much sooner by reusing graph work that has already been completed elsewhere in the same checkout.
- Query sooner. Agents can use a consistent ready lexical graph while optional vector enrichment and whole-graph analysis finish in the background.
- Reuse graph-equivalent commits. Commits that do not change eligible graph content now activate an existing clean graph immediately instead of rebuilding it under a new commit identity.
- Incremental clean worktrees. Threadnote reuses a compatible full anchor and materializes committed additions, modifications, renames, and deletions as a bounded one-level delta. Changes that affect cross-file resolution use a conservative full resolution closure, with an automatic full-build fallback when compatibility cannot be proven.
- Handle immediate edits. A worktree that becomes dirty during setup can build its effective graph directly from a prior clean anchor without first waiting for an intermediate graph of the untouched commit.
- Warm likely targets. Recently active checkouts prewarm a small bounded set of local main or upstream refs, and materialized file shards are reused when their complete derivation context matches.
Check graph freshness or query the current worktree directly:
threadnote graph status --cwd /path/to/worktree
threadnote graph query --cwd /path/to/worktree --query YourSymbol