feat(board): PLAN column - where a destination is missing or untouched
A display-only table column and a `plan=` field in --row, read from the filesystem: `-` = no file named exactly PLAN.md in the repo root; `Nd` = whole days the plan's mtime lies behind the last commit (`0d` when as new or newer); `?` = a plan with no commit to compare against. The content is never read, and the legend says the column does not judge whether a criterion can be falsified. Not a sort key, not in --plan, not in SUM. The name is matched byte for byte through a glob plus a basename compare: APFS is case-insensitive by default, so `[ -f PLAN.md ]` is true for a `plan.md`. The glob needs no subprocess. The checks were written red in a separate eval before the column existed and pass unchanged; they now live in board-selftest section 34 and the eval file is removed (two judges for one column would drift). Mutation-verified: a case-blind test, sorting on the field, a plan= key in --plan and a legend without IKKE each turn exactly one check red. The new record field sits before `neste`, so every "last field onward" index moved 17 -> 18, and F6's right-counted DRT read moved NF-3 -> NF-4. board-selftest 428 -> 461 (badge 961). Suites: coord 257, board 461, route 73, orders 116, guard 54; npm test 12/12, run after git add. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
f079debdee
commit
87fb78334e
7 changed files with 327 additions and 260 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- **`PLAN` column in the board table, and `plan=` in `--row`.** A filesystem
|
||||
reading of the repo root: `-` = no file named exactly `PLAN.md`; `Nd` =
|
||||
whole days the plan's mtime lies behind the last commit (`0d` when as new or
|
||||
newer); `?` = a plan with no commit to compare against. The content is never
|
||||
read, and the column does not judge whether a criterion can be falsified -
|
||||
the legend says so. The name is matched byte for byte, because APFS's
|
||||
case-insensitivity makes `[ -f PLAN.md ]` true for `plan.md`. Display only:
|
||||
not a sort key, not in `--plan`, not summed. board-selftest section 34
|
||||
(written red before the column existed) pins all of it.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`board.sh --dispatch` put three other record fields in front of `neste=`.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue