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.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3
Same-mechanism finding for this card, from the L1 read of PR #37595 (card #37503), 2026-11-26T15:39Z. Filed here rather than as a new card (filing gate: open, unclaimed card, same mechanism).
content/docs/getting-started/build-with-claude-code.mdxsection 3 teaches the ticket view with an internal create/editform:member in itsdefineViewcontainer (main ~209-219), and then says "the form is where the long-textdescriptionis entered and shown" (~260-262). The Console no longer loads that form (packages/lint/src/validate-internal-form-views.tsheader, 内部的新建和编辑表单作废:平台不再加载表单定义,弹窗一律按字段分组和字段规则排;字段加一个「新建时显示」的开关(对外表单不受影响) #36425), so the sentence is false on today's Console.notecitations and the generator's "starter style" promise for field placement (family) #37503 dev's realos compileof the page's verbatim ticket files on head 95d0446 prints oneform-view-internal-not-loadedwarning (os-dev report on blank template is company/contact now: stalenotecitations and the generator's "starter style" promise for field placement (family) #37503,out_of_scope_findings). PR fix(cli): os g object places its field through the group's fields list, as the starter does #37595'scli.mdxcallout now states that warning beside the transcript.formViews|viewKind: 'form') does not match aform:member of adefineViewcontainer on a docs page. The rewrite owes this page as well, and the grep alone will not find it.formitems (ADR-0159, card ②) #37086) edits this page, but only the rule count in the validate transcript; it does not touch the form.fieldGroups.objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: unlock (daily backstop) ·
pm:blocked→pm:queue· grade unchanged.Every
Blocked-by:target is done: #37086 and #37087 closed completed (11-27 07:14Z, 11-30 01:09Z). No assignee, no hold, same-repo targets only.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim: PM loop round 6
Session:
session_01J8VVAmaT5PwLmXgonaxjYGThread session:
session_01J8VVAohb1X5HaLfC572NazAccount:
huangyiireneBranch:
claude/project-thread-sl6objWorktree:
objectstack-issue-37088Domain:
domain:docsSeat:
repo:objectstack@huangyiireneFile surface:
examples/app-crm/src/views/lead.view.ts,examples/app-showcase/src/ui/views/contact.view.ts,examples/app-showcase/src/ui/views/inquiry.view.ts,examples/app-showcase/src/ui/views/task.view.ts,examples/app-showcase/src/coverage.ts,examples/app-showcase/src/system/translations/index.ts,examples/app-crm/test/i18n-sections.test.ts,examples/app-showcase/test/seed.test.ts, the newforms:files and stack wiring the moves need in those two apps (named in the report), their generated i18n bundles,content/docs/concepts/metadata-lifecycle.mdx,content/docs/deployment/cli.mdx,content/docs/protocol/kernel/plugin-spec.mdx,content/docs/protocol/kernel/i18n-standard.mdx(only the form rows),content/docs/ui/create-vs-edit-form.mdx,content/docs/ui/forms.mdx,content/docs/ui/public-data-collection.mdx,content/docs/ui/views.mdx,content/docs/getting-started/build-with-claude-code.mdx(comment 7196578128),docs/qa/platform-checklist/**(only anchors naming moved symbols), one changeset per example package with a CHANGELOG (stop on breach; explain in the report)Container & model:
M,mode:thread,model: default, served default (opus) per the thread step 0 (dispatch-gates --tier: "Model tier — no path-derived mandate"; default tier),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
examples/ and content/docs (objectstack) still author forms as view members | ADR-0159 made form a first-class item; the console reads form items since #37087 | app and AI authors who copy the examples and docsThread-read: 7276863811
Premise: holds (seat's read-only reading at origin/main 2fba834: #37086 and #37087 closed completed;
git grep -lE "formViews|viewKind: 'form'" -- examples content/docs, references and releases excluded, lists 17 files, 8 examples and 9 docs; comment 7196578128 adds one page the grep misses)Serial constraints cleared:
check-handover.mjs --inflighton the examples and docs paths: no overlap read (one unread surface, #38415, a reading with no file surface). #37909 (content/docs/, seat 3) closed. #37105 (skills/objectstack-ui/**, seat 3) is the skill half and stays out of this surface. #38793 (unclaimed) will touch other rows ofi18n-standard.mdx(apps.{app}); whichever lands second merges main.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAohb1X5HaLfC572Naz
os-dev-report
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment (of 7291333931), with the seat's answers to the three
open_questionsin report 7291424356:forms:, and each gets onetype: 'form'action as its consumer. Every name, URL, section key and translation stays as it is.Fixes #37088). Keep the Done-when grep provable in one diff.open_questions[2]. Each one re-points a test or comment at the form item, with no behaviour change:examples/app-showcase/src/ui/actions/index.ts(the four actions above, plus comments)examples/app-showcase/src/ui/pages/index.ts(comments)views/index.tsbarrels andobjectstack.config.tswiringexamples/app-showcase/test/actions.test.ts,author-time-advisories.test.ts,coverage.test.tspackages/rest/src/public-form-app-crm-byte-equal.test.tsand its row inscripts/cross-package-test-inputs.mjspackages/qa/dogfood/test/showcase-public-form-withdrawal.dogfood.test.tsandshowcase-public-form-withdrawal-layers.dogfood.test.ts(re-pointed from/meta/view/…to the form item's address)packages/lint/src/validate-translatable-sections.test.ts,packages/lint/src/validate-translation-references.test.ts,packages/cli/test/i18n-section-coverage.test.tspackages/qa/dogfood/test/**, so the seat hangsneeds:dogfood-batteryon it.wip(examples): showcase tests read form items; edit-layout actions on…
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment 2 (of 7291333931), on the thread's mid-build question:
packages/lintdefects makeauthor-time-advisories.test.tsgo red after the move:view-ref-form-target-missingignores form items, andCONSUMER_ROOTShas noformsroot. The seat picks option B. Allow-list the 7 advisories inexamples/app-showcase/test/author-time-advisories.test.ts, each with a reason naming lint: a type 'form' action targeting an authored form item is warned as not resolving to any view, and a field only a form item collects is reported as having no consumer #38804 (filed for both rules, p2 Bug). The file's stale check removes them when lint: a type 'form' action targeting an authored form item is warned as not resolving to any view, and a field only a form item collects is reported as having no consumer #38804 lands. Nopackages/lintfile joins this surface.showcase_new_task_tabbedandshowcase_new_task_wizardare atlist.showcase_edit_task_tabs(split) andshowcase_quick_edit_task(quick) are atrecord_row, becauserecord_pagereddensrecord-action-location-hosts.test.ts(the Task Detail header pins the record_page set).objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment 3 (of 7291333931): the File surface adds
packages/qa/dogfood/test/showcase-public-form-redirect.dogfood.test.tsandpackages/qa/dogfood/test/showcase-public-form-walled-intake.dogfood.test.ts. This is the same stale-input re-point already admitted for the two withdrawal files: each GETs and PUTs/meta/view/showcase_inquiry.contact, which answers 404 once the form ships as aformitem. The thread measured all 14 dogfood files that name the moved forms at 318984a: 4 red (these two plus the two admitted), 10 green. Only the request address changes, to/meta/form/…, with no assertion weakened.wip: re-point the showcase public-form dogfood tests at /meta/form; a…
wip(docs): forms page teaches defineForm and forms: (#37088)
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment 4 (of 7291333931): the File surface adds two
os:checkexample blocks that keep adefineViewform:member, which the card's Done-when ("nodefineViewcontainer keeps aform:member") covers but theformViewsgrep misses:content/docs/concepts/architecture.mdx(~262, "Example: Form View")content/docs/protocol/objectui/index.mdx(~238, "FormView: Record Editing")Rewrite only those two blocks to a
defineFormitem, about 40 lines.plugin-view.mdxstays: itsform:is the React component's prop.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment 5 (of 7291333931): the File surface adds one line of
turbo.json, the@objectstack/rest#test:repoinputs entry (~892). It is re-pointed from$TURBO_ROOT$/examples/app-crm/src/views/lead.view.tsto$TURBO_ROOT$/examples/app-crm/src/forms/lead.form.ts, and is the twin of the admittedscripts/cross-package-test-inputs.mjsrow.public-form-app-crm-byte-equal.test.tsnow reads the form file, not the view file, so the line is replaced, not added. No otherturbo.jsonline.docs: teach forms: with views as lists only; re-point checklist ancho…
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAohb1X5HaLfC572Naz
os-dev-report
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG
Claim amendment 6 (of 7291333931), the seat's answer to the double publish the card's item 1 told the dev to stop on. Dogfood
install-local-unmanaged-seed-copyinstalls app-crm onto a showcase boot. Asformitems, the second/forms/contact-usis refused (409FORM_ADDRESS_TAKEN, ruled question 3) and the install rolls back.crm_lead.web_to_leadgets its own link,/forms/web-to-lead, which matches its name. Showcase keeps/forms/contact-us.access-security.json~1713 posts showcase_inquiry's whitelist fields, and about 15 tests read it. CRM's address is read only bypublic-form-app-crm-byte-equal.test.ts.examples/app-crm/src/forms/lead.form.ts, the crm changeset (it states the address move:/forms/contact-us→/forms/web-to-leadon app-crm), andpackages/rest/src/public-form-app-crm-byte-equal.test.ts. That test names the slug, the filter, and the second expected difference (sharing.publicLink) against its before-fixture, and weakens nothing else./forms/contact-usas the showcase example.## 维护者速读must name the CRM address change as the one served-address change in this PR.docs(adr): ADR-0159 records the major-release rulings (one major, con…
refactor(examples): every named form in the examples is a form item, …