From cf2415cc6527cb92898694aae88fd84d54aac28c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 03:08:56 -0300 Subject: A failed builtin's err replaces its msg, and (xN) is a running total A builtin failing a ctl write logged its Verbose announcement, its words as a msg, and the write's err, so the same failure again never repeated the newest record and never collapsed. Its err alone is logged now (the msg is still shown and kept in +Messages). A repeat of a record a follower has read is a new line with the running total, (xN) being N in all. fs.md states both rules. Co-Authored-By: Claude Opus 5.5 --- src/fs.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fs.zig') diff --git a/src/fs.zig b/src/fs.zig index 8be728a6..2c739115 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -1271,6 +1271,9 @@ pub const Namespace = struct { /// The root ctl is running a session builtin: its messages are the /// session's, logged `msg -`, though shown on the active pane. session_write: bool = false, + /// A ctl write's failure is being said: its err record logs it, so + /// no msg does (Messages.reportFailure). + unlogged: bool = false, refused: bool = false, failure: [256]u8 = undefined, failure_len: u16 = 0, -- cgit v1.3