feat(surface,sdk,kernel): agent-to-agent effect channel via broker transport (#335) - #339
Conversation
Session-Id: 01a091b4-085a-7f93-a4b5-011e627868c1
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
maintainability lens — PASSNow I have enough to write the review. Review — Maintainability lensConcerns
Notes
No blockers: the proof is narrowly scoped and SURFACE.md honestly enumerates what is not claimed. REVIEW_PASSED |
history lens — PASSBlockers: none. The supplied diff does not establish any of the three HISTORY rejection grounds. Notes:
Concerns:
REVIEW_PASSED |
structure lens — MISSING |
|
🎯 review-swarm: FAILED (M:pass H:pass S:missing) Lens transcripts posted as sibling comments above. |
Closes #335. f.channel primitive + ephemeral per-run broker workspace + journaled effect send/recv. New SURFACE covenant: broker interactions with a v2 flow are legal only as journaled effect steps. Codex agent spec-R-agent-channel on finn-mini; head 3c4f245.
🤖 Generated with Claude Code
Note
Medium Risk
Introduces a new journaled effect completion path tied to worker lease and resume semantics; scope is limited to an internal post-only proof with integration tests, but mistakes could affect replay/idempotency for channel effects.
Overview
Adds an internal SDK proof for agent-to-agent channel posts as journaled agent effects (no new kernel step kind), plus SURFACE contract docs and a broker transport covenant (broker I/O must go through effect journaling).
effect-channel.tsintroduceschannelPostSpec(compiles a post to anagentstep withprovider: 'channel', declared/channel/...surface, and participant checks) andcompleteChannelPost(worker path:performEffect+ Agent Relaymessages.dm, SHA-256messageIdas broker idempotency key, completion output without broker credentials).f.channel/ recv / workspace provisioning are explicitly not shipped—documented as follow-up.Vitest +
relayflowdintegration tests assert exactly-once delivery and safe resume after injected failures at record, confirm, or complete (including daemon SIGKILL +runResume). Evidence file captures typecheck and test runs.Reviewed by Cursor Bugbot for commit 3c4f245. Bugbot is set up for automated code reviews on this repo. Configure here.