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
protocol: a refused field removal or type change names the views, forms and dashboard cards that still show the field #35147
Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed on the maintainer's word in this session's chat, 2026-11-18, verbatim: 「你要评估,云端哪些要迁移到开源项目,相关卡片要么关闭要么等待」, after 「开源项目能做的尽量在开源项目做,云端等开源项目完全优化好再开工」. Source of the inventory: a reading of the hosted tree at cloud main 0aabf9aa against this repository's main b1eb500d, 2026-11-18. The open repository's agents cannot read the hosted tree, so what each item does is written here.
Why
"This change loses data" is half of what the person confirming needs. The other half is what breaks on screen: the list that shows the column, the form that edits it, the card that sums it. The open write face names the lost data only.
Who acts: the server lane (packages/metadata-protocol). Reader: a person in Studio, and an AI client, deciding whether to confirm.
Evidence
packages/metadata-protocol/src/protocol-write-face.ts:230 reports field_removed and field_type_change. Nothing lists where the field is still shown.
The hosted build door adds that list for its own tools, and has an open request to also name views whose filters stop fitting after a type change.
Scope
The DESTRUCTIVE_CHANGE answer gains stillShownBy: the views, forms, dashboards and flows that reference the field, computed from the stored metadata. For a type change, also the view filters whose operator no longer fits the new type.
One place judges which operator fits which field type, exported, so no door keeps its own table.
Done when
Removing a field shown by a list view and a form names both in the refusal, on REST and on the MCP draft door.
First touch: p2 · domain:server · pm:queue. It is a new capability inside epic #34659, filed on the maintainer's 「开源项目能做的尽量在开源项目做,云端等开源项目完全优化好再开工」 (cloud#4842 comment 6971980045). Grading principle of 2026-11-18, item 5: new capability, p2, the grade its in-flight siblings carry; the grade of the epic's children is with the maintainer.
packages/metadata-protocol/src/protocol-write-face.ts and a new sibling module for the still-shown-by reader and the operator-fit table.
packages/spec/src/api/protocol.zod.ts: the DESTRUCTIVE_CHANGE answer's shape gains stillShownBy. Plus the exported operator-fit table's home in packages/spec, if that is where field-type and operator vocabulary lives. Plus the generated references.
The REST and MCP draft doors only where they reshape the refusal rather than pass it through (packages/rest/src/**, packages/mcp/src/**).
{
"issue": 35147,
"status": "done",
"branch": "claude/issue-35147-destructive-still-shown-by",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35239",
"session": "session_01JQwxbXGvw43spR79ztEvWt",
"premise_still_valid": true,
"summary": "saveMetaItem's 409 DESTRUCTIVE_CHANGE refusal of an object save now attaches stillShownBy to every field_removed and field_type_change finding in err.issues, and appends the same items to the finding's message. Removal is judged as in cloud field-shown-by.ts: os validate's checks (validateReferenceIntegrity, validateFormLayout, validateWidgetBindings) run with the field and without it, and the added findings are diffed, with widgets named via a dataset. A type change names the list-view filter rules whose operator the new type no longer fits, through a new single judgement, filterOperatorFieldTypeFit / FILTER_OPERATOR_FIELD_TYPE_FIT in @objectstack/spec/data. Its one row references the text-operator declared-type door's exports and re-lists nothing. The answer's shape is DestructiveChangeIssueSchema / FieldStillShownBySchema in @objectstack/spec/api, and their describe states what is computed and what is not seen. Every door relays issues verbatim (REST top-level issues, dispatcher details.issues, MCP save_metadata_draft issues), so no door changed. SURFACE BREACH, declared: the 409 is thrown in protocol-save.ts, not protocol-write-face.ts (the claim's premise was off), so a 10-line wiring landed there. One withStillShownBy call and getMetaItems were added to the host Pick. Also edited outside the listed surface, as consequences: two existing exact-issues assertions (protocol.destructive-gate-reachable-types.test.ts; the dogfood meta-object-unstored-field-removal.dogfood.test.ts) now expect stillShownBy: []; scripts/engine-double-contract.pinned.json (--write for the new double); dollarFilterOperatorOf exported from filter.zod.ts; the generated strictness-ledger counts docs/audits/...counts/api.md. protocol-write-face.ts itself is untouched. AUTHORABLE SURFACE MOVED: packages/spec/authorable-surface/api.json gained 9 rows for the two new response schemas, so the Metadata-protocol line must become added and the seat amends. Check Changeset is red on exactly that ('Moved: packages/spec/authorable-surface/api.json'), and I left both the PR body and the changeset as dispatched.",
"tests": "HEAD 166fc78c82. metadata-protocol full suite under the lock: Test Files 355 passed | 9 skipped (364), Tests 23172 passed | 45 skipped, exit 0. Typecheck exit 0. spec targeted (type-alias-convention.pin, filter-operator-field-type-fit, filter-view-operator-parity, filter-text-operator-declared-type): 4 files, 68 tests passed, exit 0. Typecheck exit 0. Earlier full spec suite, run before the parsed-alias commit: 854 files, 27341 tests passed. New pins: protocol.destructive-still-shown-by.test.ts (6) and filter-operator-field-type-fit.test.ts (6). Red leg: protocol-save.ts restored from base ec227fc7b1 gave 5 failed / 1 passed of 6 (the read-bound case passes vacuously with no reads). Restored via git checkout HEAD with a blob-hash match: 6/6. Ablation (dist-resolved, spec rebuilt both legs): verdict === 'door-refusal' was changed to 'ABLATED_35147' through scripts/ablation-replace.mjs. ablation-dist-preflight found the marker in 2 built files, and the pin went 1 failed / 5 passed (the type-change case). Restore: blob matched HEAD, spec rebuilt, preflight --absent found 0 of 608 files, 6/6, whole-tree git status clean. The dogfood file edit was not run locally and is declared to CI (Dogfood Regression Gate is skipped on this PR).",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands at 166fc78c82 derived 124 families. All 124 ran, each exit captured before any pipe: 124 :: exit 0, including check:skill-examples, check:dual-build-cjs-loads and check:lean-entry-closure, which round 1 had read as PREREQUISITE exit 3. The --ran verdict: '124 derived famil(ies) accounted for — 124 run, 0 NOT-MEASURED (a DERIVED zero)', exit 0. Fixed on the way: engine-double-contract (--write), error-code-casing (adr0112-ok on the finding-code compares), objectql-double-limit (the double honours limit), spec-parsed-alias (z.input bare plus *Parsed aliases), and check:generated --fix regenerations. PR #35239 check-runs at 166fc78c82: 58 success (incl. TypeScript Type Check, Lint & Repo Gates, Test UI shards), 10 skipped (incl. Dogfood Regression Gate, Lint UI), Test Core in_progress, Check Changeset FAILURE on 'Moved: packages/spec/authorable-surface/api.json': expected, and the seat amends the Metadata-protocol line to added and the bump kind. Overlap-check at 166fc78c82 vs main 9e65474ad3: main merges clean. It conflicts with PR #35240 on generated files only (content/docs/references/api/protocol.mdx, content/docs/references/index.mdx, the strictness-ledger api.md); protocol.zod.ts merges clean. The branch queues behind #35240, then re-merges and regenerates. Main has since moved to f2078e3674 and was not merged into the branch.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 kinds — git push x7 (empty-branch probe plus commits, not REST); pr_create once via fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls draft, POST .../issues/35239/assignees); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments)",
"open_questions": [
{ "question": "Accept the out-of-surface wiring in packages/metadata-protocol/src/protocol-save.ts (10 insertions, 2 deletions), where the 409 is actually thrown?", "options": ["A accept and amend the claim's file surface to name protocol-save.ts", "B move the throw site into protocol-write-face.ts first, as a separate refactor card"], "recommendation": "A, because the claim named the wrong file. Moving the throw is a refactor outside this card, and the wiring is one call." }
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in PR Acceptance notes, not filed — ui/packages/components filter-builder.tsx operatorsForFieldType is a second operator-by-type table (a dropdown offer, not a refusal judge); pointing it at filterOperatorFieldTypeFit is a ui/ change",
"carrier: none · noted, not filed — a type change that leaves a stored filter comparand unreadable (comparand doors) is not judged by stillShownBy; stated in the describe"
]
}
File surface: widened. Added packages/metadata-protocol/src/protocol-save.ts (Q1), because the 409 is thrown there, not in protocol-write-face.ts; the claim's premise named the wrong file. The dev also declared these consequences, and they are accepted:
dollarFilterOperatorOf exported from packages/spec/src/data/filter.zod.ts, plus the new filterOperatorFieldTypeFit / FILTER_OPERATOR_FIELD_TYPE_FIT in @objectstack/spec/data.
Two exact-issues assertions now expect stillShownBy: []: protocol.destructive-gate-reachable-types.test.ts and meta-object-unstored-field-removal.dogfood.test.ts.
scripts/engine-double-contract.pinned.json.
The generated strictness-ledger counts.
Clause-②: yes (widening: the DESTRUCTIVE_CHANGE answer gains stillShownBy; a new exported operator-fit table)
Metadata-protocol: added
Skills-docs: none — no skill in skills/** teaches the 409 DESTRUCTIVE_CHANGE save refusal or its issues[]. The finding's own message now names the items, so a client relaying it says them without being taught.
Metadata-protocol moves from none to added, because packages/spec/authorable-surface/api.json gained 9 rows for DestructiveChangeIssueSchema and FieldStillShownBySchema. @objectstack/spec therefore goes to minor. Check Changeset is red on exactly this.
Seat answers to the report's two open questions (route within the card's goal; no product or contract choice):
Q1, the throw site: A. The 10-line wiring in protocol-save.ts is accepted. Moving the throw into protocol-write-face.ts would be a refactor outside this card.
Q2, the declaration: A, with one adjustment. The seat amends the claim and patches the PR body. The changeset is a file in the diff, so a short dev round changes it: '@objectstack/spec': minor, the Metadata-protocol: added line, and the Skills-docs: line above.
Next: the changeset round, then L1 (L1-a), then contract review at CONTRACT_REVIEW_TIER, then landing. Overlap: PR #35240 conflicts on generated files only. Whichever lands second re-merges and regenerates.
{
"issue": 35147,
"status": "done",
"branch": "claude/issue-35147-destructive-still-shown-by",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35239",
"session": "session_01JQwxbXGvw43spR79ztEvWt",
"premise_still_valid": true,
"summary": "Changeset round per seat amendment 6987803352. 8ee295be69 (pushed) changes only .changeset/35147-destructive-still-shown-by.md: '@objectstack/spec' goes patch to minor, Metadata-protocol: none becomes added, and the Skills-docs line follows it, copied verbatim from the amendment. '@objectstack/metadata-protocol' stays patch, and no gate asked for more. The coordinator's relay of the Skills-docs line differed from the amendment (no backticks, a shorter second sentence); I used the amendment's text, as the order said. Main was not merged: #35240 is still open. The new PR body is prepared, not sent: /tmp/claude-0/-home-user/b11739e1-eab8-5d85-993a-eb8b46e46d78/scratchpad/issue-35147/pr-update-r2.json is a single issue_patch on #35239. It changes three things: the three declaration lines (Clause-②, Metadata-protocol: added, Skills-docs), the protocol-save.ts surface note in Acceptance notes citing the amendment, and the authorable-surface note explaining the minor grade. The relay refuses an unsigned issue_patch, so the body ends with the PR_BODY_TRAILER_SHAPE trailer (signed: repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt) after the existing footer. Its fleet-write --dry-run exited 0 and sent nothing. Check Changeset on the PR stays red until that body lands, because CI reads the declaration from the live PR body, which still says none. Local runs of the checker: the new body exits 0, and the old body as a control exits 1 with the same 'Moved: packages/spec/authorable-surface/api.json' error CI shows.",
"tests": "No source or test changed this round (git diff --stat 166fc78c82..8ee295be69: 1 file, the changeset). Package tests stand at the round-1 readings at 166fc78c82: metadata-protocol 355 files / 23172 tests passed, exit 0; spec targeted 68 passed, exit 0. Typechecks exit 0. CI at 166fc78c82: Test Core and all 10 shards success, TypeScript Type Check success.",
"gates": "At 8ee295be69, base ec227fc7b1. Check Changeset locally: check-changeset-no-major --self-test exit 0 (456 assertions). check-changeset-no-major --base BASE --event new-body exit 0, which printed: 'LEVEL AXIS: this PR declares clause-② yes (widening) and metadata-protocol added, and it grades a package ... at minor or above'. The same with --event old-body as the control: exit 1. check-empty-changeset --self-test 0, --base 0. check-adr-0087-registration --self-test 0, --base 0. dispatch-gates --commands .changeset/35147-destructive-still-shown-by.md derived 21 families; all 21 :: exit 0, including check:changeset-gate-self-tests, check:published-files and check:nul-bytes. check:generated: NOT MEASURED at 8ee295be69, reason: three lock attempts all ended in queue-timeout (exit 99, about 27 min). The holders were a dogfood test (pid 5243) and then the #34776 worktree's whole-repo turbo build (pid 13688). check:generated reads spec dist, which needs the locked build. I declare the narrowing: the round's diff touches no input of check:generated, which was green at 166fc78c82 (round-2 124/124, CI Lint & Repo Gates success). CI runs it on the new head. overlap-check exit 1: main f2078e3674 merges clean; #35244, #35224 and #34999 merge clean. #35240 conflicts on the generated files only, as already recorded; whichever lands second re-merges and regenerates. PR check-runs at 8ee295be69 at reading time: 41 success, 16 in_progress, 10 skipped, and Check Changeset failure on the old live body as explained.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 this round — git push x1 (8ee295be69, not REST); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments). The PR body issue_patch is prepared for the seat and was not sent (dry-run only).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "A command chain failed on a bad rev-parse, and the trailing pnpm install --frozen-lockfile ran once in the shared checkout /home/user/objectstack instead of the worktree. git status there is clean; the frozen lockfile touched node_modules only. The trailer on the prepared PR body is required by the relay for issue_patch, and the order did not name it."
}
{
"issue": 35147,
"status": "done",
"branch": "claude/issue-35147-destructive-still-shown-by",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35239",
"session": "session_01JQwxbXGvw43spR79ztEvWt",
"premise_still_valid": true,
"summary": "Fix round for contract review 6989169773 plus the L1 lint-entry note. Pushed head is 92307330a4: commits 1b46817fa4, abe7996ad3 and d439001c9f, the merge be571b4077 of origin/main b02484e13a (#35240 had landed), and the regenerated artifacts in 92307330a4. S1 was measured first: a stored { list, listViews, form } container comes back from getMetaItems('view') only as expanded view items (viewKind plus config). The container itself is not served, because protocol-meta-list-reads.ts filters it out. The type-change walker now reads the item root and config, plus the userFilters.tabs[].filter of each. That judges the tab filter at no extra read (ListViewSchema admits tabs on a view item config). The unreachable list / listViews.* rungs and the isContainer fallback are removed. The stillShownBy, where and name describes and the changeset now give the served paths (config.columns[1], columns[1], widgets[3]). They also state (root), that one item can appear in more than one entry, the absent cases (unreadable listing, a judge that throws or cannot load, a retyped field with no readable type), and that a filter another door refuses (formula) is not named (N2; N6 folded in because the S1 edit touched those lines). N1: withStillShownBy is caught at its call site in protocol-save.ts, so a throw leaves stillShownBy absent and the 409 still throws. L1: the lint root is loaded with a dynamic import, only for field_removed, and a failed load leaves the key absent. @objectstack/lint/runtime does not export the three judges, and adding them would edit packages/lint/src/**, the sibling claim's surface; the module header says so. N7 and N8 are taken; N3 to N5 were left as recorded. The PR body is prepared and was not sent: /tmp/claude-0/-home-user/b11739e1-eab8-5d85-993a-eb8b46e46d78/scratchpad/issue-35147/pr-update-r3.json, a single issue_patch on #35239 that ends with the signed trailer. Its dry-run exited 0.",
"tests": "Merged head 92307330a4, all under the lock. metadata-protocol full suite: Test Files 356 passed | 9 skipped, Tests 23180 passed | 45 skipped, VERDICT command-exit 0. Typecheck exit 0. rest: meta-destructive-still-shown-by-flat-issues.test.ts 1/1 passed; typecheck green. spec: filter-operator-field-type-fit and filter-view-operator-parity 42/42 passed; typecheck green. New pins: protocol.destructive-still-shown-by.test.ts now has 12 cases: served view item config positions on both halves including a userFilters tab filter; via through a dataset and dashboard; absent versus [] with the dashboard listing failing at the served-read seam; the 409 standing when naming throws; every produced finding passing DestructiveChangeIssueSchema.safeParse; and a listing bound that is positive and equal for 1 and 6 view items. Also new: destructive-still-shown-by.lint-entry.test.ts (the static closure of protocol-save.ts holds no value import of the lint root; the detector is self-checked) and packages/rest meta-destructive-still-shown-by-flat-issues.test.ts (handleRouteError over the real producer gives a non-empty stillShownBy in the flat top-level issues). Red leg: destructive-still-shown-by.ts and protocol-save.ts were restored from 8ee295be69, and the pins went 4 failed / 10 passed of 14 (the two lint-entry cases, 409-on-throw, the tab filter); the 10 that passed pin unchanged behaviour. The restore used git checkout HEAD; hashes matched HEAD and git diff HEAD was empty. N1 ablation (source-resolved): ablation-replace put 'throw error;' into the call-site catch, the anchor went 1 to 0, and the pins went 1 failed / 11 passed (the 409-on-throw case); on restore the blob matched HEAD d5b5ad9a9a45. Dogfood: after building the dogfood closure, meta-object-unstored-field-removal.dogfood.test.ts ran under the lock at 1b46817fa4's implementation (pre-merge) with VERDICT command-exit 0, 1 file, 3 tests passed.",
"gates": "dispatch-gates --commands on this round's changed paths at 92307330a4 derived 122 families. All 122 :: exit 0, and --ran reports '122 run, 0 NOT-MEASURED (a DERIVED zero)'. Five of them (spec check:browser-reachable-entries, dual-source-exports, entry-nameability, exported-any, check:generated) first answered 3/1 while my closure build was rewriting spec dist in parallel ('PREREQUISITE NOT MET — there is no built output'). Rerun on the settled dist, all 0. The pre-merge run at d439001c9f (122 families) fixed three real reds: check:test-source-alias (reachable-types test now imports lint-root-preload.testkit), check:objectql-double-limit (the listing failure moved from the find double to a getMetaItems spy), and engine-double-contract (--write for the rest double). check:test-typecheck failed once without diagnostics and was green on rerun. overlap-check at 92307330a4: exit 0; main, #35244 and #34999 merge clean. CI on the new head had not reported at the time of writing.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm; the one dogfood file this PR edits was run (see tests)",
"mcp_calls": "0",
"api_writes": "2 this round — git push x1 (92307330a4, not REST); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments). The PR body issue_patch is prepared for the seat and was not sent (dry-run only).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "The dogfood file ran at the pre-merge implementation, not on the merged head. The merge brought no change to metadata-protocol's destructive path, and the full metadata-protocol suite was rerun on the merged head. One test batch was killed by my own timeout wrapper while queued (exit 124) and was rerun in full."
}
PR #35239 merged as cdb327fdf0, and its Fixes #35147 closed this card. The 409 DESTRUCTIVE_CHANGE refusal of an object save now gives each field_removed and field_type_change issue a stillShownBy list:
A removed field: the views, forms, datasets, dashboards, pages, flows, reports and objects that still reference it, at the served positions (config.columns[1], columns[1], widgets[3] through a dataset).
A type change: the view filters (the item's own, config.filter, and userFilters.tabs[].filter) whose operator no longer fits the new type, judged by the one exported FILTER_OPERATOR_FIELD_TYPE_FIT.
The finding's message names the same items. Every door relays the issues verbatim, so the REST, dispatcher and MCP draft doors all carry it. Removal judging is ported from the hosted build door; the cloud path and sha are in the PR body.
Records on 92307330: L1-a ACCEPT 6993039281, contract review delta PASS 6992416034 (closing S1 of 6989169773), landing 6993061965. Claim amendment 6987803352 records the protocol-save.ts wiring and Metadata-protocol: added.
Follow-up #35257 (describe and pin nits). cloud#4620 was waiting on this card.
This stroke removes the pm:dispatched state label.
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch: p2 ·
domain:server·pm:queue. It is a new capability inside epic #34659, filed on the maintainer's 「开源项目能做的尽量在开源项目做,云端等开源项目完全优化好再开工」 (cloud#4842 comment 6971980045). Grading principle of 2026-11-18, item 5: new capability, p2, the grade its in-flight siblings carry; the grade of the epic's children is with the maintainer.cloud#4620 waits on this card.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
Claim: PM loop round 1 · 2026-11-18T15:55Z
Session:
session_01JQwxbXGvw43spR79ztEvWtAccount:
os-warrenBranch:
claude/issue-35147-destructive-still-shown-byWorktree:
objectstack-issue-35147Domain:
domain:serverSeat:
repo:objectstack#1(areao1-A)File surface:
packages/metadata-protocol/src/protocol-write-face.tsand a new sibling module for the still-shown-by reader and the operator-fit table.packages/spec/src/api/protocol.zod.ts: theDESTRUCTIVE_CHANGEanswer's shape gainsstillShownBy. Plus the exported operator-fit table's home inpackages/spec, if that is where field-type and operator vocabulary lives. Plus the generated references.packages/rest/src/**,packages/mcp/src/**).Container & model:
M,mode:subagent,model: default (opus) — dispatch-gates --tier: no path-derived mandate, PM judgment,effort: highClause-②: yes (widening: the
DESTRUCTIVE_CHANGEanswer gainsstillShownBy; a new exported operator-fit table)Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 6972075942
Premise: holds.
protocol-write-face.ts:186and:213reportfield_removedandfield_type_change. Nothing inpackages/namesstillShownByor lists where the field is shown.Serial constraints cleared: fix(metadata-protocol)!: the read naming no bundle member addresses the canonical member alone, as ?member=en-US and /published do #34910 touches
packages/metadata-protocolread files, notprotocol-write-face.ts. The sibling claim lint: six publish-time checks for metadata that passes the schema and does nothing at run time #34776 + build probes: an empty dashboard card, a roll-up that never computed, and a flow step naming a connector action that does not resolve #35146 (o1-A) touchesprotocol.zod.tstoo, but only theRuntimeBuildIssuedescribes, a different block. An overlap check runs before each push.Pre-claim lane: seat 1 routed the card to o1-A at 15:52Z on Warren's 15:50Z 「你就处理这10张」 (seat post 6983704179). The card is under [Epic base] Shared by every way of building: publish-time checks, build probes, and the published skills' content #35160.
Pre-claim deps: no
Blocked-by:. cloud#4620 waits on this card.Prior rulings read: triage first touch 6972075942. Warren's 15:44Z order (via the seat) applies: port cloud's existing code the card needs, adapted to the framework's shapes. The PR body names the cloud source path and sha. Secrets, tenant data, hosted endpoints, hosted-only behaviour and private security material never move.
Contract review:
CONTRACT_REVIEW_TIER(a published spec answer is widened).objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
os-dev-report
{ "issue": 35147, "status": "done", "branch": "claude/issue-35147-destructive-still-shown-by", "pr": "https://github.com/objectstack-ai/objectstack/pull/35239", "session": "session_01JQwxbXGvw43spR79ztEvWt", "premise_still_valid": true, "summary": "saveMetaItem's 409 DESTRUCTIVE_CHANGE refusal of an object save now attaches stillShownBy to every field_removed and field_type_change finding in err.issues, and appends the same items to the finding's message. Removal is judged as in cloud field-shown-by.ts: os validate's checks (validateReferenceIntegrity, validateFormLayout, validateWidgetBindings) run with the field and without it, and the added findings are diffed, with widgets named via a dataset. A type change names the list-view filter rules whose operator the new type no longer fits, through a new single judgement, filterOperatorFieldTypeFit / FILTER_OPERATOR_FIELD_TYPE_FIT in @objectstack/spec/data. Its one row references the text-operator declared-type door's exports and re-lists nothing. The answer's shape is DestructiveChangeIssueSchema / FieldStillShownBySchema in @objectstack/spec/api, and their describe states what is computed and what is not seen. Every door relays issues verbatim (REST top-level issues, dispatcher details.issues, MCP save_metadata_draft issues), so no door changed. SURFACE BREACH, declared: the 409 is thrown in protocol-save.ts, not protocol-write-face.ts (the claim's premise was off), so a 10-line wiring landed there. One withStillShownBy call and getMetaItems were added to the host Pick. Also edited outside the listed surface, as consequences: two existing exact-issues assertions (protocol.destructive-gate-reachable-types.test.ts; the dogfood meta-object-unstored-field-removal.dogfood.test.ts) now expect stillShownBy: []; scripts/engine-double-contract.pinned.json (--write for the new double); dollarFilterOperatorOf exported from filter.zod.ts; the generated strictness-ledger counts docs/audits/...counts/api.md. protocol-write-face.ts itself is untouched. AUTHORABLE SURFACE MOVED: packages/spec/authorable-surface/api.json gained 9 rows for the two new response schemas, so the Metadata-protocol line must become added and the seat amends. Check Changeset is red on exactly that ('Moved: packages/spec/authorable-surface/api.json'), and I left both the PR body and the changeset as dispatched.", "tests": "HEAD 166fc78c82. metadata-protocol full suite under the lock: Test Files 355 passed | 9 skipped (364), Tests 23172 passed | 45 skipped, exit 0. Typecheck exit 0. spec targeted (type-alias-convention.pin, filter-operator-field-type-fit, filter-view-operator-parity, filter-text-operator-declared-type): 4 files, 68 tests passed, exit 0. Typecheck exit 0. Earlier full spec suite, run before the parsed-alias commit: 854 files, 27341 tests passed. New pins: protocol.destructive-still-shown-by.test.ts (6) and filter-operator-field-type-fit.test.ts (6). Red leg: protocol-save.ts restored from base ec227fc7b1 gave 5 failed / 1 passed of 6 (the read-bound case passes vacuously with no reads). Restored via git checkout HEAD with a blob-hash match: 6/6. Ablation (dist-resolved, spec rebuilt both legs): verdict === 'door-refusal' was changed to 'ABLATED_35147' through scripts/ablation-replace.mjs. ablation-dist-preflight found the marker in 2 built files, and the pin went 1 failed / 5 passed (the type-change case). Restore: blob matched HEAD, spec rebuilt, preflight --absent found 0 of 608 files, 6/6, whole-tree git status clean. The dogfood file edit was not run locally and is declared to CI (Dogfood Regression Gate is skipped on this PR).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands at 166fc78c82 derived 124 families. All 124 ran, each exit captured before any pipe: 124 :: exit 0, including check:skill-examples, check:dual-build-cjs-loads and check:lean-entry-closure, which round 1 had read as PREREQUISITE exit 3. The --ran verdict: '124 derived famil(ies) accounted for — 124 run, 0 NOT-MEASURED (a DERIVED zero)', exit 0. Fixed on the way: engine-double-contract (--write), error-code-casing (adr0112-ok on the finding-code compares), objectql-double-limit (the double honours limit), spec-parsed-alias (z.input bare plus *Parsed aliases), and check:generated --fix regenerations. PR #35239 check-runs at 166fc78c82: 58 success (incl. TypeScript Type Check, Lint & Repo Gates, Test UI shards), 10 skipped (incl. Dogfood Regression Gate, Lint UI), Test Core in_progress, Check Changeset FAILURE on 'Moved: packages/spec/authorable-surface/api.json': expected, and the seat amends the Metadata-protocol line to added and the bump kind. Overlap-check at 166fc78c82 vs main 9e65474ad3: main merges clean. It conflicts with PR #35240 on generated files only (content/docs/references/api/protocol.mdx, content/docs/references/index.mdx, the strictness-ledger api.md); protocol.zod.ts merges clean. The branch queues behind #35240, then re-merges and regenerates. Main has since moved to f2078e3674 and was not merged into the branch.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 kinds — git push x7 (empty-branch probe plus commits, not REST); pr_create once via fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls draft, POST .../issues/35239/assignees); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments)", "open_questions": [ { "question": "Accept the out-of-surface wiring in packages/metadata-protocol/src/protocol-save.ts (10 insertions, 2 deletions), where the 409 is actually thrown?", "options": ["A accept and amend the claim's file surface to name protocol-save.ts", "B move the throw site into protocol-write-face.ts first, as a separate refactor card"], "recommendation": "A, because the claim named the wrong file. Moving the throw is a refactor outside this card, and the wiring is one call." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in PR Acceptance notes, not filed — ui/packages/components filter-builder.tsx operatorsForFieldType is a second operator-by-type table (a dropdown offer, not a refusal judge); pointing it at filterOperatorFieldTypeFit is a ui/ change", "carrier: none · noted, not filed — a type change that leaves a stored filter comparand unreadable (comparand doors) is not judged by stillShownBy; stated in the describe" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
Claim amendment · 2026-11-18T18:29Z · PR #35239 at
166fc78c82(os-dev report 6987756263)File surface: widened. Added
packages/metadata-protocol/src/protocol-save.ts(Q1), because the 409 is thrown there, not inprotocol-write-face.ts; the claim's premise named the wrong file. The dev also declared these consequences, and they are accepted:dollarFilterOperatorOfexported frompackages/spec/src/data/filter.zod.ts, plus the newfilterOperatorFieldTypeFit/FILTER_OPERATOR_FIELD_TYPE_FITin@objectstack/spec/data.stillShownBy: []:protocol.destructive-gate-reachable-types.test.tsandmeta-object-unstored-field-removal.dogfood.test.ts.scripts/engine-double-contract.pinned.json.Clause-②: yes (widening: the DESTRUCTIVE_CHANGE answer gains stillShownBy; a new exported operator-fit table)
Metadata-protocol: added
Skills-docs: none — no skill in
skills/**teaches the409 DESTRUCTIVE_CHANGEsave refusal or itsissues[]. The finding's own message now names the items, so a client relaying it says them without being taught.Metadata-protocolmoves fromnonetoadded, becausepackages/spec/authorable-surface/api.jsongained 9 rows forDestructiveChangeIssueSchemaandFieldStillShownBySchema.@objectstack/spectherefore goes tominor.Check Changesetis red on exactly this.Seat answers to the report's two open questions (route within the card's goal; no product or contract choice):
protocol-save.tsis accepted. Moving the throw intoprotocol-write-face.tswould be a refactor outside this card.'@objectstack/spec': minor, theMetadata-protocol: addedline, and theSkills-docs:line above.Next: the changeset round, then L1 (L1-a), then contract review at
CONTRACT_REVIEW_TIER, then landing. Overlap: PR #35240 conflicts on generated files only. Whichever lands second re-merges and regenerates.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
os-dev-report
{ "issue": 35147, "status": "done", "branch": "claude/issue-35147-destructive-still-shown-by", "pr": "https://github.com/objectstack-ai/objectstack/pull/35239", "session": "session_01JQwxbXGvw43spR79ztEvWt", "premise_still_valid": true, "summary": "Changeset round per seat amendment 6987803352. 8ee295be69 (pushed) changes only .changeset/35147-destructive-still-shown-by.md: '@objectstack/spec' goes patch to minor, Metadata-protocol: none becomes added, and the Skills-docs line follows it, copied verbatim from the amendment. '@objectstack/metadata-protocol' stays patch, and no gate asked for more. The coordinator's relay of the Skills-docs line differed from the amendment (no backticks, a shorter second sentence); I used the amendment's text, as the order said. Main was not merged: #35240 is still open. The new PR body is prepared, not sent: /tmp/claude-0/-home-user/b11739e1-eab8-5d85-993a-eb8b46e46d78/scratchpad/issue-35147/pr-update-r2.json is a single issue_patch on #35239. It changes three things: the three declaration lines (Clause-②, Metadata-protocol: added, Skills-docs), the protocol-save.ts surface note in Acceptance notes citing the amendment, and the authorable-surface note explaining the minor grade. The relay refuses an unsigned issue_patch, so the body ends with the PR_BODY_TRAILER_SHAPE trailer (signed: repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt) after the existing footer. Its fleet-write --dry-run exited 0 and sent nothing. Check Changeset on the PR stays red until that body lands, because CI reads the declaration from the live PR body, which still says none. Local runs of the checker: the new body exits 0, and the old body as a control exits 1 with the same 'Moved: packages/spec/authorable-surface/api.json' error CI shows.", "tests": "No source or test changed this round (git diff --stat 166fc78c82..8ee295be69: 1 file, the changeset). Package tests stand at the round-1 readings at 166fc78c82: metadata-protocol 355 files / 23172 tests passed, exit 0; spec targeted 68 passed, exit 0. Typechecks exit 0. CI at 166fc78c82: Test Core and all 10 shards success, TypeScript Type Check success.", "gates": "At 8ee295be69, base ec227fc7b1. Check Changeset locally: check-changeset-no-major --self-test exit 0 (456 assertions). check-changeset-no-major --base BASE --event new-body exit 0, which printed: 'LEVEL AXIS: this PR declares clause-② yes (widening) and metadata-protocol added, and it grades a package ... at minor or above'. The same with --event old-body as the control: exit 1. check-empty-changeset --self-test 0, --base 0. check-adr-0087-registration --self-test 0, --base 0. dispatch-gates --commands .changeset/35147-destructive-still-shown-by.md derived 21 families; all 21 :: exit 0, including check:changeset-gate-self-tests, check:published-files and check:nul-bytes. check:generated: NOT MEASURED at 8ee295be69, reason: three lock attempts all ended in queue-timeout (exit 99, about 27 min). The holders were a dogfood test (pid 5243) and then the #34776 worktree's whole-repo turbo build (pid 13688). check:generated reads spec dist, which needs the locked build. I declare the narrowing: the round's diff touches no input of check:generated, which was green at 166fc78c82 (round-2 124/124, CI Lint & Repo Gates success). CI runs it on the new head. overlap-check exit 1: main f2078e3674 merges clean; #35244, #35224 and #34999 merge clean. #35240 conflicts on the generated files only, as already recorded; whichever lands second re-merges and regenerates. PR check-runs at 8ee295be69 at reading time: 41 success, 16 in_progress, 10 skipped, and Check Changeset failure on the old live body as explained.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 this round — git push x1 (8ee295be69, not REST); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments). The PR body issue_patch is prepared for the seat and was not sent (dry-run only).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "A command chain failed on a bad rev-parse, and the trailing pnpm install --frozen-lockfile ran once in the shared checkout /home/user/objectstack instead of the worktree. git status there is clean; the frozen lockfile touched node_modules only. The trailer on the prepared PR body is required by the relay for issue_patch, and the order did not name it." }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
os-dev-report
{ "issue": 35147, "status": "done", "branch": "claude/issue-35147-destructive-still-shown-by", "pr": "https://github.com/objectstack-ai/objectstack/pull/35239", "session": "session_01JQwxbXGvw43spR79ztEvWt", "premise_still_valid": true, "summary": "Fix round for contract review 6989169773 plus the L1 lint-entry note. Pushed head is 92307330a4: commits 1b46817fa4, abe7996ad3 and d439001c9f, the merge be571b4077 of origin/main b02484e13a (#35240 had landed), and the regenerated artifacts in 92307330a4. S1 was measured first: a stored { list, listViews, form } container comes back from getMetaItems('view') only as expanded view items (viewKind plus config). The container itself is not served, because protocol-meta-list-reads.ts filters it out. The type-change walker now reads the item root and config, plus the userFilters.tabs[].filter of each. That judges the tab filter at no extra read (ListViewSchema admits tabs on a view item config). The unreachable list / listViews.* rungs and the isContainer fallback are removed. The stillShownBy, where and name describes and the changeset now give the served paths (config.columns[1], columns[1], widgets[3]). They also state (root), that one item can appear in more than one entry, the absent cases (unreadable listing, a judge that throws or cannot load, a retyped field with no readable type), and that a filter another door refuses (formula) is not named (N2; N6 folded in because the S1 edit touched those lines). N1: withStillShownBy is caught at its call site in protocol-save.ts, so a throw leaves stillShownBy absent and the 409 still throws. L1: the lint root is loaded with a dynamic import, only for field_removed, and a failed load leaves the key absent. @objectstack/lint/runtime does not export the three judges, and adding them would edit packages/lint/src/**, the sibling claim's surface; the module header says so. N7 and N8 are taken; N3 to N5 were left as recorded. The PR body is prepared and was not sent: /tmp/claude-0/-home-user/b11739e1-eab8-5d85-993a-eb8b46e46d78/scratchpad/issue-35147/pr-update-r3.json, a single issue_patch on #35239 that ends with the signed trailer. Its dry-run exited 0.", "tests": "Merged head 92307330a4, all under the lock. metadata-protocol full suite: Test Files 356 passed | 9 skipped, Tests 23180 passed | 45 skipped, VERDICT command-exit 0. Typecheck exit 0. rest: meta-destructive-still-shown-by-flat-issues.test.ts 1/1 passed; typecheck green. spec: filter-operator-field-type-fit and filter-view-operator-parity 42/42 passed; typecheck green. New pins: protocol.destructive-still-shown-by.test.ts now has 12 cases: served view item config positions on both halves including a userFilters tab filter; via through a dataset and dashboard; absent versus [] with the dashboard listing failing at the served-read seam; the 409 standing when naming throws; every produced finding passing DestructiveChangeIssueSchema.safeParse; and a listing bound that is positive and equal for 1 and 6 view items. Also new: destructive-still-shown-by.lint-entry.test.ts (the static closure of protocol-save.ts holds no value import of the lint root; the detector is self-checked) and packages/rest meta-destructive-still-shown-by-flat-issues.test.ts (handleRouteError over the real producer gives a non-empty stillShownBy in the flat top-level issues). Red leg: destructive-still-shown-by.ts and protocol-save.ts were restored from 8ee295be69, and the pins went 4 failed / 10 passed of 14 (the two lint-entry cases, 409-on-throw, the tab filter); the 10 that passed pin unchanged behaviour. The restore used git checkout HEAD; hashes matched HEAD and git diff HEAD was empty. N1 ablation (source-resolved): ablation-replace put 'throw error;' into the call-site catch, the anchor went 1 to 0, and the pins went 1 failed / 11 passed (the 409-on-throw case); on restore the blob matched HEAD d5b5ad9a9a45. Dogfood: after building the dogfood closure, meta-object-unstored-field-removal.dogfood.test.ts ran under the lock at 1b46817fa4's implementation (pre-merge) with VERDICT command-exit 0, 1 file, 3 tests passed.", "gates": "dispatch-gates --commands on this round's changed paths at 92307330a4 derived 122 families. All 122 :: exit 0, and --ran reports '122 run, 0 NOT-MEASURED (a DERIVED zero)'. Five of them (spec check:browser-reachable-entries, dual-source-exports, entry-nameability, exported-any, check:generated) first answered 3/1 while my closure build was rewriting spec dist in parallel ('PREREQUISITE NOT MET — there is no built output'). Rerun on the settled dist, all 0. The pre-merge run at d439001c9f (122 families) fixed three real reds: check:test-source-alias (reachable-types test now imports lint-root-preload.testkit), check:objectql-double-limit (the listing failure moved from the find double to a getMetaItems spy), and engine-double-contract (--write for the rest double). check:test-typecheck failed once without diagnostics and was green on rerun. overlap-check at 92307330a4: exit 0; main, #35244 and #34999 merge clean. CI on the new head had not reported at the time of writing.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm; the one dogfood file this PR edits was run (see tests)", "mcp_calls": "0", "api_writes": "2 this round — git push x1 (92307330a4, not REST); os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35147/comments). The PR body issue_patch is prepared for the seat and was not sent (dry-run only).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "The dogfood file ran at the pre-merge implementation, not on the merged head. The merge brought no change to metadata-protocol's destructive path, and the full metadata-protocol suite was rerun on the merged head. One test batch was killed by my own timeout wrapper while queued (exit 124) and was rerun in full." }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt
Close-out · 2026-11-18T22:40Z
PR #35239 merged as
cdb327fdf0, and itsFixes #35147closed this card. The409 DESTRUCTIVE_CHANGErefusal of an object save now gives eachfield_removedandfield_type_changeissue astillShownBylist:config.columns[1],columns[1],widgets[3]through a dataset).config.filter, anduserFilters.tabs[].filter) whose operator no longer fits the new type, judged by the one exportedFILTER_OPERATOR_FIELD_TYPE_FIT.The finding's message names the same items. Every door relays the issues verbatim, so the REST, dispatcher and MCP draft doors all carry it. Removal judging is ported from the hosted build door; the cloud path and sha are in the PR body.
Records on
92307330: L1-a ACCEPT 6993039281, contract review delta PASS 6992416034 (closing S1 of 6989169773), landing 6993061965. Claim amendment 6987803352 records theprotocol-save.tswiring andMetadata-protocol: added.Follow-up #35257 (describe and pin nits). cloud#4620 was waiting on this card.
This stroke removes the
pm:dispatchedstate label.