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.1.tar.gz (141.2 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.1-py3-none-any.whl (160.8 kB view details)

Uploaded Python 3

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

Hashes for raceos_factory-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9d84692d5d8418d8d08d4015ab2f14e8b32cf7860fdde61c544411a257e9ae31
MD5 be702d7f51aa5489f32fc42f236d2e05
BLAKE2b-256 dbda42ea7aa8f564181ae065124c32361bce6c10b3f3c2286e4a7ecc35f86a90

See more details on using hashes here.

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

Hashes for raceos_factory-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f98944e0d7ae6039939d5ab02a8d6f0f4e21c37553a02cd7516da02977c648d
MD5 759f73f4512086a429a3908bbc4e4d65
BLAKE2b-256 846fe9918d6d0cd6ef6533e316efee9e0e85d572cfa38d45a00116be229471ce

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