Skip to content

POC: shorter threads-mode lab - #3822

Closed
cursor[bot] wants to merge 8 commits into
claude/project-thread-m4a4ynfrom
poc/shorter-threads-lab
Closed

cursor[bot] wants to merge 8 commits into
claude/project-thread-m4a4ynfrom
poc/shorter-threads-lab

Conversation

@cursor

@cursor cursor Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

This PR does not merge

A smaller shape of #3818, branched from 7a6a152. Fold a747360ff onto that head. Do not reset onto this branch. Close this PR unmerged after #3818 lands.

What this subtracts

  • One fixture task constructor. file, fileThread, and the seeded billing threads were three copies of the same row. progress and settle call advance, which already had the still-working check and the work line.
  • The status line reads the board's column labels. LINE_LABEL was those four names again, and the cast on statusColumn existed to index that copy.
  • One View thread button. Comments that restated the next function are one line, or gone where the adapter's verb table already said it.

Screen behavior is unchanged. The title matcher is untouched.

What still passes

pnpm --filter @flow-state-dev/claude-code-style test: 37 passed. eslint on the touched files passed (the pre-push hook ran repo eslint and passed). node scripts/inventory.mjs: PASS. The README counts moved with the lines: UI 1304→1271, fixtures 479→446, checks 600→599. tsc -p labs/claude-code-style/tsconfig.json: passed.

Net −67 (+52/−119) against 7a6a152.

Red checks, then restored:

  • advance returning immediately left Acme in_progress (expected completed) and left the review cards off review. 7 tests failed.
  • A progress step that did nothing left Acme's note searching (expected summarizing).
  • A status line that always said Working rendered Working · Judge: pass (expected Ready for review · Judge: pass).

No changeset: the lab is private, and this PR does not merge.

Open in Web View Automation 

The Projects view is now threads mode: the main session is the desk.lead
coordinator, each thread is a card where the lead filed it, and the right
pane is the Threads status board (Pinned, Working, Waiting on you, Ready
for review, Resolved), read from the task row alone. A thread's view
replaces the board: talk in it, answer its question, resolve it or
request changes, pin it. A code change runs as a desk.coder thread tagged
Claude Code. The adapter gains sayInThread, resolve, requestChanges and
the pins verbs; fixtures play the script until wiring.

Also corrects the spec: a task always works in its session's project
(ownProjectIn; projectWorkspace refuses other-project).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
- Fixtures advance each thread by its id, mark the line that asked for
  threads (not one queued behind it), and match a stop line literally.
- A finished thread's composer is off (D3); its view points to the main
  session.
- A harness run that completed at the review deadline (review:
  "deadline") lands in Resolved marked Not reviewed; only "accepted"
  counts as approved (FIX-2163). DECISIONS notes it, dated.
- The vocabulary check lets the lab's workers say "thread", Claude
  Code's threads mode, not a mailbox's.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
…nizer for both sides

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated
flow-state-dev-docs Ignored Ignored Oct 24, 2026 12:13am UTC
flow-state-dev-kitchen-sink Ignored Ignored Oct 24, 2026 12:13am UTC
flow-state-dev-ui Ignored Ignored Preview Oct 24, 2026 12:13am UTC

Request Review

progress, settle, and advance were the same still-working step, and the
status line kept a second copy of the column names. Net −70 lines.
@cursor
cursor Bot force-pushed the poc/shorter-threads-lab branch from a747360 to 476f00a Compare October 24, 2026 00:13
jhoffner pushed a commit that referenced this pull request Oct 24, 2026
…eads COLUMNS

Folded from Cursor's 476f00a (draft #3822), keeping the doc comments
on exported functions and components (BP-007).

Co-Authored-By: Cursor Agent <cursoragent@cursor.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RNUDVs3QxrstrvHVDuS9a
@jhoffner jhoffner closed this Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants