Skip to content

fix(dag): isolate observed subagent batches and preserve call order - #56

Merged
DEAN-Cherry merged 1 commit into
devfrom
iolaus/subagent-batch-grouping
Oct 30, 2026
Merged

DEAN-Cherry merged 1 commit into
devfrom
iolaus/subagent-batch-grouping

Conversation

@DEAN-Cherry

Copy link
Copy Markdown
Contributor

Summary

  • Replace lifetime per-owner subagent aggregation with durable request/source-Flow batches. Unknown request identity isolates each call; native descendants and explicit followups retain original provenance across reloads.
  • Keep legacy aggregates intact and label them historical. Distinguish Calls batches from scheduled Flows with independent status/count/time.
  • Preserve definition order, including 1..12; observed details use chronological cards and keyboard traversal, no misleading scheduling-wave connectors, and actual parent/child call labels.

Verification

  • bun test: 382 passed, 0 failed, 2,884 assertions.
  • bun run typecheck, check:package, check:reference: PASS (800 reference files).
  • Independent review: PASS after resolving mixed root/child/root ordering and false connector P2.
  • Isolated stock OpenCode 2.2.1 QA: 10 checks passed. Includes queue-delivery attribution, distinct source flows, nested calls, followup after restart, legacy aggregate isolation, mixed-call TUI order and exact child navigation.
  • Evidence: .iolaus/evidence/subagent-batch-grouping/p2-dialog/; earlier harness failures retained and explained. Fixed-height terminal captures retain blank screen rows.

Boundaries

No production database migration, speculative historical splitting, global configuration changes or user-service restart. Explicit followups intentionally retain the original batch clock. Live compaction and narrow-terminal resize are not claimed as newly verified.

@DEAN-Cherry
DEAN-Cherry merged commit 08578f0 into dev Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant