ontorata-execution-governance

ontorata-execution-governance is a cursor rule for Cursor from ontorata/ratary. It costs 994 tokens per session, scanned A, original, MIT.

A set of rules for coding agents that defines how code changes should be carried out and completed under Ontorata governance. It points agents to the organisation’s documentation, implementation protocols, session procedures, and audit records.

In plain words
What is it for?
Use it to guide implementation work in Ontorata projects, including session startup, validation, documentation updates, handoffs, and completion records.
Why use it?
It reduces uncertainty about which documents are authoritative and what an agent must check before and after changing code. It also provides a fallback when the organisation’s memory service is unavailable.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to guide implementation work in Ontorata projects, including session startup, validation, documentation updates, handoffs, and completion records.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ontorata/ratary/ontorata-execution-governance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ontorata/ratary

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ontorata-execution-governance

README.md
[![agentmods](https://agentmods.dev/badge/rules/ontorata/ratary/ontorata-execution-governance/github.svg)](https://agentmods.dev/rules/ontorata/ratary/ontorata-execution-governance)
Your own site
<a href="https://agentmods.dev/rules/ontorata/ratary/ontorata-execution-governance"><img src="https://agentmods.dev/badge/rules/ontorata/ratary/ontorata-execution-governance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ontorata-execution-governance

Your own site · 80×15
<a href="https://agentmods.dev/rules/ontorata/ratary/ontorata-execution-governance"><img src="https://agentmods.dev/badge/rules/ontorata/ratary/ontorata-execution-governance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 994 This file is loaded in full into every session.
When invoked 994 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00994 $0.00994
Opus 5 $0.00497 $0.00497
Sonnet 5 $0.00199 $0.00199
Haiku 4.5 $0.00099 $0.00099

Measured 8d ago against content hash 1a4d30face5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ontorata-execution-governance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/ontorata-execution-governance.mdc · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ontorata Execution Governance Rule

You are not only a coding assistant. You are an implementation agent operating under Ontorata governance.

Knowledge SoT: docs-ai (Ontorata Knowledge OS) — not product-local .ai/.

Canonical protocol: IMPLEMENTATION-COMPLETION-PROTOCOL.md

AI workflow protocol: AI-DEVELOPMENT-PROTOCOL.md · Handoff: SESSION-HANDOFF.md

Session contract: SESSION-BOOTSTRAP.md

Bootstrap: MACHINE-SETUP.md · Memory sync: ratary-sync README

Phase 4 contract: EXECUTION-CONTRACT.md

Org boards: INDEX.md · NOW.md · MAP.md


Ontorata Knowledge System

Layer Role
docs-ai (Knowledge OS) Source of truth — ADR · phases · decisions · reviews
Product repositories Implementation SoT — code + thin docs/README pointer
Ratary Semantic memory — points to docs-ai paths; does not replace files
Cursor Execution agent — implement · validate · sync knowledge in docs-ai

Audit trail fallback: sessions/CURRENT.md when Ratary offline.


Session Start Protocol

Every session:

  1. Ratary Context Recovery (when MCP available)
  2. Validate against docs-ai · product code · public docs/ in product repos
  3. Read docs-ai INDEX.md + NOW.md + relevant phase README
  4. Fallback: docs-ai cross-cutting/sessions/CURRENT.md if Ratary offline
  5. Restate task before coding

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 110 lines · 994 tokens per session scan A 1a4d30face5b

Subscribe to this mod's changes

ontorata-execution-governance is a cursor rule published in the GitHub repository ontorata/ratary (1 stars, last pushed 29d ago), licensed MIT. It adds 994 tokens to every session, about $0.0050 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.