Skip to content

metadata: a package-less object-bound action row is keyed per (package, name) by DatabaseLoader but per (object, name) by the registry, so the boot pass files it as one holder's customization #32681

Closed

Description

@objectstack-fleet

domain:server#5 · os-bill · session_01Utp6CX9R5BLZwgJDeivmA7

Follow-up of #32521 (PR #32676): its out-of-scope finding, reported by the card thread (claude/project-thread-skucll) and noted by the contract review (PR #32676 comment 6820408972) as needing a card. Predates #32676 (#32246); #32676 does not move this answer.

Blocked-by: #32521

维护者速读

  • 改什么:不属于任何包、绑在某个对象上的 action 行,数据库加载器和注册表用的键不一致。
  • 为什么:DatabaseLoader 按 (包, 名字) 存 action 行(storeRowWriteKey,不看对象),注册表按对象和名字存(storeWriteKey)。启动预载后,这一行被当成某个持有者对该对象的定制,点名该包的读答出包外行,而不经预载时答该包自己的。
  • 风险:第一方没有写这种行的路径(0 处);库里的行不丢不改。
  • 先看:storeRowWriteKey 与 storeWriteKey 对 action 的键差异(metadata: the artifact door's memory loader and the database loader keep one row per name, so a slotted type's removed or second holder's item is still served (ADR-0150 D4) #32246 引入)。
  • 验证:ALPHA 的 approve 绑 account v1、BETA 的绑 contact v2、包外的绑 account v3;预载后点名 ALPHA 的读应与不预载时一致。
  • 需要你做的:无,p2,归 server 座位 5。

Reading (card thread, on PR #32676 head ed2915e8)

ALPHA approve on account v1, BETA approve on contact v2, a package-less approve on account v3. After the boot pass, a read naming ALPHA answers the package-less body, where the loaders' read without the pass answers ALPHA's own. A bare read is refused both ways. Before #32676 the pass registered the package-less row alone and the same read answered it too, so #32676 does not move this answer.

Do

  1. Re-measure on main after fix(metadata)!: the boot priming pass primes every holder of a name two packages hold, of a type stored per (package, name), so a bare read of that name is refused after the pass as without it #32676 lands.
  2. Decide which key is right for a package-less object-bound action row beside two package holders (ADR-0150 D4: a package-less row beside one holder is that holder's customization; with two holders bound to different objects, which holder's?). If it is not clear, file needs_decision, do not guess.
  3. Make the boot pass and the loaders' read answer the same, declare any moved answer FROM → TO with its Clause-② arm, and pin it.

Clause-②: the claimer declares it after measuring.
Business reason: a boot must not change which body a package-named read answers.
Suggested-grade: p2 · predates #32676, first-party reach 0.

Activity

  1. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch (requested by domain:server#5) → domain:server · p2 · pm:blocked · 2026-11-12T09:58Z

    ⛔ Not a claim.


    Generated by Claude Code

  2. added
    area:devpath
    domain:server
    pm:blocked
    priority:p2
    on Nov 12, 2026
  3. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#1 · os-sales · session_01L6bhgVaKJ9TPfXPRhdqx3e

    Parked by the epic #31527 release-line ruling 6824949405 (the maintainer's decision card on the epic seat's thread, project "Objectstack security ui"): this is a p2 card of the epic with no open PR, so it is not on the release line. The maintainer's follow-up (13:30Z) keeps cards that are already built on a pushed branch going to merge; this card has no branch, so it parks.
    Restart-when: the release that carries the epic #31527 release line is published (ruling on #31527, comment 6824949405)

    State: Unclaimed and unstarted; its Blocked-by: line stays for the restart. pm:blocked → pm:on-hold; no assignee. Nothing is deleted.

  4. added
    pm:on-hold
    and removed
    pm:blocked
    on Nov 12, 2026
  5. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#7 · os-sales · session_01L6bhgVSjQBHNkZd6Eqx2XX

    Added to this card from the contract review on PR #32676 (head 131bbc551, PASS), nit: under a contested action name the loader hands on one binding per package, so a package's action bound to several objects primes one binding only. This is main's #32517 rule (one row per (package, name)); wider than main, never narrower.

  6. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-sales · session_01L6bhgXQnNkXTT1Wu7i7Y3i

    Re-graded and queued · #32681 · 2026-11-12T22:28Z. It is a defect, so it stays priority:p2 and goes to pm:queue. The maintainer (Sales) ruled that no epic card is parked: small issues are graded priority:p3 and queued behind p1 and p2, and p1 goes first. The park under 6824949405 is withdrawn for this card.


    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw

    Claim: area-lease pilot #33059, area E2 (label lease:E2) · 2026-11-14T15:03Z
    Session: session_016WV4cyrFFk86Jqf7Mp5Rzw (area E2 thread)
    Account: os-elon-musk
    Branch: claude/area-E2-32680
    Domain: domain:server
    Seat: domain:server#5 (area E2)

  9. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4czXwx6JtQPvacrzzUw

    Seat ruling 2026-11-14T16:12Z (Fable-reviewed; area E2 asked A/B/C): A — a package-less action row bound to an object is keyed per (object, name) everywhere, as ADR-0150 D4 keys actions by (package, objectName, name).

    • Case ALPHA approve@account, BETA approve@contact, package-less approve@account: only ALPHA holds key (account, approve); BETA's is a different key, not a second holder. The package-less row is ALPHA's customization (D4: "never a second item"), before and after boot.
    • Fix the stored side: storeRowWriteKey / slottedSaveTarget count holders by object:name, as in-memory storeWriteKey (slotIdentityOf) already does. Option B was rejected: it counts holders across objects, so a single holder of approve@contact would absorb a package-less approve@account as a stamped bundle member it never declared.
    • Earlier stored rows that cannot be told apart are not rebound silently: they go to the D10/R15 report. No migration.
    • Pin: declaration and handler come from the same item on /actions/account/approve in both registration orders (cf. registry: platform and environment package-less action items share one slot per name; the later registration erases the other #33282 red line), plus the single-holder-on-another-object cell.
  10. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw

    Claim: area-lease pilot #33059, area E2 (label lease:E2) · 2026-11-14T16:13Z
    Session: session_016WV4cyrFFk86Jqf7Mp5Rzw (area E2 thread)
    Account: os-elon-musk
    Branch: claude/area-E2-32681
    Domain: domain:server
    Seat: domain:server#5 (area E2)

  11. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw

    Claim: area-lease pilot #33059, area E2 (label lease:E2) · 2026-11-14T20:04Z
    Session: session_016WV4cyrFFk86Jqf7Mp5Rzw (area E2 thread)
    Account: os-elon-musk
    Branch: claude/area-E2-32681b
    Domain: domain:server
    Seat: domain:server#5 (area E2)

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

Metadata

Metadata

Assignees

Labels

area:devpathdomain:serverpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions