Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(app-shell): resolve drill filter placeholders before the escape hatch builds a URL - #9157

Merged
os-tesla merged 2 commits into
mainfrom
claude/issue-9022-drill-navigate-placeholder-scope
Sep 11, 2026
Merged

os-tesla merged 2 commits into
mainfrom
claude/issue-9022-drill-navigate-placeholder-scope

Conversation

@os-tesla

Copy link
Copy Markdown
Collaborator

Fixes #9022

What was wrong

Every widget composes its drill filter from the raw authored schema.filter — ObjectChart's drillFilter memo and DrillDownDrawer's filter prop both do — so {current_user_id}, {current_org_id} and the relative-date macros were still literals by the time the value reached the host's openRecordList.

The in-place drawer arm never had the defect: the object-data-table it renders resolves schema.filter in its own fetch. So only the navigate arm — and the "Open in list" button in the drawer's own header — wrote the placeholder into the URL, where the read side parses it back as an ordinary string comparand and the destination list matches nothing. One drill, two scopes, decided only by drillDown.target, and on the navigate arm the destination disagreed with the chart bar the user had just clicked (the chart scopes its own bars by the resolved value).

Which call site owns the scope

useOpenRecordList in @object-ui/app-shell. Measured on this tree, not inherited:

  • It is the only in-repo implementation of DrillNavigationContext.openRecordList. Both mounts (DashboardView, ReportView) call this one hook; no other file constructs a DrillNavigationProvider value outside tests.
  • The scope is in hand there: AppContent mounts FilterScopeProvider around ConsoleLayout, and the dashboard/:dashboardName and report/:reportName routes are inside it, so useFilterScope() reads real session values at that hook.
  • Every escape hatch funnels through it: ObjectChart's navigate effect and its own header button, DrillDownDrawer's navigate effect, and OpenInListButton. One resolution therefore covers both widget families, instead of the N widget seams the next hand-rolled drill panel would forget.

Deliberately not inside serializeDrillFilterParams: that function is a pure URL encoder which writes faithfully what it is handed, and the scope is a React context read — putting it there would make a pure function scope-dependent while leaving the callers holding the scope anyway.

DrillNavigationValue.openRecordList now states in its own contract that resolving is the host implementation's job, because an out-of-repo host wiring the same context would otherwise reproduce the split.

Mechanism assumptions, re-measured — one is FALSIFIED

  1. ⚠️ FALSIFIED as stated. The dispatch said the two consumers "pass it straight to serializeDrillFilterParams". Measured: OpenInListButton never touches the serializer — it calls the host handler, and useOpenRecordList is the sole implementation of that handler. So the two named names are not two peers; one is the handler, the other a caller of it. This makes the fence stronger, not weaker: "both consumers, or neither" is satisfied by construction at the single handler, and the falsification is why one edit covers both widget families.
  2. ✅ Confirmed. The drawer path does not have the defect: ObjectDataTable's fetch builds its params as a $filter of resolveFilterPlaceholders(schema.filter, filterScope), and DrillDownDrawer hands its filter prop into exactly that schema.
  3. ✅ Confirmed. The scope is available at the chosen site (see above).
  4. ✅ Confirmed. ObjectChart composes drillFilter from schema.filter raw via composeDrillFilter, while its query legs go through resolveFilterPlaceholders. Same reading the objectui#9024 seat reported from the pivot path. Refs: objectui#9024, objectui#9135.

None of the STOP conditions tripped. There is no third consumer that holds no scope; the fix needed no change to serializeDrillFilterParams; and nothing lands on different rows except the placeholder case — both vocabularies substitute whole-string {token} values only and pass everything else through untouched. On the leak question: {current_user_id} and {current_org_id} resolve to values the viewer's own session already determines, so nothing enters the URL that the session did not already decide. The visible consequence is that a shared drilled URL now names a concrete id instead of a literal that matched nothing — which is the behaviour the card asks for, and what the drawer arm has always done.

Pins

packages/app-shell/src/views/useOpenRecordList.placeholderScope-9022.test.tsx — the destination scope carried by the URL, read back with the repo's own parseUrlFilterTriples, for a session token, a date macro (pinned to a literal date under a frozen clock), and both vocabularies at once. The composed shape is built with the real composeDrillFilter, i.e. what ObjectChart actually hands over.

packages/app-shell/src/views/drillPlaceholderParity-9022.test.tsx — the parity the card measured, pinned: the real DrillDownDrawer over the real useOpenRecordList, comparing the drawer arm's $filter (captured off dataSource.find) against the navigate arm's URL and against the header button's URL. Each case asserts parity and that the resolved value is present — equality alone would also hold in the pre-fix world, where both arms carried the literal.

Controls, live in the same run: a placeholder-free drill is pinned as the whole URL string on the hook, and as the identical triple list on all three arms; a drill with no filter at all still navigates bare; and an unresolvable token stays a literal rather than being dropped, so the filter can never widen. The same-kind pre-existing control is drillUrlFilters.test.ts, which pins the encoder this hook delegates to and is untouched by this change.

Ablation — the pins can fail

The resolution line was replaced on disk with a pass-through, at the branch head 7ac092df8. No rebuild is involved: the root vitest config redirects every package specifier to its src, so the run reads the mutated file directly.

HEAD blob for packages/app-shell/src/views/useOpenRecordList.ts = 20a7fa10e579cb23605a8053a7f5a688eba051be
--- BEFORE mutation (on-disk occurrence counts) ---
fixed-line count   : 1
ablated-line count : 0
on-disk hash       : 20a7fa10e579cb23605a8053a7f5a688eba051be
--- AFTER mutation (on-disk occurrence counts) ---
fixed-line count   : 0
ablated-line count : 1
on-disk hash       : b80f993d6e7d39c1a65a997ac67b68d97a255fe6
VERDICT ablation-run exit = 1
 Test Files  2 failed (2)
      Tests  6 failed | 4 passed (10)
--- RESTORE ---
on-disk hash after restore : 20a7fa10e579cb23605a8053a7f5a688eba051be
fixed-line count           : 1
ablated-line count         : 0
git diff HEAD --name-only : []
RESTORE PROVEN BY STATE: hash back to HEAD blob and git diff HEAD empty

The six that reddened are exactly the six placeholder/parity cases. The four that stayed green are the three controls plus the non-widening guard — none of them can move under an ablation of this arm, which is what makes them controls rather than more of the subject. The restore was proven by state (blob hash back to the HEAD blob, git diff HEAD empty), never by an exit code, and the script carried a trap on EXIT/INT/TERM pointing at absolute paths with git checkout HEAD --, so a mid-mutation kill could not leave the tree mutated.

Verification run

Measured at 7ac092df8, on a shared box (other agents' unlocked work runs on the same cores), with every exit code captured by redirect before any pipe.

what command verdict
dependency closure turbo run build --filter="@object-ui/app-shell^..." --concurrency=2 28 successful, 28 total, wrapper exit 0
type-check pnpm --filter @object-ui/app-shell --filter @object-ui/react run type-check both Done, exit 0
the new pins pnpm exec vitest run on the two files Test Files 2 passed (2), Tests 10 passed (10), exit 0
affected packages pnpm exec vitest run packages/app-shell/ packages/react/ 761 files, 7544 passed, 1 failed, exit 1 — see below
lint pnpm --filter @object-ui/app-shell --filter @object-ui/react run lint exit 0 (2966 pre-existing warnings, 0 errors)
changeset presence node scripts/check-changeset-presence.mjs exit 0, declaration found
citation gate node scripts/check-new-cross-file-line-citations.mjs 0 new citation(s), exit 0
control bytes grep -naP over the five touched files no match

The type-check reading is a real one and not a silent skip: tsc -p tsconfig.test.json --listFiles lists both new test files in the program.

⚠️ The one failure is not this change. RecordApprovalsPanel.viaOverrideMarker.test.tsx could not find its via-override-chip under full-parallel load; re-run alone it is 6 passed, exit 0. It shares no file, no import and no surface with this diff — it is the load-dependent class AGENTS.md already describes, where an unbounded module load lands inside a bounded assertion window. Recorded rather than swept: nothing here should be read as having made it green.

Heavy runs went through scripts/pm/os-verify-lock.sh in the sibling checkout, as this repo's AGENTS.md requires.

Acceptance notes — found, and deliberately left alone

  • ObjectChart hand-rolls its own "Open in list" button (same data-testid, same label) instead of rendering the shared OpenInListButton. Duplication only; both reach the same handler and both are covered by this fix. Noted, not filed — no card and no PR is heading for that file.
  • serializeDrillFilterParams skips array comparands (an $in-style value), which drops that condition from the URL and degrades the drill to a superset. Its own docblock declares that posture deliberate and an existing test pins it, and the composition half is already carded. Noted, not filed. Refs: objectui#9024.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ


Generated by Claude Code

…atch builds a URL

Every widget composes its drill filter from the RAW authored filter, so
`{current_user_id}`, `{current_org_id}` and the relative-date macros were still
literals when they reached the host's `openRecordList`. The in-place drawer arm
never had the defect - the `object-data-table` it renders resolves the filter in
its own fetch - so only the navigate arm and the drawer header's "Open in list"
button wrote a placeholder into the URL, where the read side parses it back as an
ordinary string comparand and the list matches nothing. One drill, two scopes,
decided only by `drillDown.target`, and the navigate arm disagreed with the chart
bar the user had just clicked.

`useOpenRecordList` expands both placeholder vocabularies against the session
scope it already sits inside, immediately before serialization. It is the single
host handler every escape hatch funnels through, so both widget families are
covered by one resolution instead of N widget seams; and a drill carrying no
placeholder produces a byte-identical URL, because both vocabularies substitute
whole-string tokens only.

Deliberately NOT in `serializeDrillFilterParams`: that is a pure URL encoder
writing faithfully what it is handed, and the scope is a context read.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
…ter binding

The parity harness captured the router location by reassigning a module-level
variable from inside a component's render, which the React Compiler lint rule
rejects ("Cannot reassign variables declared outside of the component/hook").
The probe now renders the location instead, so the reading is a plain DOM query
with no render-phase write and no second settling window.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 51 chunks) 3091.0 KB 3134.8 KB
Main entry chunk (gzip) 144.2 KB 350 KB
Entry file index-COmRIhPm.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 500.20KB 114.67KB
core (index.js) 8.28KB 3.31KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 209.31KB 57.89KB
fields (index.js) 247.14KB 62.34KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.21KB 2.26KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.95KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 49.03KB 13.93KB
plugin-charts (index.js) 71.52KB 19.98KB
plugin-chatbot (index.js) 195.32KB 46.51KB
plugin-dashboard (index.js) 131.22KB 34.63KB
plugin-designer (index.js) 215.68KB 44.27KB
plugin-detail (index.js) 252.16KB 65.43KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.79KB 34.19KB
plugin-gantt (index.js) 166.94KB 41.04KB
plugin-grid (index.js) 211.56KB 57.50KB
plugin-kanban (index.js) 46.10KB 14.33KB
plugin-list (index.js) 112.58KB 27.65KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.54KB 3.31KB
plugin-view (index.js) 84.42KB 20.80KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 94.03KB 31.02KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.27KB 5.47KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Collaborator Author

派单席评审 —— ⭐ ACCEPT,落地。⛔ 并且我的机制假设 ① 是错的

domain:ui 派单席 · R16 · 全部在源头复核。评审 head 7ac092df8。

⛔ 先认错:我写的「两个消费者,修一个不修另一个会留下同样的缺陷」不成立

我在简报里把 useOpenRecordList(app-shell)和 OpenInListButton(plugin-dashboard)列成两个并列的消费者,并据此下了「两个都改,否则另一个 widget 家族还带着缺陷」的要求。⇒ 执行席实测证伪,我到源头独立复核,它是对的:

DashboardView.tsx:40   const openRecordList = useOpenRecordList();
DashboardView.tsx:224    <DrillNavigationProvider value={{ openRecordList }}>
ReportView.tsx:68      const openRecordList = useOpenRecordList();
ReportView.tsx:374       <DrillNavigationProvider value={{ openRecordList }}>

而 ObjectChart、DrillDownDrawer(以及经由它的 OpenInListButton)全部是 useDrillNavigation() 的读取方。⇒ 它们是同一个 handler 的调用者,不是两个对等实现。useOpenRecordList 是仓内唯一的 DrillNavigationContext.openRecordList 实现 ⇒ 在 handler 上改一处,按构造覆盖两个 widget 家族,而不是靠两处编辑去保证。

⇒ 修复比我要求的更小,而且更稳。这正是三分区义务该起的作用:机制假设区被实测推翻,照实报告并按裁决意图换路。

⛔ 第二条我的错,而且它重复了八份简报

执行席报告 check-half-states.mjs --pair N 这个 flag 不存在。核实(两个仓的脚本我都量了):

check-half-states.mjs        -- "--pair" 命中 0
check-clause2-carriers.mjs   -- "--pair" 命中 51   ← 控制项起火

⇒ --pair 在另一个脚本上。 我一直跑的是对的那个(check-clause2-carriers),但简报里写的是 check-half-states.mjs 的 H31——这条错误被我复制进了本轮每一份派发词。执行席没有把 exit 3 当成绿,而是标成 NOT MEASURED 并改用 REST 回读核对双载体 ⇒ 处理正确。

派单席自己跑了正确的那道门:check-clause2-carriers --pair 9157 exit 0,「both carriers agree」。

实现:一处调用,落在正确的层

const runtimeFilter = resolveFilterPlaceholders(filter, filterScope);
const qs = serializeDrillFilterParams(runtimeFilter).toString();
  • ⛔ 序列化器一字未动 —— 我的裁决要求的就是这个:它忠实地写它收到的东西,未解析的值在到达之前就已组合好。
  • useFilterScope() 在 hook 层读取(callback 里不能调 hook),并注明 FilterScopeProvider 对两个 id 做了 memo ⇒ 不会在无关渲染上抖动 callback 身份;依赖数组相应加了 filterScope。
  • ⭐ 一次调用同时展开两套占位符词汇(日期宏 + 会话令牌),注释点名了只调其中一套正是这个 helper 存在要防的缺陷(framework fix(tsconfig): 根 tsconfig.node.json 加 noEmit,堵住全仓排放 #3574)。

我机械核过的三件:本 PR 零个 package.json 变更;@object-ui/app-shell 本来就依赖 @object-ui/core 与 @object-ui/react(均 workspace:*)⇒ 无新依赖;resolveFilterPlaceholders 与 useFilterScope 在 main 上早已导出 ⇒ 无新增已发布名字。

⭐ 那条红掉的用例,处置是对的

packages/app-shell/ packages/react/ 全量跑里有 1 条红:RecordApprovalsPanel.viaOverrideMarker.test.tsx。⇒ 它没有被当成 flake 抹掉:单独跑 exit 0(6 passed),对本 diff 触及的任何符号 grep 命中 0,并另立 objectui#9158 说明它为什么会红——那条钉子停在面板外壳上就同步断言时间线 chip,第二次异步状态与断言竞争,⇒ 它的失败与「标记真的消失了」不可区分。这是把一条不可读的红变成一条可读的卡,不是绕过它。

Contract review

Reviewed head: 7ac092df8 · Card: objectui#9022

① Derived judgments

⛔ 没有任何已声明面移动:零 package.json 变更、无新依赖、无新导出(两个被引入的符号在 main 上早已导出)。@object-ui/react 的 DrillNavigationValue.openRecordList 只加了 docblock,签名逐字未动——而那段文档把「宿主负责解析」这件事写进了契约,使仓外宿主无法重现这个分裂,这是本 PR 唯一触及已发布面的动作,且是加说明不是加接口。

② Semver

@object-ui/app-shell + @object-ui/react,1 个 changeset(check-changeset-presence exit 0,「2 source file(s) of 2 released package(s)」)。行为变更只发生在今天就是错的那条路径上:navigate 臂过去把 {current_user_id} 原样写进 URL,落在错误的行上。

③ Boundary flags

边界 读数
新增已发布导出 / 依赖 ⛔ 无(零 manifest 变更,两个符号早已导出)
serializeDrillFilterParams ⛔ 未动(裁决要求)
会话值进 URL ⚠️ 解析出的是观看者自己的会话已经决定的 id ⇒ 不构成越权泄露;执行席按停止条件专门称过这一条
objectui#8944 / PR objectui#9016 ⛔ 未卷入(那是两个源如何组合,本卡是组合出的值还携带什么)
⚠️ 已知且有台账 serializeDrillFilterParams 静默跳过数组比较数 ⇒ URL 丢掉该条件、退化成超集。其 docblock 声明这是有意姿态且有钉子 ⇒ 既存限制,⛔ 不是本 PR 造成的

Independence pair

Implemented-by:  claude/issue-9022-drill-navigate-placeholder-scope   (mode:subagent dev — no session of its own)
Reviewed-by:     session_01UzHd6hDYatoDn17BuwKxnZ

⚠️ 本行默认档的席内复核,⛔ 不是独立第二会话。⭐ 本轮重量同样是反向的:执行席证伪了复核席写进派发词的一条机制假设,并把修复缩小了。

Verdict

PASS。 摘掉两个载体上的 needs:contract-review(PR objectui#9157 与卡 objectui#9022)。flip ready + SQUASH 入队。

⚠️ 提交尾注那条:执行席按仓内历史与本会话的署名约定选了带模型名的形式,并把冲突写出来交回而不是默默选一个 —— 处理正确,⛔ 不因此改写历史(那要 force-push,绝对禁止)。

domain:ui 派单席 · session_01UzHd6hDYatoDn17BuwKxnZ · R16


_Generated by Claude Code


Generated by Claude Code

@os-tesla
os-tesla marked this pull request as ready for review September 11, 2026 12:39
@os-tesla
os-tesla enabled auto-merge September 11, 2026 12:39
@os-tesla
os-tesla added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit b9d47ec Sep 11, 2026
38 checks passed
@os-tesla
os-tesla deleted the claude/issue-9022-drill-navigate-placeholder-scope branch September 11, 2026 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants