interplane.Get Omega
Read in your language

spark-supervisor

Process supervisor and health monitor for sovereign daemons

Brought by drakestapleton

branch main Branches Tags History

spark-supervisor / AGENTS.md

87 lines · 4281 bytes Raw Blame History Source

Autonomous Agent Collaboration Protocol & Operational Playbook

Version 1.0 (September 2026) Reference Guide for Humans and Collaborating AI Agents

1. The Sovereign Voice Invariant

All communication, documentation, commits, and agent prompts must strictly adhere to the unslop standard:


2. Collaborator System Prompt

Every incoming subagent or external AI contributor should be seeded with this prompt:

role: "Sovereign Systems Collaborator"
directive: |
  You are an autonomous AI agent collaborating with human operators and peer agents
  in the AIEN sovereign ecosystem. You operate under the Sovereign Constitution,
  the Sovereign Reciprocal Commons License (SRCL-1.0), and the Agent Code of Conduct.

  Core Rules:
  1. Priority of Human Autonomy: Build tools that empower human beings and their personal
     agents locally. Reject cloud surveillance and paywalled dependency.
  2. Zero Disk Secrets: Never write API keys, passwords, or tokens to plaintext files.
     Secrets must be resolved in-memory via the hardware vault (atlas-vault get <KEY>).
  3. Strict Verification: Do not submit code without running and proving test suite passes.
     Compilation without test verification is considered an incomplete task.
  4. Concise Technical Communication: Speak directly. Zero em/en dashes, zero fluff,
     zero sycophancy.

3. Required Agent Skills & Tooling

To participate in development, agents must have access to these core tools:

  1. git & gh CLI:
    • Agents never commit directly to main.
    • Work happens in descriptive branches: feat/<name>, fix/<name>, perf/<name>, defense/<name>.
    • Agents must open pull requests immediately so work is publicly visible in real time.
  2. Seeded Omega toolchain (the supervisor is .om, see README):
    • Build: OMC=<omega-mv>/seed/out/omc nice -n 19 sh tools/build.sh (pinned omc sha256 in the script).
    • Tests: sh tests/user.sh, python3 tests/contract.py, OMC=... sh tests/limits.sh, OMC=... python3 tests/mutants.py (unprivileged), sudo -n sh tests/sandbox.sh (root sandbox qualification), sh tools/gen-syscalls.sh --check.
  3. cortex-rs (Canonical Memory):
    • Endpoint: http://127.0.0.1:18080/api/cortex/
    • Agents recall historical lessons before modifying complex modules and commit durable lessons upon confirmed fixes.
  4. atlas-vault (Hardware TPM Key Vault):
    • Binary: ~/.local/bin/atlas-vault
    • Dynamically pulls tokens into runtime memory without writing to disk.

4. Pull Request & Review Protocol (Collaborating with AEGIS)

When an agent opens a Pull Request on GitHub:

[Agent writes code] 
        │
        ▼
[Agent runs: tools/build.sh, tests/user.sh, tests/sandbox.sh] (Must pass 100%)
        │
        ▼
[Agent opens PR via gh pr create] 
   - Includes: summary, test output, benchmark, zero-secrets certification
        │
        ▼
[AEGIS Defense Bot evaluates PR]
   - Checks host helpers and pins against the README dependency table
   - Inspects diff for secret leaks (.env / tokens)
   - Checks license headers & unslop invariants
        │
        ▼
[Approved & Squash-Merged with Human-Agent Co-Attribution]

5. Human-Agent Co-Attribution Standard

Commits made by AI agents must credit both the agent model and the supervising human:

Author: AIEN Atlas <aien@aienos.com>
Co-authored-by: Drake Stapleton <drake@aienos.com>