---
name: threads
description: |
  Semantic map of your work threads — the living storylines watchtower
  keeps across sessions and across projects. Not an inventory: it shows
  where threads stand in plain language, how they relate, which span CC
  and consumers, and where the segmentation looks wrong. Read-only.
  Use when: "threads", "/threads", "show me the threads", "what's the
  thread map", "where do things stand across projects", "thread arc",
  "which threads relate".
argument-hint: "subcommand — e.g., (none), 'arc <slug>', 'connections', 'dormant', '<project>'"
---

# /threads — Work Thread Map

Watchtower keeps a **cursor** per long-running line of work — a living
bookmark (what / why / where-left-off / open questions / next steps) that
survives across sessions and across desks. Those cursors are the most
context-rich state the system has, and until now they were invisible —
buried in JSON nobody reads. This skill surfaces them.

**The thread store is global and cross-project by design.** All threads
live in one directory regardless of which project they came from, so a
single `/threads` run shows CC and consumer threads side by side. That
"how is it all working together?" view is the point — don't filter to one
project unless asked.

This skill is **read-only**. It reads, analyzes, and renders. It never
writes thread files. (Re-sorting or re-deriving threads is a separate,
operator-confirmed operation — see `act:ef5a3842`, the return path.)

## Subcommand Detection

Parse `$ARGUMENTS`:

| Input | Mode |
|-------|------|
| (empty) | **Map** — the full cross-project thread map (default) |
| `arc <slug>` | **Arc** — the narrative of one thread across its sessions |
| `connections` | **Connections** — where threads overlap, converge, or depend |
| `dormant` | **Dormant** — inactive threads that relate to currently active work |
| a project name (e.g., `maginnis`) | **Filtered** — that project's threads, with cross-project links highlighted |

## Step 1: Read the Thread Store

Pure filesystem — no API calls. Read every `*.json` under:

```
~/.claude-cabinet/watchtower/state/threads/
```

Ignore any `threads-test/` directory (fixtures). For each thread, you have:
`thread` (slug), `display_name` (optional, falls back to slug),
`cursor_history` (append-only array of `{date, session_id, cursor}`
snapshots — the CURRENT cursor is the last entry's `cursor`, carrying
`what`, `why`, `where_left_off`, `open_questions`, `next_steps`; the
earlier entries are the trail of how understanding evolved), `sessions`
(append-only log, each with `id`, `date`, `project`, `summary`,
`transcript`), `related_fids`, `lineage` (optional), `last_updated`,
`status`, and two optional additive arrays: `recolor_log` (re-readings
already applied to the thread) and `proposed_recolors` (re-readings a
later session PROPOSED and nobody has decided — each with `verb`
(`reframes` / `answers` / `contradicts`), `prior_date` and
`prior_session_id` naming the earlier entry it re-reads, `prior_excerpt`,
`explanation`, `new_session_id`, `proposed_at`, and `also_noticed_by`,
the other sessions that independently reached the same reading). Older
thread files may still carry a single `cursor` object instead of
`cursor_history` — treat that lone object as the current cursor.

If the directory is missing or empty, say so plainly ("No threads
captured yet — watchtower's Ring 3 writes these at session close") and
stop.

## Step 2: Render — plain language, not data

**Voice rule (load-bearing).** Render every thread the way you'd catch a
colleague up, not the way the JSON is shaped: concept first, then stakes,
then what's next. Lead with the `display_name` (or slug). Turn
`where_left_off` into a short paragraph a director can read. Keep `act:` /
`prj:` ids parenthetical, never the headline. No raw JSON, no field names
in the output. (This is the house style — see the memory
`feedback_explain_plainly_director_level`.)

### Map mode (default)

1. **One-line portfolio header:** N threads across M projects; how many
   active vs dormant; how many are CC vs consumer work.
2. **Threads grouped by area/project** (infer the grouping from each
   thread's `sessions[].project` and its content — not from a rigid
   taxonomy). Within each group, one card per thread:
   - **Display name** — active/dormant + last-touched ("3 threads, 2d ago")
   - **Where it stands** — one plain-English paragraph from the cursor
   - **Next** — the single most relevant next step
   - **Touches** — other threads it overlaps or relates to, if any
   - **Re-readings** — only when the thread's `proposed_recolors` is
     non-empty: a count ("2 proposed re-readings — `/threads arc <slug>`")
3. **Crossings:** a short section naming where threads genuinely overlap —
   shared sessions or shared `related_fids` — and what that overlap means.

### Arc mode (`arc <slug>`)

Tell the story of one thread across its `sessions` in order: how the
framing (`what`) evolved — `cursor_history` records this directly, one
snapshot per session, so walk the entries in sequence rather than
inferring the arc — the turning points, where it stands now, and its
`lineage` if present (what it grew out of, what it merged into). Then
the current cursor's open questions and next steps.

End with **Proposed re-readings (not yet decided)** when the thread's
`proposed_recolors` is non-empty — one plain-English line each, e.g.
"A later session (Oct 30) reads the Oct 9 entry differently: what looked
like a badge question was really about the start block — 2 other
sessions saw the same." Say plainly that nothing has been decided: these
are proposals, shown so the operator can see them. Do not apply, confirm
or dismiss them here — this skill stays read-only, and Project 3
(`.claude/plans/simplification-2-inbox.md`, EP1) decides how they are
settled.

> This is **one work thread's** evolution. For the whole project's
> **decision causality** — what past decisions still constrain it, what
> superseded what — use the `/briefing lineage` drill-down instead.

### Connections mode

Across all threads, surface: shared concepts (overlapping cursor
language), converging goals, and dependency chains (thread A's next step
is gated on thread B). This is the "how it all fits" analysis.

### Dormant mode

List threads with `status` dormant/closed or stale `last_updated` that
still relate to *currently active* work — wake-up candidates. For each,
say why it's relevant now.

### Filtered mode (`<project>`)

Fuzzy-match the project name against thread content and `sessions[].project`.
Show that project's threads in Map style, then a short "reaches into"
line naming threads in *other* projects it connects to.

## Step 3: Segmentation Health (always, briefly)

The thread map is only trustworthy if the threads themselves are well-cut.
After rendering, do a quick honesty pass and flag — in one short section —
any of these smells:

- **Collapse** — very few threads holding many unrelated sessions, or the
  same session appearing in multiple threads *without a clear distinct
  contribution to each* (overlap-as-laziness, not overlap-as-judgment).
- **Coarse blobs** — a thread whose sessions clearly span several distinct
  lines of work that deserve their own threads (e.g., one project-named
  thread swallowing five features).
- **Drift** — a `display_name`/`what` that no longer matches what the
  recent sessions are actually about.
- **Orphans** — sessions referenced but missing transcripts, or threads
  with an empty `cursor_history`.

If the threads look well-segmented, say so in one line. If they don't,
name the specific threads and suggest the fix is a re-sort
(`act:ef5a3842` / the threadCapture tuning in `act:a7d2be6f`) — but do
**not** perform it here. This skill diagnoses; it never rewrites.

## Calibration

**Without this skill:** the richest cross-session state the system holds
is invisible JSON; the user can't tell whether threads are intelligible,
well-cut, or drifting, and two desks can independently re-derive the same
understanding because neither can see it.

**With this skill:** one command renders the whole portfolio of work
threads in plain language, shows how they connect across CC and
consumers, and flags when the segmentation has gone wrong — turning the
thread store from write-only plumbing into a thinking surface.
