Skip to content

feat: scope spool list to current project#469

Merged
xinyao27 merged 2 commits into
mainfrom
inspect-spool-list-params
Jul 19, 2026
Merged

feat: scope spool list to current project#469
xinyao27 merged 2 commits into
mainfrom
inspect-spool-list-params

Conversation

@xinyao27

Copy link
Copy Markdown
Contributor

What changed

  • Make spool list default to Sessions associated with the current working directory's project identity.
  • Add -a, --all to ignore cwd and list Sessions across all projects.
  • Preserve --source, --project, --limit, and --json filtering on top of the selected scope.
  • Add cwd identity resolution for canonical and indexed project paths.
  • Update CLI documentation, quick start material, and the Spool skill reference.

Why

A global recent-Session list becomes noisy when users work across multiple repositories. Defaulting to the current project makes spool list context-aware, while --all preserves the existing cross-project workflow explicitly.

User impact

Running spool list inside a project now shows that project's Sessions. Users who want the previous global behavior can run spool list --all.

Validation

  • pnpm --filter @spool-lab/core test — 450 passed, 1 skipped
  • pnpm --filter @spool-lab/cli test — 147 passed
  • pnpm --filter @spool-lab/core typecheck
  • pnpm --filter @spool-lab/cli typecheck

E2E tests were not run, per the repository's local-development guidance.

@xinyao27
xinyao27 marked this pull request as ready for review July 19, 2026 14:00
@xinyao27
xinyao27 added this pull request to the merge queue Jul 19, 2026
Merged via the queue into main with commit a538b3f Jul 19, 2026
6 checks passed
@xinyao27
xinyao27 deleted the inspect-spool-list-params branch July 19, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant