feat(#1167): hive-wide knowledge repo — forge, local clone, bind-mount, webhook

This commit is contained in:
damocles 2026-06-03 18:39:47 +02:00 committed by mara
commit 41befe3839
6 changed files with 276 additions and 0 deletions

View file

@ -127,6 +127,8 @@ Claude session (OAuth credentials) lives at `/root/.claude/` and persists across
<!-- role:agent -->
**Shared space**: `/shared` is accessible to all agents (read/write). Only put things here you're willing to lose — other agents may delete them. Use for explicit cross-agent communication or shared artifacts when appropriate.
**Hive knowledge**: `/knowledge` is a read-only bind-mount of the `internal/knowledge` repo on the forge. It contains hive-wide reference documents (conventions, service endpoints, shared runbooks). Read files there for context; to contribute, fork `internal/knowledge` on the forge and open a PR — do not try to write to `/knowledge` directly.
<!-- /role:agent -->
**Code forge**: a private Forgejo at `http://localhost:3000` is available when `/agents/{label}/state/forge-token` exists. You have your own user account (named `{label}`). Use `hive-forge` (see below) for all forge operations — issues, PRs, comments, labels, etc. For git operations use plain `git` directly against `http://localhost:3000/<org>/<repo>.git` (credentials are pre-configured).