Update README, add markdownlint and lychee via devenv

- README: list all subcommands, document orch session --resume, name the
  example machines, drop the missing ORCHESTRATOR.md reference
- Add markdownlint-cli and lychee to devenv.nix
- Add .markdownlint.json and .markdownlintignore; fix table lint errors in
  docs/safety.md and docs/cmd-protocol.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
johannesandClaude Opus 5.5 committed 2026-11-14 15:27:18 +01:00
1 parent f1ab948bb4
commit 5a80bc9fe1
6 files changed
+24 -5

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ is echoed back verbatim in later calls, so adapters stay stateless.
## Operations
| op | stdin | stdout |
|---|---|---|
| --- | --- | --- |
| `list` (source) | `{}` | `{"tasks": [Task, ...]}` |
| `claim` (source) | `{"task": Task}` | `{"claimed": bool}`; false = someone else took it, orch skips it |
| `report` (source) | `{"task": Task, "run": Run}` | `{}`; called when a run ends in any state |
+2 -2
View File
@@ -48,9 +48,9 @@ A repo that already has its own `.hx/config.toml` is refused (`setup:` failure)
hx reaches Claude in two ways:
| mode | who runs the tools | how `allow` is enforced |
|---|---|---|
| --- | --- | --- |
| `direct` (API provider) | hx | `orch guard` blocks the `tool_call` before the tool runs; orch re-checks the event stream |
| `claude_cli` (hx starts the `claude` binary; auto-on when `claude` is in PATH and `HX_BASE_URL` is unset) | the `claude` binary | requires hx with johannes/hx#182: claude asks `mcp__hx__approve` first, hx puts the question on the event bus as `tool_call` (`bash{command}`, `write|edit|read{path}`), `orch guard` blocks it before the tool runs |
| `claude_cli` (hx starts the `claude` binary; auto-on when `claude` is in PATH and `HX_BASE_URL` is unset) | the `claude` binary | requires hx with johannes/hx#182: claude asks `mcp__hx__approve` first, hx puts the question on the event bus as `tool_call` (`bash{command}`, `write{path}`, `edit{path}`, `read{path}`), `orch guard` blocks it before the tool runs |
For `claude_cli` orch writes `permissions = "extensions-only"` into the generated worktree config. Then a question
is allowed only while a live `tool_call` extension guards it: if the guard dies or never starts, hx denies (a dead