mirror of
https://github.com/akitaonrails/ai-memory.git
synced 2026-10-02 03:24:46 +08:00
List the managed workstreams that `run --workstream` can select from the current checkout, so branching between lines of work no longer requires remembering names or reading the database by hand. The list resolves the same (workspace, project, repository, worktree) identity `run` selects with, puts the current selection first, then orders by recent activity. Rows carry the linked harnesses and the stable workstream id that `workstream-search --workstream-id` accepts. Discovery is a read of workstream metadata only: checkout paths, repository and worktree fingerprints, and native session ids never travel back to the client. The new `/workstream/recent` route requires NormalRead, resolves scope through `lookup_existing_scope` (no-create, fails closed), and bounds the limit server-side. The Docker shell wrapper routes the command through its native host client alongside `run`, `show`, and `continue`, since repository identity is a host resource the helper container cannot see. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: AkitaOnRails <fabioakita@gmail.com>