GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(board): discuss a task in a side thread (L1) by polymaniadeveloper-hub · Pull Request #229 · Tevin2119/t3code

Conversation

@polymaniadeveloper-hub

@polymaniadeveloper-hub polymaniadeveloper-hub commented Nov 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Problem

The owner asked for a way to talk about a board task at thread level, without writing into the task's thread (ruling 5, slice L1 in §9.7 of the plan).

How it works

  • Discuss in a thread is in the task's header menu (TaskMenu) and on the left canvas's Task item. It forks the task thread as T3's own side chat (thread.fork, sideChat: true), through useSideChat, the hook the thread view already uses. The fork keeps lineage.parentThreadId, opens on the task thread's right panel, and is listed among that thread's Side chats (ThreadRelationshipsPanel).
  • It's offered only where the thread view would offer a side chat: the environment supports side chats, the person can operate the thread, and the thread isn't a side chat, a subagent or a delegated thread. One hook on the shared open-task value (useBoardTaskValue) feeds both buttons, so only one side chat can be starting at a time.
  • The marker: ThreadForkService.plan already builds the fork's lineage from scratch, so the fork carries no engineIntake marker. No change was needed there; a server test pins it.
  • No merge-back into a task thread (QA fix): Merge back is offered for any fork, so before this fix a side chat's talk could be merged into the task thread, and the next engine brief would consume it. The server now refuses thread.merge_back when the target is a server-owned thread, with "A task thread takes no merge-back; side chats about a task stay separate." It refuses before any transfer is created.
    • "Server-owned" is the existing isServerOwnedThreadLineage presence check: a board task's thread or an engine intake's. The marker guard tests (boardThreadMarker.test.ts) forbid new readers of the marker's value, and this check doesn't read it.
    • Web (ThreadRelationshipsControl) and mobile (ThreadRouteScreen) no longer offer Merge back there, through mergeBackAcceptedBy in client-runtime.
    • Every other fork merges back as before.

Pending Q13 / Q15

This uses T3's native side-chat behaviour, with merge-back closed for task threads. What's said in the side chat doesn't reach the task or the engine (Q13), and the side chat is listed only where T3 already lists side chats (Q15). There's no "Send to the task" action and no new listing rule. Both questions are still open with the owner.

Reuse T3 first

  • The action uses chat/useSideChat.ts: the same fork, the same open-in-panel, and the same deletion of an empty side chat on close as /side.
  • The listing is the existing ThreadRelationshipsPanel side-chats section and the right panel's side-chat tab.
  • The menu item is ui/menu.tsx through TaskMenu's own Action. The Task item button is ui/button with lucide's MessagesSquare, the icon the side-chat tab uses. Errors use ui/toast.
  • The merge-back guard uses the existing isServerOwnedThreadLineage from contracts.

Tests

  • apps/server/src/delivery/boardTaskSideChat.test.ts runs on the real orchestrator and SQLite. The fork of a task thread carries no marker, and the board's own marker query (listBoardThreadRows) lists only the task thread. Merge back into the task thread is refused with the message above, and no transfer is created. Archiving or closing the side chat leaves the task thread and its marker unchanged.
  • ThreadRelationshipsControl.browser.test.tsx: a fork of a board task thread offers no Merge back, and its parent row still opens the task thread. It fails without the fix.
  • TaskSideChat.browser.test.tsx runs the real app with a fake socket. The menu action sends one side-chat fork from the task thread, the tab opens, and the side chat is listed under the task thread's Side chats.
  • TaskDetails.browser.test.tsx: the Task item shows the button only when a side chat can start.
  • ThreadFork.execution.test.ts (normal merge-back paths) and boardThreadMarker.test.ts (marker guards) pass.
  • vp run check:changed: format, lint, knip, typecheck and the React compiler check pass. Three tests fail, all pre-existing:
    • ChatView.browser.test.tsx "a shortcut conditioned on rightPanelOpen…" fails the same way with master's apps/web/src.
    • Orchestrator.control-reads.test.ts "starts, finishes and follows up a task…" and "records a secret and a link card…" fail the same way with master's Orchestrator.ts. They only run here now because this PR touches that file.

Not verified

  • I didn't do a pass in a real client. The task view needs a live delivery engine, and a dev server started from here would bind to the real engine.
  • Mobile was checked by typecheck only; there's no mobile test of the hidden Merge back.

Docs: docs/user/thread-sidebar.md now has a paragraph on the action, including that a task's thread offers no Merge back. The new strings are translated into all 9 web languages.

🤖 Generated with Claude Code (Claude Opus 5.5)

QA (GLM-5.4, Mac)

Round 1, at 4fe042d: FAIL. "Merge back" carried side-chat talk into the task thread's next engine brief. Fixed in a419aa9.

Round 2, at a419aa9: PASS.

  • The server refuses merge-back into server-owned threads under the target's lock, before any transfer.
  • No other path (fork, provider handoff, subagent result, MCP transfer) carries side-chat items into a task thread.
  • Both new tests fail without the fix.

Follow-up, non-blocking (fails safe): mobile can still show Merge back for a side chat opened by link, because the parent row isn't loaded there. The server refuses it. Fix: mount the selected thread's family when its parent row is missing. Web briefly shows it the same way on a cold route.

Merged under the QA cap. CI is green.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tevin2119 and others added 2 commits November 28, 2026 03:27
@Tevin2119 @claude
feat(board): discuss a task in a side thread (L1)
4fe042d
"Discuss in a thread" in the task's menu and on the left canvas's Task item
forks the task thread as T3's own side chat (thread.fork, sideChat: true),
through the same useSideChat hook the thread view uses. The fork keeps
lineage.parentThreadId, opens on the task thread's right panel and is listed
among its side chats.

A fork already rebuilds lineage without engineIntake, so it carries no board
task marker; a server test pins that the board's marker query never lists it
and that archiving or closing it leaves the task thread as it was.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Tevin2119 @claude
fix(board): a task thread takes no merge-back from its side chats
a419aa9
Merge back is offered for any fork, so a side chat of a task thread could
carry its talk into the task thread, where the next engine brief consumed
it. The server now refuses thread.merge_back into a server-owned thread
(a board task's, or an engine intake's), before any transfer is made, and
web and mobile no longer offer Merge back there. Every other fork merges
back as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@polymaniadeveloper-hub
polymaniadeveloper-hub merged commit 704db76 into master Nov 28, 2026
21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@polymaniadeveloper-hub polymaniadeveloper-hub mentioned this pull request Nov 28, 2026
feat(board): a task's side chats are recorded on it and listed in the task column (L2t) #231
Merged
polymaniadeveloper-hub pushed a commit that referenced this pull request Nov 28, 2026
@Tevin2119 @claude
Merge origin/master into feat/linked-boards
f2b0e1a
Brings in the task view left canvas (#226), side chats and related threads
(#229, #231), file-from-thread (#230), thread at submit (#233) and the board
approval key setting (#224).

Conflicts kept both sides: the linked and filing RPC scopes, the delivery
test layer, threadState's boardOwned hint behind the owner fence, the sidebar's
linked branch beside the new task column. The board approval key status and
setting are owner-only like the rest of the board thread surface.

The open-task provider no longer reads a linked task's id from this
environment's engine.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@polymaniadeveloper-hub @Tevin2119
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.