Skip to main content

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.0.tar.gz (141.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raceos_factory-1.0.0-py3-none-any.whl (160.7 kB view details)

Uploaded Python 3

File details

Details for the file raceos_factory-1.0.0.tar.gz.

File metadata

  • Download URL: raceos_factory-1.0.0.tar.gz
  • Upload date:
  • Size: 141.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for raceos_factory-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6899c7d9410aab257916a52d554691d584be0025956f16cecd2b184013cb52ad
MD5 ffc36c84cd3c6568b6ac49f7d8075ed3
BLAKE2b-256 bc00e7b4bba5baf233f76ead1665b1c9f1e7cd77cd1a372e677001b158014568

See more details on using hashes here.

File details

Details for the file raceos_factory-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: raceos_factory-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 160.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for raceos_factory-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5fdd04cfaa8fdd34b9749992b434495fce792cc972d86826a73c60af6b0cff
MD5 af932e15a10cfe80cb2ed24aef49b421
BLAKE2b-256 65af69e940fe3306f37c1bc3eca7c2016c96adb359f807a693b1be679aba5406

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page