hive-agent: correct doc comments that describe sentinel files, session flags and outcomes the code no longer has
This commit is contained in:
parent
70d1b542e3
commit
ac0bed47e9
11 changed files with 40 additions and 38 deletions
|
|
@ -717,8 +717,9 @@ fn claude_config(bus: &Bus, files: &TurnFiles) -> Config {
|
|||
|
||||
/// Map a `hive_claude::Error` onto the harness's `TurnOutcome`. The recognized
|
||||
/// sentinels become their matching outcomes; a residual `SessionNotFound`
|
||||
/// (create path itself missed — shouldn't happen) settles as `Ok`; genuine
|
||||
/// failures become `Failed` (converting the typed lib error into `anyhow`).
|
||||
/// (create path itself missed — shouldn't happen) stays `Err(SessionNotFound)`
|
||||
/// for `handle_turn_error_recovery` to requeue; genuine failures become
|
||||
/// `Failed` (converting the typed lib error into `anyhow`).
|
||||
fn error_to_turn(err: hive_claude::Error) -> TurnOutcome {
|
||||
use hive_claude::Error;
|
||||
match err {
|
||||
|
|
|
|||
Loading…
Reference in a new issue