Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Source: ADR-0159 (PR #36957), Execution plan row ④. Parent: #36868, card ④ of five (this repository's examples and docs; the published skill is its own domain:skills card, #37105, and HotCRM's sources are HotCRM's card).
Blocked-by: #37086
Blocked-by: #37087
Metadata-protocol: none
Clause-②: no
Grading: area:build · Enhancement · first-party examples and docs author forms as form items · app authors and AI authors · evidence: git grep -lE "formViews|viewKind: 'form'" -- examples content/docs at main 62692b7f8b (examples: app-crm lead view, three showcase views, the showcase contact object and translations; docs: the forms, public data collection, views, create-versus-edit, i18n-standard and CLI pages). p2.
Why this waits for card ③
Until card ③ lands, the shipped console reads forms from view (the form page reads GET /api/v1/meta/view/NAME; Setup's page lists type view), and ADR-0159 D5 freezes view reads to the old shapes. A form moved to forms: before card ③ would answer not found when its action opens it and would drop out of Setup's list, with its switch. ⛔ Do not start this card beside card ③.
What to do
- Move every named form in
examples/that has a consumer (a public link, or an action of typeformtargeting it) from its view container toforms:, under the name it is served as today (the projection's name:OBJECT.KEYfor aformViewsentry, the expansion's name for a container's defaultform), so no action target, link or stored override changes. Lists stay where they are.- Before the move:
examples/app-crm/src/views/lead.view.tsandexamples/app-showcase/src/ui/views/inquiry.view.tsboth publish/forms/contact-us. As old shapes that is first-match; asformitems ruled question 3 refuses the second at publish in any environment that installs both. Check whether any fixture, dogfood boot or CI job installs both example apps in one environment. If one does, stop and report: one of the two addresses must change, and that is a served address (name the checklist items that probe it).
- Before the move:
- Delete internal record forms nothing opens; their layout belongs to the object's
fieldGroups. List each deletion in the PR. The set is ADR-0159 D7's: a form in a record-form slot (the defaultform,formViews.default,formViews.create, an item withisDefault: trueor namedOBJECT.create) that declares nosharing.publicLinkand that no action of typeformtargets (the third part of D7's set, "not standing over a linked base", is carried at source level by theoverridesrule below). ⛔ A form that declares asharing.publicLinkis never deleted, switched on or off, in whatever slot: move it with itssharingblock as written.form-view-internal-not-loadedtestssharing.enabled, so it also reports a switched-off public form; do not take its report as the deletion list. ⛔ An item that declaresoverridesis never deleted on its own body either: with no link of its own, over a base form that declares one, it is what keeps that address closed (ADR-0159 D7-b). Move it with its declaration. - Move the translation tails of the moved forms to the
formsfamily, and re-key by hand alabelordescriptionwritten under_views.KEYfor a moved form (they are not form tails and no conversion moves them, ADR-0159 D8). - Rewrite the docs pages under
content/docsto teachforms:as the one way to declare a form, andviews:as lists. ⛔ No file underskills/**is in this card: the published skill is Skills teachforms:as the one way to declare a form, andviews:as lists only (ADR-0159, card ④s) #37105 (domain:skills, Tier H). - Update the platform checklist anchors that name moved symbols.
Done when
- On each example app,
GET /api/v1/meta/formreturns the same names before and after the move, and after it none is marked as projected (card ②'s read-envelope mark). git grep -lE "formViews|viewKind: 'form'" -- examples content/docs ':!**/CHANGELOG.md'(the generated references tree and the releases tree excluded) returns nothing but pages that describe the migration, listed in the PR. NodefineViewcontainer underexamples/keeps aform:member (the grep does not match that shape; read each container).os validateon both example apps reports noform-view-internal-not-loadedand no consumer-less form warning.- Each example's public form answers at its address before and after (resolve and submit), and each moved action-opened form still opens.
- The i18n bundles regenerate clean (
node scripts/check-i18n-bundles.mjs --write, thenpnpm check:i18n). Skills-docs:line present in the PR body as the claim spells it, naming Skills teachforms:as the one way to declare a form, andviews:as lists only (ADR-0159, card ④s) #37105 for the skill.- A changeset per AGENTS.md Post-Task Checklist step 3 for each example package that carries a
CHANGELOG.md.
Not in this card
- HotCRM's sources (its own card in that repository).
- The published skill under
skills/**(Skills teachforms:as the one way to declare a form, andviews:as lists only (ADR-0159, card ④s) #37105). - No spec or server change; no tombstone.
Dedupe words: examples forms collection move, docs forms page form type.
Domain: left to triage — the surface is examples/** and content/docs/**. skills/** is not in it.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T19:32Z
forms:. This is teaching content, so it is a Task, not a Feature.Task.domain:docsadded. Labels kept: p2 ·pm:blocked(Blocked-by: #37086,#37087).62692b7f8b) · p2 (it finishes a dispatched topic) · size M.formitems (ADR-0159, card ②) #37086 and Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087 close.