From 33d771438f1da363af7c9ff2d5f4c368c326e84d Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 17 Sep 2026 14:03:44 +0200 Subject: {now} is the start of the run, as the spec always said MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The clock was read once per directory, so a run of several directories stamped several different times - and a review that took a few seconds could put one run's files into two folders, or at midnight two dates. The spec (ยง7.3) says "the start of the run"; krino.conf(5) documented the behaviour rather than the intent, so the two contradicted each other. The session now carries the run's clock and every directory plans with it. Engine.Plan keeps its meaning for a caller with no session of its own; Session.Plan passes the run's own start. --- man/krino.conf.5 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/krino.conf.5 b/man/krino.conf.5 index 1a60ecc..f050655 100644 --- a/man/krino.conf.5 +++ b/man/krino.conf.5 @@ -1179,8 +1179,9 @@ test has no captures; the step is then skipped as .It Ic {mtime:FMT} The file's modification time when it was scanned, in local time. .It Ic {now:FMT} -The time the directory is planned; in a run of several directories, later -ones can get a later time. +The time the run began, the same for every directory of that run and for +every file in it, so one run's output never lands in two folders because a +review took a moment. .It Ic {{ No and Ic }} A literal .Ql { -- cgit v1.3