Skip to content

Browse: which items have a session or goal started from them - #309

Merged
Mpdreamz merged 2 commits into
mainfrom
feature/browse-item-links
Nov 22, 2026
Merged

Mpdreamz merged 2 commits into
mainfrom
feature/browse-item-links

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

Stacked on #308 (it generalises that PR's "with an agent" toggle); retarget to main once #308 merges.

What

Starting a session or a goal from an item left no trace in Browse. heed already keeps both ends, so this derives the link and stores nothing new:

  • A session is found by the issues it closes or links (its prompt's, its PRs' and the ones added by hand) and the PRs it tracks. A goal is found by the issue or PR one of its items links to.
  • A row shows a session / goal tag (with a count when there are several). The reader shows Started from here with a link to each, which opens the session or the goal.
  • At the right of the count, beside N with an agent: N from sessions (W) and N in goals (O), each shown only while some item qualifies, and narrowing the list. One filter at a time. All are named commands (browse.from.sessions, browse.from.goals).
  • Because it is derived, it covers work started before this change.

Checked

  • Build passes; 488 tests across Browse, Keys, Commands and MenuBar pass (4 new in BrowseOriginsTests). Broke the goal-link rule (issue only) and the PR case failed.
  • Re-shot github/browse-run and looked at it: the session tag on row 1 and the two toggles.
  • Not covered: the app-side wiring (refresh on sessions/goals changes, the reader links) has no unit test. Not exercised: opening a goal from the reader link, and a closed session is not listed (history is left out).

🤖 Generated with Claude Code

@github-actions github-actions Bot added the enhancement New feature or request label Nov 19, 2026
@Mpdreamz
Mpdreamz force-pushed the feature/browse-run-rows branch from 22698ba to e51f51a Compare November 22, 2026 21:28
Base automatically changed from feature/browse-run-rows to main November 22, 2026 21:37
@Mpdreamz
Mpdreamz force-pushed the feature/browse-item-links branch from 8259713 to dbbaf7a Compare November 22, 2026 21:41
@Mpdreamz
Mpdreamz force-pushed the feature/browse-item-links branch from dbbaf7a to f289b0e Compare November 22, 2026 21:53
@Mpdreamz
Mpdreamz merged commit c5a5a20 into main Nov 22, 2026
6 checks passed
@Mpdreamz
Mpdreamz deleted the feature/browse-item-links branch November 22, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant