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
console: the default record form (no authored sections) never draws a field whose object-level visibleWhen holds; the same predicate on an authored section renders #35249
Filing gate ①: a user-visible defect, reproduced once in the console.
Business reason. The platform's direction is to draw a record's form from the object's fieldGroups, so that apps stop authoring form views. A field that only applies in some states, such as a deal's Loss Reason (only when lost), a lead's disqualification reason or a case's resolution, carries its condition on the field (Field.visibleWhen). On the default form that field never appears. A rep closing a deal as lost has no place to record why. Every app that reverts an authored form to the default loses its conditional fields, so the revert cannot happen. hotcrm's audit of its forms found this blocks 3 of its 10 "move into metadata" rows (objectstack-ai/hotcrm#2665, assessment comment 6988592923).
Reach (measured once). hotcrm maina2b7cc0b, @objectstack/* 18.6.0, objectstack dev on fresh SQLite with demo staff, Playwright (Chromium):
The form view for crm_opportunity has its sections deleted, so the console builds the form from fieldGroups. On the record 'Stark Expansion (Lost)' (stage closed_lost), the Edit dialog DOM contains noloss_reason. On 'Wayne Operations Module Rollout' (won), there is no win_reason.
Control on the same records with the authored form (the section carries the same predicate): Loss Reason and Win Reason both render.
Both fields' object-level visibleWhen evaluates true for those records. The detail page's own field rendering was not part of this measurement.
Expected: the default form draws a field whenever its visibleWhen holds, exactly as an authored section with the same predicate does.
Seam.spec:Field.visibleWhen → renderer:plugin-form, on the auto-derived fieldGroups path.
Reader. objectstack triage grades it and routes it to the forms lane. Not a claim; awaits triage.
Dedupe (search/issues, repo:objectstack-ai/objectstack is:issue, open and closed):
visibleWhen auto-derived form: 7 hits, none on point.
fieldGroups form visibleWhen not rendered: 11, all QA runs.
The defect is on the default form only. objectstack-ai/hotcrm PR #2671 measured the default detail page on 18.6.0 with five records where each predicate holds. That page draws every field whose object visibleWhen holds: opportunity Win Reason and Loss Reason, lead Disqualification Reason and Duplicate Status, and case Resolution. It also draws fields whose visibleWhen is false. On a deal with Qualification Approval = Not Required, Request Qualification Approval and Qualification Approval, both visibleWhen … != "not_required", are drawn on the default page and on the retired authored page alike. So the two default surfaces disagree in both directions: the form hides fields whose predicate holds, and the detail page shows fields whose predicate is false.
First touch: p2 · domain:ui · pm:queue. Not a queue jump. On the synthesized default form, a field with an object-level visibleWhen is never drawn, although the same predicate renders on an authored section. It matters for apps retiring authored forms (fieldGroups direction), but it is not a regression named in a released version. Fix it on that path.
Grade: p2 → p1 · maintainer's word · 2026-11-19T04:51Z
The maintainer, verbatim, in hotcrm seat 2's session (2026-11-19): 「35315 35249 提升p1」.
Context.objectstack-ai/hotcrm#2665 audits HotCRM's authored forms for return to the platform default. 12 of 14 forms are held only by owner_id (#35315), and the opportunity, lead and case forms are held by conditional fields (#35249). Until both are fixed, an app cannot adopt the default form without losing reassignment, the loss reason, the disqualification reason or the case resolution.
Triage: area backfill under the rules of #35223 (daily reconciliation) — area:ux · Bug. The grade set at first touch on 2026-11-18 is unchanged: the one re-grade pass is #35205's.
Claim: PM loop round 7 · area ux-2 (seat 5 05:45Z: take #35249 first, p1) · 2026-11-19T06:47Z
Area: ux-2
Session: session_01Utp6CZrgaiMgTJCnswR6jQ
Account: os-bill
Branch: claude/issue-35249-default-form-visiblewhen
Worktree: objectstack-issue-35249
Domain: domain:ui
Seat: repo:objectstack#5
File surface: ui/packages/plugin-form/src/** (the fieldGroups-derived default form path: fieldGroups.ts, ObjectForm, ModalForm, DrawerForm), their tests, root .changeset/. ⛔ No packages/spec/**, no ui/packages/plugin-detail/** (the page-side twin is #35314, a separate card), no new i18n key. Stop on breach and report.
Container & model: M, mode:subagent, model: default — no path-derived mandate, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui plugin-form default form in objectstack never draws a field whose object-level Field.visibleWhen holds when the form is derived from fieldGroups; no platform path covers it (an authored section with the same predicate renders); every app retiring authored forms (HotCRM opportunity / lead / case forms)
Thread-read: 7001605899
Premise: holds in code reading (to be reproduced first) — card body measured on @objectstack/* 18.6.0 (HotCRM); dev re-measures on origin/main before changing anything
Serial constraints cleared: none — no open PR touches ui/packages/plugin-form/src/** (live read of all open PRs' files at claim time)
Pre-claim lane: domain:ui (ui/packages/plugin-form/**)
Pre-claim deps: none — no parent, no Blocked-by; #35314 (page side, plugin-detail) is a separate package, not folded (gate ①: different repair site)
Prior rulings read: visibleWhen, fieldGroups, default form, derived sections → ADR-0089 (one name visibleWhen; binds naming, does not answer this card), ADR-0032 (one CEL language, no silent failure; binds evaluation), ADR-0050 (form layout vs presentation; not this question); grade p1 by maintainer word (7000068635); none conflicts
{
"issue": 35249,
"status": "blocked",
"branch": "claude/issue-35249-default-form-visiblewhen",
"pr": null,
"head": "8aaf0f703697a35d54b24d444011e20e5a37a2a9",
"session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
"premise_still_valid": true,
"summary": "The defect is real and reproduced, but its repair site is outside the claimed file surface (ui/packages/plugin-form/src/**), so I stopped before any fix, as the fence requires. The console's global record-form dialog (app-shell AppContent, the LazyModalForm `fields` prop) and the full-page RecordFormPage build the form's field list through `isObjectFieldVisible(f, expressionEvaluator)`. That call evaluates each object field's `visibleWhen` once, with no `record` bound. A has()-guarded predicate such as HotCRM's LOST_REASON_ALLOWED evaluates cleanly to false, so the field is removed from `fields`. The fieldGroups-derived form draws only from that pool, so the field never appears. An unguarded `record.x == ...` faults and fails open, so it survives the gate, which is why plain fixtures do not reproduce. Authored ModalForm sections resolve their members with no pool, so they are not bounded by `fields`, and that is why the card's control renders. plugin-form's derived path is correct when it is handed the full pool: all three arms pass.",
"A1": "REPRODUCED at the test layer (origin/main c05a8a01; a throwaway probe, deleted, not committed). With the field list AppContent hands the dialog, computed through the real isObjectFieldVisible and createExpressionEvaluator: consoleFields = [title, stage, next_step]. The ModalForm derived form draws loss_reason false, win_reason false and next_step true. The same ModalForm with authored sections draws loss_reason true, win_reason false and next_step true. This is the card's measurement exactly. Real app: NOT MEASURED. No showcase object carries a has()-guarded field visibleWhen inside fieldGroups (showcase_invoice.paid_on is the unguarded `record.status == 'paid'`, which survives the gate, and that object declares no fieldGroups).",
"A2": "The drop happens in ui/packages/app-shell/src/console/AppContent.tsx, in the LazyModalForm schema `fields:` prop: `.filter(([_, f]) => isObjectFieldVisible(f, expressionEvaluator))`. The evaluator is built from user, features and permissions only, and the comment above it says the row is deliberately not bound there. The same gate is in ui/packages/app-shell/src/views/RecordFormPage.tsx, in the `fields` useMemo. Gate verdicts were measured with createExpressionEvaluator({}): the HotCRM two-arm has()-guarded predicate gives false, a single-arm has()-guarded predicate gives false, a bare `record.stage == 'closed_lost'` gives true (fault, fail-open), and a negated has() guard gives true. Downstream, ModalForm `formFields` goes to `layoutPool`, then to `deriveFieldGroupSections`, so the derived form's members come only from that list. This is not a plugin-form defect: neither 'treats any declared visibleWhen as hidden' nor 'filters before the record loads' happens inside plugin-form.",
"A3": "Committed pin 8aaf0f70 (ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx) passes 6/6 on origin/main code. ObjectForm (simple), ModalForm and DrawerForm in edit mode, each derived from fieldGroups and given the full field pool, draw the field whose visibleWhen holds and hide the one whose visibleWhen is false (CONTROL). The no-predicate field is unchanged (CONTROL), and the authored-section CONTROL is the same per arm. So the plugin-form arms need no change. The shared fix belongs at the app-shell gate, which both console surfaces (dialog and full page) call.",
"tests": "pnpm --dir ui exec vitest run --maxWorkers=1 packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx gave EXIT=0, Test Files 1 passed (1), Tests 6 passed (6). This is green on origin/main, as expected: the pin shows plugin-form is not the repair site. The two app-shell probes (gate verdicts, and the end-to-end dialog with the console field list) passed 4/4 and 2/2 and printed the readings in A1 and A2. They were deleted afterwards and are not on the branch. Dependency closure: turbo build --filter='@object-ui/plugin-form^...' --concurrency=2 under the verify lock gave VERDICT command-exit 0 (52/52 cached).",
"gates": "NOT MEASURED: dispatch-gates families, reason: blocked before implementation and no PR opened, so there is no diff beyond one test file to derive gates from. Local runs: the verify-lock build gave VERDICT command-exit 0. The single-file test, tried twice under the lock, ended in VERDICT queue-timeout (exit 99) both times, about 18 minutes in all, while a sibling holder (app-shell and console vitest plus type-check) held the lock. It then ran outside the lock with --maxWorkers=1, as a declared narrowing (see deviations).",
"line_budget": "n/a: no skills/** or governed surface touched",
"files_changed": ["ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx (WIP commit 8aaf0f70 on the branch, no PR)"],
"deviations": [
"Narrowing: after two lock queue-timeouts (exit 99, about 18 min) behind a sibling's app-shell vitest run, I ran the single-file vitest runs (one plugin-form file and two throwaway app-shell probes) outside the verify lock with --maxWorkers=1.",
"Fence: stopped on breach. The repair site is ui/packages/app-shell/src/console/AppContent.tsx and ui/packages/app-shell/src/views/RecordFormPage.tsx, outside the claimed ui/packages/plugin-form/src/**. No app-shell file was edited on the branch.",
"The worktree was removed after the push. The branch keeps the one WIP test commit at 8aaf0f70 for a Resume-from."
],
"Clause-2_and_Metadata-protocol": "Unchanged as claimed: Clause-②: no, Metadata-protocol: none. The likely fix is renderer-only and changes no authorable key.",
"dogfood_battery": "n/a: no PR, no `!` in a title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/35249/comments (this os-dev-report, via scripts/pm/post-stamped.mjs). Plus git push of the branch (empty probe, then the WIP commit), which is not a REST write.",
"open_questions": [
{
"question": "How should the console's field-list gate treat an object field's `visibleWhen`, and under which claim? The gate evaluates it once with no record, which drops has()-guarded fields from the fieldGroups-derived dialog and page. Note that the read of `visibleWhen` at this gate was put there by the maintainer ruling recorded on objectui#6514 (2026-08-27, Option A: read the declared keys `hidden` and `visibleWhen` instead of the refused `visible`).",
"options": [
"A: Re-scope the claim to ui/packages/app-shell/src/console/AppContent.tsx, ui/packages/app-shell/src/views/RecordFormPage.tsx and ui/packages/app-shell/src/providers/ExpressionProvider.tsx, plus their tests. The field-list gate keeps only the static `hidden`, and `visibleWhen` is left to the form renderer, which already evaluates it per record and live (ruleRecord, with the persisted record under the live values). Cost: small, about 3 files and a pin per surface. It changes what the objectui#6514 ruling's gate reads, so it needs PM confirmation that this does not reverse that ruling (the ruling's question was `visible` vs the declared keys, not record scope).",
"B: Keep `visibleWhen` at the gate but bind the record being edited as `record`. Cost: similar in size, but it stays wrong. In create mode there is no record. Even in edit mode the verdict is frozen at open, so a field whose predicate turns true while the user edits (stage set to closed_lost in the dialog) still never appears, because it is not in the pool.",
"C: Leave the gate as is and widen the plugin-form derived pool past `schema.fields`. Rejected: that changes what `fields` bounds on every derived form (objectui#9884 keeps the intersection on purpose) and works around the producer in a consumer (Contract-first)."
],
"recommendation": "A, because the form renderer is the one place that has the record and re-evaluates as values change, so a second record-less evaluation at the shell can only be wrong for record-dependent predicates. The dispatch did not carry the pm-dispatch decision axes, so this recommendation is not graded per axis. PM to supply the axes if this goes to a decision card."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: this card (35249), not filed separately. The full-page edit route (RecordFormPage) runs the same record-less gate. There the ObjectForm authored sections ARE bounded by the `fields` pool (the deliberate objectui#9884 intersection), so on that route even the authored form likely drops the has()-guarded field. NOT MEASURED. The fix in option A covers it. Dedupe words: isObjectFieldVisible, record-less visibleWhen, field-list gate, has() guard, RecordFormPage fields."
]
}
Claim: PM loop round 7, re-scoped after the dev's fence stop (os-dev-report 7002614064) · area ux-2 · 2026-11-19T07:25Z
Area: ux-2
Session: session_01Utp6CZrgaiMgTJCnswR6jQ
Account: os-bill
Branch: claude/issue-35249-default-form-visiblewhen (resume from 8aaf0f70)
Worktree: objectstack-issue-35249
Domain: domain:ui
Seat: repo:objectstack#5
File surface: ui/packages/app-shell/src/console/AppContent.tsx, ui/packages/app-shell/src/views/RecordFormPage.tsx, ui/packages/app-shell/src/providers/ExpressionProvider.tsx, their tests, the existing pin ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx, root .changeset/. ⛔ No packages/spec/**, no other plugin-form source, no appObjectScope.ts / MetadataProvider.tsx (sibling #35306), no new i18n key. Stop on breach and report.
Container & model: M, mode:subagent, model: default — no path-derived mandate, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui app-shell console field-list gate in objectstack evaluates an object field's visibleWhen once with no record bound, so a record-dependent (has()-guarded) predicate drops the field from the pool the fieldGroups-derived form draws from; no platform path covers it; every console reader of a default form on an object with conditional fields (HotCRM opportunity / lead / case)
Thread-read: 7002614064
Premise: holds — reproduced at test layer on origin/mainc05a8a01 (dev report A1/A2): AppContent LazyModalForm fields and RecordFormPagefields filter through isObjectFieldVisible(f, evaluator) with no record; plugin-form's derived path is correct when given the full pool (pin 6/6 green)
Serial constraints cleared: none — no open PR touches the three app-shell files (live read of all open PRs' files at re-scope time)
Pre-claim lane: domain:ui (ui/packages/app-shell/**)
Pre-claim deps: none
Prior rulings read: objectui#6514 (2026-08-27, Option A: the gate reads the DECLARED keys hidden + visibleWhen, not the refused visible; ExpressionProvider.tsx docblock) — route A keeps that ruling: visible stays unread, hidden stays the static gate at the shell, and visibleWhen stays honoured, evaluated where the record is bound (the form renderer, per record and live) instead of record-less at the shell. The ruling's question was which key, not which tier; the AND composition and fail-open posture are unchanged. Route B (bind the record at the gate) rejected: no record in create mode and frozen at open. Route C (widen the plugin-form pool) rejected: objectui#9884 keeps the intersection on purpose.
{
"issue": 35249,
"status": "done",
"branch": "claude/issue-35249-default-form-visiblewhen",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35451",
"pr_draft": true,
"head": "1bc8a35e9e00bd3951ac0bd03d9960668ded1f26",
"session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
"premise_still_valid": true,
"summary": "Route A per the PM re-scope. The console dialog (AppContent) and the full-page form (RecordFormPage) no longer evaluate an object field's visibleWhen record-less when building the field pool: the helper isObjectFieldVisible(field, evaluator) became isObjectFieldListed(field), which reads the static `hidden` alone; visibleWhen is judged by the form renderer against the record and the provider's scope, live. The per-site createExpressionEvaluator bags and their permission hooks, which fed only that filter, were removed; the objectui#6514 ruling (visible unread, AND composition, fail-open) and the package's public exports (ExpressionProvider, evaluateVisibility) are unchanged. Ten pins that used the shell list as their probe were re-pointed to the form's verdict (resolveFieldRuleState over the published scope).",
"A1": "REPRODUCED at the test layer (origin/main c05a8a01; a throwaway probe, deleted, not committed). With the field list AppContent hands the dialog, computed through the real isObjectFieldVisible and createExpressionEvaluator: consoleFields = [title, stage, next_step]. The ModalForm derived form draws loss_reason false, win_reason false and next_step true. The same ModalForm with authored sections draws loss_reason true, win_reason false and next_step true. This is the card's measurement exactly. Real app: NOT MEASURED. No showcase object carries a has()-guarded field visibleWhen inside fieldGroups (showcase_invoice.paid_on is the unguarded `record.status == 'paid'`, which survives the gate, and that object declares no fieldGroups).",
"A2": "The drop happens in ui/packages/app-shell/src/console/AppContent.tsx, in the LazyModalForm schema `fields:` prop: `.filter(([_, f]) => isObjectFieldVisible(f, expressionEvaluator))`. The evaluator is built from user, features and permissions only, and the comment above it says the row is deliberately not bound there. The same gate is in ui/packages/app-shell/src/views/RecordFormPage.tsx, in the `fields` useMemo. Gate verdicts were measured with createExpressionEvaluator({}): the HotCRM two-arm has()-guarded predicate gives false, a single-arm has()-guarded predicate gives false, a bare `record.stage == 'closed_lost'` gives true (fault, fail-open), and a negated has() guard gives true. Downstream, ModalForm `formFields` goes to `layoutPool`, then to `deriveFieldGroupSections`, so the derived form's members come only from that list. This is not a plugin-form defect: neither 'treats any declared visibleWhen as hidden' nor 'filters before the record loads' happens inside plugin-form.",
"A3": "Committed pin 8aaf0f70 (ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx) passes 6/6 on origin/main code. ObjectForm (simple), ModalForm and DrawerForm in edit mode, each derived from fieldGroups and given the full field pool, draw the field whose visibleWhen holds and hide the one whose visibleWhen is false (CONTROL). The no-predicate field is unchanged (CONTROL), and the authored-section CONTROL is the same per arm. So the plugin-form arms need no change. The shared fix belongs at the app-shell gate, which both console surfaces (dialog and full page) call.",
"item4_recordformpage_authored_sections": "MEASURED. With the record-less gate, RecordFormPage's authored form view (form.sections naming loss_reason) drops the has()-guarded field, because ObjectForm authored sections are bounded by the pool (objectui#9884 intersection): the case 'edit, authored form view: a section naming the field draws it too' is RED under the ablation. With the fix it is drawn (green). The dialog's authored path was never affected (ModalForm resolves authored sections without the pool).",
"tests": "Head 1bc8a35e. Scoped suite under the lock (RecordFormPage*, AppContent*, app-shell providers/, plus plugin-form fieldGroupsFieldVisibleWhen-35249): Test Files 103 passed (103), Tests 951 passed (951), os-verify-lock VERDICT command-exit 0. New pins on both surfaces: edit fieldGroups-derived form draws the has()-guarded field that holds (loss_reason); CONTROL false predicate hidden (win_reason); CONTROL hidden:true stays hidden although its predicate holds (loss_memo); CONTROL no predicate drawn (next_step); RecordFormPage authored form view draws it; create mode: no throw, no fault logged, clean-false hidden, create submit called with {title:'New deal'}. plugin-form pin 6/6 (unchanged from 8aaf0f70). Ablation (node scripts/ablation-replace.mjs on ExpressionProvider.tsx anchor ` return field?.hidden !== true;` replaced by a record-less evaluateVisibility(field?.visibleWhen, createExpressionEvaluator({}), 'visibleWhen') conjunct; mutation landed anchor 1 -> 0, blob 7f05fccb -> 4d3e9eb7): Tests 5 failed | 14 passed (19) on the two declaredVisibilityKeys files (both 'lists record_gated', both 'edit derived draws', RecordFormPage 'authored form view'); restore: blob == HEAD 7f05fccb and git diff HEAD empty. The user-predicate list case stays green under the mutation (bare evaluator has no user, so the predicate faults open): expected direction. app-shell has no dist resolution for the subject (tests import src), so no build leg was needed.",
"gates": "dispatch-gates --commands on 1bc8a35e: 38 families. 37 check/node families each EXIT=0 captured before any pipe, except pnpm check:type-check-debt EXIT=3 on the batch run (it ran while the ui scripts/ suite held the verify lock its closure build queues on) and EXIT=0 on the standalone re-run ('0 raw tsc error(s) total'). pnpm check:test-source-alias was EXIT=1 on the previous head (two edited pins reach AppContent without paying the @objectstack/lint load at collection); fixed in 1bc8a35e, now EXIT=0 'check-test-source-alias OK'. pnpm --dir ui exec vitest run scripts/ under the lock: Test Files 171 passed | 2 skipped, Tests 5092 passed | 2 skipped, VERDICT command-exit 0. Closure build pnpm --filter '@object-ui/app-shell^...' build: VERDICT command-exit 0. pnpm --filter @object-ui/app-shell run type-check on 1bc8a35e: EXIT=0 (outside the lock, see deviations). dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. CI check-runs on 1bc8a35e at report time: 5 completed, 17 in_progress, none failed: in_progress is the honest value; convergence belongs to the PM.",
"line_budget": "n/a: no skills/** or governed ledger touched",
"files_changed": [
".changeset/35249-default-form-record-visiblewhen.md",
"ui/packages/app-shell/src/console/AppContent.tsx",
"ui/packages/app-shell/src/console/__tests__/AppContent.declaredVisibilityKeys.test.tsx",
"ui/packages/app-shell/src/console/__tests__/AppContent.hasCapability-13083.test.tsx",
"ui/packages/app-shell/src/providers/ExpressionProvider.predicateScope.test.ts",
"ui/packages/app-shell/src/providers/ExpressionProvider.tsx",
"ui/packages/app-shell/src/providers/__tests__/navigationVisibility-12700.test.ts",
"ui/packages/app-shell/src/providers/__tests__/recordScopeDataRoot-8166.render.test.tsx",
"ui/packages/app-shell/src/providers/expressionUser.mountParity.test.tsx",
"ui/packages/app-shell/src/providers/expressionUser.mountSites.ratchet.test.ts",
"ui/packages/app-shell/src/views/RecordFormPage.declaredVisibilityKeys.test.tsx",
"ui/packages/app-shell/src/views/RecordFormPage.hasCapability-13083.test.tsx",
"ui/packages/app-shell/src/views/RecordFormPage.predicateScope.test.tsx",
"ui/packages/app-shell/src/views/RecordFormPage.tsx",
"ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx"
],
"deviations": [
"Narrowing: the app-shell type-check on the final head ran outside the verify lock after two 540s queue-timeouts (exit 99) behind a sibling's 19-minute app-shell vitest hold; the earlier in-lock type-check (pre-test-only commits) was VERDICT command-exit 0. Earlier single-file runs used --maxWorkers=1 outside the lock after queue-timeouts, as the coordinator allowed.",
"Tree is 10 commits behind origin/main (dispatch-gates STALE TREE warning). No file in the diff or in app-shell/plugin-form source near it changed on main (main touched only console/home and metadata-admin files in app-shell), so no merge was made; CI runs against the merge ref.",
"One local commit carried the harness's model-named co-author trailer; the push hook check:commit-card-trailers refused it and it was amended to the model-free pair before it was ever published.",
"PR body footer uses the dispatch/AGENTS.md session-URL form, not the harness's injected PR footer."
],
"Clause-2_and_Metadata-protocol": "Measured unchanged: Clause-②: no (no export, prop or spec change; app-shell public index still exports only ExpressionProvider and evaluateVisibility), Metadata-protocol: none (no authorable key read or written differently at the protocol level; visibleWhen now read by the renderer only). Both lines are in the PR body and the changeset.",
"dogfood_battery": "n/a: no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 — POST issue comment on #35249 (7002614064, first-round blocked report, via post-stamped relay); pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches, run 44499529000, created PR #35451, read-back identical 9798 bytes, assignees os-bill, labels none); POST issue comment on #35249 (this os-dev-report, via post-stamped relay). git push is not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · in the PR Acceptance notes only, not filed: user-gated fields (visibleWhen reading only the user) are now listed and hidden by the form instead of omitted; the renderer's clear-on-hide is transition-only, so a scope arriving after mount could clear a value of a field that turns hidden. Pre-existing renderer behaviour for every hidden field, not new here."
]
}
MERGED through the merge queue as 609b675135 (Fixes #35249; this card closed completed)
contract record
none owed (Clause-②: no, Metadata-protocol: none, not governed); L1-a ACCEPT 7006019056 (route A of the amended claim keeps the objectui#6514 ruling)
Delivered: the console's field-group gate reads only a field's own hidden flag, so a field whose visibleWhen depends on the record is no longer dropped before the record exists; the form renderer evaluates visibleWhen against the live record as before. The record-less evaluator is gone from the console record form and app content.
State: pm:dispatched removed; card closed.
Activity
objectstack-fleet commentedon Nov 18, 2026
repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g
Further reading for triage · 2026-11-18T19:20Z
The defect is on the default form only. objectstack-ai/hotcrm PR #2671 measured the default detail page on 18.6.0 with five records where each predicate holds. That page draws every field whose object
visibleWhenholds: opportunity Win Reason and Loss Reason, lead Disqualification Reason and Duplicate Status, and case Resolution. It also draws fields whosevisibleWhenis false. On a deal with Qualification Approval = Not Required, Request Qualification Approval and Qualification Approval, bothvisibleWhen … != "not_required", are drawn on the default page and on the retired authored page alike. So the two default surfaces disagree in both directions: the form hides fields whose predicate holds, and the detail page shows fields whose predicate is false.Generated by Claude Code
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch: p2 ·
domain:ui·pm:queue. Not a queue jump. On the synthesized default form, a field with an object-levelvisibleWhenis never drawn, although the same predicate renders on an authored section. It matters for apps retiring authored forms (fieldGroups direction), but it is not a regression named in a released version. Fix it on that path.objectstack-fleet commentedon Nov 19, 2026
repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g
Grade: p2 → p1 · maintainer's word · 2026-11-19T04:51Z
The maintainer, verbatim, in hotcrm seat 2's session (2026-11-19): 「35315 35249 提升p1」.
Context. objectstack-ai/hotcrm#2665 audits HotCRM's authored forms for return to the platform default. 12 of 14 forms are held only by
owner_id(#35315), and the opportunity, lead and case forms are held by conditional fields (#35249). Until both are fixed, an app cannot adopt the default form without losing reassignment, the loss reason, the disqualification reason or the case resolution.Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: area backfill under the rules of #35223 (daily reconciliation) —
area:ux· Bug. The grade set at first touch on 2026-11-18 is unchanged: the one re-grade pass is #35205's.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Claim: PM loop round 7 · area ux-2 (seat 5 05:45Z: take #35249 first, p1) · 2026-11-19T06:47Z
Area: ux-2
Session:
session_01Utp6CZrgaiMgTJCnswR6jQAccount:
os-billBranch:
claude/issue-35249-default-form-visiblewhenWorktree:
objectstack-issue-35249Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/plugin-form/src/**(thefieldGroups-derived default form path:fieldGroups.ts,ObjectForm,ModalForm,DrawerForm), their tests, root.changeset/. ⛔ Nopackages/spec/**, noui/packages/plugin-detail/**(the page-side twin is #35314, a separate card), no new i18n key. Stop on breach and report.Container & model:
M,mode:subagent,model: default — no path-derived mandate,effort: highClause-②: no
Metadata-protocol: none
Responsibility: ui
plugin-formdefault form in objectstack never draws a field whose object-levelField.visibleWhenholds when the form is derived fromfieldGroups; no platform path covers it (an authored section with the same predicate renders); every app retiring authored forms (HotCRM opportunity / lead / case forms)Thread-read: 7001605899
Premise: holds in code reading (to be reproduced first) — card body measured on
@objectstack/*18.6.0 (HotCRM); dev re-measures onorigin/mainbefore changing anythingSerial constraints cleared: none — no open PR touches
ui/packages/plugin-form/src/**(live read of all open PRs' files at claim time)Pre-claim lane:
domain:ui(ui/packages/plugin-form/**)Pre-claim deps: none — no parent, no Blocked-by; #35314 (page side, plugin-detail) is a separate package, not folded (gate ①: different repair site)
Prior rulings read: visibleWhen, fieldGroups, default form, derived sections → ADR-0089 (one name
visibleWhen; binds naming, does not answer this card), ADR-0032 (one CEL language, no silent failure; binds evaluation), ADR-0050 (form layout vs presentation; not this question); grade p1 by maintainer word (7000068635); none conflictsobjectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
os-dev-report
{ "issue": 35249, "status": "blocked", "branch": "claude/issue-35249-default-form-visiblewhen", "pr": null, "head": "8aaf0f703697a35d54b24d444011e20e5a37a2a9", "session": "session_01Utp6CZrgaiMgTJCnswR6jQ", "premise_still_valid": true, "summary": "The defect is real and reproduced, but its repair site is outside the claimed file surface (ui/packages/plugin-form/src/**), so I stopped before any fix, as the fence requires. The console's global record-form dialog (app-shell AppContent, the LazyModalForm `fields` prop) and the full-page RecordFormPage build the form's field list through `isObjectFieldVisible(f, expressionEvaluator)`. That call evaluates each object field's `visibleWhen` once, with no `record` bound. A has()-guarded predicate such as HotCRM's LOST_REASON_ALLOWED evaluates cleanly to false, so the field is removed from `fields`. The fieldGroups-derived form draws only from that pool, so the field never appears. An unguarded `record.x == ...` faults and fails open, so it survives the gate, which is why plain fixtures do not reproduce. Authored ModalForm sections resolve their members with no pool, so they are not bounded by `fields`, and that is why the card's control renders. plugin-form's derived path is correct when it is handed the full pool: all three arms pass.", "A1": "REPRODUCED at the test layer (origin/main c05a8a01; a throwaway probe, deleted, not committed). With the field list AppContent hands the dialog, computed through the real isObjectFieldVisible and createExpressionEvaluator: consoleFields = [title, stage, next_step]. The ModalForm derived form draws loss_reason false, win_reason false and next_step true. The same ModalForm with authored sections draws loss_reason true, win_reason false and next_step true. This is the card's measurement exactly. Real app: NOT MEASURED. No showcase object carries a has()-guarded field visibleWhen inside fieldGroups (showcase_invoice.paid_on is the unguarded `record.status == 'paid'`, which survives the gate, and that object declares no fieldGroups).", "A2": "The drop happens in ui/packages/app-shell/src/console/AppContent.tsx, in the LazyModalForm schema `fields:` prop: `.filter(([_, f]) => isObjectFieldVisible(f, expressionEvaluator))`. The evaluator is built from user, features and permissions only, and the comment above it says the row is deliberately not bound there. The same gate is in ui/packages/app-shell/src/views/RecordFormPage.tsx, in the `fields` useMemo. Gate verdicts were measured with createExpressionEvaluator({}): the HotCRM two-arm has()-guarded predicate gives false, a single-arm has()-guarded predicate gives false, a bare `record.stage == 'closed_lost'` gives true (fault, fail-open), and a negated has() guard gives true. Downstream, ModalForm `formFields` goes to `layoutPool`, then to `deriveFieldGroupSections`, so the derived form's members come only from that list. This is not a plugin-form defect: neither 'treats any declared visibleWhen as hidden' nor 'filters before the record loads' happens inside plugin-form.", "A3": "Committed pin 8aaf0f70 (ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx) passes 6/6 on origin/main code. ObjectForm (simple), ModalForm and DrawerForm in edit mode, each derived from fieldGroups and given the full field pool, draw the field whose visibleWhen holds and hide the one whose visibleWhen is false (CONTROL). The no-predicate field is unchanged (CONTROL), and the authored-section CONTROL is the same per arm. So the plugin-form arms need no change. The shared fix belongs at the app-shell gate, which both console surfaces (dialog and full page) call.", "tests": "pnpm --dir ui exec vitest run --maxWorkers=1 packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx gave EXIT=0, Test Files 1 passed (1), Tests 6 passed (6). This is green on origin/main, as expected: the pin shows plugin-form is not the repair site. The two app-shell probes (gate verdicts, and the end-to-end dialog with the console field list) passed 4/4 and 2/2 and printed the readings in A1 and A2. They were deleted afterwards and are not on the branch. Dependency closure: turbo build --filter='@object-ui/plugin-form^...' --concurrency=2 under the verify lock gave VERDICT command-exit 0 (52/52 cached).", "gates": "NOT MEASURED: dispatch-gates families, reason: blocked before implementation and no PR opened, so there is no diff beyond one test file to derive gates from. Local runs: the verify-lock build gave VERDICT command-exit 0. The single-file test, tried twice under the lock, ended in VERDICT queue-timeout (exit 99) both times, about 18 minutes in all, while a sibling holder (app-shell and console vitest plus type-check) held the lock. It then ran outside the lock with --maxWorkers=1, as a declared narrowing (see deviations).", "line_budget": "n/a: no skills/** or governed surface touched", "files_changed": ["ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx (WIP commit 8aaf0f70 on the branch, no PR)"], "deviations": [ "Narrowing: after two lock queue-timeouts (exit 99, about 18 min) behind a sibling's app-shell vitest run, I ran the single-file vitest runs (one plugin-form file and two throwaway app-shell probes) outside the verify lock with --maxWorkers=1.", "Fence: stopped on breach. The repair site is ui/packages/app-shell/src/console/AppContent.tsx and ui/packages/app-shell/src/views/RecordFormPage.tsx, outside the claimed ui/packages/plugin-form/src/**. No app-shell file was edited on the branch.", "The worktree was removed after the push. The branch keeps the one WIP test commit at 8aaf0f70 for a Resume-from." ], "Clause-2_and_Metadata-protocol": "Unchanged as claimed: Clause-②: no, Metadata-protocol: none. The likely fix is renderer-only and changes no authorable key.", "dogfood_battery": "n/a: no PR, no `!` in a title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/35249/comments (this os-dev-report, via scripts/pm/post-stamped.mjs). Plus git push of the branch (empty probe, then the WIP commit), which is not a REST write.", "open_questions": [ { "question": "How should the console's field-list gate treat an object field's `visibleWhen`, and under which claim? The gate evaluates it once with no record, which drops has()-guarded fields from the fieldGroups-derived dialog and page. Note that the read of `visibleWhen` at this gate was put there by the maintainer ruling recorded on objectui#6514 (2026-08-27, Option A: read the declared keys `hidden` and `visibleWhen` instead of the refused `visible`).", "options": [ "A: Re-scope the claim to ui/packages/app-shell/src/console/AppContent.tsx, ui/packages/app-shell/src/views/RecordFormPage.tsx and ui/packages/app-shell/src/providers/ExpressionProvider.tsx, plus their tests. The field-list gate keeps only the static `hidden`, and `visibleWhen` is left to the form renderer, which already evaluates it per record and live (ruleRecord, with the persisted record under the live values). Cost: small, about 3 files and a pin per surface. It changes what the objectui#6514 ruling's gate reads, so it needs PM confirmation that this does not reverse that ruling (the ruling's question was `visible` vs the declared keys, not record scope).", "B: Keep `visibleWhen` at the gate but bind the record being edited as `record`. Cost: similar in size, but it stays wrong. In create mode there is no record. Even in edit mode the verdict is frozen at open, so a field whose predicate turns true while the user edits (stage set to closed_lost in the dialog) still never appears, because it is not in the pool.", "C: Leave the gate as is and widen the plugin-form derived pool past `schema.fields`. Rejected: that changes what `fields` bounds on every derived form (objectui#9884 keeps the intersection on purpose) and works around the producer in a consumer (Contract-first)." ], "recommendation": "A, because the form renderer is the one place that has the record and re-evaluates as values change, so a second record-less evaluation at the shell can only be wrong for record-dependent predicates. The dispatch did not carry the pm-dispatch decision axes, so this recommendation is not graded per axis. PM to supply the axes if this goes to a decision card." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: this card (35249), not filed separately. The full-page edit route (RecordFormPage) runs the same record-less gate. There the ObjectForm authored sections ARE bounded by the `fields` pool (the deliberate objectui#9884 intersection), so on that route even the authored form likely drops the has()-guarded field. NOT MEASURED. The fix in option A covers it. Dedupe words: isObjectFieldVisible, record-less visibleWhen, field-list gate, has() guard, RecordFormPage fields." ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Claim: PM loop round 7, re-scoped after the dev's fence stop (os-dev-report 7002614064) · area ux-2 · 2026-11-19T07:25Z
Area: ux-2
Session:
session_01Utp6CZrgaiMgTJCnswR6jQAccount:
os-billBranch:
claude/issue-35249-default-form-visiblewhen(resume from8aaf0f70)Worktree:
objectstack-issue-35249Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/app-shell/src/console/AppContent.tsx,ui/packages/app-shell/src/views/RecordFormPage.tsx,ui/packages/app-shell/src/providers/ExpressionProvider.tsx, their tests, the existing pinui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx, root.changeset/. ⛔ Nopackages/spec/**, no other plugin-form source, noappObjectScope.ts/MetadataProvider.tsx(sibling #35306), no new i18n key. Stop on breach and report.Container & model:
M,mode:subagent,model: default — no path-derived mandate,effort: highClause-②: no
Metadata-protocol: none
Responsibility: ui
app-shellconsole field-list gate in objectstack evaluates an object field'svisibleWhenonce with no record bound, so a record-dependent (has()-guarded) predicate drops the field from the pool the fieldGroups-derived form draws from; no platform path covers it; every console reader of a default form on an object with conditional fields (HotCRM opportunity / lead / case)Thread-read: 7002614064
Premise: holds — reproduced at test layer on
origin/mainc05a8a01(dev report A1/A2):AppContentLazyModalFormfieldsandRecordFormPagefieldsfilter throughisObjectFieldVisible(f, evaluator)with norecord; plugin-form's derived path is correct when given the full pool (pin 6/6 green)Serial constraints cleared: none — no open PR touches the three app-shell files (live read of all open PRs' files at re-scope time)
Pre-claim lane:
domain:ui(ui/packages/app-shell/**)Pre-claim deps: none
Prior rulings read: objectui#6514 (2026-08-27, Option A: the gate reads the DECLARED keys
hidden+visibleWhen, not the refusedvisible; ExpressionProvider.tsx docblock) — route A keeps that ruling:visiblestays unread,hiddenstays the static gate at the shell, andvisibleWhenstays honoured, evaluated where the record is bound (the form renderer, per record and live) instead of record-less at the shell. The ruling's question was which key, not which tier; the AND composition and fail-open posture are unchanged. Route B (bind the record at the gate) rejected: no record in create mode and frozen at open. Route C (widen the plugin-form pool) rejected: objectui#9884 keeps the intersection on purpose.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
os-dev-report
{ "issue": 35249, "status": "done", "branch": "claude/issue-35249-default-form-visiblewhen", "pr": "https://github.com/objectstack-ai/objectstack/pull/35451", "pr_draft": true, "head": "1bc8a35e9e00bd3951ac0bd03d9960668ded1f26", "session": "session_01Utp6CZrgaiMgTJCnswR6jQ", "premise_still_valid": true, "summary": "Route A per the PM re-scope. The console dialog (AppContent) and the full-page form (RecordFormPage) no longer evaluate an object field's visibleWhen record-less when building the field pool: the helper isObjectFieldVisible(field, evaluator) became isObjectFieldListed(field), which reads the static `hidden` alone; visibleWhen is judged by the form renderer against the record and the provider's scope, live. The per-site createExpressionEvaluator bags and their permission hooks, which fed only that filter, were removed; the objectui#6514 ruling (visible unread, AND composition, fail-open) and the package's public exports (ExpressionProvider, evaluateVisibility) are unchanged. Ten pins that used the shell list as their probe were re-pointed to the form's verdict (resolveFieldRuleState over the published scope).", "A1": "REPRODUCED at the test layer (origin/main c05a8a01; a throwaway probe, deleted, not committed). With the field list AppContent hands the dialog, computed through the real isObjectFieldVisible and createExpressionEvaluator: consoleFields = [title, stage, next_step]. The ModalForm derived form draws loss_reason false, win_reason false and next_step true. The same ModalForm with authored sections draws loss_reason true, win_reason false and next_step true. This is the card's measurement exactly. Real app: NOT MEASURED. No showcase object carries a has()-guarded field visibleWhen inside fieldGroups (showcase_invoice.paid_on is the unguarded `record.status == 'paid'`, which survives the gate, and that object declares no fieldGroups).", "A2": "The drop happens in ui/packages/app-shell/src/console/AppContent.tsx, in the LazyModalForm schema `fields:` prop: `.filter(([_, f]) => isObjectFieldVisible(f, expressionEvaluator))`. The evaluator is built from user, features and permissions only, and the comment above it says the row is deliberately not bound there. The same gate is in ui/packages/app-shell/src/views/RecordFormPage.tsx, in the `fields` useMemo. Gate verdicts were measured with createExpressionEvaluator({}): the HotCRM two-arm has()-guarded predicate gives false, a single-arm has()-guarded predicate gives false, a bare `record.stage == 'closed_lost'` gives true (fault, fail-open), and a negated has() guard gives true. Downstream, ModalForm `formFields` goes to `layoutPool`, then to `deriveFieldGroupSections`, so the derived form's members come only from that list. This is not a plugin-form defect: neither 'treats any declared visibleWhen as hidden' nor 'filters before the record loads' happens inside plugin-form.", "A3": "Committed pin 8aaf0f70 (ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx) passes 6/6 on origin/main code. ObjectForm (simple), ModalForm and DrawerForm in edit mode, each derived from fieldGroups and given the full field pool, draw the field whose visibleWhen holds and hide the one whose visibleWhen is false (CONTROL). The no-predicate field is unchanged (CONTROL), and the authored-section CONTROL is the same per arm. So the plugin-form arms need no change. The shared fix belongs at the app-shell gate, which both console surfaces (dialog and full page) call.", "item4_recordformpage_authored_sections": "MEASURED. With the record-less gate, RecordFormPage's authored form view (form.sections naming loss_reason) drops the has()-guarded field, because ObjectForm authored sections are bounded by the pool (objectui#9884 intersection): the case 'edit, authored form view: a section naming the field draws it too' is RED under the ablation. With the fix it is drawn (green). The dialog's authored path was never affected (ModalForm resolves authored sections without the pool).", "tests": "Head 1bc8a35e. Scoped suite under the lock (RecordFormPage*, AppContent*, app-shell providers/, plus plugin-form fieldGroupsFieldVisibleWhen-35249): Test Files 103 passed (103), Tests 951 passed (951), os-verify-lock VERDICT command-exit 0. New pins on both surfaces: edit fieldGroups-derived form draws the has()-guarded field that holds (loss_reason); CONTROL false predicate hidden (win_reason); CONTROL hidden:true stays hidden although its predicate holds (loss_memo); CONTROL no predicate drawn (next_step); RecordFormPage authored form view draws it; create mode: no throw, no fault logged, clean-false hidden, create submit called with {title:'New deal'}. plugin-form pin 6/6 (unchanged from 8aaf0f70). Ablation (node scripts/ablation-replace.mjs on ExpressionProvider.tsx anchor ` return field?.hidden !== true;` replaced by a record-less evaluateVisibility(field?.visibleWhen, createExpressionEvaluator({}), 'visibleWhen') conjunct; mutation landed anchor 1 -> 0, blob 7f05fccb -> 4d3e9eb7): Tests 5 failed | 14 passed (19) on the two declaredVisibilityKeys files (both 'lists record_gated', both 'edit derived draws', RecordFormPage 'authored form view'); restore: blob == HEAD 7f05fccb and git diff HEAD empty. The user-predicate list case stays green under the mutation (bare evaluator has no user, so the predicate faults open): expected direction. app-shell has no dist resolution for the subject (tests import src), so no build leg was needed.", "gates": "dispatch-gates --commands on 1bc8a35e: 38 families. 37 check/node families each EXIT=0 captured before any pipe, except pnpm check:type-check-debt EXIT=3 on the batch run (it ran while the ui scripts/ suite held the verify lock its closure build queues on) and EXIT=0 on the standalone re-run ('0 raw tsc error(s) total'). pnpm check:test-source-alias was EXIT=1 on the previous head (two edited pins reach AppContent without paying the @objectstack/lint load at collection); fixed in 1bc8a35e, now EXIT=0 'check-test-source-alias OK'. pnpm --dir ui exec vitest run scripts/ under the lock: Test Files 171 passed | 2 skipped, Tests 5092 passed | 2 skipped, VERDICT command-exit 0. Closure build pnpm --filter '@object-ui/app-shell^...' build: VERDICT command-exit 0. pnpm --filter @object-ui/app-shell run type-check on 1bc8a35e: EXIT=0 (outside the lock, see deviations). dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. CI check-runs on 1bc8a35e at report time: 5 completed, 17 in_progress, none failed: in_progress is the honest value; convergence belongs to the PM.", "line_budget": "n/a: no skills/** or governed ledger touched", "files_changed": [ ".changeset/35249-default-form-record-visiblewhen.md", "ui/packages/app-shell/src/console/AppContent.tsx", "ui/packages/app-shell/src/console/__tests__/AppContent.declaredVisibilityKeys.test.tsx", "ui/packages/app-shell/src/console/__tests__/AppContent.hasCapability-13083.test.tsx", "ui/packages/app-shell/src/providers/ExpressionProvider.predicateScope.test.ts", "ui/packages/app-shell/src/providers/ExpressionProvider.tsx", "ui/packages/app-shell/src/providers/__tests__/navigationVisibility-12700.test.ts", "ui/packages/app-shell/src/providers/__tests__/recordScopeDataRoot-8166.render.test.tsx", "ui/packages/app-shell/src/providers/expressionUser.mountParity.test.tsx", "ui/packages/app-shell/src/providers/expressionUser.mountSites.ratchet.test.ts", "ui/packages/app-shell/src/views/RecordFormPage.declaredVisibilityKeys.test.tsx", "ui/packages/app-shell/src/views/RecordFormPage.hasCapability-13083.test.tsx", "ui/packages/app-shell/src/views/RecordFormPage.predicateScope.test.tsx", "ui/packages/app-shell/src/views/RecordFormPage.tsx", "ui/packages/plugin-form/src/fieldGroupsFieldVisibleWhen-35249.test.tsx" ], "deviations": [ "Narrowing: the app-shell type-check on the final head ran outside the verify lock after two 540s queue-timeouts (exit 99) behind a sibling's 19-minute app-shell vitest hold; the earlier in-lock type-check (pre-test-only commits) was VERDICT command-exit 0. Earlier single-file runs used --maxWorkers=1 outside the lock after queue-timeouts, as the coordinator allowed.", "Tree is 10 commits behind origin/main (dispatch-gates STALE TREE warning). No file in the diff or in app-shell/plugin-form source near it changed on main (main touched only console/home and metadata-admin files in app-shell), so no merge was made; CI runs against the merge ref.", "One local commit carried the harness's model-named co-author trailer; the push hook check:commit-card-trailers refused it and it was amended to the model-free pair before it was ever published.", "PR body footer uses the dispatch/AGENTS.md session-URL form, not the harness's injected PR footer." ], "Clause-2_and_Metadata-protocol": "Measured unchanged: Clause-②: no (no export, prop or spec change; app-shell public index still exports only ExpressionProvider and evaluateVisibility), Metadata-protocol: none (no authorable key read or written differently at the protocol level; visibleWhen now read by the renderer only). Both lines are in the PR body and the changeset.", "dogfood_battery": "n/a: no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — POST issue comment on #35249 (7002614064, first-round blocked report, via post-stamped relay); pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches, run 44499529000, created PR #35451, read-back identical 9798 bytes, assignees os-bill, labels none); POST issue comment on #35249 (this os-dev-report, via post-stamped relay). git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · in the PR Acceptance notes only, not filed: user-gated fields (visibleWhen reading only the user) are now listed and hidden by the form instead of omitted; the renderer's clear-on-hide is transition-only, so a scope arriving after mount could clear a value of a field that turns hidden. Pre-existing renderer behaviour for every hidden field, not new here." ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Closed-out · area ux-2 · 2026-11-19T10:52Z
609b675135(Fixes #35249; this card closed completed)Clause-②: no,Metadata-protocol: none, not governed); L1-a ACCEPT 7006019056 (route A of the amended claim keeps the objectui#6514 ruling)Delivered: the console's field-group gate reads only a field's own
hiddenflag, so a field whosevisibleWhendepends on the record is no longer dropped before the record exists; the form renderer evaluatesvisibleWhenagainst the live record as before. The record-less evaluator is gone from the console record form and app content.State:
pm:dispatchedremoved; card closed.