GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(board): board-owned threads stay out of every thread list by polymaniadeveloper-hub · Pull Request #186 · Tevin2119/t3code Conversation
|
| # | Site | Kind | Before | Now | Proof |
|---|---|---|---|---|---|
| 1 | ProjectionStore.listActiveThreads (feeds t3_thread_list) |
listing | leak: never selected the marker, so the lineage looked listed | selects it | ThreadLaunchService.test.ts (fails on base), ProjectionStore.test.ts |
| 2 | ThreadManagementService.listProjectThreads, includeSubagents branch |
listing | leak: left out side chats only | leaves out server-owned too | same test, both branches |
| 3 | Archived threads list, web and mobile (createArchivedThreadSnapshotsAtomFamily) |
listing | leak: no lineage filter | filtered in the shared atom | archivedThreads.test.ts |
| 4 | ThreadLinkPicker (link a pull request or issue to a thread) |
listing | leak: no lineage filter | filtered | ThreadLinkPicker.logic.test.ts |
| 5 | issue/linkedThreads.ts, pullRequest/linkedThreads.ts |
relationship | showed marked threads | excluded | both linkedThreads.test.ts |
| 6 | ProjectionStore shell rows with listedOnly (agent awareness read) |
listing | excluded | same | ProjectionStore.test.ts (assertion added) |
| 7 | ProjectionStore.listOlderSettledThreads |
listing | excluded | same | ProjectionStore.test.ts (now with a board value) |
| 8 | ThreadSearch.ts, four queries (message hits, title candidates, older settled) |
listing | excluded | same | ThreadSearch.test.ts, through search and searchOlderSettled |
| 9 | ProjectionStore.listActiveShellIndex |
index | carries the marker | same | by construction (feeds rows 10, 12) |
| 10 | ShellStream trims (shellTrimFacts, hiddenChildAncestorIds) |
predicate | marked threads never count as older settled | same | existing ShellStream.test.ts, not extended |
| 11 | IdleCompaction |
predicate | skips unlisted threads | same | not changed, see Owner questions |
| 12 | AgentAwarenessRelay, shared/agentAwareness, serverRuntimeStartup |
predicate | unlisted threads get no awareness rows and do not count as a project's first thread | same | by construction |
| 13 | client-runtime threadShell (isShownUnderParent, navigationThreadShellsAtom), composerThreadItems, olderSettledThreads, projectRemoval, threadTagFilter |
predicate | filtered | same | existing tests, not extended |
| 14 | Web sidebar (Sidebar.logic.ts), command palette incl. recents (CommandPalette.tsx, CommandPalette.logic.ts), composer thread mentions, scheduled-task picker, BackgroundThreadAnnouncer, ThreadNotificationCoordinator |
predicate | filtered | same | read, plus the sidebar check in the probe |
| 15 | Mobile thread list (threadListV2.ts), home list, command palette, scheduled-task picker, composer |
predicate | filtered | same | new test in threadListV2.test.ts; the rest read |
| 16 | t3_thread_search |
MCP | routes through ThreadSearch.search |
same | read (mcp/toolkits/thread/handlers.ts), SQL tested in row 8 |
| 17 | t3_thread_list |
MCP | routes through rows 1 and 2 | fixed | row 1 test runs the real stores |
Left alone on purpose, because they are not thread listings:
ProjectionStore.getPullRequestSnapshot: pull request tracking for every thread.json_extract lineage sites (fork history, subagent recovery, checkpoint capture, auto-settle, messageSearchIndex, migration 079): they read lineage for structure.countThreads: a count for telemetry.Relationship surfaces (row 5). I chose to exclude. A linked-thread row opens the raw thread route, which shows the conversation without the task's engine facts beside it and outside the board. The card already carries the pull request link. Side chats are left out of the same rows for the same reason: they live inside another view. If the owner would rather see "this board task opened this pull request" there, the row should open the task, not the thread, and that needs the engine link.
Surfaces exercised by tests: server SQL and service listing (rows 1, 2, 5 to 8), the client-runtime archive atom (3), the web link picker logic (4), the mobile thread list (15), and web routing plus the sidebar in a real browser (the probe).
Covered by construction, not exercised: rows 9 to 14 and 16, and the mobile surfaces other than the thread list.
Desktop shares the web code. Nothing was run in the desktop app.
lib/taskConversation.ts read only a local child thread and assumed the task's environment, so a seat delegated to a linked machine opened nothing. It now resolves through subagentThreadTarget, which I moved from mobile into @t3tools/client-runtime/linked-thread so both clients use one function and one shape. A remote seat opens in its own environment when this client is connected there, and read-only through the task's environment otherwise, in the existing LinkedThread view. seatOfThread now matches the environment as well as the thread id. Tests cover a delegated remote child in all four connection cases.
workStageOf no longer makes up Build for a card neither its run nor its lane places. It returns unknown, and workSections puts such cards in a last section so none drops off the board. Rework still shows as Build, as documented.
Closing every tab emptied the tab list, which the first-visit check read as a task never opened. That the task has had its panel is now kept per task in local storage, apart from the tabs. The existing browser test is extended and fails on the old code.
useQuietThreadProjection, ChatView by ref): unchanged, proven by the probe.isListedThreadLineage and the engineIntake lineage: the marker itself.NativeIntake's idempotent server-side creation: the deterministic command id.remoteChild resolution (subagentThreadTarget, resolveLinkedThreadOpen): now shared.LinkedThread (the read-only view of a linked environment's thread) for a seat this client cannot reach directly.useLocalStorage pattern.isShownUnderParent).CollapsibleSectionHeader sections for the unknown stage: no new element.taskConversation()'s task.source stand-in. The engine's task-to-thread link does not exist yet and the creation contract is being settled. lib/taskConversation.ts stays the single reader. boardThreadMarker.ts is called only by tests until then.IdleCompaction skips unlisted threads, so board threads never idle-compact. Not changed here. Should they be exempt from the skip?projectRemoval.ts) leaves them out, so the person is not told. An archived board thread now shows in no archive list, so nothing in the UI can restore it. Board threads also auto-settle like any top-level thread.ThreadNotificationCoordinator skips it and the awareness relay sends nothing for it. An approval or question waiting in a board thread shows only inside the thread. Where should it surface: the card, the board's sidebar entry, a notification?LinkedSeat in TaskConversation.tsx) is covered only by the resolution unit tests. It was not rendered in a browser.i18n:check passes.vp run check:changed and the test files around each change.ProjectionStore.test.ts "reads a fixed SQL turn-item window for long histories and repeated clients" (fails alone on base), and ChatView.browser.test.tsx "a shortcut conditioned on rightPanelOpen sees the thread's open right panel" (fails in a full-file run on base, passes alone).Claude Fable 5.2, Claude Code.
🤖 Generated with Claude Code
Tested origin/master at dbe1d21aaf in a separate worktree. No product code was changed and nothing was pushed or merged. The verdict is pass with findings, 0 blocking. Most of the real-client pass could not be finished: see "What I could not verify".
vp run dev), with a scratch database built by migrate-dev-db from a read-only copy of the PM profile's statev2.sqlite.thread.create dispatch was not used in the client. Fixture:
f9dab4c9 "QAMARK active board task": engineIntake = board-task:qa-board:task-1, active, linked to PR #1038 An empty first team read blocks later automatic settling when teams appear #3.c53748be "QAMARK archived board task": marked and archived.789021a5 "QACTRL active ordinary": no marker, linked to the same PR #1038 An empty first team read blocks later automatic settling when teams appear #3.3a5f60ad "QACTRL archived ordinary": no marker, archived.| Surface | Marked thread | Ordinary control |
|---|---|---|
| Sidebar, Settled group expanded and "Show 22 more" opened | absent | present |
| Sidebar search by title ("QA") | absent | present |
| Sidebar search by content ("Calmar", in the marked thread's first message and in PR #3's title) | absent | present |
| Command palette Recent Threads | absent | n/a |
| Command palette results for "QA" and "Calmar" | absent | present |
vp test run on taskConversation.test.ts, boardLaneCards.test.ts, archivedThreads.test.ts and ThreadLinkPicker.logic.test.ts: 4 files, 32 tests passed.vp test run on ThreadLaunchService.test.ts, ThreadSearch.test.ts, pullRequest/linkedThreads.test.ts and issue/linkedThreads.test.ts: 4 files, 113 tests passed. These cover listProjectThreads with includeSubagents both ways, and the search and PR/issue link SQL exclusions.ThreadNotificationCoordinator.tsx:250 (isShownUnderParent). The background announcer skips it at BackgroundThreadAnnouncer.tsx:47.payload_json, so the client-side archive filter sees the marker.t3_thread_search takes no includeSubagents. All four of its queries exclude engineIntake (ThreadSearch.ts:237,428,460,484).engine:<admissionId> through getThreadRecords (NativeIntake.ts:141,229). Nothing on the server lists threads to find it. The Operation-PaperClip repo has no t3_thread_list caller. One behaviour change to know: MCP t3_thread_list defaults includeSubagents to true (OrchestratorMcpService.ts:3465), so agents that listed threads with the defaults used to see intake threads and now do not. That matches spec 4.3.openTaskPanel always adds both tabs, so the first-open flag is set on the next render. The right-panel store is persisted, so "Close all, then reload" stays closed.1. Medium, not blocking. Active board-task threads are never trimmed from the shell, so the shell grows with every task.
isOlderSettledThreadShell (packages/contracts/src/orchestrationV2.ts:2474) only trims listed lineage. omitOlderSettledShellsWith (ShellStream.ts) therefore keeps every un-archived marked thread, settled or not, in every client's active shell snapshot. The client then hides it. Engine intake threads already behaved this way, but board tasks are the high-volume kind (spec 4.3: "a plan broken into twenty tasks"). Each task's shell row goes over the socket to every client for as long as the task is not archived. AGENTS.md treats websocket payload size as a performance regression.
Repro: give N settled, un-archived threads an engineIntake marker, then read the shell snapshot. All N are present, and the older-settled cut does not count them.
Suggested fix, for the creation slice: trim settled server-owned shells, or keep them out of the active shell altogether and rely on the open-by-id path. If you do the second, read finding 2 first.
2. Low. With a tag filter on, an off-shell marked thread does not open by id. This confirms the known corner, by code only.
ThreadRouteView.tsx sets offShellBlocked when any environment hides tags and the unlisted thread has no loaded, visible parent. A top-level board-task thread has parentThreadId: null, so unlistedParentKey is null and the route redirects to /.
/<env>/<archived marked thread id>. You land on /.3. Low. F1: the seat view can flip between "direct" and "linked" while the links query loads, by code only.
useTaskConversation enables useLinkedEnvironments only once a remote seat lacks its own connection. Until that query returns, isLinked is false, so resolveLinkedThreadOpen gives direct for a saved but offline environment. Once links arrive it gives linked. The centre view switches from ChatView to LinkedThread and remounts.
The same happens on a reconnect blip while a seat thread is open: phase !== "connected" moves it to read-only, then back. The view remounts twice, and composer focus and scroll position go with it.
Repro (needs two environments): open a seat delegated to a linked environment, then drop the client's own connection to that environment.
4. Owner question, not a defect. Board-task threads raise no notification or badge.
A board-task thread is unlisted, so an approval or question in it produces no unread mark, badge or desktop notification (isShownUnderParent). Spec 6 gives the card the unread count, but it does not say whether an approval the lead asks for in the conversation should reach the person outside the board. Worth deciding before the creation slice lands.
5. Nit. F8 edge cases.
t3code:task-panel-first-open:<owner> key is kept per task, forever, the same as task-inspected-thread.6. Translations. "Stage not known" is present exactly once in all ten catalogs and every entry reads plausibly. German "Phase nicht bekannt" is fine, though "Phase unbekannt" is the more usual short heading. None of this has been read by a native speaker.
The machine ran out of memory during the run: swap was 27.6 of 28.7 GB used. The scratch server's event loop stalled for up to 45 s, and every full page load failed environment discovery. The host T3 also restarted once mid-run. I stopped my scratch server to protect the live T3. As a result, none of the following were exercised in a real client:
ThreadRouteView.browser.test.tsx covers the deep link and reload, but I did not run it.t3_thread_list and t3_thread_search called live against a marked thread. The server tests above cover the service methods behind them.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…a reload Routing probe for board-owned threads. A thread whose lineage keeps it out of every list opens through /$environmentId/$threadId by navigation, by a pasted link and on a fresh router, both when the shell carries its row and when the shell leaves it out. No routing change was needed. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ys out of every list A board task's conversation reuses lineage.engineIntake with a namespaced value (board-task:<board>:<task>), stamped only by the server. Reusing the field inherits isListedThreadLineage, every SQL exclusion and the index. The audit of listing surfaces found four places a marked thread still showed: - t3_thread_list: the active list read never selected the marker, and the includeSubagents branch only left out side chats. - The archived threads list on web and mobile. - The threads linked to a pull request or an issue. - The thread picker that links a pull request or an issue. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…tion seatConversation read only a local child thread and assumed the task's environment, so a seat the lead delegated to a linked machine opened nothing. It now resolves through subagentThreadTarget, the resolution mobile's agent rows use, moved into client-runtime so both clients share one shape: the thread opens in its own environment when this client is connected there, and read-only through the task's environment otherwise. seatOfThread matched a thread id alone, so the same id in two environments named the wrong seat. It now matches the environment too. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…e not known workStageOf fell back to Build when neither the run's stage nor the lane placed a card, which made up a fact the engine never sent. Such a card now has an unknown stage and stands in a last section of its own, so it stays on the board. A card in rework still shows as Build whatever its last run was. Co-Authored-By: Claude Fable 5.2 <[email protected]>
The first-visit open read an empty tab list as a task never opened, and Close all empties the tabs, so the panel came back on the next visit. That the task has had its panel is now kept on its own, per task, apart from the tabs. A first visit still opens it when the width holds all three panes. Co-Authored-By: Claude Fable 5.2 <[email protected]>
There was an error while loading. Please reload this page.
|
Note 🤖 GLM-5.3 responding on behalf of Tevin2119 Lead review record, posted after the merge, which the owner ratified in the working thread. Full diff read ( Findings carried into the follow-up slice, none blocking:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.