name what is true in three more comments, and test the old event log's removal
This commit is contained in:
parent
cb9fbfc9da
commit
49ee678117
2 changed files with 47 additions and 6 deletions
|
|
@ -750,8 +750,8 @@ impl Coordinator {
|
|||
|
||||
/// Per-agent harness-internal state dir. Bind-mounted RW into the
|
||||
/// agent container at `/agents/{name}/harness`. Holds sqlite dbs
|
||||
/// and config files owned by the harness (`hyperhive-events.sqlite`,
|
||||
/// `hyperhive-turn-stats.sqlite`, `hyperhive-model`) — kept separate
|
||||
/// and config files owned by the harness (`hyperhive-turn-stats.sqlite`,
|
||||
/// `hyperhive-model`) — kept separate
|
||||
/// from the agent-visible `state/` so claude's "my notes" view is
|
||||
/// uncluttered and the host vacuum has a clean sweep root.
|
||||
pub fn agent_harness_dir(name: &hive_types::Ident) -> PathBuf {
|
||||
|
|
|
|||
|
|
@ -321,8 +321,8 @@ async fn cmd_serve(
|
|||
swarm_agent_status::spawn(std::sync::Arc::clone(&coord));
|
||||
// Squid's users file: the hashes of this hive's agents' proxy credentials.
|
||||
workers::squid_users::spawn(coord.shutdown_rx());
|
||||
// Per-agent events.sqlite + bash-tasks file cleanup now runs
|
||||
// agent-side in the harness (`hive_agent::vacuum`): the files are
|
||||
// Per-agent bash-tasks file cleanup, and the removal of the old event log,
|
||||
// now run agent-side in the harness (`hive_agent::vacuum`): the files are
|
||||
// agent-owned, so host-side deletes hit PermissionDenied / readonly-db
|
||||
// under privsep. See issue tracker "perms borked".
|
||||
// (turn-stats.sqlite has no vacuum — it's one tiny row per turn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue