Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude/skills/checklist-test/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ expected-fail 探针 —— 永不在真实缺陷上把条款打成绿。

用 `issue_write`(github MCP)立单:

- **标题** —— `QA run · <selector> · <已判定>/<总数> · <framework-sha[:8]> · <date>`。
那个分数是标题的一部分,不是可选装饰。
- **标题** —— `QA run · <selector> (<已判定>/<总数>) · <sha8> · <date> · <counts>`:恰好
一种形状、严格解析,`(<已判定>/<总数>)` **强制**;语法与退役写法见 RUNNER.md「The record title」。
- **标签** —— 只带 `qa-run`,⛔ 不挂 `bug`/priority 等工作标签:run 记录是协议载体、
不入分诊 sweep,⛔ 不是可派发单元;工作标签随抽取出的缺陷卡走(RUNNER 抽取义务条款)。
**这条在记录的整个生命周期成立** —— 收口与关闭时同样不补挂。实测漂移形态:记录事后
Expand All @@ -146,7 +146,7 @@ expected-fail 探针 —— 永不在真实缺陷上把条款打成绿。
机器行与抽取卡的溯源行见 §5。⛔ 认证 / 授权漏洞的抽取卡不写复现,见 Guardrails。
- **完成判据** —— 一个区只有在**每一项都有判定**时才算跑完。跑不完的一轮照常立单:
交出已有的判定,**外加一份点名未触达项的交接清单**,标题按上面的分数如实写。
`not-run` 是诚实判定;在 11 项 not-run 之上写 `(FULL area)` 不是。
`not-run` 是诚实判定 —— 判 1 项、11 项没跑就写 `(1/12) · … · 11 NOT-RUN`。

同一份逐条款表 + 环境准备与测试的耗时之比,回报给维护者(chat),并链接已立的 issue。

Expand Down
37 changes: 37 additions & 0 deletions docs/qa/platform-checklist/RUNNER.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,43 @@ carve-out excepted) · derived item verdicts + fixture gaps. The durable,
version-controlled truth is still the checklist under `areas/`; a run is a dated assertion
about one build, and it lives in its issue, not the tree.

### The record title — one canonical shape

Maintainer ruling 2026-08-20: the title is a **contract**, not prose, and it has exactly
one shape. `scripts/qa/qa-rollup.mjs` parses it **strictly** — a title that deviates is
printed in the roll-up's "Not parsed" section instead of being absorbed, so a mistake is
visible the first time rather than degrading the view silently.

```text
QA run · <selector> (<judged>/<total>) · <framework-sha8> · <YYYY-MM-DD> · <counts>
```

| field | rule |
|---|---|
| separator | `·` (MIDDLE DOT), **exactly five fields**, never more or fewer. A selector that would contain the separator cannot be spelled — rename it. |
| `QA run` | the literal prefix, unchanged |
| `<selector>` | what this run selected; carries no parentheses of its own |
| `(<judged>/<total>)` | **mandatory**, bare digits only, `judged` not greater than `total`. Not decoration — it is the coverage claim the record is read on. |
| `<framework-sha8>` | exactly 8 lowercase hex characters |
| `<YYYY-MM-DD>` | a real calendar date |
| `<counts>` | ` / `-separated `<n> <VERDICT>` segments; verdicts **uppercase**, in the order `PASS / PARTIAL / FAIL / BLOCKED / NOT-RUN`, each bucket at most once |

**An omitted bucket means "not declared", never zero** — the roll-up renders the two
differently, so write `0 FAIL` when you mean zero.

**Retired phrasings — ⛔ none of these may be written again:** `(FULL area)`, `(N items)`,
`(N of M items)`, `(N/M items consulted)`, omitting the parenthetical entirely, and the
trailing `(11 not-run)` spelling of NOT-RUN. `(FULL area)` is why the ruling exists: it
declares no total, and a record wearing it judged 13 of its area's 33 items while reading
as complete coverage. A run that reached 1 of 12 items writes
`(1/12) · … · 0 PASS / 1 PARTIAL / 11 NOT-RUN` — `not-run` is an honest verdict and the
title has to show it.

Existing records are **not migrated**; the ruling is new-records-only. Records written
before the contract keep their shapes, and the roll-up lists them separately, labelled as
predating it rather than as defects. Run `node scripts/qa/qa-rollup.mjs` after filing —
that is this step's self-check.

### Extraction obligation — the run record is a protocol carrier, not work

Run issues are excluded from the PM's backlog sweep, same class as the `pm:seat` post
Expand Down
Loading
Loading