simplicio-loop / rules
Cursor rule2 starsChanged 47 days agoMITView on GitHub
Applies to: Claude Code, Codex, Grok, Cursor, VS Code / Copilot, Antigravity, Kiro, Hermes / Simplicio Agent, OpenCode, Gemini, Aider, and any host that loads Simplicio skills. Orca is not default — enable only when the client requests it (docs/CLIENT_INTEGRATIONS.md). Installers copy this file into each host's always-on surface via python3 scripts/host_rule_sync.py --global. 0. /simplicio-loop is the entrypoint. There is no Runtime/MCP backend in this stack. - Start the loop directly: /simplicio-loop <body of work>. - Bound operators (required): simplicio-mapper…
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,373 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- asd-ste100Skill
- frontend-designSkill
- simplicio-autoresearchSkill
- simplicio-compressSkill
- simplicio-dev-cliSkill
- simplicio-learnSkill
- simplicio-loopSkill
- simplicio-mapperSkill
- simplicio-orientSkill
- simplicio-prismSkill
- simplicio-reviewSkill
- simplicio-tasksSkill
The file
We split this simplicio-loop-operator-flow.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Start the loop directly: /simplicio-loop <body of work>.
- Very specific: line 17
Metrics mandatory: every run writes simplicio.execution-report/v1 (per task/issue + consolidated: speed, latency, CPU/RAM when MEASURED, …
- Distinctive: line 22
Economy-parallel env: before autonomous work (fastest tokens + parallel):
- Very specific: line 62
Parallelism: only with lease/claim + isolation + reducer — no double-writers without coordination.
- Distinctive: line 108
Delete diretamente o obsoleto.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Simplicio loop — mandatory operator flow (all hosts)
Applies to: Claude Code, Codex, Grok, Cursor, VS Code / Copilot, Antigravity,
Kiro, Hermes / Simplicio Agent, OpenCode, Gemini, Aider, and any host that loads
Simplicio skills. Orca is not default — enable only when the client requests it
(docs/CLIENT_INTEGRATIONS.md).
Installers copy this file into each host's always-on surface via
python3 scripts/host_rule_sync.py --global.
MUST
/simplicio-loopis the entrypoint. There is no Runtime/MCP backend in this stack.- Start the loop directly:
/simplicio-loop <body of work>. - Bound operators (required):
simplicio-mapper(survey) +simplicio-dev-cli(mutate). They are the whole operator stack. - Metrics mandatory: every run writes
simplicio.execution-report/v1(per task/issue + consolidated: speed, latency, CPU/RAM when MEASURED, tokens in/out). CLI:python -m simplicio_loop.execution_report …. Never invent numbers. - ADR: loop
docs/adr/0009,0010.
- Start the loop directly:
- Economy-parallel env before autonomous work (fastest tokens + parallel):
simplicio-loop economy apply --json # or: source ~/.simplicio-loop/economy-parallel-env.shSIMPLICIO_LOOP=1·SIMPLICIO_LOOP_STRICT=1SIMPLICIO_EXECUTION_PROFILE=standalone(the only execution profile)SIMPLICIO_LOOP_AUTO_FAN_OUT=1(parallel worktrees onbatch)SIMPLICIO_LOOP_OPERATOR_WORKERS/SIMPLICIO_PRISM_SLOTS/SIMPLICIO_ASYNC_IO_MAX_CONCURRENCY(CPU-bounded)SIMPLICIO_OPERATOR_ALWAYS_LATEST=1- Safety: mutation authority + planning receipt + forbid hand-edit
- Opt out of economy defaults:
SIMPLICIO_ECONOMY_PARALLEL=0
- Preflight (blocking):
simplicio-loop preflight --strict --json
Core operators = mapper + dev-cli. Terminal-first: prefer real shell/CLI commands (simplicio-orient) over host bulk Read/Grep/cat. - Survey:
simplicio-mapper(scan / inspect / handoff) — not ad-hoc full-tree LLM walks. - Hot path:
simplicio-loop "<task>" [--verify "<tests>"](short forsimplicio-loop turbo --repo . --task "<task>"). Mapper surveys and the command prints aneeds_planrequest holding the text of the files it names; no key, no provider. You are the model: run the printedapplycommand once with your JSON plan as its heredoc body (simplicio-loop turbo --repo . --apply - --verify "<tests>" <<'PLAN', the plan,PLAN; Dev CLI applies it and runs--verify), and onfailedfix the plan once from the reported reason. Exactly two commands: do not explore, list or read files, and do not run the tests yourself. Queue goals: the same two commands per item, in order. - Mutate: through
simplicio-loop turbo --apply -under STRICT (Dev CLI makes every edit).
Host Write / Edit / StrReplace / ApplyPatch are forbidden as the primary mutation path when STRICT is on (hooks/action_gate.pyPreToolUse on Claude/Cursor; instruction law on self-paced hosts). - GitHub = default coordination SoT for Issues/PRs when the remote is GitHub.
- Drain: claim → real ACs → PR to main with
Parte de #N→ merge. Prefer Prism waves (python3 scripts/arm_drain_prism.py --repo . --slots 0 --batch-size N --json;slots 0= machine physical max; batch default/min 10, larger explicit OK). A closing word in a PR closes the issue on merge, even a quoted one: the issue is closed by hand, after a comment with the evidence. - Evidence-gated exit: MEASURED tags; no theater AC stubs; no false completion.
- Parallelism only with lease/claim + isolation + reducer — no double-writers without coordination.
1–3 tasks = direct parallelism; >3 = Prism. Layers: Prism · operator workers ·
asyncio I/O · writes serialized. See
docs/LLM_MAX_SPEED_ORIENTATION.md. - Integrations (Orca, Linear, …) only if the client requested them
(
SIMPLICIO_LOOP_CLIENT_INTEGRATIONSor.simplicio-loop/client-integrations.json). - Max-speed orientation (always): act > narrate; Mapper→dev-cli hot path;
smallest gate that proves the AC; no full-repo residual thrash; no 3-reviewer panels on
metadata-only diffs; end each message with
DONE | NEXT | BLOCKED. Canonical:docs/LLM_MAX_SPEED_ORIENTATION.md(re-feed block in SKILL.md).
MUST NOT
- Mass-close issues with hardcoded
status=implementedstubs - Invent
open=0without live issue re-query - Reinstall operators every turn (TTL pin +
operator_check maybe-upgrade) - Hand-edit under STRICT to "go faster"
- Auto-enable Orca or other host side-channels
- Force physical Prism thrash above machine auto (
--slots 0/ economy recommend)
Loop drive by host
| Host | Drive | Hand-edit gate |
| Claude Code | Stop + PreToolUse | action_gate under STRICT |
| Cursor | stop + afterAgentResponse | hooks + this rule |
| Codex / Grok / VS Code / Antigravity / Kiro / Hermes | self-paced | this rule + env STRICT as hard law |
| Simplicio Agent | native tick | native + this rule |
Self-paced: re-read .simplicio-loop/orchestrator/loop/scratchpad.md every turn;
triage → decide → operate → verify → journal.
Invoke
/simplicio-loop <body of work>
python3 scripts/arm_drain_prism.py --repo . --slots 4 --jsonProtocol: .claude/skills/simplicio-loop/SKILL.md
Contract: docs/MULTI_LLM_CONTRACT.md
<!-- simplicio-global-llm-architecture-rules:start -->Regras arquiteturais globais (obrigatórias)
- Delete diretamente o obsoleto; não preserve compatibilidade retroativa, não crie migrações e não deixe fallbacks.
- Escolha a solução mais simples para a necessidade atual, sem abstrações preventivas ou configuração desnecessária.
- Faça o mínimo end-to-end funcionar primeiro e evolua por camadas longas, sem desmontar o que funciona por complexidade inacabada.
- Mantenha modularidade e separação de responsabilidades.
- Prefira bibliotecas maduras e mantidas; reescreva do zero apenas com motivo técnico explícito.
- Inspecione dependências existentes antes de adicionar pacotes ou reimplementar.
- Tome decisões para o longo prazo; não deixe soluções temporárias.
- Reutilize padrões validados por produtos maduros; não reinvente a roda.
<!-- simplicio-global-llm-architecture-rules:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

