ConceptUnderstand Spark
Guardrails
What Spark enforces itself in every chat and agent mode, what it leaves to the agent, and why nothing is capped.
All pagesA guardrail is a rule Spark enforces itself, in every chat and agent mode. Everything else is the agent's work: Spark moderates, it doesn't review.
What Spark enforces
| Guardrail | Means |
|---|---|
| Protected paths | Secret files, agent instructions, git hooks and files outside the project ask or are refused. |
| Publish rules | The agent pushes only the chat's own branch, only with a reason; otherwise refused. |
| Nothing merges | You merge pull requests yourself. Spark never approves or dismisses a review. |
| Another chat's text is never your message | A message or reply from another chat can't allow a push, a pull request or a Spark action. |
| The audit | Every action is recorded; one no card covered is marked ran without review. |
| Revert | Revert to before this run undoes a run's own edits. |
A run's protocol log is kept 14 days by default, then deleted for good when Spark next starts; messages and steps stay. Slack and remote control logs keep 90 days.
To keep protocol logs, set AUDIT_RETENTION_DAYS=90 before you update, or export the chat's audit as JSONL first.
Sub-chats add their own: stacked pull requests.
What Spark leaves to the agent
| Not done by Spark | Instead |
|---|---|
| Running your tests and lint | The agent runs them. Hooks and CI run on a push; Spark never skips them. |
| Reviewing the diff | Read it in Changes, or ask another chat. |
| Retrying on a stronger model | Stop the turn, then redirect it or pick another model. |
| Asking before a build | Approve a plan first. |
No budgets
Spark sets no budget on time, tool calls, tokens or cost. Usage is measured and shown; a turn runs until it finishes or you stop it.