address review: drop 'service endpoints', fix container_mount doc, remove redundant write warning
This commit is contained in:
parent
41befe3839
commit
a176d675cf
2 changed files with 5 additions and 6 deletions
|
|
@ -128,7 +128,7 @@ Claude session (OAuth credentials) lives at `/root/.claude/` and persists across
|
|||
|
||||
**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.
|
||||
**Hive knowledge**: `/knowledge` is a read-only bind-mount of the `internal/knowledge` repo on the forge. It contains hive-wide reference documents (conventions, runbooks, shared notes). Read files there for context; to contribute, fork `internal/knowledge` on the forge and open a PR.
|
||||
<!-- /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).
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ pub const REPO: &str = "knowledge";
|
|||
/// `lifecycle.rs` (bind-mount source) and the dashboard webhook handler.
|
||||
pub const LOCAL_DIR: &str = "/var/lib/hyperhive/knowledge";
|
||||
|
||||
/// In-container mount point for the knowledge repo. Consistent,
|
||||
/// predictable path documented in the agent system prompt.
|
||||
/// In-container mount point for the knowledge repo. Bind-mounted
|
||||
/// read-only from [`LOCAL_DIR`] into every agent container.
|
||||
pub const CONTAINER_MOUNT: &str = "/knowledge";
|
||||
|
||||
/// Default README pushed to a freshly created `internal/knowledge` repo.
|
||||
|
|
@ -28,9 +28,8 @@ pub const CONTAINER_MOUNT: &str = "/knowledge";
|
|||
const README_CONTENT: &str = "\
|
||||
# knowledge
|
||||
|
||||
Hive-wide reference documents: conventions, service endpoints, runbooks, and \
|
||||
anything that every agent should know but does not belong in an individual \
|
||||
agent's system prompt.
|
||||
Hive-wide reference documents: conventions, runbooks, and anything that \
|
||||
every agent should know.
|
||||
|
||||
## How to contribute
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue