fix(activity): stream Prime activity to mobile and members - #5640
ChinaDairy wants to merge 11 commits into
Conversation
1791223 to
16968a4
Compare
|
Exact candidate 16968a4 is locally green across Rust, mobile (1,278 tests), and desktop (4,730 tests plus production build). @block/buzz-oss-team please approve the fork workflow runs and provide the required non-author/code-owner review for this exact SHA. Production remains unchanged pending protected merge. |
|
Production canary found one compatibility issue after the relay passed: existing Prime units use |
Add a closed, bounded schema and typed builder for signed ephemeral\nchannel activity summaries. Keep owner observer frames unchanged and reject\nunknown or class-incompatible fields before publication. Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: Mark Farquad <mark@localhost>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
Signed-off-by: lordfarquad <lordfarquad@farquad.local>
b7edff0 to
e0758e2
Compare
|
Closing at the requester’s direction. We will wait for upstream native Activity support instead of maintaining this custom implementation. |
Summary
Fix Prime-agent activity streaming end to end on mobile and desktop, while exposing only a separate, strictly sanitized live activity summary to other current members of the same stream/forum.
24200observer feed24201with a closed, content-free schemasteer-threadas an alias forsteerPrivacy / authorization contract
Shared frames are producer-built from a closed DTO. They contain only schema version, opaque activity ID, timestamp, closed activity/status enums, optional bounded duration, optional canonical tool class, and optional bounded aggregate usage.
They contain no prompts, model output, thoughts, plans, raw messages, tool titles/arguments/results, paths, URLs, raw errors, session IDs, triggering event IDs, credentials, or arbitrary adapter/diagnostic data.
Kind
24201requires a valid signer matching the declared managed agent, exactly one canonical channel tag, a non-DM stream/forum, current agent membership, current viewer membership, freshness, and strict schema validation. Database uncertainty fails closed. Membership is rechecked at fan-out so revocation affects open subscriptions.Frozen candidate
e0758e20e26fab31a4f49e1cbefd21c2c4dc438a7634fe74563ea7f3c86fb6017a0ad647a9934477Exact-SHA verification
All commands below were run against the frozen candidate above.
-D warnings): passedbuzz-core: 249 unit tests plus integration tests passedbuzz-sdk: 257 unit tests plus activity-builder tests passedbuzz-acp: 816 library tests plus lifecycle tests passedbuzz-backend-kubernetes: 154 unit tests plus provider-wire tests passedbuzz-relay: 899 library tests passed; 44 explicitly infra-gated tests remained ignored-D warnings): passedProduction state
This successor SHA is not deployed.
Production still runs the previously authorized pre-merge canaries:
16968a4f1c3b59ab89ee5302f27418c0c02d546db7edff0d96dae7f1c2fc520b7c0cc782da01f8eebinaryThe relay remains healthy and externally ready with zero restarts in the latest check. Live kind-
24201delivery has not yet been proven; the earlier member probe timed out. No mobile release containing this change has been distributed or installed.Release requirements
Do not merge or deploy a successor commit under this attestation. Required checks, code-owner approval, and last-push approval must bind to the exact SHA above. Any source edit or base rebase requires fresh gates and review.