fix: address argus review yellows on #1158
- restore count in get_loose_ends: 'N local task(s):' instead of bare 'local task(s):' - add cross-crate coupling comment to both mcp_loose_ends_dir() copies - add comment in hive-bash-daemon service env explaining HYPERHIVE_HARNESS_DIR is already injected via systemd.globalEnvironment by the meta flake
This commit is contained in:
parent
8731474104
commit
f87a52f28f
4 changed files with 17 additions and 1 deletions
|
|
@ -51,6 +51,10 @@ pub fn hyperhive_socket() -> PathBuf {
|
|||
/// Directory where MCP daemons write loose-end summary files for the harness.
|
||||
/// Each daemon writes `<name>.json` here; the harness scans the dir in
|
||||
/// `get_loose_ends` to surface active work from all MCPs generically.
|
||||
///
|
||||
/// NOTE: the base-dir resolution logic here is intentionally mirrored in
|
||||
/// `hive-ag3nt/src/mcp_loose_ends.rs::loose_ends_dir()`. They can't share
|
||||
/// code across crates — keep them in sync if the fallback logic changes.
|
||||
#[must_use]
|
||||
pub fn mcp_loose_ends_dir() -> PathBuf {
|
||||
let base = if let Some(p) = std::env::var_os("HYPERHIVE_HARNESS_DIR") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue