Guardrails
Ombro’s limits are enforced by code, never by asking the model. Every model call and tool call passes through one gate that checks all limits before the call and records the usage after it. Limits are fixed when a job starts, and recorded in its job.md.
The allowance
Section titled “The allowance”One setting sets how far jobs, chats and interviews may go, for the whole of Ombro:
| Allowance | Job tokens | Rounds | Job time | Each interview | Each chat |
|---|---|---|---|---|---|
Light (conservative) |
300,000 | 4 | 15 min | 50,000 | 100,000 |
| Moderate (default) | 800,000 | 8 | 30 min | 100,000 | 200,000 |
| Generous | 2,000,000 | 16 | 1 hour | 250,000 | 1,000,000 |
No limit (unlimited) |
no cap | 50 | 4 hours | no cap | no cap |
Set it in Settings › General › Token usage limit, with ombro limits set <level>, or by hand in ~/.config/ombro/limits.md. A spec’s limits: block wins over the level for its job. Limits and usage are in tokens; Ombro doesn’t report costs.
Every limit
Section titled “Every limit”Even “no limit” keeps every other cap:
| Limit | Bounds |
|---|---|
max_tokens |
Total tokens in a job |
max_rounds |
The Lead’s delegation rounds in a job |
job_timeout |
A job’s wall-clock time |
max_steps |
Model calls one role may make in one brief |
max_calls (in tools.md) |
Calls to each tool in a job |
max_output_tokens |
Each model reply (32,000 by default) |
loop_threshold |
The same tool called again and again with the same arguments |
code_timeout, code_max_memory, code_output_chars |
Each script |
interview_max_tokens, interview_max_turns |
Each interview |
chat_max_tokens, chat_tool_max_calls, chat_calls_per_message |
Each chat |
What happens at a limit
Section titled “What happens at a limit”- Tokens, rounds, time and a stop request end the whole job.
- A role’s step limit, or a loop, ends that brief only. The Lead is told and can try again more narrowly.
- A tool out of calls refuses further calls for the rest of the job; the role carries on without it.
A share of the token cap is held back so the report can always be written. The report records which limit ended what.
Untrusted material
Section titled “Untrusted material”Anything a model reads that came from neither you nor Ombro (web pages, emails, file contents, tool results, script output, what roles return) is material, and may try to steer the model. Ombro’s defence doesn’t depend on the model noticing:
- Powers are fixed first. A role’s tools, folders, crews, permissions and limits are set before it reads anything, and material can’t add to them.
- Material is fenced. It reaches the model between markers with a random id for each call, and text copying a marker is neutralised. Ombro’s fixed rules say fenced text is assessed, never obeyed.
- External calls wait after reading. Once a role has read material in a brief, its external calls wait for approval, even in Hands-off mode, unless the spec allows that tool by name.
- No data out through links. Reading tools refuse an address with more than 200 characters after
?, so a page can’t make a role send data out in a link. - After private material, the browser holds back. Once a job has read your files, memory or email, the browser limits what it can type or carry to other sites.
- Deleting and sharing ask first once a job or chat has read untrusted material, even in your own tools.
- Suspicious text is flagged. Signs of injected instructions (“ignore previous instructions”, text addressed to an AI, hidden characters) are listed in the report’s Material section, with where they came from. A flag never stops a job; it tells you what to check.
Nothing is deleted
Section titled “Nothing is deleted”No role deletes a file in a shared folder: files are set aside into For deletion/ or Archive/, old versions are kept and writable folders are backed up before each job. Only you empty those folders. See Outputs and shared folders.