Add standalone ATO controller in lean Rust.
Some checks are pending
CodeView ATO CI / rust (push) Waiting to run
CodeView ATO CI / integration (push) Blocked by required conditions

Pure ato-core logic, minimal HTTP client, JSON config and spec files.
Docker build with tests; integrates with TrainSim over simple REST API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Mona Lisa 2026-06-14 20:37:21 +00:00
parent b4e580af11
commit a8d40b466b
20 changed files with 748 additions and 24 deletions

View file

@ -1,11 +1,22 @@
# ato
First **CodeView** project — bootstrap mode.
Standalone **Automatic Train Operation** (no ETCS, no ATP). Lean Rust controller talking to [TrainSim](../trainsim).
- **Forgejo:** https://git.italiatts.online/rwsholdem/ato
- **Mode:** bootstrap (direct push to `main` allowed)
- **Switch to protected:** `./scripts/project-mode.sh rwsholdem ato protected`
## Layout
## Stack
| Path | Role |
|------|------|
| `crates/ato-core/` | Pure control logic (zero deps, no I/O) |
| `crates/ato-app/` | HTTP client + control loop |
| `config/` | Replaceable parameters (`ato.default.json`) |
| `spec/` | Interface examples (`interface.md`, JSON samples) |
Scaffold your app here. Cursor and OpenClaw use this repo as the source of truth.
## Run (via CodeView ato-lab DinD)
```bash
cd /root/code-view/profiles/ato-lab
chmod +x run-e2e.sh
./run-e2e.sh
```
Detailed ATO design notes — *TODO*.