mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-26 18:04:31 +01:00
fix(outside-review): severity words in label position count as findings
The Oct 7 /autoplan run's Codex CEO and DX reviews labeled seven and eight findings High/Medium without [Pn] tags, and the classifier printed VERDICT: clean / FINDINGS: none for both. lib/outside-review-result.ts now reads severity words in label position (Severity: High, a leading High: / High — / [High], **High**, a table cell): critical/high block like P0/P1, medium/low are advisory. Words in prose (high-level, low-risk, no critical findings) never count. A review or structured response with neither tags, labels nor an explicit no-findings statement is unverified, never clean (DX-11, ENG-10). Design-direction proposals move to a new proposal gate so they keep needing only their Recommendation line, and review prompts ask for a severity per finding. Fixtures reproduce the CEO/DX label shapes, the eng [P1] output, a table and prose negative controls; the stored Codex panel keeps its verdicts. docs/troubleshooting.md explains how the verdict is read. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
64e8f90f15
commit
8aae497d2b
33 files changed
+276
-45
No files matched your search
+25
-2
@@ -31,6 +31,28 @@ P0 or P1 finding blocks exactly like a native P0/P1. `unverified` and
|
||||
`unavailable` are missing coverage: /ship and /review continue, show the gap in
|
||||
the readiness dashboard and the PR body, and never count it as a pass.
|
||||
|
||||
<a id="outside-review-verdict"></a>
|
||||
### How the verdict is read from a review
|
||||
|
||||
- **Severity tags.** `[P0]`-`[P3]` (or Codex's native `P1:` labels). P0 and P1
|
||||
block; P2 and P3 are advisory.
|
||||
- **Severity words in label position.** `Severity: High`, `Priority: low`, a
|
||||
line that starts with `High:`, `High —`, `[High]` or `**High**` (after an
|
||||
optional heading, bullet or number), a bold `**High**` anywhere, or a table
|
||||
cell `| high |`. Critical and High block like P0 and P1; Medium and Low are
|
||||
advisory like P2 and P3. Words inside prose do not count: "high-level",
|
||||
"low-risk", "a medium-term follow-up" and "no critical findings" are not
|
||||
findings.
|
||||
- **No findings.** A review with no tag and no label is `clean` only when it
|
||||
says so explicitly (`NO_FINDINGS`, "no issues", "did not find any bugs").
|
||||
Otherwise it is `unverified` (see below), never `clean`.
|
||||
- **Design proposals** (the design-direction voices in /design-consultation
|
||||
and /office-hours) are read with the `proposal` gate: a completed proposal
|
||||
needs only its `Recommendation: ... because ...` line.
|
||||
|
||||
Outside-review prompts ask the reviewer to label each finding Critical, High,
|
||||
Medium or Low, so most reviews land on `findings` or `clean`.
|
||||
|
||||
<a id="sourced-helper-location"></a>
|
||||
### `gstack: cannot load gstack-codex-probe` / `gstack: cannot locate <helper> (shell: ...)` / `CODEX_MODE: helper_unavailable`
|
||||
|
||||
@@ -161,8 +183,9 @@ severity tags.
|
||||
<a id="outside-review-unverified"></a>
|
||||
### `... outside review: ran, verdict unverified (...)` / `OUTSIDE_STATUS: unverified` / `GATE: UNVERIFIED`
|
||||
|
||||
**Meaning.** The review completed but tagged nothing and gave no explicit
|
||||
no-findings conclusion, so no pass or fail can be read from it.
|
||||
**Meaning.** The review completed but had no severity tag or label and gave
|
||||
no explicit no-findings conclusion, so no pass or fail can be read from it
|
||||
([how the verdict is read](#outside-review-verdict)).
|
||||
|
||||
**What is kept.** The full answer is shown above.
|
||||
|
||||
|
||||
Reference in new issue
Block a user