Commit Graph
71 Commits
Author SHA1 Message Date
johannesandClaude Sonnet 5.5 dfec176f43 feat: add --schema, --max-turns and rpc --ask
build / version (push) Successful in 16s
build / build (aarch64-apple-darwin) (push) Successful in 10m46s
build / build (x86_64-unknown-linux-musl) (push) Successful in 10m45s
build / release (push) Successful in 31s
- hx -p --schema <file> validates the final answer against a JSON schema,
  with one retry that includes the validation errors
- max_turns config key and --max-turns cap the main agent's model calls
- hx --mode rpc --ask sends permission requests to the client instead of
  auto-allowing bash/write/edit calls

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 14:15:03 +01:00
johannesandClaude Sonnet 5.5 164671a0c5 Subagents: read-only explore, custom agents, background runs, limits
build / version (push) Failing after 6s
build / build (aarch64-apple-darwin) (push) Skipped
build / build (x86_64-unknown-linux-musl) (push) Skipped
build / release (push) Skipped
- explore's bash only runs commands the permit classifier calls read-only
- custom kinds from <hx home>/agents/*.md and .hx/agents/*.md
- task(background=true) + task(wait=[ids]); finished answers handed over at turn end
- answers over 8 KB saved to <session>.sub/NNN-kind.answer.md
- subagent_parallel / subagent_max_turns / subagent_max_tokens / subagent_timeout_secs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:20:15 +01:00
johannesandClaude Sonnet 5.5 2166ef535b feat: card-style status side panel (model, models run, LSP, MCP, tests, session log)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 18:58:37 +01:00
johannesandClaude Sonnet 5.5 a94632ea3d chore: delete code comments, add ratchet lint and ADRs
Classify every comment as tautology, stale, excuse or decision record.
Tautology/stale/excuse comments are deleted (excuses filed as issues
#196-#236), decisions moved to docs/adr/0001-0034.

- scripts/lint-comments.sh + .comment-baseline: per-file comment count
  may only go down; wired into tests/all.sh
- .claude/skills/delete-comment: repeatable audit workflow
- cargo fmt applied to touched crates

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 13:37:32 +01:00
Johannes KresnerandClaude Opus 5.5 b1ca582d6b fix: orchestrated runs honour yolo/auto and work inside the sandbox
- serve --acp applies --yolo / --auto (or `permissions` in config.toml)
  like the TUI; before, every edit and command went to the orchestrator.
- claude no longer asks to run outside the sandbox. With the sandbox on it
  stays confined; only a stored `claude:unsandboxed` rule or
  --no-claude-sandbox lets it out, and yolo never does.
- The sandbox reads the files the global git config includes and may stat
  $HOME and the directories above allowed paths and includeIf gitdir
  paths (metadata only). git died on both before.
- hx mcp-serve logs a failed start to $TMPDIR/hx-mcp-serve.log; claude
  hides its stderr and only reports "mcp__hx__approve not found".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:43:41 +01:00
Johannes KresnerandClaude Opus 5.5 800bae97d7 fix: sandboxed claude can read its macOS login from the keychain
The seatbelt profile hides $HOME, and claude_extra did not bring back
~/Library/Keychains. On macOS claude keeps its OAuth login there, so a
sandboxed claude failed with "Not logged in" and the only way out was
to let it run unconfined.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:47:25 +01:00
hermes 05165d7b8f Configurable session storage path (sessions_dir, HX_SESSIONS_DIR, optional sessions_host) 2026-11-15 11:09:09 +00:00
hermes b84b6ab23a Gate task subagents behind permission prompt; subagents=false / --no-subagents; description: only when asked 2026-11-14 13:18:27 +00:00
johannesandClaude Sonnet 5.5 aec92ff5a5 hx serve --acp: headless Agent Client Protocol mode
build / version (push) Successful in 13s
build / build (aarch64-apple-darwin) (push) Successful in 6m46s
build / build (x86_64-unknown-linux-musl) (push) Successful in 5m58s
build / release (push) Successful in 28s
JSON-RPC on stdio with permission requests, hx/step|message|interrupt|compact
in and hx/step_result|intent|edit|usage|decision|plan out. Sessions persist by
id. Limits are soft: a limit stop is blocked with reason "limit" and no catch;
catch is only a validated name from the step's catches list.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 13:14:32 +01:00
hermes 36e99fc8af plan mode: /plan makes bash/write/edit read-only; exit_plan shows the full plan for approval 2026-11-14 11:36:31 +00:00
hermes ddf8bcd92c claude_cli: hx stats lists claude's tools; unknown permissions value denies in -p 2026-11-14 10:34:49 +00:00
hermes 6978aad27a claude_cli: tool calls on the event bus, extensions can block, permissions deny/extensions-only (#182) 2026-11-13 19:38:29 +00:00
hermes 7218d1433b claude_cli without codemode: serve MCP tools via mcp-serve (mcp__hx__*), prompt names them; skip self-referencing servers 2026-11-13 13:12:20 +00:00
hermes fa0ff339f6 claude_cli+codemode: MCP prompt points at codemode; MCP tools listed first in codemode 2026-11-13 12:38:25 +00:00
hermes 02144d4176 permissions: auto mode refuses dangerous calls (rules + cheap-model judge) 2026-11-12 13:44:25 +00:00
hermes c6c4add124 stats: log auto routing per prompt, hx stats routing report 2026-11-10 22:08:55 +00:00
hermes 478c007271 auto: optional Fable tier (/fable), sharper signals, newest model per tier 2026-11-10 21:58:11 +00:00
hermes dac2320503 tui: /reload re-reads AGENTS.md, skills, config, MCP prompt index 2026-11-03 21:21:28 +00:00
johannes ee5d8371d0 ci: add release step
build / version (push) Successful in 6s
build / build (aarch64-apple-darwin) (push) Successful in 5m13s
build / release (push) Canceled after 0s
build / build (x86_64-unknown-linux-musl) (push) Canceled after 2m59s
2026-11-02 15:34:35 +01:00
hermes a0cd7946c3 sandbox: runtime /sandbox toggle, sandbox.claude config, --no-claude-sandbox 2026-11-02 12:28:52 +00:00
hermes b8fc96a3d2 auto model: per-prompt model/effort routing across providers, @override per turn 2026-10-26 21:52:50 +00:00
hermes fdeaaf5cf2 claude_cli: offer codemode to claude (codemode = true), hx tools inside it ask via the permission bridge 2026-10-16 20:42:10 +00:00
hermes 3756c12357 claude_cli: run claude inside the sandbox, outside only after the user allows it 2026-10-16 20:29:15 +00:00
hermes 0032a5a952 claude_cli: permission prompts via --permission-prompt-tool, bridged to the hx TUI 2026-10-16 20:23:35 +00:00
hermes b06c06ad80 cli: claude_cli auto-on when claude is in PATH; false disables 2026-10-16 20:13:46 +00:00
hermes 769effc8b0 ai: claude_cli provider (official claude binary, subscription billing) 2026-10-16 20:09:32 +00:00
hermes 45d8a44b53 feat: web_fetch and web_search tools (Brave, SearXNG) 2026-10-16 19:30:27 +00:00
hermes 99a0deff1a task: prompts[] fan-out, steer away from lone tasks, hx stats task report 2026-10-14 09:14:43 +00:00
hermes 8e7c0bb89a Optional sandbox for bash, LSP servers and lens/test runners (bwrap, seatbelt) 2026-10-12 16:09:40 +00:00
hermes a30b3a3e73 Batching nudges: parallel-calls prompt line, codemode hint, tool-call count 2026-10-12 12:33:52 +00:00
hermes e1ac85952b mcp: connect servers in background, never block startup 2026-10-10 22:14:59 +00:00
hermes 8ccc189e9c Merge main 2026-10-09 19:35:46 +00:00
hermes be74dd9fec Session ops and ContextPolicy in hx-core 2026-10-09 19:34:59 +00:00
hermes 255819cbbc Merge pull request 'TUI redesign: Catppuccin Mocha + new layout' (#144) from feat/tui-design into main 2026-10-09 19:22:48 +00:00
hermes c57d238f7b tui: live bash output, token counter, structured lens view for side panel 2026-10-09 15:10:59 +00:00
hermes 199f337662 skills: skill tool, YAML frontmatter, disable-model-invocation, argument-hint 2026-10-09 14:49:38 +00:00
hermes 10b22f5774 hx config init: write a commented sample config 2026-10-09 13:59:40 +00:00
hermes 9fda1484ce codemode tool: JS scripts in a QuickJS sandbox that call other tools 2026-10-09 10:27:30 +00:00
hermes 6c8d492ca5 Faster startup: parallel catalog (stale-while-revalidate), MCP overlaps catalog, parallel extensions, single prompt scan, 10s MCP connect timeout, HX_TRACE_STARTUP 2026-10-08 16:53:56 +00:00
hermes 9b9718e22e hx login custom: store OpenAI-compat API key in auth.json 2026-10-07 10:30:18 +00:00
hermes b00e5b503f OpenAI-compatible provider (Kind::Custom, [openai_compat] config) 2026-10-07 08:17:43 +00:00
hermes 789ee75a27 herdr support: report idle/working/blocked, resume command, release 2026-10-06 15:15:22 +00:00
hermes 9b6eb9bee1 Agent memory: MEMORY.md index in prompt, lazy topic files, memory_write/memory_forget 2026-10-06 12:57:26 +00:00
hermes e1143f0b8b Remember thinking level in last.json too 2026-10-06 12:15:17 +00:00
hermes ab2af421a4 Thinking levels: Tab cycles off/low/medium/high, /effort 2026-10-06 12:05:29 +00:00
hermes 2f1ce2c072 Remember last chosen provider/model in HX_HOME/last.json 2026-10-06 11:43:51 +00:00
hermes f04229f3e0 Merge pull request 'Codex model list: all models, visible failures, hx models' (#124) from fix/codex-model-list into main 2026-10-06 10:27:36 +00:00
hermes 48a808d526 Codex model list: show all models, surface fetch failures, hx models 2026-10-06 10:19:21 +00:00
hermes 6ae6758836 mcp: OAuth for HTTP servers (discovery, DCR, PKCE, refresh, hx mcp login/logout) 2026-10-06 10:17:18 +00:00
hermes 23dc8cd36e permissions: --yolo, command-aware allow rules, load allow.json
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 21:37:49 +00:00