Skip to content

ci(dispatch-gates): derive the temporal-conformance leg for a driver surface - #38267

Merged
os-zhuang merged 2 commits into
mainfrom
claude/issue-38087-temporal-live-companion
Nov 28, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/issue-38087-temporal-live-companion

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Part of #38087 (items 1–2; item 3 is the maintainer's)

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感。开发 agent 动 SQL 驱动时,派发工具现在会提前告诉它“真库测试会在合并队列里跑”。以前工具对这一项一字不提。
  • 为什么做:配合“改 SQL 驱动的 PR 在合并队列里跑真库测试”这项裁决(先观察,再定是否必过)。观察读数已贴在卡上:三天多里有 23 个改驱动的 PR 跑了这一项,只红过一次。那次是 PR 自己新加的测试在 MySQL 上失败,因为这一项不是必过,PR 照样合进主干,主干红了约 6 小时。没有偶发失败,也没有拖慢队列。
  • 出错会怎样:只影响开发 agent 读到的提示文字和一段代码注释,不影响 CI 本身,可直接撤回。
  • 要你做什么:无。是否把这一项设为必过,由席位另行带读数问你。

What changes

  • scripts/pm/dispatch-gates.mjs fixes item 2's first bullet, which did not match main.
    • The temporal-conformance job's if: (ruling record 7146156389) ends in a clause that jobIfReading refused whole: github.event_name != 'pull_request' && (github.event_name != 'merge_group' || needs.filter.outputs.temporal_live != 'false'). So a driver-sql card derived no row for the live PG + MySQL leg at all.
    • The reader now recognises that exact spelling as a third WHEN and returns queueGate. jobFilterPopulation resolves the output's globs.
    • jobFilteredSteps then decides per card, on a glob that matches the path itself (triggerListMatches, which has no directory reach), and names that glob on the row:
      • a matching path gets "first run is the merge-queue build";
      • a path that matches none and reaches into none gets the full-battery sentence;
      • a directory surface that only reaches into the globs (for example packages/runtime, through the one-file cascade-delete glob) gets a hedged third sentence: "the merge-queue build runs it only if a changed file is in filter.temporal_live … otherwise its first run is main's push battery". The same hedge applies when the queue list is uncertain: a dropped positive extglob, or a plain negation, which paths-filter and GitHub's paths: read differently. A negated extglob still refuses the job.
    • An unparenthesised A || B ahead of any stripped event clause is now refused. GitHub binds && tighter than ||, so the clause binds to B alone. (A || B) reads as before, and no live if: is spelled the bare way.
    • The population is still the filter outputs ahead of the clause. The queue output's globs never join it.
  • scripts/check-required-contexts.mjs: the tombstone prose said the leg runs "in the FULL BATTERY only". It now says the leg also runs on a queue entry that hits temporal_live, that it is still not a required context, and that the call is the maintainer's. Prose only: REQUIRED_CONTEXTS and every pinned name are untouched.
  • Re-read and already right on main, so left untouched:

Observation reading (item 1)

Posted on the card: #38087 comment 7237905765.

Tests

self-test, ablation, derived output (head 0e1b472)
  • os-verify-lock.sh -c 'pnpm check:pm-dispatch-gates': ✓ dispatch-gates self-test (fast tier): 2385 cases pass, VERDICT command-exit 0. New cases:
    • the queue-path reading, three near-miss refusals and queueGate null elsewhere;
    • LIVE: a route-ledger path gets the full-battery sentence;
    • LIVE: a driver-sql path gets the queue-build sentence;
    • an in-place ablation of queueOutput on the row;
    • added in the rework:
      • triggerListMatches against triggerListCovers on a directory;
      • LIVE: the directory surface packages/runtime gets the hedged sentence, never the queue-build-first one;
      • its ablation: with queueHedged stripped, the queue-build-first sentence comes back;
      • the driver-sql row names its matching glob;
      • queueUncertain for a dropped extglob and for a plain negation;
      • the bare A || B refusals beside the parenthesised read.
  • On-disk mutation: with the clause match replaced by null, jobIfReading(<live temporal if>) returns null. Restored with git checkout HEAD --, it returns {refs:[filter.core], notOnPullRequest:true, queueGate:filter.temporal_live}.
  • node scripts/pm/dispatch-gates.mjs packages/drivers/driver-sql/src/sql-driver.ts now prints [ci.yml · Temporal Conformance (live PG + MySQL)] … ⛔ does NOT run on this PR: … your paths hit filter.temporal_live, so its first run on this change is the merge-queue build. Before, it printed no row.
  • node scripts/check-required-contexts.mjs --self-test: 190 assertions pass.

Acceptance notes

  • check-expected-skips's derived reason for this job still reads "answered by the merge-queue build" and adds "(plus 2 further condition(s) the recogniser does not read)". That is true only when the entry hits temporal_live. The hedge is honest, and the recogniser deliberately evaluates no paths, so this is noted here and not filed.

Verification

  • Read first: scripts/pm/dispatch-gates.mjs jobIfReading (the recursion on the text before the clause, which refuses a doubled event clause), then jobFilteredSteps (the per-card queueHit).
  • Two-minute check: node scripts/pm/dispatch-gates.mjs packages/drivers/driver-sql/src/sql-driver.ts 2>&1 | grep Temporal should print one row ending "first run on this change is the merge-queue build".
local gates (head 0e1b472)
  • dispatch-gates --ran: 70 of 70 derived families accounted for.
  • pnpm check:i18n-coverage: NOT MEASURED, exit 3 PREREQUISITE NOT MET — the workspace CLI is not built. The gate needs the CLI and every example config built, and this diff touches neither. CI's Lint & Repo Gates runs it. The first round's report wrongly counted this gate as exit 0.
  • Every other derived command exited 0, node scripts/check-self-test-workflow-commands.mjs included. It timed out in the first round and is green now.

Generated by Claude Code

…surface

The job's if: since ruling record 7146156389 ends in the queue-path clause
(never on pull_request; on merge_group only when filter.temporal_live
matched). jobIfReading refused it whole, so a driver-sql card derived no
row for the live PG + MySQL leg at all. It is now read as a third WHEN,
decided per card: a path inside temporal_live gets the queue-build
sentence, any other path gets the full-battery one.

The check-required-contexts tombstone prose now says the leg also runs on
such a queue entry and stays advisory.

Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 374afa1 · 2026-11-28T11:18Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 374afa106b2bc0a151f3db7f98860c9799fd98d4
Security-touching: no
Local-runs: none
Scope: scripts/pm/dispatch-gates.mjs + scripts/check-required-contexts.mjs

Inputs read: card #38087 body and all five comments (triage 7232062376, claim 7237641764, item 1 reading 7237905765, dev report 7238135792, item 3 ruling 7238262118), ruling record 7146156389 on #37095, the PR body, its three-file list, the net diff of the head against merge base e42520c67bcef027552f8db83655ff9b54d32cef, and the check-runs on the head. The remainder of the diff, scripts/pm/dispatch-gates.self-test.mjs, is the lane seat's ACCEPT at TIER_DEFAULT and is not judged here.

① Derived judgments

  • jobIfReading accept-set, widened by one spelling: right. JOB_IF_QUEUE_PATH_TERM is end-anchored and matches only && github.event_name != 'pull_request' && (github.event_name != 'merge_group' || needs.JOB.outputs.OUT != 'false') as the last conjunct. That is the live if: of temporal-conformance at .github/workflows/ci.yml:2504 on this head, token for token. It cannot overlap the two older clauses, which end in a quoted event name where this one ends in a closing paren, so every if: read before this diff reads the same after it.
  • The WHEN it states: right against ci.yml. Never on pull_request; on merge_group only when filter.temporal_live is not 'false'; on push, schedule and dispatch whenever the refs ahead of the clause hold. On merge_group the core output is forced 'true' (ci.yml:344 to 350), so there the queue output alone decides, which is what the row says.
  • Refusals: right. The recursion on the text ahead of the clause returns null when that text already carried an event clause (rest.notOnPullRequest, which a full-battery strip also sets), so a doubled or nested event clause is refused whole. A reordered disjunction, an == disjunct and a clause with no pull_request exclusion ahead of it all fail the regex and fall through to the old path, where the leftover text fails JOB_FILTER_OUTPUT_TERM and returns null.
  • Can a refusal or a misreading change another job's row: no. The reading is per job and pure. The new regex carries no g flag, so no lastIndex state crosses calls. fullBatteryOnly and notOnPullRequest have exactly two readers in the file, the row built in jobFilteredSteps and fullBatteryOnlyClause; jobPathPopulations carries the flags and nothing reads them there. A refused queue output drops that one job's population and no other.
  • Population unchanged: right. paths is still built from the refs ahead of the clause only. Every temporal_live glob on this head sits under packages/** or is .github/workflows/ci.yml, both in core, so a card path that hits the queue output always has a row to carry the sentence.
  • Return shapes widened (queueGate, queuePaths, row queueOutput): right. Additive fields on internal objects of an unpublished script. queueOutput is spread onto the row only when present, so rows of every other job are byte-identical.
  • jobFilteredSteps setting fullBatteryOnly per card: right in both directions for file paths, wrong for a directory surface. See S1.
  • Tombstone prose in check-required-contexts.mjs: right. Comment only; REQUIRED_CONTEXTS and every pinned name are untouched in the diff.

② Semver level

Nothing is published: three files under scripts/, no package source, no schema. The PR carries the skip-changeset label and Check Changeset concluded success on the head. Clause-②: no on the PR body and the claim matches the diff: no accept-set a consumer of a published package can observe is narrowed or widened.

③ Boundary flags

  • open_questions: empty in the dev report. Nothing to answer.
  • Dev flag, out of scope: check-expected-skips derives the reason "answered by the merge-queue build" for this job, true only on a temporal_live entry. Answered: that recogniser evaluates no paths and its reason already counts the unread conjuncts, so the sentence is hedged and not wrong. Not this PR's surface. It becomes worth a card when the row PR of ruling 7238262118 makes the context required, because a skipped required context is then read by more seats.
  • Dev flag: check-self-test-workflow-commands.mjs NOT MEASURED locally (timeout). Answered by the head's check-runs: Lint & Repo Gates, Lint · PM dispatch-gates and Lint · scoped · tooling self-tests all concluded success.
  • Card item 2, the four surfaces left untouched: read at the head, not reviewed. ci.yml:136 to 141, AGENTS.md:138 to 139 and multi-agent-discipline.md carry the exception and call it advisory; check-expected-skips.mjs:1318 is inside the self-test's frozen fixture tree. The dev's account holds.
  • SQL push-down: not applicable. No query, no id materialisation, no in-app join in the diff.

④ Design judgment

scripts/pm/dispatch-gates.mjs, against ruling record 7146156389, the live if: and the card's scenario ("the leg derives for a driver surface").

The scenario holds. A packages/drivers/driver-sql/** file hits core, the job has unaccounted steps, the row is built, queueHit is true and the row says the PR skips the job and the queue build runs it first. A file in core and outside temporal_live gets the full-battery sentence, naming the output that did not match. Both sentences agree with ci.yml. The ruling's four path groups (pgvector, driver-sql, the job's own test files, the workflow) are read from the filter block and never listed in the script, so a new glob in ci.yml is followed with nothing to update.

S1 (should-fix) — queueHit is decided with triggerListCovers, which carries triggerCovers' directory-reach rule (dispatch-gates.mjs:7910 to 7914: a path counts as covered when the pattern's literal prefix starts with PATH/). That rule is documented for the population, where the claim is "CI may schedule this job for a surface given as a directory". Here the same answer is rendered as a fact about the queue: "your paths hit filter.temporal_live, so its first run on this change is the merge-queue build". On this head a card whose surface is the directory packages/runtime hits through the single-file glob packages/runtime/src/**/cascade-delete-multivalue-lookup-real-driver* (literal prefix packages/runtime/src/), and so do packages/metadata-protocol, packages/services/service-analytics, packages/services, packages and .github/workflows. Almost no change under those directories touches a temporal_live file, so the queue build skips the leg and its first run is main's push battery, the opposite of what the row says. This is the unsafe direction: the row removes the warning this function exists to give (#24073), and it matters more once ruling 7238262118 makes the context required. Fix shape: decide queueHit on the pattern matching the path itself (triggerPatternRegex), and give a directory surface that only reaches into the globs either the full-battery sentence or a third, hedged sentence ("the queue build runs it only if a changed file is in filter.temporal_live"). A self-test case on a directory surface should pin it. Carrying the deciding glob on the row, as hits does for the population, would also let the reader check the claim.

N1 (nit) — queuePaths and untranslatable or negated globs. A negated extglob refuses the job, which is the safe direction and matches the population's rule. A positive extglob is dropped silently, and a plain negation is kept and evaluated in GitHub paths: order. For the population a narrower list costs a missing lead. For queuePaths a narrower list flips the row to "admits merge_group only when the output matched, which none of your paths does", a stronger sentence than the evidence, and the row's dropped count covers the population only. That errs toward more caution for the dev, and temporal_live on this head carries no extglob and no negation, so nothing is wrong today. Follow-up: refuse the per-card split (or hedge the sentence) when any queue glob was dropped or is a negation.

N2 (nit) — docblocks left behind by the third clause. jobIfReading's docblock still says notOnPullRequest is true "when either clause was stripped"; jobFilterPopulations' return shape omits queueGate and queuePaths; fullBatteryOnlyClause's docblock says the clause is read off the two flags and does not name queueOutput. The code is right in each place.

N3 (nit) — the reading inherits the older clauses' precedence blind spot: an unparenthesised A || B ahead of the stripped clause is read as two refs both under the event clause, where GitHub binds the clause to B alone. Not introduced here, and no live if: is spelled that way.

scripts/check-required-contexts.mjs (tombstone prose), against ruling record 7146156389 and item 3 ruling 7238262118.

Sentence by sentence the new text agrees with the tree at this head: the leg moved to the full battery under #22998 (push, scheduled and dispatch runs, matching ci.yml's THE TWO SPEEDS); since 7146156389 it also runs on a merge_group entry that hits temporal_live and never on pull_request; it is not a required context, so a red queue run does not eject the entry; the check-run is published on full-battery runs and on such a queue entry. The observation reading's one red (#37279 landing with a red leg) is exactly the behaviour the prose describes.

Against item 3: the maintainer chose "set as required" after this head was pushed. The sentence "whether it rejoins the set is the maintainer's call, made in the ruleset" is then already answered, yet it is not false on main: the registry has no row and the ruleset does not require the context until the row PR merges and the maintainer edits the ruleset in the same sitting. Ruling 7238262118 assigns the rewrite of this block (tombstone to a "Returned" line) to that row PR and orders it after this one. Leaving the sentence as it stands is the ordered sequence, and no finding is graded on it.

Open on this head: S1. It earns a delta review of its fix. N1 to N3 are left as accepted deviations or follow-up work; fixing them here would move the head.

Implemented-by: claude/issue-38087-temporal-live-companion
Reviewed-by: session_016WV4czzx9dtSEm3jWWL9c3

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

L1 verdict (L1-a): REWORK at head 374afa106b2bc0a151f3db7f98860c9799fd98d4 (Part of #38087, items 1 and 2).

Review summary

The queue-path arm of jobIfReading matches the live temporal-conformance if: at ci.yml:2504 token for token, and it refuses the reordered and == spellings. The negated-extglob refusal fails in the safe direction. The tombstone prose agrees with ruling 7146156389. Contract record 7238515315 is PASS at this head with its tier verified, and it leaves one graded item open.

Owed before landing: S1 of 7238515315, a directory surface reads as a queue hit. I reproduced it by importing jobFilteredSteps from this head over the live workflows:

Card paths fullBatteryOnly Row says
packages/drivers/driver-sql/src/sql-driver.ts false queue build first (right)
packages/runtime/src/domains/packages.ts true full battery (right)
packages/runtime (a directory) false queue build first (wrong)

triggerListCovers counts a directory as covered when one glob reaches into it. That glob is the cascade-delete-multivalue-lookup-real-driver file. Most changes under packages/runtime skip the leg in the queue, so their first run is main's push battery.

Fix:

  • Decide queueHit on a pattern matching the path itself.
  • A directory that only reaches into the globs reads the full-battery sentence, or a hedged third sentence.
  • Pin it with a directory-surface self-test case and its ablation.

With the same push (nits):

  • N1: a dropped positive extglob or a plain negation can narrow queuePaths without disclosure.
  • N2: three docblocks do not name the third clause.
  • N3: an unparenthesised A || B ahead of the event clause is a blind spot inherited from the older clauses.

Next: the fix earns a delta contract review and a delta L1. After that it goes to seat 1 (Tier H).

…e path itself

A directory surface such as packages/runtime reached into the one-file
cascade-delete glob of filter.temporal_live through triggerListCovers'
directory rule, and its row said the merge-queue build runs the leg
first. The split now uses triggerListMatches (no directory reach) and
carries the deciding glob on the row; a surface that only reaches into
the globs, or a queue list narrowed by a dropped extglob or carrying a
plain negation, gets a hedged sentence instead. An unparenthesised
A || B ahead of a stripped event clause is refused, and the docblocks
name the third clause.

Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 0e1b472 · 2026-11-28T11:46Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 0e1b4724af2defa73ed641744334ab05c05bca2e
Security-touching: no
Local-runs: none
Scope: scripts/pm/dispatch-gates.mjs + scripts/check-required-contexts.mjs

Delta record on record 7238515315. Read this round: the one author commit 0e1b4724af on 374afa106b (two files, scripts/pm/dispatch-gates.mjs and its self-test; scripts/check-required-contexts.mjs is unchanged since the earlier record), dev report 7238757344 on #38087, the workflows at this head, and the check-runs on this head. Merge base is still e42520c67bcef027552f8db83655ff9b54d32cef.

S1: closed

① Derived judgments

  • triggerListMatches (new export): right. It is triggerListCovers with the directory reach removed: the same last-match-wins walk, deciding on triggerPatternRegex against the path itself. jobFilteredSteps now splits three ways. A path a glob matches itself gives the queue-build-first sentence and names the path and the glob on the row. A surface that only reaches into the globs gives the hedged sentence. Neither gives the full-battery sentence. The three branches are exhaustive, and fullBatteryOnly is set only on the third.
  • Tried to break the split. Read against the temporal_live globs at this head:
    • packages/runtime, packages/metadata-protocol, packages/services, packages, .github/workflows: no glob matches the path itself, one reaches, so hedged. Right.
    • packages/runtime/src/domains/packages.ts: no match, no reach, so full battery. Right.
    • packages/drivers/driver-sql/src/sql-driver.ts and the directory packages/drivers/driver-sql/src: both match packages/drivers/driver-sql/** itself, so queue build first. Right for the directory too, since every file under it is in the glob.
    • The directory packages/drivers/driver-sql with no trailing segment: ^packages/drivers/driver-sql/.*$ does not match it, so it is hedged although every file under it is in the glob. The sentence is weaker than the truth and not false. See N4.
    • A mixed surface: one exact match among the paths wins over a reach on another, which is what the queue does (one changed file in the filter schedules the leg).
  • The hedged sentence: right. It keeps "does NOT run on this PR", states the condition the queue build really applies, and names main's push battery as the other outcome. It never says the queue build is the first run.
  • N3 refusal, accept-set narrowed: right, and no live if: is lost. bareOr refuses only when an event clause was stripped and the remaining text carries || outside one whole paren pair. Every job if: in .github/workflows at this head that reads needs.JOB.outputs:
    • with an event clause: ci.yml:2504 (temporal-conformance, one ref ahead of the clause), ci.yml:2861 (dogfood shards, one ref), ci.yml:3126 (dogfood-verify, one ref). None carries || ahead of the clause, so all three read exactly as before.
    • ci.yml:5667 (ui published artifacts) carries ui_tree != 'false' && (ui || ui_consumers) ahead of the full-battery clause. It was already refused before this commit, by the && intersection rule, so the new refusal changes nothing for it.
    • with || and no event clause: ci.yml:875 and release.yml:2255. notOnPullRequest is false there, so bareOr is never consulted.
    • every other one is a single ref, or carries a second && conjunct that was refused before.
      The parenthesised (A || B) ahead of a clause still reads; the self-test pins both sides.
  • queueUncertain: right. True when a positive extglob was dropped from the queue list or the list carries a plain negation; the row then hedges whatever the paths are. A negated extglob still refuses the job. With the flag set, triggerListMatches' negation order never decides a sentence, so the picomatch against GitHub-order difference can no longer produce a wrong claim.
  • Other rows: unchanged. queue is the empty object for every job without the clause, so their rows are byte-identical. fullBatteryOnlyClause reaches its two new branches only through row.queueOutput.

② Semver level

Unchanged from record 7238515315: scripts only, nothing published, skip-changeset label, Clause-②: no holds. triggerListMatches is a new export of an unpublished script.

③ Boundary flags

  • open_questions: empty in report 7238757344.
  • Dev correction: check:i18n-coverage was exit 3 (prerequisite not met, CLI not built) in both rounds, not exit 0 as the first report said. Answered: this diff touches no CLI, example or locale file, and the repo gates on the head are green in CI.
  • Out-of-scope flag on check-expected-skips: answered in record 7238515315, unchanged.
  • SQL push-down: not applicable.
  • Check-runs on this head when read: Lint · PM dispatch-gates success (the full dispatch-gates self-test), Lint & Repo Gates, every other Lint · leg, all four Type Check · legs, TypeScript Type Check, Governed Surface Queue Guard, PR-body guards, Dogfood Regression Gate, Test UI and Test Core (2/10) success. Test Core (1/10) was still in progress and the Test Core aggregate had not reported. Check Changeset showed as skipped twice with no success run yet. No check-run had failed. This verdict stands on the completed runs; the two unsettled contexts are the queue's to wait for and neither exercises the two files in scope.

④ Design judgment

scripts/pm/dispatch-gates.mjs

The fix for S1 holds against the code it cites. The docblock on jobFilteredSteps now states the rule (a glob matching the path itself, never the directory reach), and the code does that. The live case from the earlier record, packages/runtime, now reads hedged, and the card's scenario, a driver-sql file, still reads queue build first and names packages/drivers/driver-sql/**.

Self-test pins and their ablation, read not run: the packages/runtime pin asserts queueHedged, the hedged sentence on both renderings, and the absence of both other sentences, so a revert to triggerListCovers fails it. Its ablation strips queueHedged from the row and asserts the queue-build-first sentence returns, which is the defect sentence. The triggerListMatches unit pin sets it beside triggerListCovers on the same directory. The earlier route-ledger pin still covers the full-battery branch.

No must-fix, no should-fix.

N1: closed

N2: closed

N3: closed

N4 (nit) — hedge wording at two edges. A directory that a DIR/** glob wholly contains, given without a trailing segment (packages/drivers/driver-sql), is hedged where queue build first would be true. And when queueUncertain forces the hedge, queuePath is the first path that reaches, which may be a path a glob matches itself; the parenthetical "reaches into it but does not match it" is then inexact. Both err toward caution, and no live queue list is uncertain. Follow-up only.

N5 (nit) — queueUncertain is pinned on the population and not on the row: removing job.queueUncertain === true || from jobFilteredSteps fails no case. Latent while temporal_live carries no extglob and no negation. Follow-up only.

scripts/check-required-contexts.mjs

Unchanged since record 7238515315; its judgment there stands on this head.

Implemented-by: claude/issue-38087-temporal-live-companion
Reviewed-by: session_016WV4czzx9dtSEm3jWWL9c3

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3

L1 verdict (L1-a): ACCEPT (delta) at head 0e1b4724af2defa73ed641744334ab05c05bca2e (Part of #38087, items 1 and 2). This follows REWORK 7238523120 at 374afa106b.

Review summary

  • S1 closed. triggerListMatches decides the queue-path split on a glob matching the path itself. I re-ran my probe at this head, importing jobFilteredSteps over the live workflows:
Card paths Row reads
packages/drivers/driver-sql/src/sql-driver.ts queue build first, naming packages/drivers/driver-sql/**
packages/runtime/src/domains/packages.ts full battery
packages/runtime (a directory) queueHedged: true: the queue build runs it only if a changed file is in filter.temporal_live, otherwise main's push battery
  • Nits folded in. N1: queueUncertain forces the hedge, and a negated extglob still refuses the job. N2: the docblocks now name the third clause. N3: an unparenthesised A || B ahead of an event clause is refused. The delta record checked every live job if: that reads needs.JOB.outputs, and the N3 refusal loses none that read before.
  • The records. Delta contract record 7238800835 is PASS at this head with its tier verified and nothing graded open. The judgments of 7238515315 stand, including the tombstone prose in check-required-contexts.mjs, which is unchanged. Two new nits are left for a follow-up:
    • N4: the bare directory packages/drivers/driver-sql is hedged.
    • N5: queueUncertain is unpinned on the row.
  • Gates. At this head the check-runs read 29 success, 22 skipped, 0 failed and 1 in progress. This ACCEPT is on the code. Landing waits for all-green at this head.

Next: Tier H. It goes to seat 1 for the human merge or an authorized approval, and then the landing. The REQUIRED_CONTEXTS row PR follows after this lands.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

Seat record · 2026-11-28T11:51Z · PR #38267 (Part of #38087, items 1–2) · head 0e1b4724af2defa73ed641744334ab05c05bca2e · governed scripts/pm/** — Tier H

维护者速读

Seat opinion: land.

席位核对 — ACCEPT · repo:objectstack#1 · head 0e1b4724af

  1. Shape. Draft, base main, 3 files (+227/−16): scripts/pm/dispatch-gates.mjs (+123/−12), scripts/pm/dispatch-gates.self-test.mjs (+96), scripts/check-required-contexts.mjs (+8/−4). Body: Part of #38087 (items 1–2; item 3 is the maintainer's), Clause-②: no, Metadata-protocol: none; no .claude/** path, so no Rule-change line is owed. check-governed-merges reads GOVERNED ⇒ Tier H.
  2. Premise measured. The temporal-conformance job's if: (ruling record 7146156389) ended in a clause jobIfReading refused whole, so a driver-sql card derived no row for the live PG + MySQL leg. The reader now recognises that exact spelling and returns queueGate. Per card, a matching path reads "first run is the merge-queue build", a path outside every glob reads full battery, and a directory surface that only reaches into the globs gets the hedged sentence. An unparenthesised A || B ahead of a stripped event clause is now refused. L1-a re-ran its probe at this head: the directory surface hedges, the driver-sql file reads queue-first, and a runtime file reads full battery. The delta contract record closes S1 and N1 to N3; the earlier record 7238515315's judgments stand.
  3. Gates (check-runs at this head). 31 success, 22 skipped, 0 failed (Test Core finished green after the L1 read). mergeable clean. landing-k K = 1 on the new Test Core base.
  4. Accepted deviations. L1 nits N4 (the bare directory packages/drivers/driver-sql is hedged) and N5 (queueUncertain unpinned on the row) go onto ci: the live PG + MySQL merge-queue leg (ruling B of #36614): read its observation window, finish the companion edits, then the maintainer decides the required set #38087 as follow-ups.
  5. Out of scope → where it went. Item 3 of ci: the live PG + MySQL merge-queue leg (ruling B of #36614): read its observation window, finish the companion edits, then the maintainer decides the required set #38087 is the maintainer's, and he ruled it 「设为必过」 (7238262118). After this lands, area o1-F writes the REQUIRED_CONTEXTS row PR, and the maintainer adds the ruleset entry the day that row PR merges. The card keeps pm:dispatched. It is p2; the maintainer's 2026-11-28 fleet line 「CI 和合并队列 可以派」 lifts the fleet p1-only line for it. Security-touching: no.
  6. Landing terms. L1-a ACCEPT (delta) 7238807568 + contract review PASS 7238800835 (CONTRACT_REVIEW_TIER, same head) ⇒ ②③ in one --handoff stroke. After an authorised APPROVED, seat 1 lands it (maintainer's seat-thread line 2026-11-26T13:33Z 「审批人批准后的 Tier H PR 你可以自主落地」). A head move other than a clean main merge withdraws the hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

Approval request · governed scripts/pm/** (Tier H) · PR #38267 (Part of #38087) · head 0e1b4724af2defa73ed641744334ab05c05bca2e

@os-zhuang: items 1–2 of #38087. dispatch-gates now reads the temporal-conformance job's if: and tells a driver-sql card that the live PG + MySQL leg first runs in the merge queue, with a hedged sentence for a directory surface. An unparenthesised A || B ahead of a stripped event clause is refused. No CI behaviour changes. Records on this head:

  • L1-a ACCEPT (delta) 7238807568
  • contract review PASS 7238800835 (CONTRACT_REVIEW_TIER)
  • seat record ACCEPT above

Every check is green or expected-skip. An APPROVED review on this head lets seat repo:objectstack#1 ready and land it; nothing else is asked.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 28, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 28, 2026 11:54
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit b6d0477 Nov 28, 2026
59 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-38087-temporal-live-companion branch November 28, 2026 12:59
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants