Skip to content

Add swarm live runs, run history, and remote protocol updates - #384

Merged
neich merged 1 commit into
mainfrom
feat/cli-protocol
Nov 17, 2026
Merged

neich merged 1 commit into
mainfrom
feat/cli-protocol

Conversation

@neich

@neich neich commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Summary

Adds swarm live-run and run-history modules in gaviero-core, extends loop resume, merge, and the pipeline, and updates the CLI entry point, TUI swarm run and dashboard, and the remote protocol (docs, schema, server, and version).

Changes

  • Add crates/gaviero-core/src/swarm/live_run.rs and crates/gaviero-core/src/swarm/run_history.rs; update loop_resume.rs, merge.rs, pipeline.rs, and swarm/mod.rs.
  • Add crates/gaviero-core/tests/swarm_loop_resume_checkpoint.rs and extend crates/gaviero-cli/tests/state_modes_cli.rs; update crates/gaviero-cli/src/main.rs.
  • Update gaviero-remote protocol docs, protocol.schema.json, server, schema, version, and related remote and relay tests.
  • Expand gaviero-tui swarm run and swarm dashboard, with smaller edits in remote setup and the app controller.
  • Adjust crates/gaviero-dsl/examples/deep_explore.gaviero and crate CLAUDE.md / TUI README.md notes.

Testing

  • git diff --check origin/main...HEAD
  • cargo test (skipped: Skipped unless --run-tests is set)

Risks / Notes

  • cargo test did not run, so the new checkpoint test and the other touched tests were not executed in this check.
  • The full branch diff was omitted (over 48000 characters), so this description is limited to the commit, name status, and diff stat. Exact runtime behavior is not verified here.
  • Largest additions are live_run.rs (+1174), gaviero-tui swarm_run.rs (net +948), run_history.rs (+453), and swarm_dashboard.rs (net +318). protocol.schema.json changed alongside the protocol sources and docs; this context does not say whether that schema file is generated.

Commit planning failed; this commit contains all selected changes:

- modified: crates/gaviero-cli/CLAUDE.md (+1/-0)
- modified: crates/gaviero-cli/src/main.rs (+143/-7)
- modified: crates/gaviero-cli/tests/state_modes_cli.rs (+45/-0)
- modified: crates/gaviero-core/CLAUDE.md (+1/-1)
- modified: crates/gaviero-core/src/swarm/loop_resume.rs (+90/-7)
- modified: crates/gaviero-core/src/swarm/merge.rs (+62/-0)
- modified: crates/gaviero-core/src/swarm/mod.rs (+2/-0)
- modified: crates/gaviero-core/src/swarm/pipeline.rs (+52/-2)
- modified: crates/gaviero-dsl/examples/deep_explore.gaviero (+37/-3)
- modified: crates/gaviero-relay/tests/e2e.rs (+1/-0)
- modified: crates/gaviero-remote/PROTOCOL.md (+48/-3)
- modified: crates/gaviero-remote/protocol.schema.json (+5/-4)
- modified: crates/gaviero-remote/src/lib.rs (+4/-0)
- modified: crates/gaviero-remote/src/schema.rs (+1/-0)
- modified: crates/gaviero-remote/src/server/mod.rs (+93/-2)
- modified: crates/gaviero-remote/src/version.rs (+9/-3)
- modified: crates/gaviero-remote/tests/pairing_e2e.rs (+4/-0)
- modified: crates/gaviero-remote/tests/relay_sni_prototype.rs (+1/-0)
- modified: crates/gaviero-remote/tests/server.rs (+95/-0)
- modified: crates/gaviero-tui/CLAUDE.md (+2/-2)
- modified: crates/gaviero-tui/README.md (+2/-0)
- modified: crates/gaviero-tui/src/app/controller.rs (+1/-1)
- modified: crates/gaviero-tui/src/app/remote_setup.rs (+32/-1)
- modified: crates/gaviero-tui/src/app/swarm_run.rs (+902/-46)
- modified: crates/gaviero-tui/src/panels/swarm_dashboard.rs (+306/-12)
- added: crates/gaviero-core/src/swarm/live_run.rs (+1174/-0)
- added: crates/gaviero-core/src/swarm/run_history.rs (+453/-0)
- added: crates/gaviero-core/tests/swarm_loop_resume_checkpoint.rs (+199/-0)
@neich
neich merged commit 614bc0f into main Nov 17, 2026
3 of 4 checks passed
@neich
neich deleted the feat/cli-protocol branch November 17, 2026 18:59
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