Repository navigation
forms: as the one way to declare a form, and views: as lists only (ADR-0159, card ④s)#37105Description
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Source: ADR-0159 (PR #36957), Execution plan row ④ and D5 ("Skills and docs teach the new shape from card ④"). Parent: #36868, card ④ of five, the published-skill part, cut from #37088 because an implementation card's surface never includes skills/**.
Blocked-by: #37086
Blocked-by: #37087
Metadata-protocol: none
Clause-②: no
Grading: area:build · Enhancement · the published skill teaches forms: as the one way to declare a form and views: as lists · AI authors and app authors who build from the skill · evidence: git grep -lE "formViews|viewKind: 'form'" -- skills at main 254e396a29e names three files, all under skills/objectstack-ui: SKILL.md, rules/list-views.md, evals/views-apps-actions-pages.json. p2.
Governed surface: skills/** is Tier H. The PR is pushed, opened and left awaiting its tier's record; ⛔ no AI seat merges, queues or arms auto-merge on it.
Why this waits for card ③
Until card ③ lands the shipped console reads forms from view. A skill that teaches forms: before then teaches an action-opened form that answers not found and a public form Setup does not list. ⛔ Do not start this card beside card ③.
What to do
- In
skills/objectstack-ui, teach one way to declare a form: aformitem informs:, withname(OBJECT.KEY, the part before the last segment equal toobject),object, and the form body at the top level (noviewKind, noconfig, nodata).defineFormis this type's factory.views:is lists. - Teach what is
formcontent and what is not (ADR-0159 D1): a public form (it declares asharing.publicLink) or a form an action of typeformopens. The record create and edit form is the object'sfieldGroupsand is ⛔ never aformitem. - Teach the two refusals an author meets: a public address another form holds is refused, naming both forms (a switched-off form that keeps its link still holds its address);
dataon aformitem is refused with "bind the form withobject". - Teach translations under the
formsfamily (forms.NAME.title,.label,.description,.submitBehavior.*,.sections.*), withobjects.OBJECT._sections.SECTIONas the section default. - Remove every example that authors a form inside a view (
formViews, aviewKind: 'form'item, a container'sform:member). ⛔ Do not teach the old shapes as an alternative; one sentence may say they are refused and nameos migrate meta. - Update
rules/list-views.mdand the eval file so the evals exercise aformitem and no eval expects an old shape.
Done when
git grep -nE "formViews|viewKind: 'form'" -- skillsreturns nothing but the one migration sentence, quoted in the PR. No skill example keeps aform:member in adefineViewcontainer (the grep does not match that shape; read each example).- Every
formexample in the skill parses with theFormSchemacard ② added (run the skill's example check, or parse each by hand and paste the result). - The two size readings a
skills/diff owes are in the PR (whole file and whole pack, before and after); growth is paid by deletion. - The skill's evals pass, and at least one exercises a public
formitem and one an action-openedformitem. - The gates
node scripts/pm/dispatch-gates.mjsnames for this file surface are green, listed in the PR.
Not in this card
- Examples and docs pages (First-party sources author forms as
formitems: examples move toforms:, skills and docs teachforms:(ADR-0159, card ④a) #37088). HotCRM's sources (its own card). - No spec, server or console change.
- Any file under
ui/skills/**that teaches forms: name it in the report for the seat; it is not edited here.
Dedupe words: skills forms teaching, objectstack-ui skill forms collection, defineForm skill.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T20:39Z
Task(teaching content). Labels kept: p2 ·pm:blocked(form metadata type: define, register and serveformitems (ADR-0159, card ②) #37086, Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087) ·domain:skills.forms:· AI and app authors · read · size S.docs(skills): the platform skill lists forms among the stack's top-le…