RagLeap
Blog

v0.13.11: a sub-agent can only be started through one gate function

Checked against the ragleap-core v0.13.11 release notes on 2026-11-28. Sub-agents stay off by default and upgrading switches nothing new on. There is no database change.

What changed in how a sub-agent starts?

Starting a child now goes through one gate function (#1587). The agent loop no longer starts a child itself. It calls execute_delegation in the same module as the gate for every other action. That function checks the plan, asks the existing spawn decision (owner switch, depth, number of children, signing key, forced approval for sensitive roles) and only on a yes hands over to the code that reserves the budget, writes the signed start record and runs the child. The spawn code refuses anything that does not carry the gate decision.

What did the boundary scan change?

The boundary scan now treats the spawn like the other executors: it may only appear inside the gate function. A test pins that the loop calls nothing else.

Why is there no separate owner prompt for the spawn?

A spawn has no effect on the outside world, and every action a child takes goes through the gate on its own, so the owner still approves each effect. This is written into the declaration of the delegate operation and into the docs.

What are the limits?

The spawn function is still an ordinary Python function name. The guarantee comes from the boundary scan and the tripwire tests, not from Python visibility.

What is not covered?

Parallel spawning has not been tested yet, because it does not exist yet.

Quick answers

What does ragleap-core v0.13.11 change for sub-agents?

The agent loop no longer starts a child itself. It calls execute_delegation, in the same module as the gate for every other action. That function checks the plan and asks the existing spawn decision (owner switch, depth, number of children, signing key, forced approval for sensitive roles). Only on a yes does it hand over to the code that reserves the budget, writes the signed start record and runs the child.

Does starting a RagLeap sub-agent need a separate owner approval?

Not for the spawn itself, because a spawn has no effect on the outside world. Every action a child takes goes through the gate on its own, so the owner still approves each effect. This is written into the declaration of the delegate operation and into the docs.

Do I need a database change for v0.13.11?

No. There is no schema change, and a normal delegation behaves as before, with the same checks, order and messages.

Back to the blog