Skip to content

Skills teach forms: as the one way to declare a form, and views: as lists only (ADR-0159, card ④s) #37105

Backlog

Description

@objectstack-fleet

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

  1. In skills/objectstack-ui, teach one way to declare a form: a form item in forms:, with name (OBJECT.KEY, the part before the last segment equal to object), object, and the form body at the top level (no viewKind, no config, no data). defineForm is this type's factory. views: is lists.
  2. Teach what is form content and what is not (ADR-0159 D1): a public form (it declares a sharing.publicLink) or a form an action of type form opens. The record create and edit form is the object's fieldGroups and is ⛔ never a form item.
  3. 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); data on a form item is refused with "bind the form with object".
  4. Teach translations under the forms family (forms.NAME.title, .label, .description, .submitBehavior.*, .sections.*), with objects.OBJECT._sections.SECTION as the section default.
  5. Remove every example that authors a form inside a view (formViews, a viewKind: 'form' item, a container's form: member). ⛔ Do not teach the old shapes as an alternative; one sentence may say they are refused and name os migrate meta.
  6. Update rules/list-views.md and the eval file so the evals exercise a form item and no eval expects an old shape.

Done when

  • git grep -nE "formViews|viewKind: 'form'" -- skills returns nothing but the one migration sentence, quoted in the PR. No skill example keeps a form: member in a defineView container (the grep does not match that shape; read each example).
  • Every form example in the skill parses with the FormSchema card ② 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 form item and one an action-opened form item.
  • The gates node scripts/pm/dispatch-gates.mjs names for this file surface are green, listed in the PR.

Not in this card

Dedupe words: skills forms teaching, objectstack-ui skill forms collection, defineForm skill.

Activity

  1. added
    priority:p2
    pm:blocked
    domain:skills
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T20:39Z

  3. added
    area:ai
    and removed on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aidomain:skillspm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions