Ensemble v2 verification — 2026-10-30
Target: OpenCode 2.2.2 on Linux. Isolated config/data/project: /tmp/opencode/ensemble-v2-test. Model: local OpenAI-compatible probe provider with a controlled 503 fallback provider. Plugin: the root package exports (src/v2/server.ts, src/v2/tui/index.tsx) were loaded in a separate isolated instance.
Checks
| Check | Result |
|---|---|
| Root package exports the v2 server and TUI | Pass |
Plugin page opens with /ensemble | Pass |
| Native-like workspace layout: rail, group chat, subtask board | Pass |
Leader key ~ shows leader mode | Pass |
~? shows the complete shortcut list | Pass |
~q leaves to the native TUI | Pass |
Literal ~ is not the leader key inside a dialog | Pass by modal isolation |
Directory picker opens and uses fd results | Pass |
| Create agent and workspace | Pass |
| Group chat sends a message and records the agent reply | Pass |
| Workspace switching preserves messages and sessions | Pass |
$/! routing and leader fallback | Pass (core tests and live workspace) |
Leader delegates typed subtasks through ensemble_delegate | Pass |
| Worker reply returns to the group chat | Pass |
| Pending / Working / Replied board | Pass |
| Leader synthesis after child replies | Pass |
| Outside-roster delegation produces approval | Pass |
| Approval resolution from the inbox creates the outside task | Pass |
| Approval resolution is idempotent for the same decision | Pass (unit) |
| Interrupted work creates an approval and does not replay | Pass (unit) |
| Answering a pending question after restart resumes the task | Pass (unit) |
| Stale approvals cannot resurrect cancelled/replied work | Pass (unit) |
| Native-session deletion covers replaced sessions | Pass (unit) |
| Archiving a workspace interrupts its active run | Pass (unit) |
Unknown $Name mentions fail with unknown_member | Pass (unit and TUI error path) |
Code-shaped @media / @ts-ignore are not treated as members | Pass (unit) |
| Reassigning a working task ignores the late result | Pass (unit) |
| Workspace search filters the grouped rail | Pass |
| Workspace rail shows unread and busy markers | Pass |
Mention picker inserts a stable $Name reference | Pass |
| Creating an agent from the workspace adds it to the roster | Pass (unit and live TUI) |
| New agents appear in the roster even without a workspace | Pass (live TUI) |
g edits workspace members and leader | Pass (unit) |
Inline composer sends a message and Esc cancels it | Pass |
@ file picker inserts a workspace-relative reference | Pass |
/ command palette runs workspace/agent/settings commands | Pass |
| Task reassign and stop-and-restart | Pass |
| Workspace pause rejects new work until resumed | Pass (unit and TUI) |
| Leader archive requires and applies a replacement | Pass (unit) |
| Workspace delete can remove native sessions | Pass (unit) |
| Capacity limit queues extra work | Pass (unit) |
| Edit work in one directory runs one subtask at a time | Pass (unit) |
| v1 profiles merge without overwriting v2 agents | Pass (unit) |
| Interrupted task selection is restored after reopening | Pass |
| Unknown leader shortcut shows a hint and exits leader mode | Pass |
| Open result shows the stored reply | Pass |
Native session opens with o and shows tool calls | Pass |
| Ensemble page returns with state intact | Pass |
| Skillbox: no optional skills means the skill tool is absent | Pass |
| Skillbox: assigned catalog limits loading | Pass (native session permissions) |
| Model availability fallback | Pass — fail provider switched to backup and replied |
| Background work after closing the TUI | Pass in the isolated server |
| Server restart recovery | Implemented; working subtasks return to pending with an interrupted badge |
npm test | Pass — 87 v2 tests |
npm run test:live | Pass — isolated server and TUI, packaged plugin, leader help, agent creation, $/@// composer completions |
Shared opencode service reload | Pass — opencode plugin list reports ensemble.v2 |
| Three-column layout with agents above workspaces | Pass (live TUI) |
| Initial empty chat state | Pass (live TUI) |
| New agent stays homeless and opens a direct chat | Pass (live TUI) |
| Direct chat uses a workspace or homeless native session | Pass (unit) |
| Direct chat streams native deltas and clears on execution completion | Pass (manual live TUI) |
Inline $/@// popup filters and inserts/runs without a host dialog | Pass (live TUI) |
| Custom member picker searches and toggles with Space | Pass (live TUI) |
| Workspace wizard creates and opens a workspace end to end | Pass (live TUI) |
| Agent wizard requires name/role/model and jumps to the first invalid step | Pass (live TUI) |
Wizard Ctrl+←/→ preserves drafts across steps | Pass (live TUI) |
| Multiline composer grows and keeps completions above it | Pass (live TUI) |
| Rich Markdown history scrolls, preserves position, and jumps to bottom | Pass (live TUI) |
| Non-git git lookup returns no state and leaks no stderr | Pass (unit) |
| Agent onboarding prompt includes the full Ensemble contract | Pass (unit) |
| Centered picker overlay confirms with Enter and advances to the leader picker | Pass (live TUI) |
| New-agent name/title/role fields wrap and submit with Enter | Pass (live TUI) |
| Focused pane and composer borders stay visible; inactive borders are muted | Pass (live TUI) |
Semantic focus border, git metadata, and visible I init label | Pass (live TUI) |
| Formatted tables and fenced code in terminal text | Pass (unit) |
| PageUp/PageDown transcript scrolling | Pass (live TUI) |
| Direct messages queue while an agent is busy | Pass (unit) |
| Group replies stream into one growing live message and reconcile on completion | Pass (unit; manual live TUI) |
| Workspace config is authoritative and auto-discovered | Pass (unit) |
| Native init places the versioned AGENTS.md block at the top | Pass (unit and live TUI) |
| Reset removes state/sessions and preserves handoffs | Pass (unit and shared-service reset) |
| Streaming poll cannot write after reset | Pass (unit) |
| Archived config cannot be resurrected by agent edits | Pass (unit) |
| Parallel DMs create one homeless session | Pass (unit) |
| Failed init leaves no AGENTS.md block | Pass (unit) |
| Native read/write Ensemble tools enforce binding | Pass (unit) |
| Directory history restores the last chat and selection | Pass (live TUI) |
Not verified
- The composer completes Ensemble commands on
/; arbitrary native OpenCode slash commands are not proxied into the group chat. - Syntax highlighting, rich Markdown styling, and clickable links are not implemented in the transcript. Tables and fenced code are formatted as terminal text.
- The live harness creates and deletes an agent/workspace; it checks inline completion and insertion, but does not wait for a full model reply to assert streaming inside the harness. Streaming deltas are covered by the service unit test and were verified manually against the probe provider.