Skip to content

fix(shard): 0916Z pipe-row col-5 (PR TBD) + body discipline-name ref restore#3397

Merged
AceHack merged 1 commit into
mainfrom
fix/0916z-pipe-row-col-5-otto-cli-2026-05-15
May 15, 2026
Merged

fix(shard): 0916Z pipe-row col-5 (PR TBD) + body discipline-name ref restore#3397
AceHack merged 1 commit into
mainfrom
fix/0916z-pipe-row-col-5-otto-cli-2026-05-15

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 15, 2026

Summary

0916Z.md landed on main via PR #3396 with two bugs from a broken post-create-fix sed:

  1. Pipe-row col 5 (PR-ref) still has (PR TBD) — should be (PR #3396)
  2. Body col 4 incorrectly substituted: 4th stale-(PR #3396) on PR #3394 should be 4th stale-(PR TBD) on PR #3394 (generic discipline-name reference)

Root cause: sed -i '' '1s|(PR TBD)|(PR #NNNN)|' <file> replaces only the FIRST occurrence on line 1. When body col 4 has (PR TBD) text mentions (discussing the discipline name), it gets replaced first, leaving col 5 untouched.

Fix: sed -i '' '1s@| (PR TBD) |@| (PR #NNNN) |@' <file> — @-delimited (since | conflicts as delim+literal), pipe-anchored to cell-boundary.

Same fix landed in PR #3395 (still in flight) for 0911Z which had the same bug.

🤖 Generated with Claude Code

… discipline-name ref

Substrate-honest correction of merged-on-main bug: 0916Z.md landed via PR #3396 with
the pipe-row col 5 still saying (PR TBD) because the broken sed (1s|(PR TBD)|...|) only
fixed body col 4 first occurrence. The col-5-vs-col-4 conflict was triggered by the
body content mentioning the (PR TBD) discipline name.

Fix: @-delimited pipe-anchored sed targeting the cell boundary. Also restored body col 4
to use generic (PR TBD) discipline-name reference (was incorrectly substituted to
(PR #3396)).

Same fix landed in #3395 (still in flight) at commit bb41604 for 0911Z.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 15, 2026 09:30
@AceHack AceHack enabled auto-merge (squash) May 15, 2026 09:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes two text substitution bugs in the 0916Z tick shard introduced by an overly-greedy sed replacement: restores (PR #3396) in pipe-row column 5 and restores (PR TBD) as the generic discipline-name reference in column 4.

Changes:

  • Swap col-4 body text back to (PR TBD) (generic stale-review pattern name)
  • Set col-5 PR-ref to the actual (PR #3396)

@AceHack AceHack merged commit 3b53469 into main May 15, 2026
25 checks passed
@AceHack AceHack deleted the fix/0916z-pipe-row-col-5-otto-cli-2026-05-15 branch May 15, 2026 09:32
AceHack added a commit that referenced this pull request May 15, 2026
…on fix (#3399)

* shard(tick): 0934Z — corrective PRs #3395 + #3397 merged; #3398 BSD-vs-GNU regression fix; discipline-rewrite-regression lesson

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(shard): close (PR TBD) → (PR #3399) (@-delimited pipe-anchored)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
AceHack added a commit that referenced this pull request May 15, 2026
… PRs (#3395 fix + #3397) (#3398)

* shard(tick): 0921Z — sed-bug class discovered (body col 4 conflict); apology + 2 corrective PRs

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(shard): close (PR TBD) → (PR #3398) (@-delimited per 0921Z discipline)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(shard): add BSD-vs-GNU sed portability + Perl cross-platform form per Codex P2 on PR #3398

Same portability concern Codex raised on PR #3393 — I lost the prior note when
rewriting the discipline in 0921Z. Re-included: BSD form (sed -i ''), GNU form
(sed -i no quotes), Perl universal form.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants