Write per-member traces (or reject --trace) on a blueprint sweep #168
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?
aura sweep <blueprint.json> --trace <fam>(cycle 0093, #166) setspersist=truein
SweepBlueprintArgs, butrun_blueprint_sweep(crates/aura-cli/src/main.rs)does
let _ = persistand always persists the family (manifests + metrics) viaappend_family— it writes no per-member trace series to the trace store.Consequence (verified by the cycle-0093 architect review): for a blueprint sweep,
--trace <fam>and--name <fam>behave identically (family persisted, no traces)— diverging from the hard-wired
run_sweep, where--tracewrites the per-membertap series + runs
ensure_name_free. The flag silently under-delivers.Resolve: either implement per-member trace-writing for blueprint sweeps (mirror
run_sweep's--tracepath) so--tracewrites traces +--nameonly persists thefamily, or make the flag honest (reject
--traceuntil traces land, or document thefamily-only semantics). Surfaced by the cycle-0093 architect drift review
(classified debt-medium).
Triage 2026-07-09 (tree at
68317ec) — the flag is still a silent no-op, and the surrounding surface has moved in ways that sharpen the fix:let _ = persist;in run_blueprint_sweep ("reserved for the deferred per-member trace path" per its own comment).aura sweep --traceas the way to record traces.persist_taps: vec.aura runrejects --trace (main.rs:2586-2589) and mc rejects --name/--trace (:2387-2389).presentation.persist_tapswrites traces//<cell_key>/ via persist_campaign_traces (crates/aura-cli/src/campaign_run.rs:638).Two honest resolutions: reject --trace on sweep/walkforward (matching the run/mc precedent, fixing the two help lines and the chart hint), or translate --trace into a persist_taps campaign presentation block. Either ends the silent under-delivery. Label adjusted to
bug: observable misbehaviour (help text promises what the code discards).Decision: refuse-with-forward-pointer (/boss)
Fork: fix the dishonesty by (a) rejecting
--traceon sweep/walkforward, or (b)implementing per-member trace-writing (translate
--traceinto apersist_tapscampaign block).
Decision: (a) reject with a forward-pointer. Basis: derived — the project's
established idiom for a capability advertised on a path but not yet implemented
there is refuse-with-a-forward-pointer (the #215 "--select plateau is not yet
available on the campaign path; see #215" pattern; the same shape used for the
#159/#220 path refusals). Applying it here:
sweep/walkforwardreject--tracewith a "not yet available on
<verb>; see #224" message (mirroring the existingaura run--trace andaura mc--name/--trace refusals), and the two clap helplines + the chart
NotFoundhint drop the "also persists each member's taps"promise. Implementing per-member trace-writing is new behaviour across two sweep
paths (
run_blueprint_sweep+ the--realsugar) — filed forward as #224(feature), not laundered into this bug fix.
Scope: the observable bug (the lying help/hint + the silent-no-op flag) is fixed
now; #224 lifts the refusal once the traces actually land.