Repository navigation
Group the Overview by worktree and relabel Changes as History - #113
Merged
Merged
Conversation
The design canvas now carries the five target boards for the right panel restructure: Screen / Panel / Overview, Screen / Overview / States, Screen / Overview / Actions, Screen / Panel / History and Screen / History / States and actions. The old Project task forest, Inspect without moving, Availability states and Panel / Changes boards are gone, and the Explorer board's third tab reads History. The approved PRD for this change rides along as the contract the boards were drawn from.
…iew history
The worktree reader no longer reads a project's Git ancestry: the Overview
graph it fed is being deleted, so `git_history.rs`, the `history` field
and the request's `overview_root` go with it, together with the read cache
that only existed to keep the history out of the base key.
In their place each worktree carries `behind_upstream` and
`created_at_unix_ms`. The first comes out of the `rev-list` that already
counts unpushed commits, widened to `--left-right --count @{u}...HEAD`, so
the number of git processes per worktree does not change; the second is the
stat of the worktree's own `.git/worktrees/<name>` entry, read off the
gitfile with no process at all.
The core's Overview events change with the screen: `overview_select`, its
inspected-checkout state and `overview_changes` are gone; `overview_open_section`
focuses a checkout and switches the panel section in one event, and
`agent_start_in_checkout` opens a tab with the checkout as its cwd through
the task operation slot the worktree sheet already reports through.
A workspace that is not a Git repository had no disk request, so its Overview could show nothing at the top. The focused local folder is now measured as one root, which is the one fact the folder project's strip and group header draw.
… History The Overview is now the project's worktrees as groups, each holding the agents working in it, under a stat strip of derived project facts: disk, open pull requests, and, only when there is something to act on, the base branch behind its upstream and merged worktrees to clean up. Every cell follows one glyph language, a number, an ellipsis while reading, a question mark when unreadable, and absence when not applicable. A group header carries the branch and one mono detail line of files, ahead/behind, size and pull request chip; the files chip opens the checkout on History in one core event. Rows are the sidebar's agent identity and state, nested under a parent in the same group, with a caption naming a parent in another worktree. Header and row context menus start agents in the checkout, reveal the pane in the sidebar, and reuse the existing worktree and pane-close gates. Groups sit in a fixed order, primary first, linked worktrees oldest first, then the shared Inactive fold; search keeps matching rows with their group. The Git ancestry graph, the inspectors, the summary rows, the Tasks/Git mode toggle and the Needs You bar are removed with their graph tokens, lane colours, canvas variables and the disclosure style nothing else used. The Changes tab is labelled History; its body is unchanged. The component and control checks no longer demand a choice group or a disclosure allowance from the Overview, and the Overview gate scripts assert the new states.
DESIGN.md carries the Overview contract for the stat strip, the group header line, the row shape, the menus, the search rules and the states; ARCHITECTURE.md names the two new events; PERFORMANCE_TESTING.md replaces the project history paragraph with the catalog-only cost contract and its regression owners; the agent workflow review marks its task-forest section historical; CONTRIBUTING.md describes the moved gates.
…tive checkouts under the fold A plain folder project has no worktree catalog, so its stat strip and group header read the focused checkout's own disk measurement; the strip showed a permanent ellipsis before. The Inactive fold's checkouts are drawn under the fold row rather than above it, matching the sidebar, and the popover buttons take the shell's text button style instead of the system bordered one.
The header menu is built in CheckoutOverview and its order is stated by OverviewPresentation.headerMenuItems, so the parallel list in WorktreeMenuPolicy had no caller and a different order. The serde default on a Serialize-only snapshot field did nothing. The right-panel sections gate's comment names History.
yansfil
added a commit
that referenced
this pull request
Sep 20, 2026
Related: follows #113, whose body showed the problem this fixes. ## Summary - The template now runs in the order a reviewer reads: what changed, what needs my judgment, what is already proven. - `Related:` is one line above `Summary`, for the issues a PR closes and the PRs it depends on. - `Review` absorbs `Review focus` and `Risk surface`: the six risk areas become the reason written beside each file to watch, so nothing is answered "N/A". - `Evidence` keeps confirmed / not confirmed and adds a `생성물` line for large generated diffs such as `design/hide.pen`. - `AI tooling` is one line, and a folded `Verification record` block at the end takes the SHAs, suites, evidence list and changed-path count that `/ship` generates. - `AGENTS.md` and `CONTRIBUTING.md` name the new sections; no script reads the template. ## Review - **판단해 주세요**: whether folding `Risk surface` into per-file reasons loses the checklist's reminder value for hand-written PRs; whether the 40-line / 120-character budget in the header comment is the right size. - **조심해서 볼 파일**: `.github/pull_request_template.md` - the wording of the Korean guidance comments, since they are what every future PR author reads. - **질문**: should the `Verification record` block stay in the template for hand-opened PRs (the comment says to delete it), or be added only by `/ship`? ## Evidence - **확인한 것**: `/ship`'s `body` command on the `right-panel-overview` run drafts into this template, places `Related:` under the leading comment and above `Summary`, and replaces the placeholder record with a 26-line folded block whose paths are record-tree relative (`agents/runs/...`, no workstation path); the sasu ship test suite passes 8/8 with three tests covering this shape. - **확인하지 못한 것**: GitHub's rendering of the template on a new PR was not opened in a browser; this PR is the first use, so its own body is the rendering check. **AI tooling**: written mostly with AI tooling; the template text, the AGENTS.md sentence and the CONTRIBUTING.md sentence were read and adjusted by hand.
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.
Related: PRD
agents/prd/right-panel-overview/prd.md· follows #109 and #101 · PR 2 (History body) is parked until its planning is doneSummary
behind originandmerged to clean uponly when there is something to do.files · ↑a ↓b · size · #PR; a row click opens the pane, the header opens the workspace, the files chip opens History.overview_select/overview_changesevents.Review
· M inactiveat zero; a group's chevron folds its rows and shares the sidebar's collapsed set (not in the PRD); while searching, a matching inactive checkout appears as a header line and the fold hides.herdr-core/src/runtime/projects.rs-agent_start_in_checkoutis a new live write path (tab.create / workspace.create through the task-operation slot, refused without a connection).herdr-core/src/worktrees.rs-upstream()now parses two counts from onerev-list --left-right; a parse failure reads as?, never as zero.macos/Sources/HerdrMacOS/CheckoutOverview.swift- the whole surface is new; nothing runs under the runtime mutex.Terminal only / Claude / Codexthe right submenu order, given the New worktree sheet lists providers the same way?Evidence
New agent here ▸ Claudecreating a tab and starting the agent, search keep and no-match, the Inactive fold, the disconnected caption.GIT_TRACE: 0 git commands over 60 s idle with the Overview visible; one 67-command pass of about 1 s per detected change, the same count as before this PR.gh(the fixture has no GitHub remote; covered byOverviewPresentationTests); the header and row context menus opened by hand,Reveal in sidebar,Copy pane id,Close pane…andDelete worktree…from the Overview (SwiftUI context menus do not open through background accessibility; item lists are asserted bymenusListTheAgreedItemsInOrder, the actions reuse the sidebar's paths).design/hide.penis 31k of the 34k changed lines and is script output (Screen / Panel / Overview,Screen / Overview / States,Screen / Overview / Actions,Screen / Panel / History,Screen / History / States and actions); the screenshots above are what it describes.AI tooling: written mostly with AI tooling; the PRD, the design boards and the review dispositions were checked by hand against the captures.
Verification record
agents/prd/right-panel-overview/prd.md(sha256 f1d4434cdadeb687c25e136efa2bcb7f7955a3634c05de6d44f8bf2680f934c1)agents/runs/right-panel-overview/verification-report.jsonandagents/runs/right-panel-overview/verification-report.md; source fingerprint d41d3ba8829835e7d8d9139c96d03437b25cb7fd5aba71d570befc8876290c1cbash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-swift.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)WorktreeMenuPolicy.overviewHeaderItemslist whose order disagreed with the menu the view builds. Final Fix now: none. Follow-ups: the zero-inactive subtitle, the per-group fold sharing the sidebar state, positional chip ids inForEach.