Add BlackRoad OS technical framework docs and structured config#1
Add BlackRoad OS technical framework docs and structured config#1
Conversation
…ganizations, domains, scaffold, and infrastructure Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds org-level architecture/agent documentation plus machine-readable registries to the .github repository to describe the BlackRoad OS organizational matrix, domain registry, agent scaffold, and infrastructure/rate-limit mitigation.
Changes:
- Added
ARCHITECTURE.mdandAGENTS.mdto document the technical framework and agent scaffold/routing. - Introduced structured JSON registries for organizations, domains, scaffold steps, and infrastructure specs.
- Updated the org profile README to link to the new architecture and agent scaffold docs.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
ARCHITECTURE.md |
Adds the human-readable technical architecture document and links to the JSON registries. |
AGENTS.md |
Documents @blackroad-agents scaffold, @BlackRoadBot routing, fleet, and mitigation details. |
organizations.json |
Adds a machine-readable registry of organizations, responsibilities, and example repos. |
domains.json |
Adds a machine-readable domain registry mapped to organizations. |
scaffold.json |
Adds a machine-readable 10-step scaffold definition for @blackroad-agents. |
infrastructure.json |
Adds machine-readable infrastructure specs and rate-limit mitigation entries. |
profile/README.md |
Links the org profile to the new architecture and scaffold docs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "description": "BlackRoad OS domain registry — all domains orchestrated via Cloudflare", | ||
| "updated": "2026-02-27T00:00:00Z", | ||
| "domains": [ | ||
| { |
There was a problem hiding this comment.
The $schema value points to the JSON Schema meta-schema (draft/2020-12), which indicates this file itself is a JSON Schema. Since domains.json is data (not a schema), tooling that honors $schema may validate it incorrectly. Either remove $schema or point it at a repo-local schema that describes the domain registry structure.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| The current fleet is defined in **[agent.json](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 | |
There was a problem hiding this comment.
Line 38 says the current fleet is "defined in agent.json", but the existing agent.json at the repo root only contains a flat array of agent names under "fleet" — it has no role descriptions for each agent. The table on lines 40–47 includes role information (e.g. "Primary orchestrator", "Raspberry Pi 5 fleet node") that is not present in agent.json. This makes the claim inaccurate and could confuse readers who inspect agent.json expecting structured role data. Either update the sentence to clarify that roles are documented here in AGENTS.md rather than in agent.json, or add role information to agent.json.
Captures the BlackRoad OS architecture — org matrix, domain registry, agent scaffold, infrastructure specs, and routing — as both human-readable docs and machine-readable JSON in the org-level
.githubrepo.Documentation
ARCHITECTURE.md— Full technical framework: 15-org enterprise matrix, 14-domain Cloudflare registry, CLI v3 layers 3–8, Pi inference cluster, @BlackRoadBot routing, roadchain witnessing, rate-limit mitigationAGENTS.md— @blackroad-agents 10-step scaffold, @BlackRoadBot platform routing, fleet roster, error handling. Also satisfies the existingorg-ci.ymlwarning for missingAGENTS.mdStructured data
organizations.json— 15 orgs with responsibilities and example reposdomains.json— 14 domains with use cases and org mappingsscaffold.json— Deca-layered scaffold; each step mapped to its CLI v3 layerinfrastructure.json— Pi 5 cluster hardware specs + per-provider rate-limit mitigationProfile
profile/README.md— Added Architecture and Agent Scaffold linksCI note
The
action_requiredconclusion onorg-ci.ymlis GitHub Actions awaiting first-run approval for the bot actor — not a code failure.Original prompt
Distributed Multi-Agent Orchestration and Autonomous Infrastructure: The BlackRoad OS Technical Framework
The paradigm of modern software engineering is increasingly characterized by the transition from static, human-operated development environments to dynamic, agentic ecosystems. The BlackRoad OS framework represents an advanced implementation of this shift, integrating a multi-layered command-line interface, a decentralized memory core known as Lucidia, and a witnessing ledger system titled roadchain. Central to this architecture is the deployment of autonomous routing matrices—specifically @BlackRoadBot and @blackroad-agents—which facilitate the distribution of high-level intent across a vast array of cloud platforms, local hardware clusters, and organizational structures. This report provides an exhaustive technical analysis of the BlackRoad architecture, detailing the mechanisms of its deca-layered task scaffold, the technical requirements for local inference offloading via Raspberry Pi clusters, and the theoretical underpinnings that inform its design.
The GitHub Enterprise Organizational Matrix
The operational surface area of BlackRoad OS is structured within a GitHub Enterprise environment, specifically hosted at https://github.com/enterprises/blackroad-os. This enterprise-level abstraction provides the necessary governance and security boundaries for managing a hierarchy of fifteen distinct organizations. Each organization is tasked with a specific functional domain, ranging from core kernel development to hardware management and educational outreach. The distribution of tasks across these organizations is not merely a logistical necessity but a strategic implementation of the principle of least privilege, ensuring that agents operating within one domain—such as BlackRoad-Security—are isolated from sensitive assets in another, such as BlackRoad-Ventures.
Organization Domains and Architectural Alignment
The fifteen organizations within the BlackRoad ecosystem serve as the primary targets for the @blackroad-agents task distribution layer. These organizations are meticulously categorized to ensure that @BlackRoadBot can route requests with high precision based on the context of the GitHub comment.
Organization Name
Primary Responsibility
Repository Examples
Blackbox-Enterprises
Corporate and Enterprise Integrations
blackbox-api, enterprise-bridge
BlackRoad-AI
Core LLM and Reasoning Engine Development
lucidia-core, blackroad-reasoning
BlackRoad-Archive
Long-term Data Persistence and Documentation
blackroad-os-docs, history-ledger
BlackRoad-Cloud
Infrastructure as Code and Orchestration
cloud-orchestrator, railway-deploy
BlackRoad-Education
Onboarding and Documentation Frameworks
br-help, onboarding-portal
BlackRoad-Foundation
Governance and Protocol Standards
protocol-specs, governance-rules
BlackRoad-Gov
Regulatory Compliance and Policy Enforcement
compliance-audit, regulatory-tools
BlackRoad-Hardware
SBC and IoT Device Management
blackroad-agent-os, pi-firmware
BlackRoad-Interactive
User Interface and Frontend Systems
blackroad-os-web, interactive-ui
BlackRoad-Labs
Experimental R&D and Prototyping
experimental-agents, quantum-lab
BlackRoad-Media
Content Delivery and Public Relations
media-engine, pr-automation
BlackRoad-OS
Core System Kernel and CLI Development
blackroad-cli, kernel-source
BlackRoad-Security
Auditing, Cryptography, and Security
security-audit, hash-witnessing
BlackRoad-Studio
Production Assets and Creative Tooling
lucidia-studio, creative-assets
BlackRoad-Ventures
Strategic Growth and Ecosystem Funding
tokenomics-api, venture-cap
The management of these fifteen organizations requires an automated approach to permissioning. The implementation utilizes GitHub Apps for cross-organization repository access, which is considered superior to Personal Access Tokens (PATs) due to their short-lived, granular permissions and ability to act on behalf of an organization rather than an individual user. This is particularly critical given the expiration of granular access tokens observed in system logs, such as the blackroad-npm-token.
Infrastructure and Domain Registry
The BlackRoad OS infrastructure utilizes a hybrid model that spans global cloud providers and local compute clusters. This distribution allows the system to balance the high-availability requirements of public-facing services with the data sovereignty and cost-efficiency needs of agentic inference.
Domain Architecture and Cloudflare Integration
The project manages an extensive registry of eighteen primary domains, all of which are orchestrated via Cloudflare. This domain layer serves as the ingress point for the @BlackRoadBot routing matrix. Cloudflare Tunnels are employed to securely expose local Raspberry Pi nodes to the public internet, allowing the bot to invoke local inference models without exposing internal network ports.
Domain Name
Intended Functional Use Case
Associated Organization
blackboxprogramming.io
Developer Ed...
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.