Skip to content

Dated notes: the October 4 mapping's line numbers in three records, and the Gate B walk's plan, tasks and spec lines, are read at 593250d (NIT 6 on opensoft/openRepoTools-spec#6) - #14

Open
brettheap wants to merge 1 commit into
mainfrom
docs/nit6-adoption-plan-line-notes
Open

brettheap wants to merge 1 commit into
mainfrom
docs/nit6-adoption-plan-line-notes

Conversation

@brettheap

@brettheap brettheap commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-1
Claim: opensoft/openRepoTools#186 (comment)

Part of opensoft/openRepoTools#186. This is lane 2's NIT 6 on #6, completed by its NIT 1.

The problem

Three dated records cite adoption-plan.yaml:N with no revision, on 17 lines and in 23 line ranges:

  • docs/triad-lane-tooling-analysis.md: lines 34, 98, 99, 150, 425 and 441.
  • specs/004-migrate-to-triad/consumer-reads-2026-10-07.md: lines 49, 226, 238, 257 and 372.
  • specs/004-migrate-to-triad/gate-b-checklist.md: lines 131, 133, 166, 167, 169 and 221.

Each number is a line of the October 4 mapping, openspec/changes/migrate-to-triad/adoption-plan.yaml at 593250d (375 lines, blob f9d26fbe). That is the same blob as at ff6f6a7, the commit the records say they read. The path now holds run C's plan (445 lines, blob 8b360179, the same at main), where the same numbers name other lines. All 23 ranges hold at 593250d and none holds at main.

One more place cites the same mapping by bare number: section 3's table in docs/triad-lane-tooling-analysis.md, (:325) to (:336), on lines 118 and 120 to 130. All twelve hold at 593250d and none at main. A count of the literal adoption-plan.yaml: gives 17 lines and does not include them; the note names them.

The fix

Option (d) of the pending answer: one dated note at the end of each of the three files, in the dated italic form this leg already uses. Each note says which revision the numbers belong to and how to read it: git show 593250d:openspec/changes/migrate-to-triad/adoption-plan.yaml | cat -n. 44 lines are added and none is changed, removed or moved, so the line numbers other records cite in these files stay true.

The note in gate-b-checklist.md is wider, as option (d) says. It also names the 66 lines of that record that cite plan.md, tasks.md, spec.md or the capability spec (cap-spec) with no revision of their own. Line 52 reads them at ff6f6a7, a commit of opensoft/openRepoTools that this repository does not carry. All five files have the same bytes at 593250d as at ff6f6a7.

Cited file, in this leg Ranges Hold at 593250d Hold at main, same lines
specs/004-migrate-to-triad/plan.md 36 36 1 (changed from its line 26)
specs/004-migrate-to-triad/tasks.md 55 54, and one a line short 37 (changed from its line 78)
specs/004-migrate-to-triad/spec.md 16 16 16 (unchanged)
openspec/changes/migrate-to-triad/specs/repository-triad-migration/spec.md (cap-spec) 8 8 7 (lines 45 to 48 reworded)
openspec/changes/migrate-to-triad/tasks.md (line 297, which names its path) 1 1 1 (unchanged)

The one short range is tasks.md:36–38 in line 135: the clause it quotes ends on line 39. The note says so.

What this does not do

The notes only add text and decide nothing. No existing line is edited, so the records still say what they said.

Left alone, because option (d) does not name them: consumer-reads-2026-10-07.md (lines 45, 47, 48, 215, 222, 237 and 264) and docs/triad-lane-tooling-analysis.md (line 103) also cite lines of plan.md, read at ff6f6a7, and both records cite installer-design.md the same way. Those plan.md ranges hold at 593250d and not at main, where plan.md has changed from its line 26. A note for them is a separate decision.

Checked

  • Each of the 23 mapping ranges and the 12 bare numbers was read at 593250d and at main.
  • The 116 ranges of the Gate B walk were checked against the quoted text where the cell quotes the file (69), and by reading the cited lines where it does not (47).
  • The diff applies with patch and with git apply to clean copies of the three files and reverses to the same bytes.
  • Every line number a note names is a citing line, and every citing line is named.

Lane openRepoTools-2 reviews this PR and Brett Heap merges it, by merge commit as this leg's PRs land.

Approved by Brett Heap as option (d) of NIT 6 in opensoft/openRepoTools#186 (comment opensoft/openRepoTools#186 (comment))

🤖 Generated with Claude Code

…nd the Gate B walk's plan, tasks and spec lines, are read at 593250d (NIT 6 on #6)

Lane 2's NIT 6 on #6, completed by its NIT 1: three
dated records cite `adoption-plan.yaml:N` with no revision. Each number is a
line of the October 4 mapping, openspec/changes/migrate-to-triad/adoption-plan.yaml
at 593250d (375 lines, blob f9d26fb, the same bytes as ff6f6a7's, the commit the
records say they read), and each holds there. The path now holds run C's plan
(445 lines, blob 8b36017), where the same numbers name other lines.

Each of the three records gets one dated note at its end, in the dated italic
form this leg already uses, saying so and giving the command that reads the
lines: git show 593250d:openspec/changes/migrate-to-triad/adoption-plan.yaml | cat -n.
No existing line changes or moves, so the line numbers other records cite in
these files stay true.

- docs/triad-lane-tooling-analysis.md: lines 34, 98, 99, 150, 425 and 441, and
  the bare (:325) to (:336) of section 3's table, lines 118 and 120 to 130.
- specs/004-migrate-to-triad/consumer-reads-2026-10-07.md: lines 49, 226, 238,
  257 and 372.
- specs/004-migrate-to-triad/gate-b-checklist.md: lines 131, 133, 166, 167, 169
  and 221. Its note is wider, as Brett Heap's option (d) says: it also names the
  66 lines that cite plan.md, tasks.md, spec.md or the capability spec without a
  revision. Line 52 reads them at ff6f6a7, a commit of opensoft/openRepoTools;
  those files are the same bytes at 593250d, where every cited range holds,
  except that tasks.md:36-38 in line 135 stops one line short of the clause it
  quotes. Since then plan.md changed from its line 26, tasks.md from its line 78
  and the capability spec at its lines 45 to 48.

The notes only add text and decide nothing.
Approved by Brett Heap as option (d) of NIT 6 in opensoft/openRepoTools#186.
Part of opensoft/openRepoTools#186.

Lane: openRepoTools-1
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Add dated notes to the three records identifying the revision their cited line numbers refer to and how to read it, with the Gate B note also documenting its plan, tasks and spec references.

  • docs/triad-lane-tooling-analysis.md L713-723
  • specs/004-migrate-to-triad/consumer-reads-2026-10-07.md L411-420
  • specs/004-migrate-to-triad/gate-b-checklist.md L300-322

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

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