Skip to content

docs + examples: bring guides and showcase current with 16.0 - #3359

Merged
os-zhuang merged 2 commits into
mainfrom
claude/v16-release-page-zdfgbw
Jul 20, 2026
Merged

docs + examples: bring guides and showcase current with 16.0#3359
os-zhuang merged 2 commits into
mainfrom
claude/v16-release-page-zdfgbw

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Follow-up to the v16 release-page work (#3322 / #3331 / #3357). An audit of the hand-written guides and the example apps against the 16.0 changes. Two separate commits.

Commit 1 — docs

The release page already covered 16.0; the guides lagged. Fixes 5 genuinely stale spots and fills the additive gaps.

Stale fixes

FileFix
automation/hooks.mdx, kernel/events.mdxctx.session comment/table said tenantIdorganizationId (#3290 removed the alias)
skills/objectstack-data/references/data-hooks.mddrop the leftover deprecated tenantId session field; correct "removed in v11" → v16
data-modeling/field-types.mdxreadonly is a server contract (stripped on INSERT+UPDATE, #2948/#3043), not a UI hint
data-modeling/formulas.mdxExpression envelope lists three dialects (cel/cron/template) — the js expression dialect was retired (#3278)

Additive

Commit 2 — examples (app-showcase)

Three shipped 16.0 features the showcase was missing. No breakage was found in the audit — the examples already ran clean on 16.0; these are additive demos. Every shape verified against @objectstack/spec schemas and mirrors an existing flow in the same file.

Verification

  • check:role-word, check:doc-authoring → OK. (Release-notes guard unaffected.)
  • Example shapes verified against the spec schemas: ApprovalNodeConfigSchema (behavior:'quorum' + minApprovals), TimeRelativeTriggerSchema (object/dateField/offsetDays/withinDays/filter: record<string,unknown>), ValidationSchemainitialStates + the events-gates-insert rule in rule-validator.ts.
  • The example typecheck/os validate runs in CI (no local node_modules in the worktree); I'm watching the PR and will fix any failure.

Note: as with the prior v16 PRs, Check Changeset will flag the pre-existing 16.0 major changesets on main — needs allow-major (or the #3342 RC-mode exemption).

🤖 Generated with Claude Code

https://claude.ai/code/session_01AHVoqyH9VAjmbyMN1Ri2jf


Generated by Claude Code

claude added 2 commits July 20, 2026 11:51
Audit of content/docs + skills against the 16.0 changes. Fixes 5 genuinely
stale spots and fills the additive gaps the guides were missing (the release
page already covered these; the guides lagged).
Stale fixes:
- automation/hooks.mdx, kernel/events.mdx: ctx.session comment/table said
tenantId — now organizationId (#3290 removed the alias).
- skills/objectstack-data/.../data-hooks.md: drop the leftover deprecated
tenantId field from the session type; correct 'removed in v11' -> v16.
- data-modeling/field-types.mdx: readonly is a server contract (stripped on
INSERT+UPDATE, #2948/#3043), not a UI hint.
- data-modeling/formulas.mdx: the Expression envelope lists three dialects
(cel/cron/template) — the js expression dialect was retired (#3278).
Additive:
- formulas.mdx: floor/ceil in the stdlib; date arithmetic is now a build
error (use daysBetween/addDays, #3306); a callout that dateField == today()
now matches (#3183).
- automation/approvals.mdx: server-computed decision_progress block + the
/system/approvals?request=<id> notification deep link.
- ui/translations.mdx: the _actions.<action>.resultDialog translation slot
(#3347) + a note on collab-notification/storage localization (#3354).
- protocol/kernel/runtime-capabilities.mdx: the transactionalBatch discovery
capability (#3298).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHVoqyH9VAjmbyMN1Ri2jf
…itialStates
Adds coverage for three shipped 16.0 features the showcase was missing (all
shapes verified against @objectstack/spec schemas; each mirrors an existing
flow in the same file):
- CommitteeQuorumFlow — a behavior:'quorum' approval requiring any 2-of-3
committee positions (manager/finance/legal) on a high-value expense report
(#3266 M-of-N), the collective-tally complement to ExpenseSignoffFlow's
per_group 会签.
- TaskDueReminderFlow — a type:'schedule' flow whose start node declares
config.timeRelative (showcase_task.due_date, offsetDays:[3,1], filter
status != done) to remind owners before a task is due (#1874).
- project_status_flow — adds initialStates:['planned'] (+ 'insert' in events)
so a project can only be created in 'planned', not born mid-flow (#3165).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHVoqyH9VAjmbyMN1Ri2jf
@vercel

vercelBot commented Jul 20, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentJul 20, 2026 11:54am

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation size/m labels Jul 20, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review July 20, 2026 12:04
@os-zhuang
os-zhuang merged commit d8b8354 into mainJul 20, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the claude/v16-release-page-zdfgbw branch July 20, 2026 12:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-zhuang@claude