Skip to content

feat(attention): open comment-author settings from GitHub watches - #1827

Open
johnmatthewtennant wants to merge 1 commit into
jtennant/poppy/github-author-allowlistfrom
jtennant/poppy/attention-source-presentation
Open

johnmatthewtennant wants to merge 1 commit into
jtennant/poppy/github-author-allowlistfrom
jtennant/poppy/attention-source-presentation

Conversation

@johnmatthewtennant

@johnmatthewtennant johnmatthewtennant commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

GitHub comment author rules decide whose pull request feedback wakes agents, but a GitHub watch in an agent's Watching tab gave no way to find them. The tab also hardcoded the GitHub provider, parsing the PR URL and building its icon and link itself, so the GitHub plugin could not change how its own watches look.

What

  • An Attention source can now present its watches. Given a watch and its display name, it returns a kind and, optionally, an icon, a target with a subtitle, an external link and a details component.
  • agents.presentWatch finds the watch's provider and calls present. If the provider has no present, or it throws, the tab falls back to the watch's name, so one plugin's mistake can't break it.
  • The tab has no GitHub code left. The built-in Command source keeps its own handling.
  • The GitHub plugin presents PR watches as before. Their details now show "Choose who can wake agents", which opens the GitHub comment authors settings.

Validation

  • agent-attention.spec.mjs, in Chromium and WebKit, renders the GitHub plugin's real presentation in the Watching tab, expands a PR watch and clicks "Choose who can wake agents", which navigates to the buzz.github/authors settings.

Not tested: a watch created by a real agent through github_watch_pr. The spec renders a modeled watch with the real GitHub presentation.

Screenshots

An expanded GitHub PR watch with the link to author settings

GitHub PR watch details

@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from e08b1bd to ea767dd Compare October 28, 2026 18:36
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch 2 times, most recently from 2649215 to 13fe4ff Compare October 28, 2026 20:29
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from ea767dd to 97aebcb Compare October 28, 2026 20:29
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 13fe4ff to a6c7d54 Compare October 28, 2026 20:32
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 97aebcb to ccf05dc Compare October 28, 2026 20:32
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from a6c7d54 to 6e15c86 Compare October 29, 2026 00:32
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from ccf05dc to e33cedc Compare October 29, 2026 00:32
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 6e15c86 to 61ebd33 Compare October 29, 2026 01:43
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from e33cedc to c13637f Compare October 29, 2026 01:44
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 61ebd33 to ee70d24 Compare October 29, 2026 02:57
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from c13637f to 966e0e2 Compare October 29, 2026 02:57
@johnmatthewtennant johnmatthewtennant changed the title feat(attention): let sources present their own watches feat(attention): open comment-author settings from GitHub watches Oct 29, 2026
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 966e0e2 to 012a264 Compare October 29, 2026 03:05
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 310dece to 32fd8a8 Compare October 29, 2026 05:57
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 012a264 to 8f803e8 Compare October 29, 2026 05:57
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 32fd8a8 to e0b866d Compare October 29, 2026 10:51
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 8f803e8 to 2cb0c66 Compare October 29, 2026 10:51
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from e0b866d to 44bcbb2 Compare October 29, 2026 10:54
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 2cb0c66 to 61c071d Compare October 29, 2026 10:54
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 44bcbb2 to 2c7383e Compare October 29, 2026 11:23
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch 5 times, most recently from 427df9c to 09c9e84 Compare October 29, 2026 17:27
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/github-author-allowlist branch from 34f4f97 to 88d72e4 Compare October 29, 2026 18:27
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 09c9e84 to 4be4839 Compare October 29, 2026 19:09
Agent Attention hardcoded how GitHub pull request watches look: their
kind, icon, repo#number target, Open on GitHub link and details. An
Attention source can now present its watches with `present`, and the
page asks the watch's provider through `agents.presentWatch`, falling
back to the watch's name when the provider has none or it throws.

The GitHub plugin now owns its presentation, and a PR watch's details
link to its comment author settings with "Choose who can wake agents".

Co-authored-by: Poppy <ace4dfe51b23bb4244ab9117dfd5e13b8239445e333225608c352e68cb3fe2b5@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: John Tennant <jtennant@block.xyz>
@johnmatthewtennant
johnmatthewtennant marked this pull request as ready for review October 29, 2026 19:24
@johnmatthewtennant
johnmatthewtennant requested a review from a team as a code owner October 29, 2026 19:24
@johnmatthewtennant
johnmatthewtennant force-pushed the jtennant/poppy/attention-source-presentation branch from 4be4839 to d91520d Compare October 29, 2026 19:26
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