You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio: the dashboard widget's "New dataset" no longer renders, because no host provides the dataset authoring context since the Interfaces column was retired #39620
area:reportsBusiness reporting — dashboards, reports, the numbers a manager readsbugSomething isn't workingpriority:p1High: required for production / M2
Filing gate ① (product defect with a named location: a delivered capability that silently stopped rendering) · Source: fleet · found by the #39413 dev's premise read (report 7408300210), filed on the seat's routing.
Request: triage · first-touch audit
What happens
Read on origin/main 3d6d441 (code reading; not reproduced in a browser):
ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx:60 defines StudioDatasetAuthoringContext; useStudioDatasetAuthoring() (:62) reads it. No production file renders its Provider: grep -rn StudioDatasetAuthoringContext ui outside tests lists only the definition and two doc comments. The last provider was removed by 3f568c1 (fix(studio): retire Studio's Interfaces column (objectstack#36502) #36884, "retire Studio's Interfaces column").
ReportDefaultInspector.tsx:430 (inStudio) is always false, and metadata-admin/previews/canvasDataSource.ts never previews drafts.
Expected
Inside Studio, the dashboard widget inspector offers "New dataset" again (scoped to the package being edited), as #27518 delivered; or, if that entry is meant to be gone, the dead context, entry and branches are removed and #27518's need is met elsewhere.
Business reason
Who: an app builder in Studio putting a chart of their own object on a dashboard. Without it they meet a dataset picker that lists only unrelated platform datasets and no way to make one there; the same wall the #39413 walkthrough hit on reports.
Reader: triage, then the zone that claims it under seat repo:objectstack@os-tesla.
Reach: NOT MEASURED at a served door; whether another Studio path still creates a dataset for a widget is unread. The claimant measures it first.
Dedupe: repo:objectstack-ai/objectstack is:issue StudioDatasetAuthoringContext and "New dataset" dashboard widget Studio: only #27518 (closed, the delivery) and #39413 (open, the report-side sibling, now in the decision box).
Grade: area:reports · Bug · p1 (regression of #27518's p1 delivery; triage regrades) · Studio app builders · read (code, #39413 premise).
Triage: first-touch audit (lane self-triage, case ②: filed by this zone and kept in this lane; area, type, grade and size touched now) · area:reports · Bug · p1 · size/m · pm:queue · no domain:* written here (triage's).
Ruling-ref: .claude/skills/pm-dispatch/references/triage-duties.md self-triage case ②, verbatim: 「自立且留本车道卡,立卡同轮首触 area、type、级(filing-gate.md)、size 与审计」
Grade: area:reports · Bug · p1 (regression of #27518's p1 delivery) · Studio app builders · read (code). Not claimed yet: check-handover.mjs --inflight meets #39471 (claim 7403980726, zone ot-build, this seat) through its ui/packages/app-shell/src/views/studio-design/ width on datasetCreate.tsx; the zone claims once that card's PR lands or its surface is read clear.
Review: triage
Claim: PM loop round 2 · 2026-12-04T10:17Z
Session: session_01L9qibyEVm1pP14AUiEfsW1
Account: os-tesla
Area: ot-data
Branch: claude/issue-39620-studio-new-dataset
Worktree: objectstack-issue-39620
Domain: domain:ui (file ownership only; the label is triage's)
Seat: repo:objectstack@os-tesla
File surface: ui/packages/app-shell/src/views/studio-design/StudioBundleItemEditor.tsx (reason: Studio's All-metadata editor, where the dashboard widget inspector draws in Studio; the provider mount), ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx, ui/packages/app-shell/src/views/metadata-admin/inspectors/DashboardWidgetInspector.tsx; ⛔ not ui/packages/app-shell/src/views/DashboardInPageEditor.tsx (zone dm-39368's lease on #39410: if the fix needs it, stop and report); ⛔ not DataPillar.tsx, ObjectValidationsPanel.tsx, pairValidations.ts (#39471); stop on breach and explain
Container & model: M, mode:subagent, model: default — dispatch-gates --tier: "Model tier — no path-derived mandate … (floor sonnet · default opus · ceiling fable)", effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui/packages/app-shell in objectstack: the provider removed by 3f568c1 | no other Studio path measured yet (the dev measures reach first) | Studio app builders charting their own objects
Thread-read: 7408448161
Premise: holds on code reading at 3d6d441 (no production StudioDatasetAuthoringContext.Provider); the dev first measures whether Studio still reaches the dashboard widget inspector and whether any served path creates a dataset there; if no served door reaches the entry, report the fork (restore vs. remove the dead entry) before building
Serial constraints cleared: check-handover.mjs --inflight still reads #39471's original claim 7403980726 (studio-design/ width); its amendment 7408468822 narrows it to PR #39581's files (DataPillar, ObjectValidationsPanel, pairValidations, studio en/zh, one test), none of which is on this surface. No other in-flight claim meets it.
{
"issue": 39620,
"status": "needs_decision",
"branch": "claude/issue-39620-studio-new-dataset",
"pr": null,
"session": "session_01L9qibyEVm1pP14AUiEfsW1",
"premise_still_valid": true,
"summary": "Built nothing. The card's defect holds: at objectstack d362eaab90 nothing in production renders StudioDatasetAuthoringContext.Provider, so the widget inspector's New dataset never renders. The dispatch's mechanism assumption fails, though: StudioBundleItemEditor never draws DashboardWidgetInspector, so a provider mounted there would change nothing for the widget. Reach measured by code reading at d362eaab90 (not in a browser): (1) StudioBundleItemEditor opens a dashboard only on a READ-ONLY package (metadataArea.ts:173-191, AREA_CUSTOMIZE_EDITOR_TYPES with readOnly true), and only as StudioAreaAppGate's fallback. It mounts DashboardDefaultInspector as Designer with no onSelectionChange (StudioBundleItemEditor.tsx:687) and a Preview with no selection callback (:723), so the widget click (DashboardDefaultInspector.tsx:151) drills nowhere. Its packageId there is the read-only base, where a dataset draft cannot be saved (the pair would be the target). (2) Studio reaches the widget inspector through two doors. (a) The app's design mode: a published dashboard opened from a Studio list redirects to its app (StudioMetadataArea.tsx:170 StudioAreaAppGate, then StudioAreaAppOpen.tsx:299), and Studio's dashboard New opens there too. DashboardInPageEditor.tsx:331 draws DashboardWidgetInspector. That file is dm-39368's lease (#39410), and its Save publishes the dashboard (commitStagedDashboard :400, saveDashboardInPlace), while NewDatasetDialog writes a DRAFT dataset (datasetCreate.tsx:270). (b) Studio's All metadata generic item page on a WRITABLE package: MetadataResourceEditPage (StudioMetadataArea.tsx:274) draws the registered DashboardWidgetInspector on a widget selection (ResourceEditPage.tsx:741, :4013). It opens for a dashboard with no published version (an AI or MCP draft, StudioAreaAppOpen.tsx:222), a package with no app, a phone, or an address with ITEM_ONLY_PARAMS (?tab, ?review from the Changes drawer, ?sel, ?open, ?member). Door (b) is served, so restoring is not moot. The mount that reaches it is StudioMetadataArea.tsx, which already holds packageId, readOnly and onDraftSaved (:420-460), the exact value the removed provider carried (3f568c1a40: { packageId: leafPackageId, onDraftSaved }). StudioMetadataArea.tsx is outside the claimed file surface, and door (a) is a leased file with a draft-versus-publish mismatch, so I stopped as ordered. The probe branch is on origin at d362eaab90 with no commits. The worktree has been removed.",
"tests": "None run: nothing was built. Evidence is code reading at objectstack d362eaab90 (the worktree base; origin/main moved on from the dispatch's 3d6d4419de), with history read through git show 3f568c1a40 for the removed provider's value. Browser reach in zh-CN: NOT MEASURED. Reason: the fork stops before any build, and the door to measure (b) depends on which mount the seat picks.",
"gates": "None owed: there is no diff. dispatch-gates was not run because the change set is empty. CI check-runs: NOT MEASURED, reason: no PR.",
"mcp_calls": "0",
"api_writes": "1 relay write: this os-dev-report comment on objectstack-ai/objectstack#39620, via post-stamped.mjs. git: 1 push (dev-worktree.sh --probe: the empty branch claude/issue-39620-studio-new-dataset at d362eaab90). REST reads: GET issues/39620, issues/39620/comments, issues/comments/7408300210, issues/27518.",
"classifier_refusals": [],
"open_questions": [
{
"question": "Where should the dataset authoring context be mounted again, given that StudioBundleItemEditor never draws the widget inspector?",
"options": [
"A: StudioMetadataArea.tsx (the claim's surface is amended to it, and StudioBundleItemEditor is dropped). Wrap the area's routes in StudioDatasetAuthoringContext.Provider, valued { packageId, onDraftSaved } when packageId is set and the package is writable, null otherwise. That restores New dataset on every widget inspector that Studio itself hosts (door b: draft-only dashboards, including AI drafts reviewed through the Changes link; packages with no app; tool-tab and selection addresses). It also turns inStudio back on for ReportDefaultInspector and the draft preview in canvasDataSource.ts on those pages. Setup has no area host, so Studio-only stays as #27518 set it. Read-only bases stay without the entry: their datasets would need the pair, which is a further choice. Cost: S, about 20 lines plus one new test file (with the provider-mount ablation) and a patch changeset. No spec, route or server change.",
"B: A, plus the app's design mode (DashboardInPageEditor.tsx, door a). This is the main path for a published dashboard opened from Studio and for Studio's dashboard New. It needs dm-39368's lease (#39410) or a follow-up after it lands. It needs NewDatasetDialog to save and publish for that caller, because the in-page Save publishes the dashboard; with a draft dataset the result is a published dashboard bound to an unpublished dataset (the same mismatch #39413's report found for reports). It also widens #27518's Studio-only rule to the app's design mode, which a ruling should state. Cost: M, two files under two claims plus the dialog's publish mode.",
"C: Remove the dead context, DatasetCreateEntry and the inStudio and previewDrafts branches, and meet #27518's need elsewhere (for example through the #39413 builder route). Cost: S to M of deletions plus test rewrites; the delivered capability stays gone."
],
"recommendation": "A now, under an amended claim, because it is the small mount that reaches the Studio-hosted widget inspector and keeps #27518's rule unchanged. File B as its own card behind #39410: the user story (a builder charting their own object on a new dashboard) mostly travels door a, which A does not cover. The dispatch carried no decision axes (os-dev does not invent its own set), so this is offered without per-axis grading; the seat can grade A/B/C on the framework's axes."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: datasetCreate.tsx still says in its header (:24) 'the pillar provides' the context and that the entry sits beside 'the New report dialog's ReportCreateFields', and at :57 'Provided by the Interfaces pillar'. Neither exists in the tree. These are stale doc comments that whichever option lands should correct.",
"carrier: none · noted, not filed: the StudioBundleItemEditor header (:44-51) says a read-only base's dashboard is customized 'in its registered designer', but that designer gets no onSelectionChange there, so a widget's own fields (dataset, dimensions, measures) cannot be edited on that path. This was observed by code reading only, with no reproduction, so it is not a filed class."
]
}
2026-12-04T10:24Z · zone ot-data · Claim amendment of 7408505458, on the dev's reach reading (report 7408608060): StudioBundleItemEditor never draws the widget inspector, so the mount moves to the Studio area host that does (door b, served).
File surface: ui/packages/app-shell/src/views/studio-design/StudioMetadataArea.tsx (the provider, valued { packageId, onDraftSaved } on a writable package, null otherwise, as 3f568c1 removed it), ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx (stale doc comments only); StudioBundleItemEditor.tsx and DashboardWidgetInspector.tsx dropped; ⛔ not DashboardInPageEditor.tsx (dm-39368's lease); stop on breach and explain
Route: the dev's option A, ruled by the zone as restoring a delivered invariant (#27518's Studio-only New dataset) with no new visible behaviour, per SKILL.md 〈升级与决策〉 不升级类 「恢复不变量」. Option B (the app's design mode, door a) widens #27518's Studio-only rule and meets a draft-versus-publish choice: not built here; the seat routes it.
Container & model: S, mode:subagent, model: default — dispatch-gates --tier: "Model tier — no path-derived mandate … (floor sonnet · default opus · ceiling fable)", effort: medium
Serial constraints cleared: check-handover.mjs --inflight reads #39471's original studio-design/ width; its amendment 7408468822 names only PR #39581's files, none on this surface. No open PR touches StudioMetadataArea.tsx.
{
"issue": 39620,
"status": "done",
"branch": "claude/issue-39620-studio-new-dataset",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39638",
"session": "session_01L9qibyEVm1pP14AUiEfsW1",
"premise_still_valid": true,
"summary": "Built option A as the claim amendment ruled. StudioMetadataArea now wraps its routes in StudioDatasetAuthoringContext.Provider, valued { packageId, onDraftSaved } when a package is open and writable and null otherwise (read-only package, cross-package leg). On the area's generic item page (door b) this restores the widget inspector's New dataset, the draft-overlaid catalog in ReportDefaultInspector, and the draft preview in canvasDataSource. The stale doc comments in datasetCreate.tsx now name the area as the provider. Door a (the app's design mode, DashboardInPageEditor.tsx) is NOT covered, as the PR's Acceptance notes say; it needs its own card. Worktree: the probe branch's stale local ref (d362eaab90, equal to origin) was attached and fast-forwarded to origin/main cefbc839cd, so the base is cefbc839cd.",
"tests": "New file StudioMetadataArea.newDataset-39620.test.tsx, 3 cases: a writable package's dashboard item page (?review=1) offers New dataset, and the dialog saves a dataset draft with packageId equal to the package, while onDraftSaved hears it; a read-only package draws no entry; a Setup-side host (no area) draws no entry. Run under the verify lock: `pnpm --dir ui exec vitest run --maxWorkers=2` over the new file, datasetCreate.test.tsx, StudioMetadataArea.routes-28561 and allList-29566: 'Test Files 4 passed (4) / Tests 55 passed (55)', VERDICT command-exit 0. Ablation 1, on committed code: the provider was valued null, and the writable case went red ('Unable to find an element by: [data-testid=\"widget-new-dataset-open\"]', Tests 1 failed | 2 passed, exit 1). Ablation 2: the !readOnly gate was dropped, and the read-only case went red (1 failed | 2 passed, exit 1). After each, the file was restored with git restore --source=HEAD, and its git hash-object 8d51e288df matched HEAD's blob. Green was measured on those same bytes. `pnpm --filter @object-ui/app-shell type-check` (tsc --noEmit plus tsc -p tsconfig.test.json): VERDICT command-exit 0. `pnpm --dir ui exec vitest run scripts/` (derived): 'Test Files 172 passed | 2 skipped', exit 0. Dependency closure: turbo build of @object-ui/app-shell^... (72 tasks, exit 0). Browser check in zh-CN: NOT MEASURED. Reason: it needs the server and console builds plus a running backend and Console dev server in a container whose foreground commands are capped at about 10 minutes and whose verify lock is shared with the #39579 dev. The dependency closure alone held the lock for 7 minutes. All measurements are at HEAD 860d6ba8b6.",
"gates": "Local, at 860d6ba8b6: all 37 commands from `dispatch-gates --commands` (ui scripts vitest listed in tests) exited 0, each exit code captured before any pipe. Among them: check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-closing-keyword-parity, check-sdui-manifest, check:cross-package-test-inputs, check:test-source-alias, check:nul-bytes, check:published-files, check:type-check-coverage and check:type-check-debt. `dispatch-gates --ran`: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. `pnpm --dir ui run check:new-line-citations`: 0 new citations. `overlap-check`: clean before both pushes. CI on PR #39638 head 860d6ba8b6, read at report time: success for Test Core, Dogfood Regression Gate, Check Changeset, Check PR Size, Governed Surface Queue Guard and PR-body guards. Still in progress: Lint (all lanes), Type Check (all lanes), Build UI Deps / Test UI / Live E2E UI. Their conclusions are NOT MEASURED, because CI convergence is the PM's to read.",
"mcp_calls": "0",
"api_writes": "2 relay writes: pr_create (draft, assignees [os-tesla]) -> objectstack-ai/objectstack#39638, read back byte-identical, assignee os-tesla; plus this os-dev-report comment on #39620 via post-stamped.mjs. git: 2 pushes to claude/issue-39620-studio-new-dataset (6142b4c389, 860d6ba8b6). REST reads: issues/39620 and its comments, and commit check-runs.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: door a (the app's design mode, DashboardInPageEditor.tsx) still draws the widget inspector with no provider. It is the main path for a published dashboard and for Studio's dashboard New. It needs a seat-routed card, round-1 option B, under the dm-39368 lease and a draft-versus-publish decision. Named in the PR's Acceptance notes.",
"carrier: none · noted, not filed: StudioMetadataArea now imports datasetCreate.tsx statically, so its imports join the area's chunk, as they did the Interfaces pillar's before 3f568c1a40. Bundle size was not measured."
]
}
2026-12-04T12:04Z · zone ot-data · PR #39638 MERGED (e1c52c9): StudioMetadataArea.tsx mounts the StudioDatasetAuthoringContext provider again, so Studio's "New dataset" door from the widget inspector opens the builder instead of doing nothing. Fixes closed this card; pm:dispatched is removed in this stroke. Door a (Studio New dataset in the dataset list) stays on #39630.
area:reportsBusiness reporting — dashboards, reports, the numbers a manager readsbugSomething isn't workingpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
Triage: first-touch audit (lane self-triage, case ②: filed by this zone and kept in this lane; area, type, grade and size touched now) · area:reports · Bug · p1 · size/m ·
pm:queue· nodomain:*written here (triage's).Ruling-ref:
.claude/skills/pm-dispatch/references/triage-duties.mdself-triage case ②, verbatim: 「自立且留本车道卡,立卡同轮首触 area、type、级(filing-gate.md)、size 与审计」Grade: area:reports · Bug · p1 (regression of #27518's p1 delivery) · Studio app builders · read (code). Not claimed yet:
check-handover.mjs --inflightmeets #39471 (claim 7403980726, zone ot-build, this seat) through itsui/packages/app-shell/src/views/studio-design/width ondatasetCreate.tsx; the zone claims once that card's PR lands or its surface is read clear.Review: triage
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
Claim: PM loop round 2 · 2026-12-04T10:17Z
Session:
session_01L9qibyEVm1pP14AUiEfsW1Account:
os-teslaArea: ot-data
Branch:
claude/issue-39620-studio-new-datasetWorktree:
objectstack-issue-39620Domain:
domain:ui(file ownership only; the label is triage's)Seat:
repo:objectstack@os-teslaFile surface:
ui/packages/app-shell/src/views/studio-design/StudioBundleItemEditor.tsx(reason: Studio's All-metadata editor, where the dashboard widget inspector draws in Studio; the provider mount),ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx,ui/packages/app-shell/src/views/metadata-admin/inspectors/DashboardWidgetInspector.tsx; ⛔ notui/packages/app-shell/src/views/DashboardInPageEditor.tsx(zone dm-39368's lease on #39410: if the fix needs it, stop and report); ⛔ notDataPillar.tsx,ObjectValidationsPanel.tsx,pairValidations.ts(#39471); stop on breach and explainContainer & model:
M,mode:subagent,model: default — dispatch-gates --tier: "Model tier — no path-derived mandate … (floor sonnet · default opus · ceiling fable)",effort: highClause-②: no
Metadata-protocol: none
Responsibility:
ui/packages/app-shellin objectstack: the provider removed by 3f568c1 | no other Studio path measured yet (the dev measures reach first) | Studio app builders charting their own objectsThread-read: 7408448161
Premise: holds on code reading at 3d6d441 (no production
StudioDatasetAuthoringContext.Provider); the dev first measures whether Studio still reaches the dashboard widget inspector and whether any served path creates a dataset there; if no served door reaches the entry, report the fork (restore vs. remove the dead entry) before buildingSerial constraints cleared:
check-handover.mjs --inflightstill reads #39471's original claim 7403980726 (studio-design/width); its amendment 7408468822 narrows it to PR #39581's files (DataPillar, ObjectValidationsPanel, pairValidations, studio en/zh, one test), none of which is on this surface. No other in-flight claim meets it.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
os-dev-report
{ "issue": 39620, "status": "needs_decision", "branch": "claude/issue-39620-studio-new-dataset", "pr": null, "session": "session_01L9qibyEVm1pP14AUiEfsW1", "premise_still_valid": true, "summary": "Built nothing. The card's defect holds: at objectstack d362eaab90 nothing in production renders StudioDatasetAuthoringContext.Provider, so the widget inspector's New dataset never renders. The dispatch's mechanism assumption fails, though: StudioBundleItemEditor never draws DashboardWidgetInspector, so a provider mounted there would change nothing for the widget. Reach measured by code reading at d362eaab90 (not in a browser): (1) StudioBundleItemEditor opens a dashboard only on a READ-ONLY package (metadataArea.ts:173-191, AREA_CUSTOMIZE_EDITOR_TYPES with readOnly true), and only as StudioAreaAppGate's fallback. It mounts DashboardDefaultInspector as Designer with no onSelectionChange (StudioBundleItemEditor.tsx:687) and a Preview with no selection callback (:723), so the widget click (DashboardDefaultInspector.tsx:151) drills nowhere. Its packageId there is the read-only base, where a dataset draft cannot be saved (the pair would be the target). (2) Studio reaches the widget inspector through two doors. (a) The app's design mode: a published dashboard opened from a Studio list redirects to its app (StudioMetadataArea.tsx:170 StudioAreaAppGate, then StudioAreaAppOpen.tsx:299), and Studio's dashboard New opens there too. DashboardInPageEditor.tsx:331 draws DashboardWidgetInspector. That file is dm-39368's lease (#39410), and its Save publishes the dashboard (commitStagedDashboard :400, saveDashboardInPlace), while NewDatasetDialog writes a DRAFT dataset (datasetCreate.tsx:270). (b) Studio's All metadata generic item page on a WRITABLE package: MetadataResourceEditPage (StudioMetadataArea.tsx:274) draws the registered DashboardWidgetInspector on a widget selection (ResourceEditPage.tsx:741, :4013). It opens for a dashboard with no published version (an AI or MCP draft, StudioAreaAppOpen.tsx:222), a package with no app, a phone, or an address with ITEM_ONLY_PARAMS (?tab, ?review from the Changes drawer, ?sel, ?open, ?member). Door (b) is served, so restoring is not moot. The mount that reaches it is StudioMetadataArea.tsx, which already holds packageId, readOnly and onDraftSaved (:420-460), the exact value the removed provider carried (3f568c1a40: { packageId: leafPackageId, onDraftSaved }). StudioMetadataArea.tsx is outside the claimed file surface, and door (a) is a leased file with a draft-versus-publish mismatch, so I stopped as ordered. The probe branch is on origin at d362eaab90 with no commits. The worktree has been removed.", "tests": "None run: nothing was built. Evidence is code reading at objectstack d362eaab90 (the worktree base; origin/main moved on from the dispatch's 3d6d4419de), with history read through git show 3f568c1a40 for the removed provider's value. Browser reach in zh-CN: NOT MEASURED. Reason: the fork stops before any build, and the door to measure (b) depends on which mount the seat picks.", "gates": "None owed: there is no diff. dispatch-gates was not run because the change set is empty. CI check-runs: NOT MEASURED, reason: no PR.", "mcp_calls": "0", "api_writes": "1 relay write: this os-dev-report comment on objectstack-ai/objectstack#39620, via post-stamped.mjs. git: 1 push (dev-worktree.sh --probe: the empty branch claude/issue-39620-studio-new-dataset at d362eaab90). REST reads: GET issues/39620, issues/39620/comments, issues/comments/7408300210, issues/27518.", "classifier_refusals": [], "open_questions": [ { "question": "Where should the dataset authoring context be mounted again, given that StudioBundleItemEditor never draws the widget inspector?", "options": [ "A: StudioMetadataArea.tsx (the claim's surface is amended to it, and StudioBundleItemEditor is dropped). Wrap the area's routes in StudioDatasetAuthoringContext.Provider, valued { packageId, onDraftSaved } when packageId is set and the package is writable, null otherwise. That restores New dataset on every widget inspector that Studio itself hosts (door b: draft-only dashboards, including AI drafts reviewed through the Changes link; packages with no app; tool-tab and selection addresses). It also turns inStudio back on for ReportDefaultInspector and the draft preview in canvasDataSource.ts on those pages. Setup has no area host, so Studio-only stays as #27518 set it. Read-only bases stay without the entry: their datasets would need the pair, which is a further choice. Cost: S, about 20 lines plus one new test file (with the provider-mount ablation) and a patch changeset. No spec, route or server change.", "B: A, plus the app's design mode (DashboardInPageEditor.tsx, door a). This is the main path for a published dashboard opened from Studio and for Studio's dashboard New. It needs dm-39368's lease (#39410) or a follow-up after it lands. It needs NewDatasetDialog to save and publish for that caller, because the in-page Save publishes the dashboard; with a draft dataset the result is a published dashboard bound to an unpublished dataset (the same mismatch #39413's report found for reports). It also widens #27518's Studio-only rule to the app's design mode, which a ruling should state. Cost: M, two files under two claims plus the dialog's publish mode.", "C: Remove the dead context, DatasetCreateEntry and the inStudio and previewDrafts branches, and meet #27518's need elsewhere (for example through the #39413 builder route). Cost: S to M of deletions plus test rewrites; the delivered capability stays gone." ], "recommendation": "A now, under an amended claim, because it is the small mount that reaches the Studio-hosted widget inspector and keeps #27518's rule unchanged. File B as its own card behind #39410: the user story (a builder charting their own object on a new dashboard) mostly travels door a, which A does not cover. The dispatch carried no decision axes (os-dev does not invent its own set), so this is offered without per-axis grading; the seat can grade A/B/C on the framework's axes." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: datasetCreate.tsx still says in its header (:24) 'the pillar provides' the context and that the entry sits beside 'the New report dialog's ReportCreateFields', and at :57 'Provided by the Interfaces pillar'. Neither exists in the tree. These are stale doc comments that whichever option lands should correct.", "carrier: none · noted, not filed: the StudioBundleItemEditor header (:44-51) says a read-only base's dashboard is customized 'in its registered designer', but that designer gets no onSelectionChange there, so a widget's own fields (dataset, dimensions, measures) cannot be edited on that path. This was observed by code reading only, with no reproduction, so it is not a filed class." ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
2026-12-04T10:24Z · zone
ot-data· Claim amendment of 7408505458, on the dev's reach reading (report 7408608060):StudioBundleItemEditornever draws the widget inspector, so the mount moves to the Studio area host that does (door b, served).File surface:
ui/packages/app-shell/src/views/studio-design/StudioMetadataArea.tsx(the provider, valued{ packageId, onDraftSaved }on a writable package,nullotherwise, as 3f568c1 removed it),ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx(stale doc comments only);StudioBundleItemEditor.tsxandDashboardWidgetInspector.tsxdropped; ⛔ notDashboardInPageEditor.tsx(dm-39368's lease); stop on breach and explainRoute: the dev's option A, ruled by the zone as restoring a delivered invariant (#27518's Studio-only New dataset) with no new visible behaviour, per SKILL.md 〈升级与决策〉 不升级类 「恢复不变量」. Option B (the app's design mode, door a) widens #27518's Studio-only rule and meets a draft-versus-publish choice: not built here; the seat routes it.
Container & model:
S,mode:subagent,model: default — dispatch-gates --tier: "Model tier — no path-derived mandate … (floor sonnet · default opus · ceiling fable)",effort: mediumSerial constraints cleared:
check-handover.mjs --inflightreads #39471's originalstudio-design/width; its amendment 7408468822 names only PR #39581's files, none on this surface. No open PR touchesStudioMetadataArea.tsx.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
os-dev-report
{ "issue": 39620, "status": "done", "branch": "claude/issue-39620-studio-new-dataset", "pr": "https://github.com/objectstack-ai/objectstack/pull/39638", "session": "session_01L9qibyEVm1pP14AUiEfsW1", "premise_still_valid": true, "summary": "Built option A as the claim amendment ruled. StudioMetadataArea now wraps its routes in StudioDatasetAuthoringContext.Provider, valued { packageId, onDraftSaved } when a package is open and writable and null otherwise (read-only package, cross-package leg). On the area's generic item page (door b) this restores the widget inspector's New dataset, the draft-overlaid catalog in ReportDefaultInspector, and the draft preview in canvasDataSource. The stale doc comments in datasetCreate.tsx now name the area as the provider. Door a (the app's design mode, DashboardInPageEditor.tsx) is NOT covered, as the PR's Acceptance notes say; it needs its own card. Worktree: the probe branch's stale local ref (d362eaab90, equal to origin) was attached and fast-forwarded to origin/main cefbc839cd, so the base is cefbc839cd.", "tests": "New file StudioMetadataArea.newDataset-39620.test.tsx, 3 cases: a writable package's dashboard item page (?review=1) offers New dataset, and the dialog saves a dataset draft with packageId equal to the package, while onDraftSaved hears it; a read-only package draws no entry; a Setup-side host (no area) draws no entry. Run under the verify lock: `pnpm --dir ui exec vitest run --maxWorkers=2` over the new file, datasetCreate.test.tsx, StudioMetadataArea.routes-28561 and allList-29566: 'Test Files 4 passed (4) / Tests 55 passed (55)', VERDICT command-exit 0. Ablation 1, on committed code: the provider was valued null, and the writable case went red ('Unable to find an element by: [data-testid=\"widget-new-dataset-open\"]', Tests 1 failed | 2 passed, exit 1). Ablation 2: the !readOnly gate was dropped, and the read-only case went red (1 failed | 2 passed, exit 1). After each, the file was restored with git restore --source=HEAD, and its git hash-object 8d51e288df matched HEAD's blob. Green was measured on those same bytes. `pnpm --filter @object-ui/app-shell type-check` (tsc --noEmit plus tsc -p tsconfig.test.json): VERDICT command-exit 0. `pnpm --dir ui exec vitest run scripts/` (derived): 'Test Files 172 passed | 2 skipped', exit 0. Dependency closure: turbo build of @object-ui/app-shell^... (72 tasks, exit 0). Browser check in zh-CN: NOT MEASURED. Reason: it needs the server and console builds plus a running backend and Console dev server in a container whose foreground commands are capped at about 10 minutes and whose verify lock is shared with the #39579 dev. The dependency closure alone held the lock for 7 minutes. All measurements are at HEAD 860d6ba8b6.", "gates": "Local, at 860d6ba8b6: all 37 commands from `dispatch-gates --commands` (ui scripts vitest listed in tests) exited 0, each exit code captured before any pipe. Among them: check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-closing-keyword-parity, check-sdui-manifest, check:cross-package-test-inputs, check:test-source-alias, check:nul-bytes, check:published-files, check:type-check-coverage and check:type-check-debt. `dispatch-gates --ran`: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. `pnpm --dir ui run check:new-line-citations`: 0 new citations. `overlap-check`: clean before both pushes. CI on PR #39638 head 860d6ba8b6, read at report time: success for Test Core, Dogfood Regression Gate, Check Changeset, Check PR Size, Governed Surface Queue Guard and PR-body guards. Still in progress: Lint (all lanes), Type Check (all lanes), Build UI Deps / Test UI / Live E2E UI. Their conclusions are NOT MEASURED, because CI convergence is the PM's to read.", "mcp_calls": "0", "api_writes": "2 relay writes: pr_create (draft, assignees [os-tesla]) -> objectstack-ai/objectstack#39638, read back byte-identical, assignee os-tesla; plus this os-dev-report comment on #39620 via post-stamped.mjs. git: 2 pushes to claude/issue-39620-studio-new-dataset (6142b4c389, 860d6ba8b6). REST reads: issues/39620 and its comments, and commit check-runs.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: door a (the app's design mode, DashboardInPageEditor.tsx) still draws the widget inspector with no provider. It is the main path for a published dashboard and for Studio's dashboard New. It needs a seat-routed card, round-1 option B, under the dm-39368 lease and a draft-versus-publish decision. Named in the PR's Acceptance notes.", "carrier: none · noted, not filed: StudioMetadataArea now imports datasetCreate.tsx statically, so its imports join the area's chunk, as they did the Interfaces pillar's before 3f568c1a40. Bundle size was not measured." ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyEVm1pP14AUiEfsW1
2026-12-04T12:04Z · zone
ot-data· PR #39638 MERGED (e1c52c9):StudioMetadataArea.tsxmounts theStudioDatasetAuthoringContextprovider again, so Studio's "New dataset" door from the widget inspector opens the builder instead of doing nothing.Fixesclosed this card;pm:dispatchedis removed in this stroke. Door a (Studio New dataset in the dataset list) stays on #39630.