Files
ai-agent/backend/runs/service.py
Gabriel Vidal 36fccc17ee feat(runs): pin a guest's run server-side and tag every author
A guest spawn runs in exactly one project they hold chat on, from its
directory, on the default account, the host sidecar and the claude
harness, with an allowed model and under their monthly budget, whatever
the composer sent. It carries a scope (dontAsk + edits only under the
project and /tmp, credential reads denied, a system prompt naming the
guest and their level, no remote control) and pings the owner. In a
shared conversation every turn is prefixed with an <ai-agent-from/> tag
the parser turns into the item's author. Tests: test_guests.py (19).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 15:27:23 +02:00

14 KiB