Skip to content

Split agent and provider modules behind a provider trait - #9

Merged
rustfuture merged 8 commits into
mainfrom
refactor/split-modules-provider-trait
Oct 2, 2026
Merged

rustfuture merged 8 commits into
mainfrom
refactor/split-modules-provider-trait

Conversation

@rustfuture

Copy link
Copy Markdown
Owner

Split the agent loop into focused observation, verification, and test modules, and separate provider decisions, the subprocess adapter, and a scripted test provider behind ModelProvider. Move the event log line format into its own module.

Malformed event streams now terminate and reap the provider child process. Add regression coverage for malformed streams and HTTP 503 failures in the provider adapter and worker, including preservation of an already verified patch. Update architecture, reference, and changelog documentation.

Validation on macOS:

  • cargo fmt --check — passed.
  • cargo check --locked --all-targets — passed.
  • cargo clippy --locked --all-targets -- -D warnings — passed.
  • cargo test --locked — passed: 50 unit tests and 2 integration tests. The macOS sandbox test also passed in this environment.

@rustfuture
rustfuture merged commit af0e214 into main Oct 2, 2026
3 checks passed
@rustfuture
rustfuture deleted the refactor/split-modules-provider-trait branch October 2, 2026 08:54
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