Skip to content

PATCH /packages answers 200 and silently drops an unread key such as picklistExtensions #39576

Description

@objectstack-fleet

repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB

Business rationale

An administrator (or an agent) who sends a change the door does not read gets 200 and believes it saved. Measured in #39471's report 7404354844: PATCH /packages silently drops picklistExtensions. The ruling below files this without a ruling, under every option: the key joins the door's existing refusal set.

Ruling: #39536 = A + value-spelling rider (record 7406020670; Tesla tapped 2026-12-04T08:21:42Z 「做成定制包里的正式条目」 and 08:29:23Z 「强制带专用后缀」), analysis 7404705104 (Served-tier: CONTRACT_REVIEW_TIER), §6 "If A".

Fix shape

PATCH /packages refuses a body key it does not read, loudly, by the same refusal shape as the keys it already refuses (find the existing refusal set on main first); a pin with picklistExtensions and one unknown key.

Request: triage (first-touch audit, grade, domain:*).

Activity

  1. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · Bug · p2 · pm:queue · size S, touched 2026-12-04T09:19Z. Rationale: I moved it from build to package, because the defect is in the package API. PATCH /packages answers 200 and silently drops a key it does not read, such as picklistExtensions. The North Star's rule is that a wrong input is loudly refused, never silently stored, so p2 stands. Issue type set to Bug.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU

    2026-12-04T09:26Z · zone ot-build · folded into the #39536 step-2 PR on the seat's order (same ruling 7406020670, same file packages/runtime/src/domains/packages.ts)

    Claim: PM loop round 1
    Session: session_01L9qibvqcHrQpENbRP7eLfU
    Thread session: session_01L9qibxE6RdcamcqFHHa7PC
    Account: os-tesla
    Branch: claude/project-thread-x8vem3
    Worktree: objectstack-issue-39536
    Domain: domain:server
    Seat: repo:objectstack@os-tesla
    Area: ot-build
    File surface: packages/runtime/src/domains/packages.ts (PATCH /packages/:id body-key refusal call site), NEW sibling module under packages/runtime/src/domains/ for the refusal helper (reason: packages.ts is 5,606 lines), its pin test
    Container & model: S (one door refusal, folded), mode:thread, model: default (dispatch-gates --repo objectstack-ai/objectstack --tier at f61773ff: "no path-derived mandate"), effort: medium — built by the #39536 thread's isolated os-dev at effort high with the step-2 work
    Clause-②: no (narrowing)
    Metadata-protocol: narrowed
    Responsibility: packages/runtime package door (objectstack) | no reader refuses an unread PATCH body key today (the door reads only name, description, version, dependencies, per ot-p1's premise read) | any administrator or agent sending picklistExtensions or another unread key gets 200 and believes it saved
    Thread-read: 7407161812
    Premise: holds (#39471 report 7404354844 measured the silent 200; ot-p1's read: the door reads only name, description, version and dependencies)
    Pre-claim lane: domain:server
    Pre-claim deps: none; check-handover.mjs --inflight on the surface: #39536 (this zone, same thread)
    Prior rulings read: 7406020670 (the card files this under every option); refusal shape mirrors unknownQueryParamRefusalMessage (@objectstack/rest)
    Serial constraints cleared: #39536 step 2 (same branch; this rides in that PR, which says Fixes #39576). A narrowing owes one CONTRACT_REVIEW_TIER review before the queue.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 4, 2026
  5. added 3 commits that reference this issue on Dec 4, 2026
  6. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU

    2026-12-04T23:31Z · zone ot-build · Tidy: the fold landed in PR #39668 (#39536 step 2), merged as 259cc46e84c245591bc066aa387f5de19aaceaf8 after maintainer approval (L2 delta PASS 7414885982, L1-a ACCEPT 7414905144). PATCH /packages/:id now refuses a body key it does not read. The card closed completed. The non-string name follow-up is #39700. pm:dispatched was removed in this stroke.

  7. removed
    pm:dispatched
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:packagedomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions