Repository navigation
fix(sidebar): show one founder attention cue on standing bots - #253
Draft
nullStack65 wants to merge 4 commits into
Draft
nullStack65 wants to merge 4 commits into
nullStack65 wants to merge 4 commits into
Conversation
The standing-bot row badged a founder-named message forever: it passed the shell's mention names to resolveBotAttention with no read check, so opening the bot and reading it left the purple name pill on. The shell now carries the time of the message that names the founders (attentionMentionsAt, from the same latest-visible-message lookup). The row compares it with the viewing founder's own read cursor, the one the rest of the sidebar uses (a message at or before the visit is read; a later one re-badges). Decisions, reviews, approvals and joint sign-offs still badge until answered. Model: claude-sonnet-5-5 Task: fix Agent: Platform Lane: CLO-1359 Harness: t3/claude-code Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ature Model: claude-sonnet-5-5 Task: fix Agent: Platform Lane: CLO-1359 Harness: t3/claude-code Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Retain each founder's latest mention through routine replies and compare it with that founder's existing read cursor. Keep explicit asks ahead of mentions and leave ordinary updates in the avatar and row text. Model: codex/gpt-6.1-sol Task: implementation Agent: Codex
Model: codex/gpt-6.1-sol Task: verification Agent: Codex
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Browser proof
Chromium, December 1, 2026, 03:48:39-03:49:00 UTC: 5/5 browser tests passed. Both Kameron and Jeff at 1280px and 390px show zero right-edge indicators on quiet/read rows, only their own name for an unread mention, clearing after a click supplies their read update, a fresh badge after re-mention, and Decision remaining after reading. A shared-thread case proves independent founder reads. Rendered captures were inspected.
Run from
apps/web:Matched base captures at
e9f14efd91bd27c45ba767fb433bda0c4d779d1ereproduced both right-edge marks in two browser cases at 03:47:52 UTC. Screenshots are under/mnt/arc-nvme/t3-worktrees/t3code/t3-ea381798-bc0831df13642ffc/.t3/:clo1362-before-{kameron-1280,jeff-390}-{quiet,mention}.pngandclo1362-{kameron,jeff}-{1280,390}-{quiet,mention,read,remention,decision-read}.png. They are uncommitted. GitHub image attachment upload is unavailable through the exposed PR tools; screenshots have not been uploaded to GitHub.Limits: these are real Chromium component tests with supplied shell/read updates. Whole-client WebSocket sync, remote/relay/tunnel, multi-device behavior, Electron shell and native mobile were not observed. No live client/server was changed, restarted or deployed.
Change
Standing-bot rows could show both an FYI dot and a presence dot. They now show one priority cue: explicit sign-off/decision/review/approval first, otherwise the viewing founder's unread name, otherwise nothing. Work and availability keep the existing text and avatar.
A later routine assistant reply reproduced the loss of an unread mention. Each founder now keeps their own latest qualifying mention time within the existing shell/read contract, so a later Jeff ping cannot renew a read Kameron ping. Existing prose/quote/code and agent-message exclusions remain. A paged migration backfills per-message flags; two partial indexes serve the latest times without scanning history on sidebar reads. Older shell fields remain compatible.
Stacks on #252, whose head is
e9f14efd91bd27c45ba767fb433bda0c4d779d1e. Must be rebased if #252's head moves. This PR targetsrelease/native-0.1.10; #252's branch was not written to or reviewed here.Requirement: standing-bot sidebar indicators (CLO-1362).
Validation
botAttention.test.ts,orchestrationV2.test.ts,ProjectionStore.test.ts,HumanNote.test.ts,Migrations.test.ts, and119_FounderMentionIndex.test.ts. Covers retained founder times, re-mention, editing away a mention, backfill and indexed lookup plans.vp env exec --node 26.13.1 vp run check:changed e9f14efd91bd27c45ba767fb433bda0c4d779d1eremains red on nine typing errors in untouchedSidebar.logic.test.ts/botOrgTree.test.ts, plus unused.github/scripts/set-{mobile,release}-version.cjsand five existing exports inAgentOutputGate.ts,RemoteDelegation.tsandsecretRedaction.ts. These are outside this repair.SidebarBotsGroup, so all receive the fix in web, narrow web and Electron's shared web UI. Search uses ordinary thread rows. ChatView only consumes the avatar state and had no double mark. Native mobile has no equivalent standing-bot renderer; no mobile UI changed. The projection covers replies from every provider.Model: codex/gpt-6.1-sol
Task: implementation and verification
Agent: Codex
Harness: Codex through T3 Code
Review state: draft; no independent review started by this writer. No merge or deployment.
Prior art
resolveBotAttention,BotAttentionMark,resolveBotPresenceandattentionMentionsacross apps and packages. The shared component is the only double-mark renderer.Deploy: fleet