Repository navigation
acpmux: dispatch attributed briefs across harnesses - #24606
Conversation
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
red: cmux-next checks (god files, concurrency, crash safety, l10n); NEW: |
|
Bead |
|
Found 14 test failures on Blacksmith runners: Failures
...and 4 more test failures. View all on Blacksmith: run 40047084631, run 40047084725
|
e9f413c to
4fe0ca0
Compare
4fe0ca0 to
5496675
Compare
5496675 to
7125d6a
Compare
7125d6a to
fa88372
Compare
fa88372 to
0af4680
Compare
Leo: "Maybe we need to keep improving ACPM UX then, or CMUX next, just exposing more and more and, like, depicting the stuff better." Agent-Session: acpmux-dispatch
0af4680 to
50f3e85
Compare
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
39500a1 to
2b014a5
Compare
2b014a5 to
877aa4b
Compare
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
877aa4b to
d40cdb7
Compare
d40cdb7 to
92df7a9
Compare
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
92df7a9 to
732f896
Compare
…tch-acpmux # Conflicts: # cmux-tui/crates/acpmux/spec/acpmux-protocol.json # cmux-tui/crates/acpmux/src/protocol/mod.rs # cmux-tui/crates/acpmux/src/rpc.rs
732f896 to
99c2675
Compare
|
Shipped in:
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Agent-to-agent dispatch is now a first-class acpmux operation. A coordinator can run
acpmux dispatch BRIEF --target HOST|auto; brief bytes cross the authenticated peer connection, the destination starts the requested harness, andacpmux briefs ls,briefs steer, andbriefs reportpreserve one attributed brief identity. The ledger is atomic and survives daemon restart. Placement excludes air-blue, cosmic-gray, and big-red; cmux16 is capture/build only. Load and per-host capacity are warn-only: no launch is refused for load.Leo said: "This also seems a little bit too ad hoc than what I'd like. Maybe we need to keep improving ACPM UX then, or CMUX next, just exposing more and more and, like, depicting the stuff better."
Changelog
Added: harness-agnostic acpmux dispatch, brief lifecycle commands, peer forwarding, and authenticated sender metadata.
Validation
pr-overlapbefore edits: no overlap.git diff --checkpass.cmux-ci run --class isolated --script scripts/ci/cmux-tui-rust-check.sh --ref 9cd406e3a7d3c9af583919537870538337ddf788 --arg test --arg dispatchsubmitted ascf7f00c6f2576d7a61e85ef1, cancelled before execution because the commit was not published; exact-head retry submitted as4d85e68ac68845ff499eee1cafter publishing the branch.agent-identity footer
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Makes agent-to-agent dispatch first-class in
acpmux:acpmux dispatch BRIEF --host HOST|local|autosends a brief over the authenticated peer connection, starts the chosen harness on the destination, and keeps one attributed brief identity acrossbriefs ls,steer, andreport. The brief ledger is atomic, survives daemon restart, and mirrors peer-forwarded brief rows back to the local ledger.--targetaliases--host. Sender attribution comes from the authenticated connection, never caller-supplied fields; empty or over-1 MB briefs are rejected.autotargets the least-loaded allowed connected host.steerandreportforward over the peer running the brief; idempotency keys make duplicate dispatch, steer, and report calls replay-safe, and brief claims happen only after host validation. Report status accepts only running, reported, or merged.suggestedHost; peer dispatch with anapprove-allpolicy requires a person-approved preset._acpmux/dispatch,steer,briefs, andreportare excluded from session-scoped peer forwarding, and forwarded dispatch preserves the authenticated web-guard marker.Written for commit 99c2675. Summary will update on new commits.