ragleap-core v0.13.7
Hardening of the sub-agents (still off by default) and the first code of the integration contract. Upgrading switches nothing new on.
Before you upgrade
- Apply
db/schema.sqlto your database before you start the new version. It adds three columns toagent_runs. It is additive and safe to run again. The new version reads those columns whenever it reads an agent run, so without this step agent-run requests fail until you do it. (v0.13.4 had the same kind of step.)
Fixes and hardening
- A placeholder answer counts as empty (#1486). When a model returns only the placeholder "No answer generated.", the call is retried once with a larger token budget and then goes to the next provider, instead of the placeholder being shown as the answer.
- Sub-agents: the gate decides whether a child may start (#1516). One decision point checks the owner's switch, the depth and the number of children, writes an audit event and refuses when it cannot decide. A child run now needs approval for every action if the run above it is a sensitive role (before, the model could pick a non-sensitive role for the child and lift that rule). A child's tools are cut down to its parent's.
- Sub-agents: a signed start record (#1519). Each child row carries a record that the gate wrote once when it allowed the start, signed with a key derived from
ADDON_ENCRYPTION_KEY. A child without a valid record is refused every time it runs or resumes. A child also stops when its parent role's remaining token budget is spent, and a whole run tree shares one step limit (before, each child had its own).
Integration contract, groundwork (not used by the product yet)
- A draft capability declaration schema, a local conformance checker (
scripts/ragleap_conformance.py), a host contract, an effective-policy resolver, an immutable declaration registry, declarations for the built-in tools, and a boundary test that keeps executors inside the gate (#1488, #1493, #1498, #1508, #1510, #1515).CONTRIBUTING.mdand the pull request template now say: until process isolation exists, a connector that runs inside the RagLeap process is trusted, reviewed code (#1511). None of this changes how the product behaves today.
Upgrade notes
- Schema: three additive columns (see above). No setting you must set. File writing, deleting and sub-agents stay off.
- Sub-agents also need
ADDON_ENCRYPTION_KEYto be set (the installer sets it); without it no sub-agent starts. - If you turned sub-agents on, a child that was running under an older version is refused when it resumes.
- Not tested yet: a real-model sub-agent run after these changes (planned right after this release).
Thanks
Thanks to Boardy for the architecture review that shaped the integration contract and the sub-agent hardening, and to everyone who tested and reported. Contributors are credited by name in the pull requests.