Skip to content

OTTO v5.1.0-beta: Score Push — Transport, Simulation, TUI

Pre-release
Pre-release

Choose a tag to compare

@JosephOIbrahim JosephOIbrahim released this 12 Feb 03:47
· 9 commits to master since this release

What's New in v5.1.0-beta

WhatsApp Outbound Transport

  • WhatsAppTransport class using httpx + Meta Graph API v21.0
  • Auto-detected from env vars in otto watch --schedule
  • sender_phone field on Commitment model for round-trip tracking

Deterministic Simulation Engine

  • otto simulate command exercises the full UCB1 -> trail -> routing pipeline
  • SHA-256 based PRNG (no random module) — PYTHONHASHSEED-independent
  • 10 scenarios covering all 7 modes, configurable cycles and seed

TUI Dashboard

  • otto tui command (optional: pip install otto[tui])
  • Textual-based terminal UI showing commitments, cognitive state
  • Keybindings: d (done), p (park), r (refresh), q (quit)

Production Hardening

  • /health endpoint for load balancers and monitoring
  • Dockerfile with healthcheck
  • SQLite-backed rate limiter (survives process restarts)
  • HMAC validation warning on startup when WHATSAPP_APP_SECRET not set
  • UCB1 exploration constant tuned to 0.5 (safety-conservative)

Design Gap Fixes (from v5.0 code review)

  • PlasticityWindow persisted in SQLite (no longer ephemeral)
  • mode_outcomes table auto-prunes entries older than 30 days
  • otto nuke clears learning data (trails + outcomes + plasticity)
  • Redirector mode included in UCB learning via BURST_DETECTED signal

Stats

  • 636 tests passing (580 core + 56 agent)
  • 22 files changed, 2,211 insertions in score push commit

Full Changelog: v5.0.0-beta...v5.1.0-beta