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
Docs code samples the current @objectstack/spec refuses: the remaining view fragments in build/interface/views.mdx and the send_email flow action in build/automation/flows.mdx #307
Found while #301 was staged on 2026-10-06. #301 rewrites the two declaration samples in views.mdx to the defineView form and parse-checks them against @objectstack/spec 17.6.0 from npm. The same check, run on the samples #301 did not touch, finds more that do not work. Priority: P2. A reader who copies these gets a schema error.
Findings
build/interface/views.mdx, the remaining fragments.
The Kanban, Calendar, Gantt and other fragments omit the top-level columns that every list view requires.
"Common list options" sets fontWeight: 600, but the spec wants a string.
Wrapped as list views with data, spec 17.6.0 refuses each one.
Source: objectstack origin/mainpackages/spec/src/ui/view.zod.ts (ViewSchema; kanban.columns is required at about :1809).
build/automation/flows.mdx:54,250. These use action: 'send_email', which is not in FlowNodeAction. This was inferred by reading the code and has not been run.
Where a fragment is deliberately partial, a comment says what it omits, and the omitted parts are not invalid.
The flow sample uses an action the spec defines, or is rewritten to the documented email path. Cite the public objectstack source; never a private repository.
Found while #301 was staged on 2026-10-06. #301 rewrites the two declaration samples in
views.mdxto thedefineViewform and parse-checks them against@objectstack/spec17.6.0 from npm. The same check, run on the samples #301 did not touch, finds more that do not work. Priority: P2. A reader who copies these gets a schema error.Findings
build/interface/views.mdx, the remaining fragments.columnsthat every list view requires.fontWeight: 600, but the spec wants a string.data, spec 17.6.0 refuses each one.origin/mainpackages/spec/src/ui/view.zod.ts(ViewSchema;kanban.columnsis required at about:1809).build/automation/flows.mdx:54,250. These useaction: 'send_email', which is not inFlowNodeAction. This was inferred by reading the code and has not been run.Done looks like
@objectstack/spec. The check is run the way Docs polish from the 2026-10-06 audit: muted-text contrast, the License table on phones, FAQ formatting, search ranking, glossary order, licence/license spelling #301 did it: extract the published blocks, wrap them minimally, parse them, and quote the results in the PR.Order
After #301 lands. Consider whether a docs-sample parse gate is worth adding; propose it in the PR rather than building it unasked.
Generated by Claude Code