- src/brokers/: pool manager, r_broker (rec.read), w_broker (rec.write),
BrokerPayload struct, BrokerError type
- src/core/: NamasteCore trait — fetch/write/update/delete interface, stubs
- IPL step 6: spawns rBroker + wBroker pools after exchange declaration
- tests/broker_pool_test.rs: integration tests for pool spawn (skip if broker down)
- BrokerPayload unit tests + doctest in payload.rs
- Added futures-lite, serde_json to Cargo.toml
- README.md, CLAUDE.md, wiki updated to reflect new structure and status
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
First working milestone of the Rust rewrite. Implements the two
foundational systems every other component depends on:
- TOML-based layered config (beds.toml + env.toml override) replacing
the PHP XML config system, fully deserialized into typed structs via
serde — no runtime string key lookups, shape enforced at compile time
- Structured logging via tracing + tracing-journald, with optional
console mirror, initialized from config before any services start
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>