Skip to content

docs(skills): rely on the GitHub reviews instead of local code reviews - #86

Merged
furedea merged 4 commits into
mainfrom
docs/rely-on-the-github-reviews
Nov 6, 2026
Merged

furedea merged 4 commits into
mainfrom
docs/rely-on-the-github-reviews

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

概要

PR のコードレビューを GitHub の claude-review と codex-review に一本化し,手元のコードレビュー規則を削除した.

  • delivery.md に「Review on GitHub」を追加(all-green を待つ,指摘の読み方,全指摘の修正と push,根拠のある却下,3 回目の再レビューで停止).仕組みは reusable-workflows の README へのリンク
  • herdr-delegation から Codex のレビューコマンド,Opus サブエージェント,確認レビュー,adversarial-review,コードレビュー割り当てを削除.計画レビューと Codex 実装(task --write --effort medium),LANE-READY / LANE-BLOCKED,workflow ファイルの push 引き継ぎは維持
  • branches.md と docs/DESIGN.md の該当箇所を delivery.md への参照に揃えた

Closes #85

検証

  • uv run pytest tests/test_workflow_skill_layout.py: 72 passed
  • 計画との差分:docs/DESIGN.md の古いレビュー行も更新した

🤖 Generated with Claude Code

@furedea

furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T17:44:25.799704Z 079a721 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.


## Review on GitHub

Every PR is reviewed on GitHub by `claude-review` and `codex-review`, both part of `all-green`; do

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 — git-workflow is a general skill that applies to any repository, but this section says every PR is reviewed by claude-review and codex-review and forbids local code review. The old herdr text covered other repositories ("Elsewhere the lane waits for that repository's required checks and uses its own push method"), and this PR deletes that fallback. In a repository without these workflows, step 1 can never finish because there is no all-green, and the agent is also told not to review locally, so the PR gets no review. Suggest limiting this to repositories that have these checks, as herdr-delegation still does ("in a repository that has those reviews"), and saying what to do elsewhere: wait for that repo's required checks.

1. After pushing, wait for `all-green`.
2. Read the findings: Claude's inline comments and summary comment, and Codex's inline comments and
Codex Review Summary (`codex-review-state`), with
`gh api repos/<owner>/<repo>/pulls/<n>/comments` and `gh pr view <n> --comments`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3 — gh api repos/<owner>/<repo>/pulls/<n>/comments without --paginate returns only the first 30 review comments. With two bots posting inline comments over up to 3 re-reviews, a PR can pass 30, and the rule "fix every finding" then quietly misses some. Suggest gh api --paginate repos/<owner>/<repo>/pulls/<n>/comments.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Review summary

This is a docs-only change that moves code review from local reviewers to the GitHub claude-review and codex-review checks. I checked the remaining references: ci.yml defines codex-review and includes it in all-green, and no stale mentions of the confirming review, adversarial-review, or the Opus subagent are left.

Findings (inline):

  • P2 delivery.md Review on GitHub: git-workflow applies to every repository, but this section assumes every repo has these checks and forbids local review. The fallback for other repositories (wait for that repo's required checks) was removed.
  • P3 delivery.md: gh api .../pulls/<n>/comments needs --paginate, or comments past the first 30 are missed.

No blocking findings.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 922829ad83

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +66 to +68
Every PR is reviewed on GitHub by `claude-review` and `codex-review`, both part of `all-green`; do
not run a local code review. The mechanism is in the
[reusable-workflows README](https://github.com/furedea/reusable-workflows#readme).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge レビュー用チェックがないリポジトリにも対応する

git-workflow は任意のリポジトリで使われ,Herdr のレーンも別リポジトリを対象にできますが,ここでは全 PR に all-green,claude-review,codex-review が存在すると仮定しています.これらを導入していないリポジトリでは,レーンが存在しないチェックを待ち続けるか,レビューを一度も受けずに完了扱いにしてしまいます.以前のように,レビュー用ワークフローがある場合だけこの手順を適用し,それ以外では対象リポジトリの required checks に従うフォールバックを残してください.

Useful? React with 👍 / 👎.

Comment thread docs/DESIGN.md
| 4. Implement | Lane | Codex (tests first, no commits) | `tsdd`, the language style skills, `domain-modeling` |
| 5. Verify and deliver | Lane | — | `git-workflow` (commits, delivery) |
| 6. Review and fix | Lane | an Opus subagent for Codex's code, or a read-only Codex `task` for Claude's; Codex fixes P0 and P1 findings | `git-workflow` (branches), `herdr-delegation` |
| 6. Review and fix | Lane | the GitHub `claude-review` and `codex-review` checks; the lane fixes every finding | `git-workflow` (delivery), `herdr-delegation` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Design 内の古いローカルレビュー手順も更新する

この行だけを GitHub レビューへ変更したため,同じ文書のフローチャートは依然としてレーンがレビュアーを開始すると記し,担当表もレーンがレビュアーを実行して Codex が指摘を修正すると記しています.さらに docs/DESIGN_ja.md の対応行は Opus/読み取り専用 Codex によるローカルレビューと P0/P1 のみの修正を案内したままです.削除された手順を読者が実行しないよう,図,担当表,日本語版を新しい GitHub レビューフローへ同時に揃えてください.

Useful? React with 👍 / 👎.

@furedea

furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner

@codex review

Comment thread docs/DESIGN_ja.md Outdated
| 1. Issue and plan | Parent | — | `issue-workflow` |
| 2. Approve | User | — | — |
| 3. Open lanes | Parent | レーンごとに,Herdr の worktree と medium effort の Sonnet レーンを,brief 付きで | `git-workflow` (branches), `herdr-delegation` |
| 3. Open lanes | Parent | レーンごとに,Herdr の worktree と medium effort の Sonnet レーンを,brief 付きで | `git-workflow` (delivery), `herdr-delegation` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: Step 3 (Open lanes) was changed from git-workflow (branches) to git-workflow (delivery). That looks like an accidental edit: the lane-opening rules (Herdr worktree, Sonnet lane, brief) are in references/branches.md, and the English docs/DESIGN.md still says (branches) for this row. The two docs now disagree, and a reader of the Japanese doc is sent to the wrong reference. Only step 6 needed (delivery).

Suggested change
| 3. Open lanes | Parent | レーンごとに,Herdr の worktree と medium effort の Sonnet レーンを,brief 付きで | `git-workflow` (delivery), `herdr-delegation` |
| 3. Open lanes | Parent | レーンごとに,Herdr の worktree と medium effort の Sonnet レーンを,brief 付きで | `git-workflow` (branches), `herdr-delegation` |

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Review summary

This PR only changes docs and skill text. I checked it against the repo:

  • .github/workflows/ci.yml does have both claude-review and codex-review in all-green.needs, so the claim in the new "Review on GitHub" section is accurate for this repo.
  • Nothing still points to the removed local-review rules (the "Review code" assignment, the Opus subagent reviewer, confirming reviews, adversarial-review). The cross-links to delivery.md#review-on-github match the new heading.
  • tests/test_workflow_skill_layout.py doesn't check any of the removed text, so nothing breaks there. The changes are prose only, so no new tests are needed.

Findings

  • P2: docs/DESIGN_ja.md step 3 (Open lanes) now says git-workflow (delivery) instead of (branches). This doesn't match docs/DESIGN.md or where the lane-opening rules actually are (inline comment).

Note, not a finding: the old rule that a repeated P0/P1, or a finding repeated on the same grounds, stops the lane right away with LANE-BLOCKED is gone. Such cases now fall to the third re-review limit and the general Run and Reconcile guidance. That seems to be on purpose.

No P0/P1 findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 6775826b89

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea

furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Review summary (read-only): no findings.

Checked:

  • No stale references remain to the removed local-review rules (Opus subagent reviewer, Codex --effort xhigh review, confirming reviews, adversarial-review, the code-review assignment) in skills, docs, or tests.
  • The new delivery.md#review-on-github anchor matches the ## Review on GitHub heading, and the relative links from branches.md and herdr-delegation/SKILL.md resolve.
  • The LANE-READY / LANE-BLOCKED rules, the workflow-file push handoff, and the Codex task --write --effort medium command are still there in herdr-delegation.
  • DESIGN.md and DESIGN_ja.md agree with each other and with the new flow.

Behaviour change to note (not a defect): the old rule that stopped a lane with LANE-BLOCKED on a repeated P0/P1 is gone, as are the exemptions for repeated and matter-of-taste findings. A lane now stops only after the third re-review that still raises findings. This matches the stated intent of #85.

The change is docs only. No tests assert on skill prose, so this PR doesn't need new tests.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: e0a162db7a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea

furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Review summary: I found no blocking issues and no findings worth reporting.

This is a docs-only PR. Here is what I checked:

  • The new #review-on-github anchor matches the heading in delivery.md. The links from branches.md and herdr-delegation/SKILL.md point to that anchor with the right relative paths.
  • No references remain to the removed local review flow (the Codex review command, the Opus subagent reviewer, confirming reviews, adversarial-review, or code-review assignments) in the skills, docs, or tests.
  • codex-review and claude-review are both jobs in .github/workflows/ci.yml that all-green depends on. That matches the new text.
  • These rules are still in place: LANE-READY / LANE-BLOCKED, the user-push handoff for workflow files, the lane fixing findings itself, and the stop conditions (a repeated P0/P1, or the third re-review still raising new findings).
  • DESIGN.md and DESIGN_ja.md were updated the same way.

No tests are needed because no behavior changed in code.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 079a72154a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit 222dff8 into main Nov 6, 2026
20 checks passed
@furedea
furedea deleted the docs/rely-on-the-github-reviews branch November 6, 2026 18:16
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.

docs(skills): rely on the GitHub reviews instead of local code reviews

1 participant