You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flowchart LR
A[/session new/] --> B[/templates feature/]
B --> C[/plan …/]
C --> D[Answer questions]
D --> E[/confirm/]
E --> F[ORCH+FE+BE+QA+swarm]
F --> G{Ready?}
G -->|/reject| F
G -->|/accept| H[Done]
G -->|/stop| I[Paused]
Loading
Step
Command
What happens
1
/session new auth
Durable workspace session
2
/templates fullstack
Checklist + guidance
3
/plan …
ORCH explores; asks or plans
4
answers 1. …
Refines plan
5
/confirm
Execute loop; workers may spawn
6
/review optional
QA-focused pass
7
/accept
Session completed
Plan B — Bugfix
/session new bug-null-checkout
/templates bugfix
/plan Fix null crash in checkout
/confirm
# after fix:
/review
/accept
Plan C — Safe exploration (no writes)
/dryrun on
/plan Evaluate migration to Postgres
# read-only explore; writes blocked
/dryrun off
Creates .arrowcode-sessions/<id>/ with meta + memory.
/session list / /sessions
Lists sessions; * = active.
/session load <id>
Restores phase, goal, plan; re-injects memory.
/session save
Flush coalesced disk write.
/session memory
Print durable L3 block.
/session memory <note>
Append decision/note.
/session delete <id>
Remove session folder.
Storage: workspace.arrowcode-sessions/ (not global home).
4.5 Safety & control
Command
How it works
/yolo
Toggle auto-approve all gated tools.
/dryrun on|off
Block writes/bash (allowlisted bash still ok).
/allowlist on|off
Auto-approve safe cmds (npm test, tsc, …).
/secretscan on|off
Block writes matching key/token patterns.
/budget N
Soft-stop when tokens ≥ N (0 = off).
/undo [id]
Restore last (or given) checkpoint from .arrowcode-checkpoints/.
/checkpoints
List undo snapshots.
4.6 Agents, models, swarm
Command
How it works
/agents
Paths to personalities (defaults/ or ~/.arrowcode/agents if installed).
/endpoints
Resolved per-agent provider/model/key mask.
/model [id]
Show/set global model.
/swarm
Print worker tree + caps.
/status
Phase, cycle, dryRun, agent statuses.
/cost
Session metrics + swarm token stats.
/clear
Reset agent histories + phase idle.
/compact
Soft history reset.
4.7 Dashboard / perf / system
Command
How it works
/settings
Fullscreen settings (Esc saves).
/dashboard
Refresh files/diff/swarm panels.
/diff
Refresh tracked diffs.
/replay [name]
Export timeline JSON.
/perf
Timers, counters, cache sizes.
/perf reset
Clear perf + caches.
/init
Create ~/.arrowcode from defaults/ (optional).
/help
Command panel.
/exit
Quit.
4.8 Routing (not slash)
Input
How it works
@fe …
Message frontend only
@be …
Backend only
@qa …
Tester only
@orch …
Orchestrator only
@all …
Broadcast
free text in questions
Answers clarifying questions
free text in await_confirm
Plan feedback
free text in idle
Starts /plan
5. How each major flow works
5.1 Plan → confirm → execute
sequenceDiagram
participant U as User
participant H as Harness
participant O as ORCH
participant F as FE/BE/QA
participant T as Tools
U->>H: /plan
H->>O: mode=plan
O->>T: explore read-only
O-->>H: arrow-questions or arrow-plan
U->>H: answers /confirm
H->>F: execute assignments
F->>T: write/edit/bash
F-->>H: bus + ready
U->>H: /accept
Loading
5.2 Swarm workers
flowchart TB
FE[FE main] -->|spawn_worker| W1[fe.form1]
FE -->|spawn_worker| W2[fe.style2]
W1 -->|spawn_worker depth2| H1[helper]
W1 -->|report| FE
W2 -->|report| FE