镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat(agents): show an agent's attention read-only - #834

Merged
loganj merged 2 commits into
larry/attention-catchupfrom
larry/attention-readonly
Oct 15, 2026
Merged

loganj merged 2 commits into
larry/attention-catchupfrom
larry/attention-readonly

Conversation

@loganj

@loganj loganj commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🤖

Summary

  • The agent's Attention tab no longer lets the owner create or edit Interests, watches or timers. The agent now owns them and changes them with its attention tools (feat(buzz-mcp): give an agent tools to manage its own attention #807). To change what wakes the agent, the owner asks the agent.
  • The tab still shows everything the agent keeps: each Interest with its instructions, and each watch and timer with its state (on or paused, the next timer run, and whether a classifier can run on this device).
  • The owner keeps the Attention switch from feat(agents2): let an agent read and write its own attention #806. Off, nothing on the tab wakes the agent and it is not offered the tools.
  • The owner can still remove an object the app cannot read (for example, one written by a newer app). The agent cannot change these objects, so this is the only way to free that name. The agent's refusal message now tells it where its owner does this.

Details

  • The authoring forms, their validation and their tests are removed (about 860 lines). Read-only rendering and the remove action for unreadable objects remain.
  • Codex agents have no attention tools yet, so their attention can be seen but not changed until a follow-up gives Codex the tools. loganj chose this; Bad Janet owns the follow-up.
  • The tab follows the agents service's classifier availability from feat(agents): check event watches with the optional Jev classifier #972, which reports whether a TypeSafe key is saved. Without one, the tab says that a watch's classifier cannot run, so every match passes.

Screenshots

Taken at e0fd3a150 from a test page that renders the real panel on the app's Panel surface: empty; populated with a Jev key saved; populated without a key; switch off; populated at narrow width.

No Interests yet Interests, watches and a timer, Jev key saved Populated without a Jev key: the classifier cannot run Attention switch off Populated, narrow width

Stack

main → #972 (Jev classifier) → #955 → #957 → this → #1100 (Interest lanes). #806, #807, #809, #951 and #953 have merged.

@loganj
loganj force-pushed the larry/attention-readonly branch 2 times, most recently from fa5b6a4 to df667af Compare October 10, 2026 00:08
@loganj
loganj force-pushed the larry/attention-readonly branch from df667af to 10e9f87 Compare October 13, 2026 15:07
@loganj
loganj changed the base branch from larry/attention-turns to larry/attention-catchup October 13, 2026 15:07
@loganj loganj changed the title feat(agents2): show an agent's attention read-only feat(agents): show an agent's attention read-only Oct 13, 2026
@loganj
loganj force-pushed the larry/attention-readonly branch from 10e9f87 to d1acf75 Compare October 13, 2026 15:32
@loganj
loganj added this pull request to stack #968 October 13, 2026 16:21
@loganj
loganj force-pushed the larry/attention-readonly branch from d1acf75 to d1eb514 Compare October 13, 2026 17:01
@loganj
loganj removed this pull request from stack #968 October 13, 2026 17:01
@loganj
loganj added this pull request to stack #973 October 13, 2026 17:03
@loganj
loganj force-pushed the larry/attention-readonly branch from d1eb514 to e0fd3a1 Compare October 13, 2026 17:26
@loganj
loganj force-pushed the larry/attention-readonly branch from e0fd3a1 to 278d4c8 Compare October 13, 2026 19:28
@loganj
loganj marked this pull request as ready for review October 13, 2026 20:00
@loganj
loganj requested a review from a team as a code owner October 13, 2026 20:00
wesbillman

This comment was marked as resolved.

wesbillman

This comment was marked as resolved.

wesbillman

This comment was marked as resolved.

@loganj
loganj force-pushed the larry/attention-readonly branch from 70590c7 to 104ea89 Compare October 13, 2026 21:21
@loganj
loganj force-pushed the larry/attention-readonly branch from 104ea89 to b0dd919 Compare October 14, 2026 13:12
@loganj
loganj force-pushed the larry/attention-readonly branch from b0dd919 to 482c887 Compare October 14, 2026 14:11
@loganj
loganj force-pushed the larry/attention-readonly branch from 482c887 to a3f0c2c Compare October 14, 2026 17:30
@loganj
loganj force-pushed the larry/attention-readonly branch from a3f0c2c to 67bf906 Compare October 14, 2026 18:33
@loganj
loganj force-pushed the larry/attention-readonly branch from 67bf906 to cbd0b47 Compare October 14, 2026 20:09
@loganj
loganj force-pushed the larry/attention-readonly branch from cbd0b47 to 66fc8b2 Compare October 14, 2026 20:22
@loganj
loganj force-pushed the larry/attention-readonly branch 2 times, most recently from 41fd732 to c67790b Compare October 15, 2026 12:16
@loganj
loganj force-pushed the larry/attention-readonly branch 2 times, most recently from 7e3f756 to b2d8db8 Compare October 15, 2026 17:14
@loganj
loganj force-pushed the larry/attention-readonly branch 2 times, most recently from 83d75b8 to d23e076 Compare October 15, 2026 18:30
loganj and others added 2 commits October 15, 2026 14:55
The Attention tab no longer creates or edits Interests, watches or
timers. The agent manages them with its attention tools. The owner keeps
the Attention switch, sees each watch's status and whether its
classifier can run, and can remove an object this app cannot read.

Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <loganj@squareup.com>
…anges

The profile panel rerenders only when its agent changes, so saving or
removing the Jev key left an open Attention tab with a stale classifier
warning. The section now follows classifier availability itself.

Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <loganj@squareup.com>
@loganj
loganj force-pushed the larry/attention-readonly branch from d23e076 to 1781ffc Compare October 15, 2026 18:58
@loganj
loganj merged commit 61bf4ed into main Oct 15, 2026
34 of 45 checks passed
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.

4 participants