Navigation

Bruntwork · Eon Labs · bigblack · driver: native Claude Code /loop (20-min) · 2026-06-07

Forex Orthogonal-Feature → Production Implementation

Implement the 14 ξ-confirmed parameterless-orthogonal forex candidates as REAL production feature columns in fxview_cache.forex_bars, by copying the engineering of the crypto bar_close #509 promotion — not the crypto. ONE PR per feature; every PR human-merged.

▶ CAMPAIGN COMPLETE (2026-06-09, laptop run) — 9 of 9 implementable features shipped + bootstrap. Feature #9 (FINAL) spectral_log_slope SHIPPED → PR #99 (#1 anderson = #91, #2 edge = #92, #3 hvg = #93, #4 kendall = #94, #5 lziv = #95, #6 mann_kendall = #96, #7 sevcik = #97, #8 sign_entropy = #98). First spectral / log-log-PSD feature. Chain bit-faithful: SSoT oracle (discovery-probe k_spectral_slope over the RAW "close" 200-bar trailing window: mean-center → one-sided real-DFT power → drop DC → OLS slope of log(P) vs log(f) over surviving positive-power bins ≥8; slope verbatim NOT negated) → Rust kernel (direct DFT std cos/sin mod-n twiddle + closed-form OLS; no new dep) → producer column → populate (200-bar close ring, no gap-null like sevcik) → batch≡streaming parity (11200 windows, max|dev| 4.641e-14 ≪ 1e-6) → 3-way FOSS (probe-form vs clean-room hand-DFT+hand-OLS vs scipy.fft.rfft+scipy.stats.linregress: 0 mismatches, 0 mask divergences, max|dev| 2.7e-14 / 1.4e-14 over 11200) → feature_metadata. Load-bearing finding: the probe's (P>0) mask drops numpy pocketfft exact-zero bins (even-n Nyquist) that a direct DFT leaves at ~1e-60 → one bin at log(P)≈−138 caused a 1.4-slope divergence; fixed with a relative numerical-zero floor P>ε²·max_P (machine-defined ε², NOT a tuned knob, NOT a frequency-band restriction → parameterless preserved), reproducing numpy's bin set on all 11200 windows. FOSS trap: card lists librosa poly_features but librosa fits magnitude-over-LINEAR-freq, NOT log-log PSD slope — scipy (FFT+linregress, BSD-3) is the correct discrete ref. check:all-gates green on macOS except (a) worktree git-hook-installed + (b) the STANDING foreign research-orthogonality substrate-skip (operator-follow-up; see handoff). §11 STOP reached: all 9 implementable PRs + bootstrap opened; 5 deferred NOT attempted. Bootstrap #90 + feature PRs await operator merge (order #90 → #91 → #92 → #93 → #94 → #95 → #96 → #97 → #98 → #99).
10 / 10
PRs (bootstrap + 9) ✓
9 / 14
implementable now
5
deferred (3 substrate + 2 param)
12 / 12
bootstrap tests pass

⛔ Operator Morning Handoff

(1) Current state. Bootstrap PR #90 is OPEN (branch feat/odb-ext/bootstrap, rebased onto 967a0d8 after hygiene PR #89 merged), awaiting review + squash-merge. Scaffold + the Challenge-and-Held F1/F2/F4a fixes applied. 8/8 SOTA-harness + 4/4 cohort anchor-pin tests pass; rust:check + rust-bash-line-ref-bounds green; test_schema_contract unaffected (no producer wire-format / schema.sql change by design). F3 caveat: the fail-loud anchors are macOS-verified but UNVERIFIED on Linux/bigblack pending the pre-existing signal_ring test-build breakage (out of campaign scope) — see the PR body + BOOTSTRAP_STATUS.md.
(2) Follow-up gaps + distance to closed.
DEFERRAL REGISTER · why 5 of 14 were not implemented (recorded 2026-06-12). Canonical SSoT: findings/audits/2026-06-03-forex-parameterless-orthogonal-candidate-discovery/DEFERRALS.md (PR #100); each discovery candidate card now carries an Implementation disposition section and discovery KEEPERS.md carries the 14-keeper outcome table. This callout is a mirror, not the SSoT. Resurrection conditions: substrate-blocked → a persisted intra-bar substrate lands via an operator-approved sidecar + schema + rebuild campaign; parameter-flagged → an operator-recorded pin for every listed knob (+ clean-room attestation for card 17). The compile-time cohort anchor (exactly_eleven_implementable_three_blocked) encodes the substrate axis only (11 implementable + 3 blocked); the 2026-06-09 parameterless axis explains 11→9.
(3) SOTA robustness — applied vs deferred.
(4) Hygiene debt (foreign, pre-existing) — operator follow-up. Full ledger: findings/audits/2026-06-07-…/HYGIENE_DEBT.md (on PR #90).

14-Feature Ledger

#FeatureCardStatusTierSSoT / note
PR #1 bootstrapPR #90 OPEN#90 · fixture + harness + cohort anchor + C&H F1/F2/F4a (598d1d8 + bf907d2)
1anderson_darling_a2110PR #91 OPENε 1e-9scipy.stats.anderson (RAW, ddof=1) · parity max|dev| 4.5e-13 (11200 windows) + batch≡streaming + 3-way FOSS
2dhvg_indeg_outdeg_kld30deferred · param-flaggedEXACT+εNOT parameterless (KLD orientation + arg + zero-bin ε) — pin-or-drop
3edge_spread_bps52PR #92 OPENε 1e-9bidask.edge · parity max|dev| 9.78e-11 (11200) + batch≡streaming + 3-way FOSS (edge vs edge_rolling 3.54e-14)
4hvg_clustering54PR #93 OPENEXACT+εts2vg HVG + networkx.average_clustering · parity max|dev| 9.99e-16 (11200) + batch≡streaming + 3-way FOSS (0 edge-set mismatches vs clean-room numpy HVG)
5kendall_taub_ret_spread79PR #94 OPENEXACT+εscipy.kendalltau(variant='b') · integer-exact concordance counts · parity max|dev| 2.78e-17 (11200) + batch≡streaming + 3-way FOSS (0 mismatches / max|dev| 0.0 vs clean-room numpy tau-b)
6local_variation_lv47substrate-blockedεneeds per-quote intervals (not persisted)
7lziv_complexity_signs40PR #95 OPENEXACT+εantropy.lziv_complexity · EXACT integer LZ76 count · parity max|dev| 2.22e-16 (11200) + batch≡streaming + 3-way FOSS (0 mismatches / max|dev| 0.0 vs clean-room substring-LZ76)
8mann_kendall_z20PR #96 OPENEXACT+εprobe k_mann_kendall · integer-exact S, SIMPLE var (NO tie correction) · parity max|dev| 3.553e-15 (11200) + batch≡streaming + 3-way FOSS (0 S-mismatches vs clean-room + pymannkendall integer S; tie-pervasive substrate → no-tie-correction is load-bearing)
9mean_cosine_turning_angle17deferred · param-flaggedε 1e-9NOT parameterless (dt-convention + normalization + all-flat) — pin-or-drop · trajr GPL clean-room
10pietra_hoover_durations120substrate-blockedεneeds per-quote durations (not persisted)
11sevcik_fd10PR #97 OPENε 1e-9probe k_sevcik · unit-square curve-length FD · parity max|dev| 6.661e-16 (11200) + batch≡streaming + 3-way FOSS (0 mismatches vs clean-room + neurokit2.fractal_sevcik; errata: antropy has NO Sevcik FD, real ref is neurokit2)
12sign_two_state_entropy_rate83PR #98 OPENEXACT+εprobe k_sign_entropy_rate · integer-exact 2×2 transition counts · 2-state Markov entropy rate H=−Σ statp·P·log2 P · parity max|dev| 1.110e-16 (11200) + batch≡streaming + 3-way FOSS (0 mismatches vs clean-room conditional-entropy + pyitlib H(X|X₋₁) ML; FOSS trap: card lists NPEET but NPEET is kNN-continuous — wrong tool; pyitlib is the discrete ref)
13spectral_log_slope75PR #99 OPENε ~1e-6probe k_spectral_slope · full-band log-spectral slope (1/f^α): mean-center → direct real DFT → drop DC → OLS log(P) vs log(f) · parity max|dev| 4.641e-14 (11200) + batch≡streaming + 3-way FOSS (0 mismatches vs clean-room hand-DFT + scipy.fft/linregress; P>0 mask reconciled by ε²·max_P numerical-zero floor; FOSS trap: card lists librosa but librosa fits magnitude-over-linear-freq — scipy is the correct log-log ref)
14spread_sign_reversal_rate111substrate-blockedEXACT+εneeds per-quote spread seq (not persisted)

Iterations

Presentation layer only — never the SSoT. Repo SSoT: findings/audits/2026-06-07-forex-orthogonal-feature-implementation/ on branch feat/odb-ext/bootstrap (commit a61cc58).