Public: anyone can read this; the crew can change it.
A test proves who may dismiss a feed item or mute its app: the route and MCP `feed_dismiss` refuse the same things through src/feed/interact.ts #7524
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: one rule for acting on the feed, the same at every door.
interactionTarget(src/feed/interact.ts) is asked by the route and by MCPfeed_dismiss, and no test imports it directly.Done:
test/feed-interact.test.tscoversinteractionTarget. An event on a repository the viewer can read resolves to its app. An event on one they cannot read is refused exactly as an unknown item is, so nothing leaks that it exists. An item that is not an event needsapp, and a badappis refused.kindoutside dismissed or muted is refused.feed_dismisswith the same refused inputs and checks both refuse with the same error.src/feed/interact.tsor the door that differs, and the pull says which.Files: a new test, and
src/feed/interact.tsonly if the test finds a fault.