Skip to content

chore: retire strategy vocabulary and banners in modules#628

Merged
mfw78 merged 1 commit into
dev/m1from
chore/hygiene-modules
Jul 25, 2026
Merged

chore: retire strategy vocabulary and banners in modules#628
mfw78 merged 1 commit into
dev/m1from
chore/hygiene-modules

Conversation

@mfw78

@mfw78 mfw78 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

What

Rename the modules' pure-logic files off the stale strategy name and repoint every reference: ethflow-watcher/src/strategy.rs becomes keeper.rs (it submits observations to venues), while the read-only balance-tracker, http-probe and price-alert examples become logic.rs. De-stale the word strategy in module comments and doc comments to keeper (keeper modules) or module (generic), and kill the banner divider comments throughout modules/**.

Why

The strategy name predates the keeper/module vocabulary and no longer matches how these guests are described; banner comments are noise the house style drops. Comments, filenames and mod references only, no behaviour change.

Testing

nix develop --command just ci plus just check-venue-agnostic and just check-cow-orderbook-only, all green (the rename compiles the module wasms).

AI Assistance

Drafted with AI assistance.

Part of #625

Rename the modules' pure-logic files off the stale strategy name: ethflow-watcher submits observations to venues so its logic is keeper.rs, while the read-only balance-tracker, http-probe and price-alert examples become logic.rs. Update every mod declaration, path reference, module.toml and Cargo.toml comment to match.

De-stale the word strategy in module comments and doc comments to keeper (ethflow-watcher, twap-monitor) or module (generic), and kill the banner divider comments throughout modules.
@mfw78
mfw78 merged commit 1f2ab82 into dev/m1 Jul 25, 2026
7 checks passed
@mfw78
mfw78 deleted the chore/hygiene-modules branch July 25, 2026 10:15
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