ConceptUnderstand Spark

How Spark works

What Spark adds around Claude, Codex and Z.ai, and the path a message takes from the message box to a pull request.

All pages

One chat is one agent session. Your message goes to the agent as typed; Spark adds approvals, worktrees, auditing and publishing.

What happens to a message

Step What happens
1. Place In a mode that can change files, the chat gets its own worktree and branch, or a private folder without a project.
2. Plan Only when you ask: /plan or Plan mode has the agent plan first.
3. Work The agent answers or changes code. Every action passes the approval gate and the audit.
4. Keep Changed files are kept, with a Changes kept record to revert.
5. Publish You ship, or the agent pushes and opens the PR. Spark then handles PR feedback.

How work is split

The lead delegates implementation slices to available provider sub-agents, choosing roles, count and slices per worker.

Responsibility Work
Lead Scope slices, coordinate dependencies, integrate and report results.
Builder Reuse what exists; write the least new code that works.
Verifier Test the exact changes; report checks and gaps.
Reviewer Independently inspect the diff for defects.
Explorer, optional Investigate uncertainty without editing.

Assignments carry scope, interfaces, dependencies and done criteria. Workers return files, checks and blockers.

Questions, planning and assigned slices need no recursive delegation. For a job too big for one chat, ask the agent to split it.

Codex keeps your delegation settings. Without available workers, the agent explains and asks. Reports name workers, checks, skipped work and risks.