Commit Graph

631 Commits

Author SHA1 Message Date
Alexa Amundson
b42da04208 Merge branch origin/codex/implement-deployment-orchestrator-in-meta-repo into main 2025-11-21 00:05:52 -06:00
Alexa Amundson
39cec5cf5a Add deployment orchestration tooling 2025-11-21 00:05:33 -06:00
Alexa Amundson
284227ddc6 Merge branch origin/codex/generate-blackroad-os-service-module into main 2025-11-21 00:05:19 -06:00
Alexa Amundson
c3091a31de Add BlackRoad OS complete strategic archive 2025-11-21 00:01:02 -06:00
Alexa Amundson
f19c9ec37d Add BlackRoad info service module 2025-11-20 20:00:52 -06:00
Alexa Amundson
9e5f17ab3e Port BR-95 desktop to Next.js components (#150)
## Summary
- recreate the BR-95 desktop experience as a Next.js app in the new
`br95` folder with shared layout, taskbar, and menu components
- split each desktop window (Lucidia, Agents, RoadChain, Wallet,
Terminal, etc.) into dedicated React components wired through a
centralized window manager hook
- preserve the original styling and animations by moving the legacy CSS
into the app-wide stylesheet and adding minimal Next.js project
scaffolding

## Testing
- Not run (not requested)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691fba31252c832987e3d3ec123db049)
2025-11-20 19:48:25 -06:00
Alexa Amundson
d2f5b5495e Update br95/app/globals.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 19:47:20 -06:00
Alexa Amundson
a97ada4e3d Update br95/app/globals.css
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 19:47:11 -06:00
Alexa Amundson
ebf78dba93 Update br95/hooks/useWindowManager.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 19:47:03 -06:00
Alexa Amundson
f7087ae229 Update br95/package.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 19:46:31 -06:00
Alexa Amundson
a246e61dc2 Update br95/next.config.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 19:46:22 -06:00
Alexa Amundson
080e4a52a6 Merge branch 'main' into codex/convert-html-to-next.js-components 2025-11-20 19:11:29 -06:00
Alexa Amundson
160a4954ec Port BR-95 desktop to Next.js components 2025-11-20 19:11:04 -06:00
Alexa Amundson
a07024d9c4 Merge branch origin/codex/retrieve-deployed-websites into main 2025-11-20 19:08:46 -06:00
Alexa Amundson
1736a8ca23 Merge branch origin/codex/add-retrieval-for-application-status into main 2025-11-20 19:08:38 -06:00
Alexa Amundson
e96703ae56 Add focused window management to BR-95 desktop 2025-11-20 19:03:25 -06:00
Alexa Amundson
f179a494f4 Add website deployment guidance and console DNS entry 2025-11-20 19:02:50 -06:00
Alexa Amundson
4e9d9f67fd Add product directory with financial overview and roadmap 2025-11-20 18:14:02 -06:00
Alexa Amundson
c96df78772 Merge commit '496274ce4e7a9745d5037a3efef93ff41bfc882a' 2025-11-20 17:45:20 -06:00
Alexa Amundson
a34d6ee89f Merge branch origin/copilot/configure-railway-and-tests into main 2025-11-20 17:44:22 -06:00
Alexa Amundson
99b8a1841e Merge branch origin/codex/fix-repository-issues into main 2025-11-20 17:44:15 -06:00
Alexa Amundson
496274ce4e Add Express server and static page for Railway deployment 2025-11-20 17:38:07 -06:00
Alexa Amundson
5fe144bb84 Add placeholder web app server and landing page 2025-11-20 17:36:04 -06:00
copilot-swe-agent[bot]
cbdc0efc73 Initial plan 2025-11-20 23:27:16 +00:00
Alexa Amundson
21ecfadf2f Add Railway service scaffolding templates (#143)
## Summary
- add a Railway service template reference with full FastAPI and
Node/Express anchor scaffolds
- document plug-in patterns for Postgres/Prisma, Redis cache routes, and
a minimal hello-world service
- outline how to adapt the scaffold to other Railway service names and
entrypoints

## Testing
- Not run (docs-only change)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691fa0cc81b08329b077c066b78fbc3b)
2025-11-20 17:17:46 -06:00
Alexa Amundson
4320d711d0 Merge branch 'main' into codex/generate-templates-for-various-services 2025-11-20 17:17:37 -06:00
Alexa Amundson
b3ce0270e8 Add Railway service scaffolding templates 2025-11-20 17:17:01 -06:00
Alexa Amundson
4d9bb15039 Add Railway Codex prompt collection (#142)
## Summary
- add a consolidated Railway Codex prompt document covering nine service
templates

## Testing
- not run (documentation-only change)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691fa0370eac8329be7f7ca029fb3b68)
2025-11-20 17:16:52 -06:00
Alexa Amundson
5871e64022 Merge branch 'main' into codex/generate-multiple-railway-service-prompts 2025-11-20 17:15:48 -06:00
Alexa Amundson
7e629263fa Add Railway service Codex prompt guide (#141)
## Summary
- add Railway-specific Codex prompt documentation with project URL and
service list
- provide base prompt plus copy/paste-ready variants for each deployed
Railway service

## Testing
- not run (documentation change)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f9fc0fe2483299810306cc1167261)
2025-11-20 17:15:30 -06:00
Alexa Amundson
39d637e90a Add Railway Codex prompt collection 2025-11-20 17:14:07 -06:00
Alexa Amundson
816cc71394 Add Railway service Codex prompt guide 2025-11-20 17:13:05 -06:00
Alexa Amundson
48a3ebde9a Fix QLM alignment inference and event range queries (#140)
## Summary
- ensure agent completion events inherit related intent when not
explicitly provided so alignment calculations work
- adjust time range queries to include just-recorded events and keep
qlm_lab imports available in tests

## Testing
- pytest tests/test_qlm_core.py -q

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f9ad046b08329958955e48d66e3ba)
2025-11-20 17:02:23 -06:00
Alexa Amundson
e381d5007b Fix QLM alignment and timerange queries 2025-11-20 17:01:09 -06:00
Alexa Amundson
ab83457de1 Expand default CORS origins for Railway deployments (#139)
## Summary
- add new Railway deployment URLs to the default CORS allowed origins
list

## Testing
- not run (not requested)

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f9a1b45dc83299df6997d6560847f)
2025-11-20 16:48:35 -06:00
Alexa Amundson
fa1347e286 Expand Railway allowed origins 2025-11-20 16:47:02 -06:00
Alexa Amundson
6a93dd62d2 Fix sqlite compatibility for cognition models 2025-11-20 16:45:53 -06:00
Alexa Amundson
7d921b92d0 Expand domain registry for Cloudflare-managed domains (#137)
## Summary
- update ops/domains.yaml to list all BlackRoad domains and subdomains
with Cloudflare-managed DNS targets
- point blackroad.systems apex to the Vercel corporate site and map key
subdomains to their Railway/Vercel services with healthcheck flags
- add aliases and placeholders for secondary and tertiary domains to
converge DNS in one registry

## Testing
- not run (not requested)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f97383dd08329872553921e433350)
2025-11-20 16:44:52 -06:00
Alexa Amundson
9c2ba15842 Expand Cloudflare domain mappings 2025-11-20 16:37:29 -06:00
Alexa Amundson
9a223443dc Add go-live runbook for website domains (#136)
## Summary
- add a go-live runbook covering Cloudflare, Vercel, and Railway steps
to bring sites up across all domains
- document per-domain DNS targets and proxy expectations for primary,
secondary, and tertiary domains
- include validation commands and rollback guidance for troubleshooting
deployments

## Testing
- not run (documentation only)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f964ad16483298dc425b69d2e836e)
2025-11-20 16:32:59 -06:00
Alexa Amundson
993d6389d2 Add website go-live runbook across domains 2025-11-20 16:31:11 -06:00
Alexa Amundson
a332017fc9 Add backend env template coverage and local configuration (#135)
## Summary
- add backend/.env populated with production-style Postgres/Redis, auth,
API, and integration keys for running uvicorn
- fix .env.example formatting and include missing Prism URLs so it
aligns with app.config.Settings
- adjust gitignore to allow tracking backend/.env for configuration
sharing

## Testing
- python scripts/railway/validate_env_template.py --skip-config

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f92c1c67c83299b55783161ed067d)
2025-11-20 16:18:27 -06:00
Alexa Amundson
7bc6da8f92 Merge branch 'main' into codex/populate-.env-from-.env.example 2025-11-20 16:17:57 -06:00
Alexa Amundson
93c45a7a5b Clarify deployment targets and UI entrypoint (#134)
## Summary
- reinforce that deployments must target the satellite repositories and
not the monorepo
- document that the supported UI entry point is
backend/static/index.html and to avoid the legacy blackroad-os bundle

## Testing
- Not run (documentation changes only)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_691f92be93288329867444ec95e4bb7f)
2025-11-20 16:17:32 -06:00
Alexa Amundson
7f59578c3f Add populated backend environment configuration 2025-11-20 16:16:49 -06:00
Alexa Amundson
b7d5e1b2ed Clarify deployment targets and UI entrypoint 2025-11-20 16:16:06 -06:00
Alexa Amundson
d3c0751934 Set up Railway CLI and project connection (#133)
This commit implements the complete backend infrastructure for the BR-95
Desktop Operating System interface.

## New Features

1. **BR-95 Router** (`backend/app/routers/br95.py`):
   - Data simulator for OS statistics
   - 11+ API endpoints for real-time data
   - WebSocket support for live updates
   - Pydantic models for type safety

2. **API Endpoints** (`/api/br95`):
   - `/lucidia` - AI orchestration stats (1000 agents)
   - `/agents` - Agent performance metrics
   - `/roadchain` - Blockchain statistics
   - `/wallet` - RoadCoin wallet balance
   - `/miner` - Mining performance
   - `/raspberry-pi` - IoT device management
   - `/github` - GitHub integration stats
   - `/roadmail` - Email statistics
   - `/roadcraft` - Game statistics
   - `/road-city` - Metaverse statistics
   - `/terminal` - Command execution (simulated)

3. **WebSocket** (`/api/br95/ws`):
   - Real-time miner updates
   - Live blockchain sync
   - Wallet balance streaming
   - Auto-reconnect on disconnect

4. **Frontend Integration**:
   - Updated BR-95 HTML with API calls
   - WebSocket client for live updates
   - Auto-refresh every 30 seconds
   - Real-time stat updates in windows

5. **Railway Deployment**:
   - Already configured via railway.toml
   - Health check at /health
   - Version endpoint at /version
   - Documentation in docs/RAILWAY_BR95.md

## Technical Details

- **Data Simulation**: Uses DataSimulator class for realistic stats
- **WebSocket Manager**: ConnectionManager for broadcast messaging
- **Type Safety**: Full Pydantic model validation
- **Performance**: psutil for real CPU/memory metrics
- **Error Handling**: Graceful fallbacks and reconnection

## Deployment

Service runs on:
- Primary: https://app.blackroad.systems
- Railway: https://blackroad-operating-system-production.up.railway.app

Health check: GET /health
Version info: GET /version
API docs: GET /api/docs

## Files Changed

- backend/app/main.py - Registered br95 router
- backend/requirements.txt - Added psutil==5.9.6
- backend/static/index.html - API integration + WebSocket
- backend/app/routers/br95.py - New BR-95 router (700+ lines)
- docs/RAILWAY_BR95.md - Deployment guide

Closes #133 (if exists) - BR-95 backend implementation

# Summary
<!-- High-level explanation of the change and the services it touches
-->

## Checklist
- [ ] Linked the relevant issue or task
- [ ] Updated docs or specs if behavior changed
- [ ] Added or adjusted tests (or noted why not needed)
- [ ] Ran required checks locally (lint/test/build)

## Testing
<!-- List commands run locally, e.g. npm test -->

## Notes
<!-- Deployment impacts, follow-ups, or escalations -->
2025-11-20 16:01:10 -06:00
Claude
d551d0c6df Add BR-95 Desktop API backend with real-time data and WebSocket support
This commit implements the complete backend infrastructure for the BR-95
Desktop Operating System interface.

## New Features

1. **BR-95 Router** (`backend/app/routers/br95.py`):
   - Data simulator for OS statistics
   - 11+ API endpoints for real-time data
   - WebSocket support for live updates
   - Pydantic models for type safety

2. **API Endpoints** (`/api/br95`):
   - `/lucidia` - AI orchestration stats (1000 agents)
   - `/agents` - Agent performance metrics
   - `/roadchain` - Blockchain statistics
   - `/wallet` - RoadCoin wallet balance
   - `/miner` - Mining performance
   - `/raspberry-pi` - IoT device management
   - `/github` - GitHub integration stats
   - `/roadmail` - Email statistics
   - `/roadcraft` - Game statistics
   - `/road-city` - Metaverse statistics
   - `/terminal` - Command execution (simulated)

3. **WebSocket** (`/api/br95/ws`):
   - Real-time miner updates
   - Live blockchain sync
   - Wallet balance streaming
   - Auto-reconnect on disconnect

4. **Frontend Integration**:
   - Updated BR-95 HTML with API calls
   - WebSocket client for live updates
   - Auto-refresh every 30 seconds
   - Real-time stat updates in windows

5. **Railway Deployment**:
   - Already configured via railway.toml
   - Health check at /health
   - Version endpoint at /version
   - Documentation in docs/RAILWAY_BR95.md

## Technical Details

- **Data Simulation**: Uses DataSimulator class for realistic stats
- **WebSocket Manager**: ConnectionManager for broadcast messaging
- **Type Safety**: Full Pydantic model validation
- **Performance**: psutil for real CPU/memory metrics
- **Error Handling**: Graceful fallbacks and reconnection

## Deployment

Service runs on:
- Primary: https://app.blackroad.systems
- Railway: https://blackroad-operating-system-production.up.railway.app

Health check: GET /health
Version info: GET /version
API docs: GET /api/docs

## Files Changed

- backend/app/main.py - Registered br95 router
- backend/requirements.txt - Added psutil==5.9.6
- backend/static/index.html - API integration + WebSocket
- backend/app/routers/br95.py - New BR-95 router (700+ lines)
- docs/RAILWAY_BR95.md - Deployment guide

Closes #133 (if exists) - BR-95 backend implementation
2025-11-20 21:48:22 +00:00
Alexa Amundson
0adc4c786a Ensure domain configuration works correctly (#132)
Updates:
- Add app.blackroad.systems to ALLOWED_ORIGINS in both .env.example and
config.py
- Add blackroad-operating-system-production.up.railway.app to
ALLOWED_ORIGINS
- Update DNS.md to reflect current domain routing (both root and app
subdomains point to same service)
- Ensures CORS works correctly for all production domains

This fixes CORS issues when accessing the application via
app.blackroad.systems or blackroad.systems on the Railway project
'gregarious-wonder' (blackroad-operating-system-production service).

# Summary
<!-- High-level explanation of the change and the services it touches
-->

## Checklist
- [ ] Linked the relevant issue or task
- [ ] Updated docs or specs if behavior changed
- [ ] Added or adjusted tests (or noted why not needed)
- [ ] Ran required checks locally (lint/test/build)

## Testing
<!-- List commands run locally, e.g. npm test -->

## Notes
<!-- Deployment impacts, follow-ups, or escalations -->
2025-11-20 15:29:51 -06:00
Claude
f9e1d7234e Fix domain configuration for app.blackroad.systems and blackroad.systems
Updates:
- Add app.blackroad.systems to ALLOWED_ORIGINS in both .env.example and config.py
- Add blackroad-operating-system-production.up.railway.app to ALLOWED_ORIGINS
- Update DNS.md to reflect current domain routing (both root and app subdomains point to same service)
- Ensures CORS works correctly for all production domains

This fixes CORS issues when accessing the application via app.blackroad.systems or blackroad.systems
on the Railway project 'gregarious-wonder' (blackroad-operating-system-production service).
2025-11-20 21:28:34 +00:00