Skip to content

Studio AI-draft notice: "Discard" says it goes back to the live version, but for an item the assistant created and that was never published there is no live version, and discarding deletes it #38302

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (a) out-of-scope finding from the #36660 card thread (PR #38285, Acceptance notes, Q2), graded by the L1-b review 7238734970. Source: fleet.
Grading: area:ux · domain:ui · Bug · p3 · reach: a Studio admin who discards an AI-created item that was never published. The button promises "go back to the live version", but the item is deleted instead. That is a surprise, but the result is what a discard of a new item should do. After PR #38285 the same button and wording sit on five StudioAiDraftNotice hosts.
Dedupe: "aiDraft discardTitle live version never published" → only #36660.

维护者速读

  • 问题:Studio 里 AI 草稿提示的「放弃」按钮说的是「放弃未发布的草稿,回到线上版本」。可如果这一项是 AI 新建、从没发布过,就没有线上版本,放弃等于删掉它,提示文字说错了。
  • 修法:从没发布过的项用另一句文案(例如「删除这个 AI 新建、尚未发布的项」),并在确认框里写明会删除。
  • 要你做的:无。

Ask

  1. StudioAiDraftNotice (ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx) picks its discard title and confirm text from whether the item has a published version: the current text when it has one, and a delete wording when it does not.
  2. New i18n keys in engine.studio.aiDraft.*, in every locale the namespace carries.
  3. Pin both texts on one host, plus one host per distinct "has a live version" reader if the hosts read it differently.

Size: XS
Related: #36660, PR #38285.

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in StudioAiDraftNotice.tsx and the studio i18n en.ts/zh.ts (engine.studio.aiDraft.discardTitle) · area:ux · domain:ui · Bug · p3 → p2 · pm:blocked · size XS. Rationale: the shipped confirm text says discard "goes back to the live version", but for an item the assistant created and never published, discard deletes it. That is misleading copy, area:ux, and the UX rule gives p2 (fleet grade, bot-set). Open PR #38285 (card #36660, in flight) edits the same notice and the same i18n files. Same-file cards wait on each other, and in-flight work is never folded, so this card waits on #36660.
    Path: none
    Blocked-by: #36660
    Grade: area:ux · Bug · Cosmetic (misleading copy) · reach: Studio admins discarding an AI-created, unpublished item · evidence: read (origin/main).

    Recorded 2026-11-28T14:08Z.

  3. added
    pm:blocked
    priority:p2
    and removed
    pm:queue
    on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Unlock: Blocked-by: #36660 is done. #36660 closed as completed, so its PR no longer holds StudioAiDraftNotice.tsx and the studio i18n files ⇒ pm:blocked → pm:queue. Re-read the discard copy on main at claim: #36660's PR may have changed the sentence. Grade unchanged (p2).

    Recorded 2026-11-28T15:45Z.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 28, 2026
  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    Claim: PM loop round 1 · 2026-11-29T13:59Z · zone o2-U (area:ux p1/p2 intake, Warren 2026-11-29T13:50Z 「然后再开一个 area:ux p1 p2」)
    Session: session_01JQwxbamiNxp7695qyaEYsH
    Account: os-warren
    Branch: claude/issue-38302-ai-draft-discard-copy
    Worktree: objectstack-issue-38302
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: o2-U
    File surface: ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx and the hosts that pass it the "has a published version" reading, ui/packages/i18n/src/namespaces/studio/*.ts (new engine.studio.aiDraft.* keys only, every locale the namespace carries), a new test file named for this card, .changeset/38302-*.md. Stop on breach and explain in the report.
    Container & model: S, mode:subagent, model: opus (dispatch-gates --tier on the surface: "no path-derived mandate" ⇒ default), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui/packages/app-shell StudioAiDraftNotice (objectstack) shows "go back to the live version" for an item never published | none | Studio admins discarding an AI-created, unpublished item, today
    Thread-read: 7241710648
    Premise: holds — origin/main 75108ea engine.studio.aiDraft.discardTitle still reads 'Drop this item’s unpublished draft and go back to the live version' (studio/en.ts:3489) after #36660's PR #38285 landed
    Serial constraints cleared: check-handover --inflight at 13:58Z: #36496 (claim 7255784500) and #38045 (claim 7255928921) also edit studio/en.ts and zh.ts; shared append-only i18n files are ordinary concurrency, the dev runs overlap-check.mjs before every push and the later lander resolves

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    os-dev-report

    {
      "issue": 38302,
      "status": "rework",
      "branch": "claude/issue-38302-ai-draft-discard-copy",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38602",
      "session": "session_01JQwxbamiNxp7695qyaEYsH",
      "premise_still_valid": true,
      "summary": "Handoff on coordinator order (account usage 99%). Implemented: StudioAiDraftNotice takes a published reading and titles the discard with a new delete key when false; new aiDraftDiscardConfirmUnsaved helper picks the unsaved-edit confirm; two new keys in en and zh; six hosts (not five) wired with their own readers: permission set read.published, flow publishedFlowNames, pair actions row.published, hooks buffer new aiDraftPublished from the published list, OWD row.saved, generic item page !holdsNoLayer(layered). New test file pins the line, the Hooks tab (list reader) and the generic item page (layers reader). Left: the test file and app-shell typecheck were never run green locally. Resume from claude/issue-38302-ai-draft-discard-copy@e5a0b5ff.",
      "tests": "head e5a0b5ff · new file StudioAiDraftNotice.neverPublished-38302.test.tsx run once under the lock: exit 1 at collection, 'Failed to resolve import \"@objectstack/spec/system\"' (dependency closure not built) · closure build (pnpm --filter '@object-ui/app-shell^...' build) started under the lock and stopped at the handoff order · NOT MEASURED: the new tests, @object-ui/app-shell typecheck, existing host suites (36660, 36902, 36905). No ablation.",
      "gates": "local: scripts/pm/overlap-check.mjs exit 0, VERDICT clean (origin/main and PRs #38598, #38581, #38550 merge cleanly) · push hook check:commit-card-trailers pass · NOT MEASURED: dispatch-gates --commands derivation and --ran reconciliation, reason: handoff · CI check-runs on PR #38602 not yet read",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch probe + 3 commits, not REST); relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38602, draft); post-stamped comment POST /repos/objectstack-ai/objectstack/issues/38302/comments (this report)",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched",
      "files_changed": ["ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx", "ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.neverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx", "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.tsx", "ui/packages/app-shell/src/views/studio-design/pairObjectActions.ts", "ui/packages/app-shell/src/views/studio-design/ObjectHooksPanel.tsx", "ui/packages/app-shell/src/views/studio-design/objectHooksBuffer.ts", "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts", ".changeset/38302-ai-draft-discard-never-published.md"],
      "deviations": ["File surface read as including the hosts' own reading/confirm halves: objectHooksBuffer.ts and pairObjectActions.ts hold the hooks and pair-actions confirms and the hook published reading; declared in the PR body.", "Hosts measured at six (ResourceEditPage is the sixth), not five.", "Two reader mechanisms pinned (published-list membership: Hooks tab; layers: generic item page); Access, Automations, pair actions and OWD wired without their own pin.", "Shared scratchpad: the first worktree log was overwritten by a sibling agent's run (issue-38558); worktree verified by git worktree list, later files kept under issue-38302/.", "Local tests and typecheck NOT MEASURED on coordinator handoff order."],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["class: a · reach: Studio Data pillar object page, own AI line (not a StudioAiDraftNotice host): DataPillar.tsx titles its discard with engine.studio.aiDraft.discardTitle ('go back to the live version') for an AI-created object that was never published, where discard deletes it · same family as #38302; fold into a family closer, not a point card · dedupe words: DataPillar aiDraft discardTitle never published object"]
    }
    
  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    os-dev-report

    {
      "issue": 38302,
      "status": "done",
      "branch": "claude/issue-38302-ai-draft-discard-copy",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38602",
      "session": "session_01JQwxbamiNxp7695qyaEYsH",
      "premise_still_valid": true,
      "summary": "Supersedes the earlier handoff report (status rework) on this card. StudioAiDraftNotice takes a published reading and, when false, titles the discard with engine.studio.aiDraft.discardTitleUnpublished; the new aiDraftDiscardConfirmUnsaved helper picks the unsaved-edit confirm (engine.studio.aiDraft.discardConfirmUnsavedUnpublished for a never-published item). Both keys are in en and zh. Six hosts (not five) pass their own reading: permission set read.published, flow publishedFlowNames, pair actions row.published, hooks buffer aiDraftPublished from the published list, OWD row.saved, generic item page !holdsNoLayer(layered). Discard behaviour is unchanged. Seat: the PR body's Tests section still says NOT MEASURED from the handoff round. The readings below replace it, and a subagent does not PATCH the body.",
      "tests": "head e5a0b5ff, dependency closure built (pnpm --workspace-concurrency=2 --filter '@object-ui/app-shell^...' build, lock VERDICT command-exit 0). New StudioAiDraftNotice.neverPublished-38302.test.tsx: Test Files 1 passed, Tests 11 passed (VERDICT command-exit 0). Existing host suites (ObjectHooksPanel 36660, DataPillar pairActions 36660, StudioPermissionSetPage 36905, ResourceEditPage 36902, AutomationsPillar saveCancel 36511, DataPillar aiDraftDiscard 36511): 6 files, 74 tests passed. PackageOwdOverviewPanel aiDraftNotice 36660: 6 passed. @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json, which includes src): VERDICT command-exit 0. Ablation: both `published === false` choices in StudioAiDraftNotice.tsx were mutated on disk to `false ?`. Result: 4 failed and 7 passed, failing on the published=false title and confirm, the hooks never-published case and the item-page never-published case. The file was restored with git checkout.",
      "gates": "local: dispatch-gates --commands (e5a0b5ff, 13 paths) derived 39 commands, all run. 38 exited 0 on the first pass. pnpm --dir ui exec vitest run scripts/ exited 1 on that pass while the box was shared; a rerun under the lock gave Test Files 172 passed, 2 skipped and command-exit 0. --ran reconciliation: 39 of 39 accounted for. The script notes no exit codes were in the record file: the codes are in the runner's own results log. overlap-check.mjs VERDICT clean exit 0 against origin/main and #38598, #38581, #38550. ui check:new-line-citations: 0 new. CI check-runs on e5a0b5ff: 45 success and 13 skipped of 58, including TypeScript Type Check, Lint & Repo Gates, Test UI and Test UI 1-16/16, all success.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "4: relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38602, draft) and three post-stamped POST /repos/objectstack-ai/objectstack/issues/38302/comments (the handoff report, then this report). The budget is one report comment, so this is over it by one because the coordinator ordered the handoff and then cancelled it. git push is not REST.",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched",
      "files_changed": ["ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx", "ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.neverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx", "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.tsx", "ui/packages/app-shell/src/views/studio-design/pairObjectActions.ts", "ui/packages/app-shell/src/views/studio-design/ObjectHooksPanel.tsx", "ui/packages/app-shell/src/views/studio-design/objectHooksBuffer.ts", "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts", ".changeset/38302-ai-draft-discard-never-published.md"],
      "deviations": ["The file surface was read as including the hosts' own reading and confirm halves. objectHooksBuffer.ts and pairObjectActions.ts hold the hooks and pair-actions confirms and the hook published reading. This is declared in the PR body.", "There are six hosts, not five: ResourceEditPage is the sixth.", "Two reader mechanisms are pinned: published-list membership on the Hooks tab, and layers on the generic item page. The Access, Automations, pair-actions and OWD hosts are wired without a pin of their own, and their existing suites pass.", "The first closure build passed --concurrency=2 through to the package scripts and failed in @object-ui/data-objectstack. The rebuild used --workspace-concurrency=2.", "The scratchpad is shared: a sibling's run (issue-38558) overwrote the first worktree log. The worktree was checked with git worktree list, and later files are under issue-38302/.", "The PR body's Tests section is stale (NOT MEASURED from the handoff). The seat should replace it with the readings in this report."],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["class: a · reach: the Studio Data pillar object page has its own AI line, not a StudioAiDraftNotice host. DataPillar.tsx titles its discard with engine.studio.aiDraft.discardTitle ('go back to the live version') for an AI-created object that was never published, where the discard deletes it. Same family as #38302: fold it into a card that closes the family, not a one-location card. Dedupe words: DataPillar aiDraft discardTitle never published object"]
    }
    
  10. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    Claim amendment 1 to 7256965859 · zone o2-U · on the dev's final report (PR #38602, head e5a0b5f).
    File surface adds: the six host files the PR touches beyond the notice (StudioPermissionSetPage.tsx, AutomationsPillar.tsx, ObjectActionsPanel.tsx, pairObjectActions.ts, ObjectHooksPanel.tsx, objectHooksBuffer.ts, PackageOwdOverviewPanel.tsx, ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx), declared in the PR body; and ui/packages/app-shell/src/views/studio-design/DataPillar.tsx.
    Scope add (same family, folded rather than filed): the dev's out-of-scope finding. DataPillar.tsx titles the Data pillar object page's AI discard with engine.studio.aiDraft.discardTitle (line 2157 at e5a0b5f) and confirms with discardConfirmUnsaved (line 1466) for an AI-created object that was never published, where the discard deletes it. Same wording defect, same keys, same directory; it rides PR #38602 with a pin, so the family closes in one PR.
    Everything else in the claim is unchanged.

  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    os-dev-report

    {
      "issue": 38302,
      "status": "done",
      "branch": "claude/issue-38302-ai-draft-discard-copy",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38602",
      "session": "session_01JQwxbamiNxp7695qyaEYsH",
      "premise_still_valid": true,
      "summary": "Rework round, claim amendment 1 (7262731187). The Data pillar's own AI line now picks the never-published wording, using the pillar's existing hasBaseline reading. That reading is set from the layers read the load already makes (effective ?? code), so there is no new fetch. Title: new aiDraftDiscardTitle(locale, published) helper, which StudioAiDraftNotice uses too. Confirm: aiDraftDiscardConfirmUnsaved(locale, hasBaseline). New pin DataPillar.aiDraftNeverPublished-38302.test.tsx. The branch merged origin/main 0ba5e06a (os-regen-merge, no regen paths touched). The PR body's Tests and Verification sections were rewritten through the relay with the real readings, under the seat's authorization. Head 6dcdcd22, still draft.",
      "tests": "head 6dcdcd22. Closure rebuilt (pnpm --workspace-concurrency=2 --filter '@object-ui/app-shell^...' build, lock VERDICT command-exit 0). DataPillar.aiDraftNeverPublished-38302, StudioAiDraftNotice.neverPublished-38302 and DataPillar.aiDraftDiscard-36511: Test Files 3 passed, Tests 18 passed. @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json): command-exit 0. Ablation 2: in DataPillar.tsx, `true` was passed for hasBaseline to both helpers on disk. Result: 2 failed and 1 passed (both never-published cases); restored with git checkout. Carried from the e5a0b5ff round: the earlier host suites (74 plus 6 passed) and ablation 1 (4 failed, 7 passed).",
      "gates": "head 6dcdcd22. dispatch-gates --commands (15 paths) derived the same 39 commands, all exit 0 including pnpm --dir ui exec vitest run scripts/ (Test Files 172 passed, 2 skipped, lock command-exit 0). --ran with recorded exit codes: 39 derived, 39 run, 0 NOT-MEASURED (a derived zero). overlap-check.mjs VERDICT clean exit 0. It was run after the delta push, not before, and was clean again before the body write. ui check:new-line-citations: 0 new. CI on 6dcdcd22 when this was written: 45 success, 15 skipped, 2 in_progress (not converged; NOT MEASURED for those 2). CI on e5a0b5ff: 45 success, 13 skipped of 58.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "5 over the card: relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38602); relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/38602 (PR body, seat-authorized, 6423 bytes read back identical); post-stamped POST /repos/objectstack-ai/objectstack/issues/38302/comments ×3 (the handoff report, the round-1 final report, this report). git push is not REST.",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched",
      "files_changed": ["ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx", "ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.neverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.aiDraftNeverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx", "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.tsx", "ui/packages/app-shell/src/views/studio-design/pairObjectActions.ts", "ui/packages/app-shell/src/views/studio-design/ObjectHooksPanel.tsx", "ui/packages/app-shell/src/views/studio-design/objectHooksBuffer.ts", "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts", ".changeset/38302-ai-draft-discard-never-published.md"],
      "deviations": ["The DataPillar pin is a second test file named for the card (DataPillar.aiDraftNeverPublished-38302.test.tsx), with a harness copied from DataPillar.aiDraftDiscard-36511.test.tsx. The amendment allowed this.", "The relay refused the PR-body write without a signature. The body now ends with the PR_BODY_TRAILER_SHAPE line `signed: repo:objectstack#2 · os-warren · session_…` inside an HTML comment, on the last non-empty line, as the relay requires. Line 1 is still the attribution comment, and Fixes #38302 still follows the two attribution lines.", "The delta push (6dcdcd22) went before overlap-check ran. overlap-check run right after the push was clean. There was no later push.", "The local branch left from the removed round-1 worktree (same sha e5a0b5ff as the remote) was deleted with git branch -D so that dev-worktree.sh --resume-from could rebuild it.", "The round-1 final GitHub report miscounted api_writes. This report carries the full count."],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
    
  12. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    Claim amendment 2 to 7256965859 (after amendment 1, 7262731187) · zone o2-U · on the seat's L1 REWORK of PR #38602 at 6dcdcd2.
    File surface adds: one OWD-specific never-published key in ui/packages/i18n/src/namespaces/studio/en.ts and ui/packages/i18n/src/namespaces/studio/zh.ts (engine.studio.owd.aiDraftDiscardConfirmUnsavedUnpublished or the nearest existing engine.studio.owd.* naming), its use in ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx, and one pin for a never-published object with a dirty row.
    Reason: the L1 found that at PackageOwdOverviewPanel.tsx:775-777 the generic discardConfirmUnsavedUnpublished says the discard drops "the changes on this page that you have not saved", while the OWD discard keeps every other row's unsaved edit (restore at :779-789, pinned by PackageOwdOverviewPanel.aiDraftNotice-36660.test.tsx:162).
    Everything else in the claim is unchanged.

  13. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
    os-dev-report

    {
      "issue": 38302,
      "status": "done",
      "branch": "claude/issue-38302-ai-draft-discard-copy",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38602",
      "session": "session_01JQwxbamiNxp7695qyaEYsH",
      "premise_still_valid": true,
      "summary": "L1 rework, claim amendment 2 (7263571878). The sharing overview's never-published confirm now uses its own key, engine.studio.owd.aiDraftDiscardConfirmUnsavedUnpublished (en and zh): the object is deleted, and only this row's unsaved change goes with it. The generic aiDraft key no longer reaches the OWD site, and the OWD panel no longer imports the confirm helper. Pinned in the card test file: a never-published object with a dirty row, checked on the title and the OWD confirm key (and that the page-wide one is not used); when declined, the row keeps its edit. The optional fold is done: the flow preview's published reads the same flowPublished. The branch merged origin/main f5da514b. New head 560eb6ee, draft, PR body Tests section rewritten through the relay.",
      "tests": "At 362dc0cc under the lock, after rebuilding the closure (lock command-exit 0): StudioAiDraftNotice.neverPublished-38302, DataPillar.aiDraftNeverPublished-38302 and PackageOwdOverviewPanel.aiDraftNotice-36660 gave Test Files 3 passed, Tests 21 passed. At 560eb6ee, run outside the lock (declared, see deviations), the same three plus AutomationsPillar.saveCancel-36511 gave Test Files 4 passed, Tests 27 passed. @object-ui/app-shell type-check at 560eb6ee: exit 0, 0 errors (also outside the lock). Ablation 3: the OWD site's never-published key was put back to engine.studio.aiDraft.discardConfirmUnsavedUnpublished on disk. Under the lock that gave 1 failed and 11 passed (the OWD never-published case); restored with git checkout. Ablations 1 and 2 and the host suites are carried from the earlier rounds.",
      "gates": "head 560eb6ee. dispatch-gates --commands (15 paths) derived the same 39 commands. 37 exited 0 on the first pass. check:type-check-debt exited 3 on its own os-verify-lock queue-timeout, and the rerun gave exit 0 (surplus none). NOT MEASURED: pnpm --dir ui exec vitest run scripts/ hit a lock queue-timeout (exit 99) behind a sibling's run (scratchpad issue-37444). It was green at 6dcdcd22 (172 passed, 2 skipped), this delta touches no ui/scripts input, and CI is the reading. dispatch-gates --ran with exit codes: 39 accounted for, but it does not treat 99 as NOT MEASURED, so the zero it prints is not the reading. overlap-check.mjs VERDICT clean exit 0 before each push (362dc0cc, 560eb6ee). CI on 560eb6ee when this was written: 26 success, 15 skipped, 20 in_progress (Test UI shards, Check Changeset, PR-body guards), not converged. CI on 6dcdcd22: 47 success, 15 skipped.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "7 over the card: relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38602); relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/38602 ×2 (PR body, seat-authorized, read back identical: 6423 then 7675 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/38302/comments ×4 (the handoff report, the round-1 report, the amendment-1 report, this report). git push is not REST.",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched",
      "files_changed": ["ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx", "ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.neverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.aiDraftNeverPublished-38302.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx", "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.tsx", "ui/packages/app-shell/src/views/studio-design/pairObjectActions.ts", "ui/packages/app-shell/src/views/studio-design/ObjectHooksPanel.tsx", "ui/packages/app-shell/src/views/studio-design/objectHooksBuffer.ts", "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts", ".changeset/38302-ai-draft-discard-never-published.md"],
      "deviations": ["Declared narrowing: the final-head test run and type-check ran outside os-verify-lock. A sibling (scratchpad issue-37444, tools/run.mjs) held the lock past three consecutive 540s queue budgets, about 30 minutes. The narrowed runs were small (4 test files at maxWorkers=2, one package type-check).", "The OWD pin is a new describe in the card's own test file, not in PackageOwdOverviewPanel.aiDraftNotice-36660.test.tsx (amendment 2 named 'one pin'; the round-1 dispatch named one card file).", "The 362dc0cc push carried only the OWD fix. 560eb6ee adds the optional Automations fold, pushed after a clean overlap-check.", "The local branch from the previous round (same sha as the remote, 6dcdcd22) was deleted with git branch -D so that dev-worktree.sh --resume-from could rebuild it."],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
    
  14. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxba2oTCUuCosPm6pkRu
    2026-11-30T00:09Z · zone o2-U · ACCEPT → PR #38602 comment 7265007890(Head-sha 560eb6e)。发布冻结:PR 保持 draft、不入队,解冻后席位翻 ready 并入队。

  15. added a commit that references this issue on Dec 1, 2026
    714124a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions