Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions docs/agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,48 @@ model can read what they return. Protection reviews these calls and their
results as it does other Buzz tools. See
[configuration](configuration.md#owner-mcp-community-flag).

## Bestie Inbox access

The optional run-only `AgentHandle.inbox(context)` delegates the owner's bounded
notification projection to the account's current local Bestie. Inbox starts off
until the owner enables it; choosing or reselecting a Bestie preserves its saved
Inbox preference. A former Bestie's switch is a retained preference, not active
access. Settings and authorization share the marked-section policy in
`bestie-features.ts`: incomplete or damaged markers deny access; edits inside
complete sections remain enabled. This is not separate per-use consent.

The tool passes the runtime's conversation context separately from model
arguments. Before reading notifications and again before release, the service
freshly reads exact relay-authored metadata and membership with strong consistency.
Only an explicitly private DM or private Solo chat containing exactly the owner
and Bestie qualifies. Missing context, ordinary channels, public/group contexts,
and unavailable or ambiguous evidence deny access. A newer observed membership or
privacy change beats an older allowed response. Each phase also strongly reads
the account choice, then rechecks the saved feature and current owner session.
Outside-run plugin handles and standalone command connections have no Inbox
capability. These checks are bounded evidence, not an atomic relay transaction.

The service requires a ready, complete channel discovery snapshot before loading
notifications and checks it again before release. While discovery is pending,
failed or partial, a call starts or retries the existing discovery read and returns
a retryable error without reading notifications. Items require observed, ready
unread evidence and a ready Inbox feed with no unresolved edit/deletion targets.
Stale, failed, loading or retired evidence returns a retryable error, never a
successful partial/empty list. Loading, failed or stale remote read-marker sync
also withholds results, even when a local unread action has changed the publication
status. The next call retries outstanding remote marker observation and
notification read errors through the existing owners. Valid local-only and pending
publication states remain usable; remote reconciliation is not required on every
host. The captured runner lifetime is checked after the read, so retirement or
retype cannot release a late result. The MCP client also checks a supplied
cancellation signal before and after the read; ordinary Interrupt does not supply
a per-turn fence in every harness.

Inbox grants no channel membership, history access or posting rights. Read-context
eligibility is enforced; non-disclosure elsewhere and not copying Inbox content to
memory remain prompt rules, not output confinement. Already returned tool data can
remain in harness history. No posting preview/approval workflow is added.

## External app authorization

The build flag `BUZZ_EXTERNAL_MCP_COMMUNITIES` lists the allowed community
Expand Down
25 changes: 24 additions & 1 deletion docs/buzz-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,30 @@ available rather than silently discarding it.
Bestie choice unchanged; it does not delete a newly created agent. A hosted
Bestie whose provider holds its instructions (Builderlab does) shows a
**Bestie** tab where **Remembers you** edits them through the provider;
check-ins stay unavailable for hosted agents.
check-ins and Inbox access stay unavailable for hosted agents.
- In your agent's **Bestie** tab, **Behavior** groups **Remembers you** and
**Checks in**. Check-ins need memory on and run once an hour while Buzz is open
and the Watching plugin is on. Each wake uses tokens.
- In that tab, **What your Bestie can read** separates Inbox
access from private-channel membership. **Inbox** lets a local Bestie
help triage notifications, including those from private channels and DMs. It
does not join those conversations, grant their history, or allow replies there.
It starts off until you turn it on. Choosing a Bestie again preserves its
saved Inbox preference. A former Bestie's Inbox switch saves that preference,
but access stays inactive until it is your current Bestie. Reads are allowed
only in an explicitly private DM or Solo chat containing just you and Bestie.
Private-channel rows let you remove Bestie,
add it to one channel, or add it to all your currently eligible private
channels—not future ones. Added here, it joins as a guest and cannot post;
existing participants keep their roles. A channel owner or admin can change
its access to **Participating** to let it post. This panel does not add it to DMs.
Changing Inbox access does not change membership,
and removing channel membership does not turn off Inbox access.
If Inbox cannot finish checking notification updates or read markers, the tool
asks you to retry instead of returning an empty, partial or stale Inbox.
Inbox access does not add message approval before Bestie posts. Private read access is enforced;
its instructions also say to keep Inbox content private to you. That is not a
technical guarantee against later disclosure or retention in session history.
- **Settings → Agent setup → Harness defaults** is where supported agent types
offer installation, sign-in, and default-model controls. Available controls
depend on the type. Do not assume a provider is configured or signed in.
Expand Down
5 changes: 5 additions & 0 deletions docs/unread.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ timeline and the thread being read, without reading unopened threads' replies.
- `markUnreadLocal(target)` is durable **on this browser profile/device only**.
Automatic reading does not clear it. An explicit mark-through clears that
target's local mark. `syncedManualUnread` is `false`.
- `sync().observationOwed` reports missing remote marker observation independently
of publication status and the last enumeration's completeness. Local intent and
publication progress do not clear it. A successful marker refresh does;
continuous replay can clear only the gap it interrupted, not an earlier failure.
Local-only hosts have no remote observation debt.
- `refresh()` retries evidence/marker observation; `retrySync()` refreshes markers
and retries pending publication. `ReadMutationResult.durability === "saved"`
means the local transaction committed, not that the relay accepted it.
Expand Down
Loading
Loading