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
A view column on a field contributed by a disabled package fails the whole list (400 INVALID_FIELD) instead of dropping the column #34901
Found by the hotcrm lane's probe for hotcrm#2618 (report: hotcrm#2618 comment 6952320824, screenshot issue-2618/expenses-psa-off.png in the project files) on @objectstack 18.5.0. Live on hotcrm main today. Read in code on objectstack mainfc5913e.
What happens
hotcrm's Project Delivery package contributes crm_project to crm_expense (an object extension; the expense package does not depend on it). The Expenses package's own list views name crm_project as a column. Disable Project Delivery: the extension field leaves crm_expense's meta (correct), but the views keep the column, the console asks select=…crm_project…, and the server answers 400 INVALID_FIELD "Unknown field 'crm_project' on object 'crm_expense'". The grid shows "This view's query was rejected". Every Expenses list that shows the project column is unusable while Project Delivery is off. Same reading for a Project column added to Order to Cash's plan-step grid.
Why, in code
packages/metadata-protocol/src/protocol-query-validation.ts ~339–375: resolveQueryFields builds the known set from the object's current fields, and assertQueryParamsAreFields refuses any unknown name. Nothing between the view and the query drops a column whose field was contributed by a now-disabled package. Related but different cause: #34807 (draft-only field).
Asked
A view column (and sort, filter, group) naming a field that a disabled package contributed is dropped where the view is served or where the console builds the query, not sent. Optionally lint can warn that a view names a field from a package its own package does not depend on.
Done when
With the contributing package disabled, the list opens and shows its other columns; re-enabled, the column returns.
First touch (R1198, 15:5xZ): p1 · domain:server → pm:queue.
Theme: HotCRM usable, with a named effect. It is live on HotCRM main today: with Project Delivery disabled, the whole Expenses list fails with 400 instead of dropping one column. So p1.
This card is already p1. It was graded at first touch in R1198 on its own effect: the HotCRM Expenses list breaks when Project Delivery is off.
As of 16:11Z, the HotCRM maintainer has chosen that the platform fixes it and that the next HotCRM release waits on it. So addendum 9 now applies as well: p1 holds for as long as HotCRM waits on this card, whatever its effect grade becomes.
It is queued for the p1 seat (repo:objectstack#3).
Claim: PM loop round 1 · area o3-A · 2026-11-17T18:40Z
Session: session_01WGufzg2evNa1V3zxrQq3KX
Account: os-support-ai
Branch: claude/issue-34901-disabled-package-view-column
Worktree: objectstack-issue-34901
Domain: domain:server (triage). The fix may land where the view is served or where the console builds the query; see Premise.
Seat: repo:objectstack#3
File surface: set by the premise measurement, before any code. The os-dev measures first, then stops and reports. The area then restates this claim with the measured surface and the serial-constraint scan. Candidates:
(a) where the view is served: the metadata read that serves a view's columns, sort, filter and grouping against the object's current fields, under packages/metadata-protocol/src/** or packages/objectql/src/**;
New tests go beside the edited files, plus a root .changeset/.
Container & model: S/M, mode:subagent, model: TIER_DEFAULT (re-derived at the restated claim), effort: high (seat order)
Clause-②: no (provisional, restated with the surface). It stays no only if no accepted read or write narrows. The data door's refusal of an unknown field (assertQueryParamsAreFields) is not loosened. The view stops sending a name the object no longer declares.
Metadata-protocol: none
Responsibility: views over package-contributed fields (objectstack): with the contributing package disabled, the extension field leaves the object's meta but views that name it keep the column, so the list asks select=…crm_project… and the data door answers 400 INVALID_FIELD and the whole list fails | nothing between the view and the query drops a column whose field a now-disabled package contributed | every app whose views name a field another (optional) package contributes, with that package disabled: HotCRM Expenses and Order to Cash, live today on 18.5.0
Thread-read: 6953792136
Premise: holds as filed. HotCRM measured it live on 18.5.0, and it reads in code at protocol-query-validation.ts ~339–375 on main fc5913e. Not yet measured: which door serves the view and which builds the failing read, and whether the right fix drops the column (and its sort, filter and group) or answers it empty. The os-dev measures on origin/main and stops before design.
Serial constraints cleared: deferred to the restated claim (surface not yet known); the dev runs overlap-check on its probe push
Pre-claim lane: domain:server per triage. A console-side fix goes to the seat at the restated claim.
Pre-claim deps: none
Prior rulings read: #34807 ruling 6946403206 (the data contract stays unchanged for draft-only fields; the client falls back), cited as the nearest analogue; package disable, object extension, view column and INVALID_FIELD are read again at the restated claim.
Lease o3-A (seat post #34584); repo p1 under seat 3 (seat order 2026-11-17 18:40Z). L1: L1-d.
{
"issue": 34901,
"status": "reading",
"branch": "claude/issue-34901-disabled-package-view-column",
"pr": null,
"session": "session_01WGufzg2evNa1V3zxrQq3KX",
"premise_still_valid": true,
"dev_effort": "Dev-effort: high",
"summary": "Premise holds, measured on origin/main cb7d514ac16 (worktree objectstack-issue-34901, BASE cb7d514ac16, nothing committed or pushed). With extender package P disabled, crm_project leaves the served object (registry.getObject) but stays in the storage object (registry.getStorageObject). Owner Q's view keeps the column and its sort. Every query axis that names the field is refused 400: select, filter, groupBy, searchFields and a bare key answer INVALID_FIELD; orderBy answers INVALID_SORT. When P is re-enabled the same select answers 200. One correction to the card's citation: the select refusal comes from assertProjectionFieldsExist (protocol-query-validation.ts:756-777). Lines ~339-375 are resolveQueryFields (the known set) and the bare-key gate assertQueryParamsAreFields (361-382). A provenance marker DOES exist server-side (withholdDisabledExtensions), but no served read exposes it to the console. Recommendation: option A2, the server marks the withheld names on the served object read and the console drops them from every query axis, as the draft-only seam already does. The door and view metadata stay unchanged and typos stay loud.",
"reproduced_400": {
"probe": "scratch vitest file in packages/objectql/src (deleted before this report; tree clean, git diff HEAD empty). Real ObjectQL engine plus ObjectStackProtocolImplementation over a fake driver. Q owns crm_expense (name, amount). P declares dependencies on Q, so the shared namespace is co-owned under ADR-0141 D5; Q does not depend on P. P registers crm_project by extend. Q registers view crm_expense.all with columns name, amount, crm_project and a sort on crm_project. Then registry.disablePackage(P), then protocol.findData per axis, then registry.enablePackage(P).",
"run": "os-verify-lock VERDICT command-exit 0 · Test Files 1 passed (1) · Tests 1 passed (1)",
"output": [
"enabled served fields: [organization_id, created_at, created_by, updated_at, updated_by, owner_id, owning_business_unit_id, queue, name, amount, crm_project]",
"enabled select: ok, records [{name: Taxi, amount: 12, crm_project: p1}]",
"disabled served fields (registry.getObject): [... name, amount] -- crm_project gone",
"disabled storage fields (registry.getStorageObject): [... name, amount, crm_project] -- kept",
"contributors: own=com.probe.expenses [... name, amount]; extend=com.probe.projects [crm_project]",
"view item served by-name layer (registry.getItem view): columns [name, amount, crm_project], sort [{field: crm_project, order: asc}], _packageId com.probe.expenses -- unchanged by the disable",
"select: INVALID_FIELD 400 param=select field=crm_project: Unknown field 'crm_project' on object 'crm_expense'. 'select' chooses which fields to return; dropping an unknown one silently answered a NARROWER projection with a WIDER one ...",
"orderBy: INVALID_SORT 400 param=orderBy field=crm_project",
"filter: INVALID_FIELD 400 param=filter field=crm_project",
"groupBy: INVALID_FIELD 400 param=groupBy field=crm_project",
"searchFields: INVALID_FIELD 400 param=searchFields field=crm_project",
"bare key ?crm_project=p1: INVALID_FIELD 400 (no param)",
"control, typo select amuont: INVALID_FIELD 400 param=select, with the hint: Did you mean the field 'amount'?",
"re-enabled select: ok, crm_project served again"
],
"not_measured": "GET /meta/object and saveMetaItem(view) while P is disabled: NOT MEASURED, because this harness has no sys_metadata object (both answered 503 SERVICE_UNAVAILABLE). The served object read is read in code instead (below)."
},
"serving_path": [
"Views reach the console through two server doors, and both serve the view body verbatim: (1) the /meta/view list and by-name item reads, packages/metadata-protocol/src/protocol-meta-list-reads.ts (getMetaItems; withholds whole items of a disabled package and actions launching into one, ~970-990) and protocol-meta-item-face.ts:820-899 (by-name; withholds whole items only); (2) the app bundle, packages/rest/src/meta-app-bundle-routes.ts:252,278-315, which composes those same getMetaItem/getMetaItems reads. On the console side, ui/packages/app-shell/src/providers/MetadataProvider.tsx:209-216 and bundledReads.ts:41-46 compose the views from the bundle or the /meta/view list.",
"An object's embedded listViews are served inside the object read: protocol-object-extender-fold.ts:77-79 calls registry.foldObjectExtendersOnto (packages/objectql/src/registry-object-registration.ts:1463), which computes withholdDisabledExtensions (~1477) and strips withheld fields, rules and indexes from the object. It does NOT touch listViews column, sort, filter or grouping refs.",
"No server-side view resolution judges a view's field refs against the object's current fields. The only nearby producer is getUiView (protocol-meta-audit-ui-view.ts:226-290). It generates a DEFAULT list view from the current fields, so it cannot dangle and does not apply to authored views.",
"Q's view metadata is unchanged by disabling P. Measured: the registry view item keeps all three columns and the sort.",
"Authoring side: lint list-view-field-unknown (packages/lint/src/validate-list-view-field-refs.ts, wired in reference-integrity-suite.ts:345-380 with runtimeTypes view/object) already refuses a typo'd column at error, at os validate, at os build and at the view/object save door. So at runtime a dangling column can only come from drift: a disable, a deleted field or a renamed field."
],
"provenance_marker": "EXISTS server-side, NOT served. packages/objectql/src/registry-object-registration.ts:745-770 withholdDisabledExtensions returns {kept, withheldFields, withheldRules, withheldIndexes} per object from the contributor list plus isPackageDisabled. It is private on SchemaRegistry (registry.ts:2937). It has public equivalents: getStorageObject (registry.ts ~2918, which keeps the field; measured) minus getObject (which drops it), and getObjectContributors plus isPackageDisabled (measured: the contributor list keeps P's extend entry after the disable). packages/runtime/src/domains/packages.ts:1253-1295 (readDisableDependentRules) already recomputes the same withheld set to refuse a disable that would orphan a validation rule (409 PACKAGE_DISABLE_RESTRICTED_BY_VALIDATION_RULE, #30379 ruling A). So the registry can tell 'contributed by a disabled package' apart from 'typo / unknown'. Neither the served /meta/object body nor the door's error carries that distinction today.",
"query_building_path": [
"ListView $select: ui/packages/plugin-list/src/ListView.tsx:3818-3851 projects every authored column (columnIdentity). It drops only draft-only names (_draftOnly marker, 3838-3841) and FLS-denied names (3842-3844). perms.checkField answers allowRead for an undeclared field once the object row grants read (ui/packages/permissions/src/MePermissionsProvider.tsx:449-477), so crm_project is sent. Only the speculative view bindings go through the known-field gate (knownObjectFields, 3866-3878; addSpeculative 3909-3917).",
"ListView $orderby: serverSort (ListView.tsx:2383-2393) keeps only entries the served sortability projection marks sortable:true (ui/packages/core/src/utils/column-sortability.ts:201-227). An unknown name has no entry, so it is dropped WHEN the signal is served, and passed unchanged when not. Per the objectstack#30024 note at 2364-2381, the persist boundary (emitSortChange) drops the refused entry from the NEXT view write. Under a disable that permanently loses the crm_project sort on the next unrelated save, so re-enable would not bring it back. Not measured end-to-end.",
"ListView $filter / $searchFields: draft-only names are dropped (omitDraftOnlyFilterFields 1900-1925; searchFieldsSent 2256-2261). Every other name, crm_project included, is sent as authored.",
"ListView grouping: grouping and groupBy/groupBy2 names (2567-2640) go into $select through the speculative known-field gate. The groupBy request itself is not gated.",
"plugin-grid $select: ui/packages/plugin-grid/src/objectGridRowLoad.ts:276-291 passesProjectionGate returns true for any undeclared name. Every HARVESTED route (predicates, grouping, row colour, deadline, referenceVia, dependsOn, currency, name field, 302-500) is gated by isProjectableField (ui/packages/core/src/utils/predicate-fields.ts:75-81, platform column or declared). The draft-only drop runs last (209-211, 543-547).",
"Why the undeclared pass-through exists (objectGridRowLoad.ts:253-262; pinned by ui/packages/plugin-grid/src/__tests__/projectionFls-6898.test.tsx:192-200, 'leaves an UNDECLARED (derived / host-joined) key in the projection'): it is an FLS-gate argument. checkField fails closed for a name no policy mentions, so judging undeclared names through FLS would strip a host's derived or joined column out of its own query. Against the ObjectStack door, though, an undeclared plain column in $select is ALWAYS refused 400 (assertProjectionFieldsExist, #7532), and the probe confirms it. So the pass-through protects only non-ObjectStack data sources and inline/value providers. Dropping undeclared names there would turn PIN 4 red, and would change objectui behaviour for those hosts.",
"plugin-grid grouping: ui/packages/plugin-grid/src/objectGridGroupingDecisions.ts:88-117 refuses only masked or _draftOnly-marked grouping keys. An unmarked unknown key groups and is refused at the door."
],
"options": [
{
"id": "A1",
"name": "Client drops every name the served object does not declare (no marker)",
"surface": "ui/packages/plugin-list/src/ListView.tsx ($select cols, $filter, $searchFields, groupBy legs); ui/packages/plugin-grid/src/objectGridRowLoad.ts (columns through isProjectableField); ui/packages/plugin-grid/src/objectGridGroupingDecisions.ts; tests beside each",
"accepted_reads_writes": "unchanged at the door; the client sends less. Clause-②: no. Metadata-protocol: none.",
"costs": "Contradicts plugin-grid PIN 4 (projectionFls-6898 'undeclared key stays in projection'), which needs a ruling or a carve-out for non-ObjectStack sources. Silently hides EVERY runtime unknown: disables, deleted fields and renamed fields alike. Typos are caught earlier by lint list-view-field-unknown, but the console cannot say why a column vanished. Other consumers (RelatedList, kanban, calendar, dashboards) each need the same edit.",
"reenable_free": true
},
{
"id": "A2",
"name": "Server marks withheld-by-disabled-package names on the served object; console drops them on every query axis (the _draftOnly pattern)",
"surface": "packages/objectql/src/registry-object-registration.ts (foldObjectExtendersOnto ~1463-1480 already holds `withheld`; stamp an underscore-private, never-authorable marker on the served body, or expose a public getWithheldFields); packages/metadata-protocol/src/protocol-object-extender-fold.ts (served face only; never the authoring/editor face, so it is never written back); ui/packages/plugin-list/src/ListView.tsx and ui/packages/plugin-grid/src/objectGridRowLoad.ts plus objectGridGroupingDecisions.ts (read it beside readDraftOnlyFieldNames / isDraftOnlyField; hide the column or draw it with a note naming the switched-off package); tests beside each; root .changeset",
"accepted_reads_writes": "door unchanged; no accepted read or write narrows or widens. The served /meta/object body gains one underscore-private key (precedents: _packageId, _provenance). Clause-②: no. Metadata-protocol: none. L2: likely owed, because the served object read shape is a contract face.",
"costs": "Spans two domains (objectql/metadata-protocol plus ui), so it is bigger than S/M. Marker design to settle: a separate name list versus per-field stubs (the _draftOnly readers read per-field stubs, but stubs would put withheld fields back in front of forms, pickers and AI readers). The marker must stay off every write-back path (Studio editor, personalization PUT). Dashboards and related lists get the fix only where they adopt the reader. Typos stay loud 400.",
"reenable_free": true
},
{
"id": "B",
"name": "Server strips withheld refs from the served view (columns, sort, filter, grouping)",
"surface": "packages/metadata-protocol/src/protocol-meta-item-face.ts (by-name), protocol-meta-list-reads.ts (list), and the layered/published faces; packages/objectql/src/registry-object-registration.ts withoutWithheldMembers / foldObjectExtendersOnto for an object's embedded listViews; the bundle (meta-app-bundle-routes.ts) inherits",
"accepted_reads_writes": "door unchanged. The served view body is narrowed, which is a semantic change to a served read and needs ruling attention. Clause-②: no for data.",
"costs": "Every consumer that writes the served body back (the console personalization PUT; per normalizeViewMetadata's docblock it 'sends only the raw view config'; the Studio view editor) would PERSIST the stripped column, so Done-when (re-enable returns the column) breaks after the first save, unless an authoring-face carve-out is added. Does not cover user-applied sorts and filters held client-side, nor dashboards or pages. Several read faces must agree.",
"reenable_free": "only until someone saves the view"
},
{
"id": "C",
"name": "Door answers a withheld field empty instead of 400",
"surface": "packages/metadata-protocol/src/protocol-query-validation.ts (resolveQueryFields 340-358 / assertProjectionFieldsExist 756-777 and the sort/filter/groupBy/searchFields gates), using the registry's withheld set so typos stay refused",
"accepted_reads_writes": "WIDENS accepted reads. Clause-②: yes (widening), plus L2 contract review. Cuts against the nearest analogue, ruling 6946403206 ('Data contract unchanged ... No server change, no new query flag').",
"costs": "Only select has a safe empty answer. An ignored filter returns a WIDER row set, an ignored sort gives an arbitrary page order and an ignored groupBy gives one null bucket. Those are exactly the silent answers #4226/#7532 and AGENTS.md route rule 5 refuse, so the other axes would still need client handling. Every door caller sees the change: export, SDK, MCP/AI tools.",
"reenable_free": true
},
{
"id": "D",
"name": "(precedent only) Refuse the disable while an enabled package's view names a withheld field",
"surface": "packages/runtime/src/domains/packages.ts beside readDisableDependentRules (1253-1295)",
"accepted_reads_writes": "narrows a write (the disable door). Clause-②: yes (narrowing), BREAKING.",
"costs": "Contradicts the card's Done-when (the list opens with P disabled) and the HotCRM suite model, where modules are toggled in settings (ADR-0141 addendum, #25805 ruling D / #28117 ruling A). Named only because #30379 ruling A chose it for validation rules.",
"reenable_free": "n/a"
}
],
"recommendation": "A2. It keeps the data door and Q's view metadata byte-unchanged (Clause-② no, Metadata-protocol none), so re-enable restores the column with no view edit. Typos and other genuine unknowns stay a loud 400. It reuses the pattern ruling 6946403206 accepted for draft-only fields: the server's truth arrives as a served marker and the client leaves the name out of every request. If the seat wants a ui-only cut, A1 is cheaper but needs a ruling on plugin-grid PIN 4 and hides all drift silently. Whichever is picked, the ListView sort persist boundary (objectstack#30024) must not drop a withheld entry from the stored view, or the sort half of Done-when fails.",
"tests": "Scratch probe only (deleted): pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/zz-probe-34901.test.ts under os-verify-lock, VERDICT command-exit 0, Test Files 1 passed (1), Tests 1 passed (1), output quoted in reproduced_400. Built first under the lock: pnpm --workspace-concurrency=2 --filter '@objectstack/objectql^...' build with OS_SKIP_DTS=1 (the last part of a two-part command line, so batch-last-exit 0 is the build's exit; JS only, because the probe reads dist JS). Two earlier probe runs failed on harness setup (NamespaceConflictError; sys_metadata absent) and were fixed before the passing run. No ablation: nothing was changed.",
"gates": "none run: reading round, no diff (git -C worktree status --porcelain empty after the probe was deleted).",
"dogfood_battery": "n/a: no PR",
"mcp_calls": "4: mcp__github__issue_read x3 (34901 get, 34901 get_comments, 34807 get_comments), ToolSearch loads excluded; no MCP write tool used",
"api_writes": "1: this os-dev-report comment on #34901 via scripts/pm/post-stamped.mjs (POST issues/34901/comments through the relay)",
"deviations": "os-dev.md rule 1 says to push the empty branch before any edit. The dispatch order says to push nothing this round, and I followed the order (conflict noted, no branch on origin). Worktree /home/claude/objectstack-issue-34901 is left in place, clean, for the next round's code. Prior rulings: scripts/pm/check-prior-rulings.mjs --card 34901 found ADR-0061 D2, ADR-0139 D4 and ADR-0146 D10; none of them rules on view refs over withheld fields; thread rulings: none.",
"open_questions": [
{
"question": "Which seam drops a view's column, sort, filter and group refs that name a field a disabled package withholds?",
"options": [
"A2: server marks withheld names on the served object read; console drops them on every query axis (two domains, Clause-② no, L2 likely on the served read shape)",
"A1: console drops every name the served object does not declare (ui only, Clause-② no, needs a ruling on plugin-grid PIN 4, hides all drift)",
"B: server strips withheld refs from served views (persist hazard breaks re-enable after any save)",
"C: door answers withheld names empty (Clause-② yes (widening), only select is safe, cuts against ruling 6946403206)"
],
"recommendation": "A2, because it is the only option that keeps the door and the view metadata unchanged, keeps typos loud, and gives re-enable for free on every axis."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #34901 · noted, not filed. The ListView sort persist boundary (objectstack#30024 emitSortChange, ListView.tsx:2364-2381) drops a refused sort entry from the next view write. Under a disable this would permanently lose a withheld sort, so it belongs to this card's Done-when.",
"carrier: #34901 · noted, not measured. Whether the runtime view save door (list-view-field-unknown, runtimeTypes view/object) refuses re-saving Q's view while P is disabled, because it judges against the served objects. If it does, Q's admin cannot edit that view at all during the disable. Dedupe words: view save disabled package extension field, list-view-field-unknown withheld, disable orphan view column."
]
}
From area o3-A's measurement (report 6958031017, main cb7d514): with package P disabled, Q's view keeps a column on P's contributed field and every query axis is refused (select via assertProjectionFieldsExist, filter / groupBy / searchFields INVALID_FIELD, orderBy INVALID_SORT).
Route A2. The server stamps the withheld field names on the served object read with an underscore-private marker (fed from withholdDisabledExtensions), and the console drops those names on every query axis, as #34807 / #34898 do for draft-only fields. The data door and the stored view stay unchanged: a typo stays a 400, and re-enabling P restores the column with no write. Rejected: A1 (silently hides all drift and needs a PIN 4 reversal), B (the personalization PUT and Studio would persist the strip, breaking re-enable), C (a widening that cuts against ruling 6946403206).
Measure, before coding, whether the view save door refuses Q's view while P is disabled, and report it; if it does, that is in scope.
Clause-②: no. The served object shape is a contract face, so declare the marker as underscore-private (not authorable) and the seat runs an L2 after L1-d.
Large card, kept in area o3-A; claim restated with the measured file list (objectql / metadata-protocol / ui).
packages/objectql/src/registry-object-registration.ts: honour that option in withholdDisabledExtensions, and add the withheld-field reader.
packages/objectql/src/registry.ts: public getWithheldExtensionFields.
packages/metadata-protocol/src/protocol-meta-item-face.ts and protocol-meta-list-reads.ts: stamp _withheldFields on served-face object reads only.
packages/metadata-protocol/src/protocol-authoring-gate.ts and protocol-object-extender-fold.ts: view writes judge against the storage fold.
Spec
packages/spec/src/kernel/metadata-read-decorations.ts: one member, plus generated artefacts if check:generated names them.
Console
ui/packages/core/src/utils/withheld-fields.ts (new) and its index export.
ui/packages/plugin-list/src/ListView.tsx: request legs, column derivation, note, and the emitSortChange persist boundary.
ui/packages/plugin-grid/src/objectGridRowLoad.ts, objectGridGroupingDecisions.ts, and objectGridGenerateColumns.tsx (confirm in code first).
Two locale keys in a lazy namespace if one fits, otherwise ui/packages/i18n/src/locales/*.ts and objectGridTranslations.ts.
Tests beside each file and a root .changeset/.
Container & model: L, mode:subagent, model: TIER_DEFAULT build, effort: high; review: L1-d, then seat fable L2 (save door, fold option, spec member)
Clause-②: yes (widening: the view save door accepts withheld names; one spec read-decoration member; two locale keys)
Metadata-protocol: none — by the shard measurement no authorable surface moves (_withheldFields is an underscore-private served read decoration, stripped on write); restated if the measurement says otherwise
Responsibility: views over package-contributed fields (objectstack): with the contributing package disabled the field leaves the served object but the owner's views keep naming it, so every query axis is refused 400 and the whole list fails, and the view save door refuses re-saving the view (422) | no served read tells the console which names a disabled package withholds | every app whose views name a field an optional package contributes, with that package disabled (HotCRM Expenses, Order to Cash; HotCRM's next release waits on it)
Thread-read: 6958114040
Premise: holds (6958031017, on origin/main cb7d514). Every axis is refused with P disabled (select, filter, groupBy and searchFields answer INVALID_FIELD; orderBy answers INVALID_SORT), and re-enabling P answers 200. The view save door returns 422 with P disabled and succeeds with P enabled (the pre-code probe). withholdDisabledExtensions exists server-side but is not served.
Serial constraints cleared: #34925 (draft, a timesheet list view) also edits ui/packages/plugin-list/src/ListView.tsx; overlap-check on every push and a merge-tree check before landing. No other open PR touches the listed files.
Pre-claim lane: domain:server + console readers. A large card, kept in area o3-A by seat ruling 6958114040.
Pre-claim deps: none (#34936 and #34944, the draft-only seam this card mirrors, are on main)
Prior rulings read: 6958114040 (A2 and its conditions); #34807 ruling 6946403206 (data contract unchanged, client falls back); #30379 ruling A (disable refusal for validation rules; not chosen here); check-prior-rulings gave ADR-0061 D2, ADR-0139 D4 and ADR-0146 D10, none of which rules on view refs over withheld fields.
Conditions (seat):
The fold option applies to view writes only, and a typo is still refused (pin both).
Pin that a Studio GET-edit-PUT strips _withheldFields.
Measure the eager budget and report it.
Run check-governed-merges at PR time; spec src may make this Tier H.
Out of scope (named in the PR body): embedded listViews on object writes, and dashboards or reports that name a withheld field.
Lease o3-A (seat post #34584). L1: L1-d, then seat L2.
Re-held for landing · 2026-11-18T03:23Z · area o3-A. The seat ruled at 03:23Z that #34979 counts as finishing, because it is in hand and fully reviewed. o3-A lands it once CI is green. The card goes back to pm:dispatched / lease:o3-A until the merge. The hand-off 6968018697 still holds if this area stops before then.
Release: claim 6957448999 as restated in 6958346903 (session session_01WGufzg2evNa1V3zxrQq3KX, account os-support-ai), handed over, not abandoned. Provenance: Warren (maintainer) to seat 3 at 03:19Z 「开发中的任务提交代码,开始写交接文件,准备交给下一个pm」「已经入队的继续跟进」 and at 03:30Z 「代码已推送,交给下一任,用信箱 交接给刚入座的 objectstack#1」, quoted in seat 3's hand-off brief on #34584 (comment 6968205670); Warren to seat 1 at 03:20Z in os-warren's fleet project 「加载最新的 pm-dispatch 技能,你接手 objectstack 全仓车道 座位1,前任已经没有token了」 (seat post #34366 comment 6968121768). Assignee os-support-ai → os-warren and lease:o3-A → lease:o1-D in this stroke.
Claim: PM loop round 1 (area o1-D, repo:objectstack#1; takeover of open PR #34979 to follow it to MERGED and close the card out)
Session: session_01JQwxbaX2qDxUq9sF93EqqL
Account: os-warren
Branch: claude/issue-34901-disabled-package-view-column (continued; no force-push)
Domain: domain:server
Seat: repo:objectstack#1
File surface: unchanged, the PR's files at 69afbe1607ce7f3bc7ab1af1c49e0440868d0fba
Container & model: no dev dispatched by this claim (landing follow-up only), effort: high
Clause-②: yes (widening: the view save door accepts withheld names; one spec read-decoration member; one locale key; one optional security-service member, add-only)
Metadata-protocol: none
Thread-read: 6968057969
Premise: holds — the PR at 69afbe1607ce7f3bc7ab1af1c49e0440868d0fba carries the reviews named in the hand-off
Pre-claim lane: the PR's paths — whole-repo lane
Pre-claim deps: none named on the card
Prior rulings read: seat rulings 6958114040 (route A2) and the M1 route A amendments 6962249483, 6964496069, 6966852329; landing 6968135369
Serial constraints cleared: none (no code change under this claim)
Resume-from: claude/issue-34901-disabled-package-view-column@69afbe1607ce7f3bc7ab1af1c49e0440868d0fba
Hand-over record: last pushed sha 69afbe1607ce7f3bc7ab1af1c49e0440868d0fba. In the merge queue since 03:29Z (landing 6968135369, hand-off 6968018697). Closes #34901 closes the card on merge; this seat then strips pm:dispatched and lease:o1-D.
MERGED at 2026-11-18T04:01Z through the merge queue, merge commit 2487242c2ea63651ac9593fad84d0bd397f8b0bf
Card
closed completed by Closes #34901
Delivered: route A2 under the seat ruling (restated claim 6958346903) with the M1 route A amendments; a view column on a field contributed by a disabled package no longer fails the whole list. Remaining work is already on its own cards with triage: #35009 (embedded listViews), #35010 (dashboards/reports), #34989 (non-grid view bindings), #35011 (standalone grid $filter), #35088 (ADR-0106 amendment note, nits N7 and N9 of 6967274835). pm:dispatched and lease:o1-D come off and the assignee is cleared in this stroke.
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (R1198, 15:5xZ): p1 · domain:server →
pm:queue.Theme: HotCRM usable, with a named effect. It is live on HotCRM main today: with Project Delivery disabled, the whole Expenses list fails with 400 instead of dropping one column. So p1.
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Re: repo:hotcrm#1's request (16:15Z) · 2026-11-17T16:15Z
This card is already p1. It was graded at first touch in R1198 on its own effect: the HotCRM Expenses list breaks when Project Delivery is off.
As of 16:11Z, the HotCRM maintainer has chosen that the platform fixes it and that the next HotCRM release waits on it. So addendum 9 now applies as well: p1 holds for as long as HotCRM waits on this card, whatever its effect grade becomes.
It is queued for the p1 seat (repo:objectstack#3).
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
Claim: PM loop round 1 · area o3-A · 2026-11-17T18:40Z
Session:
session_01WGufzg2evNa1V3zxrQq3KXAccount:
os-support-aiBranch:
claude/issue-34901-disabled-package-view-columnWorktree:
objectstack-issue-34901Domain:
domain:server(triage). The fix may land where the view is served or where the console builds the query; see Premise.Seat:
repo:objectstack#3File surface: set by the premise measurement, before any code. The os-dev measures first, then stops and reports. The area then restates this claim with the measured surface and the serial-constraint scan. Candidates:
packages/metadata-protocol/src/**orpackages/objectql/src/**;ui/packages/plugin-list/src/ListView.tsxandui/packages/plugin-grid/src/objectGridRowLoad.ts, the same seam Draft preview: a field that exists only in the draft is missing from the New record form, and a draft list column on it makes the list query refused #34807 and Draft preview: a grouped grid view fails when a draft-only field is a column (every group INVALID_FIELD) or the grouping (Error loading grid) #34898 used for draft-only fields.New tests go beside the edited files, plus a root
.changeset/.Container & model:
S/M,mode:subagent,model: TIER_DEFAULT (re-derived at the restated claim),effort: high(seat order)Clause-②: no (provisional, restated with the surface). It stays
noonly if no accepted read or write narrows. The data door's refusal of an unknown field (assertQueryParamsAreFields) is not loosened. The view stops sending a name the object no longer declares.Metadata-protocol: none
Responsibility:
views over package-contributed fields (objectstack): with the contributing package disabled, the extension field leaves the object's meta but views that name it keep the column, so the list asks select=…crm_project… and the data door answers 400 INVALID_FIELD and the whole list fails | nothing between the view and the query drops a column whose field a now-disabled package contributed | every app whose views name a field another (optional) package contributes, with that package disabled: HotCRM Expenses and Order to Cash, live today on 18.5.0Thread-read: 6953792136
Premise: holds as filed. HotCRM measured it live on 18.5.0, and it reads in code at
protocol-query-validation.ts~339–375 on main fc5913e. Not yet measured: which door serves the view and which builds the failing read, and whether the right fix drops the column (and its sort, filter and group) or answers it empty. The os-dev measures on origin/main and stops before design.Serial constraints cleared:
deferred to the restated claim (surface not yet known); the dev runs overlap-check on its probe pushPre-claim lane:
domain:serverper triage. A console-side fix goes to the seat at the restated claim.Pre-claim deps: none
Prior rulings read: #34807 ruling 6946403206 (the data contract stays unchanged for draft-only fields; the client falls back), cited as the nearest analogue; package disable, object extension, view column and INVALID_FIELD are read again at the restated claim.
Lease
o3-A(seat post #34584); repo p1 under seat 3 (seat order 2026-11-17 18:40Z). L1: L1-d.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
os-dev-report
{ "issue": 34901, "status": "reading", "branch": "claude/issue-34901-disabled-package-view-column", "pr": null, "session": "session_01WGufzg2evNa1V3zxrQq3KX", "premise_still_valid": true, "dev_effort": "Dev-effort: high", "summary": "Premise holds, measured on origin/main cb7d514ac16 (worktree objectstack-issue-34901, BASE cb7d514ac16, nothing committed or pushed). With extender package P disabled, crm_project leaves the served object (registry.getObject) but stays in the storage object (registry.getStorageObject). Owner Q's view keeps the column and its sort. Every query axis that names the field is refused 400: select, filter, groupBy, searchFields and a bare key answer INVALID_FIELD; orderBy answers INVALID_SORT. When P is re-enabled the same select answers 200. One correction to the card's citation: the select refusal comes from assertProjectionFieldsExist (protocol-query-validation.ts:756-777). Lines ~339-375 are resolveQueryFields (the known set) and the bare-key gate assertQueryParamsAreFields (361-382). A provenance marker DOES exist server-side (withholdDisabledExtensions), but no served read exposes it to the console. Recommendation: option A2, the server marks the withheld names on the served object read and the console drops them from every query axis, as the draft-only seam already does. The door and view metadata stay unchanged and typos stay loud.", "reproduced_400": { "probe": "scratch vitest file in packages/objectql/src (deleted before this report; tree clean, git diff HEAD empty). Real ObjectQL engine plus ObjectStackProtocolImplementation over a fake driver. Q owns crm_expense (name, amount). P declares dependencies on Q, so the shared namespace is co-owned under ADR-0141 D5; Q does not depend on P. P registers crm_project by extend. Q registers view crm_expense.all with columns name, amount, crm_project and a sort on crm_project. Then registry.disablePackage(P), then protocol.findData per axis, then registry.enablePackage(P).", "run": "os-verify-lock VERDICT command-exit 0 · Test Files 1 passed (1) · Tests 1 passed (1)", "output": [ "enabled served fields: [organization_id, created_at, created_by, updated_at, updated_by, owner_id, owning_business_unit_id, queue, name, amount, crm_project]", "enabled select: ok, records [{name: Taxi, amount: 12, crm_project: p1}]", "disabled served fields (registry.getObject): [... name, amount] -- crm_project gone", "disabled storage fields (registry.getStorageObject): [... name, amount, crm_project] -- kept", "contributors: own=com.probe.expenses [... name, amount]; extend=com.probe.projects [crm_project]", "view item served by-name layer (registry.getItem view): columns [name, amount, crm_project], sort [{field: crm_project, order: asc}], _packageId com.probe.expenses -- unchanged by the disable", "select: INVALID_FIELD 400 param=select field=crm_project: Unknown field 'crm_project' on object 'crm_expense'. 'select' chooses which fields to return; dropping an unknown one silently answered a NARROWER projection with a WIDER one ...", "orderBy: INVALID_SORT 400 param=orderBy field=crm_project", "filter: INVALID_FIELD 400 param=filter field=crm_project", "groupBy: INVALID_FIELD 400 param=groupBy field=crm_project", "searchFields: INVALID_FIELD 400 param=searchFields field=crm_project", "bare key ?crm_project=p1: INVALID_FIELD 400 (no param)", "control, typo select amuont: INVALID_FIELD 400 param=select, with the hint: Did you mean the field 'amount'?", "re-enabled select: ok, crm_project served again" ], "not_measured": "GET /meta/object and saveMetaItem(view) while P is disabled: NOT MEASURED, because this harness has no sys_metadata object (both answered 503 SERVICE_UNAVAILABLE). The served object read is read in code instead (below)." }, "serving_path": [ "Views reach the console through two server doors, and both serve the view body verbatim: (1) the /meta/view list and by-name item reads, packages/metadata-protocol/src/protocol-meta-list-reads.ts (getMetaItems; withholds whole items of a disabled package and actions launching into one, ~970-990) and protocol-meta-item-face.ts:820-899 (by-name; withholds whole items only); (2) the app bundle, packages/rest/src/meta-app-bundle-routes.ts:252,278-315, which composes those same getMetaItem/getMetaItems reads. On the console side, ui/packages/app-shell/src/providers/MetadataProvider.tsx:209-216 and bundledReads.ts:41-46 compose the views from the bundle or the /meta/view list.", "An object's embedded listViews are served inside the object read: protocol-object-extender-fold.ts:77-79 calls registry.foldObjectExtendersOnto (packages/objectql/src/registry-object-registration.ts:1463), which computes withholdDisabledExtensions (~1477) and strips withheld fields, rules and indexes from the object. It does NOT touch listViews column, sort, filter or grouping refs.", "No server-side view resolution judges a view's field refs against the object's current fields. The only nearby producer is getUiView (protocol-meta-audit-ui-view.ts:226-290). It generates a DEFAULT list view from the current fields, so it cannot dangle and does not apply to authored views.", "Q's view metadata is unchanged by disabling P. Measured: the registry view item keeps all three columns and the sort.", "Authoring side: lint list-view-field-unknown (packages/lint/src/validate-list-view-field-refs.ts, wired in reference-integrity-suite.ts:345-380 with runtimeTypes view/object) already refuses a typo'd column at error, at os validate, at os build and at the view/object save door. So at runtime a dangling column can only come from drift: a disable, a deleted field or a renamed field." ], "provenance_marker": "EXISTS server-side, NOT served. packages/objectql/src/registry-object-registration.ts:745-770 withholdDisabledExtensions returns {kept, withheldFields, withheldRules, withheldIndexes} per object from the contributor list plus isPackageDisabled. It is private on SchemaRegistry (registry.ts:2937). It has public equivalents: getStorageObject (registry.ts ~2918, which keeps the field; measured) minus getObject (which drops it), and getObjectContributors plus isPackageDisabled (measured: the contributor list keeps P's extend entry after the disable). packages/runtime/src/domains/packages.ts:1253-1295 (readDisableDependentRules) already recomputes the same withheld set to refuse a disable that would orphan a validation rule (409 PACKAGE_DISABLE_RESTRICTED_BY_VALIDATION_RULE, #30379 ruling A). So the registry can tell 'contributed by a disabled package' apart from 'typo / unknown'. Neither the served /meta/object body nor the door's error carries that distinction today.", "query_building_path": [ "ListView $select: ui/packages/plugin-list/src/ListView.tsx:3818-3851 projects every authored column (columnIdentity). It drops only draft-only names (_draftOnly marker, 3838-3841) and FLS-denied names (3842-3844). perms.checkField answers allowRead for an undeclared field once the object row grants read (ui/packages/permissions/src/MePermissionsProvider.tsx:449-477), so crm_project is sent. Only the speculative view bindings go through the known-field gate (knownObjectFields, 3866-3878; addSpeculative 3909-3917).", "ListView $orderby: serverSort (ListView.tsx:2383-2393) keeps only entries the served sortability projection marks sortable:true (ui/packages/core/src/utils/column-sortability.ts:201-227). An unknown name has no entry, so it is dropped WHEN the signal is served, and passed unchanged when not. Per the objectstack#30024 note at 2364-2381, the persist boundary (emitSortChange) drops the refused entry from the NEXT view write. Under a disable that permanently loses the crm_project sort on the next unrelated save, so re-enable would not bring it back. Not measured end-to-end.", "ListView $filter / $searchFields: draft-only names are dropped (omitDraftOnlyFilterFields 1900-1925; searchFieldsSent 2256-2261). Every other name, crm_project included, is sent as authored.", "ListView grouping: grouping and groupBy/groupBy2 names (2567-2640) go into $select through the speculative known-field gate. The groupBy request itself is not gated.", "plugin-grid $select: ui/packages/plugin-grid/src/objectGridRowLoad.ts:276-291 passesProjectionGate returns true for any undeclared name. Every HARVESTED route (predicates, grouping, row colour, deadline, referenceVia, dependsOn, currency, name field, 302-500) is gated by isProjectableField (ui/packages/core/src/utils/predicate-fields.ts:75-81, platform column or declared). The draft-only drop runs last (209-211, 543-547).", "Why the undeclared pass-through exists (objectGridRowLoad.ts:253-262; pinned by ui/packages/plugin-grid/src/__tests__/projectionFls-6898.test.tsx:192-200, 'leaves an UNDECLARED (derived / host-joined) key in the projection'): it is an FLS-gate argument. checkField fails closed for a name no policy mentions, so judging undeclared names through FLS would strip a host's derived or joined column out of its own query. Against the ObjectStack door, though, an undeclared plain column in $select is ALWAYS refused 400 (assertProjectionFieldsExist, #7532), and the probe confirms it. So the pass-through protects only non-ObjectStack data sources and inline/value providers. Dropping undeclared names there would turn PIN 4 red, and would change objectui behaviour for those hosts.", "plugin-grid grouping: ui/packages/plugin-grid/src/objectGridGroupingDecisions.ts:88-117 refuses only masked or _draftOnly-marked grouping keys. An unmarked unknown key groups and is refused at the door." ], "options": [ { "id": "A1", "name": "Client drops every name the served object does not declare (no marker)", "surface": "ui/packages/plugin-list/src/ListView.tsx ($select cols, $filter, $searchFields, groupBy legs); ui/packages/plugin-grid/src/objectGridRowLoad.ts (columns through isProjectableField); ui/packages/plugin-grid/src/objectGridGroupingDecisions.ts; tests beside each", "accepted_reads_writes": "unchanged at the door; the client sends less. Clause-②: no. Metadata-protocol: none.", "costs": "Contradicts plugin-grid PIN 4 (projectionFls-6898 'undeclared key stays in projection'), which needs a ruling or a carve-out for non-ObjectStack sources. Silently hides EVERY runtime unknown: disables, deleted fields and renamed fields alike. Typos are caught earlier by lint list-view-field-unknown, but the console cannot say why a column vanished. Other consumers (RelatedList, kanban, calendar, dashboards) each need the same edit.", "reenable_free": true }, { "id": "A2", "name": "Server marks withheld-by-disabled-package names on the served object; console drops them on every query axis (the _draftOnly pattern)", "surface": "packages/objectql/src/registry-object-registration.ts (foldObjectExtendersOnto ~1463-1480 already holds `withheld`; stamp an underscore-private, never-authorable marker on the served body, or expose a public getWithheldFields); packages/metadata-protocol/src/protocol-object-extender-fold.ts (served face only; never the authoring/editor face, so it is never written back); ui/packages/plugin-list/src/ListView.tsx and ui/packages/plugin-grid/src/objectGridRowLoad.ts plus objectGridGroupingDecisions.ts (read it beside readDraftOnlyFieldNames / isDraftOnlyField; hide the column or draw it with a note naming the switched-off package); tests beside each; root .changeset", "accepted_reads_writes": "door unchanged; no accepted read or write narrows or widens. The served /meta/object body gains one underscore-private key (precedents: _packageId, _provenance). Clause-②: no. Metadata-protocol: none. L2: likely owed, because the served object read shape is a contract face.", "costs": "Spans two domains (objectql/metadata-protocol plus ui), so it is bigger than S/M. Marker design to settle: a separate name list versus per-field stubs (the _draftOnly readers read per-field stubs, but stubs would put withheld fields back in front of forms, pickers and AI readers). The marker must stay off every write-back path (Studio editor, personalization PUT). Dashboards and related lists get the fix only where they adopt the reader. Typos stay loud 400.", "reenable_free": true }, { "id": "B", "name": "Server strips withheld refs from the served view (columns, sort, filter, grouping)", "surface": "packages/metadata-protocol/src/protocol-meta-item-face.ts (by-name), protocol-meta-list-reads.ts (list), and the layered/published faces; packages/objectql/src/registry-object-registration.ts withoutWithheldMembers / foldObjectExtendersOnto for an object's embedded listViews; the bundle (meta-app-bundle-routes.ts) inherits", "accepted_reads_writes": "door unchanged. The served view body is narrowed, which is a semantic change to a served read and needs ruling attention. Clause-②: no for data.", "costs": "Every consumer that writes the served body back (the console personalization PUT; per normalizeViewMetadata's docblock it 'sends only the raw view config'; the Studio view editor) would PERSIST the stripped column, so Done-when (re-enable returns the column) breaks after the first save, unless an authoring-face carve-out is added. Does not cover user-applied sorts and filters held client-side, nor dashboards or pages. Several read faces must agree.", "reenable_free": "only until someone saves the view" }, { "id": "C", "name": "Door answers a withheld field empty instead of 400", "surface": "packages/metadata-protocol/src/protocol-query-validation.ts (resolveQueryFields 340-358 / assertProjectionFieldsExist 756-777 and the sort/filter/groupBy/searchFields gates), using the registry's withheld set so typos stay refused", "accepted_reads_writes": "WIDENS accepted reads. Clause-②: yes (widening), plus L2 contract review. Cuts against the nearest analogue, ruling 6946403206 ('Data contract unchanged ... No server change, no new query flag').", "costs": "Only select has a safe empty answer. An ignored filter returns a WIDER row set, an ignored sort gives an arbitrary page order and an ignored groupBy gives one null bucket. Those are exactly the silent answers #4226/#7532 and AGENTS.md route rule 5 refuse, so the other axes would still need client handling. Every door caller sees the change: export, SDK, MCP/AI tools.", "reenable_free": true }, { "id": "D", "name": "(precedent only) Refuse the disable while an enabled package's view names a withheld field", "surface": "packages/runtime/src/domains/packages.ts beside readDisableDependentRules (1253-1295)", "accepted_reads_writes": "narrows a write (the disable door). Clause-②: yes (narrowing), BREAKING.", "costs": "Contradicts the card's Done-when (the list opens with P disabled) and the HotCRM suite model, where modules are toggled in settings (ADR-0141 addendum, #25805 ruling D / #28117 ruling A). Named only because #30379 ruling A chose it for validation rules.", "reenable_free": "n/a" } ], "recommendation": "A2. It keeps the data door and Q's view metadata byte-unchanged (Clause-② no, Metadata-protocol none), so re-enable restores the column with no view edit. Typos and other genuine unknowns stay a loud 400. It reuses the pattern ruling 6946403206 accepted for draft-only fields: the server's truth arrives as a served marker and the client leaves the name out of every request. If the seat wants a ui-only cut, A1 is cheaper but needs a ruling on plugin-grid PIN 4 and hides all drift silently. Whichever is picked, the ListView sort persist boundary (objectstack#30024) must not drop a withheld entry from the stored view, or the sort half of Done-when fails.", "tests": "Scratch probe only (deleted): pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/zz-probe-34901.test.ts under os-verify-lock, VERDICT command-exit 0, Test Files 1 passed (1), Tests 1 passed (1), output quoted in reproduced_400. Built first under the lock: pnpm --workspace-concurrency=2 --filter '@objectstack/objectql^...' build with OS_SKIP_DTS=1 (the last part of a two-part command line, so batch-last-exit 0 is the build's exit; JS only, because the probe reads dist JS). Two earlier probe runs failed on harness setup (NamespaceConflictError; sys_metadata absent) and were fixed before the passing run. No ablation: nothing was changed.", "gates": "none run: reading round, no diff (git -C worktree status --porcelain empty after the probe was deleted).", "dogfood_battery": "n/a: no PR", "mcp_calls": "4: mcp__github__issue_read x3 (34901 get, 34901 get_comments, 34807 get_comments), ToolSearch loads excluded; no MCP write tool used", "api_writes": "1: this os-dev-report comment on #34901 via scripts/pm/post-stamped.mjs (POST issues/34901/comments through the relay)", "deviations": "os-dev.md rule 1 says to push the empty branch before any edit. The dispatch order says to push nothing this round, and I followed the order (conflict noted, no branch on origin). Worktree /home/claude/objectstack-issue-34901 is left in place, clean, for the next round's code. Prior rulings: scripts/pm/check-prior-rulings.mjs --card 34901 found ADR-0061 D2, ADR-0139 D4 and ADR-0146 D10; none of them rules on view refs over withheld fields; thread rulings: none.", "open_questions": [ { "question": "Which seam drops a view's column, sort, filter and group refs that name a field a disabled package withholds?", "options": [ "A2: server marks withheld names on the served object read; console drops them on every query axis (two domains, Clause-② no, L2 likely on the served read shape)", "A1: console drops every name the served object does not declare (ui only, Clause-② no, needs a ruling on plugin-grid PIN 4, hides all drift)", "B: server strips withheld refs from served views (persist hazard breaks re-enable after any save)", "C: door answers withheld names empty (Clause-② yes (widening), only select is safe, cuts against ruling 6946403206)" ], "recommendation": "A2, because it is the only option that keeps the door and the view metadata unchanged, keeps typos loud, and gives re-enable for free on every axis." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: #34901 · noted, not filed. The ListView sort persist boundary (objectstack#30024 emitSortChange, ListView.tsx:2364-2381) drops a refused sort entry from the next view write. Under a disable this would permanently lose a withheld sort, so it belongs to this card's Done-when.", "carrier: #34901 · noted, not measured. Whether the runtime view save door (list-view-field-unknown, runtimeTypes view/object) refuses re-saving Q's view while P is disabled, because it judges against the served objects. If it does, Q's admin cannot edit that view at all during the disable. Dedupe words: view save disabled package extension field, list-view-field-unknown withheld, disable orphan view column." ] }objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
Seat ruling on route · 2026-11-17T19:09Z
From area o3-A's measurement (report 6958031017, main cb7d514): with package P disabled, Q's view keeps a column on P's contributed field and every query axis is refused (select via
assertProjectionFieldsExist, filter / groupBy / searchFieldsINVALID_FIELD, orderByINVALID_SORT).Route A2. The server stamps the withheld field names on the served object read with an underscore-private marker (fed from
withholdDisabledExtensions), and the console drops those names on every query axis, as #34807 / #34898 do for draft-only fields. The data door and the stored view stay unchanged: a typo stays a 400, and re-enabling P restores the column with no write. Rejected: A1 (silently hides all drift and needs a PIN 4 reversal), B (the personalization PUT and Studio would persist the strip, breaking re-enable), C (a widening that cuts against ruling 6946403206).Conditions:
sortthe platform's sortability projection refuses is still sent to the server on fetch (ListView L3186), so the list 400s instead of dropping it; client-side sorting still offers asortable: falseheader #30024) must not drop a withheld sort: pin that a save while P is disabled keeps the sort and the column.Clause-②: no. The served object shape is a contract face, so declare the marker as underscore-private (not authorable) and the seat runs an L2 after L1-d.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
Claim: PM loop round 1 · area o3-A · 2026-11-17T19:18Z · restated after seat ruling 6958114040 (route A2, large card) and the seat's Clause-② confirmation (19:17Z). It supersedes the provisional lines of 6957448999.
Session:
session_01WGufzg2evNa1V3zxrQq3KXAccount:
os-support-aiBranch:
claude/issue-34901-disabled-package-view-columnWorktree:
objectstack-issue-34901Domain:
domain:server(with console readers)Seat:
repo:objectstack#3File surface (measured, 6958031017 plus the pre-code step):
packages/objectql/src/registry-top-level.ts:ObjectExtensionFoldOptions.includeDisabledExtensions.packages/objectql/src/registry-object-registration.ts: honour that option inwithholdDisabledExtensions, and add the withheld-field reader.packages/objectql/src/registry.ts: publicgetWithheldExtensionFields.packages/metadata-protocol/src/protocol-meta-item-face.tsandprotocol-meta-list-reads.ts: stamp_withheldFieldson served-face object reads only.packages/metadata-protocol/src/protocol-authoring-gate.tsandprotocol-object-extender-fold.ts: view writes judge against the storage fold.packages/spec/src/kernel/metadata-read-decorations.ts: one member, plus generated artefacts ifcheck:generatednames them.ui/packages/core/src/utils/withheld-fields.ts(new) and its index export.ui/packages/plugin-list/src/ListView.tsx: request legs, column derivation, note, and theemitSortChangepersist boundary.ui/packages/plugin-grid/src/objectGridRowLoad.ts,objectGridGroupingDecisions.ts, andobjectGridGenerateColumns.tsx(confirm in code first).ui/packages/i18n/src/locales/*.tsandobjectGridTranslations.ts..changeset/.Container & model:
L,mode:subagent,model: TIER_DEFAULT build,effort: high; review: L1-d, then seat fable L2 (save door, fold option, spec member)Clause-②: yes (widening: the view save door accepts withheld names; one spec read-decoration member; two locale keys)
Metadata-protocol: none — by the shard measurement no authorable surface moves (
_withheldFieldsis an underscore-private served read decoration, stripped on write); restated if the measurement says otherwiseResponsibility:
views over package-contributed fields (objectstack): with the contributing package disabled the field leaves the served object but the owner's views keep naming it, so every query axis is refused 400 and the whole list fails, and the view save door refuses re-saving the view (422) | no served read tells the console which names a disabled package withholds | every app whose views name a field an optional package contributes, with that package disabled (HotCRM Expenses, Order to Cash; HotCRM's next release waits on it)Thread-read: 6958114040
Premise: holds (6958031017, on origin/main cb7d514). Every axis is refused with P disabled (select, filter, groupBy and searchFields answer INVALID_FIELD; orderBy answers INVALID_SORT), and re-enabling P answers 200. The view save door returns 422 with P disabled and succeeds with P enabled (the pre-code probe).
withholdDisabledExtensionsexists server-side but is not served.Serial constraints cleared:
#34925 (draft, a timesheet list view) also edits ui/packages/plugin-list/src/ListView.tsx; overlap-check on every push and a merge-tree check before landing. No other open PR touches the listed files.Pre-claim lane:
domain:server+ console readers. A large card, kept in area o3-A by seat ruling 6958114040.Pre-claim deps: none (#34936 and #34944, the draft-only seam this card mirrors, are on main)
Prior rulings read: 6958114040 (A2 and its conditions); #34807 ruling 6946403206 (data contract unchanged, client falls back); #30379 ruling A (disable refusal for validation rules; not chosen here); check-prior-rulings gave ADR-0061 D2, ADR-0139 D4 and ADR-0146 D10, none of which rules on view refs over withheld fields.
Conditions (seat):
sortthe platform's sortability projection refuses is still sent to the server on fetch (ListView L3186), so the list 400s instead of dropping it; client-side sorting still offers asortable: falseheader #30024 sort persist boundary keeps a withheld sort and column._withheldFields.check-governed-mergesat PR time; spec src may make this Tier H.Out of scope (named in the PR body): embedded
listViewson object writes, and dashboards or reports that name a withheld field.Lease
o3-A(seat post #34584). L1: L1-d, then seat L2.fix(objectql,metadata-protocol,console): a view column on a field a d…
test(objectql,metadata-protocol,console): pin the withheld-field mark…
12 remaining items
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
Re-held for landing · 2026-11-18T03:23Z · area o3-A. The seat ruled at 03:23Z that #34979 counts as finishing, because it is in hand and fully reviewed. o3-A lands it once CI is green. The card goes back to
pm:dispatched/lease:o3-Auntil the merge. The hand-off 6968018697 still holds if this area stops before then.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
Takeover · #34901 · PR #34979 · 2026-11-18T03:49Z
Release: claim 6957448999 as restated in 6958346903 (session
session_01WGufzg2evNa1V3zxrQq3KX, account os-support-ai), handed over, not abandoned. Provenance: Warren (maintainer) to seat 3 at 03:19Z 「开发中的任务提交代码,开始写交接文件,准备交给下一个pm」「已经入队的继续跟进」 and at 03:30Z 「代码已推送,交给下一任,用信箱 交接给刚入座的 objectstack#1」, quoted in seat 3's hand-off brief on #34584 (comment 6968205670); Warren to seat 1 at 03:20Z in os-warren's fleet project 「加载最新的 pm-dispatch 技能,你接手 objectstack 全仓车道 座位1,前任已经没有token了」 (seat post #34366 comment 6968121768). Assignee os-support-ai → os-warren andlease:o3-A→lease:o1-Din this stroke.Claim: PM loop round 1 (area o1-D, repo:objectstack#1; takeover of open PR #34979 to follow it to MERGED and close the card out)
Session:
session_01JQwxbaX2qDxUq9sF93EqqLAccount:
os-warrenBranch:
claude/issue-34901-disabled-package-view-column(continued; no force-push)Domain:
domain:serverSeat:
repo:objectstack#1File surface: unchanged, the PR's files at
69afbe1607ce7f3bc7ab1af1c49e0440868d0fbaContainer & model: no dev dispatched by this claim (landing follow-up only),
effort: highClause-②: yes (widening: the view save door accepts withheld names; one spec read-decoration member; one locale key; one optional security-service member, add-only)
Metadata-protocol: none
Thread-read: 6968057969
Premise: holds — the PR at
69afbe1607ce7f3bc7ab1af1c49e0440868d0fbacarries the reviews named in the hand-offPre-claim lane: the PR's paths — whole-repo lane
Pre-claim deps: none named on the card
Prior rulings read: seat rulings 6958114040 (route A2) and the M1 route A amendments 6962249483, 6964496069, 6966852329; landing 6968135369
Serial constraints cleared: none (no code change under this claim)
Resume-from:
claude/issue-34901-disabled-package-view-column@69afbe1607ce7f3bc7ab1af1c49e0440868d0fbaHand-over record: last pushed sha
69afbe1607ce7f3bc7ab1af1c49e0440868d0fba. In the merge queue since 03:29Z (landing 6968135369, hand-off 6968018697).Closes #34901closes the card on merge; this seat then stripspm:dispatchedandlease:o1-D.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
Close-out · #34901 · 2026-11-18T04:05Z
2487242c2ea63651ac9593fad84d0bd397f8b0bfcompletedbyCloses #34901Delivered: route A2 under the seat ruling (restated claim 6958346903) with the M1 route A amendments; a view column on a field contributed by a disabled package no longer fails the whole list. Remaining work is already on its own cards with triage: #35009 (embedded listViews), #35010 (dashboards/reports), #34989 (non-grid view bindings), #35011 (standalone grid
$filter), #35088 (ADR-0106 amendment note, nits N7 and N9 of 6967274835).pm:dispatchedandlease:o1-Dcome off and the assignee is cleared in this stroke.