docs: rewrite README and add PRODUCT, ARCHITECTURE, ROADMAP, TODO per governance framework

This commit is contained in:
Crypto Rug Munch 2026-07-03 15:56:26 +02:00
parent b2cdfce4cd
commit bbb9a9291d
5 changed files with 212 additions and 87 deletions

33
ROADMAP.md Normal file
View file

@ -0,0 +1,33 @@
# RMI Backend — Roadmap
**Next 90 days only.** See `TODO.md` for current session tasks.
## Week 1 — Stabilize
- Fix Redis host resolution for `rmi-backend` health
- Fix Qdrant stale Tailscale IP bind
- Rotate leaked secrets (Telegram tokens, API keys)
- Harden public service binds
## Week 2 — Gates
- Make CI authoritative (remove `|| true` and `continue-on-error`)
- Add `web3-safety` and `hallucination-check` pre-commit hooks
- Get `ruff check` and `ruff format --check` green
## Week 3-4 — Standards Autofix
- Replace all `time.sleep()` with `asyncio.sleep()`
- Convert f-string logs to structured logs
- Remove/replace `print()` statements
- Migrate `sqlite3` to async Postgres
- Add `# noqa: ANY` or replace `Any` annotations
## Week 5-6 — Modularize
- Split `x402_tools.py` into domain modules
- Split `x402_enforcement.py`
- Split `databus/providers.py`
- Begin extracting x402/MCP into standalone product boundaries
## Acceptance
- `/health` green
- CI fails on lint/secrets
- Coverage >60%
- No file >500 lines