Orchestrata Ultimate › Plans › swarm-execution-plan-2026-08-12

Swarm execution plan — suite runtime + graph defects (2026-08-12)

Source: plans/swarm-execution-plan-2026-08-12.md at 8a2cb42ad · last changed 2026-08-12 · first committed 2026-08-12 · 88 lines.

Prose pending.

Plan text

Swarm execution plan — suite runtime + graph defects (2026-08-12)

Executes plans/suite-runtime-and-graph-defects-plan.md (with §6b/§8 second-review corrections) per the user sign-off: both scopes, suite-side first, executed in parallel by a swarm of coder sub-agents, each in its own wt-* worktree.

Research backing: plans/suite-runtime-research-2026-08-12.md. Baseline: 445.7s wall / 2,312s call CPU @ cf59d5c8. Floor range 289–358s. Final gate reports wall and call CPU (§8-6: call CPU varies ~24% run-to-run; a wall-only comparison cannot prove a win).

Hard rules for every work item

Work items

WI-1 — D7: permanent errors must not enter the memgraph retry storm

WI-2 — D1: MemgraphSemanticGraph.retrieve batched graph-side expansion

WI-3 — D2+D2b: CIG query caching + approximate betweenness

WI-4 — D3: shared fact-extraction + consult across gate tests

WI-5 — Pipeline-once fixtures for agent_check

WI-6 — Retry-budget DI for timeout-path tests

WI-7 — AST/index sharing for query-heavy modules

WI-8 — Fixture sharing for test_search (highest measured fixture share)

Central merge order (after all items report)

  1. Suite-side: WI-4, WI-5, WI-6, WI-7, WI-8 (disjoint files; any order within group)
  2. WI-3 (codemod subtree)
  3. WI-1+WI-2 (same worktree, memgraph adapter) Each merge: --no-ff into master from the primary checkout, targeted affected-tests gate (scripts/run_tests.py --affected origin/master...HEAD --force) before push, push from a worktree (git push origin master:master).

Final gate (central, after all merges)

scripts/run_tests.py --force full suite. Report: wall vs 445.7s baseline AND call CPU vs 2,312s (§8-6), PASS/FAIL with numbers. Update the checklist implement/verify items from the result.