NAME

Langertha::Raid::Parallel - Parallel Raid orchestrator with branched context isolation

VERSION

version 0.305

SYNOPSIS

my $raid = Langertha::Raid::Parallel->new(
  steps => [ $a, $b, $c ],
);

my $result = await $raid->run_f($ctx);

DESCRIPTION

Runs child steps concurrently using Futures. Each branch receives a cloned context (via $ctx->branch), so branch mutations are isolated. Branch snapshots are merged back into parent artifacts under merge_slot.

Aggregation strategy:

  • If any branch aborts, first abort is propagated.

  • Otherwise first question is propagated.

  • Otherwise first pause is propagated.

  • Otherwise final branch texts are concatenated with newlines.

merge_slot

Artifact slot name where merged branch snapshots are stored.

run_f

my $result = await $raid->run_f($ctx);

Executes all child steps concurrently with branched context isolation and deterministic result aggregation.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudss.us/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.