Expand description
2026-09-26: Every METRALE_* environment variable the repository reads, declared once.
met refuses to start with an undeclared METRALE_* name in its environment (check,
called first in serve_main). The bench crate’s serve_env takes the harness set from the
table and validates a recipe’s env: block against it, and met dump-serve-options
publishes it. levers_tests checks the table against the sources: every "METRALE_*"
literal outside test files and every getenv("METRALE_*") in C/CUDA must be declared, each
lever’s reader file must name it, and a Runtime lever needs a production reader. The
server’s manifest_tests check the flag column against clap.
Owner: config. Invariants: none beyond the types.
Structs§
Enums§
Constants§
Functions§
- all
- 2026-09-26: Every lever, in name order (
levers_testschecks the order). - check
- 2026-09-26: Refuse an environment carrying an undeclared
METRALE_*name. - is_
harness - lookup
- undeclared
- 2026-09-26: The
METRALE_*names amongnamesthat no lever declares, sorted and de-duplicated. - var
- 2026-09-26:
std::env::var(name).ok(), for a declared lever. - var_os
- 2026-09-26:
std::env::var_os(name), for a declared lever (seevar).