RagLeap Core v0.13.12: Binding AI Agent Approvals to Policy
Can an action still execute under different permissions than the ones it was originally approved for?
With RagLeap Core v0.13.12, we're strengthening the relationship between approval, policy, and delegated execution.
RagLeap is an open-source, self-hosted AI employee platform. This release focuses on making existing autonomy safer and more verifiable — not on expanding autonomy.
An approval is meaningful only if the policy it was granted under remains unchanged. In v0.13.12, the approval policy digest is bound to autonomy settings, including:
- Autonomy mode
- Allowed actions and channels
- Approval chat configuration
Before execution, RagLeap checks the policy again.
If the settings no longer match the approved policy, the action is rejected with an explicit reason, such as approval_mismatch or policy_changed.
Approvals without the required action hash or settings digest are also refused.
This helps prevent an approval from being reused after the authority surrounding it has changed.
Delegated agents introduce another boundary: the child agent must begin with the authority it was actually assigned.
RagLeap now binds key details into signed sub-agent start records:
- Tool names, handlers, and effect classes
- Child role and instructions
- Starting taint state
Unknown or missing tools are refused.
Taint can increase as an agent processes untrusted information, but it cannot simply be reduced by a child agent.
The goal is to make the child agent's starting authority explicit and verifiable.
Agent delegation also requires reliable resource accounting. This release adds reconciliation for orphaned budget reservations and explicit refusal reasons for child spawning, including:
child_limitbudget_reservedreservation_unavailable
These reasons make it easier to understand why a delegation was refused and help prevent resource accounting from silently becoming inconsistent.
When upgrading to v0.13.12:
- Apply the updated
db/schema.sqlbefore starting the application. - Pending approvals created under older formats may be refused and need to be approved again.
- Unfinished child runs with older start records may be refused.
- Sub-agents remain disabled by default.
A signing key provides stronger protection for policy digests. Without it, an actor with direct database write access may be able to rewrite a digest.
Please review the release notes and migration requirements before upgrading a production deployment.
This release does not enable sub-agents by default, and it does not introduce parallel spawning. The focus is narrower: strengthen the authorization and integrity boundaries around approval and delegation.
An AI agent should not be able to carry an approval into a different policy context. A delegated agent should not silently begin with different tools or instructions from the ones recorded. And when execution is refused, the system should provide a reason that can be inspected. These are small but important steps toward building AI systems whose actions are governed by explicit, testable boundaries.
RagLeap Core v0.13.12
Release notes: github.com/ragleap/ragleap-core/releases/tag/v0.13.12
GitHub: github.com/ragleap/ragleap-core
Website: ragleap.com
Documentation: docs.ragleap.com
RagLeap is open-source and self-hosted. Developers can run it on their own infrastructure and retain control over their data and AI providers.
We're continuing to improve the security, governance, and reliability of open-source AI agents.






Comments
0 comments