Files
gabrielvidalandClaude Opus 5.5 c6e15991c2 fix(cron,sidecar): a guest's job and pi runs reach their tool proxy
A guest's scheduled job had no tools scope, so the lab's shims (meta,
nanobanana…) saw AIA_GUEST without AIA_TOOLS_TOKEN and refused: Cel's
10:00 Meta recap ran `meta` as nobody and mailed « Récap impossible »
whatever her key. scope_for_job now carries tool_scope() like a chat run.

The pi harness never exported scope.tools (only claude's settings env
did): the sidecar's _launch now sets AIA_TOOLS_URL / AIA_TOOLS_TOKEN from
the scope for every harness, and drops an inherited pair otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:00:34 +01:00
..