2026-10-09 15:58:29 +02:00
|
|
|
//! `mind-body`: the organs of one Mind's body that live in Huginn's workspace.
|
|
|
|
|
//!
|
|
|
|
|
//! Today that is `control`, the operator's brake and burn-rate dial, and `cli`,
|
|
|
|
|
//! the operator's hand on it. The brake and the dial are the operator's consent
|
|
|
|
|
//! (ruling `eureka-body:ruling:brake-dial-root-store-now`), not her body: the
|
|
|
|
|
//! store is root-owned and no organ of hers writes it.
|
2026-10-09 20:51:07 +02:00
|
|
|
//!
|
|
|
|
|
//! `launch` and `queue` are the launch primitive: the work queue, the
|
|
|
|
|
//! repetition breaker, the one-live-Self-run rule, and the single path that
|
|
|
|
|
//! opens a run in the mind and only then starts its unit.
|
2026-10-09 15:58:29 +02:00
|
|
|
|
mind-body: the process environment is unreadable by library code, by lint
clippy.toml lists the std::env readers (var, var_os, vars, vars_os,
set_var, remove_var, args, args_os, current_exe, temp_dir, home_dir) and
libc::getenv as disallowed methods, and lib.rs forbids allowing them back.
main.rs and the self-spawning integration test carry the only allows.
The forge probe's environment sweep and its 22 guessed variable names go:
the lint covers a variable of any name, so the list was a second, weaker
path for the same rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:15:18 +02:00
|
|
|
// The control root is a constant, so the library reads no part of the process
|
|
|
|
|
// environment (clippy.toml lists the readers); `forbid` keeps an `allow` from
|
2026-10-10 22:59:21 +02:00
|
|
|
// putting one back. `forbid(unsafe_code)` closes the readers the list cannot
|
|
|
|
|
// name: a foreign `getenv` or any other FFI call needs `unsafe`. The rest of the
|
|
|
|
|
// Grant rule is ruling `eureka-body:ruling:mind-launch-forge-scanner-bound`.
|
mind-body: the process environment is unreadable by library code, by lint
clippy.toml lists the std::env readers (var, var_os, vars, vars_os,
set_var, remove_var, args, args_os, current_exe, temp_dir, home_dir) and
libc::getenv as disallowed methods, and lib.rs forbids allowing them back.
main.rs and the self-spawning integration test carry the only allows.
The forge probe's environment sweep and its 22 guessed variable names go:
the lint covers a variable of any name, so the list was a second, weaker
path for the same rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:15:18 +02:00
|
|
|
#![forbid(clippy::disallowed_methods)]
|
2026-10-10 22:59:21 +02:00
|
|
|
#![forbid(unsafe_code)]
|
mind-body: the process environment is unreadable by library code, by lint
clippy.toml lists the std::env readers (var, var_os, vars, vars_os,
set_var, remove_var, args, args_os, current_exe, temp_dir, home_dir) and
libc::getenv as disallowed methods, and lib.rs forbids allowing them back.
main.rs and the self-spawning integration test carry the only allows.
The forge probe's environment sweep and its 22 guessed variable names go:
the lint covers a variable of any name, so the list was a second, weaker
path for the same rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:15:18 +02:00
|
|
|
|
2026-10-09 15:58:29 +02:00
|
|
|
pub mod cli;
|
|
|
|
|
pub mod control;
|
2026-10-09 20:51:07 +02:00
|
|
|
pub mod launch;
|
|
|
|
|
pub mod queue;
|
|
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
|
mod testkit;
|