Repository navigation
feat(console)!: forms are listed in Studio's menu, and the Developer Public Forms page is retired - #38619
Conversation
The `form` type leaves the directory's hidden types and gains its menu row: under UI, in the common tier, last of the group's common types and so directly before `view`. ADR-0084's type-to-group table gains the row the placement pin reads, with `view` and `action` one place later. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
Switching a public form on while another form holds its address is refused by the server. Setup now reads the environment's forms again, finds the holder by the server's own rule, and says both names: the form being switched on and the form that holds the address. With no holder read it says another form holds the address. Two new sentences in every locale. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
A public form is a `form` item: designed in Studio's form editor and switched on or off in Setup's Public forms page. The console's Developer page that listed and edited public forms as views is removed with its tests and its `console.developer.publicForms.*` strings, and Studio's Developer group no longer names it. Both of the page's addresses redirect to Studio's list of forms. Setup's entry of the same id stays, and the three navigation pins assert it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
Read live, the unquoted title ran into the sentence around it. The changeset records what the environment's translation door does with a removed key. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
…d removes The developer namespace holds 184 leaves once the Public Forms keys are gone, and the de pack gains one paired quote span with the new refusal. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB
📓 Docs Drift Check11 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 4 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c87393a0b3d82769ed1f64e540cf1dd65e85dd4b && git checkout c87393a0b3d82769ed1f64e540cf1dd65e85dd4b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 48da71613b8b6c3e9c12da1c7b3e149c9d1d644c 81426a31136bafa5fd4fc6a5ea8828f3e767c5a5 && git checkout -B drift-repro 48da71613b8b6c3e9c12da1c7b3e149c9d1d644c && git merge --no-ff 81426a31136bafa5fd4fc6a5ea8828f3e767c5a5
node scripts/docs-audit/affected-docs.mjs --json 48da71613b8b6c3e9c12da1c7b3e149c9d1d644c |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a Contract-tier review (rules face on the ADR-0084 row and the ui contributor guide, and the declared narrowing over every path outside the prose faces) at this head by an isolated sub-agent of seat 1's L1 thread; the record follows on this PR. |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a Contract reviewServed-tier: Two faces meet on this head and this one record answers both: the rules face (the two ① Derived judgments
② Semver level
Clause-②: yes (narrowing) — the declaration on the PR body and in the changeset is right as written. ③ Boundary flagsDev flags (report 7257975783,
Commits after the two reading heads — the seat's expectation holds. After Check-runs on the head. Read three times; last read 2026-11-29T15:42Z: 70 runs, 59 success, 10 skipped, none failed. No verdict yet: SQL push-down — no finding. The diff adds no object query, no id materialisation and no in-app join. The one new read is Security. ④ Design judgmentNo must-fix, no should-fix.
The narrowing itself — it retires a surface that was ruled retired; it takes no declared capability away at the consumer. Read against
Removed tests against the deletion rule (AGENTS.md: deleted only when the PR names a duplicate, or the assertion retired with its surface). Each of the five deleted files renders Nits (none affects correctness or the contract; a fix outside the prose faces moves the head, so each is a follow-up or an accepted deviation):
Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a 维护者速读
席位意见:建议批准。合同审查没有必须修、没有应修,十条小项都不影响正确性;图标、过时注释这类收尾在卡 #38621 上。因为这次改动撤掉了原先编辑表单「对外共享」设置的那个页面,PR 带 席位核对 — ACCEPT · L1 · seat repo:objectstack#1, review thread R2 · Head-sha
|
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a Tier H approval request · 2026-11-29T15:49Z · PR #38619 (
The ask: approve this head, and the seat lands it; a merge by your own hand is the same record. |
…s five records) (objectstack-ai#38774) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBHuLciv5hYVYUu4pypDP48J)_ Part of objectstack-ai#38438 Clause-②: no Metadata-protocol: none This pull request carries seven of the card's nine rows. The two ADR-0161 rows stay on the card; see "Rows not carried". ## 维护者速读 - 用户能看到什么变化:用户无感;只在五份设计记录里补了七条带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。 - 为什么做:属于「每周设计记录修订」滚动清单(11 月 29 日这一周);清单每一行指出一处「记录写的和主线不一致」或「记录留给某项工作回答、那项工作已经做完」,这次把代码已在主线的七行一并补齐。 - 出错会怎样:最坏是某条说明写得不准,照着设计记录干活的人会被带偏;纯文档、只增不删,可以直接撤回,不影响任何功能。 - 要你做什么:请审这七条说明并批准一次(设计记录须由你本人批)。 ## What changes Five ADR files gain seven notes dated 2026-11-30. Every diff line is an addition: 62 lines added, 0 removed. No original decision text is rewritten, and no decision changes. Each note follows the note convention its own record already uses, and each says that the passage it is read with is left as written. Each row's "what is true now" was read against the code on `main` before its note was written. Where a row's wording did not match the tree, the note says what `main` does; the last column says so and the list under the table gives the detail. | ADR · section | Was (the record's words) | Now (what the note records) | Source PR | Row on the card · result | |:---|:---|:---|:---|:---| | ADR-0084 · amendment of 2026-11-28, item (3) | "one landing for every door is not ruled"; the command palette's package entries, an app's design-in-Studio entry, the empty menu's entry and Setup's doors "still open the object list" | One landing is ruled: ruling record 7247357556 on objectstack-ai#37958, the maintainer's 「OK」, quoted with its question. Every door lands on the package's overview, `/studio/PACKAGE/overview`. `/studio/PACKAGE/data` stays a working address for the object list. The review-changes deep link still opens the Changes drawer over the object list and is read as no door, by a seat reading and not by a ruling | objectstack-ai#38501 | Card body row and 7252442785 · **written, corrected to the tree** (two labels, the date) | | ADR-0084 · the note of 2026-11-29 on the `form` row (near line 219) | "The same change takes the type off the directory's hidden types and brings its designer" | True of card objectstack-ai#37087, loose for the change: objectstack-ai#38484 brought the designer, and objectstack-ai#38619, which wrote the row, lists the type (off the hidden types, a place in the menu) | objectstack-ai#38484, objectstack-ai#38619 | 7258423977 · **written as an added note** (the row says "Reword") | | ADR-0037 · TL;DR item 2 and the "What already exists" table | "the streaming build tree (`data-build-progress` parts)", and a table row that marks "`data-build-progress` stream parts" shipped | The build-progress stream frame is retired. Its reader left with the build chat frontend, its producer with the cloud build loop, and its declaration left `@objectstack/spec/ai`. The upgrade guidance is the migration entry `ai-build-progress-frame-retired` | objectstack-ai#38398 (reader: objectstack-ai#37720) | 7250363289 · **written** (one sentence beyond the row) | | ADR-0150 · the note of 2026-11-26, bullet "Reads stay the missing name" | "Three reads at `_env` still answer `409` at this head (`?state=draft`, `?preview=draft`, `?layers=true`), and card objectstack-ai#34261 carries their move to `404`." | The move has landed. For a name only disabled packages hold, each of the three answers its own `404` and names no package, on both transports. An enabled package's stored draft that the plain read does not see keeps the `409` for the two draft reads | objectstack-ai#38633 | 7259890438 · **written, corrected to the tree** (codes and callers made exact) | | ADR-0150 · D4, the engine's flow-map row | The table keys the engine's flow map by `(package, name)` and says nothing of the status rows read from it | Each status row carries the `packageId` of the engine slot it reads, so `(packageId, name)` names one row. The toggle door reads back the row of the slot it switched, and echoes the request only where the reading cannot name that flow | objectstack-ai#38652 | 7266385586 · **written** | | ADR-0085 · the note of 2026-11-27 | "Neither key is in the spec yet: `ObjectSchema` is strict and refuses both until objectstack-ai#37792 lands `pinOverview` and objectstack-ai#37802 lands `fieldTabs`." | `pinOverview` is in the spec, an optional boolean on `ObjectSchema`; `false` means the desktop full record page never pins. An object extension does not carry the key. `fieldTabs` is still refused | objectstack-ai#38679 | 7271302663 · **written**, no `fieldTabs` line | | ADR-0146 · the note of 2026-11-24 (near line 908) | "A `.custom` package that is not the object's pair is not applied, and the boot log names it." | Maintainer ruling 7268226134 on objectstack-ai#36548, item 5, arm (c), verbatim 「保存和安装都拒绝」. A non-pair `.custom` package that writes `fieldGroups`, `relatedLists` or `actionLayout` on an object extension is refused at the save, the restore, the draft promotion, a package duplicate and marketplace install. Where no door can read the installed packages, the sentence stands | objectstack-ai#38706 | 7272564306 · **written, corrected to the tree** (statuses; the duplicate's answer corrected in patch round 1) | ### Rows not carried - **ADR-0161, two rows** (Consequences, "The service keeps none of its own"; K7 components table, "Split algorithm version"). The claim for this pull request leaves that file out, because pull request objectstack-ai#38764 was open on the same record when the claim was written. objectstack-ai#38764 merged at 2026-11-30T13:15:16Z, while this branch was being verified, and the prerequisites both rows name (objectstack-ai#38307, objectstack-ai#38401, objectstack-ai#38375, objectstack-ai#38452) are merged. Pull requests objectstack-ai#38730 and objectstack-ai#38732 (card objectstack-ai#38692) are still open and both write ADR-0161, so that record still has other writers. By the seat's call on the card (comment 7280598106) the two rows stay on objectstack-ai#38438 behind them, and this pull request is `Part of objectstack-ai#38438`. - **ADR-0085, a `fieldTabs` line.** Its pull request, objectstack-ai#38742, was open and a draft when this was opened (read at 2026-11-30, head `59220bf331`). The card says that line follows when it merges. Every prerequisite of the seven rows is merged on `main`: objectstack-ai#38398, objectstack-ai#38501, objectstack-ai#38484, objectstack-ai#38619, objectstack-ai#38633, objectstack-ai#38652, objectstack-ai#38679 and objectstack-ai#38706. The newest comment on the card when this was opened is the claim, 7279134045; a row added after it is not in this pull request. ### Where a note differs from its row - **ADR-0084, item (3).** The row names Setup's doors "Open in Studio" and "Customize in Studio". The labels on `main` are "Open in App Studio" and "Customize in App Studio", and the note uses them. The proposed text was dated 2026-11-29; the note is dated 2026-11-30, the day it was written into the record. The note names the three Setup doors one by one and says of the review-changes deep link what the row says: no door, by a seat reading, not by a ruling. - **ADR-0084, the `form` row.** The row says "Reword". The card's rule is that a row lands as an added dated note, so the 2026-11-29 note stays as written and a note under it says which pull request did which half. - **ADR-0037.** One sentence goes beyond the row: Phase 2's first invalidation source, the `buildProgress.items` diffs, was the same signal as the chat held it, and no code under `ui/` holds it any more. Cut it if the note should carry the row alone. The note also names the producer's retirement in the cloud repository and what a host does that still streams a progress part of its own. - **ADR-0150, the reads.** The row's proposed sentence gives `404` for `?preview=draft` and `?layers=true`. The note gives the code the tree answers, `404 RESOURCE_NOT_FOUND`, says that these are the answers to a caller admitted to the switch, and that a caller who is not admitted gets the plain read's `404`. It adds two facts from the tree: a package-less draft is withheld while a disabled package holds the name, and the layered view answers `404` under the leak guard. - **ADR-0150, D4.** The note spells out the three cases where the toggle door still echoes the request. The row's proposed sentence leaves them out. - **ADR-0085.** The row offers a "Built by" line in the style of an earlier note. The note carries it and also restates what `false` does and why an object extension does not carry the key, both from the row's own "what is true now". - **ADR-0146.** The row gives one code for every door. The tree answers `VALIDATION_ERROR` with status 400 at the save, the restore and the draft promotion, and with status 422 at marketplace install, with nothing installed. A package duplicate saves each copied row through the save door and lists a refused row in its own `failed[]`, with the save door's sentence and no code, storing nothing for that row. The note says all three, and that no error code is minted. ## Patch round 1 (head `04cc5911`) The contract review at `947b7e64` (comment 7280965486) passed with one should-fix: the ADR-0146 note put `VALIDATION_ERROR` / 400 on the package duplicate. Commit `04cc5911` corrects this branch's own 2026-11-30 note to the tree (`duplicatePackage` reports the refused row in `failed[]`) and adds one sentence from item 3 of ruling 7268226134 (a target whose owner the door does not know is not judged by role). Only that note moves: +9 / -3 inside it, and the branch is still +62 / -0 against `main`. Dev report: card comment 7281379369. Sections below that name `947b7e64` record the first round. ## Tests Docs only. No package source is touched, so no package test and no type check is owed for the change. No tested behaviour changed, so there is no ablation. Checked on the committed text at `947b7e64`: - Each phrase a note quotes from its ADR is in that file as it stands on `main`. A script compared them. One quotation, in the ADR-0085 note, reads as the sentence renders: the record links its two card references and the quotation does not. - Each verbatim maintainer quotation was compared with its record on GitHub (7247357556 and 7268226134). - Each path a note cites exists on the tree. The one exception is deliberate: the ADR-0037 note names `packages/spec/src/ai/build-progress.zod.ts` to say that the module is gone. - Each test title a note quotes is in the test file the note names. - A probe on the spec source: `ObjectSchema` accepts `pinOverview: false`, refuses `pinOverview: "no"`, and refuses `fieldTabs` as an unrecognised key; `ObjectExtensionSchema` refuses `pinOverview` as an unrecognised key, with its guidance. - Upstream moved four commits while this was written. The branch merges `main` at `f576dee5`; none of the four touches one of the five files or a path a note cites. `overlap-check` answers `VERDICT clean exit 0` against that `main`, and no open pull request shares a file with this branch. Two tests read these records from disk. Both were run on `947b7e64` under the verify lock, after building what each needs: - `ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.test.ts` reads ADR-0084's type table: `Test Files 1 passed (1)`, `Tests 21 passed (21)`. - `packages/qa/scenarios/test/score/entry.test.ts` reads ADR-0150's D1 table: `Test Files 1 passed (1)`, `Tests 14 passed (14)`. Its first run answered `Failed to resolve entry for package "@objectstack/types"`, a missing build in the fresh worktree and no verdict on this change; it passed once that package's build closure was built. The local gate set is the `dispatch-gates --commands` derivation for this change set, 21 commands, run on commit `947b7e64` (patch round 1 ran the same 21 on `04cc5911`, all exit 0). Each exit code was captured before any pipe. Reconciliation: `Run reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN`. The same 21 were derived and run on the commit before the merge, with the same result. <details><summary>ADR gates on 947b7e6 (all exit 0)</summary> | Command | Exit | Verdict line | |:---|:---|:---| | `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4597 anchors across 165 records resolve`, 0 line anchors survive. On the base commit the gate read 4570, and 4593 with this change alone; the other four come with `main`. | | `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1284 relative link destination(s) under docs/adr/ resolve` | | `node scripts/check-adr-links.mjs --self-test` | 0 | | | `pnpm check:adr-anchors` | 0 | `check-adr-anchors: OK (135 anchored file(s), every governing ADR still referenced` | | `pnpm check:adr-index` | 0 | `adr-index --report: OK — docs/adr/README.md is current, every record parsed` | | `pnpm check:doc-authoring` | 0 | | | `pnpm check:nul-bytes` | 0 | `check-nul-bytes: OK (scanned 29015 text file(s)`, no raw control bytes | | `pnpm check:closed-ceremony-text` | 0 | | | `pnpm check:pm-governed-merges` | 0 | | | `pnpm --filter @objectstack/lint run check:doc-formula-expressions` | 0 | run after building `@objectstack/spec`, `@objectstack/formula` and `@objectstack/lint` under the verify lock | </details> <details><summary>The other derived families on 947b7e6 (all exit 0)</summary> `node scripts/check-closing-keyword-parity.mjs` and its `--self-test`, `node scripts/check-comment-mask-corpus.mjs`, `node scripts/ci/plan-test-core-shards.mjs --self-test`, `pnpm check:ci-filter-parity`, `pnpm check:cross-package-test-inputs`, `pnpm check:driver-memory-census`, `pnpm check:gitlink-declared`, `pnpm check:pm-prior-rulings`, `pnpm check:refd-timer-probe`, `pnpm check:watch-hint-literal`. Before the last push: `node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD` exit 0, two commit messages (three after patch round 1, also exit 0), no card relation and no model identifier in the trailer pair. </details> <details><summary>A local-only reading that is red for a reason outside this change</summary> `pnpm check:dev-prereqs` exits 1 in this worktree: "The workspace is not built", 105 of 110 workspace packages have no build output. It judges the machine and not the diff, CI does not run its scan, and a fresh worktree that builds only what a docs change needs reads this way. It is not in the derived list. </details> Not run locally: the repository test project behind `test:repo`, and every package suite. CI runs them on the pull request and on the merge group. Every other family CI runs is read from this pull request's check runs, not re-run here. ## Acceptance notes - **Changeset.** None, and the pull request carries `skip-changeset`. `docs/adr/**` ships in no package. - **Governed surface.** `docs/adr/**` lands on the maintainer's approval. This pull request stays a draft; the seat arranges the review at the tier this surface owes and hands it over. - **Why "Part of".** The card says it ends when its pull request merges. Two of its rows are not here, so merging this one must leave the card open. - **Seen and left alone.** These are outside the seven rows and are not changed here. - ADR-0037's Status line says all four phases are implemented. On this tree the console's canvas-invalidate signal has a subscriber and no publisher: nothing calls the bus function that emits it. It is a candidate row for the card of this name. - ADR-0150's D4 note of 2026-11-10 gives its own end condition, an earlier card landing. That card ended on 2026-11-12, and the record carries no line that says so. A possible row; not judged here. - Comments in the chat plugin still name the retired build-progress part, and one test fixture uses the name as an open `data-` part. Not a record, so not a row. ## Verification ### Read first 1. `docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md`, the note of 2026-11-30 under the note of 2026-11-24. The highest-risk hunk: it quotes a maintainer ruling, and it draws the line between the doors that refuse and the places where the old sentence still stands. Check the two statuses and the list of places with no door. 2. `docs/adr/0084-application-builder-information-architecture.md`, the amendment of 2026-11-30 under the amendment of 2026-11-28. It quotes a maintainer ruling and lists every door; check the list, and the sentence on the review-changes deep link, which records a seat reading and says so. 3. `docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`, the first amendment note of 2026-11-30. Check the three answers, who gets which, and the leak-guard paragraph against the tests it names. ### Two-minute check Run `git diff --numstat origin/main...HEAD` on this branch. Expect five rows under `docs/adr/`, each with `0` in the removed column, and 62 added lines in total (2, 4, 18, 28 and 10). Then run `pnpm check:adr-symbol-anchors` and expect exit 0 with a line that contains `anchors across 165 records resolve`. --- _Generated by [Claude Code](https://claude.ai/code/session_01WGufzhPdWmTd47Fi2bKYZS)_ <!-- signed: repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Jianguo · project thread
Fixes #37087
Fixes #36444
Clause-②: yes (narrowing) — released translation keys, one Studio navigation entry and a console page are removed (listed under What changes); two
publicFormsSetupkeys are added in every localeMetadata-protocol: none
Skills-docs: none — no metadata an author writes changes; the Studio page retired is a console page.
维护者速读
What changes
Card ③ of ADR-0159, PR 2 of 2 (PR 1 was #38484). The claim is 7255649193 with amendments 7255720152, 7255945859, 7256242334 and 7256905062.
formleavesHIDDEN_DIRECTORY_TYPES(metadata-admin/directoryScope.ts), andSTUDIO_MENU_PLACEMENT(studio-design/studioMenuPlacement.ts) gains{ type: 'form', tier: 'common' }directly afterreport: the UI group, the common tier, placed by name as the ADR-0084 amendment ruled. Being common, the row is always listed, also in a package that holds no form, and the type directory lists the type too. ADR-0084's type-to-group table gains theformrow (viewandactionmove to 6 and 7) and one dated note, nothing else; the table now has a row for each of the registry's 35 entries.nav_public_formsentry is removed frompackages/platform-objects/src/apps/studio.app.ts, withapps.studio.navigation.nav_public_forms.labelin the 11 translation files and the 10 source-hash files. Both addresses of the page redirect, in one hop, to Studio's cross-package list of forms (/studio/~all/metadata/form): the standalone route/apps/APP/developer/public-forms(AppContent.tsx) and the component address/apps/APP/component/developer/public-forms(the keydeveloper:public-formsstays registered inregisterDeveloperComponents.tsx, as a redirect). The 47 keys underconsole.developer.publicFormsleave@object-ui/i18n's./namespaces/developerin every locale. Setup's navigation entry of the same id is untouched, and the three pins still assert it.409 FORM_ADDRESS_TAKEN, the page reads the forms again, finds the form that holds the address (publicAddressHolderOf, which mirrors the server'sformHeldSlugand leaves the row's own layers out) and says: "Couldn't switch Request a demo: the form “Talk to the team” already uses the same address. Give one of the two forms another address in App Studio." When two forms share a title, the holder's name follows in brackets. When the holder cannot be read, the sentence says another form holds the address. Two keys in all 11 locale files:publicFormsSetup.refusalAddressTakenandpublicFormsSetup.refusalAddressTakenUnknown. Any other 409 keeps today's sentence.Removed, for the record:
ui/apps/console/src/pages/developer/PublicFormsPage.tsx.PublicFormsPage.emptyPlaceholderAffordance-8504.test.tsx,PublicFormsPage.publicUrlBasename-11769.test.tsx,PublicFormsPage.redirect.test.tsx,PublicFormsPage.servedRule-11545.test.tsx,PublicFormsPage.sharedSelect-11865.test.tsx; thePublicFormsPagecases inconsolePagesLocale-13460.test.tsxanddeveloperMetadataEnvelope.contractEnvelope-6917.test.tsx.nav_public_formsof the Studio app (componentdeveloper:public-forms), with its label key.console.developer.publicForms(shipped since 18.2.0).References the removal touched (claim: "only where they name the removed page"):
ui/.claude/skills/objectui-contributor/guides/console-development.md(the pages tree, the developer routes line, one legacy-redirect line).ui/scripts/markdown-test-inputs.mjs,scripts/check-ci-filter-parity.mjsand theci.ymlpath lists do not name the page and are not changed.Tests that enumerate the listed types, changed to add
formonly:studioMenuPlacement.test.ts,studioMenuModel.test.ts,StudioMenu.test.tsx.StudioPaletteGroups.surfaceScope-36900.test.tsxneeded no change.Read first (by risk):
ui/packages/app-shell/src/views/setup/publicForms.ts,publicAddressHolderOf: which form is named as the holder, and which layers of the row itself are left out.ui/apps/console/src/registerDeveloperComponents.tsxandAppContent.tsx, the two<Navigate>redirects: a bookmark of either address must land on a page.docs/adr/0084-application-builder-information-architecture.md: theformrow and the note.Two-minute check:
pnpm --dir ui exec vitest run apps/console/src/__tests__/publicFormsRetired-37087.test.tsxprints 8 passed; or open/apps/setup/developer/public-formsin a running console and land on Studio's list of forms.Tests
studioMenuPlacement.test.ts:formis listed and common, directly afterreportand so directly beforeview; CONTROLfieldandpackagestay hidden; the ADR-0084 table pin now reads theformrow.studioMenuModel.test.ts: the directory rule listsformon a package and still dropsfieldandpackage; the UI group's tiers.StudioMenu.test.tsx: the row is drawn after Report above the fold with the package's list address; the count shows when the package holds forms; CONTROL noformserved, no row.publicForms.test.ts:publicAddressHolderOf(another form on the slug, switched on or off; the row's own base, override and package-less layers left out; nothing found) andisAddressTakenRefusal(status and code both required).PublicFormsSetupPage.test.tsx: the refusal names the holder; equal titles add the name; holder unreadable; CONTROL another 409 keeps the old sentence.publicFormsRetired-37087.test.tsx(new): each address lands on/studio/~all/metadata/formin one hop (a recorder logs every location), no query or fragment carried, the key stays registered by the console, the page module is gone, CONTROL the neighbouring developer route still renders.ui/packages/i18n/src/__tests__/developer-namespace.test.ts(the en catalogue has 184 leaves where it had 231, so its floor of 200 becomes 150) andde-quote-pairing-3876.test.ts(the de pack holds 134 paired quote spans where it held 133, at both pins: the new refusal's „{{holder}}“).packages/platform-objects/src/apps/console-page-nav-entries.test.ts,packages/cli/test/console-page-nav-entries.pin.test.ts,packages/cli/test/connect-agent-both-halves-wire.pin.test.ts: the Studio app serves nonav_public_formsand names nodeveloper:public-forms; Setup serves exactly one, withforms:public-forms.Acceptance notes
Driven in a browser on
examples/app-showcase(objectstack dev --ui --seed-adminon its own port and data file, the console's dev server proxied to it), headafcf5fb1before the merge of main. Two shipped public forms: the old-shapeshowcase_inquiry.contact(served through the projection) and theformitemshowcase_inquiry.feedback. Every step ran on the old-shape form.admin/create-user(rolemember):/api/v1/meta/appserves nosetupapp, and the page's address answers "Only system administrators can manage public forms."/f/showcase-feedbackand/f/contact-us, both On/f/contact-usshows Page not found without signing in,GET /api/v1/forms/contact-us404, submit404 FORM_NOT_FOUND; the row stays listed as Off. On again: the form renders and a submit answers 201400 VALIDATION_FAILED("Company is required"), with it 201. Then Source removed and published: it is gone from the anonymous pagerequest-demo(Name, Email, Message, Company), saved into the app's.custompair, published; filled in and submitted without signing in (201, the thank-you page); the record reads back with the four values; Setup lists it/forms/contact-usthrough the metadata API (a save that leaves a form closed is never refused; the designer's own check would have stopped it). Switching it on:PUT … 409, the switch stays off, and the message names both forms, in English and in Chinese. CONTROL: with its own address back, the same switch savessharing.enabled: false; after the publish the address still answers 404 and takes no submission, and Setup still shows Offformopens its formshowcase_log_time, targetshowcase_task.form):GET /api/v1/meta/form/showcase_task.form200 twice, no/meta/viewread, the form renders with the recordformin Studio's menu/apps/setup/developer/public-forms,/apps/showcase_app/developer/public-formsand the two/component/developer/public-formsaddresses each land on/studio/~all/metadata/form, which lists the 8 formsScreenshots (project files,
/mnt/project-files/card-37087/pr2/): Setup's list01-setup-public-forms-admin.png, the member's view02-…, the Studio list12-studio-form-list.pngand24-studio-form-list-zh.png, the editor06-studio-form-editor-shipped.pngand14-studio-new-form-editor.png, the refusal20-setup-switch-on-address-taken.pngand21-…-zh.png, and one per step above (24 files).The showcase does not mount the
studioapp, so the navigation entry's removal is shown by the three pins, not live.Removed-key probe (does a user's translation of a removed key get refused):
studioand translatesapps.studio.navigation.nav_public_forms.labelgetserror translation-target-unknown, before and after this change. A stack that owns the Studio app gets no finding while the entry is declared and the same error once it is removed, which is why the 11 translation files lose the key in this PR.translationitem naming the removed key, saved through the metadata API, saves and publishes with_diagnostics.valid: true, exactly like one naming a live Studio key or Setup's entry (three probes, then deleted). That door judges no targets today. The key then translates nothing. The changeset says so and tells the reader to delete it.console.developer.publicForms.*are console catalogue keys with no metadata door: an override in a deployment's own i18next resources stops applying, as the changeset says.Remaining hits of
git grep -nE "formViews|viewKind: 'form'|viewKind === 'form'" -- ui ':!**/CHANGELOG.md': 81 lines in 34 files, none in a console surface that reads a form's definition.providers/MetadataProvider.tsxand its merge test: the branch that keepsviewKind: 'form'items out of the list switcher, kept by the card until major 19.vieweditor's form arm undermetadata-admin/(anchors.ts,previews/ViewPreview.tsx,view-item-normalize.ts) and its tests: it still edits aview, kept by the card.FormPage.tsx,recordFormNavigation.ts,SchemaForm.tsx,clientValidation.ts,registry.ts,freeze-schema.ts,imported-defaults.ts.formViewFeaturesRootRefused-6262, the twointernalFormRetired-36425files,data-objectstack'slistViewstests,view-create-body,clientValidation.*, the inspectors' tests), and one dated audit underui/docs/audits/.Not changed here, reported to the seat:
carrier:ADR-0159 D9's table still names the retired page and D10 still lists the menu row as owed; the weekly ADR revisions card carries both at landing (the claim keeps ADR-0159 out of this PR).formrow ofStudioMenu.tsx's icon table (the menu row draws the UI group's icon), and two comments that name what this PR changes, inservices/builtinComponents.tsx("formstays out of Studio's menu") andplugin-form/src/submitRedirect.ts(PublicFormsPage). The session's permission check declined the icon-table edit twice; it was not retried, the three files are byte-equal to main, and the three items go to a follow-up.ui/apps/console/src/components/submitRedirect.tssays the Public Forms dialog callscheckSubmitRedirectUrlat save time; with the page gone, the only caller isresolveSubmitRedirectin the same file.Verification
Head
81426a31:origin/main696d02f5merged in atbf797ae1, then the two catalogue pins. Changed lines 3731 (+785 / −2946, 72 files), over the 3000-line human-merge threshold; 2787 of the deleted lines are the retired page with its five test files (2248) and its 47 keys in 11 locales (539).pnpm exec turbo run build --filter=!@objectstack/docs --concurrency=3atbf797ae1, 123 of 123 tasks, exit 0.@objectstack/platform-objectssrc/appsand the two CLI pins are green at the head (readings below).turbo run type-checkof@object-ui/app-shell,@object-ui/consoleand@object-ui/i18n(each covers its test files; 82 of 82 tasks, 53 from cache), thentypecheckof@objectstack/platform-objectsand@objectstack/cli, at the head under the verify lock: VERDICT command-exit 0.dispatch-gates --commandsderives 81 commands at the head; all 81 exit 0.--ran: 81 derived, 81 run, 0 NOT-MEASURED, 0 UNRUN.check-changeset-no-major --base origin/mainandcheck-adr-0087-registration --base origin/mainpass; the changeset'sadr-0087marker isnot-required (no-migration-prescription)(no spec schema or registered type changes, and no stored item stops parsing).pnpm --filter @objectstack/dogfood testunder the verify lock (no shard, no path), after its closure build (79 of 79 tasks): VERDICT command-exit 0 (held 1,948 s); Test Files 495 passed, 3 skipped (498); Tests 4187 passed, 68 skipped (4255); no failure, and nothing left in the tree.afcf5fb1(the tree before the merge of main and the two pins; main brought noui/orexamples/change).overlap-checkat the head, againstorigin/main48da7161and the open PRs that share a file: main merges cleanly; feat(console): list pending invitations on the organizations page #38612 (the 11 locale files) merges cleanly; feat(app-shell)!: retire Studio's package-less scope (/studio/~org), and an item of a package you can write reads New in the Studio list (#38150 PR-B2) #38598 (the retirement of/studio/~org) conflicts instudioMenuModel.test.ts, on two neighbouring lines of one expectation (itsautomationrow losesorgFlows, this PR'suirow gainstype:form). Verdict exit 1: this PR queues behind feat(app-shell)!: retire Studio's package-less scope (/studio/~org), and an item of a package you can write reads New in the Studio list (#38150 PR-B2) #38598.Unit test readings
pnpm --dir ui exec vitest run --maxWorkers=2 packages/i18n packages/app-shell/src/views/studio-design packages/app-shell/src/views/setup packages/app-shell/src/views/metadata-admin apps/console/src/__tests__ apps/console/src/pages/developeratbf797ae1: Test Files 2 failed, 1324 passed (1326); Tests 3 failed, 14645 passed, 14 skipped (14662). The three reds were two catalogue pins this branch moves:developer-namespace.test.ts(the en catalogue's floor of 200 leaves; 231 became 184 with the 47 keys gone, floor now 150) andde-quote-pairing-3876.test.ts(the de pack's paired quote spans, 133 became 134 with the new refusal's „{{holder}}“, at both pins). Claim amendment 7256905062 admits the two files.packages/app-shell/src/__tests__/product-neutral-renderer.ratchet.test.ts, 3 files, 83 passed.pnpm --filter @objectstack/platform-objects exec vitest run src/apps: 42 files, 885 passed.pnpm --filter @objectstack/cli exec vitest run test/console-page-nav-entries.pin.test.ts test/connect-agent-both-halves-wire.pin.test.ts: 2 files, 6 passed. The CLI reads@objectstack/platform-objects/appsfromdist: before that package was rebuilt, both new assertions were red on the old build (the Studio app still servednav_public_forms).pnpm --dir ui exec vitest run scripts/(in the derived list): 172 files passed, 2 skipped; 5159 tests passed.Gate notes
node scripts/check-plugin-teardown-shape.mjs --self-testexits 3 on a shallow clone until its pinned fixture commit is fetched (git fetch --depth=1 origin 621a487607881c66b2899b7e3477115229a156b4); then 48 cases pass.bf797ae1recordedvitest run scripts/andcheck:type-check-debtas NOT MEASURED (the verify lock was held by this thread's own unit run). The loop reported above is the second one, at the head, with nothing else holding the lock.ui/:check:i18n-keys,check:i18n-drift,check:i18n-dead-keys,check:spec-symbols,check:new-line-citationsandcheck:skill-examples, exit 0 each.Ablations (four, one behaviour each)
Run at the head through
scripts/ablation-replace.mjsunder os-verify-lock; each anchor hit once, each mutation was verified on disk, and each restore ended with the file's blob equal to HEAD andgit diff HEADempty. Expected direction was red for each, and each went red.directoryScope.ts:formback inHIDDEN_DIRECTORY_TYPESstudioMenuPlacement.test.ts,studioMenuModel.test.ts,StudioMenu.test.tsxformplacement, the ADR table pin, the always-listed row and the threeformmenu casesPublicFormsSetupPage.tsx: theisAddressTakenRefusalbranch never takenPublicFormsSetupPage.test.tsxAppContent.tsx: thedeveloper/public-formsroute deletedpublicFormsRetired-37087.test.tsxregisterDeveloperComponents.tsx: the registered component renders nothingRestored baseline: the five files, 127 passed.
Owed before landing
docs/adr/**,ui/.claude/**, the narrowing, and 3731 changed lines).studioMenuModel.test.ts. Whichever lands second merges main and keeps both edits (theautomationrow withoutorgFlows, theuirow withtype:form).🤖 Generated with Claude Code
https://claude.ai/code/session_01QsR2jV8fqvAbRv26gu8ZYB