bundle dissolved-verb translator args into an invocation struct #214
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The dissolved-verb translator/runner functions in
crates/aura-cli/src/verb_sugar.rscarry 10-11 positional args and each need a#[allow(clippy::too_many_arguments)](translate_generalize,run_generalize_sugar). This grows as more verbs dissolve onto the same shape(walkforward, mc next in the #210 milestone).
Bundle the common invocation shape (fast, slow, stop_length, stop_k, metric,
name, symbols, from_ms, to_ms, blueprint_canonical) into an invocation struct
shared across the dissolved verbs, dropping the allows. Best done ONCE after the
remaining verbs dissolve, so the struct covers the settled common shape.
context: generalize dissolution (#210) architect drift review, [low]
depends on: the walkforward + mc dissolutions (#210 milestone) — do this after
The walkforward dissolution (#210) landed the THIRD instance of this shape — // (13-arg fns, an 8-element tuple, a third near-identical ). That is the rule-of-three trip point flagged by the cycle-close architect. Deferral still holds by design: the bundle is best cut ONCE over the settled common shape, and one verb remains (mc's R-bootstrap path, #210 decision 7). Do this bundle refactor right after mc dissolves — it will carry all four verbs.
(Reposting cleanly — the previous comment lost its inline code spans to a shell-quoting artifact.)
The walkforward dissolution (#210) landed the THIRD instance of this shape:
translate_walkforward/register_generated_wf/run_walkforward_sugar(13-argument functions, an 8-element
walkforward_args_fromreturn tuple, and athird near-identical
GeneratedWalkforwardstruct besideGeneratedSweep/GeneratedGeneralize). That is the rule-of-three trip point the cycle-closearchitect flagged.
Deferral still holds by design: the bundle is best cut ONCE over the settled
common shape, and one verb remains — mc's R-bootstrap path (#210 decision 7). Do
this refactor right after mc dissolves, so the shared invocation struct covers all
four verbs at once.