Tracking: persistent workdirs and sessions #10
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Tracks the milestone "Persistent workdirs and sessions". Replaces per-task
mkdtemp + git clonewith a cache clone plus per-(agent, branch) worktree, and persists Claude Agent SDK session ids per (agent, repo, issue) so re-dispatches resume their prior conversation instead of starting fresh.Each story carries a
## Dependenciesfooter with its direct edges; this issue owns the full tree.Dependency graph
PR stacking strategy
Same convention as the peon repo: a downstream story branches off the upstream story's branch and targets it as the PR base, so work parallelises while the upstream PR is still in review. When the upstream merges to
main, the downstream PR is rebased and retargeted atmain.Branch naming:
issue-<N>-<slug>.Recommended execution order
Critical path:
#2 → #3 → #5 → #6 → #7.Decisions log
Spike (#2) output lands here as comments. Key decisions to capture:
session_idlives in the SDK message streamresumerequires the originalcwdextensions.worktreeConfig(option B)GIT_ASKPASSvs. URL rewrite vs. credential helper--filter=blob:nonevs.--depth=NOut of scope for this milestone
Closing: milestone complete. All children resolved —
#6(sessions store),#7(sweeper),#3/#4/#5(workdir + cleanup + runAgent),#8(dashboard),#9(admin reset) all landed. Sessions + worktrees have been live since 2026-04-17 and are in daily use across boss/dev/reviewer.