Skip to content

release.yml's RELEASING header names repository settings that no spec, contract or task states: self-review allowed, administrators not bypassing, and a tag ruleset's name and rule #279

Closed
opensoft/openRepoTools-spec
#13

Description

@brettheap

Found by lane openRepoTools-2's independent review of #228's pull request 3, now #268 (its verdict is #228's comment 6273189381, NIT table row "Wording", its last item: the reading-and-probes reviewer's NIT 6). The review's words: ":194-199 names settings that no spec, contract or task states."

What happens

  • release.yml:194-199 at 29cc1b3, in the header's "RELEASING: THE PROCEDURE" block, under "BRETT HEAP'S ACTS, NONE OF THEM A LANE'S", says what Brett Heap creates in the repository that releases. It names six settings:
    1. the environments testpypi and pypi;
    2. each with brettheap as the required reviewer;
    3. self-review allowed;
    4. administrators not bypassing;
    5. a deployment limit of exactly one tag rule, v*;
    6. a ruleset on the tags v*, "Release tags v*: only admins create, move or delete", which the header says "is not checked here (ACCEPTED LIMITS)".
  • What the 006 documents say, checked again at caa9c0f, the head of quickstart.md has been run and its three wrong passages fixed, the 006 docs cite the tests where they now sit, and the partial-stamp example is the line stamp_read prints (#228) #270 and the last commit of the stack (specs/006-release-pypi/ spec, contracts and tasks, and the OpenSpec change release-tags-pypi):
    • Stated: 1, 2 and 5. spec.md:618-620 (FR-029) has both environments name a required reviewer and each hold a deployment limit of exactly one rule, the tag pattern v*; contracts/workflows.md:205-208 says at least one required reviewer, custom_branch_policies true, and exactly one policy of type tag named v*; spec.md:909-910 and the OpenSpec tasks.md:60-63 (task 4.1) name brettheap as the reviewer.
    • Not stated: 3 and 4. Neither "self-review allowed" nor "administrators not bypassing" appears in any of them.
    • 6 only in part: spec.md:911 lists "the v* tag rulesets" among Brett Heap's acts, and contracts/workflows.md:159-160 says the same. The OpenSpec proposal (proposal.md:596-597) recommends "a ruleset on the tags v* that lets only him create, move or delete one". No document gives the ruleset's name, and the proposal says "only him" where the header says "only admins".
  • What the build reads of them: the build's environment step (:478-520 at 29cc1b3) reads that each environment has a required reviewer (any, not brettheap in particular), that custom_branch_policies is true, and that the rules are exactly ("tag", "v*"). It reads nothing of 3, 4 or 6.

Where

How it was found

The ask

  • Only Brett Heap can confirm the settings: they are his acts, and the header says no lane's.
  • Ask him to confirm each of the six, then, for each, either write it into the spec or contract, or take it out of the header.

Why it is not in v1.1.0

  • It is a NIT in the review's table (status NEW: in neither of lane 3's fix rounds), and settling it needs Brett Heap to confirm the repository's settings before the text or the header changes.

Filed in milestone v1.2.0 on Brett Heap's word (2026-10-19T18:3xZ, "yes, file the v1.2.0 issues"). It is unclaimed.

Lane: openRepoTools-3

🤖 Generated with Claude Code

Activity

  1. added this to the v1.2.0 milestone on Oct 19, 2026
  2. brettheap commented on Oct 20, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoTools-2, session 202778d2-0e63-4478-9c95-fdde314b0524@Eagle, 2026-10-20T23:02:39Z, for #279

    Logged in lanes/log/openRepoTools-2.md at 590d0e1475c220a3db2ea45e40d0a9bf94e32476.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#279:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#279"`, kept where the row or its body names `#279`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `279` as a whole token:
       none
    
  3. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-2, 2026-10-21T02:5xZ: #279 is done, on a branch only. It is branch test/279-releasing-header-settings-lane2, two commits on main a42946e:

    • 07691a0, the spec side: specs/006-release-pypi/spec.md:910-929 and contracts/workflows.md:160-170;

    • 678f10e, the code side: release.yml:196-207, comments only.

    • The spec and the contract now state the live settings: each environment's settings and the tag ruleset, as the repository has them. I read them by GET at 02:50Z, as lane 3 did in Releases: annotated tags, release/vX.Y branches, and openrepotools on TestPyPI and PyPI from v1.1.0 #228 6290094699.

      • Each environment has a required reviewer, administrators not bypassing, self-review allowed, and one deployment policy, for v* tags.
      • The ruleset covers creating, updating and deleting refs/tags/v*, and only the admin role bypasses it.
      • The header and the spec also say that the build reads only the reviewer and the deployment limit.
    • A real error, fixed. The header gave this repository's ruleset the name "Release tags v*: only admins create, move or delete", which is openRepoShape's ruleset's name. This repository's is "Release tags v*". The header now gives the rule in words, and the name for opensoft/openRepoTools only.

    • Results: -k 'test_release_workflow or repo_hygiene' passes 736. The workflow's code is unchanged.

    • Open, for Brett Heap: the record holds no words of his for self-review being allowed, or for administrators not bypassing. They are the live settings on both repositories, so the spec states them. The commit message says this, and lane 3 may want to put the text to him before it reaches openRepoTools-spec.

    Lane: openRepoTools-2

  4. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-2, 2026-10-21T14:4xZ: #279's S1 wording fix and the proposal fix are on the branch, and Brett Heap's two words close M1.

    Branch test/279-releasing-header-settings-lane2 is three commits longer, on a42946e and not rebased (main was 33ce26d at 14:1xZ, and git merge-tree of the branch with it is clean). 07691a0 and 678f10e are as they were.

    • 7018276, code: .github/workflows/release.yml:202-204, comments only.
    • 682cab7, spec: specs/006-release-pypi/contracts/workflows.md:168-169.
    • 7e5d7cc, spec: openspec/changes/release-tags-pypi/proposal.md:596-597.

    S1, fixed by 7018276 and 682cab7. The header said "Only the reviewer and the limit are checked here" and the contract said "The workflow reads the reviewer", as if the workflow compared the reviewer with brettheap. It never does: the build's environment step (release.yml:518) and each upload job's re-check (:1131, :1642) test only if not reviewers:. Both texts now say that a required reviewer is named, "any, not brettheap in particular", as this issue puts it and as spec.md:926-927 already did.

    M1, closed by two words of Brett Heap's, both of 2026-10-21, as the coordinator relayed them.

    1. "the admin role is fine, keep it as written". 07691a0 is unchanged, so its three settings stand: self-review allowed, administrators not bypassing, and only the admin role creating, moving or deleting a v* tag (spec.md:914-921, contracts/workflows.md:162-166), with the two reason clauses at spec.md:914-917.
    2. "yes, update the proposal to say the admin role". 7e5d7cc does it: proposal.md recommended a ruleset "that lets only him create, move or delete one", and now recommends one on the tags v* under which only the admin role creates, moves or deletes one, in 07691a0's words. The live ruleset 25471926, "Release tags v*", agrees: its one bypass actor is the admin role (RepositoryRole 5, always), by GET at 14:4xZ. Nothing else in the proposal changed, and no account is named.

    The message of 7018276 says M1 waits for his word; that word has come.

    Proof.

    • 7018276 and 682cab7 are comments and prose: the lines of release.yml that are not comments hash the same before and after, and no test pins either old sentence, so there is no mutant to run. -k 'test_release_workflow or test_tests_workflow or test_package' on 682cab7: 699 passed, 5 skipped, exit 0 (the 5 skips are all in tests/test_package.py: OPENREPOTOOLS_TEST_WHEEL is unset).
    • 7e5d7cc is two lines of prose that no test reads, except the tracked-text scan in tests/test_repo_hygiene.py. -k repo_hygiene on 7e5d7cc: 237 passed, 2696 deselected, exit 0.

    Still open. Nothing of RV-C's for this issue. Nothing here merges until v1.1.0 is tagged; then lane 3 cherry-picks the code commits into openRepoTools-code and the spec commits into openRepoTools-spec.

    Lane: openRepoTools-2

  5. added a commit that references this issue on Oct 21, 2026
  6. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-2, 2026-10-21T16:2xZ: the final review of #279 is READY, with no MUST and no SHOULD. It was an opus pass, on Brett Heap's word.

    • Head: e6fc996. It holds the branch's own commits 07691a0, 678f10e, 7018276, 682cab7 and 7e5d7cc, plus a merge of main 33ce26d that changes nothing but main's delta.
    • M1 is closed by Brett Heap's two words. Four texts now read "only the admin role creates, moves or deletes one":
      • the spec (spec.md:919-921);
      • the contract (workflows.md:165-166);
      • the RELEASING header (release.yml:205-207);
      • the proposal (proposal.md:596-597).
    • The live settings match them, read by GET at 15:58Z.
      • Ruleset 25471926: active on refs/tags/v*, with creation, update and deletion rules, and one bypass actor, repository role 5 (admin), always.
      • Both environments: administrators cannot bypass, the required reviewer is brettheap, self-review is not prevented, and the only policy is a v* tag.
    • S1 is FIXED. The header and the contract now say that a required reviewer is named, any reviewer and not brettheap in particular.
      • The code checks only if not reviewers: (release.yml:521, :1134 and :1645).
      • 7018276 changes comments only: its non-comment lines hash the same before and after, and its YAML data is equal.
    • Flakiness: two runs, with 766 and 736 passed and no flake.
    • CI: run 39620578619 on e6fc996 has all four jobs green.
    • One optional NIT: no test pins the header's new sentences (HEADER_CARRIES, tests/test_release_workflow.py:4084-4100), so a later drift between the header and the spec would not fail the suite. That goes beyond the issue's ask.

    Lane: openRepoTools-2

  7. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    Lane openRepoTools-2, 2026-10-21T16:3xZ: the one NIT of RVF-C's final review of #279 is fixed on the code side, in one new commit on top of e6fc996.

    Branch test/279-releasing-header-settings-lane2 is one commit longer, pushed as a fast-forward: cb3cd5a. It changes tests/test_release_workflow.py only (19 insertions, 3 deletions): no workflow and no spec text.

    What it fixes: the optional NIT of the final review (the verdict is comment 6320861931). No test pinned the RELEASING header's new sentences, so a later drift between the header and the spec would not fail the suite. HEADER_CARRIES gains four phrases, each verbatim from the header as header() joins it (so a rewrap changes nothing), under a comment that says why, and the docstring of test_release_header_says_what_releasing_needs names them:

    • the environments' settings: "each with brettheap as the required reviewer, self-review allowed, administrators not bypassing, and a deployment limit of exactly one tag rule, v*." (the self-review and bypass settings, as the header words them);
    • the required-reviewer sentence: "Only that a required reviewer is named (any, not brettheap in particular) and the limit are checked here (FR-029)." (S1);
    • the ruleset's rule: "only the admin role creates, moves or deletes one" (M1);
    • one the NIT did not name, from the same header lines: "The build refuses every dispatch until both environments exist with a required reviewer and the deployment limit, and no job reads more of these acts than that."

    Mutant proof, in private clones of the branch, with LANES_* and TMUX* unset, -k test_release_header, the pinned standard initialised. Each mutant changes one line of release.yml's header.

    • Unmutated, on cb3cd5a: 28 passed, exit 0.
    • Five mutants, each applied alone and then reverse-applied. Each gives 1 failed and 27 passed, and the failing case is the phrase it changes, as AssertionError: the RELEASING header never says '...':
      • "only the admin role creates, moves or deletes one" made "only admins create, move or delete one";
      • "(any, not brettheap in particular)" made "(brettheap)";
      • "self-review allowed" made "self-review prevented";
      • "administrators not bypassing" made "administrators bypassing";
      • ", and no job reads more of these acts than that" dropped.
    • The gap was real: on e6fc996, with the old test, four of those mutants applied together (the admin role, the reviewer, self-review and "no job reads more") pass: 24 passed, exit 0.

    Tests. -k test_release_workflow on the tree before the commit: 503 passed, none skipped, exit 0, the four new cases among them.

    CI. Run 39636608570, dispatched on cb3cd5a, in progress when this was posted: guard-launch-mode is green, and package, tests and tests-no-submodule are running. The last full run on this branch, on e6fc996, has all four jobs green.

    Still open. Nothing from this review. The four phrases hold the header's words only. After the cutover the code leg carries no specs/, so no test there can compare the header with the spec: the comment above the phrases is what tells the next editor to move both.

    Lane: openRepoTools-2

  8. modified the milestones: v1.2.0, v1.2.1 on Nov 8, 2026
  9. brettheap commented on Nov 9, 2026

    @brettheap
    ContributorAuthor

    RELEASED — lane openRepoTools-2, session 202778d2-0e63-4478-9c95-fdde314b0524@Eagle, 2026-11-09T23:29:03Z, for #279 — W2 landed it as opensoft/openRepoTools-code#14 merge 5d6eced and opensoft/openRepoTools-spec#13 merge a980d93 and the issue is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions