Agent scaffold, routing, and autonomous workflow documentation.
The @blackroad-agents command triggers a deca-layered scaffold that governs the lifecycle of every task in the BlackRoad ecosystem — from initial review through deployment and content publishing.
- Initial Reviewer — Lucidia Core (Layer 6) reviews the request for clarity, security compliance, and resource availability. Generates a preliminary execution plan.
- Task → Organization — Route to one of the fifteen BlackRoad organizations based on functional domain.
- Task → Team — Distribute within the selected organization. Pauses for human-in-the-loop (HITL) approval on high-risk operations.
- Task → Project — Record in a GitHub Project board. Sync metadata (Request ID, timeline) with Salesforce.
- Task → Agent — Assign a specialized agent using the Planner-Executor-Reflector design pattern (e.g.
fastapi-coder-agent,doctl-infrastructure-agent). - Task → Repository — Create a branch in the target repo following GitHub Flow.
- Task → Device — Route to physical hardware for firmware deployment or Droplet rebuild.
- Task → Drive — Distribute artifacts to Google Drive via Service Account (GSA).
- Task → Cloudflare — Execute DNS or Tunnel configuration changes.
- Task → Website Editor — Update the presentation layer via AI-driven editor or headless CMS.
See scaffold.json for the machine-readable definition.
The @BlackRoadBot routing matrix responds to natural-language mentions on GitHub issues and PRs. It identifies the target platform from intent and dispatches accordingly:
| Platform | Integration |
|---|---|
| Salesforce | Apex middleware → Case/Task creation; Data Cloud telemetry via webhooks |
| Hugging Face | Programmatic inference endpoints for high-compute tasks |
| Ollama | Local models exposed via Cloudflare Tunnel |
| DigitalOcean | Droplet management via doctl in GitHub Actions |
| Railway | Ephemeral test environments for feature branches |
The current fleet is defined in agent.json:
| Agent | Role |
|---|---|
| CECE | Primary orchestrator |
| octavia-pi5 | Raspberry Pi 5 fleet node |
| aria-pi4 | Raspberry Pi 4 fleet node |
| cecilia | General-purpose agent |
| gematria-do | DigitalOcean-hosted agent |
| lucidia-pi5 | Memory-layer Pi 5 node |
If a task fails at any scaffold layer, the system:
- Creates a GitHub Issue with detailed logs from Layer 6 (Lucidia Core).
- A Reflect and Retry plugin assesses the failure.
- Resolves by adjusting agent prompts or switching the inference model.
Every request is tracked via a unique Request ID for server-side tracing.
| Provider | Mitigation |
|---|---|
| GitHub Copilot | Redirect to local Raspberry Pi LiteLLM proxy |
| Hugging Face Hub | Rotate HF_TOKEN or use authenticated SSH keys |
| Google Drive | Shared Drives with GSA Content Manager role |
| DigitalOcean API | Queue tasks via Layer 7 Orchestration |
| Salesforce API | Batch updates via Data Cloud Streaming Transforms |
See infrastructure.json for full hardware specs and mitigation details.
© BlackRoad OS, Inc. All rights reserved.