You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c610020
Browse filesBrowse the repository at this point in the historyBrowse files
ci(required-contexts): register Temporal Conformance (live PG + MySQL) as a required context again (#38331)
Part of #38087 (item 3's repo half; the ruleset entry stays the
maintainer's, and the card keeps the follow-up nits N4/N5)
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「设为必过」 on 「要不要把真库测试(PG+MySQL)设为合并必过?」 — the maintainer, on
the decision card in the o1-F area thread, 2026-11-28T10:59:46Z;
recorded on #38087 comment 7238262118.
**Tier H** (`AGENTS.md`, `.github/workflows/ci.yml`; `.claude/**` rides
along). Draft until an approval from GOVERNED_APPROVERS. The ruling of
record is #38087 comment 7238262118: the `REQUIRED_CONTEXTS` row merges
first, then the maintainer adds `Temporal Conformance (live PG + MySQL)`
to the `main` ruleset the same day. This PR does not edit the ruleset.
## 维护者速读
- 用户能看到什么变化:用户无感。改 SQL 驱动、知识库等相关文件的 PR,真库测试从此成为合并必过:在合并队列里没过就进不了主干;其他 PR
跳过这一项,照常合并。
- 为什么做:落实你在「要不要把真库测试(PG+MySQL)设为合并必过?」上选的「设为必过」。观察期里 23 个相关 PR 跑了 38
次,没有偶发失败;唯一一次红是真问题,却因为不是必过照样合进主干,主干红了约 6 小时。
- 出错会怎样:本次只改登记表和说明文字,不改任何检查本身。若这一项将来出现偶发失败,会把相关 PR 弹出队列;从 Rulesets
删掉这一项、再撤回本次改动即可恢复。
- 要你做什么:合并当天请在 Rulesets 加上 `Temporal Conformance (live PG +
MySQL)`,否则检查会报设置不一致。
## What changes
- `scripts/check-required-contexts.mjs`
- One `REQUIRED_CONTEXTS` row: `ci.yml`, `temporal-conformance`,
`Temporal Conformance (live PG + MySQL)`. Its `authorized` names ruling
7238262118 and the queue reading 7237905765. Its `carries` names the
driver-sql suite against both live servers plus the non-SQL temporal
backends, and says the `if:` skips the job on `pull_request` and runs it
on a `merge_group` entry only when the diff hits `temporal_live`. Same
row shape as the `Dogfood Regression Gate` row (#31133).
- The #22998 tombstone had only this context left. It is now a short
history paragraph and two `Returned:` lines, Dogfood's and this one
(ruling 7146156389 put the leg on the queue; ruling 7238262118
re-enrolled the row).
- Both `statesTheSet` surfaces' `mustName` gain `Temporal Conformance
(live PG + MySQL)`. The two history comments read `11→12 by #38087`.
- Self-test: battery (3) gains the rename fixture this battery first
carried: the job name dropping its `(live PG + MySQL)` suffix ⇒ red,
naming `temporal-conformance` and the context. The 2026-08-18
ruleset-snapshot comment now says both contexts #22998 dropped are
pinned again; the assertion stays derived.
- `AGENTS.md` (merge-queue rule): the required-set list names `Temporal
Conformance (live PG + MySQL)`. The three count words ("eleven contexts
block", "those eleven" twice) are deleted under the volatile-counts
rule, which pays for the added name: 78708 → 78704 bytes against the
78712 ceiling, line count unchanged. No ceiling raised.
- `.claude/skills/pm-dispatch/references/readings-ci.md`: the seat's
required-set list gains the name and drops its count word; the line
about the unpinned count word now states that the word is deleted. 4900
→ 4896 bytes against the 4900 ceiling.
- `docs/agents/multi-agent-discipline.md`: "outside those eleven"
becomes "outside the required set". The two-speeds paragraph no longer
calls the queue leg advisory: a red there ejects the entry.
- `.github/workflows/ci.yml`: comments only. THE TWO SPEEDS said the
context is not in the required set and its queue red lands on `main`; it
now says it is required again and names both returns. The
`temporal-conformance` header and its `if:` comment say the name is
pinned again and that a skip publishes `skipped`, which the ruleset
counts as passing. No job, `if:`, timeout or step changed.
Not changed, because the row does not make them false:
- `scripts/check-aggregator-roster.mjs`: the job aggregates nothing
(`needs: filter` only).
- `scripts/pm/check-expected-skips.mjs`: the frozen fixture tree and the
derived roster (see Acceptance notes).
- The dated readings in `docs/audits/gate-census-2026-09.md` and
`cross-repo-issue-closer.yml`.
## Tests
- `node scripts/check-required-contexts.mjs --self-test`: 192 assertions
pass (190 before), including the new rename fixture.
- `node scripts/check-required-contexts.mjs`: `12 required context
name(s) pinned across 3 workflow(s)`, last line
`ci.yml:temporal-conformance → 'Temporal Conformance (live PG +
MySQL)'`.
## Acceptance notes
- **The settings half reads the row as missing, as expected.**
`NODE_OPTIONS=--use-env-proxy node scripts/check-required-contexts.mjs
--verify-required-set` (exit 0, report-only): `11 live required
context(s) on main, 1 registered-but-not-required, 0
required-but-unpinned`, direction A naming `Temporal Conformance (live
PG + MySQL)`. That is this PR's repo half landing first. It clears when
the maintainer adds the context to the ruleset on the merge day. Until
then the `Live required-set sweep` adds one warning annotation and pages
nobody. Nothing here works around it.
- **Until the ruleset edit, a red on this leg still does not eject a
queue entry.** `AGENTS.md` and the docs already describe the state after
the edit, the convention of the `Dogfood Regression Gate`, `Test UI` and
`Live E2E UI` rows.
- `check-expected-skips`'s derived reason for this job says "answered by
the merge-queue build", which is true only on an entry that hits
`temporal_live`; it hedges with "plus 2 further condition(s) the
recogniser does not read". Noted on #38087 in the previous round; not
filed (the area is closing).
## Verification
- Read first: `scripts/check-required-contexts.mjs` — the new
`REQUIRED_CONTEXTS` row and the rewritten tombstone block above it; then
the `AGENTS.md` merge-queue paragraph.
- Two-minute check: `node scripts/check-required-contexts.mjs` should
print `12 required context name(s)` and end with
`ci.yml:temporal-conformance → 'Temporal Conformance (live PG +
MySQL)'`.
<details><summary>local gates: 82 derived, 77 exit 0, 5 NOT MEASURED
(heads 4eceaab and e4f2798)</summary>
- `dispatch-gates --commands` derived 82 families at `4eceaabb0c`;
`--ran` at `e4f279813e`: `82 derived famil(ies) accounted for — 77 run,
5 NOT-MEASURED (5 DERIVED from a recorded exit 3)`. Each exit code was
captured before any pipe.
- The 5 NOT MEASURED families exit 3 PREREQUISITE NOT MET: they read
built `packages/*` output (their refusal: "Run pnpm build first"). This
diff touches no package, and no whole-workspace build was run in this
shared container; CI's `Lint & Repo Gates` runs them. Declared
narrowing.
- The no-merge check: the derivation reported the tree 2 commits behind
`origin/main` with none of them touching what it derives from, so `main`
was not merged. `overlap-check`: `VERDICT clean exit 0` (`origin/main`
4997cae and #38286, which shares `ci.yml`, both merge cleanly).
- `e4f279813e` changed one line of `readings-ci.md` after the first run
started, so the 20 families derived for that file alone were run again
on `e4f279813e` (all exit 0), and `check:pm-dispatch-gates` was run
again there: `✓ dispatch-gates self-test (fast tier): 2385 cases pass`,
exit 0.
```
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs --self-test :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
node scripts/check-platform-checklist-watchdog.mjs :: exit 0
node scripts/check-platform-checklist-watchdog.mjs --self-test :: exit 0
node scripts/check-release-section-coverage.mjs :: exit 0
node scripts/check-release-section-coverage.mjs --strict :: exit 0
node scripts/check-self-test-wired.mjs :: exit 0
node scripts/check-self-test-wired.mjs --self-test :: exit 0
node scripts/check-self-test-workflow-commands.mjs :: exit 0
node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0
node scripts/check-step-collectors.mjs :: exit 0
node scripts/check-step-collectors.mjs --self-test :: exit 0
node scripts/check-whole-set-label-write.mjs :: exit 0
node scripts/check-whole-set-label-write.mjs --self-test :: exit 0
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/ci/scheduled-full-run.mjs --self-test :: exit 0
node scripts/docs-audit/check-drift-comment.mjs :: exit 0
node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0
node scripts/pm/board-snapshot.mjs --self-test :: exit 0
node scripts/pm/check-harness-current.mjs --self-test :: exit 0
node scripts/render-release-coverage-anchor.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 3
pnpm check:adr-anchors :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:aggregator-roster :: exit 0
pnpm check:bash32-floor :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-command-ids :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:declared-population-live :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:docs-audit-scope :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:dts-closure :: exit 3
pnpm check:dual-build-cjs-loads :: exit 3
pnpm check:entry-guard :: exit 0
pnpm check:fetch-history :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:lean-entry-closure :: exit 3
pnpm check:node-version :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:parse-guard :: exit 0
pnpm check:platform-checklist :: exit 0
pnpm check:pm-close-cards :: exit 0
pnpm check:pm-expected-skips :: exit 0
pnpm check:pm-fleet-write-dispatch :: exit 0
pnpm check:pm-fleet-write-execute :: exit 0
pnpm check:pm-fleet-write-validate :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-governed-prose :: exit 0
pnpm check:pm-issue-transfer :: exit 0
pnpm check:pm-post-stamped :: exit 0
pnpm check:pm-record-recognisers :: exit 0
pnpm check:pm-settings-deny-roster :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pm-skill-ratchet :: exit 0
pnpm check:pnpm-acquisition :: exit 0
pnpm check:pnpm-filter-targets :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:ratchet-remedy-authority :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:required-contexts :: exit 0
pnpm check:scripts-symbol-anchors :: exit 0
pnpm check:shard-attestation :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 3
pnpm check:stall-guard-budget :: exit 0
pnpm check:stall-guard-headroom :: exit 0
pnpm check:type-check-coverage :: exit 0
pnpm check:type-check-debt :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:workflow-status-functions :: exit 0
pnpm check:workflow-step-name-quoting :: exit 0
pnpm check:pm-dispatch-gates :: exit 0
```
Rerun on `e4f279813e` (the families `readings-ci.md` derives):
```
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/pm/check-harness-current.mjs --self-test :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-record-recognisers :: exit 0
pnpm check:pm-settings-deny-roster :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pm-skill-ratchet :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:required-contexts :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:watch-hint-literal :: exit 0
```
</details>
---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
* (never on `pull_request`); it is still no required context, so that queue run
382
-
* is advisory and its red lands on `main` — whether it rejoins the set is the
383
-
* maintainer's call, made in the ruleset. The order is the #9325 two-step: the registry and the
384
-
* instruction surfaces drop the row in the PR, and the maintainer removes the
385
-
* context from the ruleset in the same sitting as the merge; until then
386
-
* `--verify-required-set` reports it in direction B (required, pinned by no
387
-
* row), report-only, which is the sitting's own reminder. Prose and not a
388
-
* RETIRED_CONTEXT_NAMES row, for the reason the `Build Docs` / `Console Pin
389
-
* Gate` tombstone above gives: the name is not dead — the job still publishes
390
-
* this check-run on every full-battery run and on such a queue entry, and the instruction files name
391
-
* where it runs.
392
-
* Returned: `Dogfood Regression Gate` (ci.yml:dogfood-gate) left with it by #22998 and is back since #30461 (letter B 6663883327 put its shards on `merge_group`; letter A 6669982756 re-enrolled the row below).
374
+
* The #22998 ruling (two-speed CI; ruling record 6120820653 on #22991) dropped
375
+
* two contexts whose legs it moved to the FULL BATTERY — `main`'s push,
376
+
* scheduled and dispatch runs — off the PR and queue builds' fast set, in the
377
+
* #9325 two-step (the registry and the instruction surfaces dropped the rows;
378
+
* the ruleset edit was the maintainer's). Both are back, each
379
+
* once its leg ran on `merge_group` again, the row landing first and the
380
+
* ruleset edit after it:
381
+
* Returned: `Dogfood Regression Gate` (ci.yml:dogfood-gate) left by #22998 and is back since #30461 (letter B 6663883327 put its shards on `merge_group`; letter A 6669982756 re-enrolled the row below).
382
+
* Returned: `Temporal Conformance (live PG + MySQL)` (ci.yml:temporal-conformance) left by #22998 and is back since #38087 (ruling 7146156389 put its leg on a `merge_group` entry that hits the `temporal_live` paths; ruling 7238262118 re-enrolled the row below).
* of the six surfaces have one; `AGENTS.md` does not, because a repo-root FILE
697
703
* has no separator to be found by — so an AGENTS.md card derived this gate not
698
704
* at all, while that surface is the one carrying `mustName` for every
699
-
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853, 7→8, 8→9 by #26460, 9→10 by #27154, 10→11 by #30461). Editing the merge-queue
705
+
* required context (widened 2→6 by #9677, 6→7 by #17798, 7→5 by #22998, 5→7 by #25853, 7→8, 8→9 by #26460, 9→10 by #27154, 10→11 by #30461, 11→12 by #38087). Editing the merge-queue
700
706
* paragraph there is precisely how this gate goes red, and it was reachable
701
707
* only by judgment.
702
708
*
@@ -2026,6 +2032,17 @@ async function selfTest() {
0 commit comments