Repository navigation
fix(mobile): a narrowed person's Chats lists the spawned thread they can reach - #1144
Jacksondr5 wants to merge 1 commit into
Conversation
…can reach A server that reaches less than the whole server refuses this person the spawned-children read, so what it said while the credential was wider is stale and can hide their only thread. Chats now ignores those answers on a narrow server. Fixes #1081 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Closing unmerged, per the Captain. Lowering a person's access revokes their sessions for renewal ( |
Problem
A thread-only Viewer whose only thread is a spawned agent could see "No threads yet" on Chats. Spawned threads stay out of Chats because they're reached through their spawner (register D22), but this person can't see the spawner. Closes #1081.
What changed
The capture in #1081 came from re-pairing an Owner phone as a Viewer at 7d2f1bc. Then, the spawned-children answers read under the Owner's credential outlived the re-pair. #1111 made that memory per credential, which fixed the re-pair path.
One path was left: the same credential narrowed by a level change, live or before a cold start. A server that reaches less than the whole server refuses this person the spawned-children read (
listSpawnedChildrenis server-scope inAccessGate.ts). So the answers it gave while they were wider are never replaced, and a thread marked spawned then stays hidden.crewListedThreads(apps/mobile/src/j5/connection/memory.logic.ts) now lists every thread on a narrow server, whatever the memory says. Its doc comment already said a narrower person's threads show. On a narrow server, Chats lists every thread, whether the credential is fresh or was narrowed (Captain's ruling). So "members stay out unless pinned" holds only where the server answers the spawned-children read, which means server-wide people. A narrow person with a fresh credential already saw members at the top level. A narrowed credential now does too, including a project Viewer whose spawner stays visible. Letting the server answer narrow people by reach is a follow-up the Captain is filing.Seen, not fixed: on a cold start of a narrowed credential, the stale memory applies until the access read says narrow, so "No threads yet" can flash briefly. D22 in
docs/j5/product/upstream.md("appears in the expander under the agent that spawned it") has never held for someone who can't see the spawner.Web: web has the same gap in an open tab, but its fix belongs in web's own J5 file (
useAgentSpawnedThreadKeys), not shared code, so it's filed as #1143.UI changes
Evidence pending from the tester: the thread-only Viewer's Chats screen, light and dark, full screens, before and after, on Android and iOS.
Live testing
Pending.
Council review
Checklist
FORK.md(case text and file-table row) in this PR (none edited)docs/j5/product/upstream.md(none)AGENTS.md): mobile Chats and the sidebar share the hook; web filed as Web: a person narrowed to a spawned thread while connected doesn't see it in the sidebar #1143docs/j5/product/and user docs rewritten where this changes them (no change needed)Built by Claude Opus 5.5 in Claude Code (J5 Code Crew builder seat).
🤖 Generated with Claude Code