Skip to content

test(agents): refuse a real relay workflow mention in the harness kit - #2444

Merged
loganj merged 1 commit into
mainfrom
fix/kit-test-mention-auth
Nov 4, 2026
Merged

loganj merged 1 commit into
mainfrom
fix/kit-test-mention-auth

Conversation

@loganj

@loganj loganj commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🤖

Summary

  • main fails the JavaScript unit tests at src/features/agent-harness/kit.test.ts ("refuses a mention from anyone else, and triggers that are not its"). This PR makes it pass again without changing what agents accept.
  • The cause is two PRs that merged in an order neither one expected. feat(agents): give plugin agent types the Buzz side of a turn #2364 added the harness kit, which plugin agent types use to decide which messages start a turn. Its test was written against the rule from fix(security): close workflow, Canvas, upload, and broker gaps #2360, which refused every message that carried a workflow tag. fix(agents): restore delegated workflow mentions #2399 merged before it and restored the older rule, which accepts any message the agent's owner signs. The test's "workflow" message was signed by the owner, so it was accepted.
  • The kit's behavior has not changed. It still accepts only messages from the owner or an agent the owner attests. A real relay workflow message is signed by the community's workflow key, so the kit still refuses it. Only the test fixture was out of date.

Details

  • The fixture is now a real relay workflow mention: signed by the community's workflow key, owned by the agent's owner, and aimed at this agent. The bundled harnesses (Claude Code, Codex, Pi, Goose) would run this message.
  • Before checking the refusal, the test first checks that the bundled workflow check accepts the fixture. Without that step the negative test could pass for the wrong reason again. Giving the kit the bundled workflow check makes the test fail.
  • The test also checks that an owner mention with only a buzz:workflow marker is still accepted: the marker neither grants authority nor removes the owner's own. This covers the same fix as test(agents): align harness fixture with owner authorization #2445, so this PR includes it.
  • docs/workflows.md listed only Claude Code and Codex as accepting workflow mentions. It now lists Pi and Goose too, and says that plugin agent types do not.

Deliberate divergence

A workflow that mentions an agent of a plugin-provided type is ignored, while the same workflow wakes a Claude Code or Codex agent. This is intentional. #2399 restored workflow mentions for the bundled harnesses only to keep existing behavior working, and it says the template/substitution issue from #2360 is still open. Plugin agent types have never accepted workflow mentions, so nothing regresses. Accepting them would give these agent types a known open issue. If the team wants plugin agent types to accept workflow mentions after the follow-up discussion on workflow authorization, that change belongs in its own PR.

🤖 Generated with Claude Code

@loganj
loganj marked this pull request as ready for review November 4, 2026 17:17
@loganj
loganj requested a review from a team as a code owner November 4, 2026 17:17
The kit test "refuses a mention from anyone else, and triggers that are
not its" fails on main. Its workflow fixture was a message signed by the
owner with a `buzz:workflow` tag. #2364 wrote it against #2360, whose
`fromOwner` refused any event with that tag. #2399 merged first and
restored the older `fromOwner`, which admits any event the owner signs,
so the fixture became an owner message and the kit admitted it.

The kit itself still calls `fromOwner` without a workflow check, so a
real relay workflow mention is refused. Make the fixture that real
mention: signed by the community's workflow key, owned by the owner and
aimed at this agent, with the workflow key set on the session. The
bundled harnesses admit this event; the kit must not. Wiring the
bundled workflow check into the kit makes the test fail.

Before the refusal, assert that the bundled check admits the fixture,
so the negative case cannot pass for the wrong reason again. Also assert that an owner mention carrying only a
`buzz:workflow` marker is still admitted: the marker neither grants
authority nor revokes the owner's own. Say at the
call that the missing workflow check is deliberate, and fix the workflow
docs, which named only Claude Code and Codex.

Signed-off-by: Logan Johnson <loganj@squareup.com>
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@loganj
loganj force-pushed the fix/kit-test-mention-auth branch from 237e436 to 82a496b Compare November 4, 2026 17:21

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Approving. I checked this against main:

  • Cause: #2364's fixture is signed by the owner (alice), and fromOwner accepts the owner before it looks at any workflow tag. Since #2399 restored that rule, the "workflow" message was admitted. This PR fixes the fixture, not the kit.
  • The new refusal case is the right one to pin. kit.conversation calls fromOwner(trigger.event, agent.owner) without a WorkflowCheck. A relay workflow mention signed by the community's workflow key never reaches workflowMentionOwner, so the kit refuses it. The extra fromOwner(workflow, alice, { agent, authority }) → true assertion proves the fixture is a valid delegated mention. Without it, the refusal could just be a bad signature.
  • Documentation: the docs/workflows.md line and the kit comment record that plugin agent types don't accept delegated workflow mentions. That keeps the kit's (a workflow's never is) doc comment accurate.
  • CI: green, including JavaScript (1/4).

Follow-up, not a blocker: whether plugin harnesses should eventually accept owner workflow mentions the way the bundled ones do is a product call. Refusing them is the safer default while the template/substitution issue that #2399 reopened is unresolved.

@loganj
loganj merged commit e121e52 into main Nov 4, 2026
76 of 79 checks passed
@loganj
loganj deleted the fix/kit-test-mention-auth branch November 4, 2026 18:23
tulsi-builder added a commit that referenced this pull request Nov 4, 2026
Picks up #2444, which fixes the harness-kit workflow-mention test that
was failing on main.

Signed-off-by: tulsi <tulsi@block.xyz>
Co-authored-by: BasilBot <399581b6165ab01343e3a1324774b1024d76942aea563468f93c975e5ee5193c@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
johnmatthewtennant added a commit that referenced this pull request Nov 4, 2026
Co-authored-by: Martha <73923046810b68ae182000e74ef7c444383a907df20f81f2ba1008870a6f45a1@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* origin/main:
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)

Signed-off-by: John Tennant <jtennant@block.xyz>
johnmatthewtennant added a commit that referenced this pull request Nov 4, 2026
Co-authored-by: Martha <73923046810b68ae182000e74ef7c444383a907df20f81f2ba1008870a6f45a1@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* origin/main: (96 commits)
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
  feat(solo): let viewers join read-only spaces (#2301)
  [3/5] Add protection to the Claude harness plugin (#1878)
  fix(settings): keep the bottom padding on long sections (#2361)
  fix(mermaid): cap diagram output size (#2231)
  feat(agents): give plugin agent types the Buzz side of a turn (#2364)
  feat(plugins): pin buzz://plugin-install links to a path and commit (#2315)
  feat(plugins): tint currentColor SVG page icons like host icons (#2314)
  feat(notifications): add a soft notification sound (#1536)
  feat(agents): let agents propose a profile picture (#2267)
  fix(plugins): default reminders and workflows off for fresh installs (#2291)
  Show all reactors in compact, separate emoji capsules (#2179)
  fix(panels): remember page split widths per workspace (#2264)
  feat(search): browse open channels from a Channels tab in search (#2164)
  perf(relay): page combined replay filters after a reconnect (#2308)
  fix(composer): make native Mac text shortcuts work past link chips (#2390)
  perf(relay): read creator proofs for many channels per filter (#2312)
  ...

Signed-off-by: John Tennant <jtennant@block.xyz>
johnmatthewtennant added a commit that referenced this pull request Nov 4, 2026
…est-work-activity

* origin/main:
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
  feat(solo): let viewers join read-only spaces (#2301)
  [3/5] Add protection to the Claude harness plugin (#1878)
  fix(settings): keep the bottom padding on long sections (#2361)
  fix(mermaid): cap diagram output size (#2231)
  feat(agents): give plugin agent types the Buzz side of a turn (#2364)
  feat(plugins): pin buzz://plugin-install links to a path and commit (#2315)
  feat(plugins): tint currentColor SVG page icons like host icons (#2314)
  feat(notifications): add a soft notification sound (#1536)
wpfleger96 added a commit that referenced this pull request Nov 4, 2026
…w-tab

* origin/main:
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
  feat(solo): let viewers join read-only spaces (#2301)
tulsi-builder added a commit that referenced this pull request Nov 4, 2026
Picks up #2444, which fixes the harness kit test failing on main.

Co-authored-by: BasilBot <399581b6165ab01343e3a1324774b1024d76942aea563468f93c975e5ee5193c@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: tulsi <tulsi@block.xyz>
johnmatthewtennant added a commit that referenced this pull request Nov 4, 2026
Signed-off-by: John Tennant <jtennant@block.xyz>
Co-authored-by: Damon <8a08290d889f1c68921542bfe9631d4cd671be9bea5f1114951f386819e4c10a@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* origin/main:
  feat(agents): identify plugins in native hook output (#2299)
  [4/5] Add protection to the Codex harness plugin (#1879)
  feat(search): show member counts on channel results (#2333)
  Fix the mute icon flashing when selecting a channel (#2287)
  feat(agents): open a working agent's transcript from its activity (#2276)
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
bradseiler added a commit that referenced this pull request Nov 4, 2026
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@seiler-test.communities.public.builderlabstaging.xyz>

* origin/main:
  feat(agents): identify plugins in native hook output (#2299)
  [4/5] Add protection to the Codex harness plugin (#1879)
  feat(search): show member counts on channel results (#2333)
  Fix the mute icon flashing when selecting a channel (#2287)
  feat(agents): open a working agent's transcript from its activity (#2276)
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)

Signed-off-by: Brad Seiler <seiler@squareup.com>
wpfleger96 added a commit that referenced this pull request Nov 4, 2026
…-service

* origin/main: (73 commits)
  fix(bestie): deleting an agent saves no Bestie record where there was none (#2420)
  fix(unread): never treat agents-audience messages as unread (#1552)
  feat(focus): add an optional Focus plugin that quiets everything except Solo chats (#2277)
  [5/5] Add protection to the Goose harness plugin (#839)
  feat(agents): identify plugins in native hook output (#2299)
  [4/5] Add protection to the Codex harness plugin (#1879)
  feat(search): show member counts on channel results (#2333)
  Fix the mute icon flashing when selecting a channel (#2287)
  feat(agents): open a working agent's transcript from its activity (#2276)
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
  feat(solo): let viewers join read-only spaces (#2301)
  [3/5] Add protection to the Claude harness plugin (#1878)
  fix(settings): keep the bottom padding on long sections (#2361)
  fix(mermaid): cap diagram output size (#2231)
  feat(agents): give plugin agent types the Buzz side of a turn (#2364)
  feat(plugins): pin buzz://plugin-install links to a path and commit (#2315)
  feat(plugins): tint currentColor SVG page icons like host icons (#2314)
  ...

# Conflicts:
#	src-tauri/src/host_process.rs
#	src-tauri/src/lib.rs
#	src/bundled/claude-code/claude.ts
#	src/bundled/codex/rpc.ts
#	src/bundled/goose/goose.ts
#	src/bundled/goose/runtime.ts
#	src/bundled/goose/sessions.test.ts
#	src/bundled/goose/sessions.ts
#	src/features/agent-harness/acp/process.ts
gilgtm added a commit that referenced this pull request Nov 4, 2026
* origin/main: (22 commits)
  feat(mentions): quieter mention menu that marks agents and their owners (#2328)
  feat: add a Canvas View tab, History diffs and a 256 KiB limit (#2318)
  feat(plugins): let local agents write and reload plugins (#2435)
  feat(onboarding): offer Create a community after public Builderlab sign-in (#2397)
  Open any Inbox filter view by route (#2394)
  fix(bestie): deleting an agent saves no Bestie record where there was none (#2420)
  fix(unread): never treat agents-audience messages as unread (#1552)
  feat(focus): add an optional Focus plugin that quiets everything except Solo chats (#2277)
  [5/5] Add protection to the Goose harness plugin (#839)
  feat(agents): identify plugins in native hook output (#2299)
  [4/5] Add protection to the Codex harness plugin (#1879)
  feat(search): show member counts on channel results (#2333)
  Fix the mute icon flashing when selecting a channel (#2287)
  feat(agents): open a working agent's transcript from its activity (#2276)
  test(agents): refuse a real relay workflow mention in the harness kit (#2444)
  fix(agents): catch up every event watch on the kinds it watches (#1852)
  Keep local artifact collections current (#1507)
  feat(members): add several people to a chat in one write (#2010)
  feat(solo): let viewers join read-only spaces (#2301)
  [3/5] Add protection to the Claude harness plugin (#1878)
  ...

Signed-off-by: Gil Birman <gil@squareup.com>
Co-authored-by: Claude <noreply@anthropic.com>
kazemek21 added a commit that referenced this pull request Nov 4, 2026
## TL;DR
Solo chats retain explicit model and effort choices per chat and agent
until Reset, including choices made before the first message. Untouched
chats keep provider defaults.

Choices use a feature-owned IndexedDB transaction for
read/merge/compare/write. The existing composer catalog, menus and
scoped draft state remain their owners; no generic storage framework or
second authoritative localStorage copy is added. IndexedDB is the sole
authority: a missing row means no saved choice. This unreleased feature
does not import earlier development-only localStorage bytes; those bytes
remain untouched and non-authoritative. Scope cleanup shares the
save/transfer ownership lock so an already-queued save cannot recreate
deleted choices. Other windows are notified only after commit and reread
the authoritative store.

Send waits for initial loading and pending-save acknowledgement. Failed
reads offer **Retry saved choices** rather than silently using defaults;
failed saves keep local intent. First-send transfer and refused-start
restoration use ownership receipts, so a later edit or equal-value Reset
is not overwritten. The existing toast retains the refused prompt,
attachments and validated choices for **Retry restoring message**,
including repeated ownership/storage failure.

## Verification
Blox verified an uploaded content snapshot matching
`6f87b1101d21f3071cf0a64ab0197ae1442a4429`: typecheck, targeted lint,
**622 tests across the three affected full files**, and **14 browser
cases** across Chromium/WebKit (zero skipped/flaky). All six final
changed-file hashes match the tested snapshot. Historical `a004b3cd`
verified 709 tests across seven files plus design checks; those broader
results are not claimed as a new-head run. These are content-snapshot
checks, not claims that the candidate commit was checked out remotely.
Pre-commit hooks ran; only duplicate types/tests/design/clippy pre-push
jobs were skipped because required CI runs them. The verification box
was deleted.

The latest feedback regressions fail against `a004b3cd` and pass with
these fixes: a refused prompt-write reports the text-save cause,
compensates prepared choices, and succeeds through Retry; fresh IDB
initialization remains available when the unrelated localStorage read
throws; and scope purge waits behind already-queued saves in both
browser engines.

The [failed WebKit
job](https://github.com/block/buzz-app/actions/runs/41872987261/job/126725503435)
was not dismissed as a flake: an owned amd64 trace showed the second Web
Lock holder reading stale localStorage after the first writer committed,
then replacing the durable map. The transactional repair preserves both
agents in the unchanged two-page regression. Mounted tests cover
pending/failed edits, Send commit barriers, unavailable types,
navigation and refused-start recovery. The latest regressions preserve
corrective edit errors during a saved-choice read failure and retain
valid first-send choices when the catalog needs no selector. Both fail
with their previous production behavior and pass with the fixes.
Removing the later-Reset ownership guard produces the intended
regression failure; the restored source passes.

**Browser cases: four added, none removed** versus the merge base; this
feedback batch adds one and updates one. They cover
keyboard/Escape/Reset/focus, actual cross-page commits/notifications,
real IDB initialization/abort/first-send compare-clear custody, and Web
Lock queue ordering for purge. These browser boundaries cannot be
established by jsdom; lifecycle and failure permutations remain in
mounted tests. Shared menus, Button, Toast and LoadingRegion are reused
without new styling. Prior picker checks covered both themes, 360/1280px
widths, normal/24px text, keyboard and pointer: [before
selection](https://d24qwcpro867f5.cloudfront.net/repos/block/buzz-app/prs/2342/solo-choices-before-03b33b1.png),
[selected
choices](https://d24qwcpro867f5.cloudfront.net/repos/block/buzz-app/prs/2342/solo-choices-selected-03b33b1.png).

**Boundaries:** Cooperation is within the same storage bucket, not older
clients or separate profiles. Retry retention ends when this window
reloads or its notice is dismissed; it is not crash recovery. Native
simultaneous WKWebView/provider execution and full-chat runtime proof
remain unverified. Earlier failed attempts and test-contamination
evidence remain retained; passing repetitions do not establish that
every browser failure is fixed. The separate JavaScript fixture failure
was repaired on main by
[#2444](#2444); this branch
includes that merged source, not an unmerged human patch.

## Related
Fixes NEXUS-4155

This is native host Solo composer behavior, separate from plugin task
setup and shared-channel default routing. It does not depend on
[#2306](#2306) or
[#1909](#1909).

Part of [Nexus & Agent Tooling
status](https://g2.sqprod.co/apps/kylez-nexus-buzz-plugins-status).

_Generated with Codex (gpt-6.1-sol, high) on behalf of kylez._

Signed-off-by: Kyle Zemek <kylez@squareup.com>
Co-authored-by: Codex <noreply@openai.com>
bradseiler added a commit that referenced this pull request Nov 4, 2026
## Why

Buzz offers direct merge actions even when a pull request’s target
branch requires GitHub’s merge queue, so choosing Squash and merge
fails.

## What

Show Queue for merge and its confirmation on queue-required branches,
then display Queued for merge after GitHub accepts the request. Other
branches retain their existing merge options.

## How

Read GitHub’s target-branch queue flag and current queue membership with
the existing checklist. Enqueue the confirmed head commit, hide direct
merge methods for queue-required branches, and invalidate confirmations
when the head, base, or queue requirement changes. GitHub validates
queue admission; rejection stays visible for retry.

## Risk

Limited to the bundled GitHub checklist and merge actions. No live
GitHub enqueue was performed during agent testing.

## Testing

Exercised the existing GitHub actions fixture in Chromium and WebKit
through queue confirmation and queued status, in both themes at 1100px
and 390px with enlarged text, using pointer and keyboard activation.
Read-only GitHub GraphQL introspection and a PR query confirmed the
queue fields and expectedHeadOid input.

Try `/tests/fixtures/github-actions.html?ready&queue` on this worktree’s
dev server: choose Queue for merge, confirm, and expect Queued for
merge. Native app behavior and human acceptance remain deferred. The
full local Vitest run was stopped after failures and timeouts outside
the GitHub plugin, including Settings, Inbox, message reactions, profile
navigation and relay discovery; broad validation remains incomplete. The
first pre-push run timed out in app page composition while that broad
run was active; the unchanged page-composition test passed in 8 seconds
after the broad run stopped. No automated browser cases added or
removed; queue state/failure/confirmation regressions are covered in
colocated component tests.

Updated with main’s agent-harness test fix from #2444 to clear the
existing baseline CI failure. The merge-queue feature diff is unchanged;
CI is rerunning on the updated branch.

Generated with Codex

Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@seiler-test.communities.public.builderlabstaging.xyz>
zrmarley added a commit that referenced this pull request Nov 18, 2026
## What changed

Add default-off, best-effort release of temporary managed attachment
sources after a natively confirmed post.

- Opt in with `host.saveBytes(bytes, {sha256, releaseAfterSend: true})`.
Native must acknowledge `releaseAfterSend === true`. Missing
acknowledgement means an older host may have saved without consent:
**possibly saved, do not retry**.
- Native records bounded, process-local consent for the exact private
file and saving human Nostr owner. Final consent is fenced against
identity close and native command timeout/drop. Renderer disposal or a
lost reply is not native cancellation.
- Shared attachment tools pass snapshot/upload-matching hints outside
signed events through existing app-client/runner/native owners. Hints
alone grant no deletion authority; standalone clients gain no deletion
implementation.
- **“Sent” means the relay accepted the exact signed event ID**, after
the complete native evidence wrapper succeeds. It does not mean
recipient delivery/read, permanent remote storage, or local deletion.
- Only then does native detach best-effort release on its app runtime
and immediately return the confirmed event, allowing the send tool to
return sent and the runner to leave sending without waiting for cleanup.
Release checks consent, owner, direct-child path, saving-plugin suffix,
private no-link metadata, file identity, content hash/size and matching
confirmed imeta.

No new dependency, grant, IPC command, durable service, timer, sidecar,
consumer enablement or FOUNDATION entry-point change. The November 14
reconciliation merges main `4a87b5cc135453bc9f461ed5dfed3f6d8692f7ea`
into the existing branch without rewriting accepted history; prior
reviews and runtime evidence remain scoped to their snapshots.
## Best-effort semantics and limits

One message shares **one 30-second cleanup-entry budget**, captured
before spawning and including scheduling/queue wait, using existing byte
admission/root ownership and app-wide reader exclusion. The confirmed
send does not wait for cleanup. Cleanup refusal/error never turns that
result into an error or repost. Already-dispatched blocking I/O keeps
its actual-work byte/root/reader guards through completion and may
outlive the budget with an unknown deletion outcome.

Detached cleanup belongs to the native app runtime, not the runner:
runner disposal does not cancel it. **App shutdown need not drain
cleanup.** Undispatched work may be lost and sources retained;
dispatched unlink may complete with unknown outcome. No durable work or
guarantee of outliving the app.

Cleanup is not eventual erasure. Restart loses consent; refusals can
retain sources indefinitely. Expiry only permits removal during a
later-save sweep. Keep the posted link for reuse rather than reading a
released path again. New app-wide reads promptly refuse while cleanup
holds exclusion.

The app's read/upload mapping is trusted, not independent cryptographic
lineage. Media transformations/hash mismatches safely omit cleanup.
**Windows keeps sources because safe platform file identity is
unavailable. Windows was not executed or cross-compiled locally**: only
aarch64-apple-darwin is installed. The hosted Windows lane is
manual-only and was skipped; it is not Windows-green evidence. Non-Unix
confirmed-send retention coverage is present, and Unix-only unlink/hash
success tests are gated accordingly. Production identity checks are
unchanged.

Consumer opt-in remains separate, after a compatible released
frontend/native pair and acceptance.

## Validation and review

Current reconciliation candidate:
**af030bbc35c0aaeed3ddb575964ff2cc03f186ef**, merging previous published
**54a1610d7e3bbd4ee1ccfdd42eb639c527eebd6e** with main
**4a87b5cc135453bc9f461ed5dfed3f6d8692f7ea**. The native attachment
smoke below is historical combined-candidate evidence, not a run on this
head. Current hosted checks are green after the controlled rerun below;
maintainer approval remains a separate gate.

### November 14 reconciliation

- Preserve upstream self-mention refusal after attachment/body/mention
resolution and before the existing single publication/hints branch.
Earlier uploads may already exist; refusal does not publish or invoke
confirmed-post cleanup. No upload rollback is claimed.
- Preserve both sides' tests; add send/subthread attachment-bearing
self-mention regressions. Ordinary attachment sends retain their
matching out-of-band hints.
- All other feature additions/deletions against the new main are
unchanged, including local-only cleanup hints, protection/lifetime
admission, exact native confirmation and best-effort release. No new
native campaign or live file operation.
- Independent integration-delta review: **PASS, 9/10** on exact
`af030bbc`; no blockers or optional changes. This checks the
reconciliation, not a new full-feature/native acceptance campaign.
- Complete root Vitest on exact `af030bbc`: **1,102 files passed / 8
skipped; 22,019 tests passed / 26 skipped**, 1,251.68s, with no failed
tests/files. Includes tools (183 cases), app-client (32), Codex runtime
(249), Claude execution (10), and agent service (595, including its
existing skip). The outer supervisor timed out at 900s but the original
suite continued to a complete successful JSON report; completion was
separately verified with unchanged HEAD/clean tracked tree and no
surviving test processes. No duplicate full suite was launched.
- Normal non-force push passed all mandatory hooks: TypeScript/related
unit tests **219.21s**, design types/guards **7.87s**, locked workspace
all-target Clippy **41.56s**, and destination/history policies. No
bypass, assertion/deadline changes or source changes after independent
review. Full diff/whitespace, merge parents, DCO/coauthor trailers, and
excluded local fixture hashes were rechecked.
- Published remote and PR head verified as exact `af030bbc`. GitHub
reports **MERGEABLE**, with **REVIEW_REQUIRED**. Current checks are **63
successes, 1 skipped (Windows), none pending or failed**, after [CI run
43616744045, attempt
2](https://github.com/block/buzz-app/actions/runs/43616744045/attempts/2)
completed successfully at **2026-11-14 22:27 UTC**. WebKit journeys
11/18, Vitest flake-check 2/2 and the required aggregate all passed; DCO
Check succeeded. This was one controlled failed-jobs rerun at unchanged
head after source/log assessment, with no code or assertion changes.
**Current CI is green; the intermittent failure cause is not established
or claimed fixed.** Maintainer approval, merge, release and consumer
enablement remain separate.
- Original [attempt
1](https://github.com/block/buzz-app/actions/runs/43616744045/attempts/1)
remains part of the evidence: **60 successes, 3 failures, 1 skipped
(Windows)**, including WebKit journeys 11/18, Vitest flake-check 2/2 and
their required aggregate. Its failure details follow; the later pass
does not erase them.
- WebKit failed `nested-replies.spec.mjs:975` (crowded capped branches,
width 1024): toolbar-placement difference **0.0718689px** against the
unchanged **<0.05px** assertion. The same assertion already failed at
width 1280 on unrelated [PR
#3534](#3534), [job
evidence](https://github.com/block/buzz-app/actions/runs/43550314772/job/132311273617),
with a 0.110016px difference; that PR changes profile/status UI, not
this feature. No tolerance was relaxed or layout code changed here.
- Vitest flake-check iteration 1/5 failed Codex's `stops an in-flight
file reader at turn end, including late spawn: true`, awaiting the tool
reply at `runtime.test.ts:609`. Iterations 2–5 passed unchanged within
that same job. This establishes intermittent behavior on this snapshot,
**not its cause or absence of a product defect**. Source/log assessment
found no demonstrated feature-caused defect: the case has no
attachments; the reader cancellation and RPC reply owners are unchanged,
and the new locality flag is consumed only when forwarding publication
options. The failed log lacks intermediate lifecycle events, so Codex is
not proven unrelated. The single controlled rerun above passed without a
source repair; no root-cause fix is claimed.

### Historical readiness head — November 12

The readiness checklist below applies to
**8e2f69ddbe1be34043dd598192c1f82eda5b20dd**, based on
**128cd4c2f38801d5f773d5d5ec95a1ea5594b374**, and the combined runtime
candidate it names. It is not new-head execution evidence.

### Readiness checklist — November 12

`buzz-review-completed`

- **Independent agent review:** replay review PASS (9/10) at `ebe1b47`,
with the test-only signature correction independently verified at exact
published `8e2f69d`; no remaining recommended source blockers.
- **Agent exercise:** the reported native round on combined `d3b8f73`
saved the ordinary/control pair, confirmed a normal attachment post,
observed opted-in source removal and unchanged control, then
retrieved/rendered the uploaded GIF. This is existing reported runtime
evidence, not a new execution by the readiness reconciler.
- **Human confirmation:** the human personally inspected that existing
uploaded image and explicitly accepted it as human verification,
replacing the proposed duplicate successful human-initiated round. This
confirms image visibility, not independent human filesystem
observations.
- **Snapshot applicability:** `d3b8f73` starts at this PR's exact
`8e2f69d` and adds only the separately reviewed #3351 bridge. Rechecked
aggregate stable patch ID `d7650b01f0514ae96b41836b999f0b2dfd314872`
matches the bridge; its ten-file delta changes no native attachment
save/release implementation. This combined native workflow is the
bounded exercise supporting review readiness, not an isolated-head or
whole-product certification. No exercise waiver is claimed for #2336.

The remaining platform/release limitations below are disclosed, not
represented as completed checks. Maintainer approval, merge, consumer
enablement and release remain separate. The disposable attachment
fixture and cancellation diagnostic are not included in this PR. No new
tests, live calls, app lifecycle changes or source edits were performed
for this disposition.

### November 11 reconciliation evidence

- Replayed six accepted commits from
`ea9260aaa8c7b4fd1cb7c5be8c01624de98f087c`, then added one test-only
upstream spawn-signature compatibility fix. Conflict resolution
preserves upstream cancellation/protection snapshot lifetime,
retired-owner-read exclusion and streamed write ordering alongside
attachment locality and native release acknowledgement tests.
- Target-backed Claude/Codex readers keep ordinary remote sends but
suppress desktop managed-attachment cleanup hints; no remote deletion
was added.
- Eight complete affected JavaScript test files: **1073 passed / 1
existing skipped** at `ebe1b47fca8fb87ad486c5ada1690506ed0cbad1`; final
`8e2f69d` changes only one Rust test call to pass the three newly
required absent options.
- Bare-candidate Rust workspace tests compiled after that test
compatibility fix, and managed cleanup regressions printed successful
results, but the test binary subsequently **crashed with signal 11 /
SIGSEGV** (`buzz_foundation_lib-688197a4fbe2a305`, last output in
window-state tests). **The Rust workspace run is NOT green.** No #2842
testability seam is stacked here; no unrelated repair is included.
- Independent replay review **PASS, 9/10** at `ebe1b47`; independent
follow-up **PASS** for `8e2f69d`'s test-only signature correction.
Source review is not live acceptance.
- Normal hook-protected lease push succeeded: types/related tests
**218.98s**, design **7.14s**, workspace all-target Clippy **118.60s**,
repository/rewrite policy checks passed. Earlier foreground push hit the
runner's 240-second limit before publication; the logged retry reran
normal hooks without bypass. The successful Clippy run does not erase
the Rust test crash.
- Exact remote and PR head verified
`8e2f69ddbe1be34043dd598192c1f82eda5b20dd`; PR is mergeable. That
historical published-head hosted checks settled: **63 successful / 1
skipped (Windows), none pending or failing**, rechecked November 12;
that is separate from the non-green local Rust attempt and historical
checks below.

### Combined native attachment smoke — bounded acceptance complete

Companion #3351 passes the existing ACP work-cancellation signal through
to Goose plugin tools. It was a separate PR against `main` and has since
merged, not a stacked dependency or a change introduced by this PR.
Neither implementation depends on the other; the combined candidate was
used for the Goose-based native attachment exercise.

The experimental combined candidate
**d3b8f73a318bb1ae03ad43d371c6d33007ffb974** contains this PR's exact
**8e2f69ddbe1be34043dd598192c1f82eda5b20dd** source plus the companion
bridge delta. Native attachment smoke evidence:

- The agent reported saving distinct temporary source/control files, a
confirmed normal core send, subsequent opted-in source absence, and
ordinary control retention with unchanged hash.
- The agent also reported retrieving and rendering the uploaded GIF
after source release. Human visual inspection confirmed that existing
uploaded image.
- This completes the bounded combined-candidate attachment smoke: the
successful agent round plus human visual inspection replaces a duplicate
successful human-initiated round. Source removal/control integrity
remain agent-reported observations, not additional human filesystem
checks.
- A separately attempted send was refused with an upload authentication
error. No confirmed message resulted, and earlier files may have
uploaded before refusal. The underlying cause remains unresolved. This
is not a successful send; it is disclosed separately and is not a
blocker to the accepted bounded smoke.

This attachment evidence is **not acceptance of bare #2336**, a
packaged-release certification, or an exercise of **Stop during a
pending Goose plugin call**. #3351 records its own separate
cancellation/no-revival evidence and readiness disposition; its
agent-exercise waiver does not apply here. The disposable smoke plugin
is not included in this PR or a shipped product feature. No additional
live round is claimed.

Existing regressions cover real temporary filesystem saves/unlinks under
MockRuntime and confirmed-post HTTP evidence against a loopback server;
JavaScript upload/publication are mocked. The combined native smoke adds
one real workflow, not exhaustive platform, failure or lifecycle
coverage.

### Historical published-head evidence —
1c5a5f4

- Exact-head [CI run
41905253578](https://github.com/block/buzz-app/actions/runs/41905253578)
**SUCCEEDED**. Rechecked exact-commit checks and PR rollup: **39 SUCCESS
/ 2 SKIPPED**, with no pending or failed checks. Windows native
validation and the unselected browser-flake lane were skipped; these are
not platform-acceptance evidence.
- Local checks at this head: harness kit **18 passed** (510ms), locked
workspace all-target Clippy **passed** (11.36s), service full file **444
passed / 1 existing skipped** (31.39s), and all six affected JS files
**718 passed / 1 existing skipped** (36.46s). No new local
full-workspace Rust test run is claimed.
- Normal pre-push hooks passed on the first attempt at this head:
types/related unit tests **292.89s**, design **6.20s**, Clippy
**4.87s**, and repository/rewrite policy checks. No hook bypass, timeout
changes or retries were used for this push.
- The rebase onto `43747aeb01eb8c6801028ab68b7011e0b8065bcb` resolved
one additive EOF conflict in `src/buzz-mcp/tools.test.ts`, retaining the
complete main Canvas boundary test and feature attachment tests. Only
conflict markers were removed; no assertions, helpers or production
behavior were edited. All 21 feature files retain identical ordered
added/removed line bytes versus the previous snapshot. The automatic
documentation, Canvas, native agent and runner/service merges were
checked for preservation of both changes.
- Frozen range-diff against the previous snapshot
**648a51868dee0ea38d4e018810be21cf26eaca4d**: SHA256
**ef6bc32b2921e7359b1c5b340dddd558a5e758f8637a38c2ba4f8dea561000ec**.
Full feature binary patch from current merge-base: SHA256
**3cecfc458dbed6a77e05a27abfca265964dea51de8f3f104729d5b1e6a492be7**.
DCO/coauthor preserved; worktree clean. No feature dependency/lockfile
edits.
- **Historical independent review:** Wes's automated **COMMENT** review,
submitted **2026-11-05**, reviewed the historical `1c5a5f46` head and
found **no actionable correctness or security defects**. It was
source-only: no local tests, builds, app launches or PR code execution.
It is a comment, **not approval or merge authorization**. Its
description-snapshot note is addressed here.

### Earlier-snapshot evidence — not new runs on the current head

- At **0ee012bed9f70bde3875c552a41a62fb572f268e**, native `host_` **131
passed** (35.45s) and `app_agents` **25 passed** (1.33s); these filters
overlap and are not unique-test totals. These are earlier local native
results, not a current-head native rerun.
- At **1bff02c143edcb29a88e991db6f8b2074d0b53c8**, independent
differential testing reproduced the old-production held-byte response
timeout (**RED 2.07s**) and passed the detached-cleanup implementation
(**GREEN 0.07s**). Kalvin's subsequent COMMENT review on that snapshot
reported the confirmed-send delay and harness-only watchdog findings
resolved. Async cleanup-attempt return is not actual-work drain; app
shutdown need not drain. Atomic RAII admission remains necessary because
`RwLockReadGuard` is `!Send` across actual-work boundaries.
- The test follow-up at **09c11e9352d45d1006c6b1edeac7e68b907c3a13**
removed the redundant JS test-local cleanup model; its teardown note is
therefore moot. Existing publication success/failure/uncertainty tests
and native
**host_release_confirmed_send_returns_before_cleanup_byte_admission_and_preserves_evidence**
remain. The strengthened deadline test requires immediate first-poll
Ready after explicit expiry while the byte permit stays held. On that
earlier snapshot's test change, a compiling first-poll reset-budget
mutant failed in **0.09s**; restored production passed in **0.13s**. The
mutant was not committed. No safety coverage was weakened.
- Historical refresh at **0ee012bed9f70bde3875c552a41a62fb572f268e**
stopped on unchanged Profile timeouts and a harness-kit assertion
independently reproduced on main. No kit fix was added by this feature;
upstream #2444 supplied the repair. Earlier service timeouts on that
snapshot were retained, and unchanged diagnostic reruns passed. These
later passes do not establish that timing failures are eliminated.
- Historical push at **648a51868dee0ea38d4e018810be21cf26eaca4d**
initially failed only the unchanged Profile pending/unavailable 5000ms
timeouts (**5076/5137ms**). A subsequent unchanged full-hook retry at
lower load passed without test or timeout edits. This is historical
evidence, not a failure or retry on current head `1c5a5f46`.

**The historical native IPC-watchdog failure remains unresolved.**
During the earlier **d182ac5c84f8c49e02314aa3334e68cc3e72670b**
investigation, one five-second fixture timeout caused 19 poisoned-lock
followers; independent repetition passed **20/20 native invocations**. A
later independent review at **ddeabaf355edca51d4ee761e6d443e1b1a903c45**
passed **3/3 exact-fix-head parallel runs**. Those passes neither
identify the stalled operation nor prove the failure absent. No
production/test timeout was increased or assertions weakened to hide it.
Historical unchanged Profile timeouts also remain part of the earlier
validation record; later normal hooks passed without test edits.

## Remaining platform and release acceptance

The historical automated review is a COMMENT, not maintainer approval.
Earlier reviews, CI and runtime evidence apply only to their named
snapshots and do not establish the untested surfaces below.

**Isolated-PR and packaged-release acceptance, native
focus/accessibility and Windows remain unverified.** The combined native
workflow above includes a real upload and human image inspection, but it
does not establish comprehensive packaged desktop/Wry, trusted-HTTPS or
platform coverage. The November 11 full-workspace Rust attempt is
non-green (SIGSEGV above); historical browser coverage is hosted CI, not
a local packaged-app exercise. No browser tests were added or removed;
not every race/queue permutation has its own fixture.

Broader future acceptance, if separately authorized, in a safe
disposable account/VM: send an opted-in source through direct and
process readers; verify only an exact-ID confirmed post releases it on
supported platforms, an ordinary sibling remains, and posted media stays
usable. Verify upload/unconfirmed-send/active-reader refusal and restart
retain sources without automatic retry or consent adoption.

---------

Signed-off-by: Zach Marley <zmarley@squareup.com>
Co-authored-by: goose <goose@block.xyz>
Co-authored-by: Dr. Spuxx, the Living Mutagen <dbeea7b641217ab95b3c75e547b999cc044d294afebbf240df7fe90c249de836@feedback.communities.buzz.xyz>
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.

2 participants