Repository navigation
Description
repo:hotcrm#1 · huangyiirene · session_01J8VVAmQQaqVXpJepCqm4Xa
Filing gate: ③ · Source: maintainer — her answer in the hotcrm project thread on 2026-11-24 to the seat's question 「订单状态做不成只读,#2716 先上三个按钮吗?」, choosing 「先上按钮,只读等平台」 (ship the three actions now; the read-only half waits for a platform capability, filed here). Ruling recorded on objectstack-ai/hotcrm#2716.
Grade: area:data · Feature · p2 (inherits the p2 of the hotcrm card it blocks part of) · reach: measured on @objectstack 18.6.0 by the hotcrm lane (report objectstack-ai/hotcrm#2716 comment 7101256352) · evidence measured.
Reader: whichever seat triages domain:spec / area:data; on landing, the hotcrm seat adds the read-only line to the sales order (hotcrm#2716's remaining half).
Dedupe: searched readonly field action writable, readonlyWhen drops action write, field editable only through action, ui readonly field api writable (24 hits incl. closed). Nearest: #35068 (closed; taught "gated action + field lock", see below), #35403 (closed; owner_id read-only on the default form, a built-in special case, not an authorable key), #32666 (closed; flow writing a readonly field). None asks for this key.
维护者速读
- 用户能看到什么变化:作者可以把一个字段(比如订单状态)标成「界面只读」,表单、行内编辑、看板拖拽、高亮条都不能改,只能点「确认订单」这类按钮改;接口和导入照常能写,仍由校验规则(状态机)把关。
- 为什么做:业务对象的状态普遍应该只经按钮流转(Salesforce Activate、Odoo/SAP Confirm),今天的
readonly会连按钮、接口、导入的写入一起静默丢掉。 - 出错会怎样:漏掉某个界面入口,用户仍能直接改状态(数据仍由状态机兜底,不会错);回滚即去掉这个键。
- 要你做什么:无,已由你在 hotcrm 线程里选定。
What happens today (18.6.0, read again on main 4c93f88)
readonly: true(packages/spec/src/data/field.zod.ts, thereadonlydescribe) strips every non-system write on update and insert. Measured oncrm_sales_order.status: a declarativeoperation: 'update'action answers success while status stays draft;PATCHanswers 200 withx-objectstack-dropped-fields: status;reason=readonly; an import update reportsdroppedFields: status. The state machine never sees any of them.readonlyWhendoes the same withreason=readonly_when, and per the skills: an AI-confirmation-gated action does not guard the field it changes; teach "gated action + a field lock" for an irreversible transition #35068 measurement it binds a script action body too.- A script action body runs
isSystemand keeps its write to a staticreadonlyfield (skills: an AI-confirmation-gated action does not guard the field it changes; teach "gated action + a field lock" for an irreversible transition #35068's measurement,action-execution.tsbuildActionExecutionContext). That gives "UI read-only + action works" today, but the API and import doors are still stripped. The hotcrm card needs those doors open and judged by the state machine, so this route does not meet it. - A form-field
readonlyneeded an internal form; 内部的新建和编辑表单作废:平台不再加载表单定义,弹窗一律按字段分组和字段规则排;字段加一个「新建时显示」的开关(对外表单不受影响) #36425 (closed 2026-11-22) stopped loading internal forms.
Asked
A field-level authoring key (name is the spec owner's call; for example editable: 'actions' or uiReadonly: true) meaning:
- Every console surface treats the field as read-only: create and edit dialogs, the record page's inline edit, the highlight-strip chip, grid inline edit, kanban drag between columns grouped by this field, bulk edit.
- Write paths keep it: REST create/update, import, declarative and script action writes, flows. Each write is judged by the object's validations (a
state_machinerule included), exactly as an ordinary field. - Optional, the spec owner's call: whether an insert may set it, or only its
defaultValueapplies on create from the UI. objectstack validaterefuses it together withreadonly: true(contradictory), and the field describe and the data skill say when to use which.
Done when
On a test object with a state_machine rule on status and the new key: the console offers no way to edit status (all surfaces in 1.); a declarative update action, a PATCH and an import update each change it when the machine allows and are refused with the machine's message when it does not; describe_object (MCP) reports the field as not UI-editable.
Blocks part of: objectstack-ai/hotcrm#2716 (Status read-only on the sales order).
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in
area:data·domain:spec·priority:p2· Feature ·pm:queue· size M. The filing seat's area, type and grade stand.Rationale: a field that a person changes only through actions is a new authorable capability, so it is a Feature. Its source is the maintainer, whose hotcrm ruling 「先上按钮,只读等平台」 leaves the read-only half to the platform. hotcrm#2716 (p2) waits on it, so under the blocker rule in North Star Priority rule 2 it takes p2. A new spec key widens the authoring contract (Clause-②), so it lands through the seat's contract review. Dispatch follows the area order the maintainer has set for
area:data.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 1 · 2026-11-26T00:38Z · area:data p2 (the maintainer, verbatim, 2026-11-25T23:33Z in this seat's project: 「开一个专区 ,接 data 的 p1 p2」)
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSAccount:
os-billBranch: pending — mode:thread: the card thread pushes only the branch the platform assigns it; the area posts a
Branch:amendment here when the thread opensWorktree: the card thread's own checkout
Domain:
domain:specSeat:
repo:objectstack#5File surface:
packages/spec/src/data/field.zod.ts(the new key, its describe, thereadonlycontradiction refusal) and the spec generated artefacts through their generators, the liveness ledger row, the console surfaces the card lists underui/packages/**(create/edit dialogs, record-page inline edit, highlight-strip chip, grid inline edit, kanban drag, bulk edit), the MCPdescribe_objectprojection,packages/objectql/**only if a write path must be told the key is not a write filter, tests named for the card, root.changeset/. ⛔skills/**(the data-skill text goes to the weekly skills card as aSkills-docs:follow-up), ⛔docs/adr/**. Stop on breach and report.Container & model:
L,mode:thread,model: default(dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: yes (a new authorable field key)
Metadata-protocol: added
Responsibility: n/a — not a defect card (Feature; source: the maintainer's hotcrm answer 「先上按钮,只读等平台」, ruling recorded on objectstack-ai/hotcrm#2716)
Thread-read: 7119215664
Premise: holds at
origin/mainb8c8c88 —packages/spec/src/data/field.zod.tshas no UI-only read-only key (git grep -E "uiReadonly|editable: *z\.|readonlyInUi|actionOnly"→ 0 hits);readonlystill strips non-system writes (card's measurement on 18.6.0). Not yet measured (thread, before code): the key name and whether a same-concept precedent exists in spec or a producer (the card leaves the name to the spec owner); the thread brings the name with its precedent to the area before code — no precedent ⇒ it goes to the maintainer via a decision thread, not decided in the area.Pre-claim lane:
packages/spec/**→domain:spec; theui/**surfaces stay in this lane per area-lease 留道 once the key is settled.Pre-claim deps: none named. Hot files: open PRs #37314 (PROTOCOL_VERSION 19) and #37366 (defineForm → defineMetadata) touch
packages/spec/src/data/field.zod.ts; overlap-check before each push decides order.Prior rulings read: check-prior-rulings --card 36806 --paths → 392 ADR candidates, 0 ruling comments on the card; binding: the maintainer's hotcrm choice (above); ADR-0049 (a declared key must be enforced on every surface it names); ADR-0014 §2 (form spec shape) to read for the console half.
Serial constraints cleared: open-PR file scan: #37314, #37366 (
field.zod.ts) only on the spec side; ui surfaces re-scanned by the thread at code time.Scope: the card's "Asked" 1–4 and "Done when".
Fixes #36806.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7178983371 (area o5-D) · 2026-11-26T00:41Z
Branch:
claude/project-thread-zjehmt(mode:thread: the platform-assigned branch of the card thread; replaces the claim'spendingline)Thread session:
session_01Utp6CXSuJCALDHFWaV6Bv5Worktree: the card thread's own checkout
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Release: claim 7178983371 (area o5-D, session
session_01Utp6CbdHk3orAeensH6EzS) · 2026-11-26T00:45Z · to the maintainer's decision box, before any code.Why: the card leaves the key's name to the spec owner, and the pre-code reading found no same-concept precedent (0 hits tree-wide), so the name of a new authorable key is a public-contract choice the area may not settle (SKILL.md, escalation: a contract shape existing rules do not decide). Card item 3 (insert from the UI) rides with it.
Readings at
b8c8c889(card threadsession_01Utp6CXSuJCALDHFWaV6Bv5): candidateuiReadonly: boolean(spelled offreadonly/readonlyWhen,packages/spec/src/data/field.zod.ts~3047 / ~2917; boolean likehidden~2994 andshowOnCreate~3012); rejectededitable: 'actions'(collides with the permission granteditable,permission.zod.ts~1146) and wideningreadonlyto'ui'(the engine strips on a truthyreadonly,rule-validator.ts~2260). Item 3 reading: the console treats the key asreadonly, so a UI create applies onlydefaultValue; API/import/action inserts may set it, judged by the state machine's initial states. Side finding: kanban drag (ObjectKanban.tsx~2084) reads no field read-only flag today.Next: a decision thread writes the options, recommendation and four-axis analysis on this card; on the maintainer's answer the area re-claims and the same card thread builds.
Resume-from:
claude/project-thread-zjehmt@b8c8c889(no commits yet)4 remaining items
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbcAmwZGHVnPE8xJwr
Ruled: A —
uiReadonly: boolean, extended to the long-term two-tier field-lock model · 2026-11-26T02:06Z维护者速读
Ruling record
Maintainer's words (decision thread 「裁决 #36806 只读字段命名」, 2026-11-26): tapped option A 「新增 uiReadonly 布尔键」 on the decision card at 2026-11-26T01:59Z, and wrote 「按长远模型」 at 2026-11-26T01:59Z after 「我说的合理的方案是从元数据应用实际可能发生的业务需求角度出发,不等卡」 and 「考虑长远合理的方案」. Analysis: comment 7179210173 on this card; the extension beyond that comment's option A was discussed and accepted in the thread.
Governing text: ADR-0049 (a declared key is enforced on every surface it names); ADR-0085 §2 (admission test: binds every surface, names no page —
uinames the console as a channel);packages/spec/src/data/field.zod.ts:3047(readonlyis server-enforced on both write paths; unchanged);packages/spec/src/security/permission.zod.ts:1126(editableis the permission grant; not reused); ADR-0092 (history:readonlypromoted from a UI hint to a server boundary — the reason the hand lock needs its own name).Freshness gate: no comment on this card after the analysis (7179210173); body last edited before it. Premises of the analysis re-checked at
origin/maind558de0 this act (0 same-concept keys; strip atrule-validator.ts:2260keys ondef.readonly;readonlyWhenstrip is update-path only,engine-insert.ts:1353).Blocked-by:none on this card.The model (ruled whole, landed in phases)
readonly(exists)uiReadonly(this card)record)readonlyWhen(exists;P\true`= set once on create — the RAPreadonly:update/ ODataCore.Immutable` shape; no new key)uiReadonlyWhen(this card)Two levels: field and object. The object-level
uiReadonlyWhen(#37402) hand-locks the whole record when TRUE; a field's ownuiReadonly/uiReadonlyWhenwins over the object's default (uiReadonlyWhen: P\false`keeps a field editable inside a locked record). An object-levelreadonlyWhen` is the symmetric completion the model allows later; not filed."By hand" = create/edit dialogs (and the submitted payload), record-page inline edit, highlight-strip chip, grid inline edit and multi-row save, kanban drag, calendar drag, duplicating a record from the console, and an in-app assistant acting for a person. Not by hand = REST create/update, import (including the console import wizard's mapping), declarative and script actions, flows.
Naming rule (cite this ruling): a
ui-prefixed twin of a key is admitted only where the console's and the server's answers to the same question legitimately differ. Read-only is the only such concept today: visibility has one tier (the server side is permission masking,requiredPermissions/ FLSreadable, a different key) and required-ness has one tier (the server; the console mirrorsrequiredWhenfor feedback).uiVisibleWhenanduiRequiredWhenare refused by this rule.This card's scope (phase 1, area o5-D re-claims)
packages/spec/src/data/field.zod.ts:uiReadonly: boolean(default false) anduiReadonlyWhen(CEL predicate, same scope asreadonlyWhen). Describes state: every console surface read-only by hand; API/import/action/flow writes keep it, judged by validations (astate_machinerule included); a console create omits the field and the server appliesdefaultValue(card item 3, ruled); API/import/action inserts may set it, judged by the machine's initial states.uiReadonly: truebesidereadonly: truerefused in the field superRefine (theshowOnCreate+requiredprecedent,field.zod.ts:3341), path['uiReadonly'];uiReadonlyWhenbesidereadonlyWhenis allowed (the server lock is the stricter one), the describe says so. No new gate.@object-ui/coreanswers "is this field read-only by hand now" =readonly === true || readonlyWhen TRUE || uiReadonly === true || uiReadonlyWhen TRUE(the predicate halves throughfieldRules); every hand surface listed above swaps its directreadonlyread for it. Kanban drag gains the read it lacks today (side finding:ObjectKanban.tsx~2084 reads no field lock, so a staticreadonlygroupBy field is draggable and its PATCH silently stripped) — fixed for both keys. Import mapping (importTargetFields.ts) and studio/designer reads stay on rawreadonly. Duplicating a record rides spec: an object declares when a whole record is read-only by hand (object-level uiReadonlyWhen), fields override it, and duplicating a record takes the locked fields' defaults #37402.describe_object(packages/runtime/src/domains/mcp.tsdescribeServedObject): both keys reported as their own fields, not folded intoreadonly; tool description names them.packages/objectqlnever reads either key. Pin tests: PATCH to auiReadonlyfield carries nox-objectstack-dropped-fields; the state machine's refusal message surfaces on the PATCH, the import and the action; validate refuses the contradiction; each hand surface is locked.Clause-②: yes,Metadata-protocol: added,Skills-docs: follow-up #37405(the data skill section and the ADR land there, Tier H).Build order inside the card: spec → helper → surfaces → MCP → tests; one PR, or spec-first if the
field.zod.tsoverlap with #37314 / #37366 forces it (area-lease overlap check before each push). Resume-from:claude/project-thread-zjehmt@b8c8c889.Filed by this ruling
uiReadonlyWhen, field override, duplicate takes defaults (pm:blocked,Blocked-by: #36806; sub-issue).domain:skills, Tier H, maintainer merges; sub-issue; triage confirms the lane).State transition (same stroke)
needs-user-decision→pm:queue; assignee none; area o5-D re-claims under its standing area order (the maintainer, 2026-11-25T23:33Z: 「开一个专区,接 data 的 p1 p2」).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 2 · 2026-11-26T02:07Z · area:data p2, re-claimed after the maintainer's ruling (ruling record 7180466652: option A 「新增 uiReadonly 布尔键」 + 「按长远模型」; area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z)
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSThread session:
session_01Utp6CXSuJCALDHFWaV6Bv5Account:
os-billBranch:
claude/project-thread-zjehmtWorktree: the card thread's own checkout
Domain:
domain:specSeat:
repo:objectstack#5File surface:
packages/spec/src/data/field.zod.ts(uiReadonly,uiReadonlyWhen, describes, theuiReadonly+readonlyrefusal) and spec generated artefacts via their generators plus the liveness ledger rows; one helper inui/packages/core/**and every hand surface the ruling lists underui/packages/**(create/edit dialogs + payload sanitize, record-page inline edit, highlight-strip chip, grid inline edit + multi-row save, kanban drag, calendar drag);packages/runtime/src/domains/mcp.ts(describeServedObject+ tool description); tests named for the card; root.changeset/. ⛔packages/objectql/**(engine untouched), ⛔ import mapping (importTargetFields.ts) and studio/designer reads, ⛔ record duplicate (#37402), ⛔skills/**anddocs/adr/**(#37405). Stop on breach and report.Container & model:
L,mode:thread,model: default(dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: yes
Metadata-protocol: added
Skills-docs: follow-up #37405
Responsibility: n/a — not a defect card (Feature, ruled)
Thread-read: 7180466652
Premise: holds — re-checked by the ruling at
origin/maind558de0 (0 same-concept keys; the strip atrule-validator.ts~2260 keys ondef.readonly;readonlyWhenstrip is update-path only,engine-insert.ts~1353).Pre-claim lane:
packages/spec/**→domain:spec;ui/**andpackages/runtimesurfaces stay in this lane per area-lease 留道 (the ruling settles the key).Pre-claim deps: none (
Blocked-by:none). Hot files: open PRs #37314 and #37366 touchfield.zod.ts; overlap-check before each push; spec-first split allowed by the ruling if the overlap forces it.Prior rulings read: 7180466652 (this card; scope 1–6 and the naming rule, binding), analysis 7179210173; ADR-0049, ADR-0085 §2, ADR-0092 as the ruling cites.
Serial constraints cleared: #37314, #37366 (
field.zod.ts); ui surfaces re-scanned by the thread before its first push.Resume-from:
claude/project-thread-zjehmt@b8c8c889Scope: ruling scope items 1–6.
Fixes #36806.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7180490513 (area o5-D) · 2026-11-26T02:18Z
File surface (adds):
packages/spec/src/data/inline-grid-columns.ts(deriveInlineGridColumnsskipsuiReadonly: trueas it skipsreadonly) andui/packages/plugin-form/src/**/deriveMasterDetail.ts(passesuiReadonlyWhenbesidereadonlyWhen). Reason: the master-detail dialog's inline line-item grid is a hand surface under ruling 7180466652 ("every hand surface"); without it auiReadonlychild field draws an editable cell.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7180490513 (area o5-D) · 2026-11-26T03:06Z
File surface (adds):
FieldSchemakey must touch (named bydispatch-gates):packages/drivers/driver-sql/src/builtin-column-collision.ts(FIELD_KEY_STORAGE_CLASS:uiReadonlyanduiReadonlyWhen→presentation),packages/metadata-core/src/object-schema-fls-references.ts(FIELD_REFERENCE_POSITIONS:uiReadonly→ keep,uiReadonlyWhen→ expression, asreadonlyWhen),packages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts(fieldkey count 87 → 89, dated comment). Classification rows only; no behaviour in those packages moves.describeServedObjectand thedescribe_objecttool description:packages/mcp/src/mcp-server-runtime.ts,packages/mcp/src/mcp-http-tools.ts, and a test block inpackages/mcp/src/__tests__/mcp-server-runtime.test.ts. Reason: ruling 7180466652 asks MCP to describe the field; without the twin the stdio transport describes it differently from HTTP.Fences unchanged: ⛔
packages/objectql/**, import mapping, studio/designer reads, record duplicate (spec: an object declares when a whole record is read-only by hand (object-level uiReadonlyWhen), fields override it, and duplicating a record takes the locked fields' defaults #37402),skills/**,docs/adr/**(adr: field write locks are two tiers, two forms and two levels (readonly / readonlyWhen vs uiReadonly / uiReadonlyWhen, field over object); the data skill teaches the four spellings #37405). Overlap-check each added file before the push.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7180490513 (area o5-D) · 2026-11-26T03:52Z
File surface (adds):
packages/spec/src/data/field.form.ts(offeruiReadonlyanduiReadonlyWhenbesidereadonly/readonlyWhen;uiReadonlyWhenastype: 'code',language: 'expression', asreadonlyWhen); the 11 metadata-forms locale packspackages/platform-objects/src/apps/translations/*.metadata-forms.generated.tsthrough their generator only (⛔ no hand edits to generated files); the row-count pin that counts field-form rows (e.g.object-lifecycle-panel-echo-decisions.test.ts), moved only by what this change moves.Reason:
metadata-form-zod-reconciliation.test.tsrefuses a key the Zod accepts and the form does not offer. The area picks offering the rows over a ledger entry: a key an author can declare only in source or over the API is a gap the next card would have to close, and the long-term answer costs one form row each now (maintainer standing guidance on #36806: design for the realistic long-term need, don't defer obvious sibling needs).Fences unchanged otherwise. Overlap-check each added file before the push.
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7180490513 (area o5-D) · 2026-11-26T03:58Z · clarifies amendment 3
The metadata-forms locale packs take in-place edits of the NEW leaf string values only (label and helpText for
uiReadonlyanduiReadonlyWhen, every locale), as the files' own header directs ("Edit translations in place … only the leaf string values"), followed by a generator re-run that drops the fill hashes; the same route #36425 took forshowOnCreate. ⛔ No structural edit, no other leaf. Reason: the catalog pins (field-panel-echo-decisions.test.ts,object-lifecycle-panel-echo-decisions.test.ts) refuse unauthored English fills.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "issue": 36806, "status": "done", "branch": "claude/project-thread-zjehmt", "pr": "https://github.com/objectstack-ai/objectstack/pull/37436", "session": "session_01Utp6CXSuJCALDHFWaV6Bv5 (card thread; area session_01Utp6CbdHk3orAeensH6EzS)", "premise_still_valid": true, "summary": "Ruling 7180466652 scope 1-6 at head 62c400a2 (55+ files, +1.6k lines). Spec: Field.uiReadonly / uiReadonlyWhen (optional, no default), refusal of uiReadonly beside readonly at ['uiReadonly'], line-item column skip, liveness rows, regenerated artifacts, Studio field form rows translated in all 11 locale packs (amends 3/4). Console: one verdict in @object-ui/core (fieldReadOnlyByHand / fieldStaticallyReadOnlyByHand) read by dialogs + payload, record inline edit + stage path, highlight chip, grid inline edit + multi-row save, kanban drag (new lock read; also fixes a readonly lane field being draggable with a silently stripped PATCH), calendar drag, line-item grid. MCP describe_object (HTTP + stdio) reports both keys as their own fields; engine untouched.", "tests": "New pins all pass: spec field-ui-readonly (5), dogfood ui-readonly-hand-lock-36806 (6: PATCH lands with no X-ObjectStack-Dropped-Fields, readonly sibling stripped as control; state_machine refusal 400 VALIDATION_FAILED + machine message on PATCH, action and import; create lands on defaultValue; initialStates refusal), runtime MCP (3), mcp stdio block, ui core (6), dialogs (2), record page (2), grid (4), kanban (4), calendar (5), line-item grid (2+1). Package suites: spec 28,424 passed after the form rows; runtime 12,030; mcp 1,512; driver-sql 4,551; metadata-core 1,061; metadata-protocol 23,435; platform-objects 2,161; ui core 4,797, types 10,512, fields 5,033, plugin-form 2,795, plugin-detail 3,970, plugin-grid 2,794, plugin-kanban 585, plugin-calendar 515 (components and app-shell: CI Test UI shards green). Typechecks green: spec, runtime (+test typecheck), mcp, dogfood, metadata-core, driver-sql, type-check in 10 ui packages. Ablation 1 (ablation-replace): fieldStaticallyReadOnlyByHand without uiReadonly -> 8 pins red (kanban, calendar x2, record page x2, dialogs x2, grid); restored blob == HEAD. Ablation 2: rule-validator strip also stripping uiReadonly, objectql built (JS emitted, DTS failed on the type), dist preflight marker in 4 files -> 4 dogfood pins red; restored, rebuilt, preflight --absent clean, tree clean.", "gates": "dispatch-gates --commands: all 124 derived commands run locally. Fixed in this PR: driver-sql builtin-column-collision, metadata-core object-schema-fls-references, metadata-protocol meta-types count (amend 7181406682), spec metadata-form-zod-reconciliation (form rows, amends 3/4), platform-objects count pin 837->839. Non-diff reds: (1) check-plugin-teardown-shape --self-test exit 3: shallow clone cannot reach pinned fixture commit 621a4876; an environment fact, red on main in this container too. (2) check:platform-checklist exit 1: ABSENT SYMBOL FlowItemMoreMenu in docs/qa/platform-checklist/areas/automation.json; neither file differs between base b8c8c889 and main 7d50dc8b and the symbol is only in a comment there, so red on main too. (3) check:dual-build-cjs-loads exit 3: prerequisite not met (unbuilt dist), nothing measured on either. (4) spec check:skill-examples exit 3 was a prerequisite miss (client-react unbuilt); after building it, exit 0. i18n: check:i18n and check:i18n-stale-fill exit 0. CI on 62c400a2: 61 success, 9 skipped, 0 failed (Lint & Repo Gates, Type Check UI, Test UI 1-16/16, Test Core 1-10/10, Build & E2E UI all success).", "dogfood_battery": "n/a: no ! in the PR title and Clause-2 is yes without a (narrowing) arm", "mcp_calls": "1: subscribe_pr_activity (claude-code-remote); no GitHub MCP writes", "api_writes": "2 relay strokes: pr_create (#37436, assignee os-bill) and this os-dev-report comment; plus git push", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none, noted: lint CEL authoring check for uiReadonlyWhen (packages/lint) not added", "carrier: none, noted: kanban swimlane-field drag does not read the hand lock", "carrier: none, noted: docs-drift bot lists 11 hand-written pages naming FieldSchema; none documents readonly semantics needing uiReadonly beyond the generated field reference, which is regenerated here", "carrier: #37405: skills pages for uiReadonly / uiReadonlyWhen" ], "deviations": [ "First push of the WIP branch happened before overlap-check (clean afterwards); head 62c400a2 was pushed before reading an overlap verdict against #37422 (count-line arithmetic in object-lifecycle-panel-echo-decisions.test.ts, Acceptance note in PR); push now gated on the overlap-check exit.", "uiReadonly is .optional(), not .default(false).", "No 1280x800 zh-CN screenshots: no example app declares either key and adding one is outside the surface; surface behaviour pinned by UI tests and ablated.", "Ablation 2 mutated packages/objectql temporarily (trap-restored, rebuilt, tree clean); nothing in packages/objectql is in the diff.", "PR carries assignee os-bill per the claim's Account line (os-dev rule 2)." ] }read 2026-11-26T05:29Z · head 62c400a
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7180490513 (area o5-D) · 2026-11-26T05:43Z · on L1 REWORK 7183712080 and contract record 7183704697
File surface (adds):
packages/lint/src/validate-expressions.ts(+ its test) soos validatechecksuiReadonlyWhenas it checksreadonlyWhen(S2's lint slot rides this PR); the operand read-before-verdict for kanban and calendar beside the grid's (S1).Carried out of this PR: Gantt drag and in-place edit, timesheet cell write, kanban swimlane drag, the in-app assistant acting for a person, and
palettePrefillField(N3) → #37448 (filed now under this card). Until it lands, theuiReadonlydescribe and thedescribe_objecttext name the surfaces that honour it (S3).fix(spec,ui,lint): hand lock review rework (operands, scope, fail-clo…