Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hrn
command
Command hrn is a personal agent harness: one CLI that runs a coding task on the harness's own API agent loop or on an installed agent CLI, and records every run the same way.
|
Command hrn is a personal agent harness: one CLI that runs a coding task on the harness's own API agent loop or on an installed agent CLI, and records every run the same way. |
|
internal
|
|
|
agent
Package agent defines the shared backend contract.
|
Package agent defines the shared backend contract. |
|
batch
Package batch is the orchestrator: it runs a set of tasks against one git repository, N agents at a time, each in its own worktree on its own branch.
|
Package batch is the orchestrator: it runs a set of tasks against one git repository, N agents at a time, each in its own worktree on its own branch. |
|
eval
Package eval is the scoring layer: one task set run across a matrix of backends, models and efforts, repeated, and judged by the same gates a batch uses and, optionally, by a model reading each diff against a rubric.
|
Package eval is the scoring layer: one task set run across a matrix of backends, models and efforts, repeated, and judged by the same gates a batch uses and, optionally, by a model reading each diff against a rubric. |
|
execproto
Package execproto serves one recorded run over the supervisor JSONL protocol.
|
Package execproto serves one recorded run over the supervisor JSONL protocol. |
|
followup
Package followup plans a run that continues an earlier one, on the same backend or another.
|
Package followup plans a run that continues an earlier one, on the same backend or another. |
|
gc
Package gc finds the git worktrees whose work is already merged and removes them, with their build output.
|
Package gc finds the git worktrees whose work is already merged and removes them, with their build output. |
|
gitenv
Package gitenv keeps git run by hrn on the repository of the directory it runs in.
|
Package gitenv keeps git run by hrn on the repository of the directory it runs in. |
|
gitretry
Package gitretry handles Git's brief exposure of incomplete worktree metadata.
|
Package gitretry handles Git's brief exposure of incomplete worktree metadata. |
|
hrnmcp
Package hrnmcp exposes hrn itself as an MCP server, so a Claude Code session (or any MCP host) can delegate tasks to any backend, several at a time, fan a set of tasks out into worktrees with batch, and read the records back.
|
Package hrnmcp exposes hrn itself as an MCP server, so a Claude Code session (or any MCP host) can delegate tasks to any backend, several at a time, fan a set of tasks out into worktrees with batch, and read the records back. |
|
limits
Package limits keeps work going when a CLI backend reaches its plan's usage limit.
|
Package limits keeps work going when a CLI backend reaches its plan's usage limit. |
|
mask
Package mask removes secret-looking values from human-facing text only.
|
Package mask removes secret-looking values from human-facing text only. |
|
mcp
Package mcp is a dependency-free implementation of the Model Context Protocol over its stdio transport: JSON-RPC 2.0 messages, one per line.
|
Package mcp is a dependency-free implementation of the Model Context Protocol over its stdio transport: JSON-RPC 2.0 messages, one per line. |
|
prefs
Package prefs stores backend preferences without depending on execution or records.
|
Package prefs stores backend preferences without depending on execution or records. |
|
purpose
Package purpose says what a run was for (review, debug, implement, ...) from its prompt, with ordered keyword rules: the first rule that matches wins.
|
Package purpose says what a run was for (review, debug, implement, ...) from its prompt, with ordered keyword rules: the first rule that matches wins. |
|
qr
Package qr makes QR codes (ISO/IEC 18004) for short text such as a link: byte mode, error correction level M, versions 1 to 10 (up to 213 bytes), and the mask the standard's penalty rules prefer.
|
Package qr makes QR codes (ISO/IEC 18004) for short text such as a link: byte mode, error correction level M, versions 1 to 10 (up to 213 bytes), and the mask the standard's penalty rules prefer. |
|
report
Package report aggregates the run and batch records into tables: how often each backend or model passes, what it costs and how long it takes.
|
Package report aggregates the run and batch records into tables: how often each backend or model passes, what it costs and how long it takes. |
|
retrieval
Package retrieval defines the dependency-free control-service wire contract.
|
Package retrieval defines the dependency-free control-service wire contract. |
|
route
Package route builds purpose routing tables from measured eval results.
|
Package route builds purpose routing tables from measured eval results. |
|
route/table
Package table stores routing rows without depending on execution or eval.
|
Package table stores routing rows without depending on execution or eval. |
|
runlog
Package runlog records every run to disk so runs can be listed, replayed and compared later (the eval and orchestrator layers read these records).
|
Package runlog records every run to disk so runs can be listed, replayed and compared later (the eval and orchestrator layers read these records). |
|
scripthint
Package scripthint names the kept script that covers an inline script an agent is about to run, for an advisory Claude Code PreToolUse hook.
|
Package scripthint names the kept script that covers an inline script an agent is about to run, for an advisory Claude Code PreToolUse hook. |
|
shape
Package shape makes conservative, locally checked summaries of tool text.
|
Package shape makes conservative, locally checked summaries of tool text. |
|
tools
Package tools provides confined API tools.
|
Package tools provides confined API tools. |
|
update
Package update moves every hrn binary on this computer to another build: it reads what each copy says with `version`, swaps the file under a backup, and restarts a running hrn watch.
|
Package update moves every hrn binary on this computer to another build: it reads what each copy says with `version`, swaps the file under a backup, and restarts a running hrn watch. |
|
watch
Package watch follows hrn's run and batch records while they are written: a tail of a run's events.jsonl for hrn show --follow, and a local web page for hrn watch that streams the same timeline with Server-Sent Events.
|
Package watch follows hrn's run and batch records while they are written: a tail of a run's events.jsonl for hrn show --follow, and a local web page for hrn watch that streams the same timeline with Server-Sent Events. |
|
ws
Package ws keeps a fixed set of reusable worktrees ("slots") per repository, at <main checkout>/.hrn/slots/<n>, so a checkout keeps its build output from one task to the next.
|
Package ws keeps a fixed set of reusable worktrees ("slots") per repository, at <main checkout>/.hrn/slots/<n>, so a checkout keeps its build output from one task to the next. |
|
name: answers summary: Provide JSON test summaries and bounded TCP probes for Bash entry points.
|
name: answers summary: Provide JSON test summaries and bounded TCP probes for Bash entry points. |
|
comment-check
command
name: comment-check-main summary: Check Go comments against the repository rule and baseline.
|
name: comment-check-main summary: Check Go comments against the repository rule and baseline. |
|
tool-shapes
command
name: tool-shapes-defs summary: Measure the api loop's tool definitions against the recorded context per model call.
|
name: tool-shapes-defs summary: Measure the api loop's tool definitions against the recorded context per model call. |
Click to show internal directories.
Click to hide internal directories.
