Codes
Every code speccoder prints with an error, a stop or a warning: what it means, why it happens and how to fix it.
Every result that is not plainly ok names a code — error[CODE], stopped[CODE] (the run waits for you) or warning[CODE] (it worked, with less evidence) — with a fix: line and a link here. In JSON the same is code, fix and docs on the result envelope. speccoder explain CODE prints an entry offline.
| Code | Kind | Exit | Means |
|---|---|---|---|
USAGE | error | 2 | the arguments are not valid for this command |
USAGE-CONFLICT | error | 2 | two options were given that exclude each other |
USAGE-UNKNOWN-CODE | error | 2 | there is no code by that name |
CALL-CHANGED | error | 2 | the call waiting now is not the one that was shown |
FIX-FAILED | error | 1 | your own command, run from the app, did not succeed |
INTERNAL | error | 1 | speccoder failed in a way it does not expect |
NO-PROJECT | error | 10 | speccoder works on a Spec Kit or OpenSpec project, and found none here |
SPEC-DIAGNOSTICS | error | 11 | the spec artifacts have errors speccoder will not guess around |
FEATURE-SELECTION | error | 12 | more than one feature could be meant |
CHECK-BROKEN | error | 13 | a check cannot run on the untouched code |
PREPARE-FAILED | error | 13 | the worktree’s dependencies could not be installed |
SECRET-IN-DIFF | stop | 23 | the attempt’s change holds a value copied from your secret files |
FEATURE-GONE | error | 12 | the current feature no longer exists |
REVIEW-PENDING | stop | 23 | the spec is not approved yet |
REVIEW-AMBIGUOUS | stop | 23 | two readings of a requirement disagree |
REVIEW-NO-SCENARIOS | error | 2 | the requirement has no scenarios to write tests from |
REVIEW-TESTS-OWN-PIPELINE | error | 2 | this unit’s tests are written by its own pipeline |
ACCEPTANCE-OFF | error | 13 | acceptance tests are turned off |
ORACLE-AUTHOR-FAILED | error | 21 | the test author could not write the tests |
ORACLE-TAMPERED | stop | 23 | a frozen test no longer matches what was frozen |
ORACLE-FROZEN | error | 2 | the requirement’s tests are frozen with the approval |
REVIEW-CHANGED | stop | 23 | what the approval would freeze changed since it was shown |
REVIEW-UNREADABLE | stop | 23 | the review record cannot be read |
RUN-ACTIVE | error | 14 | a run is active for this project |
AUTOPILOT-NEEDS-GRANT-OBJECTS | error | 13 | autopilot needs object-bound grants |
FEATURE-UNKNOWN | error | 12 | no feature has that name or number |
CONFIG | error | 13 | the configuration or the environment is not usable |
NO-STATE-DIR | error | 13 | speccoder has nowhere to keep its state |
EXECUTOR-LOGIN | stop | 23 | the external agent needs signing in |
SANDBOX-UNAVAILABLE | error | 13 | the OS sandbox is not available and the project requires it |
GITHUB-AUTH | error | 1 | not signed in to GitHub |
GITHUB-FAILED | error | 1 | the GitHub API could not do it |
CONFIG-EXISTS | error | 13 | the project has a speccoder.toml already |
CONFIG-MISSING | error | 13 | the project has no speccoder.toml |
CONFIG-INVALID | error | 13 | speccoder.toml has an error |
KEY-MISSING | error | 13 | the model provider’s API key is not in the environment |
NO-CHECKS | error | 13 | no check applies, so nothing could show that nothing regressed |
GIT | error | 14 | git is not in the state this command needs |
SETUP-INCOMPLETE | error | 14 | the project’s setup is not committed, so every run would trip over it |
NO-REPOSITORY | error | 14 | speccoder needs a git repository with at least one commit |
UNCOMMITTED-INTENT | error | 14 | the spec has uncommitted changes the run would not see |
NO-REMOTE | error | 14 | there is no git remote to push to |
WORKTREE-DIRTY | error | 14 | the feature’s worktree has uncommitted changes |
NOTHING-TO-HAND-OFF | error | 14 | the speccoder branch has nothing the base does not have |
DIRTY-CHECKOUT | error | 14 | an in-place run needs a clean checkout |
UNBORN-HEAD | error | 14 | the checkout has no commit yet |
CONFIG-NOT-TRACKED | error | 14 | speccoder.toml must be committed |
BRANCH-IN-WORKTREE | error | 14 | the feature’s branch is checked out in a worktree |
IN-PLACE-ACTIVE | error | 14 | an in-place run holds this checkout |
IN-PLACE-SESSION | error | 14 | an in-place session is recorded for this checkout |
IN-PLACE-PARALLEL | error | 2 | an in-place run works one task at a time |
MERGE-CONFLICT | error | 14 | the checkout is in the middle of a merge or rebase |
INTENT-CHANGED | stop | 23 | the spec, plan or tasks changed during the run |
JUDGE-CHANGED | stop | 23 | the judge’s inputs changed during the run |
CHECKOUT-CHANGED | stop | 23 | the checkout moved under the run |
GIT-CHANGED | stop | 23 | git’s configuration, hooks or refs changed during the run |
RETURN-BLOCKED | stop | 23 | the in-place run cannot switch back to your branch |
NOT-FOUND | error | 15 | nothing by that name exists |
NOT-FOUND-SCHEMA | error | 15 | there is no schema by that name |
TASK-NOT-READY | error | 16 | no task can run now |
NO-TASKS | error | 16 | the feature has no tasks yet |
TASK-DONE | error | 16 | the task is already ticked |
TASK-BLOCKED | error | 16 | the task waits for tasks it depends on |
VERIFICATION-FAILED | error | 20 | the checks or the acceptance tests did not pass |
REGRESSION-ONLY | warning | 0 | ticked on the regression checks alone, nothing task-specific was shown |
ATTESTATION-FAILED | error | 26 | an attestation is missing, unsigned where required, or does not hold |
TESTS-NOT-COLLECTED | error | 20 | a test file the attempt wrote never ran |
PLAN-TESTS-UNCOLLECTED | warning | 0 | the plan puts tests where the runner won’t collect them |
PLAN-BEHAVIOUR-EARLY | warning | 0 | a story’s behaviour is planned before the story |
PLAN-TEST-ONLY-TASKS | warning | 0 | tasks that only write tests |
PRESET-NOT-SPECKIT | error | 2 | presets are a Spec Kit mechanism |
PRESET-SPECKIT-MISSING | error | 13 | the Spec Kit tool specify is missing or too old |
PRESET-FAILED | error | 1 | the preset could not be added: specify preset add failed |
NEW-PLAN-CHANGED | error | 2 | the plan changed since you saw it; nothing ran |
NEW-TARGET-NOT-EMPTY | error | 2 | the folder is not empty and not a git repository |
NEW-DIRTY | error | 14 | the repository has uncommitted changes |
NEW-NESTED-REPOSITORY | error | 14 | the folder is inside another repository |
NEW-ALREADY-PROJECT | error | 2 | the folder already holds a spec project |
NEW-TOOL-MISSING | error | 13 | a tool the plan needs is not installed |
NEW-STEP-FAILED | error | 1 | a step of the plan failed; later steps did not run |
NEW-NO-IDENTITY | error | 14 | git does not know who you are |
NEW-IN-PROGRESS | error | 2 | a new project is being created in this folder |
NEW-UNDO-REFUSED | error | 14 | the project changed since speccoder created it; nothing was undone |
SAMPLE-DIVERGED | error | 22 | this build cannot reproduce the sample’s recorded run |
SAMPLE-MISSING | error | 15 | this build has no sample |
SIMILAR-FEATURE | warning | 0 | an existing requirement is close to this description |
NEW-CONFIRM | stop | 23 | the plan needs your confirmation; nothing ran |
THROUGH-QUESTIONS | stop | 23 | the spec has open questions; planning waits for your answers |
THROUGH-REVIEW | stop | 23 | review the spec; planning waits for your approval |
NEEDS-HUMAN | stop | 23 | the run stopped for a person |
NEEDS-APPROVAL | stop | 23 | a call waits for a person’s decision; nothing ran |
BLOCKED | stop | 23 | the model says the task cannot be done as written |
TASK-YOURS | stop | 23 | the next task is a step only a person can take |
ATTEMPT-INCOMPLETE | stop | 23 | the model says the task is not finished |
BUDGET-EXHAUSTED | stop | 23 | the attempt ran out of turns, calls or tokens |
NOT-DEMONSTRATED | stop | 23 | the evidence the task needs could not be produced |
TESTS-COLLECTION-UNKNOWN | stop | 23 | speccoder cannot tell whether the runner ran a test file |
ACCEPTANCE-UNWRITTEN | stop | 23 | the acceptance tests could not be written, so nothing was attempted |
SUSPECTED-GAMING | stop | 23 | the gaming monitor suspects a shortcut |
TESTS-OVER-STRICT | stop | 23 | an acceptance test rejects an implementation the spec appears to allow |
ACCEPTANCE-WEAK | stop | 23 | the acceptance tests are too weak for [acceptance] min_strength |
INTERRUPTED | stop | 23 | the run was interrupted |
CHECKLISTS-OPEN | stop | 23 | the feature’s checklists have unchecked items |
ARCHIVE-AWAITING | stop | 23 | the OpenSpec archive waits for your yes |
RUN-FAILED | error | 21 | the model call or the run failed |
PROVIDER-REFUSED | error | 21 | the model provider refused the request |
REPLAY-DIVERGED | error | 22 | the replay did not reproduce the recorded run |
NOT-REPLAYABLE | error | 25 | this build cannot re-derive the recorded run |
BUG-NO-UNIT | error | 2 | this spec format has no place for a bug |
BUG-EMPTY | error | 2 | the symptom and every statement need words |
BUG-NO-EXPECTED | error | 2 | a bug needs at least one –expected statement |
BUG-ASSESSMENT-DRIFT | stop | 23 | the bug’s home does not carry exactly your words |
BUG-ASSESSMENT-UNREADABLE | stop | 23 | the bug’s assessment is not in a shape speccoder reads |
BUG-TEST-NOT-FOUND | error | 2 | the test named with –test is not found |
BUG-TEST-NOT-RED | error | 2 | the named test does not fail on an assertion |
BUG-TEST-PASSES | error | 2 | the named test passes on the untouched code |
BUG-TEST-COVERAGE | error | 2 | each –expected statement needs its own –test |
BUG-CANNOT-REPRODUCE | stop | 23 | the bug could not be reproduced: nothing is fixed |
BUG-ALREADY-SATISFIED | warning | 0 | the reproductions already pass: nothing to fix |
BUG-UNCHANGED-NOT-HOLDING | stop | 23 | an Unchanged statement does not hold today |
BUG-NOT-DISCRIMINATING | error | 20 | the reproduction does not tell the fix from no fix |
BUG-REPRO-WEAK | stop | 23 | a fix that special-cases the reproduction’s input passes |
BUG-CANDIDATE-APPLY | error | 14 | the candidate patch is not applied |
BUG-CANDIDATE-JUDGE | error | 2 | the candidate patch touches what judges it |
EVAL-FAILED | error | 24 | the evaluation found a false completion or a cheat |
USAGE
The arguments are not valid for this command.
The command line could not be parsed: an unknown flag, a missing value, or a value outside the allowed set.
speccoder <command> --help
USAGE-CONFLICT
Two options were given that exclude each other.
--json prints one result object and --events prints a stream of events ending in that object; a command does one or the other.
speccoder <command> --eventsspeccoder <command> --json
USAGE-UNKNOWN-CODE
There is no code by that name.
speccoder explain knows the codes speccoder itself prints; the closest names are listed with the error.
speccoder explain --list
CALL-CHANGED
The call waiting now is not the one that was shown.
An approval or rejection from an interface names the call it showed and that call’s object. The call expired or was decided and another waits now, or the attempt stopped on another object; nothing was decided.
speccoder report --approvals
FIX-FAILED
Your own command, run from the app, did not succeed.
A fix that is your own command (npm install, git commit …) was run from the app, as you, in the project folder: it exited with an error, was stopped, or ran past its ten minutes. Its output is in the app’s panel. speccoder’s own commands never end in this code.
- Read its output in the panel, fix what it names and run it again (or in your shell, to answer what it asks)
INTERNAL
Speccoder failed in a way it does not expect.
An unexpected failure inside speccoder: an IO error, a broken state file, a bug. The message says what failed.
- Re-run with -v and report the output at https://github.com/hupe1980/speccoder/issues
NO-PROJECT
Speccoder works on a Spec Kit or OpenSpec project, and found none here.
No .specify/ (Spec Kit) or openspec/ (OpenSpec) directory was found here or above. Spec Kit makes one (--integration claude installs the skills speccoder runs); then speccoder init and speccoder spec specify take it from there.
specify init --here --integration claudeopenspec init
SPEC-DIAGNOSTICS
The spec artifacts have errors speccoder will not guess around.
The task list or spec could not be read as written: a dependency on a task that does not exist, a cycle, a malformed task line. inspect lists every diagnostic with its line.
speccoder inspect
FEATURE-SELECTION
More than one feature could be meant.
Several features exist and none is current: neither --feature, the format’s variable nor its pointer (Spec Kit: .specify/feature.json) names one. Make one current, or name it for this command.
speccoder featurespeccoder feature <name>speccoder <command> --feature <name>
CHECK-BROKEN
A check cannot run on the untouched code.
A fast check failed on the untouched worktree without running a test: a command or profile it names is missing, a file it needs was never committed, or it does not build. It could never judge the task, so nothing was attempted.
speccoder doctorgit statusspeccoder run --allow-failing-baseline
PREPARE-FAILED
The worktree’s dependencies could not be installed.
Before the baseline speccoder installs a Node or uv project’s dependencies in the run’s worktree with the toolchain’s locked, offline install, sandboxed. It failed — a package the lockfile needs is not in the toolchain’s cache, or no lockfile is committed — so no check could run and nothing was attempted. Never a failed verdict.
- Run the install once in your checkout to fill the cache (
npm install,uv sync) - Or allow the network for the install’s exact online form: [sandbox] network_allow = [[“npm”, “ci”]]
speccoder doctor
SECRET-IN-DIFF
The attempt’s change holds a value copied from your secret files.
[worktree] include (or .worktreeinclude) copied a git-ignored secret file such as .env from your checkout into the worktree. The attempt’s diff adds one of its values to a file git would commit, so it was undone: nothing was judged, ticked or committed. The variable is named, its value never.
- The code should read the variable from the environment or the file, never copy its value
- Run the task again; the attempt starts from the committed tree
FEATURE-GONE
The current feature no longer exists.
The format’s pointer (Spec Kit: .specify/feature.json) or its variable names a feature directory that is not there — renamed, deleted, or from another checkout.
speccoder featurespeccoder feature <name>speccoder feature --clear
REVIEW-PENDING
The spec is not approved yet.
[review] required is on: a run waits until every requirement of the spec is approved on its current wording, in the review committed with it (review.json). A requirement reworded since its approval needs approving again.
speccoder reviewspeccoder review approvegit commit
REVIEW-AMBIGUOUS
Two readings of a requirement disagree.
Two independent test authors read a scenario two ways (the same given, different expected outcomes). Until you choose a reading or reword the requirement, it is not approved, its tests are not frozen, and a gated run ([review] required) waits.
speccoder review tests <REQ> --reading A <scenario>speccoder review tests <REQ> --reading B <scenario>- Or reword the scenario so it reads one way
REVIEW-NO-SCENARIOS
The requirement has no scenarios to write tests from.
Tests are written at review per requirement from its acceptance scenarios. The requirement named has none (or the format yields no requirement by that key), so there is nothing to derive a test from.
speccoder review- Add acceptance scenarios to the requirement
REVIEW-TESTS-OWN-PIPELINE
This unit’s tests are written by its own pipeline.
A quick change writes its own tests and a bug’s reproductions are confirmed by you; review writes no second set for them.
speccoder do "…"speccoder bug confirm <unit>/<task>
ACCEPTANCE-OFF
Acceptance tests are turned off.
[acceptance] generate = false: no acceptance tests are written, at review or at run time.
speccoder config set acceptance.generate true
ORACLE-AUTHOR-FAILED
The test author could not write the tests.
The acceptance author call failed or the model provider refused it. Nothing was stored or frozen for the requirement; the message carries the provider’s reason.
speccoder review tests <REQ> --write
ORACLE-TAMPERED
A frozen test no longer matches what was frozen.
A test frozen at review is stored in the state directory with its digest. The stored file or its record no longer matches: reusing it would run tests nobody approved, so the task stops and nothing is ticked.
speccoder review tests <REQ>- Write and approve the tests again, or run without the frozen set
ORACLE-FROZEN
The requirement’s tests are frozen with the approval.
Approve and Run froze these tests and their held-out set, so they cannot be changed. Reword the requirement to lapse the freeze and write them again.
speccoder review- Reword the requirement to lapse the freeze, then write its tests again
REVIEW-CHANGED
What the approval would freeze changed since it was shown.
What the approval sheet showed changed before the click (another tab asked again, a Write Tests finished). Nothing was approved; look again and approve what you see.
speccoder review- Open the sheet again and approve what it shows
REVIEW-UNREADABLE
The review record cannot be read.
review.json (decisions, frozen tests, approval) or a record beside it is not valid. Reading it as empty would drop every decision and freeze, so speccoder stops until you look.
git diff -- <unit>/review.json- Restore it from git (
git checkout -- <unit>/review.json) or fix the JSON
RUN-ACTIVE
A run is active for this project.
Approve and Run starts a feature run; one is running already (in a terminal or the web app). Approving now would start a second run beside it.
speccoder report- Wait for the run to end, or stop it
AUTOPILOT-NEEDS-GRANT-OBJECTS
Autopilot needs object-bound grants.
Autopilot holds only grants the person saw in full and ticked, each bound to one resolved object (a canonical path, an exact argv, an MCP tool digest). This build has no such grants, so autopilot is off.
speccoder review approve --run ask
FEATURE-UNKNOWN
No feature has that name or number.
--feature (or --change) names a feature by its directory name, a part of it, or its number in speccoder feature’s list; none matches what was given.
speccoder featurespeccoder report --feature <name>
CONFIG
The configuration or the environment is not usable.
speccoder.toml or the environment does not allow this command to run; the message names what is wrong.
speccoder init
NO-STATE-DIR
Speccoder has nowhere to keep its state.
Journals, worktrees and live progress live in a state directory: $SPECCODER_STATE_DIR, else $XDG_STATE_HOME/speccoder, else ~/.local/state/speccoder. None of these variables is set.
export SPECCODER_STATE_DIR="$PWD/.speccoder-state"
EXECUTOR-LOGIN
The external agent needs signing in.
The [executor] agent answered over ACP that it needs signing in (or failed its session while it offered ways to sign in). Nothing was attempted and the task is unchanged. speccoder never signs in for you and stores no credential: the agent’s own login runs in a terminal of yours.
- Run the agent’s login in your terminal (the agent names it; for Copilot
copilot login, for OpenCodeopencode auth login) speccoder doctor
SANDBOX-UNAVAILABLE
The OS sandbox is not available and the project requires it.
No OS sandbox is available (Linux without Landlock, a container without user namespaces, another OS) while [sandbox] mode = "required" or an autopilot run needs one.
- Run on macOS or Linux 6.2+ (Landlock ABI 3)
- Or set [sandbox] mode = “auto” to run unsandboxed and be told
- Autopilot: choose Ask on Risky Calls, or enable the OS sandbox
GITHUB-AUTH
Not signed in to GitHub.
No GitHub token was found (GH_TOKEN, GITHUB_TOKEN, or the one speccoder auth login keeps in your keychain), or GitHub refused it.
speccoder auth login --with-tokenspeccoder auth status- Or set GH_TOKEN (a fine-grained token: Issues read; Pull requests read and write; Contents and Metadata read)
GITHUB-FAILED
The GitHub API could not do it.
GitHub answered, and not as asked: no such issue, no access for the token, a rate limit used up, or GitHub did not answer in time. The message is GitHub’s, in words.
speccoder auth statusgit remote -v
CONFIG-EXISTS
The project has a speccoder.toml already.
init writes a new one; change the existing one with speccoder config (or Settings), or start over with --force.
speccoder configspeccoder init --force
CONFIG-MISSING
The project has no speccoder.toml.
speccoder needs to know which checks decide “nothing regressed” and which model to use; init detects them and writes a commented file.
speccoder init
CONFIG-INVALID
Speccoder.toml has an error.
An unknown section or key, a wrong type, or a value outside the allowed set. Unknown keys are errors so a typo never goes unnoticed.
- Fix the line the message names in speccoder.toml, then commit it
KEY-MISSING
The model provider’s API key is not in the environment.
speccoder reads API keys from the environment only. The message names the variable the configured provider needs. For Amazon Bedrock, doctor and the app report it when they find neither AWS_BEARER_TOKEN_BEDROCK nor an AWS profile (aws login); a run still tries the AWS credential chain, which may find an instance role.
- Export the variable the message names, e.g. export ANTHROPIC_API_KEY=…
NO-CHECKS
No check applies, so nothing could show that nothing regressed.
Every configured check was skipped (when_exists did not match) or none is configured. A task cannot be judged without at least one check: add your test command as one.
speccoder config set checks.test.argv -- <your test command>
GIT
Git is not in the state this command needs.
A git precondition does not hold; the message names it.
git status
SETUP-INCOMPLETE
The project’s setup is not committed, so every run would trip over it.
A worktree holds only commits: a file the checks need but the checkout never committed (speccoder.toml, .config/nextest.toml), a lockfile the checks write, or build output .gitignore does not list. speccoder fix commits that setup once.
speccoder fix
NO-REPOSITORY
Speccoder needs a git repository with at least one commit.
Evidence lives in commits and refs, and work happens on a branch of its own, so the project must be a git repository with a first commit.
git init && git add -A && git commit -m init
UNCOMMITTED-INTENT
The spec has uncommitted changes the run would not see.
speccoder reads committed files only — a worktree is checked out from a commit — so an uncommitted edit to the spec, plan or tasks would silently not count.
git statusspeccoder run --in-place
NO-REMOTE
There is no git remote to push to.
pr pushes speccoder/<feature> to a remote and opens the pull request there; issue reads the remote’s GitHub issues. Add the repository’s GitHub address as a remote, or name the one to use.
git remote add origin <url>git remote -vspeccoder pr --remote <name>
WORKTREE-DIRTY
The feature’s worktree has uncommitted changes.
Work left in the worktree outside a commit — a failed attempt’s, or an edit by hand — would be mixed into what comes next.
speccoder worktreespeccoder run
NOTHING-TO-HAND-OFF
The speccoder branch has nothing the base does not have.
pr hands off work on speccoder/<feature>; there is none yet, or it is already merged.
speccoder run
DIRTY-CHECKOUT
An in-place run needs a clean checkout.
In place, the attempt runs in your checkout; uncommitted changes would be judged as the agent’s.
git stash -ugit commit -am wip
UNBORN-HEAD
The checkout has no commit yet.
An in-place run branches from HEAD; there is no HEAD to branch from.
git add -A && git commit -m init
CONFIG-NOT-TRACKED
Speccoder.toml must be committed.
The judge’s configuration is a reviewed input; an untracked or modified one could be changed without review.
git add speccoder.toml && git commit -m "speccoder: config"
BRANCH-IN-WORKTREE
The feature’s branch is checked out in a worktree.
git refuses to check out a branch twice; an in-place run needs speccoder/<feature> free.
git worktree listgit worktree remove <path>
IN-PLACE-ACTIVE
An in-place run holds this checkout.
Another in-place session is active (or was killed); it owns the checkout until it ends or is left.
speccoder run --in-placespeccoder run --in-place --return
IN-PLACE-SESSION
An in-place session is recorded for this checkout.
A worktree-mode command would not see what the in-place session holds.
speccoder run --in-placespeccoder run --in-place --return
IN-PLACE-PARALLEL
An in-place run works one task at a time.
Parallel lanes need worktrees of their own; in place there is only your checkout.
speccoder run --in-placespeccoder run --parallel 2
MERGE-CONFLICT
The checkout is in the middle of a merge or rebase.
An in-place run cannot start or return while git waits for a conflict to be resolved.
git statusgit merge --abort
INTENT-CHANGED
The spec, plan or tasks changed during the run.
Intent files are hashed when an in-place run starts and compared before every task; a change means the work would be judged against a spec it was not given.
git diffspeccoder run --in-place
JUDGE-CHANGED
The judge’s inputs changed during the run.
Checks, test configuration or agent configuration changed after the run started; a verdict under changed rules would mean nothing.
git diffspeccoder run --in-place
CHECKOUT-CHANGED
The checkout moved under the run.
HEAD, the branch or the tree is not where speccoder left it; someone or something else changed the checkout.
git statusspeccoder run --in-place --return
GIT-CHANGED
Git’s configuration, hooks or refs changed during the run.
Where the sandbox cannot keep .git read-only, speccoder fingerprints it; a change stops the run before the next tick.
git config --list --show-originspeccoder run --in-place --return
RETURN-BLOCKED
The in-place run cannot switch back to your branch.
Switching back would overwrite changes or fail; the session stays until the checkout allows it.
git statusspeccoder run --in-place --return
NOT-FOUND
Nothing by that name exists.
No task, run, call or object matches what was asked for; the message names it.
speccoder report
NOT-FOUND-SCHEMA
There is no schema by that name.
speccoder schema lists the schemas speccoder publishes.
speccoder schema
TASK-NOT-READY
No task can run now.
The task is done, or waits for tasks it depends on.
speccoder report
NO-TASKS
The feature has no tasks yet.
Its task list is not written yet, or lists no task: nothing ran, and the feature is not done. The spec format’s planning skills write the tasks; speccoder report names the next one.
speccoder report
TASK-DONE
The task is already ticked.
A ticked task is not run again; its evidence is in its commit.
speccoder report
TASK-BLOCKED
The task waits for tasks it depends on.
Dependencies come from the task list’s phases, [P] markers and explicit references; the message names the open ones.
speccoder runspeccoder task skip <dependency> --reason "…"
VERIFICATION-FAILED
The checks or the acceptance tests did not pass.
After the retries, a check regressed or the spec-derived acceptance tests did not go from red to green. The attempt is saved under its ref.
speccoder report
REGRESSION-ONLY
Ticked on the regression checks alone, nothing task-specific was shown.
The checks still pass, but no acceptance test showed this task’s behaviour. It is ticked regression_only, never verified, with one recorded reason: no_story (no user story to derive a test from), no_scenarios (its story states no acceptance scenario), acceptance_off ([acceptance] generate = false), author_wrote_none (the test author wrote no test), author_failed (its tests could not be used), already_passing (they passed before the attempt — with the task that implemented it), not_red (they did not fail on an assertion first), tests_not_collected (the command collected no test) or planning_work (a planning task: design documents, not code).
- Add an acceptance example to the task’s story, then converge
speccoder converge
ATTESTATION-FAILED
An attestation is missing, unsigned where required, or does not hold.
attest verify found a tick whose signed statements are missing, malformed, edited, about another commit, or signed by no one you trust.
speccoder attest verify --json
TESTS-NOT-COLLECTED
A test file the attempt wrote never ran.
The attempt added or changed a test file, but the runner collected no test from it: the toolchain’s rule says it is never built or picked up (a Rust file no target declares, a pytest file outside python_files, a vitest file outside include, a Go file under testdata/), or the run’s report and listing hold none of its tests. A test that never ran is evidence of nothing, so the verdict fails and the retry is told the rule.
speccoder report- Move the tests where the runner collects them (the reason names the rule)
PLAN-TESTS-UNCOLLECTED
The plan puts tests where the runner won’t collect them.
A task names a test path the project’s runner would not collect (Cargo builds only tests/*.rs and tests/<dir>/main.rs), and no task creates the file that would declare it; or a test file in the tree is collected by nothing. Tests written there would never run. A warning: the run is not stopped.
speccoder doctorspeccoder spec tasks
PLAN-BEHAVIOUR-EARLY
A story’s behaviour is planned before the story.
A Setup or Foundational task names a symbol a user story is about. If that task implements it, the story’s acceptance tests already pass when the story’s tasks run: they cannot go red, and the tasks tick regression-only. Write the story’s acceptance tests at that task, or re-plan.
speccoder spec tasks
PLAN-TEST-ONLY-TASKS
Tasks that only write tests.
A story has tasks whose only outputs are test files next to the task that implements it. speccoder writes each story’s acceptance tests itself and judges the implementing task by them; a test-only task has nothing of its own to show and ticks regression-only.
speccoder spec tasks
PRESET-NOT-SPECKIT
Presets are a Spec Kit mechanism.
speccoder preset add installs the speccoder preset through Spec Kit’s own specify preset add; this project is not a Spec Kit project, so there is nothing to add it to.
speccoder doctor
PRESET-SPECKIT-MISSING
The Spec Kit tool specify is missing or too old.
Adding the preset runs specify preset add, which needs specify at the version the preset requires. It is not installed, or older.
- Install or upgrade Spec Kit (
uv tool install specify-cli) speccoder doctor
PRESET-FAILED
The preset could not be added: specify preset add failed.
Spec Kit refused or failed to install the preset; its own output is shown. Nothing in specs/ was changed.
speccoder preset addspeccoder doctor
NEW-PLAN-CHANGED
The plan changed since you saw it; nothing ran.
Creating a project runs exactly the plan you confirmed, bound to its digest: the commands, their order and the folder as it was seen. A tool’s version or the folder’s contents changed meanwhile, so the plan computed now differs and nothing was run. The result carries the new plan.
- Review the new plan and confirm it again
NEW-TARGET-NOT-EMPTY
The folder is not empty and not a git repository.
A new project starts in an empty folder, or in a git repository at its top level with a clean tree. This folder holds files that are not under git, which the format’s --force init could overwrite unseen.
- Choose an empty folder
- Or run
git initthere and commit what it holds first
NEW-DIRTY
The repository has uncommitted changes.
speccoder commits exactly what the plan’s steps produced. With changes of yours in the tree, the two could not be told apart, so the folder must be clean first.
- Commit or stash your changes, then try again
NEW-NESTED-REPOSITORY
The folder is inside another repository.
A project is created at a repository’s top level. This folder lies inside another repository’s worktree; a second repository inside it, or a project in its subfolder, would split one history.
- Choose a folder outside it, or use the repository’s top level
NEW-ALREADY-PROJECT
The folder already holds a spec project.
There is nothing to create: the folder is a project of a spec format already. Open it instead.
speccoder uispeccoder init
NEW-TOOL-MISSING
A tool the plan needs is not installed.
The plan runs the ecosystems’ own tools — the stack’s scaffold and the spec format’s init. One of them is not on the PATH; the message names it and how to install it.
- Install the tool, or choose another stack or format
speccoder doctor
NEW-STEP-FAILED
A step of the plan failed; later steps did not run.
A command of the plan exited with an error, timed out or was denied by the sandbox. The steps before it are kept; running the same plan again resumes at this step.
- Retry, or run the command yourself as shown
NEW-NO-IDENTITY
Git does not know who you are.
The new project’s one commit is yours, made with your git identity; speccoder never invents one. user.name or user.email is not set.
- Git config –global user.name “Your Name”
- Git config –global user.email you@example.com
NEW-IN-PROGRESS
A new project is being created in this folder.
Another creation of a project in the same folder is running. Two at once would interleave their steps.
- Wait for it to finish
NEW-UNDO-REFUSED
The project changed since speccoder created it; nothing was undone.
Undo moves a folder speccoder created to the Trash, or reverts speccoder’s commit in an existing repository — only while nothing but that commit exists. Something changed since (the message lists what), or there is no Trash on this system; nothing was moved or deleted.
- Undo it yourself; nothing was moved
SAMPLE-DIVERGED
This build cannot reproduce the sample’s recorded run.
The sample is a recorded run replayed strictly. This build replayed it to a different result, so it is not shown as if it had worked: the board shows the sample’s committed state only.
speccoder doctor --bug-report
SAMPLE-MISSING
This build has no sample.
The sample’s recording is not part of this build: release builds bundle it; a build from source has it only when crates/speccoder-runtime/assets/sample/ holds one (just record-sample).
- Install a release build
speccoder new
SIMILAR-FEATURE
An existing requirement is close to this description.
Before the spec is written, the description is compared with every feature’s requirements by a deterministic text similarity. A close match may mean the change belongs in that feature; it is a hint and never stops the skill.
speccoder feature similar "…"speccoder review comments
NEW-CONFIRM
The plan needs your confirmation; nothing ran.
speccoder new runs commands in a folder; it runs them only after you saw them. Without a terminal to ask at, it printed the plan and stopped.
- Run the same command again with –yes
THROUGH-QUESTIONS
The spec has open questions; planning waits for your answers.
The format’s skill wrote the spec and left questions it could not decide. Planning on a guess would plan the wrong thing, so the chain stops until each is answered.
speccoder reviewspeccoder review answer Q1 "…"
THROUGH-REVIEW
Review the spec; planning waits for your approval.
Plan through stops after the spec is written: its requirements are what every task will be judged by, so they are planned only once you approved them. No flag passes this stop.
speccoder reviewspeccoder review approve
NEEDS-HUMAN
The run stopped for a person.
The run cannot go on without a decision; the message says what waits.
speccoder report
NEEDS-APPROVAL
A call waits for a person’s decision; nothing ran.
The model asked for something the policy does not allow on its own — a dependency change, the network, a protected file. The attempt waits; deciding continues it from that call.
speccoder report --approvals
BLOCKED
The model says the task cannot be done as written.
The model used its honest exit: something in the spec or the code stops it — often a step only a person can take. Its reason is a claim, shown as “Model says”. The task is yours now: say you did it, give a hint and retry, or skip it.
speccoder task done <task>speccoder task hint <task> "…"speccoder task skip <task> --reason "…"
TASK-YOURS
The next task is a step only a person can take.
Its line carries [YOU]: the run does not attempt it. Do it, then say so; or give a hint and let the agent try; or skip it.
speccoder task done <task>speccoder task hint <task> "…"speccoder task skip <task> --reason "…"
ATTEMPT-INCOMPLETE
The model says the task is not finished.
Its closing report says part of the task is left undone; so the attempt is not ticked. The stop quotes what the model says is missing (its claim); the work so far is saved under the attempt’s ref.
speccoder task nudge <task> --note "…"speccoder run --task <task>
BUDGET-EXHAUSTED
The attempt ran out of turns, calls or tokens.
The attempt reached a limit before finishing: [budget] max_turns or max_tool_calls, or [model] max_run_tokens. The work so far is saved under the attempt’s ref.
- Raise the limit the stop names in speccoder.toml
NOT-DEMONSTRATED
The evidence the task needs could not be produced.
The acceptance tests could not be made red before the attempt (they already pass, or fail for another reason), or a convergence gap shows in no failing test. Ticking would claim more than was shown.
speccoder report
TESTS-COLLECTION-UNKNOWN
Speccoder cannot tell whether the runner ran a test file.
The attempt changed a test file, and neither the toolchain’s static rule, the check’s JUnit report nor the runner’s listing says whether a test from it ran (an unrecognised runner, a listing that failed or timed out, no report). A tick on tests that may not have run would claim more than was shown, so the task stops; the attempt is saved under its ref. It is not retried: the model cannot fix it.
- Declare a JUnit report for the check (
junit = "…") - Set the check’s
listcommand in speccoder.toml
ACCEPTANCE-UNWRITTEN
The acceptance tests could not be written, so nothing was attempted.
The call that writes acceptance tests from the spec failed (no credits, a rejected key, a broken run). Without them the task would be judged on regression checks only, so it stops.
speccoder run- Or set [acceptance] generate = false to rely on the checks alone
SUSPECTED-GAMING
The gaming monitor suspects a shortcut.
A separate review of the passing attempt found something like a hard-coded result or a weakened test. The task stays unticked until a person decides.
speccoder report
TESTS-OVER-STRICT
An acceptance test rejects an implementation the spec appears to allow.
An alternative the spec allows (another order, wording, tie-break) failed the acceptance tests: they may encode a choice the spec did not make. The attempt is held until you rule; if the tests are right, the next run ticks it without a model call.
speccoder task rule <task> --tests-right --reason "…"speccoder run --task <task> --fresh-acceptancespeccoder task accept <task> --reason "…"
ACCEPTANCE-WEAK
The acceptance tests are too weak for [acceptance] min_strength.
Wrong implementations — mutants of the changed code and model-written near misses — passed the acceptance tests too often, and adding tests once did not fix it. The task stays unticked; the report names what got through.
speccoder report
INTERRUPTED
The run was interrupted.
The process was stopped or killed; the journal holds what finished. The next run resumes without repeating finished calls.
speccoder run
CHECKLISTS-OPEN
The feature’s checklists have unchecked items.
Spec Kit checklists gate implementation; nothing ran.
- Finish the checklists in the feature’s checklists/ directory
speccoder run --ignore-checklists
ARCHIVE-AWAITING
The OpenSpec archive waits for your yes.
The diff of the archive is shown; nothing is written until a person confirms.
speccoder spec archive --yes
RUN-FAILED
The model call or the run failed.
The provider returned an error, the journal could not be written, or the run broke; the message names it. Nothing was ticked.
speccoder run -v
PROVIDER-REFUSED
The model provider refused the request.
No credits, a rejected or revoked key, or an account limit. speccoder stops instead of judging the task on less evidence; for Amazon Bedrock, when access is denied (an invalid API key, say), the first fix renews the credential source.
- Check the provider account’s credits and the API key
speccoder run
REPLAY-DIVERGED
The replay did not reproduce the recorded run.
Strict replay re-derives a run from its journal without a model; a difference means the code’s decisions changed.
speccoder replay <run> --json
NOT-REPLAYABLE
This build cannot re-derive the recorded run.
The run was recorded by a build whose skills or effects this one does not have.
- Replay with the speccoder version that recorded the run
BUG-NO-UNIT
This spec format has no place for a bug.
A bug lives in the format’s own bug structure (Spec Kit’s bug extension) or in its standing bug-fix unit (Spec Kit’s NNN-bugfixes, an OpenSpec standing change). Kiro projects are not supported: nothing is written.
- Write a spec for the change and run it
- A change without a reproduction: speccoder do “…”
BUG-EMPTY
The symptom and every statement need words.
speccoder bug records the person’s own words: an empty symptom, --expected or --unchanged is refused before anything is written.
speccoder bug "<what happens>" --expected "<what should>"
BUG-NO-EXPECTED
A bug needs at least one –expected statement.
A reproduction asserts what should happen; speccoder never infers it from the symptom or an issue. Give one --expected per behaviour.
speccoder bug "<what happens>" --expected "<what should>"
BUG-ASSESSMENT-DRIFT
The bug’s home does not carry exactly your words.
The bug’s file (assessment.md, or the standing unit) does not read back exactly your Current, Expected and Unchanged statements: one is missing, added, reworded, or changed by the file’s markup. Reproductions are written from your words only, so nothing was reproduced.
- Edit the assessment so it carries each statement as a
Current:/Expected:/Unchanged:line speccoder bug --slug <slug>
BUG-ASSESSMENT-UNREADABLE
The bug’s assessment is not in a shape speccoder reads.
speccoder reads assessment.md in the layout of the bug extension version it was built against, and refuses rather than guesses on any other shape.
specify extension list --json- Add
Current:andExpected:lines to the assessment’s Report section
BUG-TEST-NOT-FOUND
The test named with –test is not found.
--test PATH::NAME must name an existing test file and a test in it that the runner collects.
- Give the test as PATH::NAME, as the runner lists it
BUG-TEST-NOT-RED
The named test does not fail on an assertion.
A reproduction must fail on the untouched code by an assertion, twice. A build or collection error, a timeout, an absent symbol or a flaky failure shows nothing about the bug.
- Fix the test so it fails on an assertion, then run
speccoder bugagain
BUG-TEST-PASSES
The named test passes on the untouched code.
A test that passes before any fix cannot show the bug. Perhaps it is fixed already.
- Check the behaviour by hand; if it is fixed, there is nothing to record
BUG-TEST-COVERAGE
Each –expected statement needs its own –test.
Each stated behaviour gets its own reproduction: repeat --test once per --expected, in the same order.
speccoder bug "…" --expected "<e1>" --test <file>::<test1> --expected "<e2>" --test <file>::<test2>
BUG-CANNOT-REPRODUCE
The bug could not be reproduced: nothing is fixed.
No try produced a test for each Expected statement that fails on its own assertion, or you rejected them (rejected tries count against [bug] reproduce_tries). A fix without a failing reproduction would be a guess, so the bug comes back to you with what each try showed.
speccoder bug "…" --expected "…" --test <file>::<test>
BUG-ALREADY-SATISFIED
The reproductions already pass: nothing to fix.
Every reproduction passed on the untouched code on every try. Nothing is ticked; keep the reproductions as a regression test (committed, the task attested) or drop the task.
speccoder bug keep <feature>/<task> --reason "kept as a regression test"speccoder task drop <task>
BUG-UNCHANGED-NOT-HOLDING
An Unchanged statement does not hold today.
The test of an Unchanged statement fails on the untouched code, so the statement is not true now and cannot guard the fix. The bug stops before any fix.
- Reword or remove the statement, then
speccoder bug run
BUG-NOT-DISCRIMINATING
The reproduction does not tell the fix from no fix.
With the attempt’s source changes undone (its tests kept), no reproduction failed on an assertion: passing them proves nothing about the fix. The retry is told which statement.
speccoder run --task <task>
BUG-REPRO-WEAK
A fix that special-cases the reproduction’s input passes.
A candidate fix that only recognises the reproduction’s literal inputs passed the reproductions and the held-out variants, even after one variant was written again. The tests are too weak for a verified fix.
speccoder bug "…" --expected "…" --test <file>::<test>
BUG-CANDIDATE-APPLY
The candidate patch is not applied.
--candidate applies the patch on the untouched code with git apply --check first; some hunks did not apply, git could not read it as a patch, or it carries a binary hunk or a symbolic link (neither is judged as a candidate).
- Rebase the patch on HEAD, as a text diff without binary hunks or links
BUG-CANDIDATE-JUDGE
The candidate patch touches what judges it.
A candidate must not change a frozen reproduction, a held-out path or another judge input (checks, configuration, the intent) — by an edit, a rename, a deletion or a mode change, as git itself reads the patch. It is refused before it is applied.
- Remove those hunks from the patch
EVAL-FAILED
The evaluation found a false completion or a cheat.
A case ended done although its hidden oracle fails, or the attempt gamed its tests.
speccoder eval --keep <dir>