// Package gitea is a stdlib-only client for the Gitea API (JSON over // /api/v1). It exists so the harness, the loop, and every vertical talk // to the forge through one Go library instead of shell glue: repo // create/list, branch list, commit statuses, and the full pull-request // flow (create/list/merge) — the surface the turn harness needs to land // work via PRs. // // Security discipline: the token travels ONLY in the // "Authorization: token " header. Response bodies are never // surfaced in error strings (a server echo is assumed to be able to // carry the token), so errors are one-line, parseable // "sentinel: http NNN" shapes. package gitea