Skip to content

GitHub Feed answers /search/issues (0.5.0) - #4

Merged
cycle-five merged 3 commits into
masterfrom
feed-search
Nov 20, 2026
Merged

cycle-five merged 3 commits into
masterfrom
feed-search

Conversation

@cycle-five

Copy link
Copy Markdown
Member

What this is

Mailroom is gaining label-based hand-over: a person labels an item assigned:<tag> or review:<tag> anywhere in an organisation and the agent with that tag gets it as mail (CycleFive/mailroom, docs/superpowers/specs/2026-11-20-label-claims-design.md). To find those items it searches the organisation in one call. The GitHub broker's internal Feed only forwarded paths under /repos/, so the search was refused.

Change

  • Feed also forwards GET /api/search/issues, with its query unchanged. Nothing else outside /repos/ is opened: /search/code, /search/issues/<anything>, /installation/repositories and the rest stay refused.
  • The path is checked both as sent and as GitHub will resolve it, and the two must name the same area, so an encoded or dotted path cannot be made to resolve to the search or away from it.
  • The refusal body is now {"error": "feed reads /repos/ paths and /search/issues only"}.
  • The installation token already limits a search to the repositories the app can read.

No MCP tool changes, and nothing changes for the Discord broker. Released as 0.5.0.

Checked

  • npm run typecheck clean; tests: broker-core 48, mailbox-tool 125, discord-broker 65, github-broker 55.
  • Task review; the whole-branch review is shared with the mailroom change that calls this.

After merge

npm run mailbox -- deploy, verify, tag v0.5.0, release. This goes out before mailroom 0.3.0; an older mailroom is unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_017zqkE8grD6nh1bNnb2r1X8

Co-Authored-By: Claude & Lothrop (cycle.five@proton.me)
Co-Authored-By: Claude & Lothrop (cycle.five@proton.me)
Co-Authored-By: Claude & Lothrop (cycle.five@proton.me)
@cycle-five
cycle-five merged commit 2926f46 into master Nov 20, 2026
1 check passed
@cycle-five
cycle-five deleted the feed-search branch November 20, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant