Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7cacf19
Initial plan
Copilot Jan 27, 2026
ba43194
Add comprehensive repository setup files
Copilot Jan 27, 2026
ffd57da
Add documentation and README files
Copilot Jan 27, 2026
8fd80c4
Update MEMORY.md with repository setup session
Copilot Jan 27, 2026
fcd53ea
Add comprehensive Claude Code API documentation and integration
Copilot Jan 27, 2026
51764cc
Add comprehensive testing infrastructure with Operator tests
Copilot Jan 27, 2026
943c4f5
Add testing documentation and CI/CD integration
Copilot Jan 27, 2026
8d7b40d
Update MEMORY.md with testing infrastructure session
Copilot Jan 27, 2026
1771a0f
Add auto-merge workflow for automatic PR merging
Copilot Jan 27, 2026
cc47621
Add Control Plane tests and fix Bridge API
Copilot Jan 27, 2026
f6c9bcb
Update documentation for Control Plane completion
Copilot Jan 27, 2026
64ff5cd
Initial plan
Copilot Jan 27, 2026
1797731
Add comprehensive Wiki pages structure with 27 pages
Copilot Jan 27, 2026
0e8d3e0
Add Wiki publishing guide and instructions
Copilot Jan 27, 2026
e7f29eb
Add Wiki completion summary - all 27 pages ready
Copilot Jan 27, 2026
e00f6d0
Add merge verification checklist - all quality checks passed ✅
Copilot Jan 27, 2026
d87e135
Initial plan
Copilot Jan 27, 2026
bf24fc1
Add complete agent codespace with open source AI models
Copilot Jan 27, 2026
ef79b75
Add examples, quickstart script, and workers deployment guide
Copilot Jan 27, 2026
9d06d4c
Add comprehensive architecture documentation
Copilot Jan 27, 2026
c2d9d7c
Initial plan
Copilot Jan 27, 2026
52f34be
Add feature summary and finalize agent codespace implementation
Copilot Jan 27, 2026
0bc43c4
Initial plan
Copilot Jan 27, 2026
cde310d
Add sync to orgs and auto-merge functionality with tests
Copilot Jan 27, 2026
330d352
Add integration tests and fix sync-receiver template
Copilot Jan 27, 2026
3ee5717
Implement session collaboration and memory system
Copilot Jan 27, 2026
caa4bce
Address code review feedback: improve error handling, security, and d…
Copilot Jan 27, 2026
3bed718
Integrate sessions with MCP server and add demo
Copilot Jan 27, 2026
dc8b207
Changes before error encountered
Copilot Jan 27, 2026
46f5a4b
Changes before error encountered
Copilot Jan 27, 2026
e34c562
Update MEMORY.md to reflect completed threads
claude Jan 27, 2026
01ac06f
Add agent registry, orchestration docs, and emoji dictionary
claude Jan 27, 2026
e3ecea3
Update types.yaml
blackboxprogramming Jan 31, 2026
9cad343
Update INDEX.md
blackboxprogramming Jan 31, 2026
91da41a
Update MEMORY.md
blackboxprogramming Jan 31, 2026
b85c082
Add comprehensive CLAUDE.md for AI assistant onboarding
claude Feb 3, 2026
e02a21d
Initial plan
Copilot Feb 3, 2026
99c7535
Add PR handler workflow and management documentation
Copilot Feb 3, 2026
65a10fb
Add PR management script and documentation
Copilot Feb 3, 2026
8bb1f5c
Address code review feedback and add API integration notes
Copilot Feb 3, 2026
e738c7c
Complete PR handler implementation with comprehensive summary
Copilot Feb 3, 2026
a711f8d
Merge remote-tracking branch 'origin/copilot/setup-repo-for-development'
claude Feb 3, 2026
0ea7c8a
Merge remote-tracking branch 'origin/copilot/setup-wiki-pages'
claude Feb 3, 2026
f2aa06f
Merge remote-tracking branch 'origin/copilot/configure-agent-codespace'
claude Feb 3, 2026
7b0f79a
Merge remote-tracking branch 'origin/copilot/test-update-push-to-orgs'
claude Feb 3, 2026
7c305d4
Merge remote-tracking branch 'origin/copilot/add-collaboration-memory…
claude Feb 3, 2026
040c7a2
Merge remote-tracking branch 'origin/claude/fix-todo-mkx3fxfpdxxjmtf8…
claude Feb 3, 2026
8110e4f
Merge remote-tracking branch 'origin/claude/claude-md-ml6pevrjyepqrz4…
claude Feb 3, 2026
8bfe5b5
Merge remote-tracking branch 'origin/copilot/handle-pull-requests'
claude Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"name": "BlackRoad Agent Codespace",
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",

"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "20"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},

"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"github.copilot",
"github.copilot-chat",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker",
"eamodio.gitlens",
"Continue.continue"
],
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"files.autoSave": "onFocusChange",
"terminal.integrated.defaultProfile.linux": "bash"
}
}
},

"postCreateCommand": "bash .devcontainer/setup.sh",

"forwardPorts": [
8080,
3000,
5000,
11434,
8787
],

"portsAttributes": {
"8080": {
"label": "BlackRoad Operator",
"onAutoForward": "notify"
},
"3000": {
"label": "Web UI",
"onAutoForward": "openPreview"
},
"5000": {
"label": "Hailo Inference",
"onAutoForward": "silent"
},
"11434": {
"label": "Ollama API",
"onAutoForward": "silent"
},
"8787": {
"label": "Wrangler Dev",
"onAutoForward": "notify"
}
},

"remoteEnv": {
"PYTHONPATH": "${containerWorkspaceFolder}/prototypes/operator:${containerWorkspaceFolder}/prototypes/mcp-server:${containerWorkspaceFolder}/prototypes/dispatcher",
"BLACKROAD_ENV": "codespace",
"NODE_ENV": "development"
},

"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly,type=bind,consistency=cached"
],

"postAttachCommand": "./quickstart.sh"
}
104 changes: 104 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
#!/bin/bash
set -e

echo "🔧 Setting up BlackRoad Agent Codespace..."

# Update package list
sudo apt-get update

# Install system dependencies
echo "📦 Installing system dependencies..."
sudo apt-get install -y \
build-essential \
curl \
wget \
git \
jq \
vim \
htop \
redis-tools \
postgresql-client

# Install Python dependencies
echo "🐍 Installing Python dependencies..."
pip install --upgrade pip
pip install black pylint pytest

# Install core prototypes dependencies
if [ -f "prototypes/operator/requirements.txt" ]; then
pip install -r prototypes/operator/requirements.txt
fi

if [ -f "prototypes/mcp-server/requirements.txt" ]; then
pip install -r prototypes/mcp-server/requirements.txt
fi

if [ -f "templates/ai-router/requirements.txt" ]; then
pip install -r templates/ai-router/requirements.txt
fi

# Install AI/ML libraries
echo "🤖 Installing AI/ML libraries..."
pip install \
openai \
anthropic \
ollama \
langchain \
langchain-community \
langchain-openai \
tiktoken \
transformers \
torch \
numpy \
fastapi \
uvicorn \
websockets

# Install Cloudflare Workers CLI (Wrangler)
echo "☁️ Installing Cloudflare Wrangler..."
npm install -g wrangler

# Install Ollama for local model hosting
echo "🦙 Installing Ollama..."
curl -fsSL https://ollama.ai/install.sh | sh || echo "Ollama installation skipped (may require system permissions)"

# Create necessary directories
echo "📁 Creating directories..."
mkdir -p /tmp/blackroad/{cache,logs,models}

# Initialize Ollama models (in background)
echo "📥 Pulling open source AI models..."
(
# Wait for Ollama to be ready
sleep 5

# Pull popular open source models
ollama pull llama3.2:latest || echo "Skipped llama3.2"
ollama pull codellama:latest || echo "Skipped codellama"
ollama pull mistral:latest || echo "Skipped mistral"
ollama pull qwen2.5-coder:latest || echo "Skipped qwen2.5-coder"
ollama pull deepseek-coder:latest || echo "Skipped deepseek-coder"
ollama pull phi3:latest || echo "Skipped phi3"
ollama pull gemma2:latest || echo "Skipped gemma2"

echo "✅ Model downloads initiated (running in background)"
) &

# Set up git config
echo "⚙️ Configuring git..."
git config --global --add safe.directory /workspaces/.github

# Make bridge executable
if [ -f "bridge" ]; then
chmod +x bridge
fi

echo ""
echo "✨ BlackRoad Agent Codespace setup complete!"
echo ""
echo "Available commands:"
echo " python -m operator.cli # Run the operator"
echo " ollama list # List available models"
echo " wrangler dev # Start Cloudflare Worker"
echo " ./bridge status # Check system status"
echo ""
73 changes: 73 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# CODEOWNERS file for BlackRoad OS
#
# This file defines who owns and should review changes to different parts of the repository.
# Lines are processed top to bottom, so the last matching pattern takes precedence.
#
# Format: <file-pattern> @owner-username @owner-username
#
# Learn more: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Default owners for everything in the repo
# These owners will be requested for review when someone opens a PR
* @BlackRoad-OS/maintainers

# Core Bridge files - require approval from core team
/.STATUS @BlackRoad-OS/core-team
/MEMORY.md @BlackRoad-OS/core-team
/INDEX.md @BlackRoad-OS/core-team
/BLACKROAD_ARCHITECTURE.md @BlackRoad-OS/core-team
/REPO_MAP.md @BlackRoad-OS/core-team
/STREAMS.md @BlackRoad-OS/core-team
/SIGNALS.md @BlackRoad-OS/core-team
/INTEGRATIONS.md @BlackRoad-OS/core-team

# Organization blueprints - org-specific owners
/orgs/BlackRoad-OS/ @BlackRoad-OS/os-team
/orgs/BlackRoad-AI/ @BlackRoad-OS/ai-team
/orgs/BlackRoad-Cloud/ @BlackRoad-OS/cloud-team
/orgs/BlackRoad-Hardware/ @BlackRoad-OS/hardware-team
/orgs/BlackRoad-Security/ @BlackRoad-OS/security-team
/orgs/BlackRoad-Labs/ @BlackRoad-OS/labs-team
/orgs/BlackRoad-Foundation/ @BlackRoad-OS/foundation-team
/orgs/BlackRoad-Ventures/ @BlackRoad-OS/ventures-team
/orgs/Blackbox-Enterprises/ @BlackRoad-OS/blackbox-team
/orgs/BlackRoad-Media/ @BlackRoad-OS/media-team
/orgs/BlackRoad-Studio/ @BlackRoad-OS/studio-team
/orgs/BlackRoad-Interactive/ @BlackRoad-OS/interactive-team
/orgs/BlackRoad-Education/ @BlackRoad-OS/education-team
/orgs/BlackRoad-Gov/ @BlackRoad-OS/gov-team
/orgs/BlackRoad-Archive/ @BlackRoad-OS/archive-team

# Prototypes - require review from prototype maintainers
/prototypes/operator/ @BlackRoad-OS/ai-team
/prototypes/metrics/ @BlackRoad-OS/os-team
/prototypes/explorer/ @BlackRoad-OS/os-team

# Templates - require review from relevant teams
/templates/salesforce-sync/ @BlackRoad-OS/foundation-team
/templates/stripe-billing/ @BlackRoad-OS/foundation-team
/templates/cloudflare-workers/ @BlackRoad-OS/cloud-team
/templates/gdrive-sync/ @BlackRoad-OS/archive-team
/templates/github-ecosystem/ @BlackRoad-OS/os-team
/templates/design-tools/ @BlackRoad-OS/studio-team

# GitHub workflows - require DevOps approval
/.github/workflows/ @BlackRoad-OS/devops-team @BlackRoad-OS/security-team

# Security files - require security team approval
/SECURITY.md @BlackRoad-OS/security-team
/.github/dependabot.yml @BlackRoad-OS/security-team @BlackRoad-OS/devops-team

# Community health files
/CODE_OF_CONDUCT.md @BlackRoad-OS/core-team
/CONTRIBUTING.md @BlackRoad-OS/core-team
/SUPPORT.md @BlackRoad-OS/core-team

# Profile and public-facing content
/profile/ @BlackRoad-OS/media-team @BlackRoad-OS/core-team

# Node configurations
/nodes/ @BlackRoad-OS/hardware-team

# Routes
/routes/ @BlackRoad-OS/os-team
19 changes: 19 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# GitHub Sponsors configuration
# These are supported funding model platforms

# github: [username] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
# ko_fi: # Replace with a single Ko-fi username
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
# liberapay: # Replace with a single Liberapay username
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

# BlackRoad OS Funding
# Uncomment and configure when funding options are available
# github: [BlackRoad-OS]
# custom: ['https://blackroad.dev/support']
93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: 🐛 Bug Report
description: Report a bug or unexpected behavior
title: "[Bug]: "
labels: ["bug", "needs-triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this bug! The issue will be auto-triaged to the appropriate organization.

- type: dropdown
id: organization
attributes:
label: Organization
description: Which BlackRoad organization does this relate to?
options:
- BlackRoad-OS (Core Infrastructure)
- BlackRoad-AI (Intelligence Routing)
- BlackRoad-Cloud (Edge Compute)
- BlackRoad-Hardware (Pi Cluster / IoT)
- BlackRoad-Security (Auth / Secrets)
- BlackRoad-Labs (Experiments)
- BlackRoad-Foundation (CRM / Finance)
- BlackRoad-Ventures (Marketplace)
- Blackbox-Enterprises (Enterprise)
- BlackRoad-Media (Content)
- BlackRoad-Studio (Design)
- BlackRoad-Interactive (Metaverse)
- BlackRoad-Education (Learning)
- BlackRoad-Gov (Governance)
- BlackRoad-Archive (Storage)
- Not sure / Multiple orgs
validations:
required: true

- type: textarea
id: description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is
placeholder: What happened?
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
placeholder: What should have happened?
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: How can we reproduce this issue?
placeholder: |
1. Go to '...'
2. Run command '...'
3. See error
validations:
required: true

- type: textarea
id: environment
attributes:
label: Environment
description: System information
placeholder: |
- OS: [e.g., Ubuntu 22.04, macOS 14]
- Version: [e.g., v1.0.0]
- Hardware: [e.g., Raspberry Pi 4, x86_64]
validations:
required: false

- type: textarea
id: logs
attributes:
label: Relevant Logs
description: Paste any relevant logs or error messages
render: shell
validations:
required: false

- type: textarea
id: context
attributes:
label: Additional Context
description: Any other context about the problem
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🤝 Community Support
url: https://github.com/orgs/BlackRoad-OS/discussions
about: Ask questions and discuss with the community
- name: 📚 Documentation
url: https://github.com/BlackRoad-OS/.github/blob/main/INDEX.md
about: Browse the complete BlackRoad documentation
- name: 🏢 Organization Blueprints
url: https://github.com/BlackRoad-OS/.github/tree/main/orgs
about: View all 15 organization specifications
Loading
Loading