fix(board): --dispatch neste= carried three other record fields
d_neste took the record from field 14 onward - the index from when the record had 14 fields. ORDRE, FLY and VOY were later inserted before `neste` and the index never moved, so every dispatch block read `neste=<claimed>|<claimedage>|<voy>|<prose>` (measured on the shipped 0.34.0: `neste=1|0d|0|NESTE: ...`). Now field 17 onward. Found while adding a field before `neste`, which would have made the prefix one field longer. board-selftest pins the exact start of the fixture's NESTE prose, so the next inserted field turns it red. board-selftest 427 -> 428; README and CLAUDE.md counts moved with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
20fcd67f4a
commit
0008dbbc3a
5 changed files with 25 additions and 5 deletions
|
|
@ -1406,7 +1406,10 @@ dispatch() {
|
|||
[ -n "$d_rec" ] || { echo "board: no repo named '$D_REPO' in the scanned roots ($ROOTS)" >&2; exit 2; }
|
||||
d_status="$(printf '%s' "$d_rec" | cut -d'|' -f4)"
|
||||
d_dir="$(printf '%s' "$d_rec" | cut -d'|' -f10)"
|
||||
d_neste="$(printf '%s' "$d_rec" | cut -d'|' -f14-)"
|
||||
# `neste` is the LAST record field and is taken as "field N onward". This
|
||||
# index once read 14 and was never moved as fields were inserted before
|
||||
# `neste`, gluing three other columns onto the prose - move it with the record.
|
||||
d_neste="$(printf '%s' "$d_rec" | cut -d'|' -f17-)"
|
||||
[ -d "$d_dir" ] || { echo "board: the directory for $D_REPO does not exist: $d_dir" >&2; exit 2; }
|
||||
|
||||
# Rejected traits REFUSE. Degrading to a command without them is the worst
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue