Skip to content

docs(spec): two upgrade-guide entries state the record page rules as merged - #36273

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35701-shipped-text-after-body-tables
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35701-shipped-text-after-body-tables

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Fixes #35701
Fixes #36211

Clause-②: no
Metadata-protocol: semantic
Skills-docs: none — no skill teaches either entry's text; skills/objectstack-ui/rules/record-page.md §4 already says a kind: 'full' page is drawn on the desktop full page only, and no skill names the field-group refusal's shapes

维护者速读

Seat: repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797, area a4-I. Card 35846 was folded into this dispatch and is left out of this PR on purpose: see Acceptance notes.

Read first

  1. packages/spec/src/migrations/entries/semantic/18.field-group-related-list-side-card-refused.ts: the riskiest hunk is the reason parenthetical and the "Ruling B keeps the FK's declared relatedList authoritative" sentence. Check them against isGroupPlaceableRelationship / fieldGroupBodyTableRefusal in packages/spec/src/data/related-list-body-table.ts.
  2. packages/spec/src/migrations/entries/semantic/18.page-slots-tabs-retired.ts: the replacement tail now reads like PAGE_SLOTS_TABS_REMEDY in packages/spec/src/ui/page.zod.ts.
  3. packages/spec/liveness/object.json: one dated sentence was added to the fieldGroups[].relatedList note.

Two-minute check: pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/ui/page-slots-tabs-retirement.test.ts src/migrations/migrations.test.ts. Both files should pass. The D3 pin still finds `kind: 'full'` and no tracker number in any field shown to authors.

What changes

  • field-group-related-list-side-card-refused (card 35701). Since the body-table predicate was widened, a field group may place a master_detail FK that declares no relatedList, with or without inlineEdit, and the group makes it a body table. isGroupPlaceableRelationship accepts this shape, and so do the defineStack and publish-door refusals. The entry still listed it as refused. Changes:
    • surface: the shape "a plain master_detail with no inlineEdit" is removed from the refused list.
    • replacement: "for an inline-edited master_detail remove an explicit relatedList: true" becomes "for a master_detail …".
    • reason: the old predicate in the parenthetical is replaced by the merged one. The text matches the refusal sentence: "relatedList: 'primary', or a master_detail FK that declares no relatedList, which the group makes a body table".
    • The entry's header comment is corrected the same way.
    • The id, acceptanceCriteria and every predicate are unchanged.
  • page-slots-tabs-retired (card 36211). The replacement tail and the acceptanceCriteria now say a kind: 'full' page is drawn as authored on the desktop full record page, and that a phone and the side preview draw the standard record page with the composed strip. This matches the remedy and describe as merged in 92e0475e. The pin file's docblock line says the same.
  • Stale notes from 35701, comment only:
    • packages/spec/liveness/field.json: the relatedList evidence now says "absent on a master_detail FK that a parent field group places".
    • packages/spec/liveness/object.json: the fieldGroups[].relatedList note gains one dated sentence about the widened placeable set. Verdict unchanged: LIVE.
  • Checklist quote (scope addition 7027500679): in docs/qa/platform-checklist/areas/records-forms.json, item records-forms.related-list-server-pagination steps[1] quotes the relatedList describe. The quote now matches the describe as it stands on main. This is the only edit in that file. No other item and no revision changes: it is a correction to a quote, and what the step asks the grader to do is unchanged.
  • Changeset .changeset/35701-shipped-text-after-body-tables.md: @objectstack/spec minor. The kind is semantic, and per AGENTS.md step 3 a kind other than none takes at least minor. PR 92e0475e used the same level for its describe-only change.

os migrate meta lists the same entries for the same stacks. relevantWhen is keyed on top-level stack keys and is untouched, and the edit is in place: no new entry and no superseding entry.

Tests

Spec unit tests and gates (filled from the local run, see Verification)

At head 483e6f51f (all under scripts/pm/os-verify-lock.sh, VERDICT command-exit 0 each):

  • pnpm --filter @objectstack/spec test: Test Files 869 passed (869), Tests 27877 passed, 1 todo. This includes src/ui/page-slots-tabs-retirement.test.ts (the D3 entry pin) and src/migrations/*.test.ts.
  • pnpm --filter @objectstack/spec typecheck: exit 0; registry.ts is current (638 semantic, 307 retired-key, 249 retired-def).
  • pnpm --filter @objectstack/cli exec vitest run --maxWorkers=2 test/migrate-meta-engine-guidance.test.ts (the os migrate meta guidance pin), after building the cli closure: Test Files 1 passed, Tests 3 passed.
  • No ablation: no tested behaviour changed (text only).

Acceptance notes

Verification

Gate families derived by node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 483e6f51f: 92 commands, all run under the lock; --ran reconciliation: 92 derived, 92 run, 0 UNRUN.

  • 87 exited 0 on the first pass, among them check:spec-changes, check:upgrade-guide, check:docs (249 generated files in sync), check:liveness, check:platform-checklist (16 areas, 436 items OK), check:doc-authoring, check:nul-bytes, check:issue-citations, check:adr-0087-registration.
  • 3 answered PREREQUISITE NOT MET (exit 3 or 1, an unbuilt package) and exited 0 after pnpm --workspace-concurrency=2 --filter '@objectstack/cli...' build: migrate-meta-engine-guidance.test.ts, check:doc-formula-expressions, check:lean-entry-closure.
  • NOT MEASURED: check:dual-build-cjs-loads, which needs a full workspace build (105 packages without dist). CI's Lint & Repo Gates runs it.
  • NOT MEASURED: check-plugin-teardown-shape.mjs --self-test, whose positive control is pinned to a commit this shallow clone cannot reach. It is checker health only and cannot judge this diff.
  • generated references: content/docs/references/** embeds neither entry (git grep finds both ids only in release notes), so nothing was regenerated. The upgrade guide and spec-changes are gitignored projections, checked in memory above.
  • Overlap: node scripts/pm/overlap-check.mjs: VERDICT clean (PRs 36233 and 36223 share records-forms.json and merge cleanly).

Generated by Claude Code

…s drawn as authored on the desktop full record page only

The replacement and acceptance criteria now match PAGE_SLOTS_TABS_REMEDY as
qualified by the page describes: a phone and the side preview draw the
standard record page, with the composed strip. Text only.

Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797
Co-Authored-By: Claude <noreply@anthropic.com>
…ble set as widened

A field group may place a master_detail FK that declares no relatedList,
inlineEdit or not, so the entry no longer lists that shape as refused, and
its remedy and reason name the merged predicate. The liveness notes and the
checklist's relatedList describe quote follow. Text only.

Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation protocol:ui tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them. ⚠️ 2 changed file(s) yielded no anchor (packages/spec/liveness/field.json, packages/spec/liveness/object.json), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

What this run could not see
  • 2 changed file(s) yielded no anchor (packages/spec/liveness/field.json, packages/spec/liveness/object.json) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 67 of 249 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 174 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 28ba01fe6939ac40a5e72efe32ea6b7680eed33e → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 6a4547a6a521e68fcbf7df1917983775aac12618 — the merge of head 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5 into base 28ba01fe6939ac40a5e72efe32ea6b7680eed33e, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 6a4547a6a521e68fcbf7df1917983775aac12618 && git checkout 6a4547a6a521e68fcbf7df1917983775aac12618
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 28ba01fe6939ac40a5e72efe32ea6b7680eed33e 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5 && git checkout -B drift-repro 28ba01fe6939ac40a5e72efe32ea6b7680eed33e && git merge --no-ff 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5

node scripts/docs-audit/affected-docs.mjs --json 28ba01fe6939ac40a5e72efe32ea6b7680eed33e

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Final green head · area a4-I · 2026-11-22T04:43Z
Head: 483e6f51f3 — 59 check-runs success, 11 expected skips, 0 failed, 0 pending; mergeable_state clean (pr-state.mjs).
Carries #35701 and #36211. #35846 was released (7074089131) and closed as superseded by #36188 (PR #36284); this PR has no closing line for it.
Next: L1-b reads this head; then the area's Fable contract review (schema face: the two packages/spec/src/migrations/entries/semantic/18.* entries). Not governed: the area lands after both.
Known serial: PR #36284 rewrites the same field.zod.ts quote in records-forms.json (overlap-check exit 1); this PR lands first and #36284 merges main after.
Deviations the dev declared (report on #35701): the scope-addition quote uses the relatedList describe on main (the #35691 one was replaced by #35921); #36211's acceptanceCriteria and one pin-file docblock line were qualified the same way.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd
L1-b · 2026-11-22T04:45Z

席位核对 — ACCEPT · head 483e6f5

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Contract-review-claim: session_01FEkQ5kDGa1ViantgrfH797 · head 483e6f5 · 2026-11-22T04:46Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/18.field-group-related-list-side-card-refused.ts, packages/spec/src/migrations/entries/semantic/18.page-slots-tabs-retired.ts + packages/spec/src/ui/page-slots-tabs-retirement.test.ts
Security-touching: no
Rule-change-verified: none

Inputs read: cards 35701 and 36211 with every comment (triage, scope addition 7027500679, unblock, the two claims, dev report 7074075342); PR 36273 body, file list and net diff against main (7 files, +27 −16, two commits 2c7f83854, 483e6f51f); the 70 check-runs on the head. Cited code read on origin/main (76cb36661): packages/spec/src/data/related-list-body-table.ts, packages/spec/src/ui/page.zod.ts (PAGE_SLOTS_TABS_REMEDY, the kind describe), packages/spec/src/data/field.zod.ts and object.zod.ts (relatedList describes), packages/spec/src/stack.zod.ts and packages/lint/src/validate-related-list-refs.ts (the two refusal call sites), packages/spec/src/migrations/types.ts.

Check-runs on the head: 70 total, every one success or skipped, none failed, none pending. Success includes Check Changeset, Governed Surface Queue Guard, Spec property liveness, PR-body guards, Lint · docs & code guards, Lint · repo & tooling gates, Lint & Repo Gates, TypeScript Type Check, Type Check · workspace, Test Core (10 shards) and Test UI (16 shards). Skipped are the opt-in or path-filtered jobs (Queue verdict, Borrowed queue verdict, Packed-tarball smoke, 18.x upgrade harness, Schedule gate, Lint UI, Build Docs, Dogfood Verify CLI, Temporal Conformance, UI Published Artifacts).

① Derived judgments

  • Accept set: unchanged, right. The diff touches no schema, predicate, refusal, conversion or relevantWhen; both entries keep their id, and conversionIds on page-slots-tabs-retired is untouched. os migrate meta selects the same entries for the same stacks.
  • Public surface: the author-shown text of two shipped D3 entries (surface, replacement, reason of the first; replacement, acceptanceCriteria of the second). Each changed sentence was checked against live code (④) and is right.
  • In-place amendment of a shipped entry rather than a superseding entry: right. No hash or frozen-text pin exists on entry prose; the only pin on these entries (page-slots-tabs-retirement.test.ts:183-190) asserts the id exists, no tracker number in any author-shown field, and that replacement contains kind: 'full'. The new text holds all three (the added text carries no #NNNN; tracker numbers appear only in the // header comment, which is not author-shown).
  • Generated output: none owed. Both ids appear outside the entries only in content/docs/releases/v18/18-3.mdx (rows naming the ids, not the text), in registry.ts.template and in comments; no reference page embeds the prose. Card 36211 step 2 is answered by absence.
  • Remainder of the diff (changeset, records-forms.json quote, the two liveness JSON notes): the lane seat's ACCEPT, not judged here. Read for agreement only: the checklist quote is verbatim the relatedList describe on main (field.zod.ts:2385), and the field.json evidence wording matches isBodyTableRelationship with placedByGroup.

② Semver level

.changeset/35701-shipped-text-after-body-tables.md: @objectstack/spec minor, Clause-②: no, Metadata-protocol: semantic, the same two lines as the PR body. The diff moves only @objectstack/spec, and by AGENTS.md step 3 a kind other than none takes at least minor on a package the diff moves, so the level follows the declared kind. The kind semantic for describe-only text is the reading card 36211 prescribes ("the level ruling A gives a describe-only spec change, Metadata-protocol: semantic reading as on #36197"); the PR follows the card. No arm on the Clause-② line, and none is owed: nothing an author can write is widened or narrowed. Check Changeset: success. Right.

③ Boundary flags

  • open_questions[0] (card 35846, checklist item records-forms.master-detail-body-tables): ESCALATED, not answered here. It needs the maintainer's choice among A/B/C; the PR body's reader section already asks him. It does not gate this PR: the PR carries no closing line for 35846 and makes no edit to that item, and leaving a false item unedited is safer than writing the order text the voided note would have required.
  • Deviation, scope addition quote target (describe on main, not "as merged by feat(spec, ui): master_detail children are overview body tables by default #35691"): right. The feat(spec, ui): master_detail children are overview body tables by default #35691 describe's "absent = primary on a master_detail" is false since the group rule; the quote used is verbatim field.zod.ts:2385 on main.
  • Deviation, card 36211 widened to acceptanceCriteria and the pin docblock: right, same drift in the same entry; the acceptanceCriteria sentence was false on a phone before the edit.
  • Deviations on trailers, push-before-overlap-check ordering and git fetch --deepen: process only, no effect on the tree; the lane seat's.
  • Out-of-scope notes (lint CHANGELOG released entry, buildDefaultPageSchema.ts:306 docblock, "side card in the related column" wording): correctly left out; see N2 for the last.
  • SQL push-down: no query, id materialisation or in-app join in the diff. Nothing to find.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour; no skills/** and no .claude/** path in the PR.

④ Design judgment

18.field-group-related-list-side-card-refused.ts, against isGroupPlaceableRelationship / fieldGroupBodyTableRefusal on main:

  • surface: the refused set is now "a lookup or master_detail FK declaring relatedList true or false, a lookup with no relatedList, or a bare child name one of whose FKs is any of those". The predicate returns false exactly for: a non-'primary' declared value on either type (true, false), and an absent value on a lookup; the refusal fires for a bare name when ANY named FK is unplaceable. The enumeration is complete and exact; the removed shape (plain master_detail, no inlineEdit) is accepted by the predicate. Holds.
  • replacement: "relatedList: 'primary', or for a master_detail remove an explicit relatedList: true". Removing true leaves an absent value on a master_detail, which the predicate accepts and the naming group then makes a body table (isBodyTableRelationship with placedByGroup). The field.zod.ts describe says the same from the other side ("Write true on a master_detail field to keep it an auxiliary panel even from a field group"). Dropping "inline-edited" is right: inlineEdit takes no part in the verdict. Holds.
  • reason parenthetical: word for word the predicate in the refusal sentence ("a FK declaring relatedList: 'primary', or a master_detail FK that declares no relatedList, which the group makes one"). Holds.
  • reason, "Ruling B keeps the FK's declared relatedList authoritative": true as far as it goes (a declared true / false cannot be overridden by a group; module header: "which a group cannot override"). See N1.
  • The untouched stored-row paragraph ("an inline-edited master_detail FK declaring relatedList true was drawn as a body table, and is a side card now") is still true under the merged predicate.
  • Break attempt, a stored group naming a plain master_detail: before the widening it drew nothing and its next save was refused; now it is accepted and drawn. The entry no longer claims it is refused, and acceptanceCriteria ("A group naming a body table ... parse and publish byte-identically") stays true. No contradiction found.
  • Header comment: names isGroupPlaceableRelationship and "since 主从子表默认放进记录页概览左侧(关键字段下面),始终显示、带合计;判断规则改为按关系类型 #35597 ... whatever its inlineEdit"; the module header on main says "The set a group may name is the set 主从子表默认放进记录页概览左侧(关键字段下面),始终显示、带合计;判断规则改为按关系类型 #35597 accepted, unchanged". Agrees.

18.page-slots-tabs-retired.ts, against PAGE_SLOTS_TABS_REMEDY and the kind describe on main:

  • replacement tail: "drawn as authored on the desktop full record page (a phone and the side preview draw the standard record page, with the composed strip)" is verbatim the remedy at page.zod.ts:1229-1231, and agrees with the kind describe (page.zod.ts:2165). Holds.
  • acceptanceCriteria: "either the synthesized strip ... or, for a kind: 'full' page on the desktop full record page, the same tabs it showed before". On a phone or in the side preview a kind: 'full' page falls to the first arm (the standard page's composed strip), so the either/or is exhaustive and true. Holds.
  • Break attempt, the platform's own approval-request and user pages (which the reason names as moved to kind: 'full') keep their page on every surface per the kind describe; the entry's parenthetical states the general rule without that exception. It is the same sentence the live remedy prints, so the entry and the code cannot be read apart. Not a finding.

page-slots-tabs-retirement.test.ts (implementing: the entry's pin): the only change is one docblock line, now matching page.zod.ts:2185-2186. No assertion changed; the pin's three assertions hold on the new text (①).

No must-fix, no should-fix.

  • N1 (nit): reason says ruling B "keeps the FK's declared relatedList authoritative". A lookup that declares no relatedList is also refused, and there it is the FK's type, not a declared value, that decides. The preceding clause ("the FK's own keys") covers it, so nothing false is taught. Accepted deviation.
  • N2 (nit): the entry still calls a non-body list "a side card in the related column" (reason, acceptanceCriteria), where the page now draws a tab plus a rail card. Pre-existing, outside card 35701's ask, and the refusal sentence on main itself still says "a side card", so the entry agrees with the message the author sees. Follow-up card at the seat's discretion, together with the refusal sentence.

Implemented-by: claude/issue-35701-shipped-text-after-body-tables
Reviewed-by: subagent-of-session_01FEkQ5kDGa1ViantgrfH797 (fable contract reviewer)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Landing (area a4-I, non-governed self-land) at head 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5, 2026-11-22T04:53Z.

Probe Reading
check-governed-merges.mjs --pr 36273 NOT governed: 0 of 7 paths on the register; 43 changed lines ≤ 3000
landing-k.mjs --pr 36273 OK: K = 5 < 15

L1-b ACCEPT 7074362744 and Fable contract review PASS 7074421220 are at this head. State: ready for review and auto-merge armed; #35701 and #36211 close on merge (Fixes).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 04:53
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

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

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

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

  • Test Core (3/10) — 失败步骤: Run this shard's tests

    @objectstack/runtime:test:  FAIL   local  src/app-artifact-handlers.jobs.test.ts > #21489: the sandbox job origin > a job body with no timeoutMs gets the runner's JOB default — not the hook's, not the
      ↳ 失败原因: @objectstack/runtime:test: AssertionError: expected [Function] to throw error matching /job 'spin_default' exceeded CPU budge…/ but got 'failed to install the query argument …'
    

↳ 失败原因 是判读的关键:超时(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,按失败测试文件聚合):

  • src/app-artifact-handlers.jobs.test.ts — 24h 窗口内只有本 PR 撞到过,暂不汇总(再有一个不同 PR 撞到就会自动开汇总 issue)。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

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

分诊清单:

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

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

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 22, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Re-enqueue receipt · area a4-I · 2026-11-22T05:26Z · first kick of this PR, so one re-enqueue is allowed (readings-queue.md, the four-branch rule for signatures)

Probe Reading
Kick queue build 44987065592 (pr-36273-8925d5bcb), CI_FAILURE, one job: Test Core (3/10)
Failing test packages/runtime src/app-artifact-handlers.jobs.test.ts, case #21489 sandbox job default timeout: it expected the CPU-budget refusal and got a sandbox install failure ("failed to install the query argument")
This PR's diff 7 files: two packages/spec migration-entry texts, one pin docblock, two liveness JSON notes, one checklist quote, one changeset. Nothing under packages/runtime, and no spec code the sandbox job path reads.
Base 8925d5bcb (main); its own merge_group CI passed. No signature for the same file from another PR in 24h (the triage bot reports this PR as the first).
landing-k.mjs --pr 36273 OK, K under 15

Reading: the failure is not caused by this diff. The assertion is about a sandbox budget outcome under the queue's full-suite load, so it is treated as a load signature, not a product regression. Re-enqueued once at the unchanged head 483e6f51f3cc515a387e4c9d6e50f9c3a4e7e6e5. If it is kicked a second time, it will not be re-enqueued again and goes to the seat for re-diagnosis.

247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…nd the tab-by-default master_detail rule, not the retired right rail (objectstack-ai#36284)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XC63go34oEMBFaBgqpoDC8N)_
Fixes objectstack-ai#36188

Clause-②: no
Metadata-protocol: none

repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797

Takes over objectstack-ai#36188 PR B from seat repo:objectstack#1 (hand-over
7073956497)

## 维护者速读

- 用户无感:只改内部测试清单里七条记录页测试项的文字,产品本身不变。
- 记录页去掉右侧摘要栏、主从子表改为默认作页签之后,这七条仍按旧布局写,照着跑会把正常的产品判成失败;属于记录页重做专题。
- 出错只会让测试员照错误的步骤操作、得出错误结论,不影响任何用户,改回文字即可撤回。
- 无。

## What changes

Seven platform-checklist items still described the record page's right
summary rail (retired by the ruling on the layout card, comment
7064066204: fields pinned in the left column when 320 + 400 fit; landed
in `48c732c4`), its 最近动态 card, the first tab's old name 概览, or the e2e
spec under its old name. One of them also asserted the master_detail
rule `f3c9d426f` replaced. Each is rewritten in place, with `revision`
bumped and a `history` row (README "Lifecycle — Change"); none is
retired, because every subject is still live.

| Item | Rev | Change |
|---|---|---|
| `records-forms.crud-roundtrip` | 21 → 22 | steps[5],
acceptance[4].verify: stream from the Activity tab or
`?related=timeline`; first tab 详情; the account page never pins (its
'primary' body tables) |
| `records-forms.related-list-server-pagination` | 14 → 15 |
steps[0–2,5,7], acceptance[2,5].verify: no 其他相关 cards; Contacts read as
its tab; today's `relatedList` describe quoted |
| `records-forms.record-edit-undo` | 8 → 9 | steps[2]: stream from the
Activity tab; a wide full page pins the details with no 详情 tab |
| `records-forms.field-history-tracking` | 14 → 15 | steps[3],
acceptance[2].verify: the audit read at open rests on
`historyConsumerOnScreen`, not the retired card; the drawer half, which
named the rail, is dropped |
| `records-forms.master-detail-body-tables` | 1 → 2 | rewritten to the
tab-by-default rule: fixture `showcase_expense_report` (group `lines`
places `showcase_expense_line`); the table sits at the group's position,
keeps its tab, the page never pins; Tasks on a project stays as the
tab-only contrast in the drawer |
| `records-forms.related-tab-arrangement` | 1 → 2 | 概览 → 详情 throughout;
e2e spec renamed `record-tabs-rail-35595.spec.ts` →
`record-tabs-35595.spec.ts`; Northwind never pins |
| `attachments-storage.download-authz-both-sides` | 12 → 13 | steps[6]:
the panel is the face of the 附件 tab, beside the pinned details or on the
one-column row |

Sources for every rewritten assertion (all at base `28ba01fe`):

- Pinning: `recordPagePinsDetails` and `RECORD_PAGE_PIN_MIN_WIDTH` (320
+ 24 + 400) in
`ui/packages/plugin-detail/src/synth/recordPageColumns.ts`; pinned by
`RecordPageColumns.test.tsx` ("pins: details left at 400 px…", "a page
whose field groups place a related table among the fields does not pin",
"a drawer or pane (no `fullPage`) never pins").
- Tab row and markers: `RecordPageColumns.tsx`
(`data-record-page-pinned`, `data-record-columns-shown`, tabs without 详情
when pinned, the implied first tab), `RecordTabRow.tsx`
(`data-record-tab`); 详情 is `detail.recordTabOverview` in every locale.
- Audit read at open: `RecordDetailView.tsx` `historyConsumerOnScreen`;
pinned by `RecordDetailView.recordOpenWaves-13010.test.tsx` ("a
trackHistory record reads the audit log at open…").
- Tab by default / group placement / keeps its tab / declared
`relatedLists` drops it: `deriveRelatedLists.ts` (`keepsTab`),
`buildDefaultPageSchema.ts#bodyTablePlacement`; pinned by
`buildDefaultPageSchema.bodyTables-27055.test.ts`,
`deriveRelatedLists.test.ts`,
`deriveRelatedLists.relatedListsOrder-27069.test.ts`,
`RecordDetailView.harness.test.tsx` (the five relation-type cells).
- Fixture:
`examples/app-showcase/src/data/objects/expense-report.object.ts`
(`fieldGroups` report / lines / totals) and the seed's EXP-2001 lines.
`showcase_invoice` was not used: its default record page is the authored
`kind: 'full'` invoice document, drawn as written on the desktop full
page.
- Attachments tab: `RecordPageColumns.tsx` (`RECORD_TAB_ATTACHMENTS`),
drawn by `record-attachments-renderer.tsx` as `RecordAttachmentsPanel`.

This also covers released card objectstack-ai#35846 (the master-detail item now
asserts the merged rule). Text only: no code, no `skills/**` (PR objectstack-ai#36222
did that).

## Tests

Docs only: no test file changes. The checklist's own validator is the
gate.

<details><summary>check:platform-checklist and the derived gate families
(head 3039436; rework head 28973d3: check:platform-checklist OK, 16
areas, 436 items; 17 derived families, 17 run, 0 not measured)</summary>

```
check-platform-checklist: OK — 16 areas, 436 items (428 active, 3 planned) … symbol anchors: 1749/1759 resolved (base: 1745/1755; unresolved stays at the 10 on the named residual)
dispatch-gates --ran: 17 derived famil(ies) accounted for — 17 run, 0 NOT-MEASURED (a DERIVED zero — all 17 recorded an exit code and none of them is 3)
```

All 17 exited 0: check-adr-links (+ self-test),
check-closing-keyword-parity (+ self-test), check-comment-mask-corpus,
plan-test-core-shards self-test, lint check:doc-formula-expressions
(first run exit 3 PREREQUISITE, re-run exit 0 after building formula +
lint), check:adr-anchors, check:ci-filter-parity,
check:cross-package-test-inputs, check:doc-authoring,
check:driver-memory-census, check:gitlink-declared, check:nul-bytes,
check:platform-checklist, check:refd-timer-probe,
check:watch-hint-literal.

</details>

Net lines: +111 / −57 (net +54, budget 60).

## Acceptance notes

- Overlap (resolved 2026-11-22): PR objectstack-ai#36273 merged first (`d953558b9`).
This branch merged `origin/main` at `1cd47628e` as merge commit
`28973d379`, with no rebase. In `related-list-server-pagination`
steps[1], the quote is now main's `relatedList` describe word for word,
re-read at `1cd47628e`, and the item stays at one revision bump on top
of main (14 → 15). After the merge, overlap-check is clean. Rework
report: card comment 7075633975.
- `skip-changeset`: `docs/qa/**` sits in the private root package and in
no package's `files[]`, so nothing publishes.
- Not filed (polish/naming): several test titles still say 「概览」 for the
tab that now reads 详情; the docblocks of `RECORD_PAGE_WIDE_MIN_WIDTH` /
`RECORD_PAGE_TWO_COLUMN_MIN_WIDTH` and the tier comment in
`RecordDetailView.tsx` still describe a right column.
- Revision 1 of `master-detail-body-tables` opened `showcase_project`'s
full page, whose default record page is an authored `kind: 'full'` page;
the rewrite reads Tasks in the drawer, which draws the standard page.
- Not measured: whether Northwind's tab row holds three side lists today
(`related-tab-arrangement` fixture); the example list now names only
what the showcase declares.

## Verification

Read first: `records-forms.json` item `master-detail-body-tables` (the
full rewrite), then `related-list-server-pagination` steps[1], then
`attachments-storage.json` `download-authz-both-sides` steps[6].

Two-minute check: `pnpm check:platform-checklist` prints
`check-platform-checklist: OK — 16 areas, 436 items`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797)_

<!-- signed: repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797 -->

Co-authored-by: Claude <noreply@anthropic.com>
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 protocol:ui size/s tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant