Repository navigation
Description
Ruled (plugin-ai): 6398569691 · letter A · 2026-10-25T13:58:53Z (retire @object-ui/plugin-ai: package, locale ai.* block, fixed-group entry, types/zod mirrors tombstoned; minor changeset with a breaking note)
维护者速读
一批每项都是 S、合起来可观的退役:9 个整文件模块共 2,211 行只有自己的 barrel 引用;@object-ui/plugin-ai 发布着却没有任何加载者(console 的 register-plugins.ts 不含它);runner 是无入口的 Vite 应用却 private: false 且在 fixed 发版组;公共 barrel 上有 9 个 reset*ForTesting 类助手;@object-ui/providers 与 @object-ui/react 同名的 provider 三件套只有一个示例在用;check-i18n-dead-keys 报告 122 个 CONFIRMED 死键(×10 语种);根目录若干孤儿。按 objectui#11608→#11616(PartialSchema)先例逐包一个 ! changeset。不加新门禁。
Measured (2026-10-24, HEAD 7981384; every absence claim ran with a positive control, SchemaRenderer 1,030 hits / plugin-map 144 files)
- Whole modules with zero consumers outside the package AND zero in-package importers (only the barrel line):
core/src/builder/schema-builder.ts451 LOC,core/src/protocols/DndProtocol.ts237,KeyboardProtocol.ts222,SharingProtocol.ts212 (their names appear only inside comments intypes/src/index.ts),react/src/hooks/useFocusManagement.ts248,useFocusTrap.ts138,usePageTransition.ts187,useSchemaPersistence.ts373,collaboration/src/LiveCursors.tsx143 — total 2,211 LOC. Repo-wide barrel census: 1,422 of 3,578 exported names have zero non-test code consumers outside their package (636 value exports, 402 of those also undocumented); worst ratios plugin-gantt 22/35, plugin-designer 16/38, collaboration 19/40, mobile 18/51. @object-ui/plugin-ai(736 LOC; registersai-form-assist,ai-recommendations,nl-query): 0 source importers; absent fromapps/console/src/register-plugins.tsandapps/console/vite.config.ts; owns anai.*block in every locale pack (26 lines inen.ts); listed in.changeset/config.json's fixed group.packages/runner: a Vite app (main.tsx,App.tsx, no barrel),private: false, nomain/exports, in the fixed release group;packages/cli/src/__tests__/workspace-vite.test.tsasserts it is not aliased.- Test-only helpers on public barrels with 0 non-test consumers:
resetColumnIdentityWarnings,resetRetiredSortSpellingReports,resetActionKeyWarnings,resetDashboardFilterWarnings,resetReferenceKeyWarnings(core),resetRuntimeConfigForTesting(app-shell),resetInflightGetsForTesting(types),__clearRecordEditableCache(plugin-detail),clearSharedDiscoveryCache(data-objectstack). @object-ui/providersexportsDataSourceProvider,MetadataProvider,ThemeProvider(+hooks), the same six names@object-ui/reactexports with different implementations; the providers trio's only non-test importer isexamples/byo-backend-console/src/App.tsx(react's: 21 files);one-authority-per-exported-name-6273.test.tscarries hand-written exemptions for the collision. Its real content isUploadProvider(450 of 617 LOC; fields 11 sites) andcreateObjectStackUploadAdapter— fetch logic outsidedata-*, against AGENTS §3.node scripts/check-i18n-dead-keys.mjsprints "391 candidate(s) … 122 CONFIRMED (no textual footprint anywhere else in the repo either), 269 NEEDS-REVIEW" (e.g.appDesigner.*20 keys,preview.changes.typeCount.*22); the script is wired to no workflow.- Root / config orphans:
scripts/eval-console.mjs(hard-coded/Users/zhuangjianguo/.copilot/...output path) andscripts/release-bump.cjsreferenced by nothing;paseo.json(0 references; itssetupteachespnpm iagainst the frozen-lockfile rule);typedoc.json+typedocdevDep +docs:api(no workflow);lazy-test.mjs(only an exemption glob incheck-lint-rule-coverage.mjs);playwright.import-harness.config.tsandplaywright.import-console.config.ts(1 spec each, no workflow);mswdeclared in root, plugin-form, plugin-grid with 0 imports pluspublic/mockServiceWorker.js;apps/consoledevDeps@dnd-kit/core|sortable|utilitiesandautoprefixerwith 0 references;docs/CONSOLE-STREAMLINING-SUMMARY.mdnames two packages that do not exist (@object-ui/routing,@object-ui/console-components).
Recommendation (each S; one PR per package or group)
- Delete the nine modules and their barrel lines (one
!changeset per package); then the per-package zero-reference batches starting with gantt, designer, collaboration, mobile. -
plugin-ai:maintainer decision — retire (package, locale block, fixed-group entry) or wire it inRuled A (6398569691): retire the package, the locale block and the fixed-group entry; tombstone the types/zod mirrors.register-plugins.tslikeplugin-markdown. -
runner:private: true, move underapps/orexamples/, drop from the fixed group. - Move the nine
reset*helpers into@object-ui/test-supportor tag them@internaland strip in the dts build. -
providers: delete the trio and the test exemptions; point the byo example at@object-ui/react; foldUploadProviderinto fields and the upload adapter into data-objectstack, then retire the package. - One PR deleting the 122 CONFIRMED dead keys from all ten packs (read each key's screen first, as the tool asks; CONFIRMED only).
- Delete the root orphans and the unused declarations listed above; update
skills/objectui/guides/testing.md, which still teaches msw.
Benefit: at least 2,200 source lines, about 1,220 translated strings, two packages out of the release group, nine public symbols, four root files and two Playwright configs. External npm consumers are 未实测; rollback is a revert per item.
Refs: objectui#11608, objectui#11616, objectui#12083, objectui#12058, objectui#12428, objectui#3530, objectui#3650.
Filed by the read-only whole-repo review session https://claude.ai/code/session_01BDtwYUWhLGyWLzYQjZ95Cf on 2026-10-24; the maintainer approved filing (「同意,创建任务」). Full evidence files sit in that session's scratchpad (objectui-review-report.md, findings-*.md). ⛔ Not a claim; for triage to grade and route. Graded; the plugin-ai bullet is ruled (see the first line).
Activity
objectstack-fleet commentedon Oct 24, 2026
Triage: first grade —
tech-debt·priority:p3·domain:ui·area:devpath·pm:queue· triage seat ·session_01AavokzJ5DndAwitDXvKy4U· 2026-10-24T15:00Z⛔ Not a claim, ⛔ not a dispatch.
findingcomes off.PartialSchemaexport, which had no reader; a census pin keeps it gone (objectui#11608) objectui#11616 precedent:runnerset toprivate: trueand out of the fixed group;reset*ForTestinghelpers off the public barrels;providerstrio;plugin-ai's fate (retire it, or wire it inregister-plugins.ts) cuts or keeps a product surface. It goes to the maintainer, and it stays out of these PRs until ruled.Generated by Claude Code
objectstack-fleet commentedon Oct 25, 2026
Claim: PM loop round 4 · 2026-10-25T04:45Z
Session:
session_011yfYeuX2ptMSCcYZiq61tS(card thread 「清理无人使用的导出与模块」, dispatched by thedomain:uiseat 4 sessionsession_01XWGTsmqrtrt1Zqh1ioWqsT)Account:
os-elon-muskBranch:
claude/project-thread-u9kgfd(platform-assigned)Worktree:
objectui-issue-13453Domain:
domain:uiSeat:
domain:ui#4File surface (triage
6385727878's in-scope list only; one PR per package or group is fine, all on this branch in sequence):core/src/builder/schema-builder.ts,core/src/protocols/{Dnd,Keyboard,Sharing}Protocol.ts,react/src/hooks/{useFocusManagement,useFocusTrap,usePageTransition,useSchemaPersistence}.ts,collaboration/src/LiveCursors.tsx(plus the comment mentions intypes/src/index.ts);packages/runner/package.json→private: true, and its entry out of.changeset/config.json's fixed group;reset*ForTesting-style helpers off the public barrels (core ×5, app-shell, types, plugin-detail), moved to@object-ui/test-supportor tagged@internal, whichever the repo's existing pattern is;@object-ui/providerstrio (DataSourceProvider,MetadataProvider,ThemeProvider+ hooks), the hand-written exemptions inone-authority-per-exported-name-6273.test.ts, andexamples/byo-backend-console/src/App.tsxrepointed at@object-ui/react;(Stop on breach; explain in the report.)
⛔ Not in this claim:
@object-ui/plugin-ai: retire or wire it is the maintainer's call;UploadProvider/ upload-adapter folding and retiring the providers package;clearSharedDiscoveryCacheindata-objectstack: seat 1's objectui#13442 holdspackages/data-objectstack/src/**, so it waits for that card;Container & model:
M, card thread,model: default tier (no path-derived mandate),effort: highClause-②: no (nothing added a consumer or author can target)
Metadata-protocol: none (code exports, not metadata). Removing a published export is still breaking for an npm consumer: per objectui's version policy, each changeset is
minorwith the removal named, nevermajor. Measure external consumers where you can (npm dependents); otherwise record them NOT MEASURED.Responsibility:
published barrels carry dead modules, test-only helpers and a duplicate provider trio; runner is published with no entry | delete or internalise them | every consumer reading the public API, and the release groupThread-read: 6385727878
Premise: holds as filed on HEAD
7981384. Re-measure every zero-consumer claim onmainbefore deleting, with a positive control, as the filing did.Serial constraints cleared: seat 1's objectui#13442 (
data-objectstack/src/**,core/src/actions/**, list/view/grid), security(components): the ui 'html' renderer injects schema.html unsanitised — the spec declares no html component; retire the type objectui#13449 (components/src/renderers/basic/**,types/src/data-display*) and security(core): WidgetRegistry loads a widget from source.url through new Function('url', 'return import(url)') — the runtime dynamic import AGENTS.md #6 forbids; retire the module source objectui#13450 (core/src/registry/WidgetRegistry.ts,types/src/widget.ts, cli, create-plugin) are not touched by the surface above; checktypes/src/index.tsagainst security(core): WidgetRegistry loads a widget from source.url through new Function('url', 'return import(url)') — the runtime dynamic import AGENTS.md #6 forbids; retire the module source objectui#13450 before editing it. Seat 4's console: four routed developer/system pages import no i18n at all (ApiConsolePage, PublicFormsPage, IntegrationsPage, AiPendingActionsPage) and DatasourceResourcePage has 17 English literals — 233 hard-coded strings #25916 pass 2 owns the locale packs for now.Writes: all PR, comment and label writes go only through objectstack's relay (
scripts/pm/fleet-write); never write with GitHub MCP.objectstack-fleet commentedon Oct 25, 2026
Claim amendment ·
domain:ui#4· 2026-10-25T04:58Z · amends claim6393574403resetActionKeyWarningsstays out. It lives incore/src/actions/actionKeys.tsand reaches the core barrel throughcore/src/actions/index.ts(export *), and seat 1's objectui#13442 holdscore/src/actions/**. It waits for that card, asclearSharedDiscoveryCachedoes. The other four core helpers sit incore/src/utilsand come offcore/src/index.ts.skills/objectui/guides/project-setup.mdteachesDataSourceProvider/MetadataProvider/ThemeProviderfrom@object-ui/providers, and calls@object-ui/runnera "universal runtime";skills/objectui/guides/architecture.mddoes the same.skills/**is governed, so this PR is Tier H (it waits for GOVERNED_APPROVERS). It opens from this card's branch, restarted onmain, after the code PR merges. The code PR stays Tier S and names both files under a follow-up line. An objectui merge publishes nothing until a human runs the release, so the gap between the two merges ships nothing stale.Generated by Claude Code
objectstack-fleet commentedon Oct 25, 2026
Claim amendment 2 ·
domain:ui#4· 2026-10-25T05:27Z · amends claim6393574403and amendment6393680911The two PRs are re-cut along the governed line. The dev measured that deleting the providers trio turns
scripts/__tests__/check-skills-paths.test.tsred. The cause is.claude/skills/objectui-contributor/guides/console-development.md, which namespackages/providers/src/MetadataProvider.tsx. So whichever PR deletes the trio must also edit a governed.claude/**file.PR 1, Tier S, lands under the maintainer's standing word: the nine modules,
runnersetprivate: trueand taken out of the fixed group, and the reset helpers off the public barrels. It contains no providers change and no.claude/**orskills/**edit.PR 2, Tier H, waits for GOVERNED_APPROVERS:
.claude/skills/objectui-contributor/guides/console-development.mdsentence;skills/objectui/guides/project-setup.mdandarchitecture.md, which still teach the trio and therunner"universal runtime".It opens from this card's branch, restarted on
main, after PR 1 merges.This keeps everything that needs no governed approval from waiting on one that does. Clause-② and Metadata-protocol are unchanged (no / none).
Generated by Claude Code
docs(quick-reference): count runner among the private packages (#13453)
305 remaining items
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD
Claim: PM loop round 1 · 2026-11-15T03:02Z
Session:
session_01FEkQ5oqJ6hpya34gYbwBaJ(card thread, dev) · seatsession_01FEkQ5nWoa1Ze1QzjRTSYXDAccount:
os-project-managerBranch:
claude/project-thread-69v17qWorktree:
objectstack-issue-25921-b18Domain:
domain:uiSeat:
domain:ui#1File surface: batch 18, census phase: read-only. No file is edited until the seat names one group in an amendment to this claim; the census goes to
/mnt/project-files/pm-orders/ui/25921-b18-census.md. The group, once named, stays insideui/packages/**(notcomponents/src/ui/, notui/packages/types/src/ai.ts, no subpath entry) plus one root.changeset/25921-<slug>.md. ⛔packages/**.Container & model: S,
mode:thread,model: default tier,effort: defaultClause-②: no
Metadata-protocol: none
Responsibility: none in the census phase | none (read-only) | none; if a removal group is named, the amendment restates this line as
Clause-②: no (narrowing)Thread-read: none
Premise: batch 17 Landed note 6718192057 (exhausted packages and held names) read against current
origin/mainby the dev before proposingSerial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read); no other ui seat holds aClaim:on these files; no other #25921 batch is in flightScope: batch 18 of the card, one PR at most,
Part of #25921(never a closing keyword). p3; no other batch of this card is in flight. The declaration lines start atno/none; the dev measures them on the diff, and the seat amends this claim if they differ. Order:/mnt/project-files/pm-orders/ui/order-25921-b18.md. Summons: the maintainer's 「开放 p3卡认领」 (this project, 2026-11-14T21:21Z).objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD
Claim amendment · 2026-11-15T03:15Z
Group (batch 18):
clearSharedDiscoveryCache(@object-ui/data-objectstack), the last open helper of the card'sreset*bullet. Census:/mnt/project-files/pm-orders/ui/25921-b18-census.md(objectstack6e287974, hotcrm2492ac6).Clause-②: no (narrowing). One public export leaves the package entry; nothing is widened.
Metadata-protocol: none (unchanged).
Responsibility: a consumer that imported
clearSharedDiscoveryCachefrom the package entry | its import no longer resolves (no replacement; test-only) | none found in either repo outside tests (census Part 3)File surface:
ui/packages/data-objectstack/src/sharedDiscovery.ts: the cache block (discoveryCache,getSharedDiscovery,clearSharedDiscoveryCache) moved verbatimui/packages/data-objectstack/src/index.ts: keeps re-exportinggetSharedDiscovery; the helper leaves the entry with the "test-only and stays off the barrel" comment its eight siblings carry.changeset/25921-data-objectstack-shared-discovery-cache-helper.md:!patch, BREAKING, FROM/TO, oneruntime-export-retiredmarkerRules: every retire the zero-consumer surface: nine dead modules (2,211 LOC), plugin-ai, runner's publish flag, test-only reset helpers on public barrels, the providers trio, 122 dead i18n keys, root orphans #25921 batch rule in the order holds. The PR says
Part of #25921. Owed before landing: aCONTRACT_REVIEW_TIERcontract record on the final head (the seat runs it) and the full dogfood battery on that head.Follow-ups noted, not in this batch: the
runnermove, and the 57 newly confirmed i18n keys.objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5oqJ6hpya34gYbwBaJ
os-dev-report
{
"issue": 25921,
"status": "done",
"branch": "claude/project-thread-69v17q",
"pr": "#33666",
"head": "85ef16b8",
"session": "session_01FEkQ5oqJ6hpya34gYbwBaJ",
"premise_still_valid": true,
"summary": "Batch 18 (claim 6888311800, amendment 6888438983): clearSharedDiscoveryCache, the last open helper of the card's reset* bullet, leaves the @object-ui/data-objectstack entry. The per-origin discovery cache block (the Map, getSharedDiscovery, clearSharedDiscoveryCache) moves verbatim to the new in-package module src/sharedDiscovery.ts; index.ts imports getSharedDiscovery for ObjectStackAdapter.connect() and keeps re-exporting it, and carries the 'test-only and stays off the barrel' comment in place of the helper. 38 tests (28 in-package, 10 in console/app-shell/react) import the helper from the module; no assertion changes. One ! patch changeset 25921-data-objectstack-shared-discovery-cache-helper.md with BREAKING, FROM/TO and runtime-export-retired x1. Census: /mnt/project-files/pm-orders/ui/25921-b18-census.md.",
"tests": "HEAD 85ef16b (code in 20126db, gate fix in 85ef16b). Under the lock: data-objectstack closure build + type-check (tsconfig includes its tests) VERDICT command-exit 0; console closure build + type-check of @object-ui/react, @object-ui/app-shell, @object-ui/console (each with its test tsconfig) VERDICT command-exit 0. pnpm --dir ui exec vitest run --maxWorkers=2 packages/data-objectstack/ plus the 10 cross-package test files: VERDICT command-exit 0, Test Files 131 passed (131), Tests 1475 passed (1475); after 85ef16b canvasDataSource-27585.test.tsx 5/5. Reverse probe: TS checker export list of src/index.ts 127 -> 126, exactly clearSharedDiscoveryCache gone; built dist/index.js at runtime has no clearSharedDiscoveryCache key and has getSharedDiscovery and ObjectStackAdapter; a probe compiled against dist/index.d.ts answers TS2305 for the helper and nothing on the control line. No ablation: verbatim code move plus unexport of a test-only helper, no tested behaviour changed.",
"gates": "dispatch-gates --commands (base 6e28797), 38 derived. Round 1 on 20126db: 37 exit 0, check:test-source-alias exit 1 (the edited canvasDataSource-27585.test.tsx reaches lazy import('@objectstack/lint') and import('@objectstack/formula')); fixed in 85ef16b with the two module-top side-effect imports the gate prescribes. Round 2 on 85ef16b: all 38 run stdin closed, all exit 0 (check-adr-0087-registration verified @object-ui/data-objectstack#clearSharedDiscoveryCache; ui vitest scripts/ 171 passed | 2 skipped files, 5062 tests; type-check-debt 0 above recorded; cross-package-test-inputs OK). --ran with ':: exit N' lines: 38 derived, 38 run, 0 NOT-MEASURED (a DERIVED zero), 0 UNRUN. Extra: check-platform-checklist --changed-from origin/main exit 0 (0 anchored files); ui check:new-line-citations exit 0 (0 new). CI check-runs on PR #33666: not read at report time (just opened). Record /mnt/project-files/pm-orders/ui/25921-b18-gates-ran.txt",
"line_budget": "41 files, +124 / -65 = 189 changed lines (new module 36 lines, changeset 19, the rest one-to-three-line import edits), under the 3000 threshold",
"files_changed": [
".changeset/25921-data-objectstack-shared-discovery-cache-helper.md",
"ui/packages/data-objectstack/src/sharedDiscovery.ts (new)",
"ui/packages/data-objectstack/src/index.ts",
"28 test files in ui/packages/data-objectstack/src/ (import line)",
"ui/apps/console/src: LocalizationFetchProvider.test.tsx, tests/localizationBootDedup.test.tsx, languageSeed.test.ts, pages/system/recordReadability.refused-11878.test.ts (import line)",
"ui/packages/app-shell/src: layout/tests/ConnectionStatus.followsRequests-12295.test.tsx, views/tests/identityImport.test.ts, views/tests/identityImportSavedMapping.test.tsx (import line), views/metadata-admin/previews/canvasDataSource-27585.test.tsx (import line + two module-top side-effect imports)",
"ui/packages/react/src/utils: error-message.adapter-unanswered-29885.test.ts, error-message.adapter-connection-unanswered-29916.test.ts (import line)"
],
"dogfood_battery": "85ef16b8 · os-verify-lock VERDICT command-exit 0 (held 41m18s) · Test Files 467 passed | 3 skipped (470) · Tests 3953 passed | 42 skipped (3995) · no failure",
"mcp_calls": "7 reads (issue_read get x1, issue_read get_comments x4, list_pull_requests x1, pull_request_read get x1); 0 writes",
"api_writes": "2 relay writes: pr_create (fleet-write run 43680150092, PR #33666, draft, body read back identical 10352 bytes, no assignees, no labels) and this os-dev-report comment via post-stamped.mjs; plus git pushes of the harness branch (not REST). Write budget spent: 3 of 3",
"deviations": [
"canvasDataSource-27585.test.tsx got two module-top side-effect imports beyond its import-line repoint: check:test-source-alias judges any test file a change edits and prescribes exactly that fix; named in the PR body",
"os-dev.md rule 2 says pr_create carries assignees; the order and AGENTS.md say none, so none were sent",
"no labels on pr_create: the order named none and the diff ships (changeset, not skip-changeset)",
"shared checkout detached so the designated branch could live in worktree objectstack-issue-25921-b18",
"branch not merged with origin/main (main moved to dd291b8 after base 6e28797); the merge queue rebuilds on main"
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #25921 · runner is private and out of the release group but not moved under apps/ or examples/ (42 referencing files incl. a skills guide); seat named it a follow-up in 6888438983 · noted, not filed",
"carrier: #25921 · node ui/scripts/check-i18n-dead-keys.mjs now lists 57 non-plural CONFIRMED keys that are not the card's 122 (engine.edit., engine.inspector., engine.studio., designer., perm.stat.*); each needs its screen read; seat named it a follow-up · noted, not filed"
]
}
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD
Landed · batch 18 · 2026-11-15T06:33Z
854d3837onmain(Part of #25921; the card stays open)CONTRACT_REVIEW_TIER(narrowing face)clearSharedDiscoveryCache(@object-ui/data-objectstack), the last open helper of the card'sreset*bullet; the cache block now lives insrc/sharedDiscovery.ts/mnt/project-files/pm-orders/ui/25921-b18-census.md(objectstack6e287974, hotcrm2492ac6)What is left on the card, per the batch 18 census:
runneris private and out of the release group but has not moved (42 referencing files, a skills guide among them).ContainerSchemaWithChildren+SCHEMA_VERSIONin@object-ui/types.Held names and exhausted packages stand as in 6718192057.
State:
pm:dispatched→pm:queue, assignee cleared. The card is p3, and P3 claiming is closed (the maintainer's 「后续只处理 p1 p2」, 2026-11-15T05:05Z), so no batch 19 is dispatched.refactor(data-objectstack)!: retire the test-only clearSharedDiscover…