hyperhive/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas c9c59c2a1d hive-forge: ci-rerun dispatches a fresh run via workflow-dispatch API
The previous implementation POSTed Forgejo's run-page rerun web route,
which is CSRF-gated and answers a bare token POST with 404 — so the verb
never actually re-ran anything against the agent token.

Rework it to dispatch a fresh run of the workflow via the
GitHub-compatible workflow-dispatch API
(POST /repos/<o>/<r>/actions/workflows/<workflow>/dispatches {"ref":<branch>}),
which accepts a plain agent token (verified end-to-end on Forgejo 15.0.3).
A dispatched run is equivalent to the old empty-commit retrigger, minus
the commit.

The branch is resolved from exactly one of --pr (the PR head branch),
--run (branch + workflow looked up from that run in the Actions runs
list), or --branch (directly); --workflow picks the workflow file for
--pr/--branch (default ci.yml). Dispatch re-runs the whole workflow, so
the old --job single-job variant is dropped.

Also add workflow_dispatch to .forgejo/workflows/ci.yml for explicitness
(Forgejo 15.0.3 dispatches the pull_request workflow without it, but the
trigger makes the API path intent-clear and cross-version robust), remove
the now-unused Client::post_web_no_content, and update docs/tools/forge.md.
2026-06-23 14:53:11 +02:00
..
tools hive-forge: ci-rerun dispatches a fresh run via workflow-dispatch API 2026-06-23 14:53:11 +02:00
web-ui docs(dashboard): reframe stale 'the manager' as the root/submitting agent 2026-06-23 14:48:10 +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(#1838): document the merge-config-pr approval kind + queue dispatch 2026-06-23 13:12:12 +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: reframe stale 'the manager' as the root/bootstrap container (infra + web-ui) 2026-06-23 14:48:10 +02:00
forge.md forge_notify: leave delivered threads unread, dedupe wakes in-memory 2026-06-22 16:23:04 +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