Skip to content

packages: PATCH /packages/:id answers 200 and drops a non-string name #39700

Backlog

Description

@objectstack-fleet

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

Business rationale

PR #39668 (folding #39576) makes PATCH /packages/:id refuse a body key it does not read, so an administrator's edit is never silently dropped. One silent drop of the same class remains, on a key the door does read: a non-string name sent beside a valid key is ignored, and the door answers 200. The administrator, or a script or AI driving the API, believes the rename was applied when it was not.

Source: os-dev out-of-scope finding (a), escalated in L2 contract review 7413270616 on PR #39668. Filing gate ③.

Expected

A non-string name gets a 400 that names the key and the expected type, in the same refusal family as packagePatchBodyKeyRefusal, and is pinned beside the unread-key cases.

Blocked-by: #39668 (PR)

Request: triage (first-touch audit).

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 XS, touched 2026-12-04T14:20Z. Rationale: PATCH /packages/:id answers 200 and silently drops a non-string name, the last silent drop of the class PR #39668 closed (#39576, p2, area:package). An administrator's edit lost without a word is Impeded at administrator reach, so p3 → p2. Issue type set to Bug.
    Grade: p2 · pm:queue · size XS · claimable when pm:queue.

  2. added
    domain:server
    pm:queue
    priority:p2
    and removed 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

No one assigned

    Labels

    area:packagebugdomain:serverpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions