Files
teamai-cli/.github/workflows
Jeffandreview a84bf6fbba chore(review): scope e2e to behavior changes, drop provider×agent matrix, add P3 (#781)
* chore(review): scope e2e requirement, drop provider×agent matrix, add P3

The auto-review gate over-flagged: it required a full provider × agent
e2e matrix as [P1 blocking] on every PR, raised theoretical/low-confidence
risks at blocking severity, and repeated already-resolved findings.

- e2e record is [P1 blocking] only for behavior-changing PRs; docs-only /
  tests-only diffs need none. One representative real-CLI run is enough;
  missing extra provider/agent coverage the author flagged as untestable
  here or deferred to CI is at most [P3 nit], never blocking.
- Add a third severity [P3 nit] (minor/optional polish, theoretical edge
  case, coverage deferred to CI).
- Tell the reviewer not to over-review: report only high-confidence
  findings, prefer few high-signal over exhaustive, never restate a
  resolved finding.

Kept in sync across AGENTS.md (## Code Review Rules, the trusted base
criteria) and the workflow prompt in codex-review-on-assign.yml.

* chore(review): relax PR 前测试 matrix, gate P1 by evidence not count

Address SaulMoro's changes-requested on #781:

- The provider × agent matrix requirement still lived in `## PR 前测试`
  (AGENTS.md/CLAUDE.md), which the Codex reviewer loads whole — so the
  matrix could return as a P1 despite `## Code Review Rules` relaxing it.
  Relax `## PR 前测试` to match: one representative real-CLI run suffices,
  docs/tests-only needs no e2e, extra provider/agent coverage defers to CI.
- Replace "prefer a few high-signal findings" (which caps real bugs and
  pushes them to later passes) with evidence-gated severity: every
  [P1 blocking] must cite a concrete failure scenario or the exact rule it
  breaks, else it drops to P2/P3. Count is uncapped; real bugs surface in
  one pass. Synced into the workflow prompt.

---------

Co-authored-by: review <review@local>
2026-09-24 19:04:58 +08:00
..