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: a person's Save on a permission set, hook, added action or OWD row publishes a pending AI draft of that item with no notice (the AI notice and its discard exist only on objects and flows) #36660
Source: fleet-filed by this seat after PR #36652 (#36511, PR 3 of 3) merged. Raised by the contract review on that PR (records 7096256689 and 7096452455, both as a note) and by the #36511 card thread. Not a regression: #36652 shipped item 6 for objects and flows only, as its body says.
Suggested-type: Feature (it extends an existing notice to more editors; the maintainer's pick list decides whether and when)
Suggested-grade: p2
Suggested-domain: domain:ui
Suggested-area: area:build
On an object or a flow with the AI's unpublished draft, the page opens on the AI's version and shows 「这一项有 AI 未发布的改动,保存会一并生效」 with 「放弃 AI 的改动」 (StudioDesignSurface.tsx, StudioAiDraftNotice.tsx).
On a permission set, a hook, an installed app's added action, or an OWD row, there is no such line. If the AI left a draft of that item, the person's Save publishes it together with their own edit, and nothing on the page says so.
Why it matters
The person believes they are publishing their one change. On a permission set, the AI's part can be a grant change. On a hook, it can be server-side behaviour. Both then go live under the person's Save.
Ask (for the maintainer's pick)
Show the same notice and per-item discard on these editors, using the same rules as objects and flows:
the line only for an AI-written draft (by is copilot or mcp), never for a person's own draft;
the discard asks first when the page has unsaved edits;
the discard drops that one item's draft at its package (DELETE /meta/:type/:name?state=draft&package=), never the package batch.
Not in scope
The per-item discard on a never-published AI item removes the item, while its title says "go back to the live version". That is a wording note for the same follow-up, if picked.
Triage: lands in area:build · domain:ui · priority:p2 · Feature · pm:queue.
Rationale: extends the AI-draft notice and its discard (today on objects and flows only, per #36652) to permission sets, hooks, added actions and OWD rows. Not a regression, and nothing errors; but a person's Save silently publishes the AI's pending draft with theirs — on a permission set that can widen access unseen — so it is p2, not p3. Seat grade p2 kept.
SDS (now 1,715 lines) re-exports the three pillars and renderStudioGridList, so import paths are unchanged. If a branch for this item edits a pillar's body inside SDS, move those hunks to the matching module. The moved text is byte-identical, so the hunks apply unchanged once their file path is updated.
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:build·domain:ui·priority:p2· Feature ·pm:queue.Rationale: extends the AI-draft notice and its discard (today on objects and flows only, per #36652) to permission sets, hooks, added actions and OWD rows. Not a regression, and nothing errors; but a person's Save silently publishes the AI's pending draft with theirs — on a permission set that can widen access unseen — so it is p2, not p3. Seat grade p2 kept.
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
Note:
StudioDesignSurface.tsxhas been split; rebase your edits onto the new files (#36893, PR #36956 merged as 6902acb)The three pillars have moved out of
ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsxunchanged. Each now has its own module:DataPillar.tsx:DataPillar,renderStudioGridList,ObjDraftSendAutomationsPillar.tsx:AutomationsPillar,readPublishedFlowNamesAccessPillar.tsx:AccessPillar,StudioNameLabel,NewSimilarStrip,readNewSimilarArrivalSDS (now 1,715 lines) re-exports the three pillars and
renderStudioGridList, so import paths are unchanged. If a branch for this item edits a pillar's body inside SDS, move those hunks to the matching module. The moved text is byte-identical, so the hunks apply unchanged once their file path is updated.