AI Software Factory for the RaceOS motorsport platform
Project description
RaceOS AI Software Factory
AI-native software factory for the RaceOS motorsport platform.
Architecture
Project Brain (.raceos/) — Immutable Source of Truth
↓
OpenSpec (specs/) — Behavioral Contracts
↓
Planning — Context-aware task decomposition
↓
Implementation — Isolated execution via OpenCode
↓
Verification — Automated validation + human gates
Stack
| Component | Role |
|---|---|
| OpenCode | AI coding agent (executor) |
| OpenRouter | LLM API gateway |
| 9Router | Intelligent model routing |
| LangGraph | Workflow orchestration |
| Codebase Memory MCP | Implementation memory |
| OpenSpec | Spec-driven planning |
Quick Start
# Install dependencies
make setup
# Run tests
make test
# Run lint
make lint
# Submit a task
factory task "fix typo in ecu_parser.h" --domain firmware
Project Structure
raceos-factory/
├── config/ Configuration (YAML)
├── src/factory/ Source code (Python)
│ ├── gateway/ OpenRouter thin wrapper
│ ├── router/ 9Router model selection
│ ├── context/ Context injection pipeline
│ ├── orchestrator/ LangGraph DAG
│ ├── executor/ OpenCode integration
│ ├── memory/ Codebase Memory MCP client
│ ├── spec_engine/ OpenSpec generation
│ └── cli/ Command-line interface
├── langgraph/ Orchestrator graph definitions
├── specs/ OpenSpec artifacts
├── .raceos/ Project Brain pointer
├── .ai/ AI steering context
└── tests/ Test suite
Documentation
Principles
- Brain is immutable — Factory never writes to
.raceos/ - Spec first — Complex tasks generate specs before execution
- AI suggests, human decides — Human gates on all critical decisions
- Single responsibility — Each component does one thing
- No duplicated context — One canonical source per data class
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
raceos_factory-1.0.1.tar.gz
(141.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raceos_factory-1.0.1.tar.gz.
File metadata
- Download URL: raceos_factory-1.0.1.tar.gz
- Upload date:
- Size: 141.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d84692d5d8418d8d08d4015ab2f14e8b32cf7860fdde61c544411a257e9ae31
|
|
| MD5 |
be702d7f51aa5489f32fc42f236d2e05
|
|
| BLAKE2b-256 |
dbda42ea7aa8f564181ae065124c32361bce6c10b3f3c2286e4a7ecc35f86a90
|
File details
Details for the file raceos_factory-1.0.1-py3-none-any.whl.
File metadata
- Download URL: raceos_factory-1.0.1-py3-none-any.whl
- Upload date:
- Size: 160.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f98944e0d7ae6039939d5ab02a8d6f0f4e21c37553a02cd7516da02977c648d
|
|
| MD5 |
759f73f4512086a429a3908bbc4e4d65
|
|
| BLAKE2b-256 |
846fe9918d6d0cd6ef6533e316efee9e0e85d572cfa38d45a00116be229471ce
|