`coord-order-done --return` rewrites the order file's mtime, and both age surfaces read mtime, so putting an order back reset the very reading that says how long it has waited. An order returned three times could never look old - on the one surface that exists precisely so a repo nobody opens still shows something. Found by reading the board right after this repo returned an order of its own, not by looking for it: a file whose name says 2026-09-02 rendered `ORDRE 1:0d` and `pending, 0d old` minutes later. Verified live after the fix: the same order now reads 1d. Two questions, two sources, and only one of them moved. A PENDING order's age is "how long has this sat with no owner" = now - delivery time, which only the filename carries and nothing rewrites. A CLAIMED order's age is "how long has it been in flight", which is the claim's own mtime and was already right. So oldest_pending_age() sits BESIDE oldest_order_age(), and pending_age_of() beside age_of() - switching FLY to the filename would answer the delivery question in the column that asks the flight question. An unparseable filename yields "?" for the whole reading, never a fabricated 0, because an unmeasured order could be the oldest one. TDD, red first: orders-selftest section 11 (110 -> 116) and board-selftest section 30 (360 -> 368), each asserting its own ground truth before anything depends on it, with controls that a freshly delivered order still reads 0d and that FLY did not move. Mutation-verified in both files: restoring the mtime read turns exactly the defect checks red and leaves every control green. Section 28's fixtures were rewritten as part of this rather than incidentally: they encoded their ages in `touch -t` while their filenames held fixed 2026-01/2026-08 dates, which a filename-based reading makes both wrong and time-dependent. They now compute their stems from `date -v` and the section asserts two ground truths, the filename for ORDRE and the mtime for FLY. Order 20260903T185736Z-1290610855 (.claude). Version 0.32.1 across all seven files; no catalog change in this session. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
12 lines
556 B
JSON
12 lines
556 B
JSON
{
|
|
"name": "repo-mailbox",
|
|
"version": "0.32.1",
|
|
"description": "Local mailbox for coordination between Claude Code sessions in different repositories. Directed messages and broadcasts as plain Markdown files on your own disk, injected as context at session start. Local, private, no network.",
|
|
"author": {
|
|
"name": "Kjell Tore Guttormsen"
|
|
},
|
|
"auto_discover": true,
|
|
"license": "MIT",
|
|
"repository": "https://git.fromaitochitta.com/open/repo-mailbox",
|
|
"keywords": ["coordination", "mailbox", "inter-repo", "multi-repo", "session-start"]
|
|
}
|