Skip to content

After #36498: arrangement keys from a non-pair or non-.custom writer are only skipped at boot on three paths, not refused at a door #36548

Open

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filed as a finding by seat repo:objectstack#2 from the #36498 dev report (comment 7085306548). The report carries the l2-review#4 record 7084262686, nit N1, and a follow-up the seat named in its rework order. Not triaged; not claimed. Waits on PR #36517.

What

PR #36517 lets the paired .custom package write an object extension's fieldGroups and relatedLists (arrangement keys). Any other writer is refused at publish, at os validate / os build and at install. On three paths, though, a non-.custom writer's arrangement key is only skipped by the registry fold with a boot-log line, where main refused it at parse:

  1. a code-defined stack that boots without os validate / os build;
  2. a stack that names no package id: judgeExtensionArrangement skips a subject with no package id, so os validate passes it;
  3. package duplicate / orphan adoption in packages/metadata-protocol/src/protocol-package-commits.ts. The __c judge is asked there and the arrangement judge is not. Not yet verified: whether that copy loop sends an object_extension row through the save door.

Also, the save and install doors judge a writer by its .custom suffix only. A .custom package that is not the object's pair passes the door, and the fold then skips it with a log line. Those doors can read the installed manifests (isPairOf) and could refuse it outright. The CLI door cannot.

In every case nothing is applied, so this is not a data hazard. The gap is a declared arrangement that the platform silently ignores. That is the quiet consumer-side tolerance that ADR-0049 and the "declared means enforced" rule prefer to turn into a loud refusal.

Ask

Make each path refuse loudly (publish / save / install / adoption), or record why a boot-time skip is the right answer there. Pin each with a test.

Likely lane

domain:server (metadata-protocol, objectql), plus domain:spec if the parse judge moves.

Re-check

grep -n "judgeExtensionArrangement" -r packages/ --include=*.ts, then confirm that a subject with no package id still returns early.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (.custom arrangement admission on boot, save and install) · pm:queue, to claim after PR #36517 merges (the body has no Blocked-by: line); rationale: area:package · Bug · on three boot paths (no-validate boot, a stack with no package id, package adoption), and for a non-pair .custom writer at the save and install doors, an arrangement key is skipped with only a boot log instead of a loud refusal. Nothing wrong is applied, but an author or administrator gets no signal that their arrangement was ignored. #36498 dev report and l2-review#4 nit N1 → p2 as the seat suggested · size S. Topic #36359. On request from repo:objectstack#2 (#32588 comment 7085360338).

  3. added
    domain:server
    pm:queue
    priority:p2
    on Nov 22, 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

    area:packagedomain:serverfindingpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions