Checked against the ragleap-core v0.13.10 release notes on 2026-11-28. Sub-agents stay off by default and upgrading switches nothing new on.
What changed for approvals?
- An approval is bound to the exact action (#1574). When an action waits for approval, RagLeap stores a SHA-256 hash of its id, type, channel, target, content, subject and role, plus an HMAC of that hash when a signing key is configured. Right before the approved action runs, the hash is recomputed from the exact fields about to run. If anything differs, even one character, nothing runs and an
approval_mismatchaudit event is written. - The approval message now shows a short
Ref, and the approve API route accepts an optionalaction_hash(the Ref). A different one runs nothing and leaves the action pending. TypedYES <id>andNO <id>replies work as before. - A clash on the short pending id now draws a new id, and the approval message is only sent for an action that was stored.
What changed for sub-agents?
Sub-agents are off by default. The signed start record of a child now includes a hash of its tool list, so a child whose tools were swapped, narrowed, widened or emptied between signing and execution is refused, and so is an old record without the hash (#1574). A child token budget and child slot are reserved with one atomic database update before the child exists, so two spawns that look at the same remaining budget cannot both take it. If the database cannot be reached, no child starts (#1579).
What must I do before upgrading?
Apply db/schema.sql (or the deploy script block) before starting the new app. It adds five columns with ADD COLUMN IF NOT EXISTS: autonomy_pending.action_hash, autonomy_pending.action_sig, agent_run_starts.tools_hash, agent_runs.reserved_tokens and agent_runs.spawned. The previous version ignores them.
What are the limits?
- Approvals created before the upgrade have no hash and still run until they expire (7 days by default).
- Without a signing key only the hash is stored. That catches a changed field, but not someone who can also rewrite the hash in the database.
- The budget reservation is worst case, so a parent that already used much of its tree cap can be refused a child that would have used less.
- Child runs started before the upgrade with an older start record are refused if they were still waiting.
What is not covered?
A real approval with the Ref line over a live Telegram chat has not been tested yet, and neither has real parallel spawning, which does not exist yet.
Quick answers
What does it mean that a RagLeap approval is bound to the exact action?
When an action waits for approval, RagLeap stores a SHA-256 hash of its id, type, channel, target, content, subject and role. Right before the approved action runs, the hash is recomputed from the exact fields about to run. If anything differs, even one character, nothing runs and an approval_mismatch audit event is written.
What must I do before upgrading to ragleap-core v0.13.10?
Apply db/schema.sql (or the deploy script block) before starting the new app. It adds five columns with ADD COLUMN IF NOT EXISTS: autonomy_pending.action_hash, autonomy_pending.action_sig, agent_run_starts.tools_hash, agent_runs.reserved_tokens and agent_runs.spawned. The previous version ignores them.
Do approvals created before v0.13.10 still work?
Yes. Approvals created before the upgrade have no hash and still run until they expire, 7 days by default.