docs(#1970): rewrite for UI-driven shape (github.enable + host switch), purge githubAccount refs, regen hivectl-cli.md

This commit is contained in:
damocles 2026-07-11 11:39:06 +02:00 committed by mara
commit cef9e633f7
7 changed files with 61 additions and 52 deletions

View file

@ -414,7 +414,8 @@ pub enum PrivRequest {
/// Write `github-token` into `AGENT_STATE_ROOT/<agent_name>/state/github-token`.
///
/// The operator-supplied GitHub personal access token (PAT) for the
/// agent's `hyperhive.githubAccount`. Same write semantics as
/// agent's GitHub integration (`hyperhive.github.enable`). Same write
/// semantics as
/// `WriteAgentForgeToken` — validates `agent_name`, creates the state dir
/// if absent, writes the file 0600, and chowns it to the agent so the
/// `gh` wrapper / git credential helper can read it. No account suffix