Telesma

Troubleshooting

Claude stopped

Check whether it printed TELESMA BLOCKED. The blocker is also saved in telesma/state/BLOCKED.md. Start again — preferably with -i, so you can answer the question directly:

telesma.sh /path/to/project -m 1 -i

The next start shows the blocker in the terminal and passes it to Claude, which resolves it before choosing a task (and deletes telesma/state/BLOCKED.md afterwards). In pipe mode Claude cannot wait for your answer — stdin is closed — which is why the file exists.

TELESMA WAITING

GitHub integration only: the open-PR limit (Open PR limit) was reached and none of the PRs is red. Nothing is broken. Merge the PRs (or wait for them to be merged) and start again; the content of telesma/state/WAITING.md is shown at the start, and Telesma reconciles the PR states before picking the next task.

Claude is doing something other than it should

Interrupt it (Ctrl+C) and start again with a more precise telesma/state/PLAN.md: smaller tasks, explicit (requires:), (spec:) pointing at the right document, - AC: criteria. See WORKFLOW.md § 3.

The context filled up

Claude Code compacts the context automatically when the window fills; Claude cannot run /compact itself. Telesma is built for this: state files are updated after every task, and after a compaction Claude rebuilds its state from them and continues with the first unfinished task. If you want to compact at a moment of your choosing, type /compact yourself, with a short summary of the state.

Tests keep failing

Claude gives up after Max tries per task (default 3) and prints TELESMA BLOCKED. Each later try widens the context (neighbouring spec sections, the whole modified file, similar cases in the problem log). Help it with the concrete question it asked, or simplify the task. Claude is not allowed to make a test pass by weakening it unless the test contradicts the spec — and then it must cite the spec and log the change.

A test command that reports 0 tests counts as a failure even with exit code 0 — check the command and test paths in telesma/config.md.

A regression after a new phase

Claude should detect it in the full suite (or earlier, in the smoke suite) and fix it before continuing — a regression takes priority over new tasks. If it cannot, start again with -i to help. Setting a Smoke suite makes regressions surface on the task that caused them instead of at the end of the phase.

Clarification was interrupted

Start again with telesma.sh /path/to/project -i. Telesma reads telesma/state/QUESTIONS.md and resumes from the first unanswered item.

The start asks to accept the project’s settings, or stops with “nobody here has confirmed them”

telesma/config.md came with the project or changed (a pull, an edit, the session itself) in a section that runs commands, sets permissions or names an endpoint. In a terminal Telesma shows the values and asks once; read them — a test command or an allow rule you do not recognise is the reason this question exists. Without a terminal (CI) set TELESMA_TRUST_CONFIG=yes for a config you trust. Telemetry to your own server and a judge key from cmd:/file: stay off until the section is confirmed on the machine. Details: CONFIGURATION.md.

“Telesma is already running on this project”

A second launcher on the same project would overwrite the first one’s files. Close the other one; if none is running (a window was closed hard and the process named in the message is gone, the lock is taken over by itself; otherwise delete telesma/state/.telesma-lock/).

“This project was last run by a newer Telesma” / the version file “does not hold a format number”

Update Telesma (git -C <telesma> pull --ff-only) for the first. The second means telesma/state/.telesma-version is empty, damaged or carries a merge conflict: put back the number from git log -p -- telesma/state/.telesma-version.

“Files that supervise the session differ from every version Telesma has delivered”

.claude/hooks/telesma-permission-judge.py or a file in telesma/checks/ is neither the current template nor an earlier one. Your own edit: the line is a reminder, shown at every start. Not your edit: compare with templates/ in the Telesma clone and copy the file back — nothing is restored automatically.

Startup reports config errors

Test command or Full suite command is missing or still a […] placeholder. Fill them in ## Tests of telesma/config.md. Other placeholder values are warnings; fix them when you can. See CONFIGURATION.md § Validation.

Startup reports plan errors

The plan validator found broken dependencies (a missing id, a cycle, a duplicate), a (tech:) tag without a file in telesma/guidelines/, or a (spec:) / (ui-*:) / (flow:) tag pointing at a missing file. Fix the plan (or add the missing guideline) — continuing anyway means Claude will hit the same problem mid-task.

The start shows red state-file diagnosis lines

These are repairable damage (damage):

telesma.sh --repair /path/to/project

restores the content from git history and exits. Yellow lines (notice) are information only. See STATE_FILES.md § Diagnosis.

The spec changed after clarification

The launcher warns when a spec file’s checksum no longer matches the index, and Claude verifies the anchors of every fragment it reads. But telesma/spec/ is meant to be frozen: put requirement changes into telesma/changes/ instead, so they become plan edits with an audit trail (WORKFLOW.md § 8). telesma/spec/ux_ui/LINKS.md is the exception and may be edited at any time.

Links in telesma/spec/ux_ui/LINKS.md must be shared (public or share links); Telesma cannot fetch a private artifact. The launcher warns about unreachable links at startup, and a task that needs one blocks.

A command was refused by the sandbox

With ## Sandbox → Enabled: yes a Bash command may write only inside the project (plus the ## Working directories, the temporary directory and the stack’s caches) and reach only the stack’s registries and the hosts you list. A refusal shows up as “Operation not permitted”, “Read-only file system”, or a connection the proxy refused. Claude does not retry it outside the sandbox; in an autonomous run it reports TELESMA BLOCKED with the command.

These fields are under the trust gate, so the next start shows the change and asks once. A host or cache your stack always needs and Telesma did not add is worth an issue.

The task tool refused done

The refusal says why and what to run: failing tests, 0 tests run, a quality-check finding, a ## Tests command changed from the one you confirmed on this machine, a task that is not the reserved one. A command that is new in ## Tests (the linter the first task sets up) does not refuse: done runs the confirmed ones, notes the new one as not run, and the next start asks you to confirm it. PLAN.md and REPORT.md are left as they were. After Max refusals per task refusals for one task the session stops with TELESMA BLOCKED; the next start shows the reason and asks whether to go on.

A quality check stopped a commit

Read the list: check, file:line, message, fingerprint. A real problem is fixed by Claude, which then retries the commit. A false positive is reported as TELESMA BLOCKED — you then add its fingerprint to telesma/state/CHECK_EXCEPTIONS.md (Claude cannot write there without asking you).

A message asking to split the command is not a finding in the code but about the command’s shape: the checks read files before the command runs, so writing files and committing in one command is refused. Write first, then commit in a separate command. Details: CHECKS.md.

The Telesma: checks (local) status on a PR is red

“No evidence for … commits” means a commit was made outside the task tool and the hook (by hand, with --no-verify, or before the checks were enabled). The agent cannot rewrite history, so this one is yours: on the task branch, git commit --amend --no-edit and git push --force-with-lease. “A check did not run” means a tool was missing or a time limit was hit on some commit — the operation went through without that check.

A release version is not offered or not created

Telesma proposes a release only when there are commits since the last v* tag and the last full suite was green. telesma-task.py release refuses without a green full suite recorded on this machine for this state (suite --full), on a dirty working tree (often uncommitted telesma/state/*_ARCHIVE.md files from rotation — commit them), without the committed scenarios file, on an existing tag of the same name, or, with checks enabled, on an open telesma: weakening marker. It always asks you, and it is refused in bypassPermissions and dontAsk, where a question reaches nobody. After tagging, remember that tags are not pushed by a plain git push: run git push origin vX.Y.Z.

A PR was merged on a red check, or a release tag was pushed by Telesma

Almost always the session ran in Claude Code’s auto permission mode (the status bar shows it; Shift+Tab cycles the modes). In auto the built-in classifier answers permission prompts and the Telesma permission judge is never called, so “merge only on green” and “the user pushes the tag” were enforced by nobody. The launcher warns at the next start when the previous session left an auto note in telesma/state/PERMISSIONS.jsonl.

Permission prompts keep interrupting the loop