Context
Users need to inspect specifications and agent changes without leaving CLI Master, and canvas File Tree nodes require a safe backend. A generic arbitrary-filesystem API would be too broad.
Goal
Add project/worktree-scoped file browsing, text search, reading, and editing through typed daemon operations.
Scope
- Browse registered project roots and managed worktrees.
- Search filenames and text with bounded results and cancellation.
- Read UTF-8 text and report binary/unsupported encodings safely.
- Write files atomically with revision or content-hash conflict checks.
- Watch scoped filesystem changes and refresh affected views.
- Integrate file selection with the prompt composer and Git status.
- Provide accessible tree/list and editor interactions.
Acceptance criteria
Out of scope
A full language server, remote filesystem, and arbitrary home-directory browsing.
Context
Users need to inspect specifications and agent changes without leaving CLI Master, and canvas File Tree nodes require a safe backend. A generic arbitrary-filesystem API would be too broad.
Goal
Add project/worktree-scoped file browsing, text search, reading, and editing through typed daemon operations.
Scope
Acceptance criteria
Out of scope
A full language server, remote filesystem, and arbitrary home-directory browsing.