/sl-advanceslash command
/sl-advance
specloop: force-pass the current phase
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-advance
specloop: force-pass the current phase
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-feature <path-to-spec.md>
specloop: load a specification in feature mode (one commit per planned step)
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-go
specloop: start or resume the spec-driven workflow
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-pause
specloop: pause the workflow (hooks stop driving the session)
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-quality [run [gate...]|init [preset]|accept]
specloop: list the quality gates and set them up
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-reset
specloop: delete the workflow state and run artifacts
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-spec <path-to-spec.md>
specloop: load a specification for spec-driven development
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-status
specloop: show the workflow state
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
/sl-update [check|skip|never]
specloop: check for and apply kit updates
Shown with the default prefix "sl-", which is the default of the "commandPrefix" setting; an installation can use another prefix.
agents { ... }
Model and effort of delegated phases, in named tiers; see Model and effort per phase.
agents.enforce = true
Deny a main-session Agent call that does not carry the phase's settings (see Enforcement).
agents.escalateAfterRejects = 2
Rejections of a step that move the run to the next tier (see Escalation after rejections). 0 turns it off.
agents.escalateOnStall = true
Move to the tier's escalateTo instead of stalling on maxIterations (see Escalation on stall).
agents.maxDenials = 2
Denials per attempt before the check gives up and allows the call.
agents.tier = null
Name of the tier the run uses. null means no tier.
agents.tiers { ... }
Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.feature-plan { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.feature-plan.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.feature-plan.model = "opus"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.implement { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.implement.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.implement.model = "opus"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.review { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.review.effort = "xhigh"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.heavy.phases.review.model = "opus"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.escalateTo = "standard"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.feature-plan { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.feature-plan.effort = "medium"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.feature-plan.model = "sonnet"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.implement { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.implement.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.implement.model = "haiku"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.review { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.review.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.light.phases.review.model = "sonnet"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.escalateTo = "heavy"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.feature-plan { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.feature-plan.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.feature-plan.model = "sonnet"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.implement { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.implement.effort = "medium"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.implement.model = "sonnet"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.review { ... }
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.review.effort = "high"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
agents.tiers.standard.phases.review.model = "sonnet"
Part of "agents.tiers": Named tiers. A tier has escalateTo (another tier) and phases, which maps a phase name to {model, effort}.
blockedCommandsUntilDone = ["git push","gh pr create","gh pr merge"]
Bash commands denied while a run is active, in both modes; see Guard rails.
checkTimeoutSec = 900
Timeout for a command check.
commandPrefix = "sl-"
Prefix of the slash commands, as set by the installer's --prefix. Used in every message the engine prints.
feature { ... }
Feature-mode settings and phase graphs.
feature.blockedCommands = ["git commit","git checkout","git switch","git reset","git rebase","git merge","git stash","git branch -D","git push"]
Bash commands denied while a feature run is active.
feature.branchMode = "create"
"create" makes a new branch from branchPrefix; "current" runs on the checked-out branch and creates none.
feature.branchPrefix = "specloop/"
Prefix of the feature branch name.
feature.commitExclude = [".claude/specloop/"]
Paths never included in step commits.
feature.commitMessage = "{type}: {step_title}\n\nspecloop step {step_index}/{step_count} ({step_id}) of {spec}"
Commit message template; {type} is the step's type (default feat).
feature.enforceDelegation = false
In delegated phases, deny the main session's edit tools outside run/ and tell it to start a subagent.
feature.gitTimeoutSec = 60
Timeout for every git call the engine makes.
feature.maxReplans = 3
Auto-replans allowed per run; later requests stall.
feature.pauseBetweenSteps = false
Pause after each step's commit.
feature.planPhase = "feature-plan"
First phase of a feature run.
feature.planPhases { ... }
Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan { ... }
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.allowEdits = [".claude/specloop/run/"]
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.check { ... }
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.check.path = ".claude/specloop/run/steps.json"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.check.requireAllPending = true
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.check.type = "steps"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.delegate = true
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-plan.subagent = "specloop-planner"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan { ... }
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.allowEdits = [".claude/specloop/run/"]
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.check { ... }
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.check.path = ".claude/specloop/run/steps.json"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.check.requireAllPending = false
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.check.type = "steps"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.delegate = true
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.planPhases.feature-replan.subagent = "specloop-planner"
Part of "feature.planPhases": Phase graph for planning, with the same keys as phases (delegate, subagent, allowEdits, check, instructions). Both phases default to subagent: "specloop-planner"; see Choosing the subagent.
feature.replan = "stall"
What a replan.md request does: "stall" for the user, or "auto" to run the replan phase.
feature.replanPhase = "feature-replan"
Phase (in feature.planPhases) that rewrites the remaining steps in "auto" mode.
feature.requirePlanApproval = true
Pause for approval after planning. When false, the plan is approved as soon as its gate passes.
feature.stepInitialPhase = "implement"
First phase of every step.
feature.stepPhases { ... }
Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.implement { ... }
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.implement.check = null
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.implement.delegate = true
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.implement.next = "review"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.implement.subagent = "specloop-implementer"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review { ... }
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.allowEdits = [".claude/specloop/run/"]
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check { ... }
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check.approve = "VERDICT: APPROVE"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check.onReject = "implement"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check.path = "{attempt_dir}/review.md"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check.reject = "VERDICT: CHANGES_REQUESTED"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.check.type = "verdict"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.delegate = true
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.next = "commit"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
feature.stepPhases.review.subagent = "specloop-reviewer"
Part of "feature.stepPhases": Phase graph of the step cycle; commit is the reserved terminal pseudo-phase. Each phase may set subagent; implement defaults to specloop-implementer and review to specloop-reviewer (see Choosing the subagent).
initialPhase = "plan"
First phase of a single-mode run.
largeSpecWarning { ... }
Single-mode size warnings; see Size warnings.
largeSpecWarning.maxLines = 200
spec has more lines than this
largeSpecWarning.maxPlanItems = 12
run/plan.md has more checklist items (- [ ] / - [x]) than this
largeSpecWarning.maxWords = 2000
spec has more words than this
maxIterations = 15
Blocked stops per phase (per step in feature mode) before the run goes to stalled.
maxOutputChars = 4000
Check output and review text are truncated to this many characters in stop messages (run/last-failure.md keeps everything).
phases { ... }
The single-mode phase graph; see Phases. Each phase may name its subagent; see Choosing the subagent.
phases.implement { ... }
specloop-implementer
phases.implement.check = null
Part of "phases.implement": specloop-implementer
phases.implement.next = "review"
Part of "phases.implement": specloop-implementer
phases.implement.subagent = "specloop-implementer"
Part of "phases.implement": specloop-implementer
phases.plan { ... }
specloop-planner
phases.plan.allowEdits = [".claude/specloop/run/"]
Part of "phases.plan": specloop-planner
phases.plan.check { ... }
Part of "phases.plan": specloop-planner
phases.plan.check.path = ".claude/specloop/run/plan.md"
Part of "phases.plan": specloop-planner
phases.plan.check.type = "file"
Part of "phases.plan": specloop-planner
phases.plan.next = "implement"
Part of "phases.plan": specloop-planner
phases.plan.subagent = "specloop-planner"
Part of "phases.plan": specloop-planner
phases.review { ... }
specloop-reviewer
phases.review.allowEdits = [".claude/specloop/run/"]
Part of "phases.review": specloop-reviewer
phases.review.check { ... }
Part of "phases.review": specloop-reviewer
phases.review.check.approve = "VERDICT: APPROVE"
Part of "phases.review": specloop-reviewer
phases.review.check.onReject = "implement"
Part of "phases.review": specloop-reviewer
phases.review.check.path = "{attempt_dir}/review.md"
Part of "phases.review": specloop-reviewer
phases.review.check.reject = "VERDICT: CHANGES_REQUESTED"
Part of "phases.review": specloop-reviewer
phases.review.check.type = "verdict"
Part of "phases.review": specloop-reviewer
phases.review.next = "done"
Part of "phases.review": specloop-reviewer
phases.review.subagent = "specloop-reviewer"
Part of "phases.review": specloop-reviewer
quality { ... }
Quality gates that hold a phase until they pass; a passing gate is not rerun while the working tree, HEAD and the gate stay the same (Reusing a pass); see Quality gates.
quality.failFast = false
false runs every gate, so all failures are reported at once. true stops at the first failing block gate.
quality.gates = {}
The gates, by name, in the order they run.
quality.legacy = "baseline"
How existing problems are treated, for gates that do not set legacy themselves: "baseline" or "ratchet".
quality.timeoutSec = 1800
Time limit for all gates of one stop together; see Time budget. Run the installer again after changing it.
shell = "bash"
Shell that runs command checks (Git Bash on Windows).
update { ... }
Update checks for the kit; see Updates.
update.intervalHours = 24
Minimum time between network checks. The same version is also announced at most once per interval.
update.mode = "notify"
off, notify or auto, as above.
update.timeoutSec = 20
Timeout for each git call of a check. A check lock older than twice this is stale and is replaced.
CI
Update checks behave as off. Headless runs must not modify themselves.
CLAUDE_PROJECT_DIR
Not documented
SPECLOOP_DISABLED
All hooks become no-ops.