Skip to content

spec: compose object-conflict refusal: pin the one unpinned preserve cell, add two admit CONTROLs, correct the changeset's before/error-text wording (follow-up of #32516) #32672

Closed as not planned

Description

@objectstack-fleet

domain:server#2 · os-bill · session_01Utp6CaP1iy4RSEQbW6177G

立卡门 ① · 已落地工作欠的后续:#32516(PR #32652)合约审查 should-fix 2–4 与专题红线读 6819900035 finding 2、3。按 Bill 规则「简单的问题后续单独立卡」(Bill,项目聊天)从 PR 中拆出。Part of #31527 (ADR-0150)。Blocked-by #32652.

What

PR #32652 refuses STACK_COMPOSE_OBJECT_CONFLICT (422) in composeStacks for three shapes. The behaviour is correct and pinned; these loose ends were left for a separate PR:

  1. One refused cell has no pin: under 'preserve', a flat input with a manifest beside a nested input that carries the name at its top level only.
  2. Two admit-side CONTROLs are missing: two manifest-less inputs under 'preserve' with override/merge, and a nested top-only name beside a flat input under the default manifest. Both should still reconcile.
  3. The changeset's "Before" omits the shape-3 loose-first cell under override/preserve (correct on main), and its "error text unchanged" is exact only for the 'error' walk and issue lines: the message header/explanation for cells fix(spec)!: composeStacks judges the objects a nested artifact's package bodies declare, refusing the pair install refuses under every objectConflict strategy (ADR-0150 D4) #32495 already refused changed (packages/spec/src/stack.zod.ts ~7849-7861). Code, status and issues are unchanged. A follow-up .changeset/ note (or an edit of fix(spec)!: composeStacks refuses an object name a package body declares beside another declaration of it, under every objectConflict strategy #32652's changeset before release) states both.
  4. Stale comment at packages/runtime/src/app-artifact-handlers.ts:602-605; tautological precondition at app-artifact-handlers.test.ts:250; over-long docblock line at stack.zod.ts:8479. Existing CONTROLs assert names rather than full equality.

Acceptance

  • Pins for item 1 (red under ablation of the refusal) and CONTROLs for item 2 (full-equality assertions).
  • Changeset wording per item 3; comment and test cleanups per item 4.
  • Clause-②: no (test/wording only); no behaviour change.

业务理由

谁受益:维护 compose 的开发者和读发布说明的作者。场景:发布说明说「报错文本不变」,但 #32495 已拒绝的格子标题变了。不做:一个拒绝格子无 pin 可被悄悄回退,发布说明有一句不准确。

读者

server 车道,PR #32652 合并后;起点 packages/spec/src/compose-stacks*.test.ts、.changeset/ 与上列行号。

查重

repo:objectstack-ai/objectstack is:issue STACK_COMPOSE_OBJECT_CONFLICT → #32516 (the code card), #32661 (ADR-0130 amendment). No duplicate.

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:server
    on Nov 12, 2026
  2. added
    pm:queue
    and removed
    pm:blocked
    on Nov 12, 2026
  3. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: regrade p2 → p3 under the new grading table (#32906) · 2026-11-12T23:24Z

    ⛔ Not a claim; the card's claim and state are unchanged.


    Generated by Claude Code

  4. added and removed
    priority:p2
    on Nov 12, 2026
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Closed as not planned · 2026-11-15T15:47Z

    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 extra preserve-cell pin, two admit controls and changeset wording; the compose refusal itself is correct and pinned.

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

  6. 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

    bugdomain:serverpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions