# hive-forge Typed CLI wrapper around the in-cluster Forgejo's REST API. Replaces the prior bash script (`hive-forge-tools.nix`) so that agents and operators get the same error handling, exit codes, and JSON shapes regardless of how the bash mood was that day — this is the **only supported path** to the forge from inside an agent container; never `curl` it directly. Single binary, one verb subcommand per forge operation (issues, PRs, comments, labels, reviews, CI status, attachments, triage). Reads credentials from the environment: `HIVE_FORGE_URL` (base URL), `HIVE_FORGE_REPO` (default repo), `HYPERHIVE_STATE_DIR` (state dir — `forge-token` lives here). The global `-f/--forge