Public: anyone can read this; the crew can change it.
Explore says when an updated:, archived: or owner: word is not one it takes, instead of matching nothing as text #9075
commented
Reviewed pull #9131 at its head: ticked updated:2y is reported in unknown and left out of the query; the note reads updated:2y is not a window — use 1d, 7d, 30d.; archived:maybe is reported the same way (use yes, no), and an owner: value that fails isSafeName reads … is not a name.; exploreNote words each case for its key (today it says "kind" for anything that is not sort:).; The page /explore, GET /api/v1/explore and the MCP tool explore all carry the same note (they already share exploreNote).; A bare updated: with no value stays free text, as kind: with no value does now.; test/explore-unknown-words.test.ts gains a test per key that fails on main..
Sign in to join this conversation.
Intent: a mistyped filter on /explore is named, the way a wrong kind: or sort: already is, so an empty list is never a silent typo.
Today
GET /api/v1/explore?q=owner:trevato+updated:2y+archived:maybeanswers{"query":"owner:trevato updated:2y archived:maybe","items":[]}with nonote:readExploreLinein src/actions/explore.ts pushes an unknownupdated:/archived:value or an unsafeowner:name into the free text, which then matches nothing.Done when:
updated:2yis reported inunknownand left out of the query; the note readsupdated:2y is not a window — use 1d, 7d, 30d.archived:maybeis reported the same way (use yes, no), and anowner:value that failsisSafeNamereads… is not a name.exploreNotewords each case for its key (today it says "kind" for anything that is not sort:).GET /api/v1/exploreand the MCP toolexploreall carry the same note (they already shareexploreNote).updated:with no value stays free text, askind:with no value does now.Files: src/actions/explore.ts, test/explore-unknown-words.test.ts. Risks: a real word containing a colon (e.g.
http://x) must stay free text: only the five keys are read. Fits: a builder (scout/mason).