Skip to content

dudu v0.2.0

Latest

Choose a tag to compare

@catundercar catundercar released this 27 Nov 06:52
205b468

Manage all your coding agents more reliably from one session. v0.2.0 delivers a ground-up reliability overhaul for manager turns, message routing, and automatic recovery, alongside layout, Threads, preview, and cross-platform upgrades since v0.1.0.

Manager reliability overhaul (Phases 0–5)

  • Observation kernel: introduces a per-project supervisor, an append-only turn journal, a pure-function turn_reducer, and structured endpoint/turn identities. Eliminates false-positive stall alerts and reports truthful status when a supervisor heartbeat expires.
  • Foreground occupation governance: tracks per-turn budgets and step timing, adds thin brief templates so managers delegate quickly instead of writing long briefs in the foreground, and provides interactive interrupt controls with clear queued-message status.
  • 3-layer modular message routing & single-typist mailbox: adds pmlib/messaging (addressing, authorization, envelopes, router, mailbox, transports) so every managed endpoint has a single typist, and unifies reporting (update, log, remember, helper done) through an idempotent ReportClient / ReportApplier pipeline.
  • Automatic recovery ladders (W1–W7) & incident rows: handles real stalls and upstream errors least-disruptively first (interrupt stuck tool → continue turn → rotate session or fallback profile → escalate to you), with verification, circuit breakers, and inline incident rows in the conversation timeline.
  • Worker supervision & cleanup: extends turn_reducer and recovery ladders to worker terminals and removes legacy turns.log, receipts.json, and turn-cause.json.

Desktop UI, Threads & Layout

  • Layout renamed to dudu: Herdr desktop layout moved from layouts/pm.json to layouts/dudu.json; the installer migrates existing pm.json layouts while preserving local edits.
  • Threads inline worker badges & sub-task ordering: agents display deterministic short names, tense-aware action summaries, and model·effort inline; sub-tasks under a parent task sort in stable depends_on topological order; removed left accent bars for cleaner rows.
  • Inline image preview & auto right-pane preview: images and reviewable documents in manager replies or question cards show inline thumbnails and open automatically in the right pane without stealing focus or overwriting dirty tabs.
  • Memory, Library & Search (since v0.1.0): default ~/.dudu ledger home with pm.py home --migrate, Library/Memory split with repo docs and background memory consolidation (autoDream), Threads history search, @ mentions, and two-layer memory.

Compatibility & Platform Support

  • Remote project messaging: safe project send argument ordering for leading-dash payloads, local target normalization, and backward-compatible fallback for older remote pm.py installations.
  • Python 3.9+ & Windows: full Python 3.9 compatibility across pmlib and the test suite, standard-library install.py across macOS/Linux/Windows, and remote Windows render-check support (tests/render_check_win.py).

Install or update with ./install.sh (macOS/Linux) or python install.py (Windows), then switch to the dudu layout with herdr-app do layout.switch '{"name":"dudu"}'.