Skip to content

Commit db48e68

Browse files
authored
feat(engine): add JSONL runner prototype
Closes #41
1 parent aef87b5 commit db48e68

13 files changed

Lines changed: 1191 additions & 5 deletions

File tree

‎Cargo.lock‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
resolver = "2"
33
members = [
44
"crates/ignitionrl-core",
5+
"crates/ignitionrl-engine",
56
"crates/ignitionrl-backend-burn",
67
"crates/ignitionrl-backend-candle"
78
]

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ IgnitionRL
8383
├─ packages/examples Canonical environments
8484
├─ packages/cli Headless demo/project commands
8585
├─ crates/ignitionrl-core Rust rollout/runtime/data structures
86+
├─ crates/ignitionrl-engine JSONL local engine process prototype
8687
├─ crates/ignitionrl-backend-* Burn/Candle backend experiments
8788
└─ docs Product, roadmap, architecture, ADRs
8889
```

‎ROADMAP.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Do not start the Rust backend until this workflow is usable end-to-end.
169169

170170
### Deliverables
171171

172-
- [ ] Rust engine process prototype
172+
- [x] Rust engine process prototype
173173
- [x] IPC protocol between Studio and engine
174174
- [x] Episode batch serialization
175175
- [x] Replay buffer in Rust
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "ignitionrl-engine"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
authors.workspace = true
7+
rust-version.workspace = true
8+
description = "JSONL local engine process prototype for IgnitionRL Studio."
9+
10+
[dependencies]
11+
ignitionrl-core = { path = "../ignitionrl-core" }
12+
serde.workspace = true
13+
serde_json.workspace = true

‎crates/ignitionrl-engine/README.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ignitionrl-engine
2+
3+
Prototype local engine process for Studio integration.
4+
5+
The binary reads newline-delimited JSON request envelopes from stdin and writes
6+
newline-delimited response/event envelopes to stdout. It intentionally stays
7+
backend-agnostic: the first job is to prove process orchestration, protocol
8+
errors and run event streaming before Burn or Candle owns training.
9+
10+
Supported prototype paths:
11+
12+
- `engine.hello`
13+
- `engine.shutdown`
14+
- `run.start`
15+
- `run.stop`
16+
- `run.action`
17+

0 commit comments

Comments
 (0)