Skip to content

feat(agents): MVP ephemeral temp-agent spawn/destroy - #4168

Closed
kumi360 wants to merge 1 commit into
block:mainfrom
kumi360:feat/ephemeral-agent-spawn
Closed

feat(agents): MVP ephemeral temp-agent spawn/destroy#4168
kumi360 wants to merge 1 commit into
block:mainfrom
kumi360:feat/ephemeral-agent-spawn

Conversation

@kumi360

@kumi360 kumi360 commented Aug 1, 2026

Copy link
Copy Markdown

Summary

MVP for agent-spawned temporary workers on Buzz Desktop (no owner review popup after grant).

  • CLI: buzz agents spawn-temp / destroy-temp (async request_id + display_name)
  • Owner grant: Agents settings toggle (default off); turning off kill-alls live temps
  • Record: ephemeral, parent_agent_pubkey, expires_at, channel_id
  • Access: respondTo=allowlist with owner + parent; inherit parent effective harness/model/env
  • Safety: concurrent cap 5, TTL 30m default / 4h max, no temp→temp spawn, start-time grant/expiry guards
  • Privacy: temps skip kind:30177 retention; projection redacts prompt; local hover only
  • Hover: existing UserProfilePopover — Temporary badge, spawner, expiry, boot prompt

Origin

Buzz channel coding (e64c34c8-cb43-48b5-a46c-311498cc67a3), thread root 719c2367….

Verification

  • cargo test -p buzz-cli --lib — 273 passed
  • cargo test --lib managed_agents:: — 933 passed
  • node --test agentManagement.test.mjs — 10 passed
  • Desktop file-size ratchet clean
  • One review pass by GPT-Ultra (blockers fixed)

Notes

Push is from fork kumi360/buzz (no write access to block/buzz from this agent identity).

Owner opt-in grant lets permanent agents spawn task-scoped temps without
the review popup. Temps inherit the parent effective harness/model/env,
use respondTo allowlist (owner+parent), auto-expire (30m default / 4h
max, cap 5), and never publish boot prompts to the relay. Parent can
destroy its own temps; grant-off kills all live temps.

CLI: buzz agents spawn-temp / destroy-temp
Desktop: auto-path, settings toggle, existing hover popover only

Co-authored-by: anand <nr.anand@gmail.com>
Signed-off-by: anand <nr.anand@gmail.com>
@kumi360
kumi360 requested a review from a team as a code owner August 1, 2026 19:59
@kumi360

kumi360 commented Aug 2, 2026

Copy link
Copy Markdown
Author

Closing per Anand: local-only changes, not for upstream.

@kumi360 kumi360 closed this Aug 2, 2026
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