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
form: formula fields are not recomputed in the form, so a required field whose visibleWhen reads a formula stays hidden on create and on an edit that crosses the condition, while the server requires it (follow-up of #34905) #35033
domain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filed by triage at the request of repo:objectstack#3 (mailbox #32588, 6964002215), from the seat's contract review of PR #34978. This follows up #34905, which took the user-chosen route A: required is judged together with visibility, on the server.
What happens
The form does not recompute a formula field from the live inputs. So a required field whose visibleWhen reads a formula behaves like this:
On a create form: it stays hidden whatever the user types.
On an edit whose inputs move the computed value into the condition: the form keeps the field hidden, while the server, correctly under the ruling, requires it. The user cannot recover in the form, because the save is refused for a field they cannot see.
Done when
The form evaluates visibleWhen over formula values recomputed from the live inputs, client-side or through a server preview.
It is pinned on create and on an edit that crosses the condition.
Grade: p1 · domain:ui. Themes: zh-CN customers / HotCRM and console operations. The named effect is that a user is blocked from saving with no way out in the form, on the same configuration #34905 (p1) was fixed for.
It is not linked under #34571, because that would move the release gate. The maintainer decides whether it joins.
Claim: PM loop round 1 · 2026-11-18T03:50Z
Session: session_01JQwxbWoeMbVAavTXkbV2Cn
Thread session: session_01JQwxbWoeMbVAavTXkbV2Cn
Account: os-warren
Branch: claude/project-thread-eisi2x
Worktree: objectstack-issue-35033
Domain: domain:ui
Seat: repo:objectstack#1 (card thread, lease o1-B; large card handed to the seat by area o1-B's W0 6968394620)
File surface: ui/packages/components/src/renderers/form/** (the ruleRecord scope the field rules read), ui/packages/core/src/evaluator/** (a client formula pass over the canonical @objectstack/formula engine, beside fieldRules.ts), the plumbing that hands the form its object's formula field definitions (ui/packages/plugin-form/src/** if the form config does not already carry them), new test files named for this card, root .changeset/. Stop on breach; explain in the report.
Container & model: L, mode:thread, model: TIER_DEFAULT (--tier: "no path-derived mandate" on the surface above, 2026-11-18, objectstack 526282e1), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: the form's rule scope in objectstack (ui/packages/components/src/renderers/form/form.tsx, ruleRecord: null seed, then the record as last read, then the live inputs; no formula is computed) | none: the server computes formulas for the write only, no read door serves a formula over unsaved inputs | every console and HotCRM user filling a create or edit form whose required field's visibleWhen reads a formula
Thread-read: none
Premise: holds
Serial constraints cleared: #35050 (area o1-B, claim names form.tsx prefill seeding; no PR yet) and PR #34978 (#34905, Tier H, open; adds a describe to ui/packages/core/src/evaluator/__tests__/fieldRules.test.ts, so this card's tests go in new files). overlap-check.mjs runs before every push.
Pre-claim lane: domain:ui: the fix lands in ui/packages/components/src/renderers/form/form.tsx and ui/packages/core/src/evaluator/ (ui/** per the lane table), no server or spec path.
Pre-claim deps: the card names no Blocked-by: and no "after #N". It follows #34905; its server half (PR #34978) is open and not a dependency: the form's recompute is right on main and on #34978 alike. Hot file form.tsx is shared with #35050's claim (no PR yet); queued by overlap-check, not by name.
Prior rulings read: check-prior-rulings.mjs --card 35033 (381 hits, broad) and --terms recompute,recomputed,visibleWhen,formula,preview (34 hits): no ADR decides a client formula recompute or a server formula preview. Read and bound: #34905 ruling record 6956761249 (route A; item 3 "A faulting or unevaluable visibleWhen falls back to today's always-required behaviour"); contract review 6963978999 finding S3 (this card's origin); ADR-0124 (server enforces, client is courtesy); ui ADR-0036 (field rules evaluate with the canonical @objectstack/formula engine). Thread: no comments.
Premise reading on origin/main526282e: ruleRecord in form.tsx seeds every field null, overlays the record as last read, then the watched values; git grep -iE "applyFormula|computeFormula|recomputeFormula|formulaValues" -- ui/packages outside tests: 0 hits (positive control: ruleRecord itself, found). So a formula field reads null on create and its served value on edit, as the card says.
Route (the seat's choice, not a ruling; veto window): compute in the form, over the live inputs, with the same @objectstack/formula engine the field rules already use (ui ADR-0036), formulas in the platform's read order (formulaReadOrder). The form answers a formula that does not compute exactly as the server does on PR #34978's head (its body, seat S2 ruling): a fault a read shares (an operator over an empty operand, an undeclared key, a cycle) gives null and the predicate is judged on that null; a value only a read can have (a hop, label(), current_user.can(), or a formula that reads one at any depth) makes the predicate unevaluable, so the field shows. No server preview door: it would add a public REST surface for what the canonical engine already does in the browser. No server, spec or ADR path is in this card; the "Known limit (S3)" prose #34978 adds is a follow-up the seat files once both have landed.
{
"issue": 35033,
"status": "needs_decision",
"branch": "claude/project-thread-eisi2x",
"pr": null,
"head": "7ed7b68968",
"session": "session_01JQwxbWoeMbVAavTXkbV2Cn",
"premise_still_valid": true,
"summary": "Premise measured on origin/main 526282e1 with the real form renderer (throwaway test, not committed): (1) create, formula field drawn on the form: a required field with visibleWhen 'record.big_order == true' stays hidden before and after qty/price cross the condition; (2) edit, served big_order=false: stays hidden after qty is edited across the condition; (3) create, formula NOT drawn on the form: the visibleWhen faults on the missing key, so the field is shown and every submit is refused ('Can't submit: the visibleWhen rule of Discount note could not be evaluated.', onSubmit called 0 times). Built and pushed the client formula pass as an internal module: ui/packages/core/src/evaluator/formulaRecord.ts (planObjectFormulas: the object's formulas in formulaReadOrder order, computed with the canonical ExpressionEngine; a fault a read shares reads null (empty operand, cycle, traversal conflict); unservable = reads through a reference, calls label(), reads a scope root other than record (so current_user.can() too), expression not served (FLS mask), or reads such a formula at any depth), with 10 pins. NOT wired into form.tsx: form.tsx lives in @object-ui/components, which can only reach core through core's package entry, so the wiring needs a new published export of @object-ui/core. The dispatch said not to add it and to report; os-dev.md lists a published-export change as needs_decision; the Edit that added it to ui/packages/core/src/evaluator/index.ts was also refused by the session's permission classifier. Did not open a PR: an unwired helper would be dead code until the export is decided.",
"tests": "head 7ed7b68968: pnpm --dir ui exec vitest run --maxWorkers=2 packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts under os-verify-lock: VERDICT command-exit 0, Test Files 1 passed (1), Tests 10 passed (10). The pins cover read order, no mutation, empty operand null, cycle null, hop and its closure unservable, label()/current_user/masked expression unservable, unnameable predicate reads, and resolveFieldRuleState over the computed record: create hidden then shown+required, edit crossing shown+required, reverse edit hidden. Premise readings came from two throwaway form-renderer tests that were deleted before commit (git status clean). Ablation NOT MEASURED, reason: the recompute is not wired into the form yet, so no form pin exists to ablate.",
"gates": "local: pnpm --filter @object-ui/core type-check exit 0 (tsc --listFiles shows the new test in tsconfig.test.json); eslint on both new files exit 0; node scripts/pm/overlap-check.mjs --branch=HEAD VERDICT clean exit 0; dispatch-gates --commands (stderr: objectstack-ai/objectstack at 7ed7b68968, 2 paths vs merge base 526282e11) derived 27 commands; ran check:nul-bytes 0, check:undeclared-dep-imports 0, check:test-source-alias 0, check:cross-package-test-inputs 0, check:published-files 0; the other 22 are NOT MEASURED, reason: no PR, so no CI run; to be run when the wiring lands",
"dogfood_battery": "n/a — no PR, no `!` in a title, no (narrowing) arm",
"line_budget": "n/a — no skills/** touched",
"files_changed": ["ui/packages/core/src/evaluator/formulaRecord.ts", "ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts"],
"deviations": [
"The dispatch's commit trailer 'Co-Authored-By: Claude Opus 5.5' was refused by the repository pre-push hook (no model identifier in the trailer pair, AGENTS.md). The unpushed commit was reworded to the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line before the first push. Nothing was force-pushed.",
"The branch claude/project-thread-eisi2x already existed locally at origin/main with no commits of its own, so the worktree was added on it instead of with -b."
],
"mcp_calls": "0",
"api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report, via scripts/pm/post-stamped.mjs); git push is not a REST write",
"open_questions": [
{
"question": "How should the form renderer (@object-ui/components) reach the client formula pass that lives in @object-ui/core?",
"options": [
"A: Export planObjectFormulas and ObjectFormulaPlan from @object-ui/core's entry (one line in ui/packages/core/src/evaluator/index.ts), and the claim amends to 'Clause-②: yes (widening)' (precedent: .changeset/34173-aggregate-bulk-rejection-one-outcome.md declared a new @object-ui/core member that way). Then the wiring stays inside the claimed surface: a hook beside actionRequirements.ts reads the served object through dataSource.getObjectSchema, which is how usePatchingUpdateActions already reads it, so no plugin-form change is needed because every host passes objectName. ruleRecord becomes plan.compute(seed + previous + watched). A field row whose visibleWhen reads an unservable formula has that visibleWhen dropped, with one console.warn, so it is shown without tripping the client's ADR-0137 D2 submit refusal. Then come form pins, the ablation table and a patch changeset. Cost: about 150 lines plus about 4 form pins, one more round.",
"B: Keep it unexported: move the helper into @object-ui/components and add @objectstack/formula to its dependencies. Clause-② stays no, but this touches ui/packages/components/package.json and pnpm-lock.yaml, which are outside the claimed surface, and puts engine logic in the package the ui/AGENTS.md topology table calls 'Pure UI. No business logic'. Similar cost to A.",
"C: A server preview door that computes formulas over unsaved inputs. This adds a public REST surface and a server path that this card excludes. It is the most expensive option and the canonical engine already runs in the browser."
],
"recommendation": "A. Core is the engine package in the ui topology, it already depends on @objectstack/formula, and the dispatch's own landing names core/src/evaluator plus form.tsx, which cannot be joined without an entry export. Axes were not supplied with the dispatch, so this recommendation is argued on cost, contract and topology only."
},
{
"question": "For a visibleWhen reading an unservable formula, should the client show the field without refusing submit, or treat it as a fault?",
"options": [
"A: Shown, no submit refusal (drop the visibleWhen for that row, warn once). This matches the server, which counts the predicate as shown and keeps the field required.",
"B: Fault. Shown, but the client's ADR-0137 D2 refusal then blocks every submit of the form, which is stricter than the server (ADR-0124)."
],
"recommendation": "A, because a client fault refuses the whole write while the server accepts it once the field is filled."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — ui/apps/console/src/components/FormPage.tsx, the second FormView renderer, judges visibleWhen over its own values with no formula pass either. Unmeasured, so it is not a filing; after the decision it belongs to this card's family or to its follow-up. dedupe words: FormPage visibleWhen formula recompute",
"carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced. dedupe words: requiredWhen formula field merged record No such key"
]
}
Claim amendment 1 · 2026-11-18T04:11Z (amends claim 6968471929 after dev report 6968778389, which returned needs_decision with two questions; both are answered here as seat routing, not as maintainer rulings, veto window open)
Clause-②: yes (widening) — one new member on the @object-ui/core package entry (the client formula pass, ui/packages/core/src/evaluator/formulaRecord.ts), nothing removed or renamed
Metadata-protocol: none
File surface: as in the claim, plus ui/packages/core/src/evaluator/index.ts (the one re-export line), ui/packages/components/src/renderers/form/** hooks beside form.tsx, and ui/apps/console/src/components/FormPage.tsx only if the dev measures it as a live create/edit renderer that judges visibleWhen over the same record (same defect, same helper; otherwise it stays a note).
Q1 (how form.tsx reaches the pass): route A, export from @object-ui/core's entry. Reasons read on 526282e: form.tsx already imports resolveFieldRuleState, evalFieldPredicate and nine other evaluator members from @object-ui/core (line 9), and ui/packages/core/src/evaluator/index.ts re-exports ./fieldRules.js whole; precedent for a new core member declared Clause-②: yes (widening): .changeset/34173-aggregate-bulk-rejection-one-outcome.md. Route B is refused: engine logic in @object-ui/components breaks the ui topology. Route C (server preview) stays out: a new REST surface for what the browser already computes.
Q2 (a visibleWhen reading an unservable formula): route A, the field is shown and required, with one warning, and the client does not refuse submit for it. That is the server's answer under ruling record 6956761249 item 3 ("A faulting or unevaluable visibleWhen falls back to today's always-required behaviour") and the client must not be stricter than the server (ADR-0124). Route B would refuse a write the server accepts once the field is filled.
Review owed: the Clause-②: yes declaration alone owes a TIER_DEFAULT contract record (contract-review.md), run by the seat side, plus L1-a.
{
"issue": 35033,
"status": "done",
"branch": "claude/project-thread-eisi2x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35116",
"head": "6334ae4d27",
"session": "session_01JQwxbWoeMbVAavTXkbV2Cn",
"premise_still_valid": true,
"summary": "Implemented route A per claim amendment 1 (6968806932). @object-ui/core now exports planObjectFormulas/ObjectFormulaPlan (one re-export line). The object form renderer reads the object's formulas through dataSource.getObjectSchema, beside usePatchingUpdateActions and only when a field declares a rule; ruleRecord is the formulas computed over (seed, then last-read record, then live values). A field row whose visibleWhen reads an unservable formula has that rule dropped with one console.warn, so the field is shown, stays required, and is no submit refusal. Update-action outcome records are recomputed after their patch. FormPage was measured as a live create/edit renderer (/forms/:name with ?recordId=, and /f/:slug) that judges object-level rules.visibleWhen over its own values with /meta/object fields in hand, so it gets the same pass (ruleValues for every rule site; the payload stays values). Patch changeset with the amended declarations. The pre-existing 28382 pin 'does not read or note anything on a create form' went red because the create form now makes one object read, the formula pass's. It was updated to toHaveBeenCalledTimes(1), and the note's absence is still asserted.",
"tests": "head ff1b6e7d09/6334ae4d27 (test-only delta): core pins Tests 10 passed (10); form pins form-formula-recompute-35033 Tests 5 passed (5); FormPage.conditionalRules harness Tests 29 passed (29) (25 existing + 4 new); the core evaluator, components form and FormPage* dirs ran 157/158 files, Tests 1609 passed, 1 failed, 44 skipped, and the one red was the 28382 create-read pin, fixed in 6334ae4d27, after which that file is 14/14; every ui test counting getObjectSchema reads (40 files): Test Files 40 passed (40), Tests 486 passed (486). Ablation through scripts/ablation-replace.mjs: each leg's anchor went x1 -> x0 with the blob changed, the tool restored it to the HEAD blob, and git diff HEAD was empty afterwards. form M1 (ruleRecord compute removed): 4/5 red (create, edit crossing, reverse, empty operand); form M2 (unservable strip removed): 1/5 red (hop); FormPage M1: 3/4 red; FormPage M2: 1/4 red. No dist involved: the ablated sources are imported relatively by the tests.",
"gates": "local: @object-ui/core build + type-check exit 0, @object-ui/components type-check exit 0 (one && chain; the lock VERDICT for that chain was 1 because the console leg failed). Console type-check NOT MEASURED: the console closure is unbuilt here (535 errors, all missing-module or derived from it; none in FormPage.tsx itself), declared to CI Type Check UI. eslint on the changed ui files: 0 errors. overlap-check VERDICT clean exit 0 before the third push and after the second (see deviations). Earlier on 7ed7b68968: check:nul-bytes, check:undeclared-dep-imports, check:test-source-alias, check:cross-package-test-inputs and check:published-files all exit 0. The rest of the derived list was not rerun locally on the final head; CI owns it. PR #35116 check-runs at report time on 6334ae4d27: 5 completed (skipped by selector: 18.x upgrade harness, Borrowed queue verdict, Packed-tarball smoke, Queue verdict, Schedule gate) and 16 in_progress (Check Changeset, Lint ·, Type Check ·, Governed Surface Queue Guard, PR-body guards, filter …) plus 1 queued: in_progress is the honest value. A broader local run (vitest packages/plugin-form/ plus packages/app-shell/src/views/) was still running past 22 min at report time: NOT MEASURED.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** touched",
"files_changed": [
".changeset/35033-form-recomputes-formulas.md",
"ui/apps/console/src/components/FormPage.conditionalRules.test.tsx",
"ui/apps/console/src/components/FormPage.tsx",
"ui/packages/components/src/renderers/form/__tests__/form-formula-recompute-35033.test.tsx",
"ui/packages/components/src/renderers/form/__tests__/form-required-for-action-28382.test.tsx",
"ui/packages/components/src/renderers/form/form.tsx",
"ui/packages/components/src/renderers/form/objectFormulas.ts",
"ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts",
"ui/packages/core/src/evaluator/formulaRecord.ts",
"ui/packages/core/src/evaluator/index.ts"
],
"deviations": [
"The pre-push hook refused the dispatch's model-named commit trailer (AGENTS.md). Every commit carries the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line instead.",
"The push of ff1b6e7d09 went out before overlap-check. It was run right after (VERDICT clean exit 0, no PR heads), and again before the push of 6334ae4d27.",
"A broad local vitest run (packages/plugin-form/ plus packages/app-shell/src/views/, recorded pid 13494, started under the verify lock) ran past 20 min and still holds the shared verify lock. SIGTERM to the recorded pid did not end it (bash waits on its child), and the session's permission classifier refused signals to the child. It will release the lock when vitest exits. Its result is NOT MEASURED."
],
"mcp_calls": "0",
"api_writes": "3 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (report 6968778389, round 1); relay pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/35116/assignees (os-warren), run 44239917376, read back 7883/7883 bytes identical; POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report). git push x3 are not REST writes",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced; recorded in the PR's Acceptance notes. dedupe words: requiredWhen formula field merged record No such key",
"carrier: none · noted, not filed — client formulas using today()/now() run on the browser clock with no timezone, while the server uses the execution context's timezone, so they can disagree near a day boundary. Unmeasured; in Acceptance notes."
]
}
{
"issue": 35033,
"status": "done",
"branch": "claude/project-thread-eisi2x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35116",
"head": "58358f201b",
"session": "session_01JQwxbWoeMbVAavTXkbV2Cn",
"premise_still_valid": true,
"summary": "Fix round on PR #35116. The 'Lint · CI, release & engine gates' lane on 6334ae4d27 was red on one gate, the Test-source alias gate (check:test-source-alias): job 134585242808 says 'lane-verdict: 64 passed, 1 red'. Root cause: the gate judges the test files a change adds or edits, and both form-formula-recompute-35033.test.tsx (added) and form-required-for-action-28382.test.tsx (edited) reach react-page.tsx's dynamic import('@object-ui/react-runtime') through the renderers barrel without paying that load at module top. This is caused by the diff, not by the base: the gate does not judge unchanged files, and the failure names only these two files. Fix in 58358f201b: the module-top side-effect import the gate prescribes, with one comment line, the same shape as page-print-paper-34228.test.tsx. Earlier rounds: route A per claim amendment 1 (planObjectFormulas exported from @object-ui/core, wired into form.tsx and FormPage.tsx; an unservable visibleWhen is shown and required, with no submit refusal).",
"tests": "Before, on 6334ae4d27 locally: pnpm check:test-source-alias exit 1, with check-test-source-alias FAILED and the same two failures as CI (both files reach import('@object-ui/react-runtime') via the renderers barrel). After, on 58358f201b: exit 0, 'check-test-source-alias OK — 123 packages with tests scanned'. Both edited files under the verify lock: Test Files 2 passed (2), Tests 19 passed (19) (5 + 14). Earlier-round evidence is unchanged: core pins 10/10, FormPage harness 29/29, the 40 getObjectSchema-counting files 486/486, and the four ablation legs all red and restored to the HEAD blob.",
"gates": "local on 58358f201b: check:test-source-alias exit 0 (it exited 1 on 6334ae4d27), overlap-check VERDICT clean exit 0 before the push. CI on 6334ae4d27: 'Lint · CI, release & engine gates' was failure, with only Test-source alias gate red. The other lanes were in_progress at the last read and are not re-read here. CI on 58358f201b: just pushed, so its check-runs are in_progress. Console type-check is still NOT MEASURED locally and is declared to CI Type Check UI.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** touched",
"files_changed": [
".changeset/35033-form-recomputes-formulas.md",
"ui/apps/console/src/components/FormPage.conditionalRules.test.tsx",
"ui/apps/console/src/components/FormPage.tsx",
"ui/packages/components/src/renderers/form/__tests__/form-formula-recompute-35033.test.tsx",
"ui/packages/components/src/renderers/form/__tests__/form-required-for-action-28382.test.tsx",
"ui/packages/components/src/renderers/form/form.tsx",
"ui/packages/components/src/renderers/form/objectFormulas.ts",
"ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts",
"ui/packages/core/src/evaluator/formulaRecord.ts",
"ui/packages/core/src/evaluator/index.ts"
],
"deviations": [
"The pre-push hook refused the dispatch's model-named commit trailer (AGENTS.md). Every commit carries the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line instead.",
"The push of ff1b6e7d09 went out before overlap-check. It was run right after (VERDICT clean exit 0, no PR heads), and again before the push of 6334ae4d27.",
"The stray local vitest run (pid 13494) has exited: ps lists no such pid, and os-verify-lock --status reads 'state: lock is free', 'queue: empty'. Its log has no summary line, so its result remains NOT MEASURED. The worktree is kept for the next fix round; node_modules has not been removed."
],
"mcp_calls": "0",
"api_writes": "4 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (report 6968778389, round 1); relay pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/35116/assignees (os-warren), run 44239917376, read back 7883/7883 bytes identical; POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report). git push x4 are not REST writes; plus POST /repos/objectstack-ai/objectstack/issues/35033/comments (this fix-round os-dev-report, head moved)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced; recorded in the PR's Acceptance notes. dedupe words: requiredWhen formula field merged record No such key",
"carrier: none · noted, not filed — client formulas using today()/now() run on the browser clock with no timezone, while the server uses the execution context's timezone, so they can disagree near a day boundary. Unmeasured; in Acceptance notes."
]
}
Regraded p1 → p2 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
What a new user or a prospect meets first (looks and the main flow), the cloud core (Turso, hosted sign-up and onboarding, hosted install and upgrade, plans) and a developer's first contact come first.
Data loss or a permission breach in normal use stays first.
Details and rare configurations are improved over time.
Internal items are frozen.
Why this card: detail / rare configuration: a formula-driven visibleWhen on a required field.
{
"issue": 35033,
"status": "done",
"branch": "claude/project-thread-eisi2x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35116",
"head": "d9e2f13248",
"summary": "L1-a option (b) round. Changeset: dropped the two server clauses ('the field stayed hidden while the server required it'; 'which is how the server will judge the same predicate once #34905's server half ships'), Clause-② and Metadata-protocol lines unchanged. 28382 test retitled to 'makes one object read on a create form, the formula pass's, and notes nothing' (title only). PR body carries the same two clauses (lines 12, 13, 23) but was NOT patched: the relay refused a body without a signature (first-line signature or a last-line signed trailer), and a resend with the trailer appended after the footer was refused by the session's permission classifier. Live body unchanged; edited body held for the seat.",
"tests": "form-required-for-action-28382.test.tsx under the lock: VERDICT command-exit 0, Test Files 1 passed (1), Tests 14 passed (14) at d9e2f13248.",
"gates": "dispatch-gates --commands at d9e2f13248 (38 derived); delta subset run, each exit 0: check-changeset-no-major --base origin/main, check-empty-changeset --base origin/main and --self-test, check:changeset-gate-self-tests, check-closing-keyword-parity, check:closed-ceremony-text, check:nul-bytes, check:test-source-alias, check:published-files, check:adr-anchors. overlap-check --branch=HEAD: VERDICT clean exit 0 (origin/main and #35118 merge cleanly). CI on d9e2f13248: Governed Surface Queue Guard success; Check Changeset, Lint, Type Check, PR-body guards in_progress.",
"mcp_calls": "0",
"api_writes": "2 attempted: git push (claude/project-thread-eisi2x 58358f201b..d9e2f13248); relay issue_patch #35116 REFUSED by relay (no write); plus this comment",
"security_findings": "none",
"out_of_scope_findings": []
}
{
"issue": 35033,
"status": "done",
"branch": "claude/project-thread-eisi2x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35116",
"head": "7b53148564",
"round": "contract-review S1 + N1 fix round on d9e2f13248",
"summary": "S1: the formula pass now binds the acting user from the form's predicate scope (current_user), as objectql applyFormulaPlan binds it on both the read path (main 958ee03594) and the write path's formulaValuesFor (#34978 head 8248f9ff54): id and positions only, through the engine's EvalUser factory. current_user, user and ctx compute. current_user.can() stays unservable. os stays unservable (the server binds os.org from the tenant, which the form does not hold). Every other root but record stays unservable. With no user held (no scope, or a signed-out null id), user-root formulas stay unservable. The form renderer (objectFormulas.ts hook) and FormPage both pass their predicate scope. Module doc comment and helper docs are corrected. N1: the update-action outcome recompute is pinned.",
"tests": "At 7b53148564, under the lock, 4 files: Test Files 4 passed (4), Tests 63 passed (63). Core 11 (1 new), form 8 (3 new: current_user.id computed and hidden when cleanly false, then shown and required; can() shown and required with a user bound; N1 outcome note), FormPage 30 (1 new: current_user.id), 28382 14. Ablations, each restored with git diff HEAD empty and the HEAD blob hash equal. B1 binding (evaluate without user): 3 red. B2 classification (user roots never bound): 3 red. N1 outcome recompute removed: 1 red. The first B1 attempt was a no-op: ablation-replace refused it because the replacement text occurs inside the anchor, so nothing ran. It was re-run as B1b with a distinct replacement.",
"gates": "Each exit 0: core type-check; components type-check (after a core build: the stale dist .d.ts first gave TS2554); check:test-source-alias; check:nul-bytes; check-empty-changeset; eslint on the 6 changed files (0 errors, 33 warnings, all in the files' existing patterns). overlap-check: VERDICT clean exit 0. Console type-check NOT MEASURED: its closure is unbuilt; CI Type Check UI owns it. CI on 7b53148564: in progress at report time.",
"mcp_calls": "0",
"api_writes": "git push (d9e2f13248..7b53148564) and this comment",
"security_findings": "none",
"out_of_scope_findings": []
}
{
"issue": 35033,
"status": "done",
"branch": "claude/project-thread-eisi2x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35116",
"head": "99776d18e9",
"round": "Q2 route B on 7b53148564",
"summary": "The client's unservable set is now the server's (objectql unservableReason on #34978) plus the two things the server binds and the form cannot hold: os (for os.org) and current_user.can(). The user roots (current_user, user, ctx) are unservable only while the form holds no acting user. A formula reading a root neither side binds (previous, vars, features, and the rest) is evaluated, faults to null, and the rule is judged on that null, as on #34978's write path. Updated: the module doc comments in formulaRecord.ts and objectFormulas.ts, and the changeset paragraph, which had said 'reads a scope root other than record' and now names the user binding and the null rule for unbound roots.",
"tests": "At 99776d18e9, under the lock: core type-check, core build and components type-check all passed; then 4 files gave Test Files 4 passed (4), Tests 64 passed (64). New pin (core): previous, vars and features, with and without a user, are not unservable, compute to null, and are judged on null (gated hidden, the null-reading rule shown). Ablation R1 (previous, vars and features put back into the user-bound unservable set) turned 2 red: the new pin and the binding pin. Restored: git diff HEAD empty and the HEAD blob hash matches.",
"gates": "Each exit 0: check:test-source-alias, check:nul-bytes, check-empty-changeset, check-changeset-no-major, and eslint on the 3 changed source files (0 errors). overlap-check: VERDICT clean exit 0. Console type-check: NOT MEASURED (closure unbuilt; owned by CI Type Check UI). CI on 99776d18e9: in progress at report time.",
"mcp_calls": "0",
"api_writes": "git push (7b53148564..99776d18e9) and this comment",
"security_findings": "none",
"out_of_scope_findings": []
}
Landing refused by the session classifier · 2026-11-18T06:48Z
PR #35116 is ready to land at head 99776d18e96b1b0c6e939264bbaa40dcee7dd938: L1-a delta ACCEPT 6971265570, TIER_DEFAULT contract delta record PASS (S1 closed), 45 success + 13 expected skips, not governed (0 of 10 paths), 1,238 lines, K = 11, merges cleanly into origin/main.
Command: node scripts/pm/label-write.mjs --repo objectstack-ai/objectstack --issue 35116 --comment-file <landing verdict> --land (landing comment, then pr_ready and automerge_enable through the relay).
Refusal: this card thread's auto-mode classifier denied it before anything was sent ("Destructive or Unwanted Actions"). Nothing was written; the PR is still a draft with no auto-merge.
Per landing-operations.md this thread stops here and does not respell the command. Landing needs the maintainer's word in this thread, or the seat thread lands it.
PR #35116 merged through the merge queue (2026-11-18 09:30Z); Fixes #35033 closed this card as completed. The form now recomputes the object's formula fields from the live inputs before judging visibleWhen / requiredWhen / readonlyWhen (object form renderer and console FormPage), pinned on create and on an edit that crosses the condition.
Labels: pm:dispatched and lease:o1-B dropped in this stroke.
Left for follow-up (not owed by this card): once #34978 lands, a card to drop its "Known limit (S3)" prose, which this merge makes stale. Noted, out of scope here: server field requiredWhen / readonlyWhen are judged without computing formulas; client today() / now() formulas use the browser clock.
domain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
Claim: PM loop round 1 · 2026-11-18T03:50Z
Session:
session_01JQwxbWoeMbVAavTXkbV2CnThread session:
session_01JQwxbWoeMbVAavTXkbV2CnAccount:
os-warrenBranch:
claude/project-thread-eisi2xWorktree:
objectstack-issue-35033Domain:
domain:uiSeat:
repo:objectstack#1(card thread, leaseo1-B; large card handed to the seat by area o1-B's W0 6968394620)File surface:
ui/packages/components/src/renderers/form/**(theruleRecordscope the field rules read),ui/packages/core/src/evaluator/**(a client formula pass over the canonical@objectstack/formulaengine, besidefieldRules.ts), the plumbing that hands the form its object's formula field definitions (ui/packages/plugin-form/src/**if the form config does not already carry them), new test files named for this card, root.changeset/. Stop on breach; explain in the report.Container & model:
L,mode:thread,model: TIER_DEFAULT (--tier: "no path-derived mandate" on the surface above, 2026-11-18, objectstack 526282e1),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
the form's rule scope in objectstack (ui/packages/components/src/renderers/form/form.tsx, ruleRecord: null seed, then the record as last read, then the live inputs; no formula is computed) | none: the server computes formulas for the write only, no read door serves a formula over unsaved inputs | every console and HotCRM user filling a create or edit form whose required field's visibleWhen reads a formulaThread-read: none
Premise: holds
Serial constraints cleared:
#35050 (area o1-B, claim names form.tsx prefill seeding; no PR yet) and PR #34978 (#34905, Tier H, open; adds a describe to ui/packages/core/src/evaluator/__tests__/fieldRules.test.ts, so this card's tests go in new files). overlap-check.mjs runs before every push.Pre-claim lane:
domain:ui: the fix lands inui/packages/components/src/renderers/form/form.tsxandui/packages/core/src/evaluator/(ui/** per the lane table), no server or spec path.Pre-claim deps: the card names no
Blocked-by:and no "after #N". It follows #34905; its server half (PR #34978) is open and not a dependency: the form's recompute is right on main and on #34978 alike. Hot fileform.tsxis shared with #35050's claim (no PR yet); queued by overlap-check, not by name.Prior rulings read:
check-prior-rulings.mjs --card 35033(381 hits, broad) and--terms recompute,recomputed,visibleWhen,formula,preview(34 hits): no ADR decides a client formula recompute or a server formula preview. Read and bound: #34905 ruling record 6956761249 (route A; item 3 "A faulting or unevaluablevisibleWhenfalls back to today's always-required behaviour"); contract review 6963978999 finding S3 (this card's origin); ADR-0124 (server enforces, client is courtesy); ui ADR-0036 (field rules evaluate with the canonical@objectstack/formulaengine). Thread: no comments.Premise reading on
origin/main526282e:ruleRecordinform.tsxseeds every fieldnull, overlays the record as last read, then the watched values;git grep -iE "applyFormula|computeFormula|recomputeFormula|formulaValues" -- ui/packagesoutside tests: 0 hits (positive control:ruleRecorditself, found). So a formula field readsnullon create and its served value on edit, as the card says.Route (the seat's choice, not a ruling; veto window): compute in the form, over the live inputs, with the same
@objectstack/formulaengine the field rules already use (ui ADR-0036), formulas in the platform's read order (formulaReadOrder). The form answers a formula that does not compute exactly as the server does on PR #34978's head (its body, seat S2 ruling): a fault a read shares (an operator over an empty operand, an undeclared key, a cycle) givesnulland the predicate is judged on thatnull; a value only a read can have (a hop,label(),current_user.can(), or a formula that reads one at any depth) makes the predicate unevaluable, so the field shows. No server preview door: it would add a public REST surface for what the canonical engine already does in the browser. No server, spec or ADR path is in this card; the "Known limit (S3)" prose #34978 adds is a follow-up the seat files once both have landed.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "needs_decision", "branch": "claude/project-thread-eisi2x", "pr": null, "head": "7ed7b68968", "session": "session_01JQwxbWoeMbVAavTXkbV2Cn", "premise_still_valid": true, "summary": "Premise measured on origin/main 526282e1 with the real form renderer (throwaway test, not committed): (1) create, formula field drawn on the form: a required field with visibleWhen 'record.big_order == true' stays hidden before and after qty/price cross the condition; (2) edit, served big_order=false: stays hidden after qty is edited across the condition; (3) create, formula NOT drawn on the form: the visibleWhen faults on the missing key, so the field is shown and every submit is refused ('Can't submit: the visibleWhen rule of Discount note could not be evaluated.', onSubmit called 0 times). Built and pushed the client formula pass as an internal module: ui/packages/core/src/evaluator/formulaRecord.ts (planObjectFormulas: the object's formulas in formulaReadOrder order, computed with the canonical ExpressionEngine; a fault a read shares reads null (empty operand, cycle, traversal conflict); unservable = reads through a reference, calls label(), reads a scope root other than record (so current_user.can() too), expression not served (FLS mask), or reads such a formula at any depth), with 10 pins. NOT wired into form.tsx: form.tsx lives in @object-ui/components, which can only reach core through core's package entry, so the wiring needs a new published export of @object-ui/core. The dispatch said not to add it and to report; os-dev.md lists a published-export change as needs_decision; the Edit that added it to ui/packages/core/src/evaluator/index.ts was also refused by the session's permission classifier. Did not open a PR: an unwired helper would be dead code until the export is decided.", "tests": "head 7ed7b68968: pnpm --dir ui exec vitest run --maxWorkers=2 packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts under os-verify-lock: VERDICT command-exit 0, Test Files 1 passed (1), Tests 10 passed (10). The pins cover read order, no mutation, empty operand null, cycle null, hop and its closure unservable, label()/current_user/masked expression unservable, unnameable predicate reads, and resolveFieldRuleState over the computed record: create hidden then shown+required, edit crossing shown+required, reverse edit hidden. Premise readings came from two throwaway form-renderer tests that were deleted before commit (git status clean). Ablation NOT MEASURED, reason: the recompute is not wired into the form yet, so no form pin exists to ablate.", "gates": "local: pnpm --filter @object-ui/core type-check exit 0 (tsc --listFiles shows the new test in tsconfig.test.json); eslint on both new files exit 0; node scripts/pm/overlap-check.mjs --branch=HEAD VERDICT clean exit 0; dispatch-gates --commands (stderr: objectstack-ai/objectstack at 7ed7b68968, 2 paths vs merge base 526282e11) derived 27 commands; ran check:nul-bytes 0, check:undeclared-dep-imports 0, check:test-source-alias 0, check:cross-package-test-inputs 0, check:published-files 0; the other 22 are NOT MEASURED, reason: no PR, so no CI run; to be run when the wiring lands", "dogfood_battery": "n/a — no PR, no `!` in a title, no (narrowing) arm", "line_budget": "n/a — no skills/** touched", "files_changed": ["ui/packages/core/src/evaluator/formulaRecord.ts", "ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts"], "deviations": [ "The dispatch's commit trailer 'Co-Authored-By: Claude Opus 5.5' was refused by the repository pre-push hook (no model identifier in the trailer pair, AGENTS.md). The unpushed commit was reworded to the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line before the first push. Nothing was force-pushed.", "The branch claude/project-thread-eisi2x already existed locally at origin/main with no commits of its own, so the worktree was added on it instead of with -b." ], "mcp_calls": "0", "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report, via scripts/pm/post-stamped.mjs); git push is not a REST write", "open_questions": [ { "question": "How should the form renderer (@object-ui/components) reach the client formula pass that lives in @object-ui/core?", "options": [ "A: Export planObjectFormulas and ObjectFormulaPlan from @object-ui/core's entry (one line in ui/packages/core/src/evaluator/index.ts), and the claim amends to 'Clause-②: yes (widening)' (precedent: .changeset/34173-aggregate-bulk-rejection-one-outcome.md declared a new @object-ui/core member that way). Then the wiring stays inside the claimed surface: a hook beside actionRequirements.ts reads the served object through dataSource.getObjectSchema, which is how usePatchingUpdateActions already reads it, so no plugin-form change is needed because every host passes objectName. ruleRecord becomes plan.compute(seed + previous + watched). A field row whose visibleWhen reads an unservable formula has that visibleWhen dropped, with one console.warn, so it is shown without tripping the client's ADR-0137 D2 submit refusal. Then come form pins, the ablation table and a patch changeset. Cost: about 150 lines plus about 4 form pins, one more round.", "B: Keep it unexported: move the helper into @object-ui/components and add @objectstack/formula to its dependencies. Clause-② stays no, but this touches ui/packages/components/package.json and pnpm-lock.yaml, which are outside the claimed surface, and puts engine logic in the package the ui/AGENTS.md topology table calls 'Pure UI. No business logic'. Similar cost to A.", "C: A server preview door that computes formulas over unsaved inputs. This adds a public REST surface and a server path that this card excludes. It is the most expensive option and the canonical engine already runs in the browser." ], "recommendation": "A. Core is the engine package in the ui topology, it already depends on @objectstack/formula, and the dispatch's own landing names core/src/evaluator plus form.tsx, which cannot be joined without an entry export. Axes were not supplied with the dispatch, so this recommendation is argued on cost, contract and topology only." }, { "question": "For a visibleWhen reading an unservable formula, should the client show the field without refusing submit, or treat it as a fault?", "options": [ "A: Shown, no submit refusal (drop the visibleWhen for that row, warn once). This matches the server, which counts the predicate as shown and keeps the field required.", "B: Fault. Shown, but the client's ADR-0137 D2 refusal then blocks every submit of the form, which is stricter than the server (ADR-0124)." ], "recommendation": "A, because a client fault refuses the whole write while the server accepts it once the field is filled." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — ui/apps/console/src/components/FormPage.tsx, the second FormView renderer, judges visibleWhen over its own values with no formula pass either. Unmeasured, so it is not a filing; after the decision it belongs to this card's family or to its follow-up. dedupe words: FormPage visibleWhen formula recompute", "carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced. dedupe words: requiredWhen formula field merged record No such key" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
Claim amendment 1 · 2026-11-18T04:11Z (amends claim 6968471929 after dev report 6968778389, which returned
needs_decisionwith two questions; both are answered here as seat routing, not as maintainer rulings, veto window open)Clause-②: yes (widening) — one new member on the
@object-ui/corepackage entry (the client formula pass,ui/packages/core/src/evaluator/formulaRecord.ts), nothing removed or renamedMetadata-protocol: none
File surface: as in the claim, plus
ui/packages/core/src/evaluator/index.ts(the one re-export line),ui/packages/components/src/renderers/form/**hooks besideform.tsx, andui/apps/console/src/components/FormPage.tsxonly if the dev measures it as a live create/edit renderer that judgesvisibleWhenover the same record (same defect, same helper; otherwise it stays a note).Q1 (how
form.tsxreaches the pass): route A, export from@object-ui/core's entry. Reasons read on 526282e:form.tsxalready importsresolveFieldRuleState,evalFieldPredicateand nine other evaluator members from@object-ui/core(line 9), andui/packages/core/src/evaluator/index.tsre-exports./fieldRules.jswhole; precedent for a new core member declaredClause-②: yes (widening):.changeset/34173-aggregate-bulk-rejection-one-outcome.md. Route B is refused: engine logic in@object-ui/componentsbreaks the ui topology. Route C (server preview) stays out: a new REST surface for what the browser already computes.Q2 (a
visibleWhenreading an unservable formula): route A, the field is shown and required, with one warning, and the client does not refuse submit for it. That is the server's answer under ruling record 6956761249 item 3 ("A faulting or unevaluablevisibleWhenfalls back to today's always-required behaviour") and the client must not be stricter than the server (ADR-0124). Route B would refuse a write the server accepts once the field is filled.Review owed: the
Clause-②: yesdeclaration alone owes a TIER_DEFAULT contract record (contract-review.md), run by the seat side, plus L1-a.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "done", "branch": "claude/project-thread-eisi2x", "pr": "https://github.com/objectstack-ai/objectstack/pull/35116", "head": "6334ae4d27", "session": "session_01JQwxbWoeMbVAavTXkbV2Cn", "premise_still_valid": true, "summary": "Implemented route A per claim amendment 1 (6968806932). @object-ui/core now exports planObjectFormulas/ObjectFormulaPlan (one re-export line). The object form renderer reads the object's formulas through dataSource.getObjectSchema, beside usePatchingUpdateActions and only when a field declares a rule; ruleRecord is the formulas computed over (seed, then last-read record, then live values). A field row whose visibleWhen reads an unservable formula has that rule dropped with one console.warn, so the field is shown, stays required, and is no submit refusal. Update-action outcome records are recomputed after their patch. FormPage was measured as a live create/edit renderer (/forms/:name with ?recordId=, and /f/:slug) that judges object-level rules.visibleWhen over its own values with /meta/object fields in hand, so it gets the same pass (ruleValues for every rule site; the payload stays values). Patch changeset with the amended declarations. The pre-existing 28382 pin 'does not read or note anything on a create form' went red because the create form now makes one object read, the formula pass's. It was updated to toHaveBeenCalledTimes(1), and the note's absence is still asserted.", "tests": "head ff1b6e7d09/6334ae4d27 (test-only delta): core pins Tests 10 passed (10); form pins form-formula-recompute-35033 Tests 5 passed (5); FormPage.conditionalRules harness Tests 29 passed (29) (25 existing + 4 new); the core evaluator, components form and FormPage* dirs ran 157/158 files, Tests 1609 passed, 1 failed, 44 skipped, and the one red was the 28382 create-read pin, fixed in 6334ae4d27, after which that file is 14/14; every ui test counting getObjectSchema reads (40 files): Test Files 40 passed (40), Tests 486 passed (486). Ablation through scripts/ablation-replace.mjs: each leg's anchor went x1 -> x0 with the blob changed, the tool restored it to the HEAD blob, and git diff HEAD was empty afterwards. form M1 (ruleRecord compute removed): 4/5 red (create, edit crossing, reverse, empty operand); form M2 (unservable strip removed): 1/5 red (hop); FormPage M1: 3/4 red; FormPage M2: 1/4 red. No dist involved: the ablated sources are imported relatively by the tests.", "gates": "local: @object-ui/core build + type-check exit 0, @object-ui/components type-check exit 0 (one && chain; the lock VERDICT for that chain was 1 because the console leg failed). Console type-check NOT MEASURED: the console closure is unbuilt here (535 errors, all missing-module or derived from it; none in FormPage.tsx itself), declared to CI Type Check UI. eslint on the changed ui files: 0 errors. overlap-check VERDICT clean exit 0 before the third push and after the second (see deviations). Earlier on 7ed7b68968: check:nul-bytes, check:undeclared-dep-imports, check:test-source-alias, check:cross-package-test-inputs and check:published-files all exit 0. The rest of the derived list was not rerun locally on the final head; CI owns it. PR #35116 check-runs at report time on 6334ae4d27: 5 completed (skipped by selector: 18.x upgrade harness, Borrowed queue verdict, Packed-tarball smoke, Queue verdict, Schedule gate) and 16 in_progress (Check Changeset, Lint ·, Type Check ·, Governed Surface Queue Guard, PR-body guards, filter …) plus 1 queued: in_progress is the honest value. A broader local run (vitest packages/plugin-form/ plus packages/app-shell/src/views/) was still running past 22 min at report time: NOT MEASURED.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "n/a — no skills/** touched", "files_changed": [ ".changeset/35033-form-recomputes-formulas.md", "ui/apps/console/src/components/FormPage.conditionalRules.test.tsx", "ui/apps/console/src/components/FormPage.tsx", "ui/packages/components/src/renderers/form/__tests__/form-formula-recompute-35033.test.tsx", "ui/packages/components/src/renderers/form/__tests__/form-required-for-action-28382.test.tsx", "ui/packages/components/src/renderers/form/form.tsx", "ui/packages/components/src/renderers/form/objectFormulas.ts", "ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts", "ui/packages/core/src/evaluator/formulaRecord.ts", "ui/packages/core/src/evaluator/index.ts" ], "deviations": [ "The pre-push hook refused the dispatch's model-named commit trailer (AGENTS.md). Every commit carries the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line instead.", "The push of ff1b6e7d09 went out before overlap-check. It was run right after (VERDICT clean exit 0, no PR heads), and again before the push of 6334ae4d27.", "A broad local vitest run (packages/plugin-form/ plus packages/app-shell/src/views/, recorded pid 13494, started under the verify lock) ran past 20 min and still holds the shared verify lock. SIGTERM to the recorded pid did not end it (bash waits on its child), and the session's permission classifier refused signals to the child. It will release the lock when vitest exits. Its result is NOT MEASURED." ], "mcp_calls": "0", "api_writes": "3 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (report 6968778389, round 1); relay pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/35116/assignees (os-warren), run 44239917376, read back 7883/7883 bytes identical; POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report). git push x3 are not REST writes", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced; recorded in the PR's Acceptance notes. dedupe words: requiredWhen formula field merged record No such key", "carrier: none · noted, not filed — client formulas using today()/now() run on the browser clock with no timezone, while the server uses the execution context's timezone, so they can disagree near a day boundary. Unmeasured; in Acceptance notes." ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "done", "branch": "claude/project-thread-eisi2x", "pr": "https://github.com/objectstack-ai/objectstack/pull/35116", "head": "58358f201b", "session": "session_01JQwxbWoeMbVAavTXkbV2Cn", "premise_still_valid": true, "summary": "Fix round on PR #35116. The 'Lint · CI, release & engine gates' lane on 6334ae4d27 was red on one gate, the Test-source alias gate (check:test-source-alias): job 134585242808 says 'lane-verdict: 64 passed, 1 red'. Root cause: the gate judges the test files a change adds or edits, and both form-formula-recompute-35033.test.tsx (added) and form-required-for-action-28382.test.tsx (edited) reach react-page.tsx's dynamic import('@object-ui/react-runtime') through the renderers barrel without paying that load at module top. This is caused by the diff, not by the base: the gate does not judge unchanged files, and the failure names only these two files. Fix in 58358f201b: the module-top side-effect import the gate prescribes, with one comment line, the same shape as page-print-paper-34228.test.tsx. Earlier rounds: route A per claim amendment 1 (planObjectFormulas exported from @object-ui/core, wired into form.tsx and FormPage.tsx; an unservable visibleWhen is shown and required, with no submit refusal).", "tests": "Before, on 6334ae4d27 locally: pnpm check:test-source-alias exit 1, with check-test-source-alias FAILED and the same two failures as CI (both files reach import('@object-ui/react-runtime') via the renderers barrel). After, on 58358f201b: exit 0, 'check-test-source-alias OK — 123 packages with tests scanned'. Both edited files under the verify lock: Test Files 2 passed (2), Tests 19 passed (19) (5 + 14). Earlier-round evidence is unchanged: core pins 10/10, FormPage harness 29/29, the 40 getObjectSchema-counting files 486/486, and the four ablation legs all red and restored to the HEAD blob.", "gates": "local on 58358f201b: check:test-source-alias exit 0 (it exited 1 on 6334ae4d27), overlap-check VERDICT clean exit 0 before the push. CI on 6334ae4d27: 'Lint · CI, release & engine gates' was failure, with only Test-source alias gate red. The other lanes were in_progress at the last read and are not re-read here. CI on 58358f201b: just pushed, so its check-runs are in_progress. Console type-check is still NOT MEASURED locally and is declared to CI Type Check UI.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "n/a — no skills/** touched", "files_changed": [ ".changeset/35033-form-recomputes-formulas.md", "ui/apps/console/src/components/FormPage.conditionalRules.test.tsx", "ui/apps/console/src/components/FormPage.tsx", "ui/packages/components/src/renderers/form/__tests__/form-formula-recompute-35033.test.tsx", "ui/packages/components/src/renderers/form/__tests__/form-required-for-action-28382.test.tsx", "ui/packages/components/src/renderers/form/form.tsx", "ui/packages/components/src/renderers/form/objectFormulas.ts", "ui/packages/core/src/evaluator/__tests__/formulaRecord-35033.test.ts", "ui/packages/core/src/evaluator/formulaRecord.ts", "ui/packages/core/src/evaluator/index.ts" ], "deviations": [ "The pre-push hook refused the dispatch's model-named commit trailer (AGENTS.md). Every commit carries the model-free 'Co-authored-by: Claude' trailer (noreply address) plus the Claude-Session line instead.", "The push of ff1b6e7d09 went out before overlap-check. It was run right after (VERDICT clean exit 0, no PR heads), and again before the push of 6334ae4d27.", "The stray local vitest run (pid 13494) has exited: ps lists no such pid, and os-verify-lock --status reads 'state: lock is free', 'queue: empty'. Its log has no summary line, so its result remains NOT MEASURED. The worktree is kept for the next fix round; node_modules has not been removed." ], "mcp_calls": "0", "api_writes": "4 — POST /repos/objectstack-ai/objectstack/issues/35033/comments (report 6968778389, round 1); relay pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/35116/assignees (os-warren), run 44239917376, read back 7883/7883 bytes identical; POST /repos/objectstack-ai/objectstack/issues/35033/comments (this os-dev-report). git push x4 are not REST writes; plus POST /repos/objectstack-ai/objectstack/issues/35033/comments (this fix-round os-dev-report, head moved)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — on the server, field requiredWhen/readonlyWhen are judged over the merged record without computing formulas (formulaValues feeds only the required-when-shown visibleWhen on PR #34978's head). Read only, not reproduced; recorded in the PR's Acceptance notes. dedupe words: requiredWhen formula field merged record No such key", "carrier: none · noted, not filed — client formulas using today()/now() run on the browser clock with no timezone, while the server uses the execution context's timezone, so they can disagree near a day boundary. Unmeasured; in Acceptance notes." ] }objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Regraded p1 → p2 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
Why this card: detail / rare configuration: a formula-driven visibleWhen on a required field.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "done", "branch": "claude/project-thread-eisi2x", "pr": "https://github.com/objectstack-ai/objectstack/pull/35116", "head": "d9e2f13248", "summary": "L1-a option (b) round. Changeset: dropped the two server clauses ('the field stayed hidden while the server required it'; 'which is how the server will judge the same predicate once #34905's server half ships'), Clause-② and Metadata-protocol lines unchanged. 28382 test retitled to 'makes one object read on a create form, the formula pass's, and notes nothing' (title only). PR body carries the same two clauses (lines 12, 13, 23) but was NOT patched: the relay refused a body without a signature (first-line signature or a last-line signed trailer), and a resend with the trailer appended after the footer was refused by the session's permission classifier. Live body unchanged; edited body held for the seat.", "tests": "form-required-for-action-28382.test.tsx under the lock: VERDICT command-exit 0, Test Files 1 passed (1), Tests 14 passed (14) at d9e2f13248.", "gates": "dispatch-gates --commands at d9e2f13248 (38 derived); delta subset run, each exit 0: check-changeset-no-major --base origin/main, check-empty-changeset --base origin/main and --self-test, check:changeset-gate-self-tests, check-closing-keyword-parity, check:closed-ceremony-text, check:nul-bytes, check:test-source-alias, check:published-files, check:adr-anchors. overlap-check --branch=HEAD: VERDICT clean exit 0 (origin/main and #35118 merge cleanly). CI on d9e2f13248: Governed Surface Queue Guard success; Check Changeset, Lint, Type Check, PR-body guards in_progress.", "mcp_calls": "0", "api_writes": "2 attempted: git push (claude/project-thread-eisi2x 58358f201b..d9e2f13248); relay issue_patch #35116 REFUSED by relay (no write); plus this comment", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "done", "branch": "claude/project-thread-eisi2x", "pr": "https://github.com/objectstack-ai/objectstack/pull/35116", "head": "7b53148564", "round": "contract-review S1 + N1 fix round on d9e2f13248", "summary": "S1: the formula pass now binds the acting user from the form's predicate scope (current_user), as objectql applyFormulaPlan binds it on both the read path (main 958ee03594) and the write path's formulaValuesFor (#34978 head 8248f9ff54): id and positions only, through the engine's EvalUser factory. current_user, user and ctx compute. current_user.can() stays unservable. os stays unservable (the server binds os.org from the tenant, which the form does not hold). Every other root but record stays unservable. With no user held (no scope, or a signed-out null id), user-root formulas stay unservable. The form renderer (objectFormulas.ts hook) and FormPage both pass their predicate scope. Module doc comment and helper docs are corrected. N1: the update-action outcome recompute is pinned.", "tests": "At 7b53148564, under the lock, 4 files: Test Files 4 passed (4), Tests 63 passed (63). Core 11 (1 new), form 8 (3 new: current_user.id computed and hidden when cleanly false, then shown and required; can() shown and required with a user bound; N1 outcome note), FormPage 30 (1 new: current_user.id), 28382 14. Ablations, each restored with git diff HEAD empty and the HEAD blob hash equal. B1 binding (evaluate without user): 3 red. B2 classification (user roots never bound): 3 red. N1 outcome recompute removed: 1 red. The first B1 attempt was a no-op: ablation-replace refused it because the replacement text occurs inside the anchor, so nothing ran. It was re-run as B1b with a distinct replacement.", "gates": "Each exit 0: core type-check; components type-check (after a core build: the stale dist .d.ts first gave TS2554); check:test-source-alias; check:nul-bytes; check-empty-changeset; eslint on the 6 changed files (0 errors, 33 warnings, all in the files' existing patterns). overlap-check: VERDICT clean exit 0. Console type-check NOT MEASURED: its closure is unbuilt; CI Type Check UI owns it. CI on 7b53148564: in progress at report time.", "mcp_calls": "0", "api_writes": "git push (d9e2f13248..7b53148564) and this comment", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
os-dev-report
{ "issue": 35033, "status": "done", "branch": "claude/project-thread-eisi2x", "pr": "https://github.com/objectstack-ai/objectstack/pull/35116", "head": "99776d18e9", "round": "Q2 route B on 7b53148564", "summary": "The client's unservable set is now the server's (objectql unservableReason on #34978) plus the two things the server binds and the form cannot hold: os (for os.org) and current_user.can(). The user roots (current_user, user, ctx) are unservable only while the form holds no acting user. A formula reading a root neither side binds (previous, vars, features, and the rest) is evaluated, faults to null, and the rule is judged on that null, as on #34978's write path. Updated: the module doc comments in formulaRecord.ts and objectFormulas.ts, and the changeset paragraph, which had said 'reads a scope root other than record' and now names the user binding and the null rule for unbound roots.", "tests": "At 99776d18e9, under the lock: core type-check, core build and components type-check all passed; then 4 files gave Test Files 4 passed (4), Tests 64 passed (64). New pin (core): previous, vars and features, with and without a user, are not unservable, compute to null, and are judged on null (gated hidden, the null-reading rule shown). Ablation R1 (previous, vars and features put back into the user-bound unservable set) turned 2 red: the new pin and the binding pin. Restored: git diff HEAD empty and the HEAD blob hash matches.", "gates": "Each exit 0: check:test-source-alias, check:nul-bytes, check-empty-changeset, check-changeset-no-major, and eslint on the 3 changed source files (0 errors). overlap-check: VERDICT clean exit 0. Console type-check: NOT MEASURED (closure unbuilt; owned by CI Type Check UI). CI on 99776d18e9: in progress at report time.", "mcp_calls": "0", "api_writes": "git push (7b53148564..99776d18e9) and this comment", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
Landing refused by the session classifier · 2026-11-18T06:48Z
PR #35116 is ready to land at head
99776d18e96b1b0c6e939264bbaa40dcee7dd938: L1-a delta ACCEPT 6971265570,TIER_DEFAULTcontract delta record PASS (S1 closed), 45 success + 13 expected skips, not governed (0 of 10 paths), 1,238 lines, K = 11, merges cleanly into origin/main.Command:
node scripts/pm/label-write.mjs --repo objectstack-ai/objectstack --issue 35116 --comment-file <landing verdict> --land(landing comment, thenpr_readyandautomerge_enablethrough the relay).Refusal: this card thread's auto-mode classifier denied it before anything was sent ("Destructive or Unwanted Actions"). Nothing was written; the PR is still a draft with no auto-merge.
Per landing-operations.md this thread stops here and does not respell the command. Landing needs the maintainer's word in this thread, or the seat thread lands it.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWoeMbVAavTXkbV2Cn
Close-out · 2026-11-18T09:31Z
PR #35116 merged through the merge queue (2026-11-18 09:30Z);
Fixes #35033closed this card as completed. The form now recomputes the object's formula fields from the live inputs before judgingvisibleWhen/requiredWhen/readonlyWhen(object form renderer and console FormPage), pinned on create and on an edit that crosses the condition.Labels:
pm:dispatchedandlease:o1-Bdropped in this stroke.Left for follow-up (not owed by this card): once #34978 lands, a card to drop its "Known limit (S3)" prose, which this merge makes stale. Noted, out of scope here: server field
requiredWhen/readonlyWhenare judged without computing formulas; clienttoday()/now()formulas use the browser clock.