Skip to content

Browse: find work across GitHub, read it, and hand it to an agent - #295

Merged
Mpdreamz merged 28 commits into
mainfrom
feature/browse
Nov 19, 2026
Merged

Mpdreamz merged 28 commits into
mainfrom
feature/browse

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

What

A new view, Browse (gb), for the work you go and get: Attention brings work to you; Browse is where you look for it.

  • Rail and scopes. Saved queries (each with a glyph and tint), orgs and repos, and a quick jump. An org with many repos is guided to an org view first (language and archived filters, evaluated by GitHub on every search).
  • Filtering. A token builder with value pickers and live counts, saying it in words ("Understood as" tokens, via the cheap model), the raw GitHub query always visible, saved queries. The default window is 90 days; Show older widens it.
  • heed's read. Class, size, agent-ready, TL;DR and possible duplicates, kept in heed's own store and never written to GitHub. Top 20 ahead, on open, or on demand.
  • Fix, Implement, Chat, Review. All four always shown, the recommended one outlined with its reason. They run inline in a temporary worktree (issue-<n>-<hex> or pr-<n>-<hex>) that is removed on close; pushed branches stay. A permission policy keeps the agent inside its worktree and repo; reviews post only after you approve the draft; authors without write access run as Chat.
  • Several items. A bulk panel: one session for the related group, a Goal, a session each, GitHub bulk actions with a confirm step.
  • Window sizes. Full, half and third width layouts.
  • Docs: docs/github/browse.md; the GitHub index no longer says heed lists no issues.

Key change

gb was pilot.run; it is now gv. Browse takes gb.

Verified

  • mise run lint, swift test --quiet (2927 tests), mise run text-check, swift build, mise run bundle, scripts/tutor-check.sh (0 problems), docs build (0 warnings).
  • New tests were mutation-checked (code broken on purpose, tests failed).
  • The search query was run against real GitHub (read-only): it found that projectItems needs the read:project token scope, so it is no longer requested. language:, archived:, project:owner/number, the repo count and the gh repo list fields were checked live.
  • Real git: temporary worktree add, remove, sweep and promote run against a throwaway repo. One live Chat run on haiku, whose write attempt the policy refused.

Not tested

No live run of Fix, Implement or Review on a real agent; no live bulk write, PR create, comment or review post; no real clone through the clone card; no real Keep as a session. These are covered by pure tests and fixtures only.

🤖 Generated with Claude Code

Mpdreamz and others added 28 commits November 18, 2026 10:53
…arch, scopes, filter, palette, store, fetch

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ned scopes in the store

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…p; commands, keys, menu, fixtures, shots

AppView.browse with every exhaustive switch, view.browse and browse.* commands,
the browse key table, BrowseModel and AppModel+Browse (cached rows first, fetch
on demand only), the three-pane BrowseView and the quick-jump palette, the
fake world's Browse data, and the regenerated keyboard and configuration
references.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…, words to tokens, org view, saved-query ordering

Pure and tested: every token kind round-trips through the GitHub string, facet
counts and the 13-bucket histogram, model JSON to typed tokens (unknown fields,
hostile text and out-of-range values dropped and reported), org view resolution
and 256-character search splitting, saved query rename, reorder and delete.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…cker, save step, org view builder

Commands browse.filter.add/remove, browse.query.rename/delete/up/down and
browse.view.new, keys, menu entries, fixtures and shots, regenerated key reference.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ations and the four buttons

Local classification kept in browse.sqlite and never sent to GitHub: BrowseRead, parser, duplicates by title, the
ahead queue and card states, the verb table, the prompts the buttons open Start work with, heed filters that apply on
this Mac, the Agent-ready starter, fixtures and shots. Also fixes j k and space in Browse, which fell through to
Sessions.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… worktree and repo

Chat reads, Review reads and runs, Fix and Implement write; paths outside the worktree, secrets, other repos,
force-pushes, pushes to the default branch, repo settings, downloads and anything from an untrusted author are
refused, with a reason for the feed. Table tests for each.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…, their sweep and promotion

Created with git worktree add (a new branch from the default branch, or the pull request's head), removed with the
branch; RunCleanup sweeps leftover heed/browse/ branches that hold nothing unpushed. Tested against a real
throwaway repo.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… the trust rule and the prompts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Fix, Implement, Chat and Review start an agent over ACP under the thread (header, worktree line, feed with small
diffs, steer line, Close and Keep as a session), the clone card comes first when the repo is not on this Mac, and a
Review's draft is posted only from Post. Permissions are answered by BrowsePolicy and refusals show in the feed;
Chat-only for authors heed does not trust. [browse] max_runs and agent, commands, keys, settings, fixtures with a
scripted agent, shots, a live Chat test on haiku.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…the bulk panel, half and third widths

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…, no stored repo list

A view is org:<name>, language:<x> and archived:false (or true); the builder's repo count is a live look.
Stored views and queries with topic or team tokens still load, with those dropped.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Found by running the query against real GitHub: projectItems needs the read:project token scope, which gh's default token lacks, so every search failed with a scopes error. language: and archived: in a search, the repo count query and gh repo list's fields were checked live and work.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… of saying heed lists no issues

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 18, 2026
@Mpdreamz
Mpdreamz merged commit f003c69 into main Nov 19, 2026
5 checks passed
@Mpdreamz
Mpdreamz deleted the feature/browse branch November 19, 2026 00:05
Mpdreamz added a commit that referenced this pull request Nov 19, 2026
v0.47.0 was released before Browse (#295) merged, so the Browse
settings' \`since\` and the what's-new entry named a version that does
not contain it. They now say 0.48.0, the draft release's version.

Verified: \`mise run lint\`; the Settings and WhatsNew test suites pass
(89 tests).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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