Skip to content

Fix incognito trends and harden indication safety without retuning V13 - #38

Merged
Chreece merged 1 commit into
indicationsfrom
fix/incognito-risk-audit-20261106
Nov 6, 2026
Merged

Chreece merged 1 commit into
indicationsfrom
fix/incognito-risk-audit-20261106

Conversation

@Chreece

@Chreece Chreece commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Why

The history dialog exposed financial values in incognito mode. Adversarial review of the indication pipeline also reproduced a safety defect: minimum-lot recovery could resurrect a purchase after final account validation rejected a changed account currency or an unavailable account snapshot.

Changes

  • Redact history totals, changes, axes, statistics, accessible labels, and hover values; preserve deliberate timed per-field reveal.
  • Require verified final contribution-only validation before recovering a minimum lot. Preserve existing global vetoes and invalidate a deterministic AI review if recovery changes its reviewed purchases.
  • Preserve raw unit-price precision and leave conservative cent rounding, fees, and reserve enforcement to the execution-cost engine.
  • Match owned instruments using explicit global/listing identity evidence; retain colliding alias candidates and reject contradictory weak matches.
  • Read ownership from the fresh local ledger without fetching old-holdings market prices or FX. Keep ordinary dashboard enrichment.
  • Reuse already aligned returns for the unchanged risk arithmetic.
  • Refresh panel assets to 0.4.0-r74 and run behavioral frontend regression tests in CI.
  • Add docs/INDICATION_SAFETY_AUDIT_20261106.md with primary research sources, promotion criteria, verification limits, and two remaining ownership-filter consistency risks.

Predictive weights, activation thresholds, risk targets, and V13 signal formulas remain frozen. The selected risk scope remains the new contribution. This audit does not establish superior future returns or a bound on future losses.

Validation

  • Baseline: 2,126 tests passed.
  • Updated branch: 2,257 tests passed, including synthetic production-pipeline safety cases, independent risk arithmetic, identity/ledger cases, and real panel method tests in LinkeDOM.
  • Python compilation, JavaScript syntax checks, and whitespace checks passed.
  • Browser rendering and live Home Assistant installation were not verified because this environment blocked Chromium socket creation.
  • No end-to-end percentage speedup is claimed.

Remaining limits

Malformed FIFO records can still trigger the existing stored-quantity fallback. Exact-owned membership can become stale if a Buy/Sell occurs during analysis; a targeted final candidate recheck is a follow-up. Neither limitation changes the contribution-only risk contract.

Preserve final account vetoes during minimum-lot recovery, keep raw unit precision, match owned instruments using explicit identity evidence, and reuse aligned risk data. Avoid market enrichment of unrelated old holdings. Freeze predictive parameters and document the scientific audit and remaining limits.
@Chreece
Chreece merged commit fbe003c into indications Nov 6, 2026
6 checks passed
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