Skip to content

form metadata type: define, register and serve form items (ADR-0159, card ②) #37086

Description

@objectstack-fleet

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).

  1. The type (ADR-0159 D2, D3). A FormSchema in packages/spec/src/ui/, derived by reference from FormViewSchema: name (qualified OBJECT.KEY, the part before the last segment must equal object), object (required), label (optional), the form body at the top level (ruled question 5: no config wrapper), plus protection, the ADR-0010 fields and the ADR-0146 overrides declaration. No viewKind, config, isDefault, order or scope. data is refused by name with the prescription to bind with object. object must name an object the package can reference, judged where a view's object is judged today (os validate, publish) (D2).
  2. Registration, in one change: the MetadataTypeSchema member, the DEFAULT_METADATA_TYPE_REGISTRY row (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 collection forms with its plural and singular map entries, and form: listed in OVERRIDE_TYPE_CLASSIFICATION (the pin in customization-package.test.ts fails without it). The showcase's KIND_COVERAGE row with one authored form item: a new public form on an address no other form holds (examples/app-crm and examples/app-showcase both publish /forms/contact-us today; take another). ⛔ No action targets it and no existing form is moved: the console reads forms from view until card ③ (Console reads and edits form items: Setup public forms re-pointed, the PR #36784 designer becomes the form editor in Studio (ADR-0159, card ③) #37087), so an action-opened form item would answer not found.
    • Hand-keyed per-type arms outside the registry. List in the PR every arm keyed on 'view' under packages/rest/src, packages/metadata-protocol/src and packages/spec/src/kernel (git grep -nE "=== 'view'|'view'," -- packages/rest/src packages/metadata-protocol/src packages/spec/src/kernel), and for each say whether form takes an arm and why. Read at 254e396a29e: the per-caller read gate, its packaged-base map and its translate arm in packages/rest/src/meta-item-read-gate.ts; META_COMPILE_CACHE_TYPES in packages/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/NAME today is refused it at /api/v1/meta/form/NAME.
  3. The factory (ruled question 1 = A). defineForm becomes this type's factory and the existing Studio schema-bound metadata-form helper is renamed defineMetadataForm, 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 689e5695b98 git grep -lw defineForm names 60 files, 41 of them code). Count again at your own head and put the count in the PR:
      • 17 *.form.ts modules under packages/spec/src that import and call it;
      • 3 that declare, export or build around it: packages/spec/src/ui/view.zod.ts, packages/spec/src/index.ts, and packages/spec/tsup.config.ts, whose pure-constructor set names it (the renamed helper joins that set);
      • 4 tests: 3 under packages/spec that call it, 1 under packages/lint that names it in a test title;
      • 17 that name it only in a comment: 10 tests (9 under packages/spec and packages/lint, 1 under ui/) and 7 sources (3 under packages/lint/src, 2 under packages/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/spec API-surface and export-origin snapshots, the generated reference page), 9 released or historical texts ⛔ not edited (seven CHANGELOG.md, a released notes page, an audit), and 4 hand-written (two packages/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.
    • 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 form type takes *.form.ts. The 17 Studio modules are renamed *.metadata-form.ts, and METADATA_FORM_MODULE_SUFFIX in scripts/i18n-bundle-surface.mjs becomes .metadata-form.ts. Readers of the suffix, measured at 689e5695b98 (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.mjs on nine lines across several cases (5641 to 5691, and 5881), one of which asserts endsWith('.form.ts') on the live walk (line 5662) and so fails as soon as the modules are renamed; the kind text in scripts/pm/dispatch-gates.data.mjs; a fixture path in scripts/pm/landing-k.mjs; the comments of scripts/check-i18n-bundles.mjs (lines 163 to 170). scripts/ablation-dist-preflight.mjs names a temporary fixture file skill.form.ts and 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/src import a .form module (the seven domain barrels, system/metadata-form-registry.ts, 23 tests). Thirty spell it ./NAME.form; packages/spec/src/kernel/repeater-item-titles.test.ts imports 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.ts is the new type's suffix, "a *.form.ts module binds data" teaches the wrong root for an app's lead.form.ts. Name the Studio modules by their new suffix in: the data root explanation in packages/lint/src/rule-explanations.ts; the data arm of the message in packages/lint/src/validate-expressions.ts (it spells *.form); the docblock wording of packages/lint/src/validate-visibility-predicates.ts together with the two toContain pins on it in validate-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 (the MOVED table lists *.form.ts for VISIBILITY_ROOT_MISLAYERED, line 1904 at be1c0cbd4da), which changes with the explanation in rule-explanations.ts; and the row "Metadata-editing forms (*.form.ts)" in content/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 under packages/lint/src, packages/cli/src, ui/packages/app-shell/src/views/metadata-admin/): re-point the ones that name a live file; released text (a CHANGELOG.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 --write changes no bundle value, and pnpm check:i18n is green.
    • 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-ai and 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 of defineForm from @objectstack/spec outside objectstack-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.
  4. The projection (D5): one pure function beside expandViewContainer that turns a view body into the form items it carries (the container's form, each formViews entry, a viewKind: 'form' item), under the name each is served as today, an item's config lifted 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 object from today's four-rung resolution (anonymousFormObjectName) and its body unchanged (D5). ⛔ The authored-only refusals of item 1 (data by name; the name's prefix equals object) 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-form refusal.
  5. 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 stored form row 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; a form save, reset or delete at (package, name) also removes the old-shape row carrying that form at that address, in the same transaction (an item-shaped view row deleted, a stored container re-saved without the form). ⛔ It removes form content only: a list item of type view that holds the same OBJECT.KEY name 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 to forms: while a stored view row still stands over the form (card ④ does that to first-party apps). So the effective form read resolves a package's form over both types in the one served-row order (servedOverlayRowCandidates): the stored view row 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 the form item it projects, over the package's source form item of that name. A stored form row at the same place in the order wins over the stored view row.
    • A declared form override is admitted where the base ships the form in either type (ADR-0159 D4, D7-b). judgeOverrideWrite asks "does the base ship this item" inside one type today and refuses declared_package_ships_no_such_item (packages/metadata-protocol/src/protocol-packaged-base-refusal.ts). For form it reads the base's forms through the projection as well, so a form override 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. A form override of a name the base ships in neither type is still refused.
    • A stored view row 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 a form item, a view save 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 no overrides) 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 own views: container that expands a list at the name of its own form item is its list beside its form.
    • For the served form read the projection reads served rows only (ADR-0159 D5). A stored view row enters the effective form read 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 stored view row. "Served" is asked at each package's address, inside the form read's own resolution over both types, and ⛔ never taken from the effective view list: 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 in forms: it has left the view type, so the view merge 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-less view row that carries an open form, behind a writable package's own view row that carries a list of the same name, is read by no layer today and both doors answer 404; they answer 404 after 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 view write that would store a list at a name a read-only package authors as a form item (in forms:; 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 in protocol-save.ts judges names shipped as view items. ⛔ 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-less view write 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-shape view item: 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.
  6. The anonymous doors and the withdrawal judgement over both types (D6, rules 1 to 9 and 11): candidates from the effective form read, 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 both form and view, 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 at error, 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_FOUND for a switched-off form is unchanged. The tenancy intake advisory and the organization-scoped refusal judge form writes 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).
  7. The public address clash (ruled question 3 = A). The form write door, os validate and publish each refuse a form whose open slug another form already holds, naming both forms. It is a refusal on the new type only: an old-shape view write keeps today's first-match behaviour, and nothing an author has today narrows. "Another form" is judged over the effective form read, so a projected old-shape form holding the slug counts. A form holds an address while its sharing.publicLink names 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 every form save 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 next form save and os validate are refused, naming both, until the retired form's link is cleared. A new error code goes through the ledger (check:error-code-casing).
  8. Translations (D8): the forms family in the bundle schema, the extractor and the translation lint; the translator reads forms.NAME first and the form tails under objects.OBJECT._views.KEY as the declared fallback; section copy keeps objects.OBJECT._sections.SECTION as its object-level default. label and description under _views.KEY are not form tails: they are neither moved nor read as a fallback (ADR-0159 D8).
  9. Lint: the form walkers read form items and the projection; the consumer-less warning of D1 (successor of form-view-internal-not-loaded). ⛔ It is not raised for an item that declares overrides when 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-loaded stays as it is and is the only advisory on the old shapes (D5).
  10. 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, serves GET /api/v1/meta/form and /api/v1/meta/form/NAME, and publishes; os validate refuses a name whose prefix differs from object, an authored data key, 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 and code and naming both forms, one pin shows an old-shape view write on a taken slug still saves as before, and one pin shows a form saved open on the address of a switched-off form is refused (ablate: the switched-off half of the holder read).
  • A form save, a reset and a delete at a name a list item of type view holds each leave the list row byte-equal (ADR-0159 D5; ablate: the form-content test of the old-shape row removal).
  • A form save, a reset and a delete at (package, name) each remove the old-shape row that carries that form, in the same transaction: an item-shaped view row is gone; a stored container is re-saved without the member, its lists byte-equal; a form write that fails leaves both rows as they were.
  • The override gate over both types (item 5): a form override saved through the save door into the pair of a base whose form is an old-shape view item is admitted; a form override of a name the base ships in neither type is refused declared_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.object differs from its container's object answers on both doors as before this change, byte-equal on the resolve door (ablate: parse projected items with FormSchema; the form is closed or dropped).
  • Rule 9: in an organization-scoped environment a form save that would leave a withdrawn form open is refused as the same view save is today, with the withdrawal held in the other type (status and code; ablate: the form arm 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 form save).
  • Translations (item 8): forms.NAME.title wins over objects.OBJECT._views.KEY.title; the tail is read when the family has no value; objects.OBJECT._views.KEY.label is not read for a form; the extractor emits no _views tail for an authored form item.
  • The consumer-less warning (item 9): raised for an item with no link that no action targets; not raised for an item that declares overrides over 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/NAME is 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 form item, a list saved package-less at the form's name is refused (status 400, code VALIDATION_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 stored view row of the name; the doors answer 404. Ablate: the expansion half of the refusal; the container saves and the doors answer 404);
    • the closed reading: a package-less view row that carries a list at the name, seeded as stored, keeps both doors at 404 at 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 source form item when the stored row projects no form).
  • Served rows only (ADR-0159 D5), one pin with an ablation: a writable package's own view row that carries a list, and a package-less view row of the same name that carries an open form; both doors answer 404 at the form's address before this card's change and after it (ablate: project every stored view row into the form read; the address answers). A second fixture, for the address: a read-only package authors an open form item, and a package-less view row 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 answer 404 at the package's address before the list is saved and after it (ablate: take the served rows from the effective view list; the address answers).
  • A stack that still authors the three old shapes loads unchanged, and each of its forms is also served as a form item under the same name. GET /api/v1/meta/view answers exactly what it answered before (pin against a fixture taken before the change).
  • The public form of examples/app-crm answers at its address before and after, byte-equal on the resolve door.
  • The eight D6 pins exist, each asserting status, code and that no record was written, each with one ablation run recorded in the PR (rebuild, on-disk mutation proof, restore proved by an empty git diff HEAD):
    • withdrawn by a view override in .custom, open as an authored form of the same name (ablate: the view half of the layer);
    • the mirror (withdrawn by a form override, open as an old-shape item in the base); the withdrawing row is written through the save door, not seeded (ablate: the form half of the layer);
    • withdrawn in a container's formViews entry, open as a form item 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 404 at 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: getMetaItemsPerPackage for 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 view override in .custom whose body has no publicLink, over a base that authors the same name as an open form item, and its twin with a package-less row: both doors answer 404 at the base's address (ablate: the cross-type resolution of item 5, by serving the package's source form item when the stored row is a view row);
    • the submit door refuses wherever the resolve door does.
  • The exempt reader: pnpm check:adr-anchors is green with its anchor; the unreadable-body and view-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.ts is green with the new row; the showcase coverage test is green.
  • Changeset: minor on every package the diff moves, Metadata-protocol: narrowed in the PR body and the changeset; the BREAKING banner and the ADR-0087 disposition for the defineForm export change (ruled question 1), with the FROM and TO mapping (defineForm for a schema-bound Studio form becomes defineMetadataForm), 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. ⛔ Not not-required (no-migration-prescription): it is refused on a declared narrowing. The seat settles the yes of the Clause-②: 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 edits form items: Setup public forms re-pointed, the PR #36784 designer becomes the form editor in Studio (ADR-0159, card ③) #37087) ship in the same major release, so no release serves a public form item that Setup does not list, and the changeset carries no sentence about that gap. The gap exists on main between the two merges only.
  • Skills-docs: follow-up #N in the PR body, naming the skills card (Skills teach forms: as the one way to declare a form, and views: as lists only (ADR-0159, card ④s) #37105). The docs pages follow in First-party sources author forms as form items: examples move to forms:, skills and docs teach forms: (ADR-0159, card ④a) #37088. skills/** is not in this card's surface.
  • packages/spec generated 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; defineForm is 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 under ui/ 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

  1. added
    priority:p1
    pm:queue
    domain:spec
    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-24T19:30Z

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM

    Outside-use reading for defineForm (item 3, ruled question 1) · 2026-11-25T22:58Z

    Taken before any claim or edit. gh api search/code (defineForm org:objectstack-ai) reaches only objectstack-ai/objectstack from this session (a control query defineStack org:objectstack-ai also 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, .git and node_modules excluded):

    repository head files naming defineForm
    objectstack-ai/objectstack 80da086 61 (the platform itself, the card's own inventory)
    objectstack-ai/objectui b2c0adecb0b 1: packages/app-shell/src/views/metadata-admin/SchemaForm.groupSectionReachability-8725.test.tsx:115, a COMMENT ("the data binding defineForm writes onto every metadata form"), no import or call
    hotcrm 228c5536d6b · docs.objectos.ai 746379395f8 · docs 7fe838981f9 · objectdocs 3ab62eb51c5 · gallery 782d801902a · duly 6125c0b6a6b · marketing f615eb320e1 · templates 960f24db4fa · kpi 60293521584 · claude-plugin 66ee3e370e6 · gemini-extension 3de2a80ff3c · hotsrm 2d28a25804b · website-astro e22d6f79622 · brightrule c051a22840e · mobile 8e4235f6d7a · objectos-v1 7787a8b6e17 · hotclm 938928f18c3 · marketplace 4e6b30cbb2a · bridges faf993e3840 · www.objectos.ai cdb0eb628ca · plugin-auth 1936d2cba17 · .github 69d1c1310c4 each its own 0

    Reading: 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.

  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud#1 · os-warren · session_01JQwxbX11yNi4DyGhuzqBpV

    Reading for repo:objectstack#7 (mailbox request 7177025148) · 2026-11-25T23:00Z.

    objectstack-ai/cloud default-branch head 03769766a92d8809abe0cf8aa63e56ebc5905d4a: git grep -nw defineForm over the whole tree (sources, tests, docs, CHANGELOGs, lockfile) returns 0 hits. Cloud has no import or call of defineForm, from @objectstack/spec or anywhere else.

  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM

    Claim: PM loop round 1 (seat 7) · 2026-11-25T23:05Z
    Session: session_011y7As8wf3DSPRevwNnYLcM
    Thread session: session_011y7As9cjn4Y9vAUQbVH4fq
    Account: os-alice
    Branch: claude/project-thread-pu5dnt
    Second 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-37086
    Domain: domain:spec
    Seat: repo:objectstack#7
    File surface: the card's own inventory, counted again at the dev's head: packages/spec/src/** (the form type, registry rows, the defineForm/defineMetadataForm rename and the *.metadata-form.ts move, 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 (one form item + KIND_COVERAGE), content/docs/protocol/objectui/layout-dsl.mdx (one row), comment/path re-points under packages/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_SUFFIX all present; no form metadata type yet; defineForm 61 files, 18 *.form.ts modules — 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/cloud 0 hits at 03769766a92 (repo:cloud#1, 7177053511). The rename proceeds.

    Clause-②: yes reason: a new metadata type, new @objectstack/spec exports, the defineForm meaning change, and item 7's new error code (always yes); the (narrowing) arm comes with Metadata-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.mjs before reporting.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    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"
      ]
    }
  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM

    Claim amendment 1 · rework 1 · 2026-11-26T05:15Z

    Answers to the dev's report 7183297230:

    1. 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 the check:skill-top-level-keys anchor-section key name). No teaching text, example or eval in it: those stay with Skills teach forms: as the one way to declare a form, and views: 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.
    2. Studio directory/menu keep form hidden until card ③ (Console reads and edits form items: Setup public forms re-pointed, the PR #36784 designer becomes the form editor in Studio (ADR-0159, card ③) #37087): A (task order; the placement and the ADR-0084 row belong to card ③).

    File surface: adds skills/objectstack-platform/SKILL.md (that one row) for PR B. Also owed in this round: PR A #37366 is dirty against main (merge main, then carry A into B); re-read CI on both heads. Everything else in claim 7177150111 is unchanged.

  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    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 the form type's menu row (interface group, directly after view, common tier). Whoever lands the form type'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.

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    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"
        }
      ]
    }
  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    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": []
    }
  12. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    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?"
      ]
    }
  13. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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": []
    }
  14. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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": []
    }
  15. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM

    Landed · 2026-11-27T07:15Z

  16. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:specpriority:p1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions