If it’s just a normal post, and it’s not an ask people shouldn’t see branch info
The screenshot is a plain discussion thread ("Welcome to the evenings forum", nobody asked Osebot) and the crumb above the title still lists every repo and the thread/2f4f6ae7 branch. That line only means something once Osebot has actually worked on the thread.
Plan: in app/threads/[id]/page.tsx, show the repos + branch crumb only when the thread has been engaged with Osebot, i.e. it has at least one run (thread.jobs), an agent post, or a pull request. Otherwise the crumb is just the workspace link. No DB or CSS change; branch is still allocated on thread creation as before, it's only hidden.
threadide@7ae9043Done. The thread crumb now shows repos and the git branch only once Osebot has actually been involved in the thread.
What changed (app/threads/[id]/page.tsx)
engaged= the thread has a job (any run), an agent-authored reply, or a pull request. All three are already loaded for the page, so no new query.- The
repo-a, repo-b / ⎇ thread/…part of the crumb renders only whenengaged; otherwise it's just the workspace link. The screenshot's "Welcome to the evenings forum" thread (no ask, no run, no PR) will showEveningsalone. threads.branchis still reserved at creation, nothing else about runs or PRs changed. As soon as someone asks Osebot on the thread, the crumb comes back on the next render.
before: Evenings / simple-media-server, sol-api-server, sol-frontend / ⎇ thread/2f4f6ae7
after: Evenings (until a run, agent reply or PR exists)
Verified with npx tsc --noEmit; couldn't run the app in the sandbox (needs Postgres + GitHub OAuth), but the change is a boolean gate over data the page already has.
Side note, not changed: the same screenshot shows a TASK kind chip on the opening post. That comes from the decider's triage label, not from branch info, so I left it. Say the word if you'd like kind chips hidden on threads nobody has asked Osebot about too.
Can you show what it looks like?
Yes. The app can't run in the sandbox (needs Postgres + GitHub OAuth), so I'll build a static mockup of the thread header using the real app/globals.css and screenshot it at phone width, before and after, matching the "Welcome to the evenings forum" thread from the screenshot. Plus one "engaged" thread so you can see the crumb still appears once Osebot has run.
threadide@7ae9043Here's how it looks, phone width, dark mode, same thread as your screenshot:
- Left, before: "Welcome to the evenings forum" with the three repos and
thread/2f4f6ae7taking three lines above the title. - Middle, after: the same thread on this branch. The crumb is just the workspace link (photo + "Evenings"); the title moves up by those two lines. Status row and post are untouched.
- Right, after on an engaged thread: a thread where Osebot has run (or replied, or opened a PR) still shows repos and the branch exactly as before, so nothing is lost where the branch actually matters.
How it was made: the app can't run in the sandbox, so this is a static mockup rendering the real components (StatusBadge, glyphs, BranchIcon) with react-dom/server against the real app/globals.css, with the same markup as app/threads/[id]/page.tsx. Small differences from your phone are just mockup stand-ins (placeholder workspace photo, "O" avatar, default dark palette rather than your workspace's). The preview script was not committed; the branch is unchanged at 7ae9043.
It also probably shouldn’t say open or live
Agreed: on a plain discussion thread "open" and "live" are run-state cues with nothing to describe. Plan, same engaged gate as the crumb in app/threads/[id]/page.tsx:
- Status badge (
open, with the face): rendered only when the thread is engaged. Statuses other than open (running, waiting, done, failed, merged, ready, CI failed) only ever arise from a run, so those threads are engaged by definition and keep their badge. - Live dot: hide the visible chip, but keep
ThreadLivemounted. It is also the thing that refreshes the page when a new human reply lands (SSE →router.refresh()), and a discussion thread wants that most of all. I'll add ahiddenprop tocomponents/thread-live.tsxthat keeps the subscription and renders nothing.
Pin glyph, public badge, Share and Manage stay as they are. Then an updated mockup screenshot.
threadide@0043472Done. A plain discussion thread now shows neither "open" nor "live" alongside the hidden repos/branch crumb; its header is the workspace link, the title, and Share / Manage.
What changed
app/threads/[id]/page.tsx: the sameengagedgate the crumb already used (a run, an agent reply, or a PR exists) now also wraps theStatusBadgeand the live dot. Every status other thanopenonly arises from a run, so running / waiting / done / merged threads always keep their badge; only "open" on a never-asked thread disappears.components/thread-live.tsx: newhiddenprop. The component stays mounted so a new reply still refreshes the page over the live stream (that matters most on exactly these discussion threads); it just renders no chip.
Pin glyph, public badge, Share and Manage are untouched. The moment someone asks Osebot, the job exists and the crumb, badge and live dot all come back on the next render.
Verified with npx tsc --noEmit; the screenshot is the react-dom/server mockup of the real components against the real globals.css (the app can't run in the sandbox). Preview script not committed.
Still open from before: the TASK kind chip on the opening post also comes from the decider's triage, not from any run. Happy to hide it on non-engaged threads too if you want the post header equally quiet.
Merged threadide #171 by @osebo (merge, 854dec8).


