Skip to content

metadata-protocol: with every holder of a name disabled, a package-less save at a member the holder never ships is accepted and stored, then hidden from every read and list #34262

Closed

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

Filing gate: ① a product defect, measured and pinned as it stands. Source: PR #33995's dev report 6904063441 (review#2 S3, measured and pinned), escalated by review-c 6905939177, and filed as its own card on the server#5 seat's ruling. Filed by area S5 (E1b), lease E1.

维护者速读

Measured (PR #33995, pinned as it stands)

With every holder of the name disabled:

  • A package-less save at a member the holder never ships is accepted and stored. It is hidden from the by-name read and from both lists, and is served again after re-enable.
  • A delete removes the row.
  • A save at a shipped member is refused 403 NOT_OVERRIDABLE.

Seam: packages/metadata-protocol/src/protocol-save.ts (package-less save address), against the read face's withhold in protocol-meta-item-face.ts (PR #33995).

Acceptance

  1. The save follows the read: refuse it with the ?package= remedy, as metadata-protocol: a bare save of a name only a DISABLED package holds silently edits that package's row (200) while the bare read answers 404 — refuse with the ?package= remedy (ruled A) #34144's ruling A does for a name only disabled packages hold, or state why this cell differs. Pin it in both orders, with re-enable as CONTROL.
  2. Declare the FROM→TO. Accepted→refused is a narrowing.

Prior rulings read: ruling A on #34144 (maintainer 2026-11-15, 「拒绝保存并提示指定包」); ADR-0150 D3; PR #33995 (#33385), which pins today's answer. Overlap: #34144 (claimed by area S5, same door). Measure this cell in that fold first; if its fix covers the cell, close this card in the same PR.

Dedupe

I searched "disabled holder never-shipped member save" and "package-less save hidden"; the hits were #34144 (the same rule) and #33385.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

    Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 7. This card is a fold member of #34144: same door, same rule (ruling A). The #34144 dev measured that the fold's fix covers this cell.
    Session: session_01QsR2jUcj2x2Wr4UErwBi12
    Account: zhuangjianguo
    Branch: claude/area-E1b-34144
    Worktree: objectstack-e1b-34144
    Domain: domain:server
    Seat: domain:server#5
    File surface: as in #34144's claim 6905862690, plus the S3 pin in packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, added by PR #33995. That pin flips here once #33995 merges (area-approved surface extension).
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none
    Responsibility: objectstack platform code (metadata-protocol bare save) | none | a deployment whose every holder of a name is disabled and a writer saves it without ?package= at a member the holder never ships
    Thread-read: none
    Premise: measured by the #34144 dev on a booted kernel at 35cc663, on both transports and in both orders. FROM: 200 with a package-less row stored. TO: 409 RESOURCE_CONFLICT with the ?package= remedy, naming no package, and no row stored.
    Pre-claim lane: domain:server because the seam is packages/metadata-protocol/src/protocol-save.ts
    Pre-claim deps: PR #33995 (#33385/#33401) pins today's 200 and lands first. This branch merges main after it and flips that pin. Plus the open PRs named in #34144's claim. No Blocked-by.
    Prior rulings read: ruling A on #34144 (maintainer 2026-11-15, 「拒绝保存并提示指定包」); the seat's ruling filing this card separately (relayed, 2026-11-16); ADR-0150 D3. Own commit, own Fixes #34262 line.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 16, 2026
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
    os-dev-report

    {
     "issue": 34144,
     "folded": [
      33955,
      34262
     ],
     "status": "done",
     "branch": "claude/area-E1b-34144",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34324",
     "head": "6401aad2f3",
     "session": "session_01QsR2jUcj2x2Wr4UErwBi12",
     "premise_still_valid": true,
     "summary": "Both premises were re-measured on origin/main 35cc6638 before any edit, through both transports and in both registration orders. Disabled-only names: the bare save edited D's row or wrote a withheld package-unbound row (200), the draft save wrote an unbound draft, and the bare delete removed D's row. Two enabled shippers: the bare save wrote an unbound row (0 rows) or updated the one row (1 row); the draft save and delete matched. H1 holds. The save took its address from packagelessAddress (stored-row bindings) while the read counts holders through the registry resolver. Fix: one judgment, packagelessHolderRefusal in protocol-save.ts, asked after servedPackagelessSaveAddress and the two-bindings refusal by the publish save, the draft save and the bare delete (H2 aligned in this PR). With two or more enabled holders, registry.resolveItem(type, name, null, member) refuses ambiguous-in-environment, and the write is refused through the existing packagelessAddressAmbiguityRefusal naming them. With every holder disabled, disabledHoldersOnlyRefusal (409 RESOURCE_CONFLICT, ?package= remedy, names no package) applies. H3 holds: every moved cell goes accepted to refused, none the other way. The #33889 CONTROL is flipped and ablated. #34262 (bare save at a member the disabled holder never ships) is covered by the #34144 arm, with a pin, re-enable as CONTROL, and its own commit. PR #34324 waits on #33995. After that merges, this branch merges main and flips #33995's S3 save pin in packages/objectql/src/disabled-holder-packageless-row-doors.test.ts (seat-approved surface extension), keeping the delete half.",
     "tests": "meta-disabled-holder-served-stack.test.ts at 504dd1f809: Tests 128 passed (128). metadata-protocol test: Test Files 344 passed, 9 skipped; Tests 22946 passed. At 6401aad2f3 (main merged): runtime test 607/607 files, 11144 passed; rest test 413/413 files, 8491 passed. typecheck metadata-protocol and runtime: exit 0. Ablation A (disabled-only arm, marker ABLATION_34144_NEVER in 2 dist files): 20 failed and 108 passed, exactly the 5 ruling-A pins x 4 cases. Ablation B (enabled arm, ABLATION_33955_NEVER in 2 dist files): 16 failed and 112 passed, the 4 #33955 pins x 4; the 'row of each' CONTROL stayed green. Restored: git diff HEAD empty, and --absent passed for both markers.",
     "gates": "dispatch-gates --commands derived 70 families at 6401aad2f3. All 70 ran, each recorded as 'cmd :: exit N'. --ran: 70 derived, 70 run, 0 NOT-MEASURED (a DERIVED zero). check:dual-build-cjs-loads exited 3 (prereq, no dist) and then 0 after the full build check:type-check-debt makes under the lock. check:type-check-debt ran under the lock, exit 0. pnpm lint exit 0. Body gates (changeset-no-major, adr-0087-registration, closing-keyword-parity, partof-closing-keyword) exit 0. merge-tree vs #34147, #33995, claude/area-E1b-32780 and origin/main: exit 0 each. CI check-runs on #34324: in_progress at report time.",
     "dogfood_battery": "6401aad2f3 · VERDICT command-exit 0 · Test Files 470 passed, 3 skipped (473) · Tests 3985 passed, 42 skipped · no failures. Owed again on the final head after the #33995 merge and its pin flip.",
     "declaration_self_check": "PASS. Title carries '!'. Clause-②: no (narrowing) and Metadata-protocol: none are copied verbatim from both claims into the PR body and the changeset. The BREAKING banner is in the changeset and the PR body. The ADR-0087 marker not-required (no-migration-prescription) passes check-adr-0087-registration. Skills-docs: none, with the reason from a git grep of skills/. The dogfood battery ran at 6401aad2f3. dispatch-gates --tier: no path mandate; 'A card that only NARROWS one is Clause-②: no', which matches. Precedent difference: #33646 declared 'Clause-②: yes (narrowing)'. The current --tier text and AGENTS.md (no plus the narrowing arm) back 'no (narrowing)', so the claim's line stands. #33769 is a widening precedent and not comparable.",
     "deviations": [
      "Unpushed local commits during the first locked measurement: a WIP commit was amended into the #34144 commit before the first push. The branch is claude/area-*, so force-push is never allowed, and that is why the commits stay one per card. The pushed history has no rewrite.",
      "The order and claims name the #33889 CONTROL flip in meta-disabled-holder-served-stack.test.ts. All new pins went into that file's #32605 describe (shared-harness rule). The harness put() gained an optional query argument, and a mailAt/emailTemplates fixture was added for #34262."
     ],
     "open_questions": [
      {
       "question": "A package-unbound row of a name only disabled packages ship (measured: d_unbound_dash, D disabled): the bare read answers 404 but the bare save edits that row (200), so the edit is stored and stays hidden until re-enable, the #34262 shape at an existing row. Kept unchanged as the order's 'environment's own item' CONTROL.",
       "options": [
        "A: keep as is. Real need: the environment's own customization stays editable while its holder is disabled, and the ?package= remedy cannot reach a package-unbound row. Long-run: leaves one read/write asymmetry. AI-safety: an AI sees 200 and no visible change. Scope: zero.",
        "B: refuse the bare save there too, with a remedy of re-enable or delete (a new sentence, not ?package=). Real need: unmeasured, no named writer. Long-run: full symmetry with the read. AI-safety: loud. Scope: one more narrowing and new refusal prose."
       ],
       "recommendation": "A for now, and file B only if a real writer is measured. The ruling's remedy (?package=) does not reach this row, so refusing it needs its own ruling."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: #33995 (s5-33385) · that PR's S3 pin expects the bare save at a never-shipped member to succeed while disabled. The coordinator ruled #33995 lands first, then this branch flips that save pin. noted, not filed"
     ],
     "mcp_calls": "0",
     "api_writes": "1 relay pr_create (objectstack-ai/objectstack#34324) + 3 post-stamped comments (#34144, #33955, #34262); git push x3",
     "files_changed": [
      ".changeset/34144-bare-save-holder-judgment.md",
      "packages/metadata-protocol/src/protocol-diff-delete-load.ts",
      "packages/metadata-protocol/src/protocol-save.ts",
      "packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts"
     ],
     "line_budget": "+320/-12 across 4 files (dispatch-gates changed-lines 332, under the 3000 human-merge threshold)"
    }
  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft

    Release: session session_01QsR2jUcj2x2Wr4UErwBi12 (claim 6906672748, account zhuangjianguo, seat domain:server#5) · reason: cross-account takeover; the old seat signed off (brief #28677 comment 6912561028) · provenance: who = Leehom (maintainer); words = 「接手 前任。#28677 (comment) 的未完成任务」; where = this account's Claude Code project, seat thread 「运行 objectstack 仓库车道席位」 (repo:objectstack#1) · hand-over record: comment 6912060472 on PR #34324 (branch claude/area-E1b-34144, last pushed sha 7b1880f38169f4f3cddfa4764e23afde7b02e975; see the chain head #34144)

    Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34324 on the maintainer's order above. Fold member of #34144 (chain head), one PR
    Session: session_01FEkQ5obaLbqgzRUR9xXfft
    Account: os-project-manager
    Branch: claude/area-E1b-34144
    Worktree: objectstack-e1b-34144
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: unchanged from claim 6906672748 and its amendments; the PR's committed tree at 7b1880f381 is the surface
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none
    Responsibility: objectstack platform code (metadata-protocol bare save) | none | a deployment whose every holder of a name is disabled and a writer saves it without ?package= at a member the holder never ships
    Thread-read: 6908992136
    Premise: holds (carried from claim 6906672748; ruling A on #34144 unchanged)
    Serial constraints cleared: see the chain head #34144's claim
    Pre-claim lane: repo:objectstack#1 area o1-D; packages/metadata-protocol/src/protocol-save.ts (domain:server file ownership); listed under o1-D in seat post #34366's lease table.
    Pre-claim deps: PR #33995 merged; see the chain head #34144
    Prior rulings read: ruling A on #34144; ADR-0150 D3, as cited in claim 6906672748; re-read at takeover, no newer ruling on the card.
    Resume-from: claude/area-E1b-34144@7b1880f38169f4f3cddfa4764e23afde7b02e975

  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft

    Close-out · #34262 · area o1-D · 2026-11-16T18:07Z

  7. removed
    pm:dispatched
    on Nov 16, 2026
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

    bugdomain:serverpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions