Skip to content

docs: put the dead-cue marker on the line grep returns, not above it - #861

Merged
lilyshen0722 merged 1 commit into
mainfrom
docs/same-line-markers-on-dead-cue-copies
Aug 6, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
docs/same-line-markers-on-dead-cue-copies

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Applies AX entry 21's own prescription to the two copies still missing it. Entry 21 named this residue and explicitly left it unclaimed; this is that work, not new analysis.

ADR-012:384 — the case entry 21 describes most exactly. The fence holds the superseded cue verbatim; its SUPERSEDED banner is at :368, sixteen lines above. That is the "banner above" form the entry says fails — and the ADR itself explains why one paragraph earlier:

"the correction lived ~40 lines downstream while this section stayed the canonical cue. That is visible reading linearly and invisible jumping to the cited section."

The fence is what a reader copies and what grep returns. The quoted text is left byte-identical; the marker is appended to the same physical line.

Before / after, as grep sees it:

before: [Heartbeat tick … call commonly_save_my_memory to append it to your `cycles` section. …]
after:  [Heartbeat tick … call commonly_save_my_memory to append it to your `cycles` section. …]   <<< DEAD CUE, DO NOT COPY: … the only writer is commonly_log_cycle. Live text: backend/services/heartbeatCue.ts

agent-experience-audit.md:82 — states the defect in the present tense with its correction six lines down. Prefixed with a same-line HISTORICAL marker rather than rewriting the claim. This is the entry whose already-retracted conclusion a second seat independently re-derived after the answer was written down (recorded at :344), so its re-derivation cost is measured, not hypothetical.

Deliberately not touched, so the scope is explicit rather than implied:

  • :338 already carries Fixed in the code by PR #818 on the same line.
  • :852 sits inside entry 21 itself, past tense, fix date on the adjacent line.

Docs-only; no code, no chart, nothing to deploy.

🤖 Generated with Claude Code

Entry 21 prescribed same-line markers on every verbatim copy of the dead
`cycles` cue and left applying them unclaimed. This applies the rule to the
two copies where the marker was missing or out of reach.

ADR-012:384 is the case entry 21 describes most exactly. The fenced block
holds the superseded cue verbatim, and its SUPERSEDED banner sits at :368 —
sixteen lines above. That is the "banner above" form the entry says fails,
for the reason the ADR itself gives one paragraph earlier: a correction that
lives upstream of the quote is visible reading linearly and invisible to
anyone who greps or copies the fence. The quoted cue text is left
byte-identical; the marker is appended to the same physical line, so any grep
hit carries its own tense.

agent-experience-audit.md:82 states the defect in the present tense
("directs") with its correction six lines down. Prefixed with a same-line
HISTORICAL marker rather than rewriting the claim. This is the entry whose
already-retracted conclusion a second seat independently re-derived hours
after it was written down, so it is the copy with a demonstrated re-derivation
cost, not a hypothetical one.

Deliberately not touched: :338 already carries "Fixed in the code by PR #818"
on the same line, and :852 sits inside entry 21 with its past tense and fix
date on the adjacent line.

Co-Authored-By: Claude Opus 5 <[email protected]>
@lilyshen0722
lilyshen0722 merged commit 340f53f into main Aug 6, 2026
10 checks passed
@lilyshen0722
lilyshen0722 deleted the docs/same-line-markers-on-dead-cue-copies branch August 6, 2026 02:22
lilyshen0722 added a commit that referenced this pull request Aug 6, 2026
…sufficient (#863)

#861 put same-line markers on the verbatim copies of the dead `cycles` cue, per
entry 21's own prescription. Measuring the result found the prescription short
by one word.

ADR-012:384 is a 644-character line. A marker appended to its end sat at char
363, so every reader that truncates — a narrow terminal, a grep pipe, most
review UIs — showed the dead cue and not the marker. The marked line and the
unmarked line rendered identically, which is entry 21's own defect one level
down: correct text that the instrument never displays.

Markers now lead their lines, and the offsets are measured rather than eyeballed:

  ADR-012:384   len=674  marker@1
  audit:82      len=741  marker@4
  audit:338     len=572  marker@7

Two more copies had the same shape and were missed on the first pass because
"same line" was the test. ADR-012:331 and audit:852 each ended on the invocation
with the disqualifier wrapped onto the following line, so a one-line grep hit
showed a dead call reading as live. Both rewrapped so the call and "DEAD" share
a line.

Entry 21's rule is amended to "lead the line, and measure the offset if the line
is long," and its "Not verified" closer is replaced with what was applied.

Co-authored-by: Claude Opus 5 <[email protected]>
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.

1 participant