3c54635924
docs: comprehensive architecture delta record for hardening phase
...
Catalogs all architectural changes from resident runtime implementation:
- Runtime model: daemon-like process with coordinated shutdown
- Broker dispatch: shutdown operation integration
- Logger persistence: explicit IPL logging to MongoDB with root GUID lineage
- Developer diagnostics: chain tracing and web-based observability
- Config system: trace_on and logger_admin controls
- Observability utility: modern log_dumper web UI (replaces legacy PHP dumper)
- Operational safety: dev-only purge-on-IPL controls
Files modified: 13 (src/main.rs, brokers/*, config/*, bin/log_dumper.rs, Cargo.*, wiki/*)
Dependencies added: axum, chrono, uuid
See wiki/12-architecture-deltas.md for full details.
2026-04-10 17:12:01 -07:00
14ec58318b
feat: resident runtime, shutdown command, observatory, and IPL logging hardening
...
- keep BEDS resident after IPL and coordinate clean shutdown
- propagate AMQP shutdown command across dispatcher pool
- add structured IPL milestone/event-chain logging with root GUID context
- add optional trace_on config for verbose method-entry diagnostics
- add dev purge-on-IPL controls for admin/logger collections
- add log level showcase events after IPL node-green
- add Mongo logger store helpers for chain/root lookup and purge
- add/modernize BEDS Observatory log_dumper utility UI and root record view
- refresh source headers and wiki docs for current architecture/runtime
- add architecture visual brief for leadership/image-generation workflows
2026-04-10 13:42:39 -07:00
516a740505
milestone: add runtime template state and dlq/retry broker topology
2026-04-06 18:41:17 -07:00
836a968806
milestone: enforce required services and add mongo logger PoC path
2026-04-06 18:16:48 -07:00
dd04fb5168
docs: preserve historical design intent in modernization roadmap
2026-04-06 17:11:00 -07:00
3ebcd78554
docs: add modernization roadmap and update wiki index
2026-04-06 11:33:55 -07:00
de1b284ab2
milestone: AI switchover baseline (0.1.x)
2026-04-06 11:28:27 -07:00
f50396b390
Add structs/logging docs, wiki/07-notes with Spew architecture, fix Home index
...
- src/config/structs.rs: full file header + rustdoc on every struct and field
- src/logging.rs: full file header + rustdoc on init_from_config(), inline comments
- wiki/07-notes.md: design notes page — Spew/no-nazi-twitter concept documented
(Justin Bieber fan-out problem, KWIC moderation gate, IPFS media storage,
timeline assembly tradeoffs, open questions, architecture diagram)
- wiki/Home.md: corrected broken 07-broker-calls.md link; added notes section
- README.md: added wiki/07-notes.md to wiki index
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 20:48:21 -07:00
e8fdb39ea2
Promote service modules to services/ directory; add AmqpConnection + async IPL
...
- Flat src/amqp.rs, src/mongo.rs, src/mariadb.rs promoted to src/services/{amqp,mongo,mariadb}/
- services/amqp/connection.rs: AmqpConnection struct with connect() and declare_exchange()
- services/amqp/error.rs: AmqpError type (thiserror, wraps lapin::Error)
- ipl() made async; #[tokio::main] added to main()
- IPL step 3b: authenticate to RabbitMQ + declare beds.events topic exchange (durable)
- Added lapin = "2" and tokio = { version = "1", features = ["full"] } to Cargo.toml
- 12 unit tests pass
- Docs: README, CLAUDE.md, wiki/04-ipl.md, wiki/06-queue-topology.md updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 16:52:18 -07:00
2a9afe7d77
Add MariaDB IPL validation, topology docs in beds.toml, and developer wiki
...
- Add MariaDB (REL) IPL validation — master required, secondary non-fatal
- Add RelNodeConfig / RelInstanceConfig structs with master/secondary pattern
- Add rel_services section to beds.toml and test fixture
- Add detailed topology commentary to beds.toml covering standalone,
master/replica, Galera cluster, and multi-DB-per-node configurations
- Add developer wiki (wiki/) covering:
- Origin story — PHP Namaste history, production record, why Rust
- Architecture overview — full system diagram, all layers explained
- The four nodes — appServer, admin, segundo, tercero with real-world context
- IPL sequence — every step documented with rationale for ordering
- Configuration system — layering, env selection, adding new sections
- Queue topology — exchanges, routing keys, broker bindings, vhost isolation
- Template system — REC/REL, TLA convention, cache map, warehousing
- Event lineage — compound event IDs, parent/child tracking, msLogs schema
- Glossary
- Update README with wiki index and MariaDB status
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 15:41:28 -07:00