flybrain/services/flysim/Cargo.toml
acamilo 7c8d5a33dc fly-legacy-session: pokered-macros-v1 on the session framework (TASK-01)
The live fly's composition under one coordinator: AGENT-01's agent,
ENV-01's world, and the Pokemon Red task and executor as one object
running the unchanged legacy engine (flysim's MacroLayer, flybrain-gb's
palette, executor, PokeState, reward adapter and ratchet) over MEM-01's
ImageReader of each boundary's memory image.

- task: Phase B decide over O[k], Phase C sample/observe/ratchet over
  O[k+1], rollback clear_transient/cancel/observe over O'[k]; slot save
  and rollback requests; legacy-transient-reset on restore; a reward
  with no stimulation is a Reward alone; uncaptured reads are recorded.
- import: a FLYSIM01 checkpoint as the start (world, agent, task halves
  in each participant's own format, the context from the checkpoint's
  image), onto a replacement world.
- admission: sugar by flysim's RateLimiter against the last commit's
  pulse; the operator reward pulse is refused.
- trace: the session's own FLY_TRACE lines and the comparison;
  driver: the ROM tests' rotation stub readout for reward-bearing runs.
- tests: session_trace (toy raw from power-on; FAFB from the service
  traces' checkpoints and from stream checkpoints, brain and driver
  arms; in-process and process) and rollback_sequence (ROM-free).
2026-09-29 18:03:59 +00:00

44 lines
1.2 KiB
TOML

[workspace]
resolver = "3"
members = [
"crates/fly-edge",
"crates/fly-legacy-session",
"crates/fly-session",
"crates/fly-session-types",
"crates/flybrain-core",
"crates/flybrain-gb",
"crates/flybus",
"crates/flysim",
]
[workspace.package]
version = "0.1.1"
rust-version = "1.94"
license = "Apache-2.0"
publish = false
[workspace.dependencies]
base64 = "0.22"
cc = "1.4.2"
flate2 = "1"
cudarc = { version = "0.19.9", default-features = false, features = [
"std",
"driver",
"nvrtc",
"dynamic-loading",
"cuda-12080",
] }
indexmap = { version = "2", features = ["serde"] }
libm = "0.2"
ryu-js = "1"
serde = { version = "1.0.229", features = ["derive"] }
# `float_roundtrip` is not optional: without it serde_json's fast float parser can land 1 ulp off
# the value `JSON.parse` produces, which is enough to break a golden comparison.
serde_json = { version = "1.0.151", features = ["preserve_order", "float_roundtrip"] }
sha2 = "0.10.9"
# Bit-exactness with the TypeScript oracle is the whole point of this workspace, so the
# release profile must not be allowed to reassociate or contract float arithmetic. Rust does
# neither by default; these settings only pin the parts we do care about.
[profile.release]
debug = 1