Skip to content

metadata-protocol: no duplicatePackage test runs on an object-judging registry, so the duplicate's object-settle path is unpinned #38749

Description

@objectstack-fleet

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Filed as a finding by seat repo:objectstack#3, from the L1 read of PR #38738 (card #38685, L1 comment 7275808263). That read found the gap in general, not only in that PR. It has not been triaged or claimed. The seat has not measured it: a re-check is below.

Class: b (a write path with no pin) · Grade: p2 · Reach: every operator who duplicates a package (duplicatePackage, ADR-0070 D4) whose base carries objects. The step that settles the copy's objects can regress without any test going red.

What

  • duplicatePackage (packages/metadata-protocol/src/package-namespace-rename.ts, package-unmanaged-install.ts) settles the copy's objects against the registry.
  • The duplicatePackage tests in @objectstack/metadata-protocol are package-namespace-rename*.test.ts and package-unmanaged-install.test.ts. Per the L1 read, none of them runs on a registry that judges objects, so the object-settle branch never executes under test.
  • PR fix(metadata-protocol): a package duplicate withdraws a copied flow action whose target flow it did not write #38738 marks its own object-settle exclusion row NOT MEASURED for this reason.

Ask

Add at least one duplicatePackage test on a registry that judges objects, covering:

Each pin must go red when its branch is ablated.

Likely lane

domain:server, area:package. Tier L (tests only).

Re-check

git grep -n "duplicatePackage" -- 'packages/metadata-protocol/src/*.test.ts', then check each hit's registry fixture for object judging.

Activity

  1. added
    finding
    on Nov 30, 2026
  2. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: first-touch · Task · p3 · pm:queue · domain:server · area:package · finding removed.
    Grading: area:package · Task · Impeded (no test pins the copy's object-settle branch) · reach: operators duplicating a package whose base carries objects · evidence: L1 of PR #38738 (comment 7275808263), re-check below.

  3. added
    domain:server
    pm:queue
    and removed
    finding
    on Nov 30, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CY1DVmttnuNH77G3ht

    Claim: PM loop round 1 · 2026-12-03T14:39Z
    Session: session_01Utp6CY1DVmttnuNH77G3ht
    Account: os-bill
    Branch: claude/issue-38749-duplicate-object-settle-pin
    Worktree: objectstack-issue-38749
    Domain: domain:server
    Seat: repo:objectstack@os-bill
    Area: package-1203
    File surface: packages/metadata-protocol/src/package-duplicate-object-settle-38749.test.ts (new; or a top-level describe in an existing duplicate harness if AGENTS.md's shared-harness rule names one — say which in the report). Tests only: no source file. Stop on any other breach and explain in the report.
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7275874530
    Premise: by the card's re-check at origin/main: duplicatePackage test files in packages/metadata-protocol/src (package-namespace-rename*.test.ts, package-unmanaged-install.test.ts, protocol.duplicate-package-*.test.ts, protocol.copy-doors-inherited-grants.test.ts) — the dev checks each one's registry fixture for object judging first; if one already exercises the object-settle branch, it reports that and pins only the missing exclusion row of PR #38738.
    Pre-claim lane: domain:server (packages/metadata-protocol tests); this seat keeps it.
    Pre-claim deps: none.
    Prior rulings read: none on the card thread; ADR-0070 D4 (duplicate) cited by the card.
    Serial constraints cleared: check-handover.mjs --inflight --card=38749 → OVERLAP with #38174 (claim 7378145399, this seat's card thread, packages/metadata-protocol/src/ wide) — a new test file meets no textual line of it; Notify: serial, overlap-check before each push. Sibling PR #39347 (#39341) edits protocol-package-commits.ts duplicatePackage; this card adds tests only and does not touch that file.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  6. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CY1DVmttnuNH77G3ht

    Paused · 2026-12-03T14:48Z — on the maintainer's word relayed by the seat (Bill, project thread, 2026-12-03 ~14:46Z: 「你为什么 p3 也派了,相关任务先暂停」). The os-dev was stopped before writing any pin; claim 7381849238 and its branch are left as they are (nothing pushed beyond what the remote shows). Restart = a seat re-dispatch under the same claim; nothing here is lost.

  7. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim amendment: #38749 · claim 7381849238 · 2026-12-04T11:30Z

    • Resumed: the maintainer named the paused p3 list at 2026-12-04T09:03Z (project thread); the claim's pause note stands lifted.
    • Thread session: session_01Utp6CaQewhuk2SXyiRnjFn (mode:thread, card thread of seat repo:objectstack@os-bill, replacing the zone's subagent).
    • Branch: unchanged, claude/issue-38749-duplicate-object-settle-pin, resumed from f653053a.
    • File surface: unchanged (tests only).
  8. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim amendment: #38749 · claim 7381849238 · 2026-12-04T11:38Z

  9. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim: PM loop (re-posted 2026-12-04T11:41Z; supersedes claim 7381849238 and amendments 7410283613, 7410395815), card thread of seat repo:objectstack@os-bill; the maintainer named the paused p3 list at 2026-12-04T09:03Z (project thread) and asked for serial work at 2026-12-04T11:34Z
    Session: session_01Utp6CaQsbKBMQtm6Tpsamd
    Thread session: session_01Utp6CaQewhuk2SXyiRnjFn
    Account: os-bill
    Branch: claude/project-thread-l886ld
    Worktree: objectstack-issue-38749
    Domain: domain:server
    Seat: repo:objectstack@os-bill
    File surface: packages/metadata-protocol/src/package-duplicate-object-settle-38749.test.ts (new; or a top-level describe in an existing duplicate harness if AGENTS.md's shared-harness rule names one — say which in the report). Tests only: no source file. Stop on any other breach and explain in the report.
    Container & model: S, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7410395815
    Premise: holds — per claim 7381849238's re-check of the duplicatePackage test files in packages/metadata-protocol/src; the card thread resumed from f653053a and merged main before its first push (PR #39657).
    Serial constraints cleared: #38174 closed (PR #39386 merged); #39341 closed (PR #39347 merged). No other in-flight claim names this new test file.
    Resume-from: claude/issue-38749-duplicate-object-settle-pin@f653053a

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

Metadata

Metadata

Assignees

Labels

area:packagedomain:serverpm:dispatchedpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions