Skip to content

modules: delete stop-loss example subsumed by composablecow monitor - #570

Merged
mfw78 merged 1 commit into
dev/m1from
m4/568-remove-stop-loss
Jul 24, 2026
Merged

modules: delete stop-loss example subsumed by composablecow monitor#570
mfw78 merged 1 commit into
dev/m1from
m4/568-remove-stop-loss

Conversation

@mfw78

@mfw78 mfw78 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What

Delete the stop-loss example module: crate, workspace member, Cargo.lock entry, every engine.*.toml install, the CI guest-wasm build list, the justfile, and docs that named it. Guest-wasm count drops from 18 to 17.

Why

The module hand-rolled its own submitted:{id} dedup against host.get/host.set and built an unsigned pre-sign order on a path the generic ComposableCoW monitor already covers, leaving a second divergent copy of submit-and-dedup logic. Removing it also clears the worst collision seam for the M4/M3 follow-up waves (#538, #545, #546, #522, #544), which all touched stop-loss/src/strategy.rs.

Testing

Full battery under nix develop, every step exit 0: cargo fmt --check; cargo clippy --workspace --all-targets --all-features --locked -D warnings; wasm release build of the 16 remaining modules plus cow-venue --features adapter, ls target/wasm32-wasip2/release/*.wasm | wc -l == 17; cargo nextest run --workspace --all-features --no-fail-fast --locked (792 passed, 1 skipped); cargo test --doc; RUSTDOCFLAGS=-D warnings cargo doc --no-deps; check-venue-agnostic.sh; check-cow-orderbook-only.sh.

AI Assistance

Implemented with Claude Code.

Closes #568

@mfw78
mfw78 merged commit e0144d9 into dev/m1 Jul 24, 2026
7 checks passed
@mfw78
mfw78 deleted the m4/568-remove-stop-loss branch July 24, 2026 02:27
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