Skip to content

Studio move-in door (POST /packages/:id/move-in) follow-ups after PR #38185: a dry run skips the permission-set owner judge, phase 0 reads all of sys_metadata, and four edge cases are unpinned #38301

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) follow-ups of #38150 PR-A1 #38185, from L2 records 7236830081 and 7238780160 and the L1-b delta 7238803353. The seat accepted the dry-run reshaping on the condition that this card carries its cost (claim amendment 3, 7238831172). N4 (what reverting the move commit means) stays in #38150's PR-A2 or PR-B and is not here. Source: fleet.
Grading: area:ux · domain:server · Bug · p3 · reach: a Studio admin moving loose items into a package. In the worst case a dry run reports would_move and the real move then refuses the set, whole and cleanly. Nothing is half-moved.
Dedupe: "move-in dry run permission-set owner", "moveIntoPackage sys_metadata where" → only #38150.

维护者速读

  • 问题:「移入软件包」的预演不问权限集归属判定,所以可能预演说能移,真移时却整批拒绝(不会只移一半)。另外第一步会把 sys_metadata 全表连同内容读出来再在程序里筛;还有几种边角情况没有测试钉住。
  • 修法:预演只读地也问权限集归属判定;把筛选下推到查询;把下面几种情况各钉一条测试。
  • 要你做的:无。

Ask

  1. N7: phase 0 also asks the permission-set owner judge (a pure function, read-only), so a dry run and the real move agree on a set. Update the dry-run text that names which judges run.
  2. N2: push the package-less filter and the selected names down into the phase-0 sys_metadata read instead of where: {} with bodies.
  3. N5 (rest): pin a read-only, a disabled and a .custom target on this route, each with its code.
  4. N6 (rest): a draft's references are set-judged even when the item also has an active row. When one member of a bundled item moves, the other members either move with it or are refused, and the PR says which.
  5. N8: a row stored without a checksum moves with a pin (or is refused with a code), not last-write-wins.
  6. N9: pin the author admission's own refusal (authoredKnowledgeSourceRefusal status and code) directly, not only through the no-service 503.

Size: S
Related: #38150, PR #38185.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in packages/metadata-protocol/src/protocol-package-move-in.ts · area:ux → area:package · domain:server · Bug · p3 · pm:queue · size M. Rationale: review follow-ups of PR #38185 (merged, not yet released). A dry run that reports would_move where the real move refuses the whole set is a wrong result of package move-in, not a looks or feedback problem. So it takes area:package ("addressing by package"), not area:ux. Impeded on an occasional admin path, merged but unreleased ⇒ p3. Six items with code and pins in one module make it M, so it stays a single card. Per the filer, the real move still runs the owner judge and refuses whole, so this is no bypass. Choosing "move with it or refuse" (N6) is an implementation choice inside the ruled #38150 design. Escalate only if the documented move-in contract changes.
    Path: none
    Grade: area:package · Bug · Impeded · reach: admins moving loose items into a package · evidence: read (L2 records 7236830081, 7238780160).

    Recorded 2026-11-28T14:09Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagebugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions