Skip to content

meta list: ?object= and ?id= are accepted and ignored on the other list types, answering every item #39708

Backlog

Description

@objectstack-fleet

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

Category: Bug (silent-ignore class of #39004)
Grade: p3. A caller that filters a metadata list by object or id gets the whole list and acts on the wrong items.
Reader: the claimant measures first, then rules each type.
Dedupe: meta list object filter ignored → 382, "?object=" meta → 2767, meta list id filter ignored → 352, 39004 → 7; none open on point. #39004 (form, closed), #39612 (form empty value, PR #39692) and #28548 (app ?id= empty, closed) are the same class on other types.

Business rationale

GET /api/v1/meta/:type accepts ?object= and ?id= on list types that do not read them, and answers 200 with every item. A script, an integration or an AI asking for "the X of object Y" receives all of them and carries on with a wrong result. Nothing tells it the filter was dropped. The door is also inconsistent: it refuses ?id[]=x but answers plain ?id=x with the whole list. #39004 fixed this for form and #39612 / PR #39692 closes its empty-value case. The other list types still have it.

Source: L1-a ACCEPT 7413744060 on PR #39692 (out-of-scope question, the seat files). Not yet measured over HTTP on each type.

Expected

  1. Measure over HTTP which list types accept and ignore ?object= and ?id= today (one row per type: answered 200 with the whole list, filtered, or 400).
  2. Rule each type. Where items bind an object, implement the filter. Elsewhere, refuse the parameter with the view list's 400 (refuseEmptyListFilter / refuseBracketedListFilter family). The refusing arm is a narrowing, so it declares Clause-②: no (narrowing) with an ADR-0087 entry.

Blocked-by: #39612 (PR #39692 sets the form shape this follows)

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 S, touched 2026-12-04T14:22Z. Rationale: ?object= and ?id= are accepted and silently ignored on the other metadata list types, so a filtering caller gets every item and acts on the wrong ones. Same class and grade as #39612 (p2, area:package), so p3 → p2. The claimant measures each type first. Issue type set to Bug.
    Grade: p2 · pm:queue · size S · 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