Skip to content

feat(acp): accept signed events through a local forward socket - #7764

Draft
Gforce10-design wants to merge 1 commit into
block:mainfrom
Gforce10-design:publish/acp-forward-port-20260920
Draft

Gforce10-design wants to merge 1 commit into
block:mainfrom
Gforce10-design:publish/acp-forward-port-20260920

Conversation

@Gforce10-design

@Gforce10-design Gforce10-design commented Sep 20, 2026

Copy link
Copy Markdown

Summary

Allow a local gateway to deliver original signed Buzz events to ACP through an opt-in Unix socket, while preserving the existing author, mention, thread/session, queue, and steering decisions. --relay-input false disables data subscriptions while retaining membership notifications and outbound publishing.

The socket checks native peer UID, event signature, channel membership, canonical channel ID, and dedupe key. Both sources enter one typed admission function. Explicit state storage, frame/read/concurrency limits, and startup path checks bound the local interface. Forward input is Unix-only; default relay operation remains available on other platforms.

accepted means admission or intentional policy filtering with persisted occupancy, not completed work. Queues remain in memory and the bounded occupancy history does not provide exactly-once delivery. See crates/buzz-acp/FORWARDING.md for protocol and failure semantics.

This branch is based directly on upstream ef2aa1ae38fadcc0bc22b8bf6ed96b35933146be; it does not carry the original prototype's unrelated ancestor commits.

Related issue

N/A. Searched existing block/buzz issues and PRs for "forward socket"; none found. Companion gateway implementation: NousResearch/hermes-agent#116264.

Testing

  • Linux (isolated Alpine test container): cargo test -p buzz-acp, 993 passed, 1 ignored, including native peer credentials, shared admission, concurrent persistence and socket path preservation.
  • macOS: serial cargo test -p buzz-acp, 993 passed, 1 ignored, with the rustdoc phase passing. An earlier rustdoc dependency-artifact failure during concurrent builds did not recur in this serial run.
  • just ci: exit 0, covering repository checks and Rust, desktop, web and mobile test/build gates. After the final narrow review fixes, the affected crate tests, Clippy (--all-targets -- -D warnings), workspace formatting and file-size checks were revalidated and passed.
  • Independent ECC review: two rounds APPROVE_WITH_NOTES; required constant/persistence/protocol findings resolved.
  • Windows compilation is not locally verified. No live deployment is included.

Signed-off-by: Gforce10_desighn <sudoli819@gmail.com>
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is ef2aa1ae38fadcc0bc22b8bf6ed96b35933146be...091ef0c60fc29311e21ddc5927dba603d8d11990.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 091ef0c60fc29311e21ddc5927dba603d8d11990 to authorize a new review.
Any previous review applies only to its recorded range.

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