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
feat(scripts): hold every section landing index to its meta.json, and top up the two drifted ones (#11259)
* feat(scripts): hold every section landing index block to its meta.json (#10738)
Adds check-section-landing-index.mjs. A section's meta.json is the routing
source fumadocs builds the sidebar from; the landing page's
"## What's in this module" block is hand-kept beside it and nothing read the
two against each other, so it drifted in both directions one edit at a time
with every gate green (#9604 runtime-services, #10339 permissions,
#10737 ai).
The heading is the opt-in, not the rendering shape: 8 sections declare it,
4 as bullet lists and 4 as Card grids, and the gate reads both identically.
26 landing pages that declare no index block are not held.
Committed before the docs fixes so the red is reproducible at this commit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SPBxLsqQGCVL5z5UXvgipH
* fix(docs): top up the ui and data-modeling landing indexes, wire the gate into lint.yml (#10738)
content/docs/ui/index.mdx omitted react-pages, actions, reports and
translations, and listed views before pages. The react-pages omission is the
residual half of the P0 #10638 symptom: the deploy fix restored the page and
the sidebar, but the hand-kept grid never got its row, so
objectstack.ai/docs/ui still does not show React Pages.
content/docs/data-modeling/index.mdx omitted field-type-decision-tree and
validation-rules — a second real drift, found by the gate, outside the
population the card had measured.
permissions/index.mdx's drift note said nothing checks the two against each
other; that is no longer true, so it now names the gate.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SPBxLsqQGCVL5z5UXvgipH
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/docs/data-modeling/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,11 @@ That one definition is enough to get a persisted table, CRUD + query endpoints,
49
49
<Cardhref="/docs/data-modeling/objects"title="Objects"description="Object metadata: definition, options, and API operations" />
50
50
<Cardhref="/docs/data-modeling/fields"title="Fields"description="Field metadata and configuration" />
51
51
<Cardhref="/docs/data-modeling/field-types"title="Field Types"description="Gallery of every field type with examples" />
52
+
<Cardhref="/docs/data-modeling/field-type-decision-tree"title="Field Type Decision Tree"description="Choosing the right field type: flowchart, quick-reference table, and use cases" />
52
53
<Cardhref="/docs/data-modeling/relationships"title="Relationships & Lookups"description="Lookup, master-detail, and cross-object modeling" />
53
54
<Cardhref="/docs/data-modeling/object-extensions"title="Object Extensions"description="Add fields, validations, and indexes to an object another package owns" />
54
55
<Cardhref="/docs/data-modeling/validation"title="Validation"description="Validation metadata and CEL rule authoring" />
56
+
<Cardhref="/docs/data-modeling/validation-rules"title="Validation Rules"description="Per-type default validation, required properties, and constraints" />
55
57
<Cardhref="/docs/data-modeling/formulas"title="Expressions (CEL)"description="Formula fields and computed logic" />
Copy file name to clipboardExpand all lines: content/docs/permissions/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ alike — is [Declaring Capabilities](/docs/permissions/capabilities).
62
62
63
63
{/* Source of truth for this module's page set AND its order is meta.json in this directory — routing and the sidebar are built from it, and the list below mirrors it exactly, minus this page. */}
64
64
{/* The list is hand-kept on purpose: meta.json stores slugs only, so the link text and the glosses below exist nowhere else, and a generated list would lose them. */}
65
-
{/*Drift note: nothing checks the two against each other in either direction, so a page added to or removed from meta.json leaves this list silently stale — edit both in the same change. */}
65
+
{/*Checked since #10738: `node scripts/check-section-landing-index.mjs` holds this list's set AND order to meta.json in both directions, for every landing page carrying this heading. Link text and the glosses stay hand-written — the gate reads hrefs only. */}
66
66
67
67
-[Administrator Guide](/docs/permissions/administrator-guide) — the task-first manual for customer system administrators
0 commit comments