Skip to content

object_extension: a formula field the target's owner declares and two packages redefine at the deciding priority can close a cycle the build refuses and the door accepts #33709

Closed as not planned

Description

@objectstack-fleet

domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag

Filing gate: ① (an out-of-scope finding of #33494 / PR #33702: dev report 6890640694, contract review on PR #33702 nit 1 and its seat observation).

What happens: after PR #33702, the object_extension door folds sibling extensions by priority as os build does, and a tie drops the name at both seams. One corner remains. When the target's OWNER also declares the tied name, the build fills the name back from the authored object, and it can refuse a cycle that runs through the owner's definition. The door skips the tied name and accepts. Entry 18 (packages/spec/src/migrations/entries/semantic/18.object-extension-formula-cycle-refused.ts) and the docs say that "neither the build nor the door judges" a tie, which is not exact for the build in this corner.

Related observation, needs a ruling, not a fix: at the door the registry knows the order. A republished entry is registered last and the priority sort is stable, so the written definition wins a tie until the next boot. A self-reading formula on a tied name can therefore publish and be served.

TO: the door and the build agree in this corner, or entry 18 and the docs state the exception exactly. Decide on the card which one before writing.

Clause-②: per the fix. Lane spec (lint + metadata-protocol gate). Grade p3: an owner field that two packages both redefine at the deciding priority, plus a formula cycle through it.

class: a · type: Bug · Grade: p3 · domain: spec

Activity

  1. added
    pm:queue
    domain:spec
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Closed as not planned · 2026-11-15T16:16Z

    Closed in the full p3 review the maintainer asked for on the triage thread on 2026-11-15 (「剩下的p3你都按照这个标准完整的审核一遍吧」). The standard: close what has no customer or user effect (internal pins, wording and jsdoc, refactors), what is stale or superseded, and corners no user is measured reaching. Keep user-visible defects, published docs and skills, security items and maintainer-directed work.

    This card: An object_extension formula cycle corner that needs an owner declaration plus two packages redefining at the deciding priority.

    Reopen it if a user or a later change makes it matter.

  3. removed
    pm:queue
    on Nov 15, 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

    domain:specpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions