All project settings live in telesma/config.md, created from templates/config.md the first time
the launcher runs on a project with a specification, and filled in by the setup wizard (one
question per module, see Setup wizard). It is a Markdown file of ## Section
headers and - **Key**: value lines. The <!-- --> comment next to each key in the template is the
authoritative description of that key; this page is the overview.
At every start the launcher merges new keys and sections from the template into your file (your values are kept), so a project picks up new settings without manual edits.
telesma/config.md is committed. Never put a secret in it — keys that need one take a reference
(env:, file:, cmd:), see Secrets in config.
The wizard runs by itself when telesma/config.md is created, and on demand with
telesma.sh --setup <project>. Its deterministic half is templates/setup/configure.py (stack
detection, profiles, check tiers, field edits — every change printed as one line); the questions
live in templates/setup/wizard.sh. It writes only telesma/config.md, plus the templates of
telesma/spec/APP_FLOW.md / telesma/spec/ux_ui/LINKS.md when visual artifacts are turned on.
| Profile | Permission judge | Quality checks | Also asks about |
|---|---|---|---|
minimal |
off | none | — |
recommended (ENTER) |
on, rules |
basic |
— |
full |
on, rules |
standard |
integrations, visual artifacts |
Steps: language and experience first (the system’s language proposed; from there every line of
the wizard, the [Y/n] letters and the summary are in that language, and beginner switches to
the short setup described below) → profile → git repository (offers git init) → stack and tests
(detected from manifests, one level down in a monorepo; proposals you can edit — with no code yet
later is the default: the plan’s Stack line decides, and the first start after the plan proposes
the commands and permission rules for it once) → permission
prompts → quality-check tier → [integrations, visual artifacts] → telemetry (every profile, default
no) → summary and next steps → “go on?” (ENTER starts the clarification; “no” prints the one
command that continues). The next steps say that telesma/spec/TECHNICAL_GUIDELINES.md may
stay as it is: untouched it means the defaults apply, and the start never waits for it. On an
existing project --setup shows a menu with the state of every module and lets you change one at
a time. Without a terminal the first start applies recommended silently and prints the summary.
Starting from an idea (telesma.sh --new <project>): when there is no specification yet, an
interactive Claude session interviews you — six plain questions, one at a time (what it does; who
uses it and where; how you will know it works; what is not in the first version; data and
privacy; look) — and writes telesma/spec/ itself: IDEA.md, REQUIREMENTS.md (numbered, each
with “when …, then …” checks), APP_FLOW.md for programs with a window, and the technical template
filled with the technology it picked from your answers (a fixed table in
templates/instructions/INTERVIEW.md: Windows-only window → C# / .NET 10 + WPF; Windows and Mac →
Python + PySide6; a page over your own data → FastAPI + HTMX + SQLite; commands → Python). It reads
the result back and freezes nothing until you say yes. --new sets Experience: beginner; the
wizard then applies the recommended profile without the questions a beginner cannot answer, starts
git, takes the test commands from the chosen stack and asks only about telemetry (in plain words:
one yes/no, scope full; metrics and an own server stay in --setup). Then, instead of a list of
commands, it asks whether to go on and runs the clarification; after the plan it asks whether to
start building (-m 1). A beginner’s plain start without -m offers two choices: build on, or tell
Telesma what does not work (mode 2). Interrupted → run --new again, it continues from the files
already written. The session runs with
--permission-mode acceptEdits (it only writes files inside telesma/; commands still ask).
Check tiers are sets of ### <check> blocks under ## Checks: basic = secrets, weakenings,
tests, hygiene; standard adds dependencies, dependency-audit, sast, lint-types, dead-entry;
security adds intent and red-team. The wizard keeps your edits inside a kept block and takes
missing blocks from the template; the merge at startup respects removed blocks.
## Project| Key | Default | Meaning |
|---|---|---|
Clarified |
no |
no = the next start runs the clarification phase; yes = the plan is ready, the mode menu appears. Telesma sets it itself at the end of clarification. |
Language |
en |
The language Telesma uses to talk to you and to write prose into state files (en, pl, de, …). Structural labels — section headers, field names, task keywords, tags — stay English because scripts parse them. Injected into the prompt as LANGUAGE: <code>. |
Experience |
developer |
Who Telesma talks to. developer = like a colleague (file names, section numbers, hashes). beginner = plain words, one question at a time with a default answer, the effect of an action instead of its command, progress in one sentence; the clarification accepts Telesma’s assumptions for you and names the first three. Same mechanics, same permission prompts, same files — only the prose changes. Injected as the EXPERIENCE: beginner block (templates/instructions/BEGINNER.md); a developer pays no tokens for it. telesma.sh --new sets it. |
Adopted |
no |
yes = an existing codebase taken over with telesma.sh --adopt (WORKFLOW.md §19): Phase 0 of the plan is the system as found (telesma/spec/AS_BUILT.md), the clarification plans from Phase 1, and the baseline in REPORT.md tells a regression from an inherited failure. Set by the launcher, never by hand; injected into the clarification prompts as an ADOPTED: yes line. |
Adopted at |
empty | The commit the survey described (short SHA and date). Set by the launcher. |
## Tests| Key | Default | Meaning |
|---|---|---|
Test command |
placeholder | Runs the task’s tests. Required — a placeholder is a startup error. |
Full suite command |
placeholder | Full suite for regression detection after a phase. Required. |
Smoke suite |
none |
A fast subset run after every task, so a regression is caught on the task that caused it rather than at the end of the phase. Small projects: the full suite. |
Full suite after |
every phase |
When the full suite runs. |
Linter/formatter |
placeholder | Project linter, e.g. ruff check, eslint. Also used by the lint-types check on changed files at commit. none if you do not use one. |
Typecheck command |
none |
Typechecker, e.g. mypy src, npx tsc --noEmit. Used by lint-types at the end of a phase. |
Lint before commit |
no |
Run the linter before each commit. |
## Git| Key | Default | Meaning |
|---|---|---|
Auto-commit |
yes |
Commit after each completed task. Done by telesma-task.py done, never by the agent: the files git status shows minus Ignore on commit, after the tests and checks ran on exactly them. |
Auto-push |
no |
Telesma never pushes unless a repository integration is active (then: task branches only). |
Branch strategy |
none (commit to the current branch) |
Branching convention. |
Ignore on commit |
.env, *.log, node_modules/, telesma/artifacts/, telesma/state/PERMISSIONS.jsonl, telesma/state/CHECKS.jsonl, … |
Patterns never committed. Keep each pattern in backticks — Markdown linters turn bare *.log or __pycache__ into emphasis and silently break the list. |
## IntegrationsOff by default; filled in by the wizard (--integrations). Details: INTEGRATIONS.md.
| Key | Default | Meaning |
|---|---|---|
Repository |
none |
none | github. Branch per task, PR, merge; a task is done on merge. Requires gh logged in and Auto-push: yes. |
Repo |
owner/name on GitHub (detected from origin). |
|
Merge |
agent |
agent = Telesma waits for the required checks and squash-merges; auto = GitHub auto-merge (needs branch protection); manual = a human merges. |
Required checks |
none |
Comma-separated check names. Must not be empty in agent mode. |
Open PR limit |
3 |
Reached with no red PR → TELESMA WAITING, end of session. |
Wait for merge |
10 min |
How long to wait for checks/merge after opening a PR before taking another task. |
Max fixes per PR |
3 |
Fixes on a red PR before TELESMA BLOCKED. Separate from Max tries per task. |
Branch prefix |
task- |
Task branches are <prefix><id>-<slug>; the judge removes push prompts only for these. |
Tracker |
none |
none | specky. |
Tracker project |
The Specky project id (from the project URL). | |
Tracker MCP |
https://app.specky.app/mcp |
The tracker’s MCP address (the MCP tools themselves are configured in Claude Code). |
## ChecksQuality checks triggered by git operations. Off by default. Details: CHECKS.md.
| Key | Default | Meaning |
|---|---|---|
Enabled |
no |
yes installs the hook and copies the check modules into telesma/checks/. |
PR status |
yes |
With the GitHub integration, post the commit status Telesma: checks (local) after each push to a task branch. |
Then one ### <check> subsection per check — secrets, weakenings, dependencies,
dependency-audit, tests, hygiene, dead-entry, sast, lint-types, intent, red-team —
grouped by the wizard into the tiers basic / standard / security (Setup wizard),
each with:
| Key | Values |
|---|---|
When |
Points: commit, phase, release, ci |
Scope |
changed | all |
On failure |
block | warn — the config can soften a module’s severity, never harden it |
Time limit |
Optional, e.g. 30 s, 5 min |
A check without a subsection does not run and costs nothing. Writes to this section, to
telesma/checks/ and to telesma/state/CHECK_EXCEPTIONS.md always ask the human.
## ReviewAn independent review of every task before it is committed. telesma-task.py done itself sends
the task’s plan lines (with its - AC: lines), the spec fragments the task cites and the diff to
a second model, which knows nothing of the session, and reads the verdict — the model that wrote
the code does not judge it and cannot write the verdict. Off by default: with it on, the diff
leaves your machine for the reviewer you name.
| Key | Default | Meaning |
|---|---|---|
Enabled |
no |
yes = every done (a task, a PR fix) is reviewed after its tests and checks pass. |
Reviewer |
api |
api = a chat endpoint in the OpenAI format (Google, OpenAI, Anthropic, an own server). claude = a separate Claude Code session on your subscription, without tools, started outside the project; gemini = Gemini CLI on your own sign-in, headless and read-only, started in an empty directory. For both only Model is used. |
Endpoint |
none |
api only. https://… (http:// only for localhost). Google: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions. |
Model |
empty | The model’s id as the provider lists it. Choose a different model than the one that writes the code. |
API key |
env:TELESMA_REVIEW_KEY |
env:NAME, file:<path outside the repo>, cmd:<command> or none. Never a literal. |
Max diff |
240000 |
Characters of diff a review reads; a bigger one is not run. A built or minified file (a line over 2000 characters) is named in the diff and not counted. What is left of the number after the diff is filled with context: the changed files in full and the files the task names in backticks, smallest first. Lower it to pay less per review. Set it to what a local model’s context window holds (about 3 characters per token). |
Timeout |
180 |
Seconds to wait for the reviewer (10–480). |
blocker, major or nit. Only a blocker refuses done
(PLAN.md, REPORT.md and git stay as they were).done --contested "<why>". The answer goes into the commit
message; nobody judges it but you.Review: not run (reason) in the commit message.Reviewer: api with
Endpoint: http://localhost:<port>/v1/chat/completions and API key: none; nothing leaves the
machine. Mind its context window: a server that cuts a long prompt silently would review half a
diff, so a reviewer that reports far fewer prompt tokens than the prompt has is not run.
A small model raises more wrong blockers — look at .git/telesma-review/reviews.jsonl before
relying on it..git/telesma-review/reviews.jsonl (this machine
only): outcome, findings, time, tokens.## Visual artifactsOpt-in screenshots and recordings (WORKFLOW.md § 7).
| Key | Default | Meaning |
|---|---|---|
Screenshots |
no |
yes = after a task tagged (screen: <id>), save telesma/artifacts/screens/<id>.png. |
Recordings |
no |
yes = on e2e tasks tagged (flow: …#step-N), save a video to telesma/artifacts/flows/. |
Flow files |
telesma/spec/APP_FLOW.md |
Files with ## Step N — Title flows (comma-separated). |
Artifacts dir |
telesma/artifacts/ |
Where artifacts go. |
Commit artifacts |
no |
yes = artifacts go into git (consider Git LFS for videos). |
## Telesma loop| Key | Default | Meaning |
|---|---|---|
Max tries per task |
3 |
Tries before TELESMA BLOCKED. Later tries widen the context (neighbouring spec sections, the whole file, the problem log). |
Max refusals per task |
5 |
Hard stop counted by the task tool: this many refused done for one task end the session with TELESMA BLOCKED. none = no limit. |
Max attempts per task |
3 |
How many times next may hand out the same task without a finished done (a restart, a compaction, a lost session) before the script stops. next run again only to read the task — fewer than 10 tool calls since the last one — is not counted. none = no limit. |
Compact context at |
500k |
Claude Code summarises the conversation once it passes this size (100k–1000k) instead of when the model’s window is full. Every step re-reads the whole conversation, so the size is what a step costs — a smaller value is cheaper, a larger one leaves a big task uninterrupted; telesma.sh --usage shows the context per step. auto = leave it to Claude Code. A CLAUDE_CODE_AUTO_COMPACT_WINDOW you exported wins. |
Max tasks per session |
none |
After this many finished tasks next hands out nothing and writes telesma/state/BLOCKED.md. |
Max hours per session |
none |
The same, counted in hours since the launcher started the session. Limits are read once, at the start; the next start shows the reason and asks you whether to go on. |
Max tokens per session |
none |
The same, counted in tokens since the start of the session: input + output + cache read + cache write, as Claude Code’s transcripts on this machine record them (300M, 1.5B, 500k). Cache reads are most of a long session — telesma.sh --usage shows what yours take. |
Report progress |
yes |
Kept for compatibility; currently not read by the launcher or the instructions. |
Rotate state files |
yes |
Move older entries of REPORT.md, PROJECT_CONTEXT.md and PLAN.md into *_ARCHIVE.md at every start (STATE_FILES.md). no turns all rotation off. |
Plan phases in file |
5 |
How many of the latest fully completed phases stay in PLAN.md in full; only applies above 100 KB of plan. none = never touch PLAN.md; 0 = archive every completed phase. |
Active phases |
all |
all, or a list of phase ids (1, 2, 3 or 1M, 2M, 3M). Case-sensitive. Rework phases .Z<n> follow their base phase. Used for multi-client tracks. |
Older projects may still carry Compact every; it has no effect — Claude cannot run /compact
itself, and auto-compaction is handled by keeping state files current after every task.
## Working directories| Key | Default | Meaning |
|---|---|---|
Extra directories |
empty | Directories outside the repository Claude may access without prompts. See below. |
Auto-sync directories |
yes |
Directories added to .claude/settings.local.json outside this file come back into it at startup. |
## SandboxClaude Code’s built-in sandbox under every Bash command (macOS, Linux, WSL2; native Windows runs
without it). Telesma writes it into .claude/settings.local.json at every start, after the
permission mode is final. Questions and the permission judge stay as they are: the sandbox is a
layer under them.
| Key | Default | Meaning |
|---|---|---|
Enabled |
yes for a config the launcher creates when the sandbox is available; no in a project migrated from before format 22 |
no | yes | required (Claude Code does not start when the sandbox cannot run). |
Allowed hosts |
— | Extra hosts, one per line (- api.example.com, - *.internal.example.com). The stack’s registries (PyPI, npm, crates.io, Maven, pub.dev …), the checks’ services and, with the GitHub integration, GitHub’s hosts are added by Telesma; a project with Playwright (a (tech: playwright) tag or @playwright/test in a package.json) also gets the browser downloads, including storage.googleapis.com. In the autonomous modes (1, 4) any other host is refused; in a chat Claude Code asks you. |
Writable paths |
— | Directories outside the project a command may write to (- ~/.cache/my-tool). The project, the ## Working directories, the temporary directory and the stack’s package caches are writable already. |
Excluded commands |
— | Commands that run outside the sandbox (- docker compose * — Docker does not work inside it). Each one is a hole: it runs with all your rights. Telesma also writes each pattern as a permissions.ask rule, so an allow rule like Bash(npx:*) does not let it through unasked; every start lists them. In Claude Code’s auto mode a classifier answers that question, not you. |
Fixed, whatever the section says: a refused command is never retried outside the sandbox, a
sandboxed command is not auto-approved because it is sandboxed, a command may listen on and
connect to localhost (tests start servers; on macOS nothing could listen otherwise — this also
lets a command reach other services listening on your localhost), and ~/.ssh, ~/.aws, ~/.gnupg,
~/.netrc, Docker, Kubernetes and cloud CLI credentials are not readable (~/.config/gh stays
readable with the GitHub integration). Keys you add to the sandbox block of
settings.local.json yourself are kept. The section is under the trust gate: Allowed hosts,
Writable paths and Excluded commands loosen it, so a cloned project’s values are shown to you
before they apply. What to do when a command is refused: TROUBLESHOOTING.md.
## Auto-approvalThe permission judge. Off in the template; the setup wizard’s recommended profile turns it on in
rules mode. Full description: PERMISSION_JUDGE.md.
| Key | Default | Meaning |
|---|---|---|
Auto-approve |
no |
yes installs the PermissionRequest hook. |
Force ask despite allowlist |
no |
Adds a PreToolUse hook whose “ask” beats a broad allow rule. The only key that adds prompts. |
Suggest command fixes |
yes |
Commands Claude Code always prompts on because of their shape (cd X && git …) are bounced back with a rewrite instruction instead. |
Allow reads |
yes |
A command whose every member is provably a read inside the project passes without a model. |
Judge |
rules |
rules (hard patterns, “Always ask” and the read layer — no model), command (same script + an OpenAI-compatible model for the gray zone), none, prompt, agent (Claude Code’s built-in judges). |
Risk level |
conservative |
conservative | balanced. |
Gated tools |
Bash |
Tool-name regex the judge handles. |
Model (command), Endpoint (command), API key (command) |
local Ollama example | The judge model, used only with Judge: command. Run it through the evaluation set before trusting it. |
Fallback endpoint (command), Fallback model (command), Fallback API key (command) |
none |
A second model, asked only when the primary does not answer. |
Fallback mode |
shadow |
shadow = the fallback only logs its verdict; allow = its ALLOW removes the prompt. |
Model (prompt/agent) |
a Haiku model | Model for the prompt / agent variants. |
Decision log |
yes |
Every decision → telesma/state/PERMISSIONS.jsonl (stays on this machine). |
Log human decision |
yes |
Records that a command you were asked about actually ran — the only labels a model can be evaluated on. |
Always ask |
empty | Your own regex patterns, checked before the model; the model cannot override them. |
## TelemetryOptional quality events sent to the shared Telesma hub (after a per-machine opt-in) or to a server you host. Off by default — nothing leaves your machine. Details: TELEMETRY.md.
| Key | Default | Meaning |
|---|---|---|
Send |
no |
yes = this project may be reported. For the shared hub each person must also opt in on their machine. |
Endpoint |
none |
shared = the shared Telesma hub; https://… = your own server (http:// only for localhost). An own server is used only after this section was confirmed on the machine (trust gate). |
API key |
env:TELESMA_HUB_TOKEN |
Own server only. A reference (env:, file:, cmd:), never a literal; read only after this section was confirmed on the machine. |
Scope |
full |
Shared hub only: metrics = this project sends numbers only, for everyone. Can narrow a person’s choice, never widen it. |
Project label |
empty | Readable project name; empty = directory name (own server) or project hash (shared hub). |
## PermissionsSynced both ways with .claude/settings.local.json (below).
| Key | Default | Meaning |
|---|---|---|
Mode |
acceptEdits |
One of Claude Code’s modes — anything else stops the start: default (asks about every tool), acceptEdits (Edit/Write auto-accepted, Bash asks), plan, auto, dontAsk, bypassPermissions (no prompts — risky; you type the word in a terminal to accept it, TELESMA_TRUST_CONFIG is not enough). |
Auto-sync new permissions |
yes |
“Allow always” answers given during a session are merged back here at the next start. |
Generalize permissions |
yes |
Exact approved commands from safe families are promoted to prefix patterns. |
Allowed commands |
test runners, mkdir, ls, safe git, WebFetch(domain:claude.ai) |
Allow rules. |
Denied commands |
rm -rf, sudo, git push --force, git reset --hard |
Deny rules; deny always wins over allow. |
Keys that need a secret (API key (command), Fallback API key (command), the telemetry API key)
accept:
| Form | Meaning |
|---|---|
env:NAME |
An environment variable. |
file:<path> |
The first line of a file outside the repository — works even when you start claude without the launcher. |
cmd:<command> |
The command’s stdout — macOS Keychain, pass, a vault. |
none |
No Authorization header (a local server). |
| a literal | Allowed for the judge but warned about at every start; use only when config.md is not under version control. Never for telemetry. |
Anything that cannot be resolved means the feature stays silent — for the judge, the prompt goes to you.
The launcher reads config.md as data before starting Claude:
Test command or Full suite command missing, empty or still a […] placeholder → error. In
autonomous mode you are asked whether to continue anyway (the same [y/N] gate as plan errors);
other modes just print it. The reason: a placeholder test command once survived 100 days on a
real project — Claude invented a command and “green suite” meant whatever it guessed.Smoke suite: none on a plan over 50 KB → warning: a regression then surfaces only at the end of the
phase, with no task to attribute it to.gh installed, logged in, version ≥ 2.41;
with Merge: auto, the repository’s auto-merge and branch protection); the checks section (modules
exist, points valid, tools available — telesma-checks.py --validate).## Working directories declares directories outside the repository Claude may use without
prompts — a build cache, an asset directory, a neighbouring repository your scripts depend on.
- **Extra directories**:
- /tmp/my-project-logs
- ~/.cache/my-project
- **Auto-sync directories**: yes
~ and $VARIABLES are expanded.permissions.additionalDirectories in .claude/settings.local.json.
Entries there grant file access only — unlike the --add-dir flag, which would also load
CLAUDE.md, hooks and skills from that directory. That difference is the reason Telesma uses the
settings file./ and
~ prefixes: file operations (cp, mv, rm, tee, redirections) into a declared directory pass,
while cp src/x ~/Documents/x still asks. Recursive deletes pass only inside working
directories; inside the repository they still ask — that is where work lives that nobody can
recreate./private/tmp/claude-<uid> or
/tmp/claude-<uid>): the judge trusts it by default — it is the agent’s own workspace, so the common
backup → mutate → restore pattern works with no configuration. List its root only if you also want
Claude Code to read from there without prompts (the per-session path contains a UUID; list the root)./opt/homebrew/bin, /Library/Frameworks/…). You need
to read them, but an entry here also grants write access under acceptEdits; use a
Read(/path/**) rule in ## Permissions instead./, ~,
$HOME, /Users, /Volumes, /System, /Library, /etc, /usr, /var, /tmp — are refused with
a red message. A directory that does not exist gives a yellow warning and stays in the list.## Permissions is synced both ways with .claude/settings.local.json at every start: the union of
both lists is written to both files. During a session Claude Code itself appends “allow always”
answers to settings.local.json; the next start merges them back into config.md.
The problem this solves: Claude Code stores “allow always” as exact commands
(Bash(npm test -- --coverage)), so every variation prompts again and stalls the autonomous loop.
Generalization (Generalize permissions: yes): an approved command from a curated list of
families is promoted at startup to a prefix pattern — approving pytest -k cart gives
Bash(pytest:*), approving npm run build -- --watch gives Bash(npm run:*). Exact entries
covered by a pattern are removed. The families are the ones whose every variation reads, or builds
and tests the project: test runners, linters and typecheckers (pytest, jest, vitest, ruff, eslint,
tsc, playwright, detox, …), builds and package managers (npm/yarn/pnpm install|run|test, pip
install, uv sync|add, poetry install|add, cargo build|test|check, go build|test, docker build),
read-only git (status, diff, log, show, describe, fetch) and reading tools (ls, mkdir, cat,
grep, …).
Never generalized: interpreters and runners of arbitrary code (python, node, npx, make,
uv run, poetry run, go run, cargo run, npm exec, docker compose), tools one flag away
from destroying data (find, xargs, sed, awk, mv, cp, git stash, git tag,
git branch), rm, sudo, curl/wget, git push, git reset, docker run and anything
outside the list — they stay exact, and each new variation needs your approval. A wildcard for one
of them is yours to write into Allowed commands (the setup wizard writes the stack’s own, such as
Bash(python3:*) for Python). Denied commands always wins over Allowed commands.
The default list has no rule for git add, git commit, tags, pushes or gh pr create: since
state format 21 the task tool does those and the “code only” hook refuses them from the agent, so a
rule would be dead weight. Format 23 removes such rules from older projects, from config.md and
from settings.local.json.
A settings.local.json that is not valid JSON is never replaced silently: it is kept as
settings.local.json.bak, a warning names it, and a new file is written from config.md.
The launcher also writes hook entries for the permission judge and the quality checks into the same
file when those are enabled, and removes them when they are disabled. Your own keys in
settings.local.json are preserved.
telesma/config.md is committed, so it arrives with a clone or a pull request — and it holds
values that run on the machine that starts the project: the test commands (the adoption baseline
runs one without a session), the permission mode and the allow rules, the judge’s and the
telemetry’s endpoint and key command, extra directories, the integrations. Telesma keeps one
record per project per machine, outside the repository
(~/.config/telesma/trust/<hash of the project path>.json), with a hash of the field lines of
## Tests, ## Integrations, ## Working directories, ## Sandbox, ## Review, ## Auto-approval, ## Telemetry and
## Permissions. Comments and other sections do not count.
[y/N], the default is no) before anything reads it. “No”
stops the start; nothing is synced, run or sent.--new, --adopt) and the launcher’s own
later writes (the setup wizard, the config merge, permissions written back from
settings.local.json) need no question.TELESMA_TRUST_CONFIG=yes
accepts the config as it is — except Mode: bypassPermissions, which a person types.cmd:/file: keys, a remote
endpoint) read the same record and stay off for a section nobody confirmed here.After a git pull that changed one of these sections the next start asks again and shows only the
sections that changed.
Every commit, pull request and PR comment Telesma writes ends with exactly:
🤖 Generated with Telesma
— no model name, tool name or session link. The launcher writes this into the attribution key of
.claude/settings.local.json (where Claude Code would otherwise put Co-Authored-By and a session
link), and the instructions repeat the rule for the model. Project trailers such as Specky-Req: go
above the footer.
Telesma evolves centrally and many projects use it, so projects update themselves at every start:
telesma/state/.telesma-version (committed, so a team stays consistent) and idempotent.telesma/guidelines/, the judge hook, check modules, the test scenarios
skeleton) — telesma/state/.telesma-manifest remembers which template version each file received. Template
changed and your file untouched → replaced automatically. Your file edited → a one-time notice with
a ready diff command; never a silent overwrite.telesma.sh [options] [project_dir]
The installers put a telesma command in ~/.local/bin that runs telesma.sh; the flags are the
same either way.
| Flag | Meaning |
|---|---|
-i, --interactive |
Start Claude interactively (an open chat) instead of in pipe mode. |
-m, --mode <1\|2\|3\|4> |
Choose the mode and skip the menu: 1 autonomous, 2 bugfix, 3 review, 4 artifacts. |
--adopt |
Existing code, no Telesma yet: preconditions (code, a git commit, a clean tree), the setup wizard, Adopted: yes; the next start runs the test baseline, the git digest and the survey session that writes telesma/spec/AS_BUILT.md (WORKFLOW.md §19). |
--repair |
Repair state files from git history and exit, without starting Claude (STATE_FILES.md). |
--setup |
Configuration menu on an existing project: the state of every module, pick one to change (Setup wizard). Exits afterwards. |
--integrations |
Run only the integrations wizard on an existing project; writes only telesma/config.md. |
--sync-specky |
With Tracker: specky: a short Claude session that turns Specky changes into files in telesma/changes/. No loop. |
-h, --help |
Show help. |
Environment variables: TELESMA_TRUST_CONFIG=yes (accept config.md without a terminal, see the
trust gate), TELESMA_NO_UPDATE_CHECK=1 (no look at the
remote at the start), TELESMA_FOLLOW_BRANCH=1 (the update and the installers follow the branch
tip instead of the latest release tag — for developers of Telesma and forks; a clone that does not
sit exactly on a release tag follows its branch for the “behind” notice anyway).
Only one launcher runs on a project at a time: a second start stops and names the process that
holds telesma/state/.telesma-lock/ (a lock left by a closed window is taken over). A project
whose telesma/state/.telesma-version is newer than this Telesma is refused — update Telesma.
Behaviour by mode:
Adopted: yes with an open task in Phase 0) runs before the clarification on every
start until Phase 0 is done, in pipe mode by default; the session may write only inside
telesma/ (permission mode default, an Edit(telesma/**) allow rule). With -i you watch
it and answer. Before the clarification, -m 2 and -m 3 work from the survey alone.Clarified: no) always runs interactively; -i is forced. Interrupt with
Ctrl+C at any time; the next start resumes from the first unanswered item.telesma/state/BLOCKED.md, shown at the next start and
passed to Claude to resolve. With -i you can answer questions as they come.telesma.sh /path/to/project # menu
telesma.sh /path/to/project -m 1 # mode 1, pipe
telesma.sh /path/to/project -m 1 -i # mode 1, interactive
telesma.sh /path/to/project -m 2 # mode 2 (interactive)
telesma.sh /path/to/project -m 3 # mode 3 (interactive)
telesma.sh /path/to/project -m 4 # mode 4, pipe
The instructions are assembled per mode from templates/instructions/: each mode receives only its
own sections (core, the mode module, the interactive module, and integration or check modules when
configured), which keeps the startup prompt small and prevents behaviour leaking between modes.