Skip to content

chore(pm): one round source, stateless ROUND_RULE, inflight --paths and is-ancestor pointers (#35237 slice 11) - #38243

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-35237-slice11-round-and-pointers
Nov 28, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/issue-35237-slice11-round-and-pointers

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Part of #35237 (slice 11: carrier items 20, 21, 22; the card keeps its other items)
Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 用户无感:车队席位读到的「一轮多长」只剩一处来源,在飞检查命令照文档敲即可运行,查祖先判断的规则能被搜到。
  • 属于车队规则收口专题,替各席位解决三条上一轮评审留下的指针与重复常量问题。
  • 出错只会让欠审清单或开轮自退按错的轮长判断,不碰产品代码,可直接撤回本 PR。
  • 无。

What changes

  • Item 20 (scripts/pm/check-owed-reviews.mjs): TRIAGE_ROUND_MINUTES is now ROUND_MINUTES imported from round-open.mjs (no import cycle: the round-open closure is 5 modules and none of them imports check-owed-reviews). The exported name is kept. Both comments now point at the seat-lifecycle.md round line instead of the retired contract-review.md phrase.
  • Item 21 (a) references/landing-operations.md 约定③ drops its 「(~60 分钟)」 figure, as slice 9 did for contract-review.md.
  • Item 21 (b) references/contract-review.md trigger (b) 「已等满一轮」 now carries the pointer (seat-lifecycle.md). Paid for in the same file by five prose tightenings that keep every rule (不起第二个 agent to 不另起 agent, 所定, 的, 而, 、且).
  • Item 21 (c) scripts/pm/round-open.mjs: the exported ROUND_RULE has no g flag now (/一轮 (\d+) 分钟/u). roundMinutesOfRule scans with a local global copy. A new self-test case pins the export as neither global nor sticky, checks that three .test() calls answer the same, and checks that the scan still reads every figure. The battery floor goes from 3 to 4.
  • Item 22 (a) SKILL.md 〈车道与域〉 spells the in-flight check as the usage line does: check-handover.mjs --inflight --paths=PATH[,PATH…]. Paid for in the same file by six tightenings (绝, 的, 就还 to 即, 自己读的 to 自读, 自己的 to 自有, 的), and no rule is removed.
  • Item 22 (b) The AGENTS.md git-history sentence now reads "an is-ancestor containment one", so a search for the command lands on it.
  • Item 22 (c) The "why" link went to a section that covered only the windowed half. The section is renamed Shallow-clone history (the new anchor is shorter, and that pays for (b)), and one sentence now covers the containment half: a cut only withholds an ancestor path, so exit 0 stands in any clone and a "not an ancestor" result may be the cut; git-history.mjs ancestor proves the negative with a control leg, or it refuses. The anchor had no other referrer (git grep).

Bytes per ratcheted file (wc -c, origin/main bd5407e to this head)

File origin/main this head net ceiling (unchanged)
AGENTS.md 78709 78708 -1 78712
.claude/skills/pm-dispatch/SKILL.md 33342 33340 -2 33351
.claude/skills/pm-dispatch/references/contract-review.md 6403 6402 -1 6419
.claude/skills/pm-dispatch/references/landing-operations.md 10673 10661 -12 10717

No CEILINGS row moved. docs/agents/multi-agent-discipline.md carries no ceiling.

Tests

All runs are on head 329c808fc8.

Self-tests and ablations (on-disk mutation, then restore)
  • node scripts/pm/round-open.mjs --self-test: exit 0, ✓ round-open self-test: 39 cases pass across 6 batteries.
  • node scripts/pm/check-owed-reviews.mjs --self-test: exit 0, 96 cases pass in 10 batteries.
  • Ablation A1, ROUND_MINUTES = 60 changed to 45 in round-open.mjs only. check-owed-reviews goes red through the import (exit 1, ✗ … under a full round, nothing else holding ⇒ WAIT, 1 of 96). round-open goes red against the seat-lifecycle.md line (exit 1, 2 of 39).
  • Ablation A2, the g flag put back on the export. round-open goes red (exit 1, the new case reads got [true,[true,false,true],[60,45]]). That is the lastIndex state the card names.
  • Ablation A3, the seat-lifecycle.md line changed from 60 to 45. round-open goes red (exit 1, got [45], want [60]). The 60 to 45 pin still holds.
  • After each ablation the file was restored, and both suites are green again (exit 0).

Acceptance notes

  • docs/agents/multi-agent-discipline.md is outside the fence's file list, but item 22 (c) says to fix the link, and fixing the link target there is the cheap way to do it. It is not ratcheted.
  • No changeset: nothing in the diff ships (scripts/pm/**, .claude/**, AGENTS.md and docs/agents/** are fast-lane paths). Hence skip-changeset.

Verification

  • Files to read first, by risk: scripts/pm/round-open.mjs (the ROUND_RULE hunk), scripts/pm/check-owed-reviews.mjs (the import and constant hunk), and AGENTS.md (the history sentence).
  • Two-minute check: run node scripts/pm/round-open.mjs --self-test && node scripts/pm/check-owed-reviews.mjs --self-test. You should see two ✓ lines, with 39 and 96 cases.
Local gates: 50 of 50 derived families, every one exit 0
  • node scripts/pm/dispatch-gates.mjs --ran FILE: ✓ 50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED (a DERIVED zero — all 50 recorded an exit code and none of them is 3).
  • pnpm check:pm-skill-ratchet exit 0. pnpm check:pm-governed-prose exit 0. pnpm check:pm-dispatch-gates exit 0. pnpm check:nul-bytes exit 0.
  • pnpm --filter @objectstack/lint run check:doc-formula-expressions first exited 3 (dist not built, so it measured nothing). After the formula and lint build under the verify lock (VERDICT command-exit 0) it exits 0.
  • node scripts/pm/overlap-check.mjs --branch=claude/issue-35237-slice11-round-and-pointers: VERDICT clean exit 0.
  • CI families: read them from this PR's check-runs. They were not re-run here.

Generated by Claude Code

…nd is-ancestor pointers

check-owed-reviews.mjs reads TRIAGE_ROUND_MINUTES from round-open.mjs's
ROUND_MINUTES (the seat-lifecycle.md round line) instead of a second literal.
round-open.mjs exports ROUND_RULE without the g flag; the scan takes a local
global copy. landing-operations.md drops its round figure, contract-review.md
trigger (b) points at seat-lifecycle.md, SKILL.md spells --inflight with its
required --paths=, and the AGENTS.md history sentence carries is-ancestor with
a why-section that covers the containment half. Each ratcheted file is paid
for in the same file.

Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 28, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 28, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 329c808 · 2026-11-28T10:15Z

@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: 329c808fc85b9e8ff533e66d68d1cdf46bfe4e36
Local-runs: none
Scope: .claude/skills/pm-dispatch/SKILL.md, .claude/skills/pm-dispatch/references/contract-review.md, .claude/skills/pm-dispatch/references/landing-operations.md, AGENTS.md + scripts/pm/round-open.mjs, scripts/pm/check-owed-reviews.mjs, docs/agents/multi-agent-discipline.md
Security-touching: no
Rule-change-verified: none

PR #38243, card #35237 slice 11 (carrier items 20, 21, 22). Net diff of the head against merge base bd5407ec74b280f92a281ca4f82e5c8f0f8bdd47: 7 files, +31 -24. Read-only: the card body and its whole thread, the PR body and file list, the net diff, the check-runs on the head, and the cited code read in the head tree with git show. Nothing was built, run or re-run; the record template was printed as the brief prescribes.

Main has moved from the merge base to 98bd8deed7 (and on, to e42520c67b at my fetch). Its new commits touch packages/plugins/knowledge-turso/**, skills/objectstack-ui/SKILL.md, two scripts/check-*.mjs gates, changesets and changelogs. None is a file of this PR, none imports ROUND_RULE, ROUND_MINUTES or TRIAGE_ROUND_MINUTES, and none refers to the renamed anchor or to the in-flight command. This record is not undercut.

① Derived judgments

  • Published surface: none. The diff is AGENTS.md, .claude/**, docs/agents/** and scripts/pm/**; no workspace package, no schema, no exports map. Right.
  • TRIAGE_ROUND_MINUTES (check-owed-reviews.mjs:141) is now ROUND_MINUTES from round-open.mjs:97, which is 60. The value is unchanged, so trigger (b) at :360 accepts and refuses exactly what it did. Right. No import cycle: round-open.mjs imports ../invoked-as.mjs, ./check-half-states.mjs (which imports ./seat-record.mjs) and ./gh-pages.mjs; none of them imports check-owed-reviews. The import has no side effect: round-open.mjs runs main or its self-test only under isEntrypoint(import.meta.url) (:772).
  • ROUND_RULE (round-open.mjs:112) loses g and gains u. The only reader in the head tree is roundMinutesOfRule on the next line, which now scans with a local gu copy built from ROUND_RULE.source; its results are the same list as before. The export is internal to scripts/pm, nothing else imports it. Right.
  • Anchor #windowed-history-on-a-shallow-clone becomes #shallow-clone-history. The heading ## Shallow-clone history slugs to that anchor, and AGENTS.md:396 is the only referrer in the head tree (searched for both spellings). Check Documentation Links is green. Right.
  • The four byte-ratcheted files are each net at or below zero and under their unchanged ceilings, measured on the two trees: AGENTS.md 78709 to 78708 (ceiling 78712), SKILL.md 33342 to 33340 (33351), contract-review.md 6403 to 6402 (6419), landing-operations.md 10673 to 10661 (10717). No CEILINGS row is in the diff. Right.
  • Gates: every check-run on the head is success or an expected skip (among them Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Lint · repo & tooling gates, Lint · docs & code guards, Check Documentation Links, Check Changeset, Governed Surface Queue Guard, PR-body guards). No red, none pending.

② Semver level

Clause-②: no — agreed. Nothing in the diff ships, so no changeset is owed; the PR carries skip-changeset and Check Changeset is green. Metadata-protocol: none is also right: no metadata key is touched.

③ Boundary flags

  • open_questions in the dev report (7237450148): empty. Nothing to answer.
  • Dev flag, the PR body carries no signature line because the dispatch fixed its first two lines: noted, no effect on the tree.
  • Dev flag, docs/agents/multi-agent-discipline.md is edited beyond the claim's literal file list: accepted. Item 22 (c) asks for the "why" link to cover the containment half, that file is the link's target, it is not ratcheted, and the edit is one heading and one sentence. I reviewed it as an implementing file.
  • Rule change. I read every changed hunk under .claude/** and in AGENTS.md against the three heads. None alters what an agent may do without the maintainer, what gets done and in what order, or what must go to him: ⛔ 绝不从 to ⛔ 不从 keeps the prohibition; 就还不可标 to 即不可标, 自己读的 to 自读, 自己的 to 自有, 不起第二个 agent to 不另起 agent and the four dropped particles in contract-review.md are wording; the in-flight line gains its required argument; trigger (b) gains a pointer; 约定③ loses a figure whose value (60) stays on the seat-lifecycle.md round line. Hence Rule-change-verified: none.
  • ⛔ The PR body declares NO Rule-change: line. .claude/agents/os-dev.md:225-226 requires exactly one line-start Rule-change: on a PR whose diff touches .claude/**, and says a missing line reads as yes, Tier H; AGENTS.md:298-300 says the same ("no line, yes, settings and hooks are Tier H"). So as the body stands this PR waits for the maintainer whatever this record says. A body edit moves no head: if the implementer adds a line-start Rule-change: none, it equals the value verified here. This is a PR-body gap, not a defect of the tree, so it is not a ④ finding; it is for the dispatching seat to act on before any hand-off.
  • Other author: the PR user.login is objectstack-fleet[bot]; no off-relay author to name.
  • SQL push-down: no data-access code in the diff. No id materialisation, no in-app join. Nothing to find.
  • Security: no hunk teaches permission, sharing, credential, token or authentication behaviour.

④ Design judgment

.claude/skills/pm-dispatch/SKILL.md — holds. Line 184 now spells node scripts/pm/check-handover.mjs --inflight --paths=PATH[,PATH…], which is the usage line of check-handover.mjs (:10 and :1066) character for character; parseInflightPaths (:659-666) refuses a run without --paths, which is the failure item 22 (a) names. The reworded tail, the surface about to be dispatched intersected locally with the surfaces the pm:dispatched claims declare, is what runInflight and inflightVerdict do (:675, :883-905). The six tightenings (lines 151, 152, 166, 201, 215) each keep their rule and their ⛔; none of the old spellings is pinned by any script in the head tree.

.claude/skills/pm-dispatch/references/contract-review.md — holds. Trigger (b) points at seat-lifecycle.md, whose line 5 is the one line that spells 「一轮 60 分钟」 and the line round-open.mjs pins; check-owed-reviews.mjs:360 judges (b) by that same number after this PR, so the text, the pin and the judge now agree on one source. The five tightenings keep every rule; 不另起 agent loses nothing against 不起第二个 agent (area-lease.md:48 keeps the old spelling for its own rule and is untouched).

.claude/skills/pm-dispatch/references/landing-operations.md — holds. 约定③ no longer carries a second, approximate copy of the round figure, as item 21 (a) asks. See N1.

AGENTS.md — holds. The sentence now carries is-ancestor, the word an agent about to type git merge-base --is-ancestor searches for, beside the command git-history.mjs ancestor, whose usage (git-history.mjs:17) exists. The link resolves to the renamed section. tools answering their own question keeps the meaning of the sentence on historyHorizon().

docs/agents/multi-agent-discipline.md (implementing) — agrees with the code. "A cut only withholds an ancestor path, never invents one, so exit 0 stands in any clone" is git-history.mjs:186-188 nearly word for word; "proves the negative with a control leg or refuses" is ancestorReading (:921-979): on a cut clone the negative is proven only by the floor boundary, whose control leg is run (:963), and every other case refuses. On a complete clone there is no boundary and so no control leg (:895), which the section's title, shallow clones, leaves out of scope correctly.

scripts/pm/round-open.mjs (implementing) — agrees. The export is stateless as its new jsdoc says; the new case pins global || sticky false, three equal .test() answers, and a two-figure scan, and the battery floor moves 3 to 4 with exactly four t calls in that battery (:649-652). I tried to break it: a g-less matchAll would throw, but the scan never calls matchAll on the export; the u flag changes nothing for this pattern.

scripts/pm/check-owed-reviews.mjs (implementing) — agrees. One source, the name kept, the docblock at :85-86 and the jsdoc at :140 both name the seat-lifecycle.md round line. Its self-test rides check:pm-record-recognisers and round-open's rides check:pm-prior-rulings (package.json:86-87), so a changed ROUND_MINUTES reaches both.

No must-fix, no should-fix.

  • N1 (nit) — landing-operations.md:93 drops the figure but names no home for it, the same gap item 21 (b) closed in contract-review.md with (seat-lifecycle.md). The file has 56 bytes under its ceiling. Left as a follow-up for the card's carrier list; no effect on the rule.
  • N2 (nit) — check-owed-reviews.mjs:140 keeps the sentence "The name is kept: importers read it", but no file in the head tree imports TRIAGE_ROUND_MINUTES. Harmless; the sentence predates this PR.
  • Note for the carrier list, outside the diff and not reviewed: .claude/skills/pm-dispatch/references/execution-duties.md:42 still names check-handover.mjs --inflight with no --paths=, the spelling item 22 (a) fixed in SKILL.md.

Independence: implemented in session session_016WV4cxRDKprCtjpEdtiPFW on the branch below; reviewed in a different session that took neither the dispatch order nor the dispatching seat's conclusions as input.

Implemented-by: claude/issue-35237-slice11-round-and-pointers
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 at head 329c808fc85b9e8ff533e66d68d1cdf46bfe4e36 (Part of #35237, slice 11: items 20, 21 and 22).

Review summary

  • Item 20. TRIAGE_ROUND_MINUTES is now ROUND_MINUTES (60) imported from round-open.mjs, so the value is unchanged and there is one source. Nothing that round-open.mjs imports (check-half-states.mjs, gh-pages.mjs, invoked-as.mjs) imports check-owed-reviews.mjs, so there is no cycle. Its main is guarded by isEntrypoint, so importing it has no side effect.
  • Item 21. ROUND_RULE has no g flag now. Its only reader, roundMinutesOfRule, scans with a local gu copy, and no other file imports ROUND_RULE. The new case pins the export as stateless, and the battery floor of 4 matches. The 约定③ figure is dropped, and trigger (b) now points at seat-lifecycle.md.
  • Item 22. The in-flight line now matches the check-handover.mjs usage line. The #shallow-clone-history anchor resolves, and AGENTS.md is its only referrer. The containment sentence agrees with git-history.mjs ancestor.
  • Prose tightenings. I read each one, and none drops a rule. All four ratcheted files are net at or below zero, under unchanged ceilings.
  • My local runs at this head. round-open.mjs --self-test passes 39 cases in 6 batteries. check-owed-reviews.mjs --self-test passes 96 cases in 10 batteries.
  • Contract record. 7237837161 is PASS at this head with its tier verified, Security-touching: no, Rule-change-verified: none, and nothing graded open.
    • Nits left as follow-ups: N1, the 约定③ line has no seat-lifecycle.md pointer. N2, the "importers read it" sentence is stale.
    • Also outside this diff, execution-duties.md still spells --inflight without --paths=.
  • Gates. At this head the check-runs read 28 success, 23 skipped, 0 failed and 0 pending, and the PR is mergeable clean. Main's new commits since bd5407ec74 touch none of this PR's files.

Owed before hand-off (body only, no head move): the PR body has no line-start Rule-change: line. Per AGENTS.md and os-dev.md, a missing line reads as yes. Add Rule-change: none, the value the record verified.

Next: governed (.claude/**, AGENTS.md). It goes to seat 1 for the tier reading and the landing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Seat record · 2026-11-28T10:24Z · PR #38243 (Part of #35237) · head 329c808fc85b9e8ff533e66d68d1cdf46bfe4e36 · governed AGENTS.md, .claude/**, scripts/pm/** — Tier H

维护者速读

  • 做什么:车队席位读到的「一轮多长」只剩一处来源(两个脚本共用一个常量,参考页不再各写一个数字);在飞检查命令照文档敲就能运行;开发规范里查祖先判断那句能被搜到。这是「把手抄流程改成脚本」那张卡(pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237)的第 11 片。
  • 风险:7 个文件 +31/−24,只动车队规则文字和两个车队脚本的常量与自检,不碰产品代码;受字节上限约束的四个文件都变小了,没有上限被调高。
  • 要你做什么:审批人批准即可。契约审核 PASS 7237837161,Head-sha 329c808fc85b9e8ff533e66d68d1cdf46bfe4e36;批准后座位自主落地。
  • 不批会怎样:一轮时长仍有两处各自写死,日后改一处另一处就会按错的轮长判断。

Seat opinion: land.

席位核对 — ACCEPT · repo:objectstack#1 · head 329c808fc8

  1. Shape. Draft, base main, 7 files (+31/−24): AGENTS.md, .claude/skills/pm-dispatch/SKILL.md, references/contract-review.md, references/landing-operations.md, docs/agents/multi-agent-discipline.md, scripts/pm/check-owed-reviews.mjs, scripts/pm/round-open.mjs. Body: Part of #35237 (slice 11: items 20, 21, 22), Clause-②: no, Metadata-protocol: none, Rule-change: none, the last added as a line-start line at this head with no head move. check-governed-merges reads GOVERNED (4 of 7 paths) ⇒ Tier H.
  2. Premise measured. check-owed-reviews.mjs imports ROUND_MINUTES from round-open.mjs instead of its own constant, and the PR shows no import cycle. ROUND_RULE loses its g flag, with a self-test pinning that. The rest is pointers and wording. Ratcheted byte nets are −1/−2/−1/−12, and no CEILINGS row moves. The contract record reads Rule-change-verified: none.
  3. Gates (check-runs at this head). 29 success, 26 skipped, 0 failed. mergeable clean. landing-k K = 7.
  4. Accepted deviations. None owed. The two L1 nits and the execution-duties.md:42 --inflight spelling go onto pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237 as items for a later slice.
  5. Out of scope → where it went. pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237's other items stay on the card, which keeps pm:dispatched (landing rule B). It is p1, so the maintainer's 2026-11-28 fleet p1-only line allows it. Security-touching: no.
  6. Landing terms. L1-a ACCEPT 7237844806 + contract review PASS 7237837161 (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 AGENTS.md + .claude/** + scripts/pm/** (Tier H) · PR #38243 (Part of #35237) · head 329c808fc85b9e8ff533e66d68d1cdf46bfe4e36

@os-zhuang: slice 11 of #35237. The round length now has one source: check-owed-reviews.mjs imports ROUND_MINUTES from round-open.mjs, and landing-operations.md drops its own figure. ROUND_RULE is no longer global-flagged, with a pinned self-test. The in-flight check is spelled as its usage line in SKILL.md, and the AGENTS.md git-history sentence names is-ancestor. No ratcheted file grows. Records on this head:

  • L1-a ACCEPT 7237844806
  • contract review PASS 7237837161 (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:24
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 46139726157 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Dogfood Regression Gate (3/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/expression-conformance.test.ts > ADR-0058 D7 — expression surface conformance ledger > is a sound conformance ledger + ratchet (ADR-0060 checkLedger)
      ↳ 失败原因: @objectstack/dogfood:test: AssertionError: UNCLASSIFIED surface — add a ledger row (ADR-0060): data/object.zod.ts:ObjectSchemaBase.uiReadonlyWhen: expected [ Array(1) ] to deeply equal []
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 26 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

Merged via the queue into main with commit 975e34e Nov 28, 2026
61 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-35237-slice11-round-and-pointers 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

documentation Improvements or additions to documentation size/s 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