Tracker sweep + executor robustness: net-R chain, archive inventory, std::grid, per-cell fault isolation (12 issues) #270
Reference in New Issue
Block a user
Delete Branch "worktree-boss-tracker-sweep-258"
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?
Autonomous
/bosstracker sweep over the 2026-07-13 issue harvest (the quadriga Arc-1 findings) plus the user-filed diagnostics and two follow-up design features. 27 commits, twelve issues resolved; every fix RED-first, every feature cycle gated (grounding-check-signed specs, decision logs on the issues), three audits drift-clean, full workspace suite + clippy green at every commit.Bug
Research evidence chain
Authoring surface
aura data list/aura data coverage <symbol>: archive inventory with month gaps (the real archive reportsCopper missing: 2017-04..2019-09).campaign introspect --unwired, mirrored in the glossary (incl. carry, from the audit).aura --versionprints the engine commit (the manifest's own provenance).Diagnostics
Executor robustness (owner-decided follow-ups, 2026-07-14)
std::grid, the enumerate-only leading stage: the dissolved walkforward/mc translations stop executing and persisting the leading sweep's members (only the grid's parameter points ever crossed the seam). Visible grades byte-identical (exact-grade pins unchanged); measured ~-27% wall clock on a real 2×2 walkforward. Fork B, decided by the owner; ledger-amended.Left open deliberately
idea-labelled items untouched.Fork decisions, auto-sign records, and the discarded plan-defect attempts are documented as comments on the resolved issues (#256/#259/#260/#261/#262/#272 carry the fullest decision logs).
🤖 Generated with Claude Code
Every hand-rolled test-sandbox helper keyed its directory on std::process::id() under env::temp_dir(), so the pre-create wipe never matched a prior run's path: one directory stranded per helper site per test-binary invocation, >50k dirs / 15.5 GiB on the 16 GiB tmpfs by 2026-07-13. The remedy extends commit 84e1075's knob-lab pattern to every site: fixed, tag-keyed, PID-FREE names under the build-tree tmp anchor, each site keeping its pre-create remove_dir_all — which now genuinely reclaims the previous run. Integration/bench targets use env!("CARGO_TARGET_TMPDIR"); src-internal unit-test helpers (cargo sets that var only for integration/bench targets) derive the same anchor from env!("CARGO_MANIFEST_DIR") + ../../target/tmp. Residue is bounded to one directory per site, on disk instead of the tmpfs, per checkout. One deliberate exception: project_new.rs's tmp() stays under env::temp_dir() because two of its tests (new_outside_a_work_tree_*) need a base genuinely detached from any git work tree, and target/ lives inside the checkout's work tree. Its name carries a per-checkout hash discriminator instead, so concurrently running checkouts (which share /tmp) cannot race on the fixed name while each run still reclaims its predecessor. tempfile-RAII was considered and rejected (issue #258 decision log): it cannot cover the process-lifetime OnceLock scaffolds (statics never drop), adds a dependency, and still strands kill-leftovers on the tmpfs. Verified: full workspace suite green (incl. the new RED regression test temp_cwd_sandbox_does_not_leak_under_env_temp_dir), clippy clean, sandboxes observed under target/tmp with stable names across runs. Stale pre-fix PID-keyed dirs in /tmp are not swept by this change and age out only by manual cleanup. closes #258Both blueprint-sweep bind faults (wrong-kind axis value; an open param no axis covers) must print prose in the unknown-axis sibling's register — axis name, kind/knob specifics, a --list-axes pointer — never the raw Debug structs KindMismatch{..}/MissingKnob(..). Exit stays 2. Fails on the Debug leakage present today, not on scaffolding. refs #247The blueprint-sweep terminal rendered BindError via {:?}, leaking KindMismatch { .. } and MissingKnob(..) Rust Debug structs where the sibling diagnostic on the same verb ships prose. Both now render in that register — the axis name, the expected-vs-supplied kinds resp. the unbound knob, and the --list-axes pointer; exit stays 2. Scoped out (same defect family, different verb path): the walkforward path's UnknownKnob wrapper still prints its Debug-ish frame around an already-prose payload and is pinned verbatim by two existing tests; filed as a follow-up rather than widened into this slice. closes #247The second risk-regime variant vol_tf{period_minutes, length, k} computes the vol estimator over completed time buckets: an H1 signal gets an H1-matched stop in the research matrix instead of a hand-scaled minute stop (the issue's k-inflation workaround retires). Additive externally-tagged serde (stored Vol documents keep their content ids); the executor arm wires the VolTfStop primitive via the builder+bind chain; validate checks period_minutes/length/k positivity per regime. The member-manifest round-trip holds for both variants (C1): vol_tf members stamp stop_period_minutes/stop_length/stop_k and the reproduce path re-derives the VolTf stop whenever stop_period_minutes is present — never a silent default-Vol fallback. The Regimes slot label and the unit notes name the new variant (period_minutes IS the stop's timescale); glossary, authoring guide, and design ledger record the second variant. Default regime and sugar paths byte-untouched. Coverage: node units (rollover-only emission, bucket-delta math, the constant-|delta| correspondence with the per-cycle regime), executor fold, serde/validate units, the manifest round-trip unit, and a hostless two-regime e2e (distinct ordinals; vol_tf members stamp their timescale, vol members do not). closes #262Tracker sweep: net-R evidence chain, archive inventory, vol_tf regime, per-instrument costs (10 issues)to Tracker sweep + executor robustness: net-R chain, archive inventory, std::grid, per-cell fault isolation (12 issues)