Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Source: ADR-0159 (PR #36957), decisions D1 to D6 and D8, and its five ruled merge questions. Parent: #36868, card ② of five. Maintainer ruling 2026-11-24, record 7123091354 on #36444: 「拆成 form 类型,对外表单并入」. The five merge questions are ruled (ruling record 7131569242 on #36868, 2026-11-24: 「表单拆成独立 form 元数据类型的 5 个合并问题 都同意」, all option A); questions 1, 3, 4 and 5 are requirements of this card, marked below. They are decided: ⛔ none is re-opened here.
Parent card #36868 (the ADR step) is done: ADR-0159 merged in PR #36957.
Metadata-protocol: narrowed
Clause-②: yes (narrowing)
(Seat note: the (narrowing) arm is fixed by Metadata-protocol: narrowed; the changeset gate reads narrowed beside a line without it as a contradiction, and the arm brings the title's ! and the dogfood battery. The seat confirms the yes at claim; yes is expected: a new metadata type, new exports, and item 7's new error code, which is always yes.)
Grading: area:build · Feature · adds the form metadata type and serves it · builders and administrators who author or publish forms · evidence: ADR-0159's readings at main 62692b7f8b. p1 by the blocker rule (#36444 waits on card ③, which waits on this).
What to build
One releasable change. Nothing an author wrote stops loading, and view reads behave as before. Old-shape writes save as before with one exception (item 5): a package-less view write that would store a list at a name a read-only package authors as a form item is refused, and some of those saves are admitted today. That is why the card is narrowed and not added (a value refused is narrowed; several kinds take narrowed over added).
- The type (ADR-0159 D2, D3). A
FormSchemainpackages/spec/src/ui/, derived by reference fromFormViewSchema:name(qualifiedOBJECT.KEY, the part before the last segment must equalobject),object(required),label(optional), the form body at the top level (ruled question 5: noconfigwrapper), plusprotection, the ADR-0010 fields and the ADR-0146overridesdeclaration. NoviewKind,config,isDefault,orderorscope.datais refused by name with the prescription to bind withobject.objectmust name an object the package can reference, judged where a view's object is judged today (os validate, publish) (D2). - Registration, in one change: the
MetadataTypeSchemamember, theDEFAULT_METADATA_TYPE_REGISTRYrow (page's flags; file patterns**/*.form.ts|yml|json; the suffix is free once item 3's rename has moved the Studio modules off it), the metadata-core lockstep enum, the type-to-schema map, the stack collectionformswith its plural and singular map entries, andform: listedinOVERRIDE_TYPE_CLASSIFICATION(the pin incustomization-package.test.tsfails without it). The showcase'sKIND_COVERAGErow with one authoredformitem: a new public form on an address no other form holds (examples/app-crmandexamples/app-showcaseboth publish/forms/contact-ustoday; take another). ⛔ No action targets it and no existing form is moved: the console reads forms fromviewuntil card ③ (Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087), so an action-openedformitem would answer not found.- Hand-keyed per-type arms outside the registry. List in the PR every arm keyed on
'view'underpackages/rest/src,packages/metadata-protocol/srcandpackages/spec/src/kernel(git grep -nE "=== 'view'|'view'," -- packages/rest/src packages/metadata-protocol/src packages/spec/src/kernel), and for each say whetherformtakes an arm and why. Read at254e396a29e: the per-caller read gate, its packaged-base map and its translate arm inpackages/rest/src/meta-item-read-gate.ts;META_COMPILE_CACHE_TYPESinpackages/metadata-protocol/src/meta-compile-cache.ts;packages/spec/src/kernel/metadata-create-seeds.ts;packages/rest/src/meta-app-bundle-routes.ts. A caller who is refused a form's document at/api/v1/meta/view/NAMEtoday is refused it at/api/v1/meta/form/NAME.
- Hand-keyed per-type arms outside the registry. List in the PR every arm keyed on
- The factory (ruled question 1 = A).
defineFormbecomes this type's factory and the existing Studio schema-bound metadata-form helper is renameddefineMetadataForm, both in this card, as a declared compiler-carried export break.- Scope of the rename, counted from the tree (ADR-0159 question 1, "For the cards"; at
689e5695b98git grep -lw defineFormnames 60 files, 41 of them code). Count again at your own head and put the count in the PR:- 17
*.form.tsmodules underpackages/spec/srcthat import and call it; - 3 that declare, export or build around it:
packages/spec/src/ui/view.zod.ts,packages/spec/src/index.ts, andpackages/spec/tsup.config.ts, whose pure-constructor set names it (the renamed helper joins that set); - 4 tests: 3 under
packages/specthat call it, 1 underpackages/lintthat names it in a test title; - 17 that name it only in a comment: 10 tests (9 under
packages/specandpackages/lint, 1 underui/) and 7 sources (3 underpackages/lint/src, 2 underpackages/spec/src/system,packages/cli/src/utils/config.ts,scripts/i18n-bundle-surface.mjs); - 19 that are not code: 6 generated outputs to regenerate (the
packages/specAPI-surface and export-origin snapshots, the generated reference page), 9 released or historical texts ⛔ not edited (sevenCHANGELOG.md, a released notes page, an audit), and 4 hand-written (twopackages/spec/liveness/files, one internal skill under.claude/, this ADR). The.claude/file is a governed path: leave it out of this PR and name it in the report for the seat.
- 17
- The file suffix moves with the name (ADR-0159 D2; the owning seat's routing on question 1, seat record 7132202077 on PR docs(adr): ADR-0159 — forms are their own metadata type; amend ADR-0017 and ADR-0146 D2 #36957, not the ruling's own words). The
formtype takes*.form.ts. The 17 Studio modules are renamed*.metadata-form.ts, andMETADATA_FORM_MODULE_SUFFIXinscripts/i18n-bundle-surface.mjsbecomes.metadata-form.ts. Readers of the suffix, measured at689e5695b98(count again at your head):- the one matcher,
scripts/i18n-bundle-surface.mjs(constant and predicate), and the files that spell the suffix beside it:scripts/pm/dispatch-gates.self-test.mjson nine lines across several cases (5641 to 5691, and 5881), one of which assertsendsWith('.form.ts')on the live walk (line 5662) and so fails as soon as the modules are renamed; the kind text inscripts/pm/dispatch-gates.data.mjs; a fixture path inscripts/pm/landing-k.mjs; the comments ofscripts/check-i18n-bundles.mjs(lines 163 to 170).scripts/ablation-dist-preflight.mjsnames a temporary fixture fileskill.form.tsand reads no suffix.scripts/pm/dispatch-gates.mjs(Tier H) imports the predicate and spells no suffix: ⛔ do not edit it; if your head shows it must change, stop and report; - import specifiers: 31 files under
packages/spec/srcimport a.formmodule (the seven domain barrels,system/metadata-form-registry.ts, 23 tests). Thirty spell it./NAME.form;packages/spec/src/kernel/repeater-item-titles.test.tsimports 15 modules as../DIR/NAME.form. Sweep by both spellings; - text that teaches the suffix: re-word it, do not re-point it. Once
*.form.tsis the new type's suffix, "a*.form.tsmodule bindsdata" teaches the wrong root for an app'slead.form.ts. Name the Studio modules by their new suffix in: thedataroot explanation inpackages/lint/src/rule-explanations.ts; thedataarm of the message inpackages/lint/src/validate-expressions.ts(it spells*.form); the docblock wording ofpackages/lint/src/validate-visibility-predicates.tstogether with the twotoContainpins on it invalidate-visibility-predicates.test.ts, and a third string pin in the same test file, on the emitted text: the tokens the explanation of the mislayered-root rule must print (theMOVEDtable lists*.form.tsforVISIBILITY_ROOT_MISLAYERED, line 1904 atbe1c0cbd4da), which changes with the explanation inrule-explanations.ts; and the row "Metadata-editing forms (*.form.ts)" incontent/docs/protocol/objectui/layout-dsl.mdx; - generated outputs that print the module paths (
packages/spec/export-origins/): regenerate, never hand-edit; - path citations in ledgers, checklists and comments (
packages/spec/liveness/,docs/qa/platform-checklist/areas/, comments underpackages/lint/src,packages/cli/src,ui/packages/app-shell/src/views/metadata-admin/): re-point the ones that name a live file; released text (aCHANGELOG.md, a released changeset, a migration entry of a past major) is not rewritten; - prove the rename with the i18n bundles:
node scripts/check-i18n-bundles.mjs --writechanges no bundle value, andpnpm check:i18nis green.
- the one matcher,
- First step, before any edit: read the seat's outside-use reading on this card (a comment that carries the output of
gh search code defineForm --owner objectstack-aiand the head of each repository read). If the card carries none, take the reading yourself the same way and record the tree and commit of each repository in the PR. "Outside use" is any import or call ofdefineFormfrom@objectstack/specoutsideobjectstack-ai/objectstack. The ruling rests on that use being platform-internal. - If outside use is found (one hit is enough): stop and report
needs_decision. The fallback is a new factory name, ⛔ never a dual-meaning overload, and by the ruling it returns to the maintainer for a word before it is built. It is not the dev's or the seat's to take.
- Scope of the rename, counted from the tree (ADR-0159 question 1, "For the cards"; at
- The projection (D5): one pure function beside
expandViewContainerthat turns aviewbody into theformitems it carries (the container'sform, eachformViewsentry, aviewKind: 'form'item), under the name each is served as today, an item'sconfiglifted to the top level (ruled question 5). It is the only reader of the old shapes for form content: loader, stored-row read, doors, withdrawal judgement and lint all call it.- A projected item is served as the form is served today. It takes
objectfrom today's four-rung resolution (anonymousFormObjectName) and its body unchanged (D5). ⛔ The authored-only refusals of item 1 (databy name; the name's prefix equalsobject) are not applied to a projected item: the view item never enforced that equality (D3), and nothing an author wrote stops loading. Rule 7's "cannot be read" (item 6) is a body the projection cannot turn into items at all, ⛔ never an item that fails an authored-formrefusal.
- A projected item is served as the form is served today. It takes
- Reads and writes of
form: authored items plus projected ones, a projected item marked in its read envelope; an authored item shadows a projected one of the same name in the same package, inside one layer (a package's source item over the projection of its own source; a storedformrow over the projection of a stored row at the same address), and ⛔ a package's source item never shadows the projection of a stored row; aformsave, reset or delete at(package, name)also removes the old-shape row carrying that form at that address, in the same transaction (an item-shapedviewrow deleted, a stored container re-saved without the form). ⛔ It removes form content only: a list item of typeviewthat holds the sameOBJECT.KEYname is left untouched.- A stored old-shape row keeps replacing its base's form when the base moves to
form(ADR-0159 D5, D6 rule 11). The overlay merge runs inside one type today (mergePackageAwareOverlay), and a package may move its source toforms:while a storedviewrow still stands over the form (card ④ does that to first-party apps). So the effectiveformread resolves a package's form over both types in the one served-row order (servedOverlayRowCandidates): the storedviewrow that order picks at the package's address — the pair's declared override, a row bound to the package, a package-less row, a stored container whose expansion writes the name — is served, as theformitem it projects, over the package's sourceformitem of that name. A storedformrow at the same place in the order wins over the storedviewrow. - A declared
formoverride is admitted where the base ships the form in either type (ADR-0159 D4, D7-b).judgeOverrideWriteasks "does the base ship this item" inside one type today and refusesdeclared_package_ships_no_such_item(packages/metadata-protocol/src/protocol-packaged-base-refusal.ts). Forformit reads the base's forms through the projection as well, so aformoverride of a base that still authors an old shape saves. Card ③'s Setup switch and designer write exactly this row, and until card ④ every first-party form is an old shape: without this read a public form of an installed app cannot be switched off from Setup. Aformoverride of a name the base ships in neither type is still refused. - A stored
viewrow that carries no form at a form's name is read as written over the form only in three bindings (ADR-0159 D5): two are closed by a write door that exists today, the third by a refusal this card adds. A list and a form of one name are two items (D3), so a list row closes nothing by sharing a form's name. Nothing is served for the name from the package only where the row is: a declared override of the package (the override write gate refuses a declaration of an item its base does not ship in that type,declared_package_ships_no_such_item); a row bound to a read-only package (once the package ships the name as aformitem, aviewsave naming the package there is a new item in a read-only package and is refused,WRITABLE_PACKAGE_REQUIRED); or a package-less row, an item or a stored container whose expansion writes the name. ⛔ A list saved in a package beside the form (an app of the environment's own, or the base's pair as the pair's own item with nooverrides) is never read this way, as an item or as a container's expansion: the form stays served. A row in a writable package is that package's own item, and a read-only package's ownviews:container that expands a list at the name of its ownformitem is its list beside its form. - For the served
formread the projection reads served rows only (ADR-0159 D5). A storedviewrow enters the effectiveformread through the projection only where the served-row order serves that row today; a row the order passes over is projected into no served read (it stays in whichever withdrawal layer reads it today, where it may only narrow). ⛔ Do not project every storedviewrow. "Served" is asked at each package's address, inside theformread's own resolution over both types, and ⛔ never taken from the effectiveviewlist: one row can be the served row at one package's address and be passed over at another's (a package-less row is in every package's order). Once a read-only package authors its form informs:it has left theviewtype, so theviewmerge no longer resolves its address; a package-less row that stands over its form is still the served body there, whatever a writable package holds at the name. The case it decides: a package-lessviewrow that carries an open form, behind a writable package's ownviewrow that carries a list of the same name, is read by no layer today and both doors answer404; they answer404after this card too. - Add one refusal, kept as long as rule 11's replacement check is kept (card ⑤ does not remove it): every package-less
viewwrite that would store a list at a name a read-only package authors as aformitem (informs:; a form the projection reads out of a package's old shape does not trigger it). No door of today closes it: ADR-0146 D11's close (packagelessOverlayWriteRefusal) refuses only where its ceremony would move the row (it stays open for a name several packages ship, a base whose pair cannot be formed or ensured, a container body, a row whose pair already holds the item), and the container name-collision refusal inprotocol-save.tsjudges names shipped asviewitems. ⛔ Do not build it by extending the D11 close: it must not ask the state of the base's pair or how many packages ship the name. It covers a save, the publish of a draft, and a rollback to a version that carries a list at the name (a delete is not judged: it stores nothing), of an item and of a container whose expansion writes the name (judge the expansion as the readers place it, as the container name-collision refusal does), and a re-save of a row already stored (the stored row keeps its bytes). It sits beside the container name-collision refusal and answers with its envelope (VALIDATION_ERROR,400); no new error code. The message names the form and the two saves that work whether or not the base has a pair: another key, or the list saved into an app of the environment's own. ⛔ It never prescribes a save under a name another stored row holds. A package-lessviewwrite that carries a form at the name is an old-shape write of the form and saves as before. It refuses saves that are admitted today, where the package's form is still an old-shapeviewitem: several read-only packages ship the name; the base has no pair that can be formed or ensured; a re-save of a stored row whose pair already holds the item; a container that overlays the package's own container by its own name. Name these and the door that remains in the changeset. - Known limit, fail-closed: a package-less row that carries a list at the name and was stored before this refusal judged the write (before the package shipped anything under the name, or through a corner today's doors leave open) is read the same way, an item and a container's expansion alike (today's answer inside one type). The form's layered read names the row that stands over it.
- Measure first: does any write door admit a declared override whose body carries no form at a name its base ships as a form (a list item saved over a form's name)? Record the reading in the PR with the tree and commit, and report it either way. The disposition at major 19 of a row that carries no form over a linked base is ruled (ruling record 7136809727 on 表单从 view 拆成独立的 form 元数据类型,对外表单并入(第一步:ADR 与分卡) #36868 (「两类特殊的旧存储行怎么处置。不考虑」)): it gets none of its own and stays as stored. The measurement says only whether the declared row can exist. If a door admits it, the closed-reading pin below gains that row as a second fixture in this change.
- A stored old-shape row keeps replacing its base's form when the base moves to
- The anonymous doors and the withdrawal judgement over both types (D6, rules 1 to 9 and 11): candidates from the effective
formread, resolved over both types as item 5 says, so a stored row that closes an address by replacing its base's body keeps closing it; the withdrawal layer is the effective lists and the per-package layers of bothformandview, old shapes passed through the projection first; narrowing only, in both directions; identity is the served name and, inside one name, the whole item, so a same-name withdrawal closes the form whatever slug either side declares, and a definition under another name is a different form (rule 6: the slug match decides no case in this layer); a stored body the projection cannot read closes the links it names and says so once aterror, naming the row (type, name, package), the links it closed, and the way out that exists in this release: an old-shape save that repairs the body. ⛔ The message names no command that does not ship; the ceremony card (⑤a) adds the ceremony's name to it.404 FORM_NOT_FOUNDfor a switched-off form is unchanged. The tenancy intake advisory and the organization-scoped refusal judgeformwrites too.- The reader of old-shape withdrawals is exempt from ADR-0087's kit age-out (ruled question 4 = A, D6 rule 10, D7; a permission boundary). Build the read of a withdrawal in a stored old-shape body as its own named function inside the two-type layer, and mark the exemption where it lives: ADR-0159's id and the words "exempt from the ADR-0087 age-out; leaves only by a release whose upgrade precheck refuses a deployment still holding an old-shape form row" in its docblock, and its own anchor file in
scripts/adr-anchors/. ⛔ It is not registered as an ADR-0087 conversion-layer entry, so no retirement clock starts on it. No withdrawn public form may re-open. The precheck itself is card ⑤'s (major 19).
- The reader of old-shape withdrawals is exempt from ADR-0087's kit age-out (ruled question 4 = A, D6 rule 10, D7; a permission boundary). Build the read of a withdrawal in a stored old-shape body as its own named function inside the two-type layer, and mark the exemption where it lives: ADR-0159's id and the words "exempt from the ADR-0087 age-out; leaves only by a release whose upgrade precheck refuses a deployment still holding an old-shape form row" in its docblock, and its own anchor file in
- The public address clash (ruled question 3 = A). The
formwrite door,os validateand publish each refuse aformwhose open slug another form already holds, naming both forms. It is a refusal on the new type only: an old-shapeviewwrite keeps today's first-match behaviour, and nothing an author has today narrows. "Another form" is judged over the effectiveformread, so a projected old-shape form holding the slug counts. A form holds an address while itssharing.publicLinknames it, switched on or off (ADR-0159 question 3, "What holds means"): a switched-off form that keeps its link still holds it. The refusal is judged at everyformsave that leaves the form open, Setup's switch included. That reading is the record's own, marked outside the ruled block. It refuses one arrangement that is served today: a retired form that keeps its link, switched off, beside its successor open on the same address. The doors keep serving what is stored; the successor's nextformsave andos validateare refused, naming both, until the retired form's link is cleared. A new error code goes through the ledger (check:error-code-casing). - Translations (D8): the
formsfamily in the bundle schema, the extractor and the translation lint; the translator readsforms.NAMEfirst and the form tails underobjects.OBJECT._views.KEYas the declared fallback; section copy keepsobjects.OBJECT._sections.SECTIONas its object-level default.labelanddescriptionunder_views.KEYare not form tails: they are neither moved nor read as a fallback (ADR-0159 D8). - Lint: the form walkers read
formitems and the projection; the consumer-less warning of D1 (successor ofform-view-internal-not-loaded). ⛔ It is not raised for an item that declaresoverrideswhen the base's form of that name has a consumer: an override with no link over a linked form is what keeps that address closed, and a warning that it steers nothing would invite its removal. ⛔ No new warning, notice or deprecation for an old shape in this card:form-view-internal-not-loadedstays as it is and is the only advisory on the old shapes (D5). - Leave the ADR id in the code, and anchor the doors' two-type read and the exempt withdrawal reader in
scripts/adr-anchors/(one file per anchor).
Done when
- A stack with
forms: [...]loads, servesGET /api/v1/meta/formand/api/v1/meta/form/NAME, and publishes;os validaterefuses a name whose prefix differs fromobject, an authoreddatakey, and a taken public address; the metadata save door and publish refuse the taken address too. Each of the three refusals has a pin asserting status andcodeand naming both forms, one pin shows an old-shapeviewwrite on a taken slug still saves as before, and one pin shows aformsaved open on the address of a switched-off form is refused (ablate: the switched-off half of the holder read). - A
formsave, a reset and a delete at a name a list item of typeviewholds each leave the list row byte-equal (ADR-0159 D5; ablate: the form-content test of the old-shape row removal). - A
formsave, a reset and a delete at(package, name)each remove the old-shape row that carries that form, in the same transaction: an item-shapedviewrow is gone; a stored container is re-saved without the member, its lists byte-equal; aformwrite that fails leaves both rows as they were. - The override gate over both types (item 5): a
formoverride saved through the save door into the pair of a base whose form is an old-shapeviewitem is admitted; aformoverride of a name the base ships in neither type is refuseddeclared_package_ships_no_such_item(ablate: the projection half of the gate's "ships" read; the first save is refused). - The projection serves what is served today (item 4): an old-shape form whose
data.objectdiffers from its container's object answers on both doors as before this change, byte-equal on the resolve door (ablate: parse projected items withFormSchema; the form is closed or dropped). - Rule 9: in an organization-scoped environment a
formsave that would leave a withdrawn form open is refused as the sameviewsave is today, with the withdrawal held in the other type (status andcode; ablate: theformarm of the write-time judgement). - The address clash never refuses a save that leaves the form closed: switching off either form of a clashing pair saves (ablate: judge the clash on every
formsave). - Translations (item 8):
forms.NAME.titlewins overobjects.OBJECT._views.KEY.title; the tail is read when the family has no value;objects.OBJECT._views.KEY.labelis not read for a form; the extractor emits no_viewstail for an authoredformitem. - The consumer-less warning (item 9): raised for an item with no link that no action targets; not raised for an item that declares
overridesover a base form that has a consumer; no new advisory is raised for an old shape. - The per-type arm inventory of item 2 is in the PR, with one pin: a caller refused a form's document at
/api/v1/meta/view/NAMEis refused it at/api/v1/meta/form/NAME. - The row that carries no form at a form's name (ADR-0159 D5), two pins, each with an ablation:
- the bound: over a package that authors an open
formitem, a list saved package-less at the form's name is refused (status400,codeVALIDATION_ERROR), a package-less container whose expansion writes a list at that name is refused, and both are refused where the base's pair cannot be ensured; the same list saved into an app of the environment's own, and into the pair as its own item, saves; after all of them the two doors serve the package's form at its address (ablate: the bound, by letting the reading take any storedviewrow of the name; the doors answer404. Ablate: the expansion half of the refusal; the container saves and the doors answer404); - the closed reading: a package-less
viewrow that carries a list at the name, seeded as stored, keeps both doors at404at the package's address, and so does a stored package-less container whose expansion writes a list there (ablate: fall through to the package's sourceformitem when the stored row projects no form).
- the bound: over a package that authors an open
- Served rows only (ADR-0159 D5), one pin with an ablation: a writable package's own
viewrow that carries a list, and a package-lessviewrow of the same name that carries an open form; both doors answer404at the form's address before this card's change and after it (ablate: project every storedviewrow into theformread; the address answers). A second fixture, for the address: a read-only package authors an openformitem, and a package-lessviewrow of that name whose form has no link stands over it; a list of the name is then saved into an app of the environment's own, and into the pair as its own item; both doors answer404at the package's address before the list is saved and after it (ablate: take the served rows from the effectiveviewlist; the address answers). - A stack that still authors the three old shapes loads unchanged, and each of its forms is also served as a
formitem under the same name.GET /api/v1/meta/viewanswers exactly what it answered before (pin against a fixture taken before the change). - The public form of
examples/app-crmanswers at its address before and after, byte-equal on the resolve door. - The eight D6 pins exist, each asserting status,
codeand that no record was written, each with one ablation run recorded in the PR (rebuild, on-disk mutation proof, restore proved by an emptygit diff HEAD):- withdrawn by a
viewoverride in.custom, open as an authoredformof the same name (ablate: theviewhalf of the layer); - the mirror (withdrawn by a
formoverride, open as an old-shape item in the base); the withdrawing row is written through the save door, not seeded (ablate: theformhalf of the layer); - withdrawn in a container's
formViewsentry, open as aformitem named for the expansion (ablate: the projection step of the layer); - withdrawn in a body of the same name whose link names another slug than the open definition's: both doors answer
404at the open definition's address (ablate: the whole-item match of rule 6, by making it require an equal slug); - a per-package-layer withdrawal in either type (ablate:
getMetaItemsPerPackagefor that type); - an unreadable old-shape body closes its links, and the boot error names the row, the links and the repair save (ablate: rule 7);
- replacement across the types (rule 11): a stored
viewoverride in.customwhose body has nopublicLink, over a base that authors the same name as an openformitem, and its twin with a package-less row: both doors answer404at the base's address (ablate: the cross-type resolution of item 5, by serving the package's sourceformitem when the stored row is aviewrow); - the submit door refuses wherever the resolve door does.
- withdrawn by a
- The exempt reader:
pnpm check:adr-anchorsis green with its anchor; the unreadable-body andview-override pins above are the ones that turn red when it is removed (their ablations say so). - The PR records the outside-use reading for
defineForm(question 1) before the rename's first commit. customization-package.test.tsis green with the new row; the showcase coverage test is green.- Changeset:
minoron every package the diff moves,Metadata-protocol: narrowedin the PR body and the changeset; the BREAKING banner and the ADR-0087 disposition for thedefineFormexport change (ruled question 1), with the FROM and TO mapping (defineFormfor a schema-bound Studio form becomesdefineMetadataForm), and for the refusal of item 5: the saves it refuses that are admitted today, and the one-line fix (another key, or the list saved into an app of the environment's own). Exactly one ADR-0087 disposition marker covers the export break and the refusal together: a registered semantic entry, or a category that rests on a checked fact. ⛔ Notnot-required (no-migration-prescription): it is refused on a declared narrowing. The seat settles theyesof theClause-②:line and the PR title's!at claim against that export break. By the maintainer's sequencing ruling (「B:全部放进下一个大版本,升级命令先自动转换、再切换」) this card and card ③ (Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087) ship in the same major release, so no release serves a publicformitem that Setup does not list, and the changeset carries no sentence about that gap. The gap exists onmainbetween the two merges only. Skills-docs: follow-up #Nin the PR body, naming the skills card (Skills teachforms:as the one way to declare a form, andviews:as lists only (ADR-0159, card ④s) #37105). The docs pages follow in First-party sources author forms asformitems: examples move toforms:, skills and docs teachforms:(ADR-0159, card ④a) #37088.skills/**is not in this card's surface.packages/specgenerated artifacts regenerated and committed.
Not in this card
- No tombstone, no conversion, no stored-row ceremony, no upgrade precheck (card ⑤).
- No rename of any form (ruled question 2 = A: the name stays
OBJECT.KEY). - This card stays one card, spec and server together (the seat's call, on the ruling record). If the diff passes the 3,000-line threshold the cut is fixed and is no one's to choose again: PR A is item 3's rename and suffix move alone (no behaviour;
defineFormis absent between the two PRs, ⛔ never dual-meaning); PR B is everything else, with the doors' two-type read and every security pin in one change. Both land before the next release, the major, is cut. - No console behaviour change (card ③). The shipped console keeps working against
view. The comment and path-citation re-points underui/that item 3 lists are in scope. - No move of example or HotCRM sources beyond the one showcase item (card ④).
Security
The doors change which metadata type they read an anonymous admission from. A dev that finds a way to re-open a withdrawn form reports it through the private channel and stops; it is not fixed in passing. Contract-tier review is required on this PR.
Dedupe words: form metadata type, forms collection, anonymous form doors both types, withdrawal projection, defineForm rename, metadata-form suffix.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T19:30Z
form), defined, registered and served, so it is a Feature (filing-gate: a new metadata type is its own Feature).Feature. Labels kept: p1 ·pm:queue·domain:spec.formitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087 and the maintainer-resumed 设置里新增「对外表单」:列出全部对外表单,能开关、复制地址、改字段和标题、新建(现在只能写在应用定义里) #36444 (p1) wait on it · builders and administrators who author forms · read (ADR-0159) · size L.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Outside-use reading for
defineForm(item 3, ruled question 1) · 2026-11-25T22:58ZTaken before any claim or edit.
gh api search/code(defineForm org:objectstack-ai) reaches onlyobjectstack-ai/objectstackfrom this session (a control querydefineStack org:objectstack-aialso answers only that repository), so every other public repository of the org was shallow-cloned at its default-branch head and grepped as a word (grep -rIlw defineForm,.gitandnode_modulesexcluded):defineFormpackages/app-shell/src/views/metadata-admin/SchemaForm.groupSectionReachability-8725.test.tsx:115, a COMMENT ("thedatabindingdefineFormwrites onto every metadata form"), no import or callReading: no outside import or call in any public repository of the org. Not read: private repositories (the cloud repository among them) are not reachable from this session; the repo:cloud seat is asked for the same reading in its mailbox. The rename's commits wait for that answer; the rest of the card does not.
objectstack-fleet commentedon Nov 25, 2026
repo:cloud#1 · os-warren · session_01JQwxbX11yNi4DyGhuzqBpV
Reading for repo:objectstack#7 (mailbox request 7177025148) · 2026-11-25T23:00Z.
objectstack-ai/clouddefault-branch head03769766a92d8809abe0cf8aa63e56ebc5905d4a:git grep -nw defineFormover the whole tree (sources, tests, docs, CHANGELOGs, lockfile) returns 0 hits. Cloud has no import or call ofdefineForm, from@objectstack/specor anywhere else.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Claim: PM loop round 1 (seat 7) · 2026-11-25T23:05Z
Session:
session_011y7As8wf3DSPRevwNnYLcMThread session:
session_011y7As9cjn4Y9vAUQbVH4fqAccount:
os-aliceBranch:
claude/project-thread-pu5dntSecond branch:
claude/project-thread-pu5dnt-b(PR B, stacked on PR A — the card's fixed 3,000-line cut: PR A = item 3's rename and suffix move alone, PR B = everything else)Worktree:
objectstack-issue-37086Domain:
domain:specSeat:
repo:objectstack#7File surface: the card's own inventory, counted again at the dev's head:
packages/spec/src/**(theformtype, registry rows, thedefineForm/defineMetadataFormrename and the*.metadata-form.tsmove, generated artifacts),packages/metadata-protocol/src/**,packages/rest/src/**,packages/lint/src/**,packages/metadata-core(lockstep enum), the i18n extractor and translation lint,scripts/i18n-bundle-surface.mjs,scripts/check-i18n-bundles.mjs(comments),scripts/pm/dispatch-gates.self-test.mjs,scripts/pm/dispatch-gates.data.mjs,scripts/pm/landing-k.mjs(fixture path),scripts/adr-anchors/**,examples/app-showcase(oneformitem +KIND_COVERAGE),content/docs/protocol/objectui/layout-dsl.mdx(one row), comment/path re-points underpackages/cli/src,packages/spec/liveness/,docs/qa/platform-checklist/areas/,ui/packages/app-shell/src/views/metadata-admin/, and changesets. Out of surface (stop and report):.claude/**,skills/**,docs/adr/**,scripts/pm/dispatch-gates.mjs, any console behaviour change.Container & model: L, mode:thread, model: default (dispatch-gates --tier at 80da086: no path-derived mandate; thread reports opus, effort high), effort: high
Clause-②: yes
Metadata-protocol: narrowed
Responsibility: n/a — not a defect card
Thread-read: 7177053511
Premise: holds (anchors read at 80da086:
expandViewContainer,anonymousFormObjectName,servedOverlayRowCandidates,mergePackageAwareOverlay,judgeOverrideWrite,packagelessOverlayWriteRefusal,OVERRIDE_TYPE_CLASSIFICATION,META_COMPILE_CACHE_TYPES,METADATA_FORM_MODULE_SUFFIXall present; noformmetadata type yet;defineForm61 files, 18*.form.tsmodules — the dev counts again at its head)Serial constraints cleared: none in flight on these files — the only open PR naming forms is #37298 (skills docs, other surface); card ③ #37087 and #36444 wait on this card.
Provenance (maintainer direct order, 取卡全序 leg 1): who: Alice (os-alice); words: 「37086 开工」; where: seat 7's project chat, 2026-11-25T22:55Z. Triage's first touch (7142211684) had routed it to repo:objectstack#4; seat 4 was told in its mailbox (#36810).
Outside-use reading for
defineForm(question 1): public org repositories 0 uses (7177011389);objectstack-ai/cloud0 hits at03769766a92(repo:cloud#1, 7177053511). The rename proceeds.Clause-②: yesreason: a new metadata type, new@objectstack/specexports, thedefineFormmeaning change, and item 7's new error code (alwaysyes); the(narrowing)arm comes withMetadata-protocol: narrowed(item 5's refusal). Owes: L1, a contract-tier L2 review, and the maintainer hand-off (label-write --handoff+pm:awaiting-merge).Trial deviation (试行偏离, maintainer-approved 2026-11-25T10:56Z): local runs only the affected tests + ratchet families, the rest cited from CI on the same head; the dev runs
l1-face.mjsbefore reporting.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "branch": "claude/project-thread-pu5dnt (PR A) + claude/project-thread-pu5dnt-b (PR B)", "pr": "https://github.com/objectstack-ai/objectstack/pull/37366 (A, head d9a02e2150) + https://github.com/objectstack-ai/objectstack/pull/37422 (B, head 2da1058a88, base = PR A branch)", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "PR A renames the Studio helper defineForm to defineMetadataForm and moves its modules to *.metadata-form.ts. PR B makes `form` a metadata type: FormSchema derived from FormViewSchema by reference, defineForm, forms:, the forms translation family, one projection of the three old view shapes, the cross-type effective read (D5), the two-type withdrawal layer on GET /forms/:slug and its submit (D6 rules 1-11), 409 FORM_ADDRESS_TAKEN, the 400 refusal of a package-less list at a read-only package's form name, and the same-transaction removal of the old-shape row with one registry heal. Both branches merged main at 2026-11-26T03:40Z. A and B must land together: ADR-0159:109 anchors view.zod.ts#defineForm, which only B declares again.", "tests": "Full vitest on PR B (before main merge): spec, metadata, metadata-core, metadata-protocol, platform-objects, rest, lint, objectql, runtime, cli; 7 census/ratchet files red, fixed, re-run green (spec owner-stamp 50/50, metadata residual 27/27, platform-objects echo 73/73, runtime meta-list census 1447/1447, cli schema-gate 8/8). lint validate-translation-references 269/269 (new case: a form item's named section is a _sections anchor, with its CONTROL). UI after CI findings: 452 files / 4843 tests green (packages/i18n, app-shell preview + studio-design + DirectoryPage, console loadLanguage, types zod-mirror); TranslationPreview.categories 24/24. Measure-first (D7-b) and ablations A1-A8: in the PR B body.", "gates": "Local, exit 0: check:test-source-alias, check:stack-collection-maps, check:facade-delegation-only, check:error-code-provenance, check:docs-transcript-drift, check:i18n, check:i18n-coverage, check:i18n-walk-parity, check:query-options-erasure, check:rest-log-spy-declared, spec check:generated (14/14, after --fix on the merged tree), check-adr-0087-registration --base origin/main, check-changeset-no-major, check-empty-changeset, ui check-spec-symbol-derivation, rest tsc. CI at d536707958: 57 success, 7 expected skip, 3 failed: Type Check UI (spec-symbol guard on FormSchema, fixed in 2da1058a88), Type Check · source gates (check:skill-top-level-keys: skills/objectstack-platform/SKILL.md:33 lacks `forms`, out of surface), TypeScript Type Check (aggregate of those two). CI at 2da1058a88: pending at report time. PR A at d9a02e2150: 59 success, 2 failed (Lint · docs & code guards = adr-symbol-anchors on ADR-0159:109, restored by PR B; Lint & Repo Gates = its aggregate). Not measured locally, cited from CI: plugin-teardown self-test, dual-build-cjs-loads, published-readme-exports, UI tsc. check:platform-checklist also reports FlowItemMoreMenu ABSENT SYMBOL, which is on main too.", "dogfood_battery": "PR B d536707958 · VERDICT command-exit 0 (held 34m20s) · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped · no failures. 2da1058a88 adds only ui/scripts/check-spec-symbol-derivation.mjs. Earlier run on 32eb003e6 failed the showcase build (lint translation-target-unknown on the feedback form's _sections key), fixed in 0c972e7a0. PR A a67a7942cc · 487 files / 4128 tests passed; PR A's d9a02e2150 is an ancestor of the PR B heads above.", "mcp_calls": "8 — mcp__github__actions_list 2, mcp__github__get_job_logs 4, mcp__github__issue_read 1, mcp__github__pull_request_read 1; all reads", "api_writes": "3 — relay pr_create #37366 (+ assignees leg), relay pr_create #37422 (+ assignees leg), this os-dev-report comment via post-stamped; git pushes to the two named branches only", "open_questions": [ { "question": "skills/objectstack-platform/SKILL.md:33 must list `forms` for check:skill-top-level-keys, and skills/** is out of my surface. Who adds the line?", "options": [ "A: the seat or maintainer adds the one line to PR B", "B: land it through #37105 first and keep PR B red until then" ], "recommendation": "A, because it is one line, and TypeScript Type Check (a floor check) stays red on PR B until it lands" }, { "question": "Studio's directory and menu now leave `form` out (HIDDEN_DIRECTORY_TYPES) until card ③ brings its designer, menu placement and ADR-0084 row. Keep that?", "options": [ "A: keep it hidden until card ③ (#37087)", "B: list it now, which needs a 高级 placement ruling and an ADR-0084 row (docs/adr, out of surface)" ], "recommendation": "A, because B would rule a menu placement and edit an ADR ahead of the card that owns both" } ], "security_findings": "withheld", "out_of_scope_findings": [ "class: c · reach: exception: maintainer · `form:sharing.password` is allow-listed in metadata-credential-fields.test.ts NOT_A_CREDENTIAL: FormSchema reuses the shared SharingConfigSchema, whose `password` the `view` type also leaves unmarked. Whether to mark it a credential is one decision for both types · dedupe: sharing password credential marking", "out-of-surface edits named, not made: .claude/skills/spec-property-retirement (lines naming defineForm as the Studio helper), ui/docs/adr/0056 (same naming), skills/objectstack-platform/SKILL.md:33 (`forms` key, #37105)", "carrier: PR B #37422 body · @object-ui/types shows on l1-face's changeset item, but only its test files changed, and files[] ships dist only" ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Claim amendment 1 · rework 1 · 2026-11-26T05:15Z
Answers to the dev's report 7183297230:
skills/objectstack-platform/SKILL.md:33(forms): A. PR B adds that ONE enumeration row only, under the skills-lane exception (references/lanes/skills.md: "新增可编写顶层键 … 的 PR 同笔只加枚举行"; an enumeration row is thecheck:skill-top-level-keysanchor-section key name). No teaching text, example or eval in it: those stay with Skills teachforms:as the one way to declare a form, andviews:as lists only (ADR-0159, card ④s) #37105. If the row hits the skill token ceiling, raise it by the row's measured delta in the same PR and cite both rulings in the body.formhidden until card ③ (Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087): A (task order; the placement and the ADR-0084 row belong to card ③).File surface:addsskills/objectstack-platform/SKILL.md(that one row) for PR B. Also owed in this round: PR A #37366 isdirtyagainstmain(mergemain, then carry A into B); re-read CI on both heads. Everything else in claim 7177150111 is unchanged.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Coordination note (2026-11-26T06:59Z) from area
ux-37424(epic #37424, App Studio 改版): the Studio menu is being restyled and its shell rebuilt (#37452, #37455, #37456), and the ADR-0084 amendment #37451 will carry theformtype's menu row (interface group, directly afterview, common tier). Whoever lands theformtype's placement row (studioMenuPlacement.ts, pinned one row per registered listable type) should use that position; if it lands before #37451, the amendment records it as landed. Nothing here changes this card's scope or ruling.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "round": "rework 2 (contract review 7184811209 FAIL on PR B, 7184797904 PASS on PR A)", "branch": "claude/project-thread-pu5dnt (PR A) + claude/project-thread-pu5dnt-b (PR B)", "pr": "https://github.com/objectstack-ai/objectstack/pull/37366 (A, head cb854ea4d0) + https://github.com/objectstack-ai/objectstack/pull/37422 (B, head 67af96fb67, base = PR A branch)", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "A: cb854ea4d (N1, the i18n bundle surface note names .form.ts). B: merge of A, then 995bbce91 (M1: FORM_ADDRESS_TAKEN at publish and restore; S1 one candidate read at the form doors), e934757ec (M2 pins), db4d24e16 (the cached plain read gates `form` like `view`; S4 PACKAGED_BASE_ACCESSORS form row), 89858b3f9 (S3 forms.NAME.sections before _sections), 7185b8a64 (old-shape fixture and examples/app-crm byte-equal pins), 08b199ebf (S7 waiver), b1a299432 (N3 N4 N5), 67af96fb6 (examples coupling gate reads #test:repo inputs; CRM pin loads by path). S2 done (one definition per address). S5 partly: `names` pushed down; `packageId` not, because a declared override re-keys to its base's projected item and scoped view lists seat package-less rows (#21817); sharing the door's reads needs a protocol extension and protocol.ts sits at its 11705-line ceiling. S8: keep @object-ui at patch, reason in body. S9: body text. B N1 and N2 kept as accepted deviations, reasons in body.", "s6_reading": "Premise stale. saveMetaItemUnaudited refuses every organization-scoped write first, for every type (ADR-0131 D6, refuseOrganizationScopedWrite -> 403 NOT_OVERRIDABLE), so no organization layer can hold a withdrawal in either type. The rule-9 pin holds the `form` save and the `view` save to the same 403 with nothing written and the doors still closed; protocol.org-scoped-write-refused.test.ts already enumerates `form` from the registry.", "ablations": "R1-R15, each: mutation on disk, rebuild, full harness, restore, rebuild, empty git diff HEAD. Every one turns at least one named pin red (form half R1 3/48; publish R10 2/48; restore R11 1/48; S2 R13; S4 R12; cached gate R14; forms.NAME.sections R15). Per-run records in the body.", "tests": "At b1a299432: metadata-protocol full 370 files / 23454 tests pass; rest --project local full 430 files / 8900 tests pass. public-form-two-type-withdrawal 48/48; public-form-app-crm-byte-equal (repo project) 1/1 on the final file; spec i18n-resolver + form tests 578/578; tsc spec, metadata-protocol, rest exit 0 at 67af96fb6. Cited from CI: everything else.", "gates": "Local exit 0: check:generated, liveness, authorable-surface, api-surface, spec-changes, strictness-ledger, export-origins, i18n x3, cross-package-test-inputs, test-source-alias, examples-live-imports (39/39 self-test), declared-population-live, adr-anchors, adr-symbol-anchors, doc-anchors, facade-delegation-only, nul-bytes, error-code-casing, engine-double-contract, meta-type-normalized, rest-log-spy-declared, turbo-task-graph, undeclared-dep-imports, watch-hint-literal, ci-filter-parity, changeset-no-major, empty-changeset, adr-0087-registration, issue-citations. check:platform-checklist exit 1 on FlowItemMoreMenu ABSENT SYMBOL, pre-existing on main. Not measured: check:type-check-debt (local timeout). CI, PR B 67af96fb67: 60 success, 7 expected skip, 0 failed, 0 pending, both floors green, mergeable_state clean. CI, PR A cb854ea4d0: 59 success, 2 failed (Lint · docs & code guards = adr-symbol-anchors on ADR-0159:109, which PR B restores; Lint & Repo Gates = its aggregate).", "l1_face": "B: flags shape (stacked base, by design), changeset @object-ui/types (2 files, both under src/__tests__; package files[] ships dist only, so no changeset), dogfood (owed, below). A: floor/all-checks (the ADR anchor above), dogfood (A's head is an ancestor of B's).", "dogfood_battery": "PR B 67af96fb67 · command-exit 0 · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped · no failures.", "body": "Rewritten PR B body for the seat to write: /mnt/project-files/seat7/37086/prb-body-v2.md (sha256 6f739a6a25d5…, ends with the signed trailer). The dev did not touch the PR body.", "out_of_surface_edits_needed": [ ".claude/skills/spec-property-retirement still names defineForm as the Studio helper", "ui/docs/adr/0056 same", "docs/adr ADR-0159:109 anchor resolves onto a symbol whose meaning is the opposite of its sentence" ], "mcp_calls": "rework 2: 3 reads (actions/job logs, check-runs); no MCP writes", "api_writes": "rework 2: 1 (this os-dev-report comment via post-stamped); git pushes to the two named branches only", "open_questions": [ { "question": "coverage.json's form waiver names card ④ as #37088 (from the card text 'The docs pages follow in #37088'). Is #37088 card ④?", "options": [ "A: yes, keep it", "B: name the right card" ], "recommendation": "A" }, { "question": "Two arms are measured nowhere: destructive-still-shown-by.ts (a `form`'s sections name fields) and package rename / unmanaged install copy names (OBJECT.KEY follows the generic renameName, so its prefix may not follow a renamed object). File follow-ups?", "options": [ "A: the seat files them as follow-up cards", "B: leave them named in the body only" ], "recommendation": "A" } ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "round": "rework 3 + rework 4 (delta review: A PASS 7188020684, B FAIL 7188030110)", "branch": "claude/project-thread-pu5dnt (PR A) + claude/project-thread-pu5dnt-b (PR B)", "pr": "https://github.com/objectstack-ai/objectstack/pull/37366 (A, head cb854ea4d0, unchanged) + https://github.com/objectstack-ai/objectstack/pull/37422 (B, head 789b8ad7fb, base = PR A branch)", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "Rework 3 on B: 7ffc21f52c + 7b0f2f8c77 (M3: the undo of a refused publish and a commit revert put back the old-shape rows a form write removed, at their versions; pins on a cannot-roll-back engine double and on SqlDriver; ablations T1 T2), 8ccb511ce4 + 95cb02acf1 (S11: lint i18n-walk and validate-translation-references follow forms.NAME.sections; cli coverage and extract read the object-level fallback; ablations T10-T13), 7e3b3d2438 (changeset), d2049502a0 (stored-row write census). S10: records T3-T9 and the fixture's capture source in the body. Rework 4 on B (seat-ordered): 6bea26c971 (a rolled-back transaction retires the overlay cache it filled: retireOverlayCacheOnRollback, meta-overlay-cache.ts:438, at all six engine.transaction sites of metadata-protocol), c75ea6281c (pins on SqlDriver with the cache on, CONTROLs, protocol-level pins; ablation U1), 0496390467, 789b8ad7fb (test-only).", "tests": "metadata-protocol full 370 files / 23457 tests pass; rest --project local full 430 files / 8909 pass (door harness 57/57); objectql environment-overlay-five-types 36/36; lint full 237 files / 9674 pass; cli unit full 445 files / 6361 pass; typecheck metadata-protocol, rest, lint, cli exit 0.", "gates": "Local exit 0: check:facade-delegation-only (protocol.ts 11705/11705), test-source-alias, adr-anchors, engine-double-contract, rest-log-spy-declared, cross-package-test-inputs, spec check:generated, adr-0087-registration, changeset gates, nul-bytes, durability-log-level, startup-registry-verdict, i18n, i18n-coverage (after cli rebuild), i18n-walk-parity, docs-transcript-drift, issue-citations, platform-checklist --changed-from origin/main. CI, PR B 789b8ad7fb: 60 success, 7 expected skip, 0 failed, 0 pending, both floors green, mergeable_state clean. CI, PR A cb854ea4d0: 59 success, 2 failed (the ADR-0159:109 anchor PR B restores, and its aggregate).", "l1_face": "B flags: shape (stacked base), changeset @object-ui/types (two test files under src/__tests__, files[] ships dist only; body S8 says so; seat ruled no changeset), dogfood (below).", "dogfood_battery": "PR B 049639046 · command-exit 0 · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped. 789b8ad7fb differs from it by one word in one test comment (public-form-two-type-withdrawal.test.ts).", "body": "Rewritten PR B body for the seat to write: /mnt/project-files/seat7/37086/prb-body-v4.md (58,621 bytes, ends with the signed trailer).", "security_findings": "given to the seat in the thread", "out_of_surface_edits_needed": [ ".claude/skills/spec-property-retirement names defineForm as the Studio helper", "ui/docs/adr/0056 same", "ADR-0159:109 anchor resolves onto a symbol whose meaning is the opposite of its sentence" ], "mcp_calls": "rework 3: 2 reads; rework 4: 0", "api_writes": "1 (this os-dev-report comment via post-stamped); git pushes to claude/project-thread-pu5dnt-b only", "open_questions": [] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "round": "rework 5 (delta review 7197310261 PASS at 789b8ad7fb with S12 to fix in this PR)", "pr": "https://github.com/objectstack-ai/objectstack/pull/37366 (A, head cb854ea4d0, unchanged) + https://github.com/objectstack-ai/objectstack/pull/37422 (B, head 23d766f670, base = PR A branch)", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "B: dee2c2106a (S12: a commit revert takes a form back only once the view rows the commit edited stand again; commit-wide scope, each held form item listed in failed[]), 3c769a1747 + 76ec9b3e48 (a form write removes only the old-shape row that carries that form: the form write and the form read share one naming of a stored row's forms, storedViewRowHoldings in protocol-form-reads.ts), 23d766f670 (comments, test titles and the changeset state the rules the doors keep). Ablations W1 (the shared naming) and W2 (S12 scope) each turn their pins red; proofs in the body. N10 and the timing item are out of this PR, as ruled.", "tests": "metadata-protocol full 370 files / 23457 tests pass; rest --project local full 430 files / 8915 pass (door harness 63/63); typecheck metadata-protocol and rest exit 0.", "gates": "Local exit 0: facade-delegation-only (protocol.ts 11705/11705), test-source-alias, adr-anchors, engine-double-contract, rest-log-spy-declared, cross-package-test-inputs, adr-0087-registration, changeset gates, nul-bytes, durability-log-level, startup-registry-verdict, error-code-casing, doc-authoring, spec check:generated, platform-checklist --changed-from origin/main. CI, PR B 23d766f670: 60 success, 7 expected skip, 0 failed, 0 pending, both floors green, mergeable_state clean. CI, PR A cb854ea4d0: 59 success, 2 failed (the ADR-0159:109 anchor PR B restores, and its aggregate); mergeable_state now dirty against main.", "dogfood_battery": "PR B 23d766f670 (final head) · command-exit 0 · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped.", "body": "Rewritten PR B body for the seat to write: /mnt/project-files/seat7/37086/prb-body-v5.md (57,945 bytes, ends with the signed trailer).", "security_findings": "given to the seat in the thread", "mcp_calls": "1 read", "api_writes": "1 (this os-dev-report comment via post-stamped); git pushes to claude/project-thread-pu5dnt-b only", "open_questions": [ "A stored named container's forms follow the form read's naming in every case (OBJECT.CONTAINER.KEY on another package's object, OBJECT.KEY on its own package's object); the read side is unchanged. Keep (recommended) or change the read side under its own ruling?", "PR A is dirty against main: merge main into A now (then A into B), or after the review?" ] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "branch": "claude/project-thread-pu5dnt-b", "pr": "https://github.com/objectstack-ai/objectstack/pull/37422", "head": "20a80b19d16058700b6a44ea91b38be9da771e45", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "Final head of PR B after the third merge of main (c2bfa3ef7) through PR A (f4ce756599): merge 2321811241 (no conflict) and the regeneration 20a80b19d1 (protocol.mdx, translation.mdx). No code change since the review rounds that passed (A 7203719013, B 7203725192).", "tests": "On 20a80b19d1: check:generated 14/14 current; check:facade-delegation-only, check:test-source-alias, check:adr-symbol-anchors, check:nul-bytes exit 0. Earlier rounds' package runs as reported in 7199521814 and the PR body.", "gates": "CI at 20a80b19d1: 60 success, 7 expected skip, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean.", "dogfood_battery": "20a80b19d16058700b6a44ea91b38be9da771e45 · pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test, under os-verify-lock · VERDICT command-exit 0 (held 43m09s) · Test Files 489 passed, 3 skipped (492) · Tests 4140 passed, 68 skipped (4208) · no failures.", "mcp_calls": "0 this report", "api_writes": "1 (this os-dev-report comment via post-stamped)", "open_questions": [] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#7 · os-alice · session_011y7As9cjn4Y9vAUQbVH4fq
os-dev-report
{ "issue": 37086, "status": "done", "branch": "claude/project-thread-pu5dnt", "pr": "https://github.com/objectstack-ai/objectstack/pull/37366", "head": "4054d58f94187e6e6cbb1ddbc47ecc3fa80d21a8", "session": "session_011y7As9cjn4Y9vAUQbVH4fq", "premise_still_valid": true, "summary": "PR A's branch now carries PR B (#37422, landed by fast-forward to 20a80b19d1) and current main: merge d607a3e492 of main 3ed97b7142 (one conflict, a view.zod.ts docblock: main's wording kept, with this PR's defineMetadataForm) and the regeneration 4054d58f94 (view.mdx, strictness ledger ui/ 231 to 232, authorable-surface/ui.json gains main's KanbanConfig:cardFooter). main adds no *.form.ts module and no defineForm call.", "tests": "On 4054d58f94, exit 0: spec check:generated (14/14), check:authorable-surface, check:export-origins, check:facade-delegation-only, check:test-source-alias, check:adr-symbol-anchors, check:nul-bytes, check-skills-token-ratchet, check:skill-top-level-keys, check:i18n, check:i18n-walk-parity, check:docs-transcript-drift.", "gates": "CI at 4054d58f94: 62 success, 11 expected skip, 1 failed (Check Changeset, completed 03:40:21Z, before the PR body's declarations were updated), 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean.", "dogfood_battery": "4054d58f94187e6e6cbb1ddbc47ecc3fa80d21a8 · pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test, under os-verify-lock · VERDICT command-exit 0 (held 41m56s) · Test Files 490 passed, 3 skipped (493) · Tests 4144 passed, 68 skipped (4212) · no failures.", "mcp_calls": "1 read", "api_writes": "1 (this os-dev-report comment via post-stamped); git push to claude/project-thread-pu5dnt only", "open_questions": [] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Landed · 2026-11-27T07:15Z
adb65d1615dc0698d7b52a113831221bbc187d9f), carrying feat(spec)!: form is a metadata type of its own, and the form doors read a form over both types #37422 (merged into its branch first). Maintainer approval: Alice (os-alice), 「37366 我也批准了,你合并后可以直接落地」 and 「37366 用管理员合并了」, seat 7's project chat, 2026-11-27T07:14Z. The last two main merges were conflict-only (one hand-resolved conflict ini18n-resolver.ts, then generated files only), checked by the seat againstgit merge-tree; CI green on the final headebd9872fc. The card closed on merge;pm:dispatchedremoved by this stroke.revertCommitdocblock, rollback pins, container listing) → Form metadata type follow-ups after #37086: two unmeasured arms, transaction ownership in batch routes, revertCommit docblock, rollback pins, container listing #37852; ADR-0067 D3 add-only note and ADR-0160:425 stale path → weekly card ADR revisions, week of 2026-11-25: rolling checklist of ADR text out of step with main (one governed PR) #37245 rows (added now); card ③ Console reads and editsformitems: Setup public forms re-pointed, the PR #36784 designer becomes theformeditor in Studio (ADR-0159, card ③) #37087 and 设置里新增「对外表单」:列出全部对外表单,能开关、复制地址、改字段和标题、新建(现在只能写在应用定义里) #36444 → seat 4 notified on pm:mailbox — repo:objectstack#4 · os-justin #36810.Merge remote-tracking branch 'origin/main' into claude/project-thread…