feat(bolt): add specialist agents and task controls
Merged
A-
2d ago+626+626+012345678901234567890123456789-38-38-01234567890123456789
User description
Summary
- Add configurable project subagents and built-in specialists.
- Add a parallel-task dashboard and opt-in project prompt ideas.
- Harden symlink authorization and repair direct commands and development server selection.
Verification
bun run check(also run by the push hook)- Focused core, server, CLI and TUI tests for the affected paths
Visual
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72">
<rect x="10" y="10" width="220" height="52" rx="8" fill="none" stroke="currentColor" opacity=".5"/>
<text x="22" y="31" fill="currentColor" font-size="12">Parallel tasks</text>
<circle cx="26" cy="46" r="4" fill="currentColor"><animate attributeName="opacity" values=".4;1;.4" dur="1.5s" repeatCount="indefinite"/></circle>
<path d="M38 46h65 M116 46h55" stroke="currentColor" opacity=".6" stroke-width="3" stroke-linecap="round"/>
</svg>
Summary by cubic
Adds configurable project subagents and built-in specialists, a parallel-task dashboard, and opt-in project prompt ideas. Hardens symlink authorization and repairs direct slash-command execution, dev server selection, and TUI error reporting.
New Features
- Users can define project subagents in
.bolt/subagent/<name>.md; they're hot-reloaded, always register as subagents, and support optional model and permission frontmatter. - Adds six built-in specialists (
reviewer,security-auditor,debugger,bug-hunter,security-fixer,documentation); the two auditor roles are read-only. - TUI home adds a parallel-task dashboard (
/tasks) and experimental/ideas, which generates project-aware prompt suggestions from filenames.
Bug Fixes
- File access now resolves symlinks before authorization so dangling symlinks are rejected and external symlink targets require authorization instead of being treated as internal paths.
- Typed no-argument slash commands run directly rather than opening autocomplete, and sandbox toggling carries the selected model and agent into the new session.
- The CLI starts a standalone server when built from local source so a managed server can't run stale code, and TUI toasts now show the server's structured error message.
PR Type
Enhancement, Bug fix, Documentation
Description
-
Add custom project subagents and built-in specialists
-
Canonicalize filesystem paths for secure authorization
-
Add parallel task dashboard and project prompt suggestions
-
Prevent stale development servers during local runs
Diagram Walkthrough
flowchart LR
Subagents["Subagents (.bolt/subagent)"] -- "Registers" --> CoreAgent["Core Agent Plugin"]
Realpath["Realpath Resolution"] -- "Hardens" --> FileAccess["File Access Service"]
TUI["TUI Dashboard"] -- "Adds" --> TasksAndIdeas["/tasks and /ideas Commands"]
File Walkthrough
| Relevant files | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bug fix | |||||||||||||||||||
| Enhancement | 9 files
| ||||||||||||||||||
| Security | 1 files
| ||||||||||||||||||
| Documentation | |||||||||||||||||||
| Tests | 5 files
| ||||||||||||||||||
| Additional files |
Summary by CodeRabbit
-
New Features
- Create custom subagents with Markdown instructions and optional model and permission settings. Six built-in specialist agents are also available.
- Generate project ideas from the home screen and add suggestions to your prompt. Use
/ideasto access them. - View running and completed parallel tasks in the task dashboard, available with
/tasks. - Start a sandbox from the home screen using your selected agent and model.
-
Bug Fixes
- Slash commands that don’t require arguments can now be selected without entering any.
- File access checks now follow symlinks when resolving paths, including external destinations.
- Error notifications provide clearer messages across several commands and features.