Files
Alessandro Frau 618c982678 Delegate to Claude Code as an official harness
Run Claude Code through a new a0-harness helper that the orchestrator skill copies into the workspace. The helper checks sign-in through Claude Code's own status command, removes model-provider API keys in subscription mode, refuses to run on a billing-mode mismatch, allows one delegation at a time by default, and stops on a rejected usage limit without retrying.

The skill now opens with account rules: Agent Zero never signs in, never touches credential stores, never calls a model vendor itself, and never switches accounts. The Claude Code adapter no longer inspects or deletes the credentials file, and the default permission mode is acceptEdits instead of bypassPermissions. Other adapters are unchanged.

With consent, the helper registers as Claude Code's status line command and caches the 5-hour and 7-day plan windows. The Welcome account card shows them as a reading reported by Claude Code. The README gains a quick start.

27 orchestrator tests pass, including 13 helper tests against a fake claude binary. A real delegation succeeded against Claude Code 2.1.337 in API-key mode. The host route through the Launcher gateway, a run on a Claude plan, and the rendered Welcome card are not yet verified.
2026-12-05 02:47:56 +01:00
..