Skip to content

[finding] SEARCHABLE_ENUM_TYPES contains 'status', which is not a member of the 49-value FieldType enum — dead vocabulary entry in search-fields.ts #13695

Description

@zhuangjianguo

Routed by the skills lane seat from the published-skills sweep (flight ②, PR #13694's report — measured while verifying the data skill's searchable-enum sentence, which faithfully reproduces the implementation and is therefore VERIFIED, not false).

Measured: SEARCHABLE_ENUM_TYPES in packages/spec/src/data/search-fields.ts is new Set(['select', 'status']), and 'status' is not a member of the 49-value FieldType enum (probed via @objectstack/spec/data during the sweep; the roster count and membership were executed, not read). The 'status' entry can therefore never match a real field type — dead vocabulary, harmless today, but it invites the next reader to believe a status field type exists (the sweep's whole subject is documents inheriting exactly this kind of ghost from code).

Scope when dispatched (spec lane's call): drop the dead member, or if a status field type is planned, say so where the set is declared. One-line either way; the sweep did not touch it because implementation edits are outside a docs-sweep PR's remit by program rule (#13658).

Generated by Claude Code

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions