wake::cycle reads the brake and dial through the one derivation behind read_effective and the unit gate, returns Held before any query, admission or unit call, finds the newest Persona turn of hers (any status) with one descending single-row query, and launches through open_and_launch. The mind-wake binary prints the outcome. control_path no longer echoes the instance it refuses. Does not build the public_surface snapshot yet (the next commit updates it). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
52 lines
1.8 KiB
TOML
52 lines
1.8 KiB
TOML
[package]
|
|
name = "mind-body"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
# One crate for her organs (rationale "One crate for her organs"). It holds the
|
|
# operator's brake and burn-rate dial today: a root-owned per-instance CultCache
|
|
# store (`control`), the operator's CLI over it (`cli`, the `mind-control`
|
|
# binary) and the one fail-closed reader every acting organ calls
|
|
# (`control::read_effective`). It also holds the launch primitive (`launch`,
|
|
# `queue`): the one way her organs open a run and start its unit. The waker
|
|
# (`wake`, the `mind-wake` binary) is one cycle over them.
|
|
#
|
|
# `rust_decimal` is the dial's number type: heat, cadence and the run cap are
|
|
# money-adjacent and the tests pin exact products, which a float would blur. It
|
|
# serialises as a string, so the stored document carries no float.
|
|
[dependencies]
|
|
anyhow = "1"
|
|
chrono = { version = "0.4.44", features = ["serde"] }
|
|
cultcache-rs.workspace = true
|
|
cultnet-rs.workspace = true
|
|
eureka-pipeline = { path = "../eureka-pipeline" }
|
|
eureka-state = { path = "../eureka-state", default-features = false }
|
|
huginn-mind = { path = "../huginn-mind" }
|
|
rust_decimal = { version = "1", default-features = false, features = ["std", "serde"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
# `syn`, `quote` and `proc-macro2` read the library's own source for
|
|
# tests/public_surface.rs, which pins its public surface. All three are already
|
|
# in the workspace's graph (serde's derive uses them); they are test-only.
|
|
[dev-dependencies]
|
|
proc-macro2 = "1"
|
|
quote = "1"
|
|
syn = { version = "2", features = ["full"] }
|
|
tempfile = "3"
|
|
|
|
[lib]
|
|
name = "mind_body"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "mind-control"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "mind-wake"
|
|
path = "src/bin/mind-wake.rs"
|