Testing
cd bridge && npm test # node:test, 162 tests
| Area | Tests |
|---|---|
| ACP and agents | agents, agent-env (git sandbox), fake-acp, fake-mcp-acp scripted agents. |
| Workflows | workflows, lead-e2e (lead → teammates with a scripted team), routines, channels. |
| Merges | worktrees and worktree-e2e run real git in temp repos: merge, conflict, reject, dirty checkout. |
| Data | memory, shared-data, history, backup, skillstore, edits, compaction, mailbox. |
| Server | server, pairing, preview (real headless Chrome). |
Whole-system check
node bin/haunted-crew.mjs <git-project> --worktreesand run the Lead delegates template.- Watch ghosts walk to desks; approve their tool calls.
- Open K → Merges, read the diff and merge. Check
git log --graphshows the merge commit. - Make a conflicting commit on
mainbefore merging to see the Resolver ghost. - Use Request changes to see the Reviser ghost rework the branch.
- Open the browser screen, search, type and paste.
--demo runs the same flow with a scripted agent and needs no Kiro account.