Browse, import, continue, and search cold sessions #7
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
lab/pilcrow#7
Loading…
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?
What to build
Add a project History destination that composes durable workspace records with cold Pi sessions returned on demand by the local history source. Cold sessions do not enter the normal workspace automatically. Opening one is read-only and uses the same active-branch stream without launching Pi.
Add to workspace imports the explicitly selected cold path as a stopped record. Continue imports when necessary and then uses the exact-path lifecycle established for known sessions. Copied JSONL files with the same declared Pi ID remain separate path-qualified rows with a warning; either may be inspected, while Continue is blocked when that identity already has a live owner.
Workspace search includes known records and on-demand cold metadata. Match project and session identity plus current or last-known activity. Do not build transcript full-text search or an eager parallel index.
Acceptance criteria
Blocked by
Implemented in jj revision
4454d8df(feat(history): add bounded project history and cold session inspection UI).What changed:
SessionManager.list()discovery with a Pilcrow-owned read-only metadata scanner. It has explicit file/directory/aggregate/header/line/field/concurrency/time bounds, propagates cancellation, closes streams/handles, shares safe in-flight scans, and never materializes transcript bodies for search.Audit and regression coverage:
Validation:
git diff --checkpassed.vp checkremains blocked only by the unchanged pre-existing formatting issue in.dev/agents/triage-labels.md.Protocol remains v8. No transcript full-text index, eager background index, Pi JSONL write/migration, branch UI, placement, or live settlement was added. No dev server was managed.