diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-15 17:16:08 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-15 17:16:08 +0100 |
| commit | 14e56289391ea95b493c2a20c87f8d88047aa051 (patch) | |
| tree | d0acf1cc35369688d92c781e31fb7afc30c38b7a /tests/loop.rs | |
| parent | 0.5.3: session locking, UTF-8 and size guards for edit, correct character widths (diff) | |
| download | agent686-14e56289391ea95b493c2a20c87f8d88047aa051.tar.gz agent686-14e56289391ea95b493c2a20c87f8d88047aa051.zip | |
0.6.0: transcript viewer, turn summary, yolo floor, model/version records
- --show renders a session without locking it
- status line summarises writes, commands and denials per turn
- sessions record harness version; model switches are appended and listed
- --yolo refuses $HOME and / unless AGENT686_ALLOW_HOME=1
Diffstat (limited to 'tests/loop.rs')
| -rw-r--r-- | tests/loop.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/loop.rs b/tests/loop.rs index d6df43c..b7e56f9 100644 --- a/tests/loop.rs +++ b/tests/loop.rs | |||
| @@ -260,6 +260,8 @@ fn aborting_between_tool_calls_answers_every_call() { | |||
| 260 | .expect("an abort is not an error"); | 260 | .expect("an abort is not an error"); |
| 261 | 261 | ||
| 262 | assert!(report.aborted); | 262 | assert!(report.aborted); |
| 263 | assert_eq!(report.writes, 0, "aborted calls must not count as writes"); | ||
| 264 | assert_eq!(report.commands, 1); | ||
| 263 | 265 | ||
| 264 | // Every announced tool call must have exactly one result, or the provider | 266 | // Every announced tool call must have exactly one result, or the provider |
| 265 | // rejects the session forever and the transcript cannot be rewritten. | 267 | // rejects the session forever and the transcript cannot be rewritten. |
