Skip to content

docs: establish independent reviewer guidelines - #28

Open
gachakra wants to merge 3 commits into
developfrom
chore/reviewer-guidelines
Open

gachakra wants to merge 3 commits into
developfrom
chore/reviewer-guidelines

Conversation

@gachakra

@gachakra gachakra commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Summary

Prepare the independent reviewer role before introducing the dedicated GitHub App publication route.

  • Preserve the existing library design and development guidelines while clarifying independent architectural reasoning and the read-only review target.
  • Define fixed-revision, isolated verification, evidence-based findings and re-review expectations in docs/agent/review.md.
  • Document review publication authorization, identity, security boundaries and transition rules in docs/agent/github-operations.md.
  • Preserve the existing authorized review path until a separately reviewed bot infrastructure is activated. Planned review states are not enabled by this documentation.

Scope

Documentation only. No library API, dependency, README, CI, distribution rule, credential, GitHub setting or executable helper changes.

Validation

Confirmed the committed file contents and exact three-file diff against the development base. Existing CI remains applicable; its results have not yet been verified. Independent review is requested for clarity, consistency, authorization boundaries and the transition policy.

Follow-up

Implement and independently validate the dedicated publication route in a separate change before activating it.

Co-authored-by: Mizunoto No.4 Rabbit Arch <mizonoto.no4.rabbit+is.arch.&&!@doesreply.notonza.dev>

@gachakra gachakra left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Independent reviewer assessment for aaeb27dc4bde18065170c620f953a8e1a03849aa against develop at 4bc876dcd701dc995085cdfbe80de0a5d502e82a (also the merge base). I reviewed the full three-file documentation change and the existing reviewer rules. I recommend resolving the publication and revision gaps below before adopting the contract.

  • [P2] Specify the publication format and permitted review events during the transition. The base AGENTS.md allows either a formal PR review or a PR conversation comment. The proposed rules promise continuity with the existing authorized method, reserve formal reviews for technical evaluations, and defer APPROVE and REQUEST_CHANGES only “through the new route.” A reviewer whose authorized route can post conversation comments only has conflicting instructions, while a reviewer with an existing account able to submit approval can read that route as exempt from the activation rule. Spell out the permitted pre-activation event and whether an explicitly authorized conversation comment satisfies the publication requirement. Publication and review-state rules
  • [P2] Identify which revision supplies the operative reviewer rules. The scope checklist directs reviewers to read the root guidelines, but leaves their authority unspecified when those guidelines are themselves in the PR. For example, a PR that changes the publication route could be read as putting that route into effect for its own review. State that existing maintainer-authorized policy governs the review and that proposed changes to those rules are evaluated as evidence until explicitly adopted. This applies equally to checkout permissions and publication. Review scope
  • [P3] Check the reviewed diff context when publishing and verify the recorded commit. The freshness rule addresses head movement. In a read-only Git comparison of this exact head, it has 3 changed paths against develop and 9 against main. A retarget can therefore change what the PR contains without changing its head SHA. GitHub also defaults a formal review to the latest PR commit when commit_id is omitted, so an accurate SHA in the review body can coexist with a different GitHub review anchor. Recheck the head and diff base just before submission, bind a formal review to the reviewed SHA, and verify the returned review commit. If the comparison changed, reassess it or explicitly publish the result as historical. Re-review guidelines · Publication verification · GitHub review API

The read-only boundary distinguishes a detached worktree’s shared Git metadata from a separate clone and requires sandboxed execution. The contract leaves adoption and merge authorization with the maintainer. EnumEx’s checklist matches the accepted ADRs and API/test contracts for native case identity, pure and backed logical values, wrapper construction, strict matching, selection order and multiplicity, and the separate class-based enum API. The PHP 8.4 and 8.5 guidance matches the CI matrix. The two PRs use matching review rules with library-specific verification guidance. As a non-blocking clarification, specify that the agent or session responsible for implementing a revision should hand independent review to a separate reviewer, including when the same maintainer account publishes the result during the transition.

Verification. I matched GitHub’s PR patch to a local Git diff at the full SHAs, ran git diff --check, verified the new document link targets, and confirmed that the base and head Git archive path inventories match. I checked the library-specific criteria against the repository’s platform requirements, existing API/test contracts, and workflow. GitHub reports CI passed. Independent verification was static for this documentation-only change. Runtime suites, Composer and Docker checks, and future bot infrastructure were outside that independent execution scope.

gachakra and others added 2 commits December 5, 2026 18:12
Co-authored-by: Mizunoto No.4 Rabbit Arch <mizonoto.no4.rabbit+is.arch.&&!@doesreply.notonza.dev>
Co-authored-by: Mizunoto No.4 Rabbit Arch <mizonoto.no4.rabbit+is.arch.&&!@doesreply.notonza.dev>
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