remove the /shared bind from agent containers
This commit is contained in:
parent
044c18c481
commit
7dd5d30da8
1 changed files with 52 additions and 71 deletions
|
|
@ -6,7 +6,7 @@
|
|||
//! …). This module is the **single Rust-side source** for every host
|
||||
//! path — the strictly host-side ones grouped into subdirs (`db/`,
|
||||
//! `matrix/`, `run/`), plus the **nix-coupled** roots
|
||||
//! (`agents/`, `applied/`, `meta/`, `shared/`, `gateway/`, `knowledge/`,
|
||||
//! (`agents/`, `applied/`, `meta/`, `gateway/`, `knowledge/`,
|
||||
//! the `/run` runtime dirs).
|
||||
//!
|
||||
//! Nix-coupled paths are NOT excluded (the old stance) — they're moved
|
||||
|
|
@ -192,16 +192,6 @@ pub fn meta_rev_dir() -> PathBuf {
|
|||
state_root().join("meta-rev")
|
||||
}
|
||||
|
||||
/// `shared/` — the cross-agent `/shared` scratch space. A `&str`, so it
|
||||
/// stays a const; [`shared_root`] wraps it.
|
||||
// nix: bind-mounted into every agent container as `/shared` (the harness nix modules) — must match.
|
||||
pub const SHARED_ROOT: &str = "/var/lib/hyperhive/shared";
|
||||
|
||||
#[must_use]
|
||||
pub fn shared_root() -> PathBuf {
|
||||
PathBuf::from(SHARED_ROOT)
|
||||
}
|
||||
|
||||
/// `knowledge/` — local checkout of the `internal/knowledge` repo. A
|
||||
/// `&str` (used as a git `-C` arg / clone target throughout the knowledge
|
||||
/// worker), so it stays a const rather than a `PathBuf` fn.
|
||||
|
|
|
|||
Loading…
Reference in a new issue