You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repository view: open a repo's session list to manage them #148
A dedicated surface to browse and manage all Claude sessions of one git
repository — rename, archive, launch, compare — instead of only the flat
per-project sidebar grouping.
Design-first. Filed to shape, not yet to build.
Current state
Sessions group by real project_path (crates/core/src/browser.rs:86).
Git awareness exists only to normalize paths: worktrees are collapsed onto
their repo root during scan (resolve_worktree / repo_root, crates/scan/src/lib.rs:352,350) — there is no repository entity or view.
To shape
Grouping key: real path vs detected git repo-root (add a repo-root field to SessionRecord? a second grouping mode in group_projects?).
What actions the view exposes (archive / rename / launch / bulk ops).
Where it lives: a pane, a full-window overlay, a right panel?
Relationship to the existing sidebar project groups.
Run /feature-torture before filing implementation issues.
Note from the F-repo-add wrap pass (#281, merged as ef16e04): the code
citation in this issue no longer resolves.
Git awareness exists only to normalize paths: worktrees are collapsed onto
their repo root during scan (resolve_worktree / repo_root, crates/scan/src/lib.rs:352,350)
Three things drifted:
resolve_worktree no longer exists. The grouping rule is now scan::sidebar_key (crates/scan/src/repo.rs), and it is called by the walk and by a hand-added repository alike — one function, because two rules
meant two sidebar rows for one repository.
It does not collapse onto a repo root. It collapses a worktree onto its
main checkout and does nothing else: no climb to the repository root, no canonicalize. Both were tried and removed, because the scan cannot apply
either and a key it cannot produce is a second row. repo_root survives, for
the "new session in the same repo" shortcut, which is a different question.
crates/scan/src/lib.rs is 112 lines; those symbols moved to repo.rs.
The claim this citation supports — that there is no repository entity, only
path normalisation — still holds, so the issue’s premise is intact. Only the
pointer is stale.
Split into sub-issues: #557 (design spike: the repository as an entity, with #265) → #558 (repository root on SessionRecord) → #559 (repository view) → #560 (bulk operations).
Activity
bastien-gallay commentedon Jul 11, 2026
Refactor prerequisites: #168 (C2
view/sidebar.rs) and #169 (A3Sessionsregistry) — a repo-scoped session view reads through the registry.chore(planning): close the two gaps a merged board left open (#235)
bastien-gallay commentedon Aug 18, 2026
Note from the
F-repo-addwrap pass (#281, merged as ef16e04): the codecitation in this issue no longer resolves.
Three things drifted:
resolve_worktreeno longer exists. The grouping rule is nowscan::sidebar_key(crates/scan/src/repo.rs), and it is called by the walkand by a hand-added repository alike — one function, because two rules
meant two sidebar rows for one repository.
main checkout and does nothing else: no climb to the repository root, no
canonicalize. Both were tried and removed, because the scan cannot applyeither and a key it cannot produce is a second row.
repo_rootsurvives, forthe "new session in the same repo" shortcut, which is a different question.
crates/scan/src/lib.rsis 112 lines; those symbols moved torepo.rs.The claim this citation supports — that there is no repository entity, only
path normalisation — still holds, so the issue’s premise is intact. Only the
pointer is stale.
bastien-gallay commentedon Nov 11, 2026
Split into sub-issues: #557 (design spike: the repository as an entity, with #265) → #558 (repository root on
SessionRecord) → #559 (repository view) → #560 (bulk operations).