Commit Graph
5 Commits
Author SHA1 Message Date
johannes db7ef65e4a fix: sandbox mode not working
build / version (push) Successful in 9s
build / build (aarch64-apple-darwin) (push) Successful in 3m56s
build / build (x86_64-unknown-linux-musl) (push) Successful in 3m47s
build / release (push) Successful in 17s
2026-11-15 22:51:24 +01:00
johannes 8ecbd504a2 feat: set hx to yolo in sandbox mode else auto mode
build / version (push) Successful in 11s
build / build (aarch64-apple-darwin) (push) Successful in 5m13s
build / build (x86_64-unknown-linux-musl) (push) Successful in 4m21s
build / release (push) Successful in 20s
2026-11-15 16:12:54 +01:00
johannesandClaude Sonnet 5.5 1f2486a599 Route hx limit stops to on_budget, accept _hx/ methods, send catches
A blocked step result with reason "limit" and no catch now takes the same
path as an orchestrator budget stop. Other blocked reasons keep the normal
catch path. hx/step context now lists the state's catch names so hx can pick
a valid one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 13:13:49 +01:00
johannesandClaude Haiku 4.5 bf609c2e0e Add loop detector, budgets, and live session control
Milestone 8: the loop detector alerts when test failures repeat, budget
caps limit context/cost/wall-time per session with compaction support,
and live control lets you interrupt, message, or kill a running session
from the TUI. Decisions can now be vetoed, which sends hx/message and
rewinds the session to code. All 82 tests pass.

- src/budget.rs: pure functions for active time, budgets and loop detect
- src/runner.rs: Ctl control object polls for commands ~100ms, handles
  interrupt/message/abort/stop at every blocking point, re-runs on
  hints, and compacts when context is high
- src/db.rs: commands table for TUI→runner control
- src/detail.rs, src/goal.rs, src/tui/: loop detector box, budget caps,
  session keys (i/m/s/k/r), goal keys (v for veto), state forcing
- tests/fake_acp_hx.py: slow mode and hx/message, hx/compact log
- examples/machines/task.toml: [budget] with wall_secs, cost, compact_at

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-11-14 12:55:44 +01:00
johannesandClaude Sonnet 5.5 5b659fa8ba Add ACP agent steps, JUnit reports and session detail screen
- acp.rs: ACP client for hx serve --acp, hx/* events into the event table
- tests/fake_acp_hx.py: Python fake hx for the runner tests
- runner.rs: agent steps, blocked catches, failure context, junit test events
- junit.rs: JUnit XML parser (counts, failing tests, locations)
- detail.rs + tui/session.rs: session detail screen with machine view
- tui: enter/esc navigation, pagers for test output, diff and transcript

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:14:25 +01:00