Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Filing gate: ② follow-up out of #37203. The source is seat 5's delta contract review on PR #37354, record 7179109796. The owning area files it under the source card, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · Task · p3 · reach: authors of ai_context packs (N6), and every caller of an orderBy that names a computed field (N7) · evidence: read.
维护者速读
- 做什么:两处收尾。一是把“排序字段不可排序”写进 ADR-0160 D1 的作者错误清单,和 ai_context: related lists filter, order and limit (where / orderBy / limit) with the render-service reader #37203 已上线的行为对齐。二是把“哪些字段类型算计算字段、不能排序”收成一个出处,免得两处各写一份、以后对不上。
- 谁受益:写资料包的作者,以及维护这块代码的开发者。
- 不做会怎样:ADR 文字与实际行为不一致;以后新增一种计算字段类型时,两处判断可能一边认、一边不认。
- 需要你做的:第 1 项改的是受管的 ADR 文件,需要 os-zhuang 批准。
What
-
N6, ADR-0160 D1. D1 lists the related-entry author defects that the answer leaves out silently and the author surfaces report. ai_context: related lists filter, order and limit (where / orderBy / limit) with the render-service reader #37203 (PR feat(ai): a context pack's related list takes where / orderBy / limit (ADR-0160 row 11) #37354) added a new one: an
orderByfield the child's sortability projection calls unsortable, meaningsortable: falseor a formula/virtual type. It is reported asai-context-sort-field-unsortable, and the section is left out with nothing stated. Add it to D1's list and record it in the amendment log. This is a Tier H text change. -
N7, one computed-type set. The HTTP door's sort check and the sortability projection each hold their own one-member set of "computed, so not sortable" types:
- the door's set is in
packages/metadata-protocol/src/protocol-data-crud.ts, near the(def as any).type === 'formula'check; - the projection is
resolveObjectSortability, inpackages/spec/src/api/sortability.zod.ts.
Make the door read the projection's predicate, or one exported constant, so that adding a computed type changes one place. Pin it with a test that fails if the two disagree.
- the door's set is in
-
ADR-0160 D4 aliases and the fourth amendment's nits (added 2026-11-26 by area ai-36996, at seat 5's ask on PR docs(adr): ADR-0160 amended — a body outline past its bounds comes in pages (outlineFrom / outlineNext) #37573; note 7194545072, contract record 7194836142). Ride the same ADR-0160 edit as item 1, after PR docs(adr): ADR-0160 amended — a body outline past its bounds comes in pages (outlineFrom / outlineNext) #37573 lands:
- D4's input row says "with the record tools' aliases for the first two". It leaves out the schema's aliases for the other inputs:
pack/contextName→context, andsection→anchor. State whatpackages/spec/src/ai/record-context-tools.zod.tsadmits onmain. - N1: the D4 input row says
outlineFromis an integer, 0 or more. - N2: point 24 names the one exception to "every heading is reachable": a heading whose entry alone passes the body bound gets no anchor.
- N3: the 404 reason list in D3 "Outline pages" includes a
bodyfield named with a non-body type.
- D4's input row says "with the record tools' aliases for the first two". It leaves out the schema's aliases for the other inputs:
Acceptance
- D1 names the unsortable-orderBy defect and its rule id. The amendment log cites this card.
- 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.
- D4's alias sentence matches the schema's aliases on
main(objectName/recordIdaliases,pack/contextName→context,section→anchor). N1–N3 of record 7194836142 are closed in the same ADR-0160 text.Clause-②: no,Metadata-protocol: none. - N6:
Clause-②: no,Metadata-protocol: none. N7: no change to behaviour today, since both sets holdformulaonly.
Notes: N6 is governed (docs/adr/**) and N7 is code. They can go as two PRs under this one card if the lanes require it.
Blocked-by: #37490 (PR #37573, same ADR file)
Governing text: ADR-0160 D1 and D4; PR #37354 (rule ai-context-sort-field-unsortable); seat review 7179109796.
Parent: #37203
Size: S
Dedupe (objectstack, is:issue): ai-context-sort-field-unsortable 0 · resolveObjectSortability formula 0 new. #37361 holds N1, N2 and N5 from the same review and is a different scope.
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in area:ai · domain:spec · Task · priority:p3 ·
pm:queue· size S; rationale: two loose ends from #37203. The ADR-0160 D1 list gains the unsortable-sort-field author defect, and the "computed, so not sortable" type set gets one source. The text drifts from the behaviour but nothing fails, so it is a Task at p3.Confirmed as filed. It rides with the next repo:objectstack#5 change to ADR-0160 or the sortability projection. Item 1 is Tier H, so it gets the handoff after ACCEPT and a same-head contract PASS (
label-write --handoff).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Scope note from the #37490 card thread (os-dev report 7194514757 on PR #37573, observation for the area): ADR-0160 D4's input row says "with the record tools' aliases for the first two", but the schema's current aliases (
pack/contextName/section) do not all match that sentence. This card edits ADR-0160 already, so it carries the fix: make D4's alias sentence state whatrecord-context-tools.zod.tsadmits onmain. It waits until PR #37573 (same file) lands.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Blocked: item 3 (D4 aliases, N1–N3 of record 7194836142) added to the body at seat 5's ask; it edits the same ADR-0160 text as PR #37573 (#37490, Tier H, awaiting approval).
pm:queue→pm:blockeduntil that PR merges.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Unblocked: PR #37573 merged at
eec10407ac; ADR-0160 is free for item 3.pm:blocked→pm:queue.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Claim: PM loop round 1 · area o1-B (epic #36996 follow-ups, handed over by seat 5 in mailbox #37561 comment 7206307064) · 2026-11-27T00:33Z
Session:
session_016WV4cxBECSPtHxQMZDHSieAccount:
os-elon-muskBranch:
claude/area-o1B-37386Worktree:
objectstack-issue-37386Domain:
domain:specArea: o1-B
Seat:
repo:objectstack#1File surface:
docs/adr/0160-record-scoped-ai-inquiry.md(D1 list + amendment log for N6; D4 input row aliases and N1; point 24 for N2; D3 "Outline pages" 404 list for N3; plus one sentence for #37486 if that card's PR names one) and, for N7,packages/metadata-protocol/src/protocol-query-validation.ts(the localUNMATERIALIZED_SORT_TYPESset) with a test and a changeset. ⛔ No edit underpackages/spec/src/**(stop on breach; explain in the report)Container & model: S,
mode:subagent, model: claude-fable-5-2 (dispatch-gates --tier docs/adr/0160-record-scoped-ai-inquiry.md: "Model tier — MANDATORY: claude-fable-5-2 (derived from the file surface, not recalled)"), effort: xhigh (reason: ADR revision,docs/adr/**; one PR, so the N7 code rides the same build)Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (Task)
Thread-read: 7195997233
Premise: corrected — reading on origin/main 579b857: item N7 names the wrong door file.
protocol-data-crud.ts(~:1080) holds a clone-strip check (formula/summary/autonumber), not the sort door. The door's set isUNMATERIALIZED_SORT_TYPES = new Set(['formula'])atpackages/metadata-protocol/src/protocol-query-validation.ts:131, used at :645. The projectionresolveObjectSortability(packages/spec/src/api/sortability.zod.ts:255) readsisVirtualSearchField/SEARCH_VIRTUAL_TYPES(packages/spec/src/data/search-fields.ts:115, :159), exported from@objectstack/spec/data;protocol-query-validation.ts:53already importsisVirtualSearchFieldfrom it. So the door reads the projection's predicate with zero edits underpackages/spec/src/**. Same goal, corrected landing file. N6: ADR-0160 has 0 hits forai-context-sort-field-unsortable. Item 3: D4 input row (line 261) still says "with the record tools' aliases for the first two"; aliases on main (record-context-tools.zod.ts:57-65):object/table→objectName,id/record_id→recordId,pack/contextName→context,section→anchor. N1–N3 of record 7194836142 are all still open in the ADR text.Serial constraints cleared:
none: overlap-check on probe branches touching the ADR file and protocol-query-validation.ts exit 0, no open PR head shares them; #37486 (this area, in flight) may hand this PR one ADR-0160 sentence, added as its own commitPre-claim lane:
docs/adr/**is governed ⇒ Tier H for the whole PR (one PR; the mixed diff is not split by ratio): built and L1-read in o1-B / L1-a with the contract review, landed by seat repo:objectstack#1 after ①–④.Pre-claim deps: #37490 / PR #37573 merged (
eec10407ac).Prior rulings read:
check-prior-rulings.mjs --card 37386 --pathsthe three card files: 29 hit lines in 3 files, 21 in ADR-0160 (one names the maintainer's third-amendment ruling at line 399); refs on ruling-hit lines #14, #21120, #35137. The dev reads each hit line in the ADR before editing and keeps every ruled sentence.Fold-or-serial: not folded with #37486 (different mechanism); only #37486's ADR sentence, if owed, rides this PR.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
os-dev-report
{ "issue": 37386, "status": "done", "branch": "claude/area-o1B-37386", "pr": "https://github.com/objectstack-ai/objectstack/pull/37785", "pr_number": 37785, "head_sha": "40e60883c41bdc63629ea10d02c31a09877166b1", "session": "session_016WV4cxBECSPtHxQMZDHSie", "premise_still_valid": true, "summary": "Draft PR 37785 (Tier H by path, left draft) carries both halves of the card. ADR-0160 is amended a fifth time: D1 names the unsortable-orderBy author defect and its rule id ai-context-sort-field-unsortable, the amendment log cites this card, the D4 input row lists the schema's seven aliases and says none is accepted, and N1-N3 of record 7194836142 are written in (outlineFrom range, point 24's exception, the D3 404 list). The Data API sort door (protocol-query-validation.ts) now reads isVirtualSearchField, the predicate the sortability projection reads, in place of its local UNMATERIALIZED_SORT_TYPES set; a new 99-case test holds the door to the projection for every FieldType; no file under packages/spec/src is edited and no caller sees a change. Premise: the card's N7 names protocol-data-crud.ts; the claim's correction to protocol-query-validation.ts was verified on origin/main 7e638ba7 before the first edit. PM change applied: the D3 'Object level' sentence was committed and pushed as 88fa54ae, then reverted by e2e6a626; D3's sentence 'Nothing of the child is read, its definition included.' is byte-identical to main, no Refs line was written, and the PR body names neither that card nor its PR.", "tests": "Heavy commands ran under the shared verify lock; each result is the lock's VERDICT line. (1) pnpm --workspace-concurrency=2 --filter '@objectstack/metadata-protocol^...' build: VERDICT command-exit 0 (run before the first test; the closure holds no file this diff edits). (2) On the tree committed as 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); and pnpm --filter @objectstack/metadata-protocol typecheck; one lock call, VERDICT command-exit 0. tsc --noEmit --listFiles lists the new test file, so the typecheck covers it. (3) 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. Ablation (fix committed first, scripts/ablation-replace.mjs, door at 70e73548, byte-identical to head): A, the door's set grows alone (formula, summary, marker): Tests 2 failed | 97 passed (99), both summary rows; B, the spec's set grows alone (local set without formula): Tests 1 failed | 98 passed (99), the formula row of the companion table. Each restore: blob after restore equals blob at HEAD (b7e0ffe20d17), git diff HEAD empty.", "gates": "Local subset, derived by node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack on 40e60883 (no paths; 4 paths vs merge base 7e638ba77): 73 commands, each exit code captured before any pipe: 72 exit 0, 1 exit 3. Reconciliation: '✓ dispatch-gates --ran: 73 derived famil(ies) accounted for — 72 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).' NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3, reason: its positive control is pinned to commit 621a4876 that this shallow clone cannot read; the shared clone was not unshallowed. Commands: 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 0; node scripts/check-plugin-teardown-shape.mjs --self-test :: exit 3; 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 :: exit 0. Outside the derived list: node scripts/pm/overlap-check.mjs --branch=claude/area-o1B-37386 before each push: VERDICT clean exit 0 (last at 40e60883 against origin/main 8b9b9d2355, 0 PR heads). pnpm check:skill-frame-freshness: exit 0. pnpm check:dev-prereqs: exit 1, a reading of this box (35 ui workspace packages have no dist; only the targeted closure was built), not owed by this diff. CI check-runs on 40e60883 at report time (24 runs): success: Governed Surface Queue Guard; skipped: 18.x upgrade harness (opt-in), Borrowed queue verdict, Packed-tarball smoke (opt-in), Queue verdict, Schedule gate · skip when a green push run covers the commit; in_progress: Check Changeset, Check Documentation Links, Check PR Size, Flag docs affected by code changes, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, PR-body guards (claim · duplicate · Part-of · single-writer path), Type Check · consumer gates, Type Check · debt ledger, Type Check · source gates, Type Check · workspace, filter.", "line_budget": "212 changed lines (+165 / -47; generated files included) vs the human-merge threshold 3000: under (dispatch-gates --tier on 40e60883). Tier: docs/adr/** is the mandatory contract tier, Tier H for the whole PR.", "files_changed": [ ".changeset/37386-sort-door-reads-projection-predicate.md (+14 / -0)", "docs/adr/0160-record-scoped-ai-inquiry.md (+12 / -6)", "packages/metadata-protocol/src/protocol-query-validation.ts (+21 / -41)", "packages/metadata-protocol/src/protocol.sort-door-projection-agreement-37386.test.ts (+118 / -0)" ], "deviations": [ "PM change: the D3 'Object level' sentence was already pushed as 88fa54ae; reverted by a new commit e2e6a626 (tree identical to 85fd966c). No Refs line; the gate run in flight at 88fa54ae was stopped and counts for nothing.", "First full gate run (e2e6a626) found one red caused by this diff: pnpm check:test-source-alias named the new test file (dynamic import of @objectstack/lint not paid at module scope). Repaired by 40e60883 (one side-effect import, no case changed); the whole list was rerun on 40e60883.", "Dispatch vs os-dev.md, os-dev.md followed: gates derived with --commands and no paths (the dispatch spelled dispatch-gates with file arguments); the whole-package pnpm test was run as well as the scoped file (the dispatch said scoped test files only).", "test:repo was not run locally: the diff edits no test of that project and the derived list does not name it; it is CI's Test Core.", "NOT MEASURED: check-plugin-teardown-shape --self-test (exit 3, shallow clone).", "ADR text beyond the claim's enumerated places: the status line's amendment date; an in-place fifth-amendment note on point 20 (the record's convention for a settlement); the N3 clause also names a body field the root does not have (measured: same 404); point 24 also says a body whose headings are all too long has no outline (measured).", "New test file, as the suggested route named: metadata-protocol holds no shared harness for the sort door.", "Ablations were taken at 70e73548; the test file later gained one side-effect import and no case, and the door is byte-identical since.", "Branch is behind origin/main (8b9b9d23); overlap-check reads a clean merge; origin/main was not merged in.", "The harness reminder asked for a model-named commit trailer and its own PR footer; the repo's model-free trailer pair and footer form were used.", "The whole PR is Tier H and stays draft; no ready flip, no label, no assignee write on the card. PR assignee os-elon-musk rode the create." ], "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub call of any kind; reads went through single-card REST GETs", "api_writes": "2 relay strokes — (1) pr_create via scripts/pm/fleet-write/dispatch.mjs: POST /repos/objectstack-ai/objectstack/dispatches carrying POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/37785/assignees; (2) this os-dev-report via scripts/pm/post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/37386/comments. Not REST: 5 git pushes to claude/area-o1B-37386 (empty-branch probe, 70e73548, 88fa54ae, e2e6a626, 40e60883).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed · packages/objectql/src/engine-top-level.ts assertOrderByIsMaterializable still spells the literal formula: a third reader of the same fact, outside the claimed file surface; unexercised drift, read only", "carrier: none · noted, not filed · six comments in four files still mention the retired name UNMATERIALIZED_SORT_TYPES (packages/drivers/driver-sql/src/sql-driver-external-unprovisioned-sort-anchor.test.ts x2, packages/lint/src/validate-sortable-fields.ts x2, ui/packages/plugin-list/src/__tests__/ListView.relationalSort.test.tsx, ui/packages/plugin-list/src/__tests__/ListView.sortFieldFallback.test.tsx); the door's comment keeps the name as a search pointer", "carrier: none · noted, not filed · a field whose type is a non-string that stringifies to formula was refused by the old String() comparison and is not by isVirtualSearchField; no schema-valid definition holds one", "carrier: none · noted, not filed · the removed docblock's paragraph on fieldHasColumn and a multiple formula was already stale on main (fieldHasColumn reads isMultiValueField, false for formula) and was not carried over" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
os-dev-report
{ "issue": 37386, "status": "done", "round": "patch round 1 on PR 37785, under ruling 7208943876 (card 37486, option B)", "branch": "claude/area-o1B-37386", "pr": "https://github.com/objectstack-ai/objectstack/pull/37785", "pr_number": 37785, "head_sha": "06b567e5469baa3479f470cad205ab4830fe4439", "session": "session_016WV4cxBECSPtHxQMZDHSie", "premise_still_valid": true, "summary": "One new commit, 06b567e5, on top of 40e60883 (ADR-0160 only, +5 / -1): D3 'Object level' no longer says 'Nothing of the child is read, its definition included.'; the replacement is the draft of os-dev report 7207298690 plus two sentences that name the existence signal in plain words. A sixth Amended entry cites card 37486 and ruling 7208943876, quotes the ruled option verbatim, names PR 37751 at cb1a47e9 as the code that builds it, and says the text comes before the code. Read before editing: ruling 7208943876, analysis 7207825366, report 7207298690; PR 37751 re-read as open, draft, head cb1a47e9. The PR is still a draft; its head is 06b567e5. The PR body was NOT patched by this run (see deviations): the new body, with the Refs line, is prepared and dry-run for the seat.", "adr_sentence": "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](#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.", "amendment_log": "New sixth entry under the fifth: '- **Amended**: 2026-11-27, a sixth time, by the maintainer's ruling on card objectstack#37486 (record 7208943876). ...' with three sub-bullets: the one question asked of a left-out child's published definition; what the statement signals (and that the record tools are not changed); 'Nothing else changes.' Inline tag in D3: (sixth amendment, 2026-11-27). The fifth entry is byte-identical.", "tests": "n/a for this round: the commit edits docs/adr text only; no package, test or schema is touched, and the package's source and tests are byte-identical to 40e60883 (round 1 readings stand: new file Tests 99 passed (99); package Test Files 372 passed | 9 skipped (381), Tests 23549 passed | 45 skipped (23594)). No ablation: no tested behaviour changed.", "gates": "On 06b567e5, the families that read the one changed file, derived by node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack docs/adr/0160-record-scoped-ai-inquiry.md: 21 commands, each exit code captured before any pipe, 21 exit 0. 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).' Commands: 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 :: exit 0. Outside that derivation: pnpm check:issue-citations :: exit 0; node scripts/pm/overlap-check.mjs --branch=claude/area-o1B-37386 before the push: VERDICT clean exit 0 (06b567e546 against origin/main 6e8f663710, 0 PR heads; origin/main merges cleanly and was not merged in). Prerequisite for check:doc-formula-expressions: pnpm --workspace-concurrency=2 --filter '@objectstack/lint...' build under the verify lock, VERDICT command-exit 0. CI check-runs on 06b567e5 at report time (41 runs): success: Auto Label, Check Documentation Links, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, Lint · scoped · tooling self-tests, PR-body guards (claim · duplicate · Part-of · single-writer path), Test UI, filter; skipped: 18.x upgrade harness (opt-in), Borrowed queue verdict, Build & E2E UI, Build Docs, Build UI Deps, Dogfood Regression Gate (MATRIX_SHARD/3), Dogfood Verify CLI, Lint UI, Packed-tarball smoke (opt-in), Plan Test UI shards, Queue verdict, Schedule gate · skip when a green push run covers the commit, Temporal Conformance (live PG + MySQL), Test UI (MATRIX_SHARD/16), Type Check UI, UI Published Artifacts; in_progress or queued: Build Core, Check Changeset, Flag docs affected by code changes, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Live E2E UI, Plan Test Core shards, Type Check · consumer gates, Type Check · debt ledger, Type Check · source gates, Type Check · workspace; other: none.", "line_budget": "218 changed lines (+170 / -48; generated files included) vs the human-merge threshold 3000: under (dispatch-gates --tier on 06b567e5). Tier H by path, unchanged.", "files_changed": [ "docs/adr/0160-record-scoped-ai-inquiry.md (+5 / -1 in 06b567e5; +17 / -7 against the base)" ], "deviations": [ "PR body not patched, and no Refs line written by this run. The order asks the dev to add 'Refs #37486' through the relay issue_patch; os-dev.md says a subagent writes the PR body only at pr_create and never patches it, the seat does, and that file wins where the two differ. Ready for the seat: /tmp/claude-0/-home-user/0e21e739-ab58-5fc3-9838-5aa1f7bce2ce/scratchpad/issue-37386/round2/pr-body-actions.json (one issue_patch on 37785: the full new body with the attribution lines first, 'Fixes' then 'Refs #37486' on its own line, both declaration lines bare, the sixth amendment and this round's gates written in, the seat's signed trailer as the last line; it also proposes the title '... amended a fifth and a sixth time; ...'). Dry run of that file: exit 0, target read as a pull request. Body text alone: the same folder, pr-body-round2.md.", "Declared narrowing: this round reran the 21 families that read the changed ADR file, not the 73 of the full union. The other 52 read files byte-identical to 40e60883, where the full union ran (72 exit 0, 1 NOT MEASURED); CI runs the farm on 06b567e5.", "The path-scoped 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. Per the order, origin/main was not merged in (no conflict).", "A sixth Amended entry, not a line added to the fifth: the fifth says it rests on no ruling of its own, and this text rests on one and describes behaviour that is not on main yet.", "Two sentences beyond the order's words: the log entry says the record tools are not changed (a typed name is still answered alike whether hidden or absent), and it says what main does until PR 37751 merges. Both are readings of the code and of that PR, not rulings.", "Not edited: D3 'Objects first' still quotes the record tools' judgeRelatedLists docblock ('nothing about a refused object is read, its definition included'); Context 'What a refusal names' is unchanged. Both describe the record tools.", "Provenance of the ruling as read: comment 7208943876 is the seat's record (fleet bot, seat 1's signature) of the maintainer's tap on a decision card; this run did not see the tap itself.", "The earlier revert e2e6a626 stays in history; 06b567e5 is a new commit, no force-push." ], "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub call of any kind", "api_writes": "1 relay stroke this round — this os-dev-report via scripts/pm/post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/37386/comments. Not REST: 1 git push (40e60883..06b567e5). Two relay dry runs sent nothing.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Close-out (area o1-B) · 2026-11-27T05:19Z
Delivered: PR #37785 merged: ADR-0160 is amended a fifth time (it writes down what
maindoes: the unsortable sort field as an author defect, the D4 alias sentence, the D3 404 list) and a sixth time (ruling B on #37486: arelatedchild the caller is not served statesnot_visibleonly when the stack defines it, and the text names that existence signal). The Data API sort door now judges computed types withisVirtualSearchField, the predicate the sortability projection reads, with a test that holds the two in agreement for everyFieldType. L1 ACCEPT 7209761400; contract review PASS 7209730357; landed by seat 1 after approval.State:
pm:dispatchedremoved with the close. Remaining: the engine doorassertOrderByIsMaterializableand the staleUNMATERIALIZED_SORT_TYPEScomments → #37810; #37751 (#37486) lands next on the amended text.