From 484617ebcafebca05329317ba2bba6bacfe7fafc Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 19:10:39 +0000 Subject: [PATCH 1/4] pm: eval-run records are exempt from the first-touch sweep and the H13/H74 patrols The scenario-eval skill forbids priority, domain and pm labels on an eval-run record for its whole life, as checklist-test does for qa-run, but only qa-run was exempt in code. Add eval-run beside qa-run in first-touch-sweep EXCLUDED_LABELS, H13_EXEMPT_LABELS and H74_EXEMPT_LABELS (one self-test pin each), and in the triage rule phrase the sweep mirrors. Claude-Session: https://claude.ai/code/session_01ADHkmQVgxSYnzqhm5KCyhq Co-authored-by: Claude --- .../skills/pm-dispatch/references/triage-duties.md | 2 +- scripts/pm/check-half-states.mjs | 12 +++++++----- scripts/pm/first-touch-sweep.mjs | 9 +++++---- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.claude/skills/pm-dispatch/references/triage-duties.md b/.claude/skills/pm-dispatch/references/triage-duties.md index 6a45e1ea8bd..b28403be83f 100644 --- a/.claude/skills/pm-dispatch/references/triage-duties.md +++ b/.claude/skills/pm-dispatch/references/triage-duties.md @@ -16,7 +16,7 @@ - UTC 3 倍数时的轮次记录报 24h 流量:卡新建/关闭/净增,合并 PR 数,open p1,引契约复核新卡数。 - 析取 ①全裸(无 `pm:*`/`needs-user-decision`/`domain:*`);② `pm:queue` 无 `domain:*`(仅多车道仓); - ③ `domain:*` 无 pm-state;④ `pm:queue`+`domain:*` 无 `priority:*`;②③④ 只取 `updated_at` 早于 ~2min。 -- 排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 记录。 +- 排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 与 `eval-run` 记录。 - 析取 ⑤:窗内新建且 `pm:queue`/`priority:*` 与建卡同分钟,照未分诊首触;⛔ 不凭 actor。 - 首触定级与五析取 sweep 每 fire 跑到清空,先于旧卡重验:⛔ 无每轮预算、无逐卡豁免评论。 - 五析取由 `node scripts/pm/first-touch-sweep.mjs --since=ISO` 照原文全量跑,⛔ 不手敲窄化或截断。 diff --git a/scripts/pm/check-half-states.mjs b/scripts/pm/check-half-states.mjs index ae1393b31c6..531352a6cbf 100644 --- a/scripts/pm/check-half-states.mjs +++ b/scripts/pm/check-half-states.mjs @@ -3807,7 +3807,7 @@ export const TRACKING_ANCHOR_LABEL = 'tracking'; * sweep's own protocol text (SKILL.md, Backlog sweep): flagging them would * report the protocol's design as a defect. */ -export const H13_EXEMPT_LABELS = [TRACKING_ANCHOR_LABEL, 'status:parked', 'qa-run']; +export const H13_EXEMPT_LABELS = [TRACKING_ANCHOR_LABEL, 'status:parked', 'qa-run', 'eval-run']; /** * H13 threshold — "one sweep cycle": the triage Routine fires HOURLY and its @@ -8181,7 +8181,7 @@ export const H74_POPULATION_LABELS = Object.freeze(['pm:queue', 'pm:blocked']); * `pm:queue,tooling`, identity label `platform-checklist-watchdog`). Read by * its identity label the way `queue-flake-anchor` is, because the identity * label is the machine's and is never graded off, while the title is one - * template's wording. Tracking anchors, epics, seat posts, QA runs, parked + * template's wording. Tracking anchors, epics, seat posts, QA and eval runs, parked * cards and both machine anchors are never first-touched the way a lane card * is, so their silence is the design. Census 2026-11-03 of every * `.github/workflows/**` template that files a card: only this one applies @@ -8194,6 +8194,7 @@ export const H74_EXEMPT_LABELS = Object.freeze([ 'pm:epic', 'pm:seat', 'qa-run', + 'eval-run', 'status:parked', 'queue-flake-anchor', 'platform-checklist-watchdog', @@ -8356,7 +8357,7 @@ export function h74QueuedWithoutTriageAudit(issue, commentBodies, parent) { 'audit` on the triage mailbox in the same round (`record-recognisers.mjs --mailbox-keys` prints the shape) ' + '— ⛔ never a silent wait, and never a report to the maintainer in the mailbox\'s place. Report-only: ⛔ ' + 'never a label, comment or body written from this script. Exempt by design: `tracking`, `pm:epic`, ' + - '`pm:seat`, `qa-run`, `status:parked`, `queue-flake-anchor` and `platform-checklist-watchdog` carriers; a non-fleet card (human ' + + '`pm:seat`, `qa-run`, `eval-run`, `status:parked`, `queue-flake-anchor` and `platform-checklist-watchdog` carriers; a non-fleet card (human ' + 'author, no seat signature); a main-red anchor card; a sub-issue inheriting its parent\'s domain or grade.' ); } @@ -27217,6 +27218,7 @@ async function selfTest() { t('H13: status:parked exemption (its normal shape IS this one)', h13DomainWithoutPmState(domainCard(['domain:services', 'status:parked'], hoursAgo(200)), NOW), null); t('H13: tracking exemption', h13DomainWithoutPmState(domainCard(['domain:devx', 'tracking'], hoursAgo(200)), NOW), null); t('H13: qa-run exemption', h13DomainWithoutPmState(domainCard(['domain:cli', 'qa-run'], hoursAgo(200)), NOW), null); + t('H13: eval-run exemption', h13DomainWithoutPmState(domainCard(['domain:cli', 'eval-run'], hoursAgo(200)), NOW), null); t('H13: no domain label is out of scope however bare', h13DomainWithoutPmState(domainCard(['bug'], hoursAgo(200)), NOW), null); t('H13: fresh half-state is intake latency, not a finding', h13DomainWithoutPmState(domainCard(['domain:engine-core'], hoursAgo(1)), NOW), null); t('H13: exactly at the threshold -> clean (strictly beyond fires)', h13DomainWithoutPmState(domainCard(['domain:engine-core'], hoursAgo(DOMAIN_HALF_STATE_STALE_HOURS)), NOW), null); @@ -29030,7 +29032,7 @@ async function selfTest() { b(BATTERY74, 'H74 thread states: UNREADABLE fires UNJUDGED, never clean', row74(null).startsWith(UNJUDGED_MARKER) && isUnjudgedFinding(row74(null)) && row74(null).includes('not empty'), true); b(BATTERY74, 'H74 population: `pm:blocked` is spoken about too, and the row names it', row74([], { labels: [{ name: 'pm:blocked' }, { name: 'domain:spec' }] }).startsWith('`pm:blocked` with'), true); b(BATTERY74, '⛔ H74 population: a `pm:dispatched` card is out of scope (its claim is H2\'s subject)', h74([], { labels: [{ name: 'pm:dispatched' }, { name: 'domain:spec' }] }), null); - for (const exempt of ['tracking', 'pm:epic', 'pm:seat', 'qa-run', 'status:parked', 'queue-flake-anchor', 'platform-checklist-watchdog']) { + for (const exempt of ['tracking', 'pm:epic', 'pm:seat', 'qa-run', 'eval-run', 'status:parked', 'queue-flake-anchor', 'platform-checklist-watchdog']) { b(BATTERY74, `⛔ H74 exempt: a \`${exempt}\` carrier is silent`, h74([], { labels: [{ name: 'pm:queue' }, { name: exempt }] }), null); } b(BATTERY74, 'H74 exempt control: the same card with an unrelated label beside `pm:queue` still fires', typeof h74([], { labels: [{ name: 'pm:queue' }, { name: 'tooling' }] }), 'string'); @@ -29062,7 +29064,7 @@ async function selfTest() { b(BATTERY74, 'H74 inherit reader: a null, undefined or sentinel parent inherits nothing, never a crash', [h74InheritsFromParent(card74(), null), h74InheritsFromParent(card74(), undefined), h74InheritsFromParent(card74(), H74_PARENT_UNREADABLE), h74InheritsFromParent(card74(), { labels: undefined })].some(Boolean), false); b(BATTERY74, '⛔ H74 population: a closed card, a PR row, an unreadable `labels` and a missing row are all silent, none a crash', [h74([], { state: 'closed' }), h74([], { pull_request: {} }), h74([], { labels: undefined }), h74QueuedWithoutTriageAudit(undefined, [])].every((v) => v === null), true); b(BATTERY74, 'H74 population: a null body is no crash and no record — the card still fires on an empty thread', typeof h74([], { body: null }), 'string'); - b(BATTERY74, 'H74 exempt list: the constant carries exactly the filing card\'s six labels plus the watchdog anchor\'s identity label', [...H74_EXEMPT_LABELS].sort().join(), ['platform-checklist-watchdog', 'pm:epic', 'pm:seat', 'qa-run', 'queue-flake-anchor', 'status:parked', 'tracking'].join()); + b(BATTERY74, 'H74 exempt list: the constant carries exactly the filing card\'s six labels plus the watchdog anchor\'s identity label and the eval record\'s', [...H74_EXEMPT_LABELS].sort().join(), ['eval-run', 'platform-checklist-watchdog', 'pm:epic', 'pm:seat', 'qa-run', 'queue-flake-anchor', 'status:parked', 'tracking'].join()); // The watchdog anchor as fleet-patrols.yml files it: App author, `pm:queue,tooling` routing, identity label. Its // title does NOT open the main-red regex (no colon before `red on main`), so the identity label is what exempts it. const WATCHDOG74 = { title: 'check:platform-checklist is red on main', user: APP74, body: 'os-platform-checklist-watchdog\n\nThe gate is red on main.' }; diff --git a/scripts/pm/first-touch-sweep.mjs b/scripts/pm/first-touch-sweep.mjs index 636e7ea0629..e9e5f4e7b0f 100644 --- a/scripts/pm/first-touch-sweep.mjs +++ b/scripts/pm/first-touch-sweep.mjs @@ -30,7 +30,8 @@ * * ## The five disjunctions — the rule text's, nothing narrower * - * Excluded from every disjunction first: `tracking`, `status:parked`, every `pm:seat` post, `qa-run` records. + * Excluded from every disjunction first: `tracking`, `status:parked`, every `pm:seat` post, `qa-run` and `eval-run` + * records. * * ① bare — no `pm:*` label, no `needs-user-decision`, no `domain:*` (other labels, `finding` among them, do not * make a card "touched": ① is NOT "no labels"); @@ -87,7 +88,7 @@ export const TRIAGE_RULE_PHRASES = Object.freeze([ '③ `domain:*` 无 pm-state', '④ `pm:queue`+`domain:*` 无 `priority:*`', '②③④ 只取 `updated_at` 早于 ~2min', - '排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 记录', + '排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 与 `eval-run` 记录', '析取 ⑤:窗内新建且 `pm:queue`/`priority:*` 与建卡同分钟', '不等 ⇒ 报 `sweep INCOMPLETE`', ]); @@ -97,7 +98,7 @@ export const MULTI_LANE_REPOS = Object.freeze(['objectstack-ai/objectstack']); export const MULTI_LANE_RULE_PATH = '.claude/skills/pm-dispatch/references/cross-repo-coordination.md'; export const MULTI_LANE_RULE = '多车道仓 `objectstack`'; -export const EXCLUDED_LABELS = Object.freeze(['tracking', 'status:parked', 'pm:seat', 'qa-run']); +export const EXCLUDED_LABELS = Object.freeze(['tracking', 'status:parked', 'pm:seat', 'qa-run', 'eval-run']); export const SETTLE_MS = 2 * 60 * 1000; export const PAGE_SIZE = 100; export const PAGE_CEILING = 60; @@ -426,7 +427,7 @@ export async function selfTest() { t('a routed, graded, queued card is owed nothing', c(['domain:spec', 'pm:queue', 'priority:p3']), []); t('②③④ wait ~2 min after the last update: a card mid-write is not owed', [c(['domain:skills'], { updated_at: FRESH }), c(['pm:queue'], { updated_at: FRESH })], [[], []]); t('…while ① is asked at once', c([], { updated_at: FRESH }), [1]); - t('exclusions come first: tracking, status:parked, pm:seat, qa-run', ['tracking', 'status:parked', 'pm:seat', 'qa-run'].map((x) => c([x]).length), [0, 0, 0, 0]); + t('exclusions come first: tracking, status:parked, pm:seat, qa-run, eval-run', ['tracking', 'status:parked', 'pm:seat', 'qa-run', 'eval-run'].map((x) => c([x]).length), [0, 0, 0, 0, 0]); t('labels compare case-insensitively', c(['Domain:Skills', 'PM:Queue']), [4]); battery('the fifth: created in the window, pm:queue or priority:* applied in the creation minute, never by actor'); From ff3d6635ece3fd82d2092315e770b47dd233f48d Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 19:11:12 +0000 Subject: [PATCH 2/4] pm: seed the scenario-eval SKILL.md rows in the skill line ratchet The CEILINGS map is an enumeration, so the fifth .claude/skills playbook landed without a ceiling or a table-row pin. Seed both; the header's count of playbook SKILL.md files goes from four to five. Claude-Session: https://claude.ai/code/session_01ADHkmQVgxSYnzqhm5KCyhq Co-authored-by: Claude --- scripts/pm/check-skill-line-ratchet.mjs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index b3ddb30e71b..4905c9188f1 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -29,7 +29,7 @@ * * "The whole surface" above means the CEILINGS map below, which is an * ENUMERATION, never a root glob: the pm-dispatch surface (SKILL.md, its - * references/, the per-lane job descriptions), the four other + * references/, the per-lane job descriptions), the five other * `.claude/skills/` playbook SKILL.md files, the dev-agent definition * `.claude/agents/os-dev.md`, and both root instruction files — `AGENTS.md` * and `CLAUDE.md`. Read a file's absence from the map as a fact to check, not @@ -1992,6 +1992,12 @@ export const CEILINGS = new Map([ // replaced with the pin's house sentence AND the pin docblock's one allowed // variant shape carried into the skill, +6 lines within the card's budget. ['.claude/skills/spec-property-retirement/SKILL.md', 337], + // #34012: the fifth playbook, `scenario-eval`, landed without a row — the map + // is an enumeration, so nothing derived it from the tree. Seeded at its + // measured count on `origin/main` after its 26 over-120-byte lines were + // re-wrapped whitespace-only to `wrapLine`'s canonical form (131 → 157 lines, + // byte-identical after whitespace normalization). Landed count, headroom 0. + ['.claude/skills/scenario-eval/SKILL.md', 157], // #9792: root AGENTS.md is the largest, most-read, most binding instruction // file in the repo and had no ceiling — the hole the oversized 39-line // read-layer clause (compacted by #9715) entered through. Set at its line @@ -2732,6 +2738,8 @@ export const MAX_TABLE_ROW_BYTES = new Map([ ['.claude/skills/checklist-author/SKILL.md', 0], ['.claude/skills/dogfood-verification/SKILL.md', 0], ['.claude/skills/spec-property-retirement/SKILL.md', 326], + // #34012: seeded at its own widest table row, headroom 0. + ['.claude/skills/scenario-eval/SKILL.md', 237], // Lowered 1081 → 768 by the rules-only rewrite: the translations row lost its // in-cell narrative; the widest survivor is that same row. Landed width, headroom 0. ['AGENTS.md', 768], @@ -3393,7 +3401,7 @@ const SELF_TEST_BATTERIES = Object.freeze({ 'every lane/seat job description in the tree carries a ceiling row': 1, '...and one carrying no row is RED, with the message naming that file': 1, '...and an EMPTY roster is RED, not vacuously green: a derived roster checks nothing when the read fails': 1, - 'the other four skills are covered (#9473)': 1, + 'the other five skills are covered (#9473, #34012)': 1, 'root AGENTS.md is covered (#9792)': 1, 'root CLAUDE.md is covered (#9965)': 1, 'references/compile-surfaces.md is covered (#12098)': 1, @@ -3644,7 +3652,7 @@ function selfTest() { ['every lane/seat job description in the tree carries a ceiling row', laneRosterVerdict(laneFilesOnDisk(), CEILINGS).ok, true], ['...and one carrying no row is RED, with the message naming that file', !laneGap.ok && laneGap.msg.includes('triage.md'), true], ['...and an EMPTY roster is RED, not vacuously green: a derived roster checks nothing when the read fails', laneRosterVerdict([], CEILINGS).ok, false], - ['the other four skills are covered (#9473)', ['checklist-test', 'checklist-author', 'dogfood-verification', 'spec-property-retirement'].every((n) => CEILINGS.has(`.claude/skills/${n}/SKILL.md`)), true], + ['the other five skills are covered (#9473, #34012)', ['checklist-test', 'checklist-author', 'dogfood-verification', 'spec-property-retirement', 'scenario-eval'].every((n) => CEILINGS.has(`.claude/skills/${n}/SKILL.md`)), true], ['root AGENTS.md is covered (#9792)', CEILINGS.has('AGENTS.md'), true], ['root CLAUDE.md is covered (#9965)', CEILINGS.has('CLAUDE.md'), true], // #12098: the last uncovered pm-dispatch references file. Found by From 4f1aad4e9be5eccb0887e76ff90b63500bac9096 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 19:13:23 +0000 Subject: [PATCH 3/4] wip: reword the scenario-eval sentence S1 made false Claude-Session: https://claude.ai/code/session_01ADHkmQVgxSYnzqhm5KCyhq Co-authored-by: Claude --- .claude/skills/scenario-eval/SKILL.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.claude/skills/scenario-eval/SKILL.md b/.claude/skills/scenario-eval/SKILL.md index 7bd5ca55d80..fd560a3e6ae 100644 --- a/.claude/skills/scenario-eval/SKILL.md +++ b/.claude/skills/scenario-eval/SKILL.md @@ -108,8 +108,7 @@ nohup pnpm --filter @objectstack/scenarios run-scenarios \ - `## Records` —— 产物放在哪(路径),说明留在仓库树外、可回放。 - **收口**:§6 的每条发现都有了去向(卡号或已报的私密渠道)即由本席关 `completed`; ⛔ 不为等修复开着,修复的回测进下一轮。上一轮的记录不 supersede:每张都是它那个 sha 上的一次测量。 -- **分诊扫描还不认 `eval-run`**(排除名单只列 `qa-run`):在它补进之前,记录在立单的同一轮关闭; - 当轮关不了,就告诉分诊席这是一张记录、不是待分诊的卡。 +- **分诊扫描认得 `eval-run`**(与 `qa-run` 同列排除名单):记录开着等发现去向时不会被要求首触,照上条收口关闭。 - 记录立好后给维护者一句话:链接 + 两行 Reading。 ## 6. 发现 —— 各归各主 From 6c876af8a4fe0958053835b148fa5f2d9c1678cb Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 19:13:35 +0000 Subject: [PATCH 4/4] pm: re-wrap scenario-eval SKILL.md to the 120-byte rule and seed its ceiling at 156 Whitespace-only re-wrap of its 26 over-budget lines with the ratchet's own wrapLine form (byte-identical once whitespace is removed), so the newly seeded CEILINGS row holds at its landed count with headroom 0. Claude-Session: https://claude.ai/code/session_01ADHkmQVgxSYnzqhm5KCyhq Co-authored-by: Claude --- .claude/skills/scenario-eval/SKILL.md | 78 ++++++++++++++++--------- scripts/pm/check-skill-line-ratchet.mjs | 9 +-- 2 files changed, 57 insertions(+), 30 deletions(-) diff --git a/.claude/skills/scenario-eval/SKILL.md b/.claude/skills/scenario-eval/SKILL.md index fd560a3e6ae..76dbb3d5bd5 100644 --- a/.claude/skills/scenario-eval/SKILL.md +++ b/.claude/skills/scenario-eval/SKILL.md @@ -26,40 +26,53 @@ metadata: ## 0. 环境 —— 照 README〈Running the cards in a Claude Code cloud session〉 - 订阅登录(`claude auth status` 答 `oauth_token`),`ANTHROPIC_API_KEY` / `ANTHROPIC_AUTH_TOKEN` 都 unset; - ⛔ 不用 API 计费的模型。权限模式非 Auto。前台命令有时限,一轮里每条 runner 命令都放后台。 + ⛔ 不用 API 计费的模型。权限模式非 Auto。前台命令有时限,一轮里每条 runner 命令都放后 + 台。 - 先建依赖:`pnpm install && pnpm --filter '@objectstack/scenarios^...' build`; 没建就跑会停在 `ERR_MODULE_NOT_FOUND`,那是环境,不是读数。 - 记下 `claude --version`:effort 档位表随 CLI 版本变,记录的环境行要带它。 -- runner 的 sha 整轮钉死:轮中 ⛔ 不拉 `main`。评分器改了,分数就不可比;要用新评分器,走 §4 回放。 +- runner 的 sha 整轮钉死:轮中 ⛔ 不拉 `main`。评分器改了,分数就不可比;要用新评分器,走 §4 + 回放。 ## 1. 规划这一轮 - **control 卡每轮必跑**:`grep -l '"tier": "control"' docs/qa/scenarios/*.json` 读出名单,⛔ 不凭记忆列。 - 三张小卡可同一条命令(`--only A,B,C`);首轮实测一次重复 haiku 约 45 分钟、opus low 约 25 分钟。 + 三张小卡可同一条命令(`--only A,B,C`);首轮实测一次重复 haiku 约 45 分钟、opus low 约 25 分 + 钟。 - **starter 卡只跑 scratch**(`--modes scratch`),一卡一条命令(`--only ID`):一条后台命令限 2 小时, starter 的搭建就要 20–30 分钟;同一容器至多两条并行,各自起各自的端口(README 原文)。 - `template` 模式要一份已验证的构建(`--template F`),不进例行;本轮的问题点名它才跑。 - **包来源**:评测量的是客户拿到的东西 —— `--packages published`(默认),并用 - `--create-version V` 把整轮所有配置与重复钉在同一个发布版本上;`workspace` 是 QA 席测未发布波的用法。 -- 规划写成一张表再动手:卡 × 配置 × 重复 → 命令条数 × 预计墙钟;超出 2 小时的一条拆开。 + `--create-version V` 把整轮所有配置与重复钉在同一个发布版本上;`workspace` 是 QA 席测未发布 + 波的用法。 +- 规划写成一张表再动手:卡 × 配置 × 重复 → 命令条数 × 预计墙钟;超出 2 小时的一条拆 + 开。 ## 2. 配置 -- **跟踪配置** = 托管默认(写本技能时:`--model haiku --effort medium`);**参照配置** = `--model opus --effort low`。 +- **跟踪配置** = 托管默认(写本技能时:`--model haiku --effort medium`);**参照配置** = + `--model opus --effort low`。 托管默认变了以座位贴为准,本技能 ⛔ 不跟着改值。其它配置只在本轮问题需要时加。 -- 每条命令**显式**写 `--model` 与 `--effort`。⛔ 不用 CLI 默认模型不点名(登录不同、默认不同,还会悄悄变); +- 每条命令**显式**写 `--model` 与 `--effort`。⛔ 不用 CLI 默认模型不点名(登录不同、默认不 + 同,还会悄悄变); ⛔ 不靠 `CLAUDE_CODE_EFFORT_LEVEL` 环境变量:它只是 `--effort` 缺省时的回退,命令行上看不见。 -- `--author-model` / `--ask-model`(及两个 effort 对应项)只在本轮要拆开搭建与问答时用,记录里写明。 -- 读计分卡的 `Run · model` 与 author 行核对**实际服务的模型**:出现 `⚠ asked for` / `not ` 的 - 那次运行不属于该配置,单列说明,⛔ 不并入均值。effort 只有请求值,没有服务值可核(README)。 +- `--author-model` / `--ask-model`(及两个 effort 对应项)只在本轮要拆开搭建与问答时用,记录里写 + 明。 +- 读计分卡的 `Run · model` 与 author 行核对**实际服务的模型**:出现 `⚠ asked for` / `not ` + 的 + 那次运行不属于该配置,单列说明,⛔ 不并入均值。effort 只有请求值,没有服务值可 + 核(README)。 ## 3. 重复与噪声 -- **要据此定模型或 effort 的,每配置 5 次重复。** 单次运行的问数在 control 三卡 58 题上会摆动约 ±4 题: +- **要据此定模型或 effort 的,每配置 5 次重复。** 单次运行的问数在 control 三卡 58 题上会摆 + 动约 ±4 题: 单次一轮只报**趋势**,⛔ 不排名次,记录的 Reading 照此措辞。 -- 结果按配置报**均值 + 最小–最大**,再按卡把 5 次合并报一张表。汇总脚本 runner 里还没有: +- 结果按配置报**均值 + 最小–最大**,再按卡把 5 次合并报一张表。汇总脚本 runner 里还没 + 有: 手算或本席脚本都行,记录写明算法(分子分母合并,还是逐次百分比再平均)。 -- 只和上一张记录的**同一配置、同一组卡**比;发布版本或 runner sha 变了,Reading 点名这一变量。 +- 只和上一张记录的**同一配置、同一组卡**比;发布版本或 runner sha 变了,Reading 点名这一变 + 量。 - 每次重复都进记录:没跑完的照实写 `not measured` 与原因(README 的超时、`error_max_turns` 等), ⛔ 不静默重跑顶替,⛔ 不剔除离群值;重跑了就写重跑了。 @@ -67,10 +80,13 @@ metadata: - **每条命令都录**:`--record FILE`,一条命令一个文件,路径带配置与第几次重复。 pnpm 在包目录里跑脚本,`--out` / `--record` 一律传绝对路径。 -- **回放** `--driver recorded:FILE`:不调模型、不花额度,重评一轮旧运行。它把每个回合录下的写调用按序 - 重发给新起的应用,所以 Build、问数、写操作三项都能重评;一回合重发不成的记 `not measured` 并点名 +- **回放** `--driver recorded:FILE`:不调模型、不花额度,重评一轮旧运行。它把每个回合录下的写 + 调用按序 + 重发给新起的应用,所以 Build、问数、写操作三项都能重评;一回合重发不成的记 + `not measured` 并点名 那次调用,⛔ 不判 fail。回放拒收模型与 effort 参数,记录沿用录制时的驱动(`replayOf`)。 -- 回放重评同样立一张 `eval-run` 记录:Scope 写明回放的是哪张记录的录音、评分器在哪个 sha;旧记录不改。 +- 回放重评同样立一张 `eval-run` 记录:Scope 写明回放的是哪张记录的录音、评分器在哪个 + sha;旧记录不改。 ```bash # --only 的三张 control 卡是写本技能时的名单;跑前照 §1 从卡文件重读 @@ -86,29 +102,39 @@ nohup pnpm --filter @objectstack/scenarios run-scenarios \ ## 5. 记录 —— 一轮一张 `eval-run` issue -维护者令(原话):"objectstack 公开仓,像 qa-run"。据此场景卡评测记录立在本仓、带全分(问数基线 ② 的 -数字仍不对外,见 `lanes/eval.md`)。运行产物 ⛔ 不进仓库树:run 记录 JSON、录音、日志留在 git-ignore 的默认 +维护者令(原话):"objectstack 公开仓,像 qa-run"。据此场景卡评测记录立在本仓、带全分(问数基 +线 ② 的 +数字仍不对外,见 `lanes/eval.md`)。运行产物 ⛔ 不进仓库树:run 记录 JSON、录音、日志留在 +git-ignore 的默认 `--out` 目录或本席的项目文件里;issue 就是报告,纯文本,⛔ 不放图。 -- **写入门**:立单、评论、关单全走 pm-dispatch 写入门,照 `checklist-test` §4 那一段;⛔ MCP `issue_write`。 +- **写入门**:立单、评论、关单全走 pm-dispatch 写入门,照 `checklist-test` §4 那一段;⛔ MCP + `issue_write`。 - **标题**:`Eval run · SCOPE × N configs × R reps · SHA8 · DATE`,如 `Eval run · control cards × 3 model configs × 5 reps · 3be13473 · 2026-11-15`;SHA8 是 runner 的 commit。 -- **标签**:只带 `eval-run`;⛔ 不挂 priority / `domain:*` / `pm:*`。记录不是可派发单元,整个生命周期都不补挂。 +- **标签**:只带 `eval-run`;⛔ 不挂 priority / `domain:*` / `pm:*`。记录不是可派发单元,整个生命周 + 期都不补挂。 - **正文**,按此顺序,英文: - `## Environment` —— runner 仓与 sha;包来源行(`packages: published 18.4.0`)与模式;驱动与登录 (`oauth_token`,无 API key);`claude --version`;每个配置实际服务的模型与请求的 effort;花费是 CLI 报的名义数,未计费。 - - `## Scope` —— 卡 id 与 tier、首轮加 iterate;配置清单;每配置重复次数;每次重复的题数、写操作数、 + - `## Scope` —— 卡 id 与 tier、首轮加 iterate;配置清单;每配置重复次数;每次重复的题数、写 + 操作数、 Build 检查数;每条命令的退出码;`not measured` 的半边逐个点名原因(⛔ 不计入分母)。 - - `## Results` —— 一行一个配置:Build · 问数 · 写操作(均值,括号最小–最大)· 每次重复的泄露标记**数** - · 搭建分钟 · 问答分钟 · 每次重复名义花费;再一张按卡合并表。泄露只写数,⛔ 不写内容。 + - `## Results` —— 一行一个配置:Build · 问数 · 写操作(均值,括号最小–最大)· 每次重复的 + 泄露标记**数** + · 搭建分钟 · 问答分钟 · 每次重复名义花费;再一张按卡合并表。泄露只写数,⛔ 不写内 + 容。 - `## Reading` —— 编号结论,每条按 §3 的噪声规则措辞,并与上一张记录比。 - - `## Findings filed from this run` —— 每条发现一行,写去向(§6);无则写 `none`。安全线索那一行只写 + - `## Findings filed from this run` —— 每条发现一行,写去向(§6);无则写 `none`。安全线索那一行 + 只写 `security-findings.md` §4 的固定一句,别无其它。 - `## Records` —— 产物放在哪(路径),说明留在仓库树外、可回放。 - **收口**:§6 的每条发现都有了去向(卡号或已报的私密渠道)即由本席关 `completed`; - ⛔ 不为等修复开着,修复的回测进下一轮。上一轮的记录不 supersede:每张都是它那个 sha 上的一次测量。 -- **分诊扫描认得 `eval-run`**(与 `qa-run` 同列排除名单):记录开着等发现去向时不会被要求首触,照上条收口关闭。 + ⛔ 不为等修复开着,修复的回测进下一轮。上一轮的记录不 supersede:每张都是它那个 sha 上 + 的一次测量。 +- **分诊扫描认得 `eval-run`**(与 `qa-run` 同列排除名单):记录开着等发现去向时不会被要求首 + 触,照上条收口关闭。 - 记录立好后给维护者一句话:链接 + 两行 Reading。 ## 6. 发现 —— 各归各主 diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 4905c9188f1..a544a772481 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -1994,10 +1994,11 @@ export const CEILINGS = new Map([ ['.claude/skills/spec-property-retirement/SKILL.md', 337], // #34012: the fifth playbook, `scenario-eval`, landed without a row — the map // is an enumeration, so nothing derived it from the tree. Seeded at its - // measured count on `origin/main` after its 26 over-120-byte lines were - // re-wrapped whitespace-only to `wrapLine`'s canonical form (131 → 157 lines, - // byte-identical after whitespace normalization). Landed count, headroom 0. - ['.claude/skills/scenario-eval/SKILL.md', 157], + // landed count after two edits in the same PR: one stale two-line sentence + // reworded to one line (131 → 130), then its 26 over-120-byte lines re-wrapped + // whitespace-only to `wrapLine`'s canonical form (130 → 156, byte-identical + // after whitespace normalization). Headroom 0. + ['.claude/skills/scenario-eval/SKILL.md', 156], // #9792: root AGENTS.md is the largest, most-read, most binding instruction // file in the repo and had no ceiling — the hole the oversized 39-line // read-layer clause (compacted by #9715) entered through. Set at its line