|
Download docs/agent-deployment.md from Codexcoder/sovereign-integration: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/datasets/Codexcoder/sovereign-integration/resolve/main/docs/agent-deployment.md
- Command line
-
hf download hf://datasets/Codexcoder/sovereign-integration/docs/agent-deployment.md
-
curl -L -o agent-deployment.md https://huggingface.co/datasets/Codexcoder/sovereign-integration/resolve/main/docs/agent-deployment.md
1.51 kB
| # Agent Build & Deployment — Guide | |
| Covers building the agent fleet (registry + definitions), validating it, | |
| and deploying across the four channels. | |
| ## 1. Build | |
| ```bash | |
| 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 | |
| ```bash | |
| python3 scripts/verify_registries.py # modules/agents/triggers cross-refs | |
| ``` | |
| ## 3. Test | |
| ```bash | |
| .venv/bin/pytest tests/ -q --ignore=tests/test_72h_closed_loop.py | |
| ``` | |
| ## 4. Stage | |
| ```bash | |
| 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. | |