Skip to content

007 T346: feature 006's FR-034, FR-042, data model and release.yml contract take the draft GitHub Release that holds check 1's digest list, and release-tags-pypi carries the dated departure notes (part of opensoft/openRepoTools#165) - #57

Draft
brettheap wants to merge 3 commits into
mainfrom
l3-T346-spec

Conversation

@brettheap

@brettheap brettheap commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-3
Claim: opensoft/openRepoTools#165

This is the spec-leg part of feature 007's task T346, not the release. It brings no tag, no GitHub Release and no change to the assembly root's pins. T346 (specs/007-sql-register/tasks.md, [O]; FR-055; contract section 10, check 1's list) has release.yml's new asset job create each GitHub Release as a draft that holds check 1's digest list, openRepoTools-<version>.sha256, and has the release owner publish that draft with the notes, never without the list. This PR makes feature 006's records say so, and puts dated departure notes in feature 006's open OpenSpec change release-tags-pypi.

  • Base and head: spec main, and head b710d0da, which is three commits, 0927f1d6, 8aaf0fd2 and b710d0da, on 7812b447. b710d0da answers Codex's review of 8aaf0fd2 (below). main has since taken spec: bound omitted Sonar eligibility to proven pin-only PR merges #56 (68796b93), then spec#17 (merge 60c027ed) and spec#48 at its commit 30 (merge c304e387); since those, spec#59 (0e742580), spec#61 (20ec89cc), spec#55 (9b841b0c) and spec#46 (73792183); and since those, spec#60, 007's follow-ups 3 (775b72c9), spec#63 (16b54221), spec#64 (1d9121a9), spec#47 (f8c1d3da) and spec#66 (4007d4ad); and since those, spec#67 (f9e8ffec), spec#68 (a3366afc), spec#58 (d6cc4579) and spec#62 (22eaa08b, main at 2026-11-15T18:50Z). None of these changes this PR's files.
  • Its task text: T346's block at the follow-up's commit 23, 870ed1fb (Feature 007's spec follow-up: the lanes' could-wait texts after spec#17 (part of opensoft/openRepoTools#165) #48), which reads the same, byte for byte, at spec#48's commit 25, d1a66b2e, at its last commit, commit 30, 872e5c55, and on main, where spec#48 has landed, at c304e387 and at 73792183. Its files: line (tasks:1728) named six of the seven paths this PR changes, and tasks:1731 and :1734 say what goes in them. The seventh, openspec/changes/release-tags-pypi/tasks.md, takes the note on its open task 6.3, by lane 3's ruling on Codex's finding 3, which also asks for the path to join T346's files:. spec#48 landed without that amendment. spec#60's commit 31 (8f50d105, merged at 775b72c9) made it: on main, T346's files: names all seven, and tasks:1731 records why, citing tasks.md:94–96. The block is otherwise unchanged.
  • The code part is not in this PR. It is T346's six commits for opensoft/openRepoTools-code, 792b0207, 5a5a74dd, 73ef3e8c, 6550eee1, 633fe40d and 4dde2d3a, on line R's merge104 142afd90. 633fe40d and 4dde2d3a are not pushed yet: they are in lane 3's bundle share/l3-007-T346-B1d-4dde2d3a5829.bundle (sha256 e8bd61b1…) until line R takes them. 73ef3e8c, 6550eee1, 633fe40d and 4dde2d3a answer Codex's finding 1, that workflows.md:436 says every refusal of the asset job is one ::error:: line that names its cause: 73ef3e8c makes the list check so, 6550eee1 the version guard and the tag recheck, which asset runs line for line as pypi does, and which testpypi shares too, and 633fe40d the last step, which now says what went through only once the release's copy is read back. 633fe40d also writes gh's report on the refusals of the tag recheck and the last step, and the names on the list check's, as a workflow command's data, each % escaped and no CR or LF left raw (the list check writes an LF as a space). 4dde2d3a drops a NUL from gh's report on the tag recheck, which bash would otherwise answer with a warning line of its own, and refuses any answer of the forge there that is not an object id, in a line of its own that never prints it. It also makes the last step refuse a releases list outside the forge's schema in one line, never a traceback, and write gh's bytes that are not UTF-8 as \xNN. Tests hold each refusal's whole output, stdout and stderr. It changes release.yml, so it lands as a normal reviewed PR outside the merge queue (.github/ci/task-set-delivery.md:48-49 at opensoft/openRepoTools-code 30abf796). In lane 3's task-set plan it is set S007-03, which lands with T303's set.

What Brett decided

Each answer is quoted verbatim, with lane 3's record of it. The option texts after the letters are the words of lane 3's question, which he chose by letter.

What it changes

Seven files: 227 lines added and 16 removed. Five departure notes, in four files of release-tags-pypi.

  • 0927f1d6: feature 006's three files, byte for byte as on lane 3's T346 spec branch at 46cb01a. None of the three changed between that branch's base, 77b6815, and 7812b447.
    • specs/006-release-pypi/contracts/workflows.md:
      • the release.yml job list gains asset;
      • the build's step 15 writes openRepoTools-<version>.sha256 from the verified wheel, in sha256sum's form, with its refusals and outputs;
      • a new asset section gives its one grant, contents: write, its condition, and its draft, upload, re-run and read-back rules;
      • the procedure's publication step becomes gh release edit v<version> --repo <repository> --draft=false --verify-tag --notes-file <spec>/docs/release-notes/v<version>.md, in place of v1.2.0's gh release create;
      • "Held by tests" names the new cases, installables-declared-twice among them.
    • specs/006-release-pypi/spec.md: FR-034's step now publishes each GitHub Release with its notes file, after PyPI serves the version, from the draft asset made. It must say to re-run asset if it failed, and never to publish without the list. FR-042's GitHub Release is published with its notes file. Their other clauses are unchanged.
    • specs/006-release-pypi/data-model.md: the GitHub Release row, the states line (a draft holding the list, between PyPI and Released), the job table's new asset row, and the build's outputs (the list's file name and sha256).
  • 8aaf0fd2: the departure notes in openspec/changes/release-tags-pypi/, 55 lines added and none removed, byte for byte as on the same branch at 46cb01a.
    • A note headed "Departure noted 2026-11-12, on Brett Heap's "1a"" follows each of the three texts that still say the release is made from its notes file or by hand: specs/release-tags-and-branches/spec.md:111-113 ("SHALL be created from its notes file"), design.md:487 ("by the release owner, by hand") and proposal.md:496 ("is created from its file").
    • Each states the draft flow, cites "3a" and names the other two. The two longer notes quote "3a" and "1a" verbatim, and say that asset needs the pypi job and reads no notes file.
    • The texts they depart from are left as they stood. No line with SHALL or MUST is added, removed or changed. Their form is the change's own: design.md's "Amended 2026-10-18 by the lead, on T007's measured report" note (:129).
  • b710d0da: two more departure notes in openspec/changes/release-tags-pypi/, 27 lines added and none removed, in answer to Codex's findings 2 and 3 on 8aaf0fd2.
    • A note headed "Departure noted 2026-11-14, on Brett Heap's "1a"" follows proposal.md:701, step 6's "the GitHub Release is created from docs/release-notes/v1.1.0.md", and the unticked task 6.3 in tasks.md (:94-96).
    • Each states the draft flow, cites "3a", names the publish, gh release edit v<version> --repo <repository> --draft=false --verify-tag --notes-file <spec>/docs/release-notes/v<version>.md, and says that the two longer notes carry it whole. Task 6.3's note says to verify that the draft asset made holds openRepoTools-<version>.sha256, publish that draft with the notes, then cut release/v1.1.
    • The texts above them are left as they stood, and no line with SHALL or MUST is added, removed or changed. 8aaf0fd2's three notes are unchanged, so they name each other but not these two.

Order and landing

  • Feature 007, the SQL register: the OpenSpec change add-sql-register with its Speckit spec, plan, research, contracts and 151 tasks (draft, assembled by lane openRepoTools-3; part of opensoft/openRepoTools#165) #17 and Feature 007's spec follow-up: the lanes' could-wait texts after spec#17 (part of opensoft/openRepoTools#165) #48 have landed, as T346's "Depends on: SPEC-PR" asks (tasks:1730), and spec#48 right after spec#17, as lane 3's ruling of 2026-11-14 asks: main took spec#17's merge 60c027ed and then spec#48's, c304e387, on 68796b93, and has since taken spec#59, spec#61, spec#55 and spec#46 (73792183), then spec#60, spec#63, spec#64, spec#47 and spec#66 (4007d4ad), then spec#67, spec#68, spec#58 and spec#62 (22eaa08b at 2026-11-15T18:50Z). This PR's text cites 007's T346, FR-055 and register-cli.md §10, which are now on main, so nothing it waits on is open.
  • No Depends-On line. It is based on main, and it changes no file that spec#17 or spec#48 changed.
    • At b710d0da, git merge-tree --write-tree is clean against main at c304e387, and gives tree 539f39f3: the tree lane 3 and Codex's second re-review found for every landing order of 68796b93, spec#17 at 33eb0829, spec#48 at 872e5c55 and this PR, before the two landed. Against main it is clean too: at 73792183, with tree 76b25050, at 4007d4ad, with tree df9763ff, and at 22eaa08b, with tree f7bbeeb0.
    • The pinned workflow's Depends-On is for a PR based on its predecessor's head branch (task-set-delivery.md:69-72), and code, spec and assembly PRs are never one atomic stack (:86-88).
  • It lands by merge commit, under Brett's standing word for the spec PRs after spec#17, whose question named T346's (briefs/165-review/RULINGS-brett-20261113e-q1-q6.md:14-15).
    • He picked "One standing word (Recommended)". Its option read: "Each lands by merge commit once lane 3's review passes and each owning lane confirms its parts. Codex reviews where its quota allows and is waived where its quota blocks it."
    • By his "2a" of 2026-11-14, lane 3 runs the Codex review itself, with the Codex CLI on Eagle. By his "1a" of that day, lane 3 publishes the receipt for a clean review without asking (briefs/165-review/RULINGS-brett-20261114-qeta.md).
    • Lane 3 owns every part: T346, release.yml and the installer are lane 3's (tasks:1736), and lane 3 is the release owner (release.yml's RELEASING header).
    • These readings are lane 3's.
  • The exact-head review request is not in this body. Lane 3 runs it at the final head (task-set-delivery.md:74-76): Codex's, or, while Brett's waiver below holds, an independent Opus review in its place.
  • Lane 3's ruling on the order: this PR leaves draft and lands just after P08, T346's code PR (set S007-03), so that main's feature 006 records and release.yml change together. P08 lands after P06, outside the queue, by lane 3's merge under a Rule 6 LANDING.
  • Landing it is not the release. It takes no act of the release.

Checks

  • openspec 1.13.1: DO_NOT_TRACK=1 openspec validate release-tags-pypi --strict reports the change valid at b710d0da, and openspec list counts 6/20 tasks for it, as at 8aaf0fd2.
  • Whitespace: git diff --check is clean over 7812b447..b710d0da.
  • Cites: tasks:1731's are the only line-number citations to the three changed passages. No text cites proposal.md:701 by line. Since spec#60, tasks:1731 also cites tasks.md:94–96, task 6.3, which b710d0da leaves at those lines. Each note follows the lines it departs from, so every cite still holds.
  • T346's verify, run through the serialized wrapper on the code part at 4dde2d3a, TMPDIR=/tmp bash tests/run.sh -k 'test_release_workflow or test_install or test_openrepotools_command or repo_hygiene': 1335 passed, 28 skipped and 4168 deselected, exit 0, on 2026-11-15. That is 792b0207's 1291, 73ef3e8c's one new case, a-folder-under-its-name, 6550eee1's 20, the version guard's cases in pypi and asset and the tag recheck's in asset and for an unreadable tag object, and 633fe40d's 7: the last step's two late read-back cases and its forge-text case, the tag recheck's carriage-return case in testpypi, pypi and asset, and the list check's; and 4dde2d3a's 16: the tag recheck's four new cases (gh's report holding a NUL, and three answers that are not an object id) in each of the three jobs, and the last step's four (assets a number and a boolean, JSON nested past what Python reads, and gh's bytes that are not UTF-8).
    • That run has no spec root, so the document tests skip. The hygiene run below was made on 633fe40d, before 4dde2d3a. tests/test_repo_hygiene.py is the one module of the selection that reads the spec root, and -k 'repo_hygiene' with b710d0da as the spec root (OPENREPOTOOLS_SPEC_ROOT), on the code part at 633fe40d, gives 1 failed, 251 passed, 14 skipped and 5249 deselected, as at 8aaf0fd2, with 28 more deselected for the code part's new cases. The 14 skips are the assembly root's documents.
    • The one failure is not this PR's. test_the_exit_3_documentation_agrees_with_the_die_message_it_describes holds the code leg's lanes-edit.sh against the manual, docs/README-lanes.md, and the code part's base, line R, carries exit-3 causes the manual does not name yet.
    • Neither file differs with or without T346: lanes-edit.sh is the same blob at 142afd90, 5a5a74dd and 633fe40d, and docs/README-lanes.md is the same blob on main, at this head, on spec#17 and on spec#48.
  • CI: the spec repository has no workflow at 22eaa08b, so no check waits to be green.
  • Review:
    • T346's delta review (opus) read READY at spec c34160d and code 4f6c67f (Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 (comment)). Its one SHOULD, on release-tags-pypi, led to "1a".
    • The departure notes came after that review. Lane 3 checked them at 4efb9ef and 46cb01a.
    • Lane 3's independent review (opus) read READY at 8aaf0fd2, with one SHOULD and two NITs, all answered in this body (briefs/165-review/review-spec57-8aaf0fd2-1114d.md). It judged proposal.md:701 and task 6.3 historical, under v1.1.0's own cutover; lane 3 takes Codex's view.
    • Codex's review of 8aaf0fd2 read NOT READY, with two BLOCKING findings, one SHOULD and one NIT (codex-review-prompts-20261113e/reports/spec-57-8aaf0fd27d1c.md). 73ef3e8c answers finding 1 in the code part, and this PR's text does not change for it. b710d0da answers findings 2 and 3, and this body answers finding 4.
    • Codex's re-review of b710d0da, with the code at 73ef3e8c, read NOT READY, with one BLOCKING finding and one SHOULD (codex-review-prompts-20261113e/reports/spec-57-b710d0da5ddb.md). It found findings 2, 3 and 4 fixed, and finding 1 partly fixed: workflows.md:436 was still false for the version guard, which printed a second line, and for the tag recheck, which let gh's own report through. 6550eee1 fixes both in the code part, and this PR's text does not change for it. The SHOULD, on spec#48's head and the landing tree, is answered in "Its task text" and "Order and landing" above.
    • Codex's second re-review of b710d0da, with the code at 6550eee1, read NOT READY, with two BLOCKING findings and no SHOULD or NIT (codex-review-prompts-20261113e/reports/spec-57-b710d0da-6550eee1.md). It found every earlier finding fixed but finding 1, still partly fixed: the asset job's last step printed a line of what went through before a late read-back refusal, and the tag recheck let a raw carriage return in gh's report start a second line. 633fe40d fixes both in the code part, and by lane 3's judgment escapes the forge's text in the list check and the last step too; this PR's text does not change for it.
    • Codex's third re-review of b710d0da, with the code at 633fe40d, died on Codex's usage limit at 06:25:53Z, with no report. Brett then waived the Codex review for each code PR until the limit resets, with independent Opus 5.5 exact-head reviews in its place: his choice "Waive Codex, use Opus reviews", at 2026-11-15T11:48:56Z, whose text read "Until the reset, you waive the Codex review for each code PR. Lane 3 runs an independent Opus 5.5 exact-head review in its place, recorded honestly as a Claude review rather than a Codex receipt, and merges P01 on it under your control-PR ruling." (relayed at Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 (comment)). That it covers this PR's review, which also reads T346's code part, is lane 3's reading.
    • Lane 3's Opus review of b710d0da, with the code at 633fe40d, in the third re-review's form, read NOT READY (codex-review-prompts-20261113e/reports/opus-spec-57-b710d0da-633fe40d5939.md). It found one BLOCKING finding: a NUL in gh's report made the tag recheck's refusal two lines. It found three SHOULD: the forge's answers written raw on that step's refusals; the last step's tracebacks on a releases list outside the forge's schema; and this body's claims of main, of tasks:2803 and of 633fe40d. And it found a NIT, in said()'s comment. Every other earlier finding it found fixed. 4dde2d3a answers the BLOCKING finding, the first two SHOULD and the NIT in the code part, and this body answers the third SHOULD; this PR's text does not change for any of them.
    • Lane 3's Opus review of b710d0da, with the code at 4dde2d3a, read READY, with every one of the 13 earlier findings fixed, three new SHOULD and three NITs (record 007 T346: feature 006's FR-034, FR-042, data model and release.yml contract take the draft GitHub Release that holds check 1's digest list, and release-tags-pypi carries the dated departure notes (part of opensoft/openRepoTools#165) #57 (comment); report codex-review-prompts-20261113e/reports/opus-spec-57-b710d0da-4dde2d3a5829.md, sha256 8ac00f31…). This body answers NS1, NS2 and NN1. NS3, NN2 and NN3 are in the code part, and go to T346's code follow-up 5, which lane 3 ruled is not needed before landing.
    • This PR stays a draft until P08 is ready to land ("Order and landing").

Not in this PR

  • Check 1 on a host that installs by ./setup.sh. Brett picked "Vendor release as package (Recommended)" on 2026-11-13 (RULINGS-brett-20261113e-q1-q6.md:18-19). That is workBenches' re-vendor, and nothing here changes it.
  • No archive of release-tags-pypi, no tag, and no change to the assembly root's pins.

🤖 Generated with Claude Code

brettheap and others added 2 commits November 14, 2026 15:48
…s step 15 and the asset job, and FR-034, FR-042 and data-model.md carry the draft flow of Brett's "3a" (part of opensoft/openRepoTools#165)

What changed, by T346's words (007 tasks.md :1733-1734 at c525d53):

- specs/006-release-pypi/contracts/workflows.md: "contracts/workflows.md's
  release.yml list (feature 006) names the step". It adds the jobs line's
  asset, the procedure's publish step, the build's step 15 (check 1's
  digest list, with its refusals and outputs), an asset section (its one
  grant, its condition, and its draft, upload, re-run and read-back
  rules), and what tests/test_release_workflow.py holds of both.
- specs/006-release-pypi/spec.md: "T346's spec PR amends feature 006's
  FR-034 and FR-042". FR-034's step now publishes the draft the asset job
  made, and must say to re-run asset if it failed and never to publish
  without the list. FR-042's GitHub Release is published with its notes
  file, from that draft.
- specs/006-release-pypi/data-model.md: "and its data-model.md, the job
  table's asset row among them". It amends the GitHub Release row, the
  states line, the job table's new asset row, and the build's outputs.

Why: Brett Heap's "3a" (2026-11-11, in lane openRepoTools-3's session),
"a. Accept the draft flow, and amend FR-034, FR-042 and `data-model.md`
(Recommended)". With it, release.yml's asset job creates the release as
a draft holding check 1's list, and the release owner publishes it with
the notes.

How it was built: the three files are byte for byte the reviewed T346
spec branch's at 46cb01a. None of the three changed from 77b6815 to spec
main 7812b44. That branch's dated departure notes in
openspec/changes/release-tags-pypi/ (Brett's "1a" of "1a 2b",
2026-11-12) are not carried: T346's files: at c525d53 (tasks.md:1728)
does not list those paths.

Verify: the spec leg has no workflow of its own. T346's verify line runs
in the code leg, on line R's 142afd90 with T346's code part, through
tests/run.sh -k 'test_release_workflow or test_install or
test_openrepotools_command or repo_hygiene':
- before, 1233 passed, 28 skipped, 4168 deselected, exit 0;
- after, 1291 passed, 28 skipped, 4168 deselected, exit 0.
git diff --check is clean.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ecision 11 and proposal.md each carry a dated note that the GitHub Release follows the draft flow, on Brett's "1a" (part of opensoft/openRepoTools#165)

What changed, by T346's words (007 tasks.md at 870ed1f, follow-up
commit 23, #48):
- :1728's files: names the three texts,
  ../spec/openspec/changes/release-tags-pypi/specs/release-tags-and-branches/spec.md,
  ../spec/openspec/changes/release-tags-pypi/design.md and
  ../spec/openspec/changes/release-tags-pypi/proposal.md.
- :1731: "T346's spec PR puts the dated departure note, citing "3a", on
  the three texts that still say the release is made from its notes
  file or by hand", spec.md:111-113, design.md:487 and proposal.md:496.

The notes:
- specs/release-tags-and-branches/spec.md: after the requirement
  "Release notes and GitHub Releases" (:111-113), 21 lines.
- design.md: in Decision 11, after the "by hand" bullet (:487) and its
  sub-bullets, 27 lines.
- proposal.md: under the "Each GitHub Release" bullet (:496), a shorter
  note of 7 lines.
- Each is headed "Departure noted 2026-11-12, on Brett Heap's "1a"",
  states the draft flow, and leaves the text it departs from as it
  stood. Each names the other two places.
- No line with SHALL or MUST is added, removed or changed. The cites at
  tasks:1731 still hold, since each note follows the lines they name.

Why: Brett Heap's "1a" of "1a 2b" (2026-11-12, received about 04:00Z,
in lane openRepoTools-3's session; lane 3's record brett-1112-1a-2b.md,
:3 and :8): "a. A dated departure note in `release-tags-pypi` itself,
citing "3a", in T346's spec PR (Recommended)". The "3a" it cites
(2026-11-11, received by 22:42:44Z; RULINGS-brett-20261111-1a-2a-3a.md
:19): "a. Accept the draft flow, and amend FR-034, FR-042 and
`data-model.md` (Recommended)". The notes quote both verbatim.

Where each statement comes from:
- the draft flow, the re-run rule, and the release owner publishing
  the draft with the notes: T346's :1734;
- the list's name, openRepoTools-<version>.sha256: Brett's "Release +
  installer (Recommended)", as T346's :1729 quotes it;
- the publish command and "Step 5": release.yml's RELEASING header,
  :127-136, at code 5a5a74dd (T346's code part);
- "asset needs the pypi job, which ends with PyPI serving the version,
  and it reads no notes file": release.yml :2235 (needs: [build,
  pypi]); the pypi job's last step, "the index serves exactly the
  verified wheel" (:2193); the draft's one-line notes of the job's own
  (:2333-2335, :2386-2387); and this branch's workflows.md :425-427,
  "The job never reads the release notes (FR-046)".

How it was built: the three files are byte for byte lane 3's T346 spec
branch's at 46cb01a (blobs 503ff7b, 5f998b2 and af29244), the net of
its commits 2d785b2, 9ae0ed8, 4efb9ef and 46cb01a. None of the three
changed from 77b6815 to spec main 7812b44, so the notes go in as 55
inserted lines and no removed line. 0927f1d left them out because
T346's files: at c525d53 did not list these paths; the follow-up's
commit 22, 4d00a20, added them. Lane 3 checked the notes at 4efb9ef and
46cb01a; no independent review of them is on record.

Checks: DO_NOT_TRACK=1 openspec validate release-tags-pypi --strict
reports the change valid (openspec 1.13.1). git diff --check is clean.

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

sourcery-ai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Data structures

The release data model now records the draft-with-digest-list state, the asset job, and the digest-list outputs.

  • specs/006-release-pypi/data-model.md L157, L162, L183-190

API

The release requirements and workflow contract define how the digest list is built, attached to a draft, verified, and published with the notes.

  • specs/006-release-pypi/contracts/workflows.md L133-139, L269-292, L400-438 (+2 small edits)
  • specs/006-release-pypi/spec.md L705-713, L790-794

Documentation

The dated departure notes explain where the draft flow supersedes the existing release-from-notes wording while preserving that historical wording.

  • openspec/changes/release-tags-pypi/design.md L498-524
  • openspec/changes/release-tags-pypi/proposal.md L498-504, L702-715
  • openspec/changes/release-tags-pypi/specs/release-tags-and-branches/spec.md L115-135
  • openspec/changes/release-tags-pypi/tasks.md L97-109

Tests

The workflow contract records the expected permission and behavior checks for the new asset job and digest-list step.

  • specs/006-release-pypi/contracts/workflows.md L447-448, L487-532

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

… proposal.md and its open task 6.3 each carry a dated note that the GitHub Release follows the draft flow, on Brett's "1a" (part of opensoft/openRepoTools#165)

What changed, in answer to Codex's review of this PR at 8aaf0fd
(NOT READY; its finding 2, BLOCKING, and finding 3, SHOULD), by lane
3's rulings on that review (2026-11-14):
- proposal.md: under step 6's "the GitHub Release is created from
  `docs/release-notes/v1.1.0.md`" (:701), an active cutover step, a
  note of 14 lines.
- tasks.md: under the unticked task 6.3 (:94-96), a note of 13 lines.
  It says to verify that the draft `asset` made holds
  openRepoTools-<version>.sha256, publish that draft with the notes on
  Brett Heap's word, then cut release/v1.1 at v1.1.0.
- Each is headed "Departure noted 2026-11-14, on Brett Heap's "1a"",
  states the draft flow, cites "3a", names the publish command, gh
  release edit v<version> --repo <repository> --draft=false
  --verify-tag --notes-file <spec>/docs/release-notes/v<version>.md,
  and leaves the text above it as it stood. Each says that design.md's
  Decision 11 and the delta spec's "Release notes and GitHub Releases"
  carry the note whole.
- No line is removed, and no line with SHALL or MUST is added, removed
  or changed. The cites at tasks:1731 (spec#48) still hold: proposal.md
  :496 is above the new note, and the other two files do not change.
- 8aaf0fd's three notes are left as they are, so they name each other
  but not these two.

Why: Codex found that proposal.md:701 and task 6.3 still direct the
release to be created from the notes file, after the draft already
exists. Lane 3 ruled on each: a dated departure note in "1a"'s form,
not a rewrite. That "1a" covers them, as it covered proposal.md:496,
is lane 3's reading. The independent review of 8aaf0fd judged both
historical, under v1.1.0's own cutover, and lane 3 takes Codex's view.
- "1a" (2026-11-12, typed as "1a 2b" in lane openRepoTools-3's session;
  lane 3's record brett-1112-1a-2b.md, :3 and :8): "a. A dated
  departure note in `release-tags-pypi` itself, citing "3a", in T346's
  spec PR (Recommended)".
- "3a" (2026-11-11; RULINGS-brett-20261111-1a-2a-3a.md :19): "a. Accept
  the draft flow, and amend FR-034, FR-042 and `data-model.md`
  (Recommended)".

Where each statement comes from:
- the draft flow, the re-run rule, and the release owner publishing the
  draft with the notes: T346's :1734 (spec#48 at d1a66b2);
- the publish command: release.yml's RELEASING header, step 5,
  :127-136, at code 5a5a74dd (T346's code part);
- `asset` needs `pypi` (:2235) and reads the list back at the build's
  sha256 (:2414-2419), at code 5a5a74dd.

Scope: release-tags-pypi's tasks.md is not among T346's files: at
spec#48's d1a66b2 (tasks:1728), which names the delta spec, design.md
and proposal.md. Codex's finding 3 asks for it to be added there, which
is spec#48's change.

Codex's finding 1 (workflows.md:436) is answered in the code part, by
T346's follow-up commit over 5a5a74dd, and this PR's text does not
change for it.

Checks: DO_NOT_TRACK=1 openspec validate release-tags-pypi --strict
reports the change valid (openspec 1.13.1). openspec list counts 6/20
tasks for release-tags-pypi before and after. git diff --check is
clean.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-3: exact-head review record for spec#57 (this PR, opensoft/openRepoTools-spec PR 57, T346), with T346's code at B1d 4dde2d3a, by Opus as Brett's waiver names

  • The reviewer: Claude Opus 5.5 (claude-opus-5-5). It is an independent exact-head review, made in place of Codex under Brett Heap's waiver of 2026-11-15T11:48:56Z ("Lane 3 runs an independent Opus 5.5 exact-head review in its place"), quoted in Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165 comment 6893886125. This is a Claude review, not a Codex local-review receipt.
  • What was reviewed:
    • spec head b710d0da5ddbd7bf3169ab226ef8bf69c078b746, on base 7812b447;
    • with T346's code at 4dde2d3a5829ca1f10929dfa59416148f005ec63, which is B1d, on B1c 633fe40d.
  • The verdict: READY. All 13 earlier findings are fixed.
    • That includes the earlier Opus review's BLOCKING B1. A NUL in gh's report made the tag refusal two lines; now tr -d '\000' runs in all three jobs.
    • It also includes that review's S1, S2 and S3.
    • NS1 (SHOULD, body line 21):
      • Since spec#60's commit 31 (8f50d105), tasks:1731 names task 6.3 (tasks.md:94–96). No T346 text names proposal.md:701.
      • So the body's sentence is half wrong. The body will be fixed.
    • NS2 (SHOULD, body line 8): 633fe40d and 4dde2d3a are not on GitHub yet. They are in lane 3's bundle, share/l3-007-T346-B1d-4dde2d3a5829.bundle, until line R takes them. The body will say so.
    • NS3 (SHOULD, code, latent):
      • release.yml:2494 splits gh's JSON with splitlines(), which also breaks at U+0085, U+2028 and U+2029.
      • So a release whose text holds a NEL would be refused, in one line, with the wrong cause. No current release holds one.
      • Lane 3 rules: a later T346 code commit (follow-up 5) uses split("\n"), with a case held apart from ASSET_CASES. It is not needed before landing.
    • NITs NN1 to NN3: the body's wording (NN1), and two code comments (NN2 and NN3), which go in the same follow-up 5.
  • What was checked:
    • by hand, from release.yml's own step scripts with the tests' assertions, with no wrapper run:
      • 33 TAG_AGAIN runs;
      • 48 NUL-report runs;
      • 99 answer runs;
      • 21 ASSET_RUNS;
      • 7 LIST_CASES;
      • 16 guard runs;
    • red and green: at 633fe40d, exactly the 16 new ids fail, each for its stated reason;
    • the logs: the red, green, module, verify and hygiene logs, against their counts;
    • actionlint with shellcheck: clean;
    • openspec: validates strict;
    • the merges onto main: clean;
    • the five departure notes: insert-only, with Brett's quotes exact.
  • The report: lane 3's codex-review-prompts-20261113e/reports/opus-spec-57-b710d0da-4dde2d3a5829.md, sha256 8ac00f31bb7502df7a46b865275471780ae8c4a6d6fd9abecd91bf74e5e17b13. Its transcript's assistant messages are all claude-opus-5-5.
  • Lane 3 accepts this review for this exact pair. Lane 1 can take B1c and B1d onto line R now, and P08's cut can follow.

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