Skip to content

add generic agent executor boundary - #14

Draft
pyrex41 wants to merge 4 commits into
masterfrom
agent/rho-run-v1-executor
Draft

add generic agent executor boundary#14
pyrex41 wants to merge 4 commits into
masterfrom
agent/rho-run-v1-executor

Conversation

@pyrex41

@pyrex41 pyrex41 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • introduce a public pkg/executor.Runner boundary
  • retain the current Rho integration through a backward-compatible legacy adapter
  • add an opt-in rho.run/v1 stdin/JSONL executor with strict stream validation
  • allow swarm task and repair paths to receive an injected executor
  • document the boundary and next migration steps

Why

SCUD should own DAG scheduling and wave execution without owning provider APIs or parsing one harness's private event format. This is the first compatible step toward making Rho a bounded executor while preserving all current callers.

Impact

Existing behavior remains the default. The new protocol adapter validates protocol version, run identity, monotonic sequence numbers, terminal events, and terminal payloads. Configuration and CLI selection are intentionally deferred to a follow-up.

Validation

  • go test ./...
  • go vet ./...
  • git diff --check

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