hive-agent: keep the last turn's context size in the harness state file and drop the turn sqlite writes
This commit is contained in:
parent
7bd93ecfde
commit
5e5ff64b3c
1 changed files with 261 additions and 629 deletions
|
|
@ -20,10 +20,9 @@ pub fn tasks_dir() -> PathBuf {
|
|||
harness_dir().join("bash-tasks")
|
||||
}
|
||||
|
||||
/// Per-agent turn-stats sqlite — the harness writes one row per claude
|
||||
/// turn here; the runner appends normalised bash-command heads to its
|
||||
/// `bash_commands` table, which the harness reads for its OTEL bash-command
|
||||
/// counter.
|
||||
/// Per-agent sqlite in the harness dir: the runner appends normalised
|
||||
/// bash-command heads to its `bash_commands` table, which the harness reads for
|
||||
/// its OTEL bash-command counter.
|
||||
#[must_use]
|
||||
pub fn turn_stats_db() -> PathBuf {
|
||||
harness_dir().join("hyperhive-turn-stats.sqlite")
|
||||
|
|
|
|||
Loading…
Reference in a new issue