internal/

directory
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT

Directories

Path Synopsis
Package age renders elapsed time as the compact strings hand status and the watcher both surface: "just now", "45m", "2h", "3d".
Package age renders elapsed time as the compact strings hand status and the watcher both surface: "just now", "45m", "2h", "3d".
Package agentsmd generates and restores the AGENTS.md supervisor contract that hand init writes into a fleet home, and checks an existing one for drift from that canonical content.
Package agentsmd generates and restores the AGENTS.md supervisor contract that hand init writes into a fleet home, and checks an existing one for drift from that canonical content.
Package atomicfile replaces a file in one step: content is written to a temporary file in the destination directory, then renamed over the target so readers never observe a partially written file.
Package atomicfile replaces a file in one step: content is written to a temporary file in the destination directory, then renamed over the target so readers never observe a partially written file.
Package axi renders command output as TOON: scalar fields, count-prefixed row blocks with a schema header, and help[] next-step lines.
Package axi renders command output as TOON: scalar fields, count-prefixed row blocks with a schema header, and help[] next-step lines.
Package brief reads optional dispatch metadata a brief.md declares for itself.
Package brief reads optional dispatch metadata a brief.md declares for itself.
Package completion is the durable record of tasks hand teardown has finished with: state/completions.jsonl, one JSON object per line, uncapped - see atqamz/hand#61.
Package completion is the durable record of tasks hand teardown has finished with: state/completions.jsonl, one JSON object per line, uncapped - see atqamz/hand#61.
Package faketool installs stateful fake external CLIs on a test's PATH.
Package faketool installs stateful fake external CLIs on a test's PATH.
cmd/faketool command
Package filelock advisory-locks an open file across a whole process, the way store, project, and watcher each need for their own on-disk lock files.
Package filelock advisory-locks an open file across a whole process, the way store, project, and watcher each need for their own on-disk lock files.
Package ghutil shells out to the gh CLI for PR access rather than calling the REST API directly; internal/selfupdate follows the same convention for GitHub Releases.
Package ghutil shells out to the gh CLI for PR access rather than calling the REST API directly; internal/selfupdate follows the same convention for GitHub Releases.
Package harness constructs the per-harness process used to launch a worker agent.
Package harness constructs the per-harness process used to launch a worker agent.
Package herdr wraps the herdr CLI's verified workspace, tab, and pane syntax.
Package herdr wraps the herdr CLI's verified workspace, tab, and pane syntax.
Package home resolves the one secondhand fleet home a command runs against, replacing the scattered bare os.Getwd() calls each command used to make on its own.
Package home resolves the one secondhand fleet home a command runs against, replacing the scattered bare os.Getwd() calls each command used to make on its own.
Package launch defines the transport-neutral process data used to start a worker.
Package launch defines the transport-neutral process data used to start a worker.
Package notify implements out-of-band delivery for hand notify and the watcher's in-process notify hook: reading config/notify's POSIX-shell template and running it with the message to send.
Package notify implements out-of-band delivery for hand notify and the watcher's in-process notify hook: reading config/notify's POSIX-shell template and running it with the message to send.
Package pathdisplay renders a filesystem path for a message that names it only as context, never as something the operator is told to type or run - that job belongs to internal/shellquote instead.
Package pathdisplay renders a filesystem path for a message that names it only as context, never as something the operator is told to type or run - that job belongs to internal/shellquote instead.
Package project manages the registry of git projects: a table in hand's sqlite database, with data/projects.md kept in step as the human-readable projection.
Package project manages the registry of git projects: a table in hand's sqlite database, with data/projects.md kept in step as the human-readable projection.
Package registry stores the per-user, non-authoritative index of Fleet homes.
Package registry stores the per-user, non-authoritative index of Fleet homes.
Package routing owns operator-defined execution profiles and task routes.
Package routing owns operator-defined execution profiles and task routes.
Package secondhand resolves the user-local infrastructure root shared by Hand components.
Package secondhand resolves the user-local infrastructure root shared by Hand components.
Package sessionhook merges and retires Hand-owned Claude Code hooks in a project settings.json, preserving every unrelated operator entry byte for byte and refusing any shape it cannot carry through losslessly.
Package sessionhook merges and retires Hand-owned Claude Code hooks in a project settings.json, preserving every unrelated operator entry byte for byte and refusing any shape it cannot carry through losslessly.
Package shellquote renders shell arguments for commands shown to users or sent to a POSIX shell.
Package shellquote renders shell arguments for commands shown to users or sent to a POSIX shell.
Package skill installs and reconciles the bundled secondhand Agent Skill into a fleet home's supported per-harness project-local destinations, deterministically and without requiring symlink privilege: every copy is a plain file, atomically written.
Package skill installs and reconciles the bundled secondhand Agent Skill into a fleet home's supported per-harness project-local destinations, deterministically and without requiring symlink privilege: every copy is a plain file, atomically written.
Package state is the task-level API over hand's machine state, which internal/store keeps in sqlite, plus the plain-text report channel at state/<id>.status that hand only ever reads.
Package state is the task-level API over hand's machine state, which internal/store keeps in sqlite, plus the plain-text report channel at state/<id>.status that hand only ever reads.
Package store holds hand's machine state in a sqlite database at state/hand.db and owns the one-way migration from the state/<id>.json files that used to hold it.
Package store holds hand's machine state in a sqlite database at state/hand.db and owns the one-way migration from the state/<id>.json files that used to hold it.
Package supervision owns Supervisor turn delivery: exact wake episode identity, the disposable wake/progress ledger, the provider-neutral wait, and managed host-integration installation.
Package supervision owns Supervisor turn delivery: exact wake episode identity, the disposable wake/progress ledger, the provider-neutral wait, and managed host-integration installation.
Package testtag reports whether the test build tag installed the external-tool fakes, and refuses a suite that needs them without it.
Package testtag reports whether the test build tag installed the external-tool fakes, and refuses a suite that needs them without it.
Package watcher implements the poll loop behind hand watch: it tracks herdr agent states for active tasks, classifies transitions into actionable events, and keeps state/events.log current.
Package watcher implements the poll loop behind hand watch: it tracks herdr agent states for active tasks, classifies transitions into actionable events, and keeps state/events.log current.
Package workerobs normalizes worker-process liveness from a persisted Attempt and live Herdr process evidence.
Package workerobs normalizes worker-process liveness from a persisted Attempt and live Herdr process evidence.
Package worktree wraps treehouse worktree acquisition and the spawn collision guard.
Package worktree wraps treehouse worktree acquisition and the spawn collision guard.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL