Skip to content

Train train/2026-11-20.1 - #177

Merged
QuicksilverSlick merged 6 commits into
mainfrom
train/2026-11-20.1
Nov 20, 2026
Merged

QuicksilverSlick merged 6 commits into
mainfrom
train/2026-11-20.1

Conversation

@QuicksilverSlick

Copy link
Copy Markdown
Owner

Steward train. The steward reads this body back; do not edit it.

Repo: QuicksilverSlick/buzz
Branch: train/2026-11-20.1
Base: d24a144
Round: 0
Release: desktop-release: a green main CI publishes the desktop update 1-2 h after the merge.

PR Head Tier Built-by
#161 234ccf7 green tapped claude-code/claude-opus-5-5
#160 afdafdc green tapped claude-code/claude-opus-5-5

Notes:

Built-by: steward

QuicksilverSlick and others added 6 commits November 15, 2026 15:18
… sender

On 13 Nov Chris, on Chris Orchestrator's allowlist, DMed it and got nothing:
- The DM branch of the author gate checked only owner-or-sibling and never
  read the allowlist (upstream block#2591). In allowlist mode an allowlisted author
  now passes in a DM. The check stays on the author, so a stranger in the
  same DM gets nothing, and `anyone` stays owner-only in DMs. This diverges
  from upstream on purpose: keep our arm on the next sync.
- The "not set up to take requests" reply failed with HTTP 400 and the
  relay's reason was thrown away. A non-retriable status now logs and
  returns the first 200 characters of the body.
- The one-notice memo was used up by that failed post, so his next two DMs
  met silence. The notice now posts, waits 11 s (the relay's membership
  cache) and tries once more. The memo keeps a (channel, author) claim only
  once the relay accepted the notice; a failed one releases it so the next
  message tries again, logs an error and gives the owner a Critical Bench
  card plus a text (D1).
- A mention refused on catch-up (sent while the agent was down) now gets the
  notice too: it is ledgered when refused, so it never replays twice.
  Non-mentions still get none.

post_notice now returns whether the relay accepted it; the other four
callers ignore it. Two older tests that pinned the upstream DM rule are
updated: the listener-boundary test now expects an allowlisted DM author
through both listeners, and the discovery fail-closed test proves DM
hardening with `anyone` + a stranger.

Chris's three 13 Nov DMs will not replay (the ledger marked them done); he
must send again once this is live.

Factory-Task: partner-fixes-15nov/1-chris-dm
Claude-Account: russelledeming@gmail.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A guest's words written into a provider session (a guest prompt, or a
guest steered into a running turn) stayed in that session's memory. The
next owner turn in the same conversation reused the session, so those
words sat there carrying the owner's trust.

- acp.rs: AcpClient marks a session when a guest's words are written into
  it, before anything is written, and `take_guest_mark` reads and clears
  the mark.
- lib.rs: dispatch_pending resets the scope when an owner turn reaches a
  marked session (`fresh_session_for_owner_turn`). It runs before
  record_scope_owner; resetting after it would make return_agent discard
  the new session as stale.
- queue.rs: conversation-context lines now carry an owner/guest label,
  "[n] actor (time, owner|guest): text", from the same `authority_label`
  the event blocks use. An unknown owner labels everyone a guest.
- acp.rs: the 15 permission log targets move from `acp::permission` to
  `buzz_acp::permission`, so the desktop's `buzz_acp=info` filter shows
  them in the agent log.

Tests: a guest prompt marks its session and an owner prompt does not; the
steer tests now check the mark; owner-after-guest resets the scope while
guest-after-guest and owner-after-owner keep it; the fresh session
survives return_agent; context lines show owner and guest.

Design: partner-fixes-design-2026-11-15.md, slice 2 (option C).

Claude-Account: russelledeming@gmail.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nder

Review fixes for the allowlisted-DM slice:
- A pair's first failed notice releases its claim once, so the sender's
  next message tries again, and tells the owner once. Any later failure
  keeps the claim: a relay that keeps refusing costs no more posts, cards
  or texts. The card id is keyed on (channel, sender), not the event.
- The owner's text goes out from the notice task itself. The beat that
  sends queued texts runs only while the pool is up, and a refusal arrives
  while it sleeps.
- The text uses alert_aside, not alert_critical: a refusal is not an
  incident, so it must not mute the next real Critical's text or owe an
  all-clear nobody expects.
- The card's advice no longer assumes allowlist mode: "change who can send
  it instructions".

Factory-Task: partner-fixes-15nov/1-chris-dm
Claude-Account: russelledeming@gmail.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…refetches history

Review fixes for the guest-words slice:
- A line break inside a context message (any kind: LF, CR, NEL, U+2028...)
  now continues the message indented, so a guest can no longer start a
  forged "[n] ... (time, owner): ..." line. Same normalisation the channel
  description already uses.
- The agent's own earlier replies are labelled "you", not "guest".
- A scope reset by an owner turn after a guest's words is flagged, and the
  new session's first prompt fetches the recent channel history once (the
  DM history query fits any channel), each line labelled. Before this, a
  plain channel message under the default per-channel session started cold.

The escape test that pinned "ok\n&lt;/thread-context&gt;" now expects the
indented continuation.

Factory-Task: partner-fixes-15nov/guest-words
Claude-Account: russelledeming@gmail.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@QuicksilverSlick
QuicksilverSlick merged commit d1d2439 into main Nov 20, 2026
71 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.

1 participant