π Open Cloud Agents: Rule Governance & Operational Invariants¶
Welcome to the Rule Governance Specification for Open Cloud Agents.
Rules represent non-negotiable system invariants and behavioral guardrails that apply across all 7 specialist agents, AI models, and human contributors.
The Three Pillars of Open Cloud Agents¶
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Open Cloud Agents β
βββββββββββββββββββ¬βββββββββββββββββββ¬ββββββββββββββββββββ€
β 1. PERSONAS β 2. SKILLS β 3. RULES β
β (agents/) β (skills/) β (rules/) β
β WHO does it β HOW it's done β WHAT IS FORBIDDENβ
β Role & Mandate β Runbooks/Scripts β Inviolable Guards β
βββββββββββββββββββ΄βββββββββββββββββββ΄ββββββββββββββββββββ
- Personas (
agents/): Define operational roles, cognitive scopes, and handoff contracts. - Skills (
skills/): Provide procedural runbooks, API references, and automated verification scripts. - Rules (
rules/): Enforce strict safety boundaries, preventing catastrophic state loss, data corruption, and security breaches.
Core Rule Catalog¶
| Rule File | Name | Mandate | Enforcement Level |
|---|---|---|---|
01-destructive-actions.md |
Zero Unplanned Destruction | Bans irreversible data deletion (DROP, TRUNCATE, rm -rf, and IaC forces replacement) without explicit human confirmation. |
BLOCKING / MANDATORY |
02-secrets-and-identity.md |
Zero-Trust Identity & Secrets | Zero plaintext tokens, API keys, or private keys. Enforces KMS encryption, short-lived OIDC tokens, and log redaction. | BLOCKING / MANDATORY |
03-surgical-scope-discipline.md |
Surgical Scope & Non-Interference | Prohibits unasked refactoring, formatting sweeps, or dependency changes outside the active user prompt. | STRICT BEHAVIORAL |
04-cloud-well-architected-invariants.md |
Well-Architected Defaults | Mandates multi-AZ/multi-region DR targets (RTO/RPO), IAM least privilege, and TLS 1.3/KMS encryption defaults. | ARCHITECTURAL STANDARD |
05-repository-and-path-hygiene.md |
Path & Link Sanitization | Forbids leaking local workstation paths (/Users/<name>/) and mandates relative links for multi-agent interoperability. |
CI VERIFIED |
How AI Agents Ingest These Rules¶
- Native Agent Runtimes (Antigravity / Gemini / Claude Code / Cline): Automatically read and enforce
AGENTS.mdat the repository root. - Cursor / VS Code: Configured via
.cursorrulesto reference the canonicalrules/directory. - CI Enforcement: The automated GitHub Actions CI pipeline (
.github/workflows/autonomous-gatekeeper.yml) tests all commits against these rules.