Skip to content

Commit 4a5dec3

Browse files
committed
ci(ui-merge): register Type Check UI in REQUIRED_CONTEXTS
Bill item 49 closed with #25856 (fc2aaae), so the ui type-check job no longer reds on an empty ui scope and joins the required set. The registry row is the repo half; the ruleset half is the maintainer's. AGENTS.md's merge-queue sentence and the pm-dispatch readings ledger state the set and follow, line-neutral, seven → eight. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CB8WDTpTbuW2XrEyjKHVo
1 parent c475b45 commit 4a5dec3

3 files changed

Lines changed: 23 additions & 11 deletions

File tree

‎.claude/skills/pm-dispatch/references/platform-readings.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@
387387
- 本车道强制多是过宽的回忆:`dispatch-gates.mjs --tier PATH` 逐路径现推,路径线是下限非放行。
388388
- 该脚本只答自己那棵树:姊妹仓路径回 absent from this tree,姊妹仓的档位与条款②只能手推。
389389
- `os-verify-lock.sh` 只住 objectstack:objectui 无它,跑本仓副本读的是容器级锁,非该仓深度。
390-
- required checks 的名单是每仓事实,objectstack 七个:
391-
`TypeScript Type Check` · `Lint & Repo Gates` · `Test Core` · `Build Core` ·
392-
`Governed Surface Queue Guard` · `Lint UI` · `Build & E2E UI`。
390+
- required checks 的名单是每仓事实,objectstack 八个:
391+
`TypeScript Type Check` · `Lint & Repo Gates` · `Test Core` · `Build Core` · `Lint UI` ·
392+
`Governed Surface Queue Guard` · `Type Check UI` · `Build & E2E UI`。
393393
- ⭐ 本表的 `mustName` 声明 `statesTheSet` ⇒ 必须逐字等于注册表,加注册行不跟改本表即红。
394394
- ⇒ 门绿即名单逐字齐全的读数;⛔ 但数量词未钉:实测 七→六 照绿,只能手跟改。
395395
- ⛔ 聚合命令同样不作判定:`check:type-check-debt` 可在包级 typecheck 绿时红。

‎AGENTS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,11 @@ Even inside your own worktree, operate defensively:
523523
yet"; `in_progress` is not a pass. Arming a red PR does not queue it, it hides it:
524524
every poll then misreads "not on `main` yet" as "queued". Always read *two* things:
525525
the queue branch **and** `origin/main`. And **the queue enforces only the required
526-
set** — seven contexts block: `Lint & Repo Gates` (all `check:*` gates), `TypeScript Type Check`,
527-
`Test Core`, `Build Core`, `Governed Surface Queue Guard`, `Lint UI` and `Build & E2E UI`. A
528-
check outside those seven is advisory and rides through, and an advisory red that lands rides
529-
`main`'s merge ref into every later PR until stanched. A required context is matched by
530-
check-run name, so a rename detaches its gate silently — treat those seven names as contract.
526+
set** — eight contexts block: `Lint & Repo Gates` (all `check:*` gates), `TypeScript Type Check`,
527+
`Test Core`, `Build Core`, `Governed Surface Queue Guard`, `Lint UI`, `Type Check UI` and
528+
`Build & E2E UI`. A check outside those eight is advisory and rides through, and an advisory red
529+
that lands rides `main`'s merge ref into every later PR until stanched. A required context is
530+
matched by check-run name, so a rename detaches its gate silently — treat those eight names as contract.
531531
**Two speeds** (ruling record 6120820653): PR and queue runs carry the fast set, 10 minutes of
532532
wall per queue entry; `main`'s hourly and push runs carry the full battery — dogfood, e2e,
533533
`Temporal Conformance (live PG + MySQL)` — read by the publish lane before

‎scripts/check-required-contexts.mjs‎

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,15 @@ export const REQUIRED_CONTEXTS = [
461461
'added to the `main` ruleset the same minute; this row is the repo half (#25853)',
462462
carries: 'the Console build from `ui/apps/console` and its Playwright e2e',
463463
},
464+
{
465+
workflow: 'ci.yml',
466+
job: 'type-check-ui',
467+
context: 'Type Check UI',
468+
authorized:
469+
'PENDING the maintainer ruling — asked 2026-10-26T01:42Z to add it to the `main` ruleset, after #25856 (fc2aaaec52) ' +
470+
'closed bill item 49 with the job green on the main push run 40253800516; #25752 step 6',
471+
carries: 'the type-check + vitest-setup type-check family of the `ui/` workspace',
472+
},
464473
];
465474

466475
/**
@@ -575,8 +584,9 @@ export const INSTRUCTION_SURFACES = [
575584
// with every gate green, which is what put the exclusivity rule below in
576585
// the judge. Then 7→5 by #22998 (two-speed CI: the dogfood and temporal
577586
// contexts moved to the full battery). Then 5→7 by #25853 (the `ui/`
578-
// import's `Lint UI` and `Build & E2E UI`). The full set is pinned here so
579-
// the corrected sentence cannot rot back — a rename in ANY of the seven
587+
// import's `Lint UI` and `Build & E2E UI`) and 7→8 with `Type Check UI`
588+
// once bill item 49 closed (#25856). The full set is pinned here so the
589+
// corrected sentence cannot rot back — a rename in ANY of the eight
580590
// reddens this gate instead.
581591
file: 'AGENTS.md',
582592
statesTheSet: true,
@@ -588,6 +598,7 @@ export const INSTRUCTION_SURFACES = [
588598
'Governed Surface Queue Guard',
589599
'Lint UI',
590600
'Build & E2E UI',
601+
'Type Check UI',
591602
],
592603
},
593604
{
@@ -618,6 +629,7 @@ export const INSTRUCTION_SURFACES = [
618629
'Governed Surface Queue Guard',
619630
'Lint UI',
620631
'Build & E2E UI',
632+
'Type Check UI',
621633
],
622634
},
623635
{
@@ -640,7 +652,7 @@ export const INSTRUCTION_SURFACES = [
640652
* of the six surfaces have one; `AGENTS.md` does not, because a repo-root FILE
641653
* has no separator to be found by — so an AGENTS.md card derived this gate not
642654
* at all, while that surface is the one carrying `mustName` for every
643-
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853). Editing the merge-queue
655+
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853, 7→8). Editing the merge-queue
644656
* paragraph there is precisely how this gate goes red, and it was reachable
645657
* only by judgment.
646658
*

0 commit comments

Comments
 (0)