RagLeap
ragleap-flows · release notes

ragleap-flows v0.1.0

ragleap-flows 0.1.0

Behaviour changes (read first)

  • None: this is the first release.

First release. (The heading date 2026-11-23 is the date of the CHANGELOG fix; the PyPI upload was on 2026-11-25.)

Added

  • from_json / from_dict: a strict loader for flow files (plain JSON data, no code). Unknown keys, wrong types,
    duplicate keys, NaN, unknown targets, cycles, unreachable steps, paths that read a step that does not always run
    before them and oversize files are refused with FlowError.
  • Steps: tool, approval, branch. Paths ($input.x, $step.field.0), operators eq ne lt le gt ge in exists truthy, all and any.
  • FlowRunner.run(scope, input) and FlowRunner.resume(scope, run_id, decisions): every run belongs to a
    ragleap_security.Scope; a wrong scope, an unknown run and a damaged state give the same ResumeError("unknown run");
    128-bit run ids; an atomic claim on resume; store_for(tenant) for one store per tenant; rate_limiter; audit with
    no text, fail closed; a taint rule for outbound steps after external steps or an untrusted input.
  • dispatch= as an alternative to tools=, so tool calls can go through a per-tenant dispatcher.
  • Hard limits: 100 steps, 256 KiB flow, 64 KiB input, 64 KiB step output, 1 MiB state, 300 s deadline.
  • scripts/mutation_check.py (68 mutations, all killed on Python 3.10 and 3.12).

Verified (after publishing)

  • Both file hashes match the PyPI JSON.
  • The wheel's .py files are identical to the source at the tag.
  • A clean install works (it pulls ragleap-agents 0.6.0, ragleap-security 0.3.0, ragleap-tools 0.6.0); the 153 tests from the source tree pass against the installed wheel (Python 3.12, sandbox).
  • A tenant that tried to resume another tenant's paused run, on the published wheel, got unknown run (memory and SQLite stores), the same answer as for an unknown run id, and the tool did not run for the attacker. The owner's resume finished normally.
  • Before release, on the VPS (Python 3.10.12): 153 tests passed and 68 of 68 deliberate breaks were caught.
  • Provenance of both files decoded and matched.

Not verified

  • A real model or tool provider, Windows and macOS, network file systems.
  • No independent security review has been done.

What this does not defend

  • Who the caller is: the host authenticates and passes the scope.
  • Tools that read another tenant's data by themselves.
  • The identity of the approver.
  • Steps that are marked external dishonestly (the taint rule only works if steps are marked honestly).
  • A crash while a run is executing is not recovered; the deadline is checked between steps.
  • Saved state is not encrypted, and one shared store file shows every tenant.

Provenance

  • PyPI upload: 2026-11-25 11:01 UTC. Tag ragleap-flows-v0.1.0 on commit 5d58844d2228b313ebc6919e0a7f6bbbda5ec665.
  • Wheel sha256 3b2d5c3a5d4364e6c52131dca8b5dd04fb2eb5eaf9e622b44699ba2964466375
  • Source archive sha256 67ea4861d871a59fe5e765b472f2e9ba8edf4a6ec44e83c17ccc3bae18e987f7
  • Both files carry a PyPI provenance record: publisher GitHub ragleap/ragleap-core, workflow release.yml, environment pypi; the digests match.
View on GitHub Package page All releases
v0.1.1 →

Release notes mirrored from GitHub Releases.