Repository navigation
The spec, contracts/workflows.md and the proposal state the settings of Brett Heap's release acts that release.yml's header names, and that only the admin role creates, moves or deletes a v* tag (closes opensoft/openRepoTools#279) - #13
Conversation
…s release acts that release.yml's header names and no document did: self-review allowed, administrators not bypassing, and the tag ruleset's rule and name (#279) release.yml's RELEASING header says what Brett Heap creates in the repository that releases: both environments with brettheap as the required reviewer, self-review allowed, administrators not bypassing and one tag rule `v*`, and a ruleset on the tags `v*`. spec.md (FR-029 and "Brett Heap makes the acts outside the repository") and contracts/workflows.md stated the reviewer, the limit and "the `v*` tag rulesets", and neither of the other two environment settings nor the ruleset's rule or name. - spec.md's assumption now lists each environment's four settings and the ruleset (named "Release tags v*" in opensoft/openRepoTools, and only the admin role creates, moves or deletes a `v*` tag), and says that release.yml reads only the reviewer and the deployment limit. - contracts/workflows.md's header section 5 says the header carries them, and that the workflow reads those two and nothing else of these acts. Checked against what is configured, by read-only GitHub API calls at 2026-10-21T02:50Z, opensoft/openRepoTools: both environments have can_admins_bypass false, one required_reviewers rule naming brettheap with prevent_self_review false, custom_branch_policies true and exactly one policy, type tag, `v*`; ruleset 25471926 "Release tags v*" is a tag ruleset, active, on refs/tags/v*, with the rules creation, update and deletion and the admin role (RepositoryRole 5) as its one always-bypass actor. Lane 3 read the same on 2026-10-20 (#228, comment 6290094699). openRepoShape's two environments carry the same settings, and its v1.1.0 release notes record "no admin bypass and one deployment rule" and its tag ruleset as made on Brett Heap's word of 2026-10-16T12:06:40Z. What the record does not hold is Brett Heap's own word on self-review and on administrators not bypassing as policy for these two repositories: the issue says only he can confirm them, so lane 3 should put this text to him before it reaches openRepoTools-spec. The OpenSpec change release-tags-pypi is left as it is: its proposal only recommends the ruleset, and its task 4.1 is a to-do. Lane: openRepoTools-2 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> (cherry picked from commit 07691a097a336aad1236e254ed0aa99174af8032)
…names a required reviewer, any reviewer and not brettheap in particular, where it said "the reviewer" (#279)
RV-C's review of this branch (SHOULD S1), the spec side of the code commit
before this one. Section 5 of "The header" said "The workflow reads the
reviewer and the deployment limit", which reads as if the workflow compared
the reviewer with brettheap. It never does: the build's step 5 and each upload
job's re-check test only that the environment names some required reviewer,
and the issue itself says "(any, not brettheap in particular)". The sentence
now says that, as the contract's own step 5 list ("each names at least one
required reviewer") and spec.md's assumption ("a required reviewer") already
do.
Not touched, and waiting for Brett Heap's word: RV-C's MUST M1, the three
settings that spec.md's assumption and this section's list state as his acts
(self-review allowed, administrators not bypassing, and only the admin role
creating, moving or deleting a `v*` tag). Nothing here changes any of the
three.
Part of #279.
Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 682cab785bd5040b9ada741541c02d82daef8210)
…n the tags `v*` under which only the admin role creates, moves or deletes one, where it said a ruleset that lets only him (#279) RV-C's review of this branch (MUST M1) found that 07691a0 states the tag ruleset's scope as "only the admin role creates, moves or deletes one" (spec.md:914-921, contracts/workflows.md:162-166) while the proposal, at proposal.md:596-597, still recommended a ruleset "that lets only him create, move or delete one". Its fix says to bring proposal.md:596-597 into line. Brett Heap decided M1 on 2026-10-21, in words the coordinator relayed to lane 2: "the admin role is fine, keep it as written", so 07691a0's three settings stand. Of this proposal he then said: "yes, update the proposal to say the admin role". The recommendation now says what the spec says, in the spec's words: a ruleset on the tags `v*` under which only the admin role creates, moves or deletes one. The live ruleset 25471926, "Release tags v*", has the admin role (RepositoryRole 5, always) as its only bypass actor, so the proposal and the ruleset now agree. Nothing else in proposal.md changed and no account is named. It was the only place in openspec/, specs/ and docs/ that said "only him". Part of #279. Lane: openRepoTools-2 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> (cherry picked from commit 7e5d7cce15ec439c7aecbf5f6ccb333af93b2448)
Reviewer's GuideDocumentationRead the specification and workflow contract together to review the stated release-environment and tag-ruleset settings and the limits of what the workflow checks.
Review the proposal’s recommendation that the
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="specs/006-release-pypi/spec.md" line_range="928-929" />
<code_context>
+ - the `testpypi` and `pypi` environments, in both repositories in turn,
+ each with:
+ - brettheap as the required reviewer;
+ - self-review allowed, because lane sessions act as brettheap, the one
+ reviewer;
+ - administrators not bypassing, so that no account, an administrator's
+ included, skips the approval;
</code_context>
<issue_to_address>
**Unconfirmed policies become requirements**
When brett Heap has not confirmed the self-review and administrator-bypass settings, `spec.md` presents those settings as Brett Heap's choices, and the contract makes them requirements, so implementers treat unconfirmed release-governance policy as settled and the spec misstates his intent.
Mark both settings unresolved pending Brett Heap's confirmation in the spec and contract.
Also at `specs/006-release-pypi/contracts/workflows.md:162-166`.
</issue_to_address>Sourcery assessment
Needs a human reviewer. 1 finding to address first, and the spec changes who may create, move, or delete v* release tags from Brett alone to the GitHub admin role; an authorized admin could therefore trigger a release under a policy that is too broad, and the resulting package publication cannot be undone by reverting this documentation. This is a release-authorization decision, not merely wording.
Blocking findings: specs/006-release-pypi/spec.md:929
The in-place merge of runbook v9: the stack grows by this clean merge, with no force-push. Lane: openRepoTools-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane: openRepoTools-2
Claim: opensoft/openRepoTools#279 (comment)
The spec side of this issue's code PR. These picks change text only. spec.md (only its Assumptions
section, the passage on the acts Brett Heap makes outside the repository: FR-029 is unchanged) and
contracts/workflows.md now state the settings that release.yml's header names and no document did:
each environment's self-review allowed and administrators not bypassing, and the tag ruleset's rule
and its name in opensoft/openRepoTools. They say that the workflow reads only that each environment
names a required reviewer (any reviewer, not brettheap in particular) and the deployment limit. The
last pick makes the OpenSpec change release-tags-pypi's proposal recommend the same ruleset, one on
the tags v* under which only the admin role creates, moves or deletes one, following Brett Heap's
decision of 2026-10-21 that the admin role is fine.
The picks, from lane openRepoTools-2's branches in opensoft/openRepoTools, each made with
git cherry-pick -xand followed by its source commit:(cherry picked from commit 07691a097a336aad1236e254ed0aa99174af8032)
(cherry picked from commit 682cab785bd5040b9ada741541c02d82daef8210)
v*under which only the admin role creates, moves or deletes one, where it said a ruleset that lets only him(cherry picked from commit 7e5d7cce15ec439c7aecbf5f6ccb333af93b2448)
Closes opensoft/openRepoTools#279.
Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code
Summary by Sourcery
Clarify the release policy and contracts for environment approvals and admin-controlled
v*tags.Enhancements:
v*tag management policy.Documentation: