Skip to content

docs: action disabled/errorMessage/undoable + predicate scope + object-form screen wizard#2007

Merged
os-zhuang merged 1 commit into
mainfrom
docs/action-predicates-objectform-wizard
Jun 17, 2026
Merged

docs: action disabled/errorMessage/undoable + predicate scope + object-form screen wizard#2007
os-zhuang merged 1 commit into
mainfrom
docs/action-predicates-objectform-wizard

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Fills hand-written doc + authoring-skill gaps for action/flow capabilities
that shipped over the recent rounds but were undocumented. No code/spec change.

Changes

content/docs/protocol/objectui/actions.mdx

  • Add errorMessage and undoable to the interface field table and the
    Confirmation & Feedback list (with a worked Reassign example).
  • New Evaluation context subsection: action predicates are bare CEL
    evaluated against the record; record.<field> resolves identically on every
    surface (record_header, list_item, …) — narrower scope than
    record-alert conditions (no os.*).
  • Callout warning against ${…}/{…}-wrapped predicates.

content/docs/guides/metadata/flow.mdx

  • Document the screen node's object-form mode (objectName / mode /
    recordId / defaults / idVariable) and the atomic parent+child save / id
    rebind that powers multi-step object-form wizards (lead → account →
    opportunity).

skills/objectstack-ui/SKILL.md

  • Document disabled (CEL; greys out vs visible which hides), errorMessage,
    undoable, and the bare-CEL record.* predicate convention.

Why now

These pair with the recently-merged action work (custom messages, undoable,
CEL disabled/visible, object-form wizard) and the
evaluateCondition fix
that made bare-CEL predicates actually evaluate. The docs/skill already taught
bare CEL correctly — this fills the coverage gaps (the new fields + the
evaluation scope), it does not correct a now-false claim.

🤖 Generated with Claude Code

…t-form screen wizard

Fills hand-written doc + authoring-skill gaps for capabilities that shipped but
were undocumented:

- actions.mdx: add `errorMessage`/`undoable` to the field table and feedback
  list; add an "Evaluation context" subsection (predicates are bare CEL against
  the record; `record.<field>` resolves identically on every surface; narrower
  scope than record-alert's os.*); warn against `${…}`/`{…}`-wrapped predicates.
- flow.mdx: document the `screen` node's object-form mode (`objectName`/`mode`/
  `recordId`/`defaults`/`idVariable`) and the atomic parent+child save / id
  rebind that powers multi-step object-form wizards.
- skills/objectstack-ui: document `disabled` (CEL, greys vs `visible` hides),
  `errorMessage`, `undoable`, and the bare-CEL `record.*` predicate convention,
  with a worked Reassign example.

Docs/skill only; no shipped-package changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 17, 2026 5:41am

Request Review

@os-zhuang
os-zhuang merged commit 476af72 into main Jun 17, 2026
7 of 8 checks passed
@os-zhuang
os-zhuang deleted the docs/action-predicates-objectform-wizard branch June 17, 2026 05:41
@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling size/m labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant