sovereign-integration / docs /agent-deployment.md
Codexcoder's picture
integration: add docs/agent-deployment.md
6b2a07c verified
|
Raw History Blame Contribute Delete
1.51 kB

Agent Build & Deployment — Guide

Covers building the agent fleet (registry + definitions), validating it, and deploying across the four channels.

1. Build

python3 scripts/build_agents.py          # human report
python3 scripts/build_agents.py --json   # machine manifest

The builder:

  • parses agents/registry.yaml + every agents/*.agent.yaml
  • cross-checks registry↔file references (orphans flagged)
  • reports per-agent: kind, workers, tasks, tools, triggers

2. Validate

python3 scripts/verify_registries.py     # modules/agents/triggers cross-refs

3. Test

.venv/bin/pytest tests/ -q --ignore=tests/test_72h_closed_loop.py

4. Stage

python3 scripts/production_check.py      # imports, routes, registries, health

5. Deploy (guarded)

Channel How Gate
Repo / GitHub git push origin main (CI builds APK/iOS/exe, releases) human/chamber approval
Site (GitHub Pages) site/*.html + PWA manifest + sw.js ship with the repo push
HuggingFace datasets scripts/upload_kyrexis_dataset.py / upload_pec5d_dataset.py HF_TOKEN present
Docker docker-compose.yml + per-module Dockerfiles CI

6. Rollback

  • git revert HEAD for code/site; re-upload prior dataset revisions for HF.

Agents currently in the fleet

scripts/build_agents.py lists them — includes the sovereign core agents, the PEC5D pec5d-agent (9 workers), and the coldcase-agent group.