Skip to content

v1.1.0 — Goal Ralph loop (Hermes Agent parity)

Choose a tag to compare

@phuetz phuetz released this 11 Jun 08:33
· 3480 commits to main since this release

Features

Goal Ralph loop — full Hermes Agent parity on four surfaces (feat(goals), 6ac4d15):

  • /goal <text> + /subgoal (interactive): after each turn an auxiliary judge model returns {"done": bool, "reason": str}; on continue a plain user-role continuation prompt is auto-submitted until the goal is done, paused, or the turn budget (default 20) is spent. Real user messages preempt the loop; Esc auto-pauses. Per-session persistence under ~/.codebuddy/goals/ survives --resume/--continue.
  • buddy goal "<text>" (headless): drives the full agent (tools included) in-process until done (exit 0) or paused (exit 1). --max-turns, --judge-model, -m.
  • Colab board goal-mode (buddy fleet tasks add --goal-mode [--goal-max-turns N]): the autonomous worker's successful attempt must pass the judge (acceptanceCriteria become strict numbered criteria); "continue" re-opens the task with a continuation nudge (persisted budget, default 5); an exhausted budget blocks the task for human review instead of spinning.
  • peer.chat-session.goal (fleet gateway parity): set/status/pause/resume/clear/subgoal-*; server-side judge after continue/continue-stream with caller-driven continuation; GOAL_ACTIVE rejection of a new goal mid-run; metadata-only fleet:chat-session:goal events.

The judge is fail-open (transport errors → continue; 3 consecutive parse failures auto-pause with a config hint) and records its token usage in the session cost ledger. Config: goals.{maxTurns,judgeModel,judgeMaxTokens,judgeTimeoutMs} + CODEBUDDY_GOAL_MAX_TURNS / CODEBUDDY_GOAL_JUDGE_MODEL — route the judge to a free local Ollama model.

Also in this release (WS3 « Mémoire & continuité du run »): session-end flush (HANDOFF.md + review-gated lesson candidates), periodic context snapshots for very long sessions, and the session-duration pause suggestion middleware.

Fixes

  • fix(repo): dropped two phantom Windows gitlink entries that broke actions/checkout (d963a64)
  • fix(mcp): capture stdio MCP server stderr instead of inheriting it (9a57b3d)

Installation

npm install -g @phuetz/code-buddy@1.1.0

Full details: CHANGELOG.md · Hermes/OpenClaw parity