summaryrefslogtreecommitdiffstats
path: root/tests/loop.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-15 17:16:08 +0100
committersalmonik <salmonik@tuta.io>2026-11-15 17:16:08 +0100
commit14e56289391ea95b493c2a20c87f8d88047aa051 (patch)
treed0acf1cc35369688d92c781e31fb7afc30c38b7a /tests/loop.rs
parent0.5.3: session locking, UTF-8 and size guards for edit, correct character widths (diff)
downloadagent686-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.rs2
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.