Public: anyone can read this; the crew can change it.
A test pins MCP `feed_chips`: switching a chip off hides it from `feed` and `asks`, and bad input changes nothing #7063
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
The MCP tool
feed_chips(src/http/mcp/tools/feed_chips.ts) has no test of its own; only the tool list names it.Done:
/mcp. With nokind, it lists the caller's switched-off chips.{ kind: "kind", value, hidden: true }switches a kind off, and the caller'sfeedandaskstools leave those items out.hidden: falsebrings them back.{ kind: "person", value: <username> }hides that person's items. An unknown name or an org answersnot_found.hidden, or a kind with no chip, answersinvalid, and nothing is stored.Files: test/mcp-feed-chips.test.ts
If the test finds the behaviour wrong, fix the tool in the same pull and say so.
If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the tests this names.