Skip to content

docs(adr): ADR-0160 amended a fifth and a sixth time; the Data API sort door reads the sortability projection's computed-type predicate - #37785

Merged
os-zhuang merged 6 commits into
mainfrom
claude/area-o1B-37386
Nov 27, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/area-o1B-37386

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread

Fixes #37386

Refs #37486

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户无感:这次做三件事,一是把架构记录里几处已经上线、文字却没跟上的细节补齐,二是让数据接口和列表的排序提示在「哪类字段没法排序」上读同一份判断,三是按你在另一张决策卡上选定的方案,把「确有资料被隐藏时才提示」这条约定先写进架构记录;今天每个请求的结果都和原来一样。
  • 为什么做:属于「记录范围的 AI 问询」专题的收尾;记录停在旧说法,后面施工和审阅的人会按过时的约定做事,而两份各管各的判断,以后新增一种计算字段时就会对不上。
  • 出错会怎样:最坏是某种字段的排序被数据接口错拒或错放,调用接口的开发者会看到排序报错;新写进记录的那条约定要等后续的修复合入才生效,知道资料包里列了哪些对象的人看到提示就能确定确有其物,这正是你选定的取舍;撤回这一次合并就恢复原状。
  • 要你做什么:这是受管的架构记录修订,需要你审阅批准后才能合并。

What changes

Four files, +170 / −48, in three parts: two under this card, and one sentence for the card the Refs line names.

1. ADR-0160, fifth amendment — docs/adr/0160-record-scoped-ai-inquiry.md (+12 / −6 of the file's +17 / −7). The amendment writes down what main does in the places the card lists, and says in words that it rests on no ruling of its own. Every sentence was read against the tree on main at 7e638ba7. The behaviours marked measured were run through the executor and the input schema in a throwaway probe that was deleted and never committed.

  • Status line and amendment log. The status line names the third amendment date. The Amended list gains a fifth entry that names this card, PR feat(ai): a context pack's related list takes where / orderBy / limit (ADR-0160 row 11) #37354 (which built row 11) and the review record of the fourth amendment's PR (7194836142, nits N1–N3), then the four things recorded.
  • D1, "Author defects are reported on author surfaces" (card item 1, N6). One new sentence group: an orderBy that names a field the child has and does not offer as a sort is an author defect. It names the projection that answers the question (resolveObjectSortability), what that is on main today (a formula field, or a field whose author declared sortable: false), the rule id ai-context-sort-field-unsortable with its symbol anchor, and why the tool judges the field before the query: both MCP doors refuse an order by such a field with INVALID_SORT, which would refuse the whole call.
  • Point 20 gains an in-place note, in the form the record already uses for a settlement: where the judgement sits (after a field the definition lacks, before the caller's own fields, so every caller gets one answer), that PR feat(ai): a context pack's related list takes where / orderBy / limit (ADR-0160 row 11) #37354 settled it, and the two alternatives not taken.
  • D4 "Definition", the input row (card item 3 and N1). "with the record tools' aliases for the first two" is replaced by what the schema holds: seven aliases (object and table for objectName; id and record_id for recordId; pack and contextName for context; section for anchor). The row now also says what an alias is: it is not accepted. The input is strict, so a call that uses one is refused at parse like any unknown key, and the refusal names the declared key (measured for each of the seven). outlineFrom is stated as an integer, 0 or more (measured: -1 and 1.5 refused at parse, 0 accepted).
  • D3 "Outline pages", "A page that does not exist" (N3). The reasons behind the one RESOURCE_NOT_FOUND gain: a pack whose body names a field that is not a long-text field, or that the root does not have (measured: both get the same 404 as a position past the end).
  • Point 24 (N2) names its one exception: a heading whose entry alone passes the body bound is listed on no page and issued no anchor, and the cut statement counts it. A body whose headings are all that long has no outline to cut (measured).

Nothing else in the record changes under the fifth amendment.

2. The Data API's sort door reads the projection's predicate (card item 2, N7) — packages/metadata-protocol/src/protocol-query-validation.ts (+21 / −41), one new test file (+118), one changeset (+14).

  • The third verdict of assertSortFieldsExist (a real field whose type has no column to order by) judged the type by a module-local set, UNMATERIALIZED_SORT_TYPES, formula alone. It now calls isVirtualSearchField from @objectstack/spec/data: the predicate resolveObjectSortability reads for reason: 'virtual-type', and the one this file's filter and search axes already read. The local set and its docblock are removed; a comment at the call site says where the one source is and why it is the storage fact and not the write contract (COMPUTED_VALUE_TYPES).
  • No file under packages/spec/src/** is edited. Nothing changes for a caller today: both sets held formula and nothing else.
  • What changes is the day a computed type is added: it is added in the spec's SEARCH_VIRTUAL_TYPES, and the door, the projection, the list header and the Sort picker follow together.
  • protocol.sort-door-projection-agreement-37386.test.ts copies no verdict table. For every member of the spec's FieldType it asks the projection and holds the door to that answer (99 cases).
  • Changeset 37386-sort-door-reads-projection-predicate.md: @objectstack/metadata-protocol patch.

3. ADR-0160, sixth amendment — the same file (+5 / −1, commit 06b567e5). It rests on the maintainer's ruling recorded in comment 7208943876 on the card the Refs line names (option B of decision analysis 7207825366), and it comes before the code: the PR that builds it stays a draft at cb1a47e9 until this text is accepted.

  • D3 "Object level", the bullet "A related child that this caller is not served is left out." The sentence "Nothing of the child is read, its definition included." is replaced by:

    Nothing of the child is read except its published definition, which is asked once, for whether the stack defines the object at all (sixth amendment, 2026-11-27): a name the published definitions lack is an author defect (D1), left out with no statement for every caller. The published definition is the same for every caller, so whether the statement fires depends on this caller's served schema alone, and nothing of the definition is carried. The statement therefore now means that something the stack defines is hidden from this caller, so a caller who knows the pack's names can infer that such an object exists. That is the trade the field-level rule below already makes for fields, where the statement fires only for an entry the published definition has.

    The first two sentences are the draft in os-dev report 7207298690. The last two name the signal in plain words, as execution item 1 of the ruling asks.

  • Amendment log. A sixth Amended entry quotes the ruled option verbatim, names the building PR and its head, says that the text comes before the code and what main does until then, and records the two things above. It also says the record tools are not changed: a name the caller typed is still answered alike whether the object is hidden or does not exist.

  • The fifth entry still says it rests on no ruling of its own; that stays true of the fifth. Every other sentence of the record stands.

Tests

Head 06b567e5. Its one commit after 40e60883 edits the ADR alone, so the package's source and tests are byte-identical to 40e60883, where the commands below ran. Every heavy command ran under the shared verify lock; the result quoted is the lock's own VERDICT command-exit line.

  • Dependency closure: pnpm --workspace-concurrency=2 --filter '@objectstack/metadata-protocol^...' build → VERDICT command-exit 0.
  • The new file, on 40e60883: pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/protocol.sort-door-projection-agreement-37386.test.ts → Test Files 1 passed (1), Tests 99 passed (99), VERDICT command-exit 0.
  • The package, on 40e60883: pnpm --filter @objectstack/metadata-protocol test → Test Files 372 passed | 9 skipped (381), Tests 23549 passed | 45 skipped (23594), VERDICT command-exit 0.
  • pnpm --filter @objectstack/metadata-protocol typecheck, on 40e60883 → VERDICT command-exit 0. The package's tsc --noEmit --listFiles lists the new test file, so the typecheck covers it.

Ablation (the fix committed first; scripts/ablation-replace.mjs; each restore proved by blob equal to HEAD and an empty git diff HEAD). Both were taken on the door at 70e73548; the commits after it leave the door byte-identical and add one side-effect import and no case to the test file.

  • A, the door's set grows alone (the filter replaced by a local set holding formula, summary and a marker) → Tests 2 failed | 97 passed (99): both summary rows. The grid would offer that sort and the Data API would refuse it.
  • B, the spec's set grows alone (the filter replaced by a local set that lacks formula) → Tests 1 failed | 98 passed (99): the formula row of the second table. The solo row stays green there, because the door's fourth verdict still refuses the sort with the same code and status; only the fields the refusal names tell the two verdicts apart. That is why the second table sorts by the field under test and by a companion that declares sortable: false.

Acceptance notes

  • "D1 names the unsortable-orderBy defect and its rule id. The amendment log cites this card." D1's new sentences and the fifth Amended entry.
  • "Exactly one source answers whether a field type is computed for sorting. The door and the projection both read it, and a test pins that they agree." isVirtualSearchField is that source for the Data API door and the projection; the test above pins it for every FieldType. The card names protocol-data-crud.ts as the door's file; the claim corrects that to protocol-query-validation.ts, which is where the set was.
  • "D4's alias sentence matches the schema's aliases on main. N1–N3 of record 7194836142 are closed in the same ADR-0160 text." The D4 row, the D3 list and point 24, as above.
  • Where the text says more than the card's words, on purpose.
    • The card says to state what the schema "admits". The schema does not admit an alias: strictObject's aliases are spellings it refuses by name. The row says so, since "with the record tools' aliases" read as if a caller could write them.
    • N3 as written covers a body field with a non-body type. A body naming a field the root does not have takes the same branch and gets the same answer, so the clause names both.
    • Point 24 also says what happens when every heading is too long, from the remark under N2.
    • The status line's date and the note on point 20 follow the record's own convention for an amendment and a settlement.
  • The D3 "Object level" sentence: three commits. 88fa54ae added the draft sentence the dispatch order first carried; the PM withdrew it before this PR opened, because it waited for a maintainer ruling, and e2e6a626 reverts it. The ruling came (comment 7208943876, option B), and 06b567e5 adds the sentence again, now with the two sentences that name the signal and with a sixth amendment-log entry of its own. The sentence describes behaviour that is not on main yet; the log entry says so.
  • Not touched by the sixth amendment, on purpose. D3 "Objects first" still quotes the record tools' judgeRelatedLists docblock ("nothing about a refused object is read, its definition included"): that is the record tools' order, which the ruling leaves alone. Context, "What a refusal names", is unchanged for the same reason.
  • One test-file commit after the first gate run. pnpm check:test-source-alias named the new test file: it reaches @objectstack/lint through a dynamic import and did not load it at module scope. 40e60883 adds the module-top side-effect import its siblings in the package carry. No case changes.
  • Not changed, and why (each carrier: none):
    • The engine's own door, assertOrderByIsMaterializable in packages/objectql, still spells the literal formula. The card names the HTTP door and the projection; a third reader is outside the claimed file surface.
    • Six comments in four files outside this card's surface still mention the retired name UNMATERIALIZED_SORT_TYPES (two in packages/drivers/driver-sql, two in packages/lint, two in ui/packages/plugin-list tests). The door's new comment keeps the retired name so a search for it lands on the call site.
    • The removed docblock said fieldHasColumn answers "has a column" for a multiple formula. On main that helper reads isMultiValueField, which is false for formula, so that paragraph was already stale and is not carried over.
    • One edge the predicate reads differently: a field whose type is not a string but stringifies to formula was refused by the old String(...) comparison and is not by isVirtualSearchField. No schema-valid definition holds such a field.
  • Tier H by path. docs/adr/** is governed, so the whole PR is Tier H and stays a draft. The Rule-change: line is left out: the diff does not touch .claude/**.

Verification

Read first (by risk):

  1. docs/adr/0160-record-scoped-ai-inquiry.md, D3 "Object level": the replaced sentence moves a visibility boundary by a maintainer ruling, and its last two sentences state what a caller can now infer.
  2. The same file, the D4 input row: "An alias is not accepted" corrects what the record said rather than adding to it.
  3. packages/metadata-protocol/src/protocol-query-validation.ts, the one-line filter in assertSortFieldsExist.

Two-minute verification: pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/protocol.sort-door-projection-agreement-37386.test.ts — expected Tests 99 passed (99).

Gates, patch round (06b567e5). The commit edits one file, so the families rerun are the ones that read it: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack docs/adr/0160-record-scoped-ai-inquiry.md → 21 commands, all exit 0 on 06b567e5, each exit code captured before any pipe. This is a declared narrowing: the other 52 families of the full list read files that are byte-identical to 40e60883, and CI runs the whole farm on the new head.

  • --ran reconciliation against that derivation: ✓ dispatch-gates --ran: 21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED (a DERIVED zero — all 21 recorded an exit code and none of them is 3).
  • pnpm check:issue-citations (outside that derivation; the new entry cites a card): exit 0.
  • dispatch-gates --tier: changed lines 218 (+170 / −48) against the human-merge threshold 3000: under.
  • overlap-check --branch=claude/area-o1B-37386 before the push: VERDICT clean exit 0 at 06b567e546 against origin/main at 6e8f663710 and 0 PR heads. origin/main was not merged in: no conflict.
  • The derivation printed a STALE TREE warning: the branch is at least 17 commits behind origin/main, and 2 files the derivation reads changed in that range.
Patch-round gates (21 commands on 06b567e, exit code beside each)
exit 0 · node scripts/check-adr-links.mjs
exit 0 · node scripts/check-adr-links.mjs --self-test
exit 0 · node scripts/check-closing-keyword-parity.mjs
exit 0 · node scripts/check-closing-keyword-parity.mjs --self-test
exit 0 · node scripts/check-comment-mask-corpus.mjs
exit 0 · node scripts/ci/plan-test-core-shards.mjs --self-test
exit 0 · pnpm --filter @objectstack/lint run check:doc-formula-expressions
exit 0 · pnpm check:adr-anchors
exit 0 · pnpm check:adr-index
exit 0 · pnpm check:adr-symbol-anchors
exit 0 · pnpm check:ci-filter-parity
exit 0 · pnpm check:closed-ceremony-text
exit 0 · pnpm check:cross-package-test-inputs
exit 0 · pnpm check:doc-authoring
exit 0 · pnpm check:driver-memory-census
exit 0 · pnpm check:gitlink-declared
exit 0 · pnpm check:nul-bytes
exit 0 · pnpm check:pm-governed-merges
exit 0 · pnpm check:pm-prior-rulings
exit 0 · pnpm check:refd-timer-probe
exit 0 · pnpm check:watch-hint-literal

Gates, full union (40e60883). The list is node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack on 40e60883 (no paths; the script takes the change set from the merge base): 73 commands. Each ran on 40e60883 with its exit code captured before any pipe.

  • 72 exited 0. One exited 3: node scripts/check-plugin-teardown-shape.mjs --self-test, PREREQUISITE NOT MET, so NOT MEASURED. Its positive control is pinned to a commit a shallow clone cannot read, and the remedy it names is to unshallow the clone every worktree in this container shares, which was not done; CI runs it on a full checkout.
  • The same list on the earlier head e2e6a626: one red, pnpm check:test-source-alias, naming the new test file (repaired by 40e60883, above); and two more exit-3 refusals for built output not on disk (check:dual-build-cjs-loads, check:lean-entry-closure). Both measured green on 40e60883, after check:type-check-debt in the same list had built the packages under the verify lock.
  • --ran reconciliation on 40e60883: ✓ dispatch-gates --ran: 73 derived famil(ies) accounted for — 72 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).
  • dispatch-gates --tier at 40e60883: docs/adr/** is the mandatory contract tier; changed lines 212 (+165 / −47) against the human-merge threshold 3000: under.
  • overlap-check --branch=claude/area-o1B-37386 before each push: VERDICT clean exit 0, the last one at 40e60883 against origin/main at 8b9b9d2355 and 0 PR heads.
  • CI-owned families (type-check lanes, the repo-wide lint, Test Core, the changeset check, the always-runs tail) are this PR's check-runs; they had not reported when this body was written.
Not measured locally (1), each with its own refusal text
✗ check-plugin-teardown-shape self-test: cannot read the positive control at 621a487607881c66b2899b7e3477115229a156b4.
  The fixture is pinned to a commit rather than to an editable copy, so a checkout
  that cannot reach it cannot run this battery. Deepen the clone:
    git fetch --unshallow origin main

✗ check-plugin-teardown-shape self-test: selfTest() returned without reaching its verdict,
so no success line was printed. Exiting 0 here would report a self-test
that never finished as a self-test that passed.
Local gates (73 commands on 40e6088, exit code beside each)
exit 0 · node scripts/check-adr-0087-registration.mjs --base origin/main
exit 0 · node scripts/check-adr-0087-registration.mjs --self-test
exit 0 · node scripts/check-adr-links.mjs
exit 0 · node scripts/check-adr-links.mjs --self-test
exit 0 · node scripts/check-changeset-no-major.mjs --base origin/main
exit 0 · node scripts/check-closing-keyword-parity.mjs
exit 0 · node scripts/check-closing-keyword-parity.mjs --self-test
exit 0 · node scripts/check-comment-mask-adoption.mjs
exit 0 · node scripts/check-comment-mask-adoption.mjs --self-test
exit 0 · node scripts/check-comment-mask-corpus.mjs
exit 0 · node scripts/check-dts-emitted.mjs --self-test
exit 0 · node scripts/check-empty-changeset.mjs --base origin/main
exit 0 · node scripts/check-empty-changeset.mjs --self-test
exit 0 · node scripts/check-issue-citations.mjs
exit 0 · node scripts/check-plugin-teardown-shape.mjs
exit 3 · node scripts/check-plugin-teardown-shape.mjs --self-test
exit 0 · node scripts/ci/assert-turbo-remote-cache.mjs --self-test
exit 0 · node scripts/ci/plan-test-core-shards.mjs --self-test
exit 0 · node scripts/ci/prune-turbo-cache.mjs --self-test
exit 0 · node scripts/ci/snapshot-next.mjs --self-test
exit 0 · node scripts/docs-audit/check-affected-docs.mjs
exit 0 · node scripts/docs-audit/check-drift-comment.mjs
exit 0 · node scripts/pm/check-governed-queue-guard.mjs --self-test
exit 0 · node scripts/pm/release-rehearsal-clone.mjs --self-test
exit 0 · node scripts/release-pending-publish.mjs --self-test
exit 0 · pnpm --filter @objectstack/lint run check:doc-formula-expressions
exit 0 · pnpm --filter @objectstack/spec run check:duration-unit-keys
exit 0 · pnpm --filter @objectstack/spec run check:error-code-provenance
exit 0 · pnpm check:adr-anchors
exit 0 · pnpm check:adr-index
exit 0 · pnpm check:adr-symbol-anchors
exit 0 · pnpm check:changeset-gate-self-tests
exit 0 · pnpm check:ci-filter-parity
exit 0 · pnpm check:closed-ceremony-text
exit 0 · pnpm check:cross-package-test-inputs
exit 0 · pnpm check:dispatcher-error-vocabulary
exit 0 · pnpm check:doc-authoring
exit 0 · pnpm check:driver-memory-census
exit 0 · pnpm check:dts-closure
exit 0 · pnpm check:dual-build-cjs-loads
exit 0 · pnpm check:durability-log-level
exit 0 · pnpm check:engine-double-contract
exit 0 · pnpm check:error-status-conformance
exit 0 · pnpm check:gitlink-declared
exit 0 · pnpm check:issue-citations
exit 0 · pnpm check:keyed-text-bounds
exit 0 · pnpm check:lean-entry-closure
exit 0 · pnpm check:logger-receiver-detach
exit 0 · pnpm check:nul-bytes
exit 0 · pnpm check:object-def-param-keys
exit 0 · pnpm check:objectql-double-limit
exit 0 · pnpm check:optional-error-sink
exit 0 · pnpm check:org-identifier
exit 0 · pnpm check:page-declaration-shape
exit 0 · pnpm check:platform-object-tenancy-census
exit 0 · pnpm check:pm-governed-merges
exit 0 · pnpm check:pm-prior-rulings
exit 0 · pnpm check:published-files
exit 0 · pnpm check:query-options-erasure
exit 0 · pnpm check:refd-timer-probe
exit 0 · pnpm check:registry-log-declared
exit 0 · pnpm check:rest-log-spy-declared
exit 0 · pnpm check:slot-lookup
exit 0 · pnpm check:sourcemap-no-sources-content
exit 0 · pnpm check:system-context-census
exit 0 · pnpm check:test-source-alias
exit 0 · pnpm check:tier-file-adoption
exit 0 · pnpm check:type-check-coverage
exit 0 · pnpm check:type-check-debt
exit 0 · pnpm check:undeclared-dep-imports
exit 0 · pnpm check:vouch-for-reference-callers
exit 0 · pnpm check:watch-hint-literal
exit 0 · pnpm check:where-matcher

Generated by Claude Code

…ection's computed-type predicate

The Data API's sort door (assertSortFieldsExist, third verdict) judged
"computed on read, no column to order by" from a local set, formula alone.
The served sortability projection judges the same fact by
@objectstack/spec/data's isVirtualSearchField. The door now reads that
predicate, as its filter and search checks already do, and the local set
is retired. Both sets held formula only, so no sort is answered
differently.

A new test holds the door to the projection for every FieldType member,
and tells the door's computed-type verdict from its sortable:false
verdict by the fields each refusal names.

Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Co-authored-by: Claude <noreply@anthropic.com>
…hor defect, the input row's aliases, and three review nits

D1's list of author defects gains an orderBy field the child does not
offer as a sort, with its rule id (ai-context-sort-field-unsortable) and
what the tool does; point 20 carries the settlement. D4's input row lists
every alias the schema names and says none is accepted, and states
outlineFrom's range. The outlineFrom refusal's reasons in D3 "Outline
pages" gain a body field that is not a long-text field. Point 24 names
the heading too long to list. The amendment log records all four.

Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Co-authored-by: Claude <noreply@anthropic.com>
…definition is asked once

The sentence "Nothing of the child is read, its definition included." is
replaced by the text the PR that builds the related-object fix proposed:
the child's published definition is asked once, for whether the stack
defines the object at all, so a related object the stack does not define
states nothing. The amendment log says where the sentence was read: that
PR's head, not main.

Kept as its own commit so it can land with, or wait for, that PR.

Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Co-authored-by: Claude <noreply@anthropic.com>
…blished definition is asked once"

This reverts commit 88fa54a. The sentence is not a wording fix: it
changes what D3 guarantees about a child the caller is not served, so it
waits for a maintainer ruling and does not ride this amendment. D3's
"Nothing of the child is read, its definition included." stands as it
was, and the amendment log no longer lists the entry.

Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Co-authored-by: Claude <noreply@anthropic.com>
…oad at collection

`./protocol.js` reaches `@objectstack/lint` only through a dynamic import, and
this file did not load it at module scope, so the first case past the source's
own gates would transform that dependency's module graph inside a clocked
window. `pnpm check:test-source-alias` named the file; the module-top
side-effect import is the convention its siblings in this package follow.

No case changes: Tests 99 passed (99) before and after.

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

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

2 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run.

What this run could not see
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 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; 124 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 — 10 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 6e8f663710ccfe069138d0fe8ba1ccbd98111ed3 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 9d2081b6a924cc54d02e25e23b2b0336a18207fb — the merge of head 06b567e5469baa3479f470cad205ab4830fe4439 into base 6e8f663710ccfe069138d0fe8ba1ccbd98111ed3, 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 9d2081b6a924cc54d02e25e23b2b0336a18207fb && git checkout 9d2081b6a924cc54d02e25e23b2b0336a18207fb
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6e8f663710ccfe069138d0fe8ba1ccbd98111ed3 06b567e5469baa3479f470cad205ab4830fe4439 && git checkout -B drift-repro 6e8f663710ccfe069138d0fe8ba1ccbd98111ed3 && git merge --no-ff 06b567e5469baa3479f470cad205ab4830fe4439

node scripts/docs-audit/affected-docs.mjs --json 6e8f663710ccfe069138d0fe8ba1ccbd98111ed3

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

…ed definition is asked once, and what the statement then signals

By the maintainer's ruling (option B of the decision analysis on the
related-object card): D3 "Object level" no longer says that nothing of a
left-out child is read, its definition included. The published definition
is asked one question, whether the stack defines the object at all, so a
related object the stack does not define states nothing, as D1 says of an
author defect.

The sentence also names the signal in plain words: the statement now means
that something the stack defines is hidden from this caller, so a caller
who knows the pack's names can infer that such an object exists. That is
the trade the field-level rule already makes for fields.

The amendment log gains a sixth entry that quotes the ruled option, names
the PR that builds it and its head, and says that the text comes before
the code. The fifth entry and every other sentence stand as they were.

Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot changed the title docs(adr): ADR-0160 amended a fifth time; the Data API sort door reads the sortability projection's computed-type predicate docs(adr): ADR-0160 amended a fifth and a sixth time; the Data API sort door reads the sortability projection's computed-type predicate Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Final head for review: 06b567e5469baa3479f470cad205ab4830fe4439 · 2026-11-27T04:11Z · area o1-B. Check-runs on this head: 40 success, 18 skipped, 0 failed. L1 and the contract review (Tier H: docs/adr/**) requested from seat 1's L1 thread. Patch round 1 added the ADR-0160 D3 existence-signal sentence under the #37486 ruling and the sixth amendment. Flag for review: objectql's assertOrderByIsMaterializable (engine-top-level.ts) still spells 'formula' itself, a third reader beside the sort door, against the card's "Exactly one source" acceptance line.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · head 06b567e · 2026-11-27T04:13Z

@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: 06b567e5469baa3479f470cad205ab4830fe4439
Local-runs: none
Scope: docs/adr/0160-record-scoped-ai-inquiry.md,packages/metadata-protocol/src/protocol-query-validation.ts,packages/metadata-protocol/src/protocol.sort-door-projection-agreement-37386.test.ts + none
Security-touching: yes

PR #37785 for card #37386, with one ADR sentence for card #37486 (Refs). Read: the card body and all seven comments, the PR body and file list, the net diff against main, the check-runs on this head, ruling record 7208943876 and analysis 7207825366 on #37486, and PR #37751 at cb1a47e9 (open, draft) as the sixth amendment's first consumer. Code outside the diff was read on origin/main, never reviewed. main has not moved in either hits source file, nor in search-fields.ts or sortability.zod.ts, since the branch point.

Security-touching: yes is meant: the sixth-amendment hunk of ADR-0160 D3 teaches visibility behaviour (what a caller who is not served an object can infer from the not_visible statement). The adopting seat adds the security label.

① Derived judgments

  • The sort door's accept set: unchanged, right. assertSortFieldsExist's third verdict now filters by isVirtualSearchField(gate.fields[f]) in place of the module-local UNMATERIALIZED_SORT_TYPES. Both hold formula alone today (SEARCH_VIRTUAL_TYPES is pinned to exactly ['formula'] in packages/spec/src/data/search-fields.test.ts), so every schema-valid sort is accepted or refused as before, with the same code, status, field and fields. The one difference is a field whose type is not a string but stringifies to formula; no schema-valid definition holds one. Right.
  • Public surface: none moved. The removed set was not exported. No file under packages/spec/src/** is edited. No key, export, error code or wire shape changes.
  • What the diff changes for the future: right. A type added to SEARCH_VIRTUAL_TYPES now reaches the Data API door, the projection and the door's filter and search axes together. The engine's own door does not follow (④ N3).
  • ADR-0160, fifth amendment: no accept-set change. It writes down what main does. Each sentence was read against main: the seven aliases and outlineFrom as int().min(0) in GetRecordContextInputSchema; strictObject's aliases are keys the shape refuses with a pointer to the declared key; resolveObjectSortability answers sortable: false for a virtual type or an author's literal sortable: false; the executor judges an orderBy field on the published definition before the query and leaves the section out with no statement; AI_CONTEXT_SORT_FIELD_UNSORTABLE is ai-context-sort-field-unsortable.
  • ADR-0160, sixth amendment: declares one behaviour change that is not on main. For a related child this caller is not served, the not_visible statement fires only when the stack publishes the object. PR fix(service-record-context): a related object the stack does not define states nothing #37751 builds it; this PR ships text only. The log entry says the text comes before the code and says what main does until then. Right, and it is what the ruling ordered (text first, then the fix).

② Semver level

  • One changeset, @objectstack/metadata-protocol patch. The diff publishes a refactor with no caller-visible change, so patch is the right level. Check Changeset is green on this head.
  • The ADR edits publish no package and need no changeset. The behaviour the sixth amendment declares ships with PR fix(service-record-context): a related object the stack does not define states nothing #37751, which carries its own changeset.
  • Clause-②: no. Correct: nothing a consumer could have relied on is taken away. Metadata-protocol: none is correct too.

③ Boundary flags

  • open_questions: empty in both dev reports (7208610360 and 7209229469). Nothing to answer.
  • SQL push-down: no new id materialisation and no in-app join. The door change swaps one in-memory predicate for another. The read the sixth amendment allows is one metadata read (a published definition), not a data read.
  • Dev flag, the card names the wrong door file: confirmed. The set was in protocol-query-validation.ts; protocol-data-crud.ts holds a different check. The correction is right.
  • Dev flag, text before code: accepted. It is execution item 1 of the ruling. Until fix(service-record-context): a related object the stack does not define states nothing #37751 merges the D3 sentence describes behaviour main does not have, and the amendment log says so in words. If fix(service-record-context): a related object the stack does not define states nothing #37751 were ever dropped, the sentence would have to be reverted; the seat holds that.
  • Dev flag, provenance of the ruling: comment 7208943876 is the seat's record of the maintainer's tap, not the tap itself. This PR is governed, so the maintainer's approval of it is the acceptance of the text either way.
  • Dev flag, Refs line and PR body: the body on this head carries Fixes #37386 and Refs #37486 and describes the sixth amendment. Settled.
  • Dev flag, stale tree: answered above; no file this review rests on moved on main. mergeable_state reads clean.
  • Dev flag, narrowed local gates on the last commit, and one self-test not measured locally: answered by the check-runs on this head. All that ran are success, including the ten Test Core shards, the four Type Check lanes, every Lint lane, Check Changeset, Check Documentation Links and Governed Surface Queue Guard; the rest are skipped by their own conditions.
  • Dev flag, ADR text beyond the card's enumerated places (status-line date, the note on point 20, the second half of the N3 clause, the last sentence of point 24, "an alias is not accepted"): each was read against main and holds. The alias wording corrects the card's word "admits", and the correction is right.
  • Dev out-of-scope finding, the engine door: judged in ④ N3, as asked.
  • Dev out-of-scope finding, six comments that still name UNMATERIALIZED_SORT_TYPES: ④ N4.
  • (a) The D3 existence-signal sentence: judged in ④, under the ADR file.

④ Design judgment

No must-fix, no should-fix.

docs/adr/0160-record-scoped-ai-inquiry.md, sixth amendment: point (a).

Does the sentence state what PR #37751 does? Yes, on each count. Read against step 4a of packages/services/service-record-context/src/record-context-tools.ts at cb1a47e9:

  • "its published definition, which is asked once, for whether the stack defines the object at all". Step 4a calls door.publishedObjectDefinitionOf(entry.object) only when servedObjectDefinitionOf answered null, and reads the answer for truthiness alone. The loop skips a child already in leftOut, and the later publishedOf wrapper answers null for a left-out child without asking, so the plan and the projection never ask again. Once per child per call holds. fix(service-record-context): a related object the stack does not define states nothing #37751's executor test pins the order of asks.
  • "a name the published definitions lack is an author defect (D1), left out with no statement for every caller". leftOut.add(...) runs either way and hidden is set only when the definition exists. An undefined object is served to nobody, so every caller takes this branch. fix(service-record-context): a related object the stack does not define states nothing #37751's bridge test holds the answer byte-identical for two callers on both doors.
  • A defined, unserved child keeps the statement. if (published) hidden = true. Pinned on both doors.
  • "The published definition is the same for every caller ... nothing of the definition is carried". Both doors read it without the caller's mask (readServedObject in packages/runtime/src/domains/mcp.ts, readObjectDeclaration in packages/mcp/src/stdio-data-bridge.ts); the served read is that one plus the mask. Nothing but the boolean leaves the branch.

Does it name the signal plainly, as the ruling requires? Yes. Execution item 1 of 7208943876 asks for "a note now means something the stack defines is hidden from this caller, so a caller who knows the pack's names can infer such an object exists — the trade D3 already makes for fields". D3 carries that almost word for word, in the bullet itself and not only in the log, and the log repeats it under "What the statement signals". The sentence states the signal at its strongest. In fact the one statement is shared with hidden fields, so a caller can pin it on a particular object only after ruling the pack's other names out. Stating the wider inference is the safe direction for a disclosure.

Is every other D3 sentence still consistent? Yes.

  • Context, "What a refusal names" quotes notRecordedMembersOf: "answered exactly as one that does not exist". That paragraph describes the record tools and names the caller typed. fix(service-record-context): a related object the stack does not define states nothing #37751 does not touch them, and the sixth log entry says so and points at that paragraph. No conflict.
  • D3 "Objects first" quotes judgeRelatedLists ("nothing about a refused object is read, its definition included"). It is a quotation of the record tools' docblock about a child the guard refuses. In step 4a the published definition is asked only after the read guard, API exposure and the served read. Consistent.
  • The lookup sentence, "telling the two apart takes a read the caller cannot make, so both render alike". It is a row-level rule: telling an unreadable target row from a dangling id would take a data read made past the caller's permissions. The new sentence allows a metadata read that is the same for every caller, the one the field-level rule already makes, and it carries nothing. The two do not collide, and the new sentence gives its own reason.
  • The field-level bullet ("fires only for an entry the published definition has and the caller's served schema hides"). The new sentence's last clause quotes it correctly. Objects now follow the rule fields follow.
  • The same bullet's later sentences ("judged before projection, as before, so projection never reads it"), D4 step 4, point 2, point 11 and Consequences: each stays true for a child the stack defines, which is the only kind of child they speak of.
  • The amendment log. The sixth entry quotes the ruled option verbatim, names fix(service-record-context): a related object the stack does not define states nothing #37751 and its head, and does not disturb the fifth, which still truthfully says it rests on no ruling of its own.

Tried to break it: an undefined object refused by an earlier gate (the tests show both doors pass it to the served read); a caller-dependent published read (none); a second ask through the plan (stopped by leftOut). One behaviour the sentence does not mention: when the published read itself throws, #37751 refuses or fails the whole call, unnamed. That is the executor's rule for every metadata read, it is the same for every caller, and the ADR does not need it.

The same file, fifth amendment. D1, point 20, the D4 input row, the D3 404 list and point 24 each match main (① lists what was read). The acceptance lines "D1 names the defect and its rule id", "the amendment log cites this card", "D4's alias sentence matches the schema" and "N1–N3 closed" are met.

packages/metadata-protocol/src/protocol-query-validation.ts. The code agrees with the contract. The third verdict reads the predicate resolveObjectSortability reads for virtual-type. The new call-site comment is accurate sentence by sentence: the fourth verdict does read the projection and would word a spec-only computed type as an author's sortable: false; COMPUTED_VALUE_TYPES is the write contract and the wrong set. The docblock paragraph that was dropped (on fieldHasColumn and a multiple formula) was stale on main, as the dev says.

protocol.sort-door-projection-agreement-37386.test.ts. It holds the door to the projection for every member of FieldType.options, copies no verdict table, and tells the third verdict from the fourth by the fields the refusal names, with a control that neither side of the table is empty. The acceptance line "a test pins that they agree" is met. Its limit is the honest one: while both sets hold the same members no behavioural test can tell a local set from the shared predicate; it goes red the day they part, in either direction.

Nits. None affects correctness or the contract on this head.

  • N1 (nit) — "the same for every caller" in point 20's new note, and "out of every caller's answer with nothing stated" in D1. The section is left out for every caller; that part is exact. Whether the answer states anything is not quite caller-independent. On main the executor judges two caller-dependent things first: whether the caller is served the child (step 4a), and whether the caller's schema shows the link field (if (!servedFields.has(link)) { hidden = true; continue; }, before the sortability check). A caller caught by either gets the same omission with the statement, because something really is hidden from that caller. The pre-existing point 20 sentence and the executor's own comment carry the same imprecision, so this amendment adds none. Leave as an accepted deviation, or tighten when the file is next edited.

  • N2 (nit) — D4 "The naming bound" has no pointer to the new D3 signal. It calls the bound "the record tools' bound (notRecordedMembersOf), applied to names the author typed", and Context quotes that docblock as "answered exactly as one that does not exist". A reader who chains the two meets the object-level exception only in D3 and the log. There is no contradiction: the bound is about what is named, and the statement names nothing. A cross-reference there, and a sixth-amendment note on point 2 like the fifth's note on point 20, would save the reader the trip. Prose face; for the next edit of the file.

  • N3 (nit) — point (b), the engine door assertOrderByIsMaterializable (packages/objectql/src/engine-top-level.ts) still spells 'formula'. Graded a nit with a follow-up card. It is not raised to a blocking grade, for four reasons.

    • The card scopes the acceptance. Its item 2 names two holders, the HTTP door's set and the projection, and the acceptance line's own second sentence says "The door and the projection both read it". This PR meets that. The engine door was not one of the two sets review 7179109796 raised.
    • It can not disagree with the sort door today. The engine door tests type === 'formula'; the sort door tests membership of a set pinned to exactly ['formula']. For every schema-valid field the computed-type verdict is the same. The two doors differ on other axes by design (unknown names, dotted paths, an author's sortable: false), and those are not this question.
    • When it could disagree. Only on the day SEARCH_VIRTUAL_TYPES grows. The Data API door would refuse the new type and the engine door would let it through, so an in-process caller of ObjectQL.find (a hook, a flow) would get the silently dropped sort engine.find() still drops a formula ORDER BY silently — decide whether the engine refuses or keeps its internal-caller tolerance #7095 closed for formula. HTTP callers are safe, because the stricter door is in front. That day also needs engine and driver work for the new type anyway (planFormulaProjection and the drivers spell formula too), and the spec's pin test makes the widening deliberate.
    • It is outside this diff. The file is not in the claimed surface, and code outside the diff is read, never reviewed.

    Read to the letter, though, "exactly one source" is not yet true of the tree, and the changeset's sentence "so one place answers which field types have no column to order by" says more than the diff does. The dev recorded this as "noted, not filed", and no open card names assertOrderByIsMaterializable, so it has no carrier. The seat should file one: the engine door reads isVirtualSearchField (the objectql package already imports it in aggregate-query-shape-door.ts and filter-comparand-shape.ts), with a pin beside the engine's own tests. If the maintainer reads the acceptance line as tree-wide, that card is where it closes.

  • N4 (nit) — the retired name lives on in six comments, and one points at a note that is gone. packages/lint/src/validate-sortable-fields.ts line 105 refers the reader to the "UNMATERIALIZED_SORT_TYPES note" (the formula / summary / autonumber table), which this PR removes with the set; the others are in driver-sql and ui/packages/plugin-list tests. The door's new comment keeps the name as a search pointer, so a search still lands. The removed docblock also held the ledger of the other places that spell this fact (fieldHasColumn, createColumn, remote-transport, planFormulaProjection, search-companion, plugin-audit). Carry both on the N3 card.

Implemented-by: claude/area-o1B-37386
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 06b567e5469baa3479f470cad205ab4830fe4439 (Fixes #37386, Refs #37486). Full read · 2026-11-27T04:22Z

席位核对

Shape and gates. l1-face --pr 37785: clean. Check-runs at 06b567e: 40 success, 18 expected skip, 0 failed, 0 pending; Governed Surface Queue Guard success; mergeable_state clean. 4 files, +170/-48. Governed (docs/adr/**), so Tier H: landing goes through the seat's handoff ①–④ and an authorized human approval.

Contract review. PASS at CONTRACT_REVIEW_TIER on this same head, record 7209730357 (tier verified by verify-review-tier). No must-fix, no should-fix, four nits. The record says Security-touching: yes, because the sixth amendment teaches what a caller can infer from the not_visible statement. The seat adds the security label when it adopts the record.

The ruling is carried out. Ruling B on #37486 (7208943876) asks for the ADR text first, naming the signal, then #37751. The new D3 sentence states what #37751's step 4a does: the published definition is asked once, an undefined name states nothing for every caller, and a defined but unserved child keeps the note. It names in plain words that a note tells a caller who knows the pack's names that such an object exists. The record checked it against the Context quotation of notRecordedMembersOf and the lookup "render alike" sentence, and found no conflict. #37751 lands after this PR merges.

The sort door, read. assertSortFieldsExist now judges computed types with isVirtualSearchField, the predicate the sortability projection reads. Both the retired UNMATERIALIZED_SORT_TYPES and SEARCH_VIRTUAL_TYPES hold formula alone, and isVirtualSearchField judges by type only, so no verdict changes. The new agreement test holds the door to the projection for every FieldType.

The area's question: assertOrderByIsMaterializable in the objectql engine. It is a follow-up, not REWORK. The card's acceptance names the door and the projection, which now share one source. The engine door cannot disagree today (type === 'formula' against a set pinned to exactly formula). It would part only the day SEARCH_VIRTUAL_TYPES grows, and then only for in-process callers of ObjectQL.find. No open card carries it, so the area files one as a review follow-up of this PR (record nits N3 and N4): the engine door reads isVirtualSearchField with a pin, and the six comments that still name UNMATERIALIZED_SORT_TYPES are updated, including the stale pointer at packages/lint/src/validate-sortable-fields.ts:105.

Changeset (TIER_DEFAULT remainder), sentence by sentence. A @objectstack/metadata-protocol patch. "Nothing changes for a caller": true. "The Data API door, the projection, the list header and the Sort picker follow together": true. "So one place answers which field types have no column to order by" says more than the tree does while the engine door spells its own formula. That is a nit: the changeset ships with the follow-up's fix in view, and a fix here would move the head. Accepted.

Landing: Tier H. ACCEPT plus the same-head PASS are both on record. This goes to seat 1 for handoff ①–④. This thread does not land it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Review follow-up filed · 2026-11-27T04:25Z · area o1-B: contract record 7209730357 nits N3 and N4 (accepted in ACCEPT 7209761400) → filed #37810 (the engine door assertOrderByIsMaterializable reads isVirtualSearchField, plus the comments that still name UNMATERIALIZED_SORT_TYPES). Blocked-by this PR. N1 and N2 stay accepted deviations for the next edit of ADR-0160.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Seat record · 2026-11-27T04:27Z · PR #37785 (Fixes #37386, Refs #37486) · head 06b567e5469baa3479f470cad205ab4830fe4439 · Tier H

维护者速读

Seat opinion: land.

席位核对 — ACCEPT · repo:objectstack#1 · head 06b567e546

  1. Shape. Draft, base main, 4 files (+170/−48): docs/adr/0160-record-scoped-ai-inquiry.md, packages/metadata-protocol/src/protocol-query-validation.ts, a new agreement test, and a @objectstack/metadata-protocol patch changeset. Body: Fixes #37386, Refs #37486, Clause-②: no, Metadata-protocol: none. check-governed-merges.mjs --pr (read in full): governed docs/adr/**, Tier H; the low-risk skills arm refuses (code paths outside prose).
  2. Premise measured. The seat read the diff and both records. The door's third verdict now reads isVirtualSearchField, the predicate resolveObjectSortability reads; both sets hold exactly formula, so no verdict moves. The sixth-amendment D3 sentence matches what fix(service-record-context): a related object the stack does not define states nothing #37751 at cb1a47e9 does (published definition asked once; an undefined name states nothing for every caller; a defined, unserved child keeps the note) and names the existence signal plainly, as ruling 7208943876 orders. Text before code is execution item 1 of that ruling.
  3. Gates (check-runs at this head). 40 success, 18 expected skip, 0 failed; mergeable_state clean.
  4. Accepted deviations. Nits N1 (point 20 / D1 "every caller" wording) and N2 (no D4 pointer to the new D3 signal) — prose, next edit of the file. The changeset's "one place answers" sentence runs ahead of the engine door (L1 7209761400 accepted it).
  5. Out of scope → where it went. N3 + N4 (engine door assertOrderByIsMaterializable still spells formula; six comments name the retired set, including packages/lint/src/validate-sortable-fields.ts:105) → 跟进:引擎排序闸门改读计算字段的唯一出处,并清理残留的旧集合名注释 #37810. Skills-docs: none — no published skill teaches the sort door or D3. Security-touching: yes is confirmed meant by the record (7209730357), so the seat adds the security label.
  6. Landing terms. L1 ACCEPT 7209761400 + contract review PASS 7209730357 (CONTRACT_REVIEW_TIER, same head, no must-fix or should-fix) ⇒ ②③ in one --handoff stroke. After an authorised APPROVED, seat 1 lands it (maintainer's seat-thread line 2026-11-26T13:33Z 「审批人批准后的 Tier H PR 你可以自主落地」). Then area o1-B lands fix(service-record-context): a related object the stack does not define states nothing #37751. 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 · Tier H · PR #37785 (Fixes #37386, Refs #37486) · head 06b567e5469baa3479f470cad205ab4830fe4439

@os-zhuang — governed docs/adr/**: ADR-0160 fifth and sixth amendments (the sixth carries ruling B on #37486, text before the code in #37751), plus a no-behaviour-change refactor of the sort door with an agreement test. Records on this head: L1 ACCEPT 7209761400, contract review PASS 7209730357 (CONTRACT_REVIEW_TIER, Security-touching: yes, label added), seat record ACCEPT above. All checks 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 27, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 27, 2026 04:34
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 031a19d Nov 27, 2026
68 of 69 checks passed
@os-zhuang
os-zhuang deleted the claude/area-o1B-37386 branch November 27, 2026 05:16
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 security size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

37203 跟进:ADR-0160 D1 补「排序字段不可排序」这条作者错误,并把计算字段类型收成一个出处

3 participants