hyperhive/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 2fe79aaef5 feat(#1787): make agent-configs/<n> the agent-editable, PR-merge config surface
Wires the per-agent config repo as the editable PR surface the #1838
merge handler (run_merge_config_pr) consumes, without yet retiring the
push_config force-mirror (that waits for #1838 P2 — the agent-opens-PR
MCP surface — so config changes keep working through the transition).

ensure_config_repo now, after creating agent-configs/<name>:
- adds the agent as a WRITE collaborator (can push config-change branches
  + open PRs);
- branch-protects main core-only via apply_config_repo_branch_protection:
  push + merge whitelists are core-only (only hive-c0re lands on main, via
  its verify-and-ff-push handler), operator-team approval required, the
  agent can't push main directly or self-merge.

The protection sets enable_force_push=true as a TRANSITIONAL allowance so
push_config's applied->main force-mirror keeps working until P2 retires it
(a protected branch otherwise rejects force-push). Forgejo's force-push
allowlist is deploy-keys-only — no per-user list — so this is a plain
enable_force_push toggle; only core is in the push-whitelist so only core
can force-push anyway. At P2, flip it to false and keep core in the
push-whitelist so ff_push_to_main still lands.

Agent code repos (AGENTS_ORG) are intentionally untouched — their merge
flow has no auto-merge handler yet, so switching them to core-only-merge
would strand those PRs.

All steps idempotent (runs on every spawn + startup sweep). Updated the
CONFIG_ORG doc comment + docs/forge.md to drop the "mirror-only" framing.
2026-06-23 22:37:27 +02:00
..
tools hive-forge: add 'reopen' verb (pr reopen / issue reopen) 2026-06-23 18:35:19 +02:00
web-ui docs(web-ui/dashboard): fix stale /kill/ bare paths → /api/kill/ + graceful=true 2026-06-23 22:05:05 +02:00
agent-hierarchy.md docs: agent-hierarchy default-parent is root, not the manager 2026-06-22 00:41:42 +02:00
approvals.md docs: fix remaining bare /kill/ and /rebuild/ paths → /api/ variants 2026-06-23 22:05:05 +02:00
boundary.md docs: move privsep socket-activation + child-state rw rationale out of code comments 2026-06-08 21:58:12 +02:00
ci.md feat(#1867): make the internal forge mandatory (remove forge.enable) 2026-06-22 19:26:34 +02:00
conventions.md docs: address mara review on #1936 2026-06-23 14:48:10 +02:00
coordinator.md docs: fix remaining bare /kill/ and /rebuild/ paths → /api/ variants 2026-06-23 22:05:05 +02:00
forge.md feat(#1787): make agent-configs/<n> the agent-editable, PR-merge config surface 2026-06-23 22:37:27 +02:00
gateway.md docs: address mara review on #1936 2026-06-23 14:48:10 +02:00
gotchas.md docs: address mara review on #1936 2026-06-23 14:48:10 +02:00
knowledge.md docs(knowledge): document the hive-forge AGit no-fork contribution flow 2026-06-05 20:54:25 +02:00
matrix.md feat(#551): gate server-side e2ee behind opt-in matrix.allowEncryption (default off) 2026-06-10 19:12:36 +02:00
network.md docs: address mara review on #1936 2026-06-23 14:48:10 +02:00
persistence.md docs(persistence): correct the root-container destroy claim (imperative, not declarative) 2026-06-23 14:48:10 +02:00
security.md docs(security): drop redundant bootstrap-container allowlist entry 2026-06-23 14:48:10 +02:00
swarm.md feat(#1886): trust a peer hive's root CA hive-wide for self-signed federation 2026-06-22 16:54:44 +02:00
terminal-rendering.md agent-ui: real fixed-width icon column for terminal rows 2026-06-22 00:41:24 +02:00
turn-loop.md docs(turn-loop): document graceful stop recv behavior (follow-up to #1920) 2026-06-22 23:27:33 +02:00
web-ui.md docs: address mara review on #1936 2026-06-23 14:48:10 +02:00