You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
meta: an inherited object-property name used as a metadata type is not refused 400 like any other unknown type #35120
Filing gate: ① a product defect with a measured public reach (below). Filed by area o1-C on seat 1's routing (2026-11-18 05:16Z), from a finding of the contract review of PR #35059; no grade or state label, for triage.
Rule
A /meta type segment (and an MCP type argument) that is the name of an inherited object property is an unknown metadata type, and is refused 400 INVALID_REQUEST exactly as fieldz is. Today the spelling table is consulted in a way that treats such names as recognised spellings, so the refusal is skipped and the request fails later with the wrong status.
Reach (measured, origin/main 0e46840, real kernel on SqlDriver)
PUT /api/v1/meta/<inherited-name>/<name> as a user holding manage_metadata: 503, where an unknown type answers 400 INVALID_REQUEST. Nothing is written.
GET /api/v1/meta/<inherited-name> and /<inherited-name>/<name>: 503 / 500 (REST) or 404 (dispatcher) instead of 400.
No item, name or body is returned on any of these paths, and nothing is written or deleted; the defect is the refusal's status and error code only.
Control: fieldz answers 400 INVALID_REQUEST on the same doors.
Where
packages/spec/src/meta-spelling/metadata-url-spelling.ts (canonicalMetaUrlType, unrecognisedMetaTypeRefusal): own-key lookup is the expected fix; pluralToSingular in the same package already guards this way.
Why
AI clients probe types by name; a wrong 503/500 reads as an outage and invites retries, where 400 tells the caller to fix its argument. Every door that folds a type shares the helper, so one fix covers REST, the dispatcher and the MCP door.
Reader
The spec lane (packages/spec meta-spelling), one small PR with a pin per door kind.
Dedup: canonicalMetaUrlType (22 hits), unrecognisedMetaTypeRefusal (9 hits), inherited meta type, constructor meta type: none covers this (closest closed: #27514, #9744, other unknown-type answers).
First touch: p2 · domain:spec · pm:queue. Grading principle of 2026-11-18, item 3: the defect is the refusal's status and code only (503/500/404 instead of 400) for a type segment no ordinary request spells; nothing is read, written or deleted, as the card measures. The fix lives in packages/spec/src/meta-spelling/metadata-url-spelling.ts.
Same root, write side (2026-11-18T07:03Z): on the protocol over SqlDriver, saveMetaItem with an inherited object-property name as type (draft mode) throws SERVICE_UNAVAILABLE 503 ("The metadata store could not be read"), and deleteMetaItem with one throws TypeError: type.endsWith is not a function from the second canonicalisation. Nothing is written. Measured through PR #35103's door (unmerged); the fix in metadata-url-spelling.ts covers both. Source: os-dev report 6971531844 on #34766.
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch: p2 ·
domain:spec·pm:queue. Grading principle of 2026-11-18, item 3: the defect is the refusal's status and code only (503/500/404 instead of 400) for a type segment no ordinary request spells; nothing is read, written or deleted, as the card measures. The fix lives inpackages/spec/src/meta-spelling/metadata-url-spelling.ts.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
Same root, write side (2026-11-18T07:03Z): on the protocol over SqlDriver,
saveMetaItemwith an inherited object-property name astype(draft mode) throwsSERVICE_UNAVAILABLE 503("The metadata store could not be read"), anddeleteMetaItemwith one throwsTypeError: type.endsWith is not a functionfrom the second canonicalisation. Nothing is written. Measured through PR #35103's door (unmerged); the fix inmetadata-url-spelling.tscovers both. Source: os-dev report 6971531844 on #34766.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY
Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205
Grade: p3 (was p2) · area:build · Bug · impeded × rare · an inherited object-property name used as a metadata type is not refused