refactor(#2285): repoint knowledge + forge core-token to paths.rs consts

This commit is contained in:
damocles 2026-07-10 19:35:59 +02:00 committed by mara
commit 4162f557c9
3 changed files with 15 additions and 15 deletions

View file

@ -23,7 +23,9 @@ pub const REPO: &str = "knowledge";
/// Host-side path for the local clone. Also referenced from
/// `lifecycle.rs` (bind-mount source) and the dashboard webhook handler.
pub const LOCAL_DIR: &str = "/var/lib/hyperhive/knowledge";
/// The literal lives in [`crate::paths`]; re-exported here under the name
/// this module and its consumers have always used.
pub use crate::paths::KNOWLEDGE_DIR as LOCAL_DIR;
/// In-container mount point for the knowledge repo. Bind-mounted
/// read-only from [`LOCAL_DIR`] into every agent container.