Skip to content

Make Indications evaluate the new purchase budget only - #35

Merged
Chreece merged 14 commits into
indicationsfrom
fix/contribution-only-indications-20261013
Oct 13, 2026
Merged

Chreece merged 14 commits into
indicationsfrom
fix/contribution-only-indications-20261013

Conversation

@Chreece

@Chreece Chreece commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Changes the indications line so existing holdings can no longer veto or resize an otherwise valid new-buy suggestion.

New contract:

  • risk, allocation, costs and whole-unit checks apply only to the new purchase budget
  • existing holdings are consulted only for exact owned-instrument filtering
  • the visible portfolio control is unified into one owned-investment filter
  • legacy existing_instruments=exclude remains supported as an alias
  • portfolio overlap, existing cash and complete-portfolio risk are inactive in Indications
  • the Current portfolio source still analyses those instruments, but as independent candidates under the new-contribution risk scope
  • result metadata explicitly reports new_contribution_only, exact_identity_filter_only, and complete_portfolio_enforcement=false

Frontend changes:

  • replaces the misleading Portfolio context wording with an owned-investment filter
  • removes the duplicate New instruments only control
  • removes overlap and existing-cash controls that no longer affect Indications
  • includes localized copy for all supported panel languages

Adds pure policy tests, wiring tests, and JavaScript syntax validation.

@Chreece
Chreece merged commit 27d232d into indications Oct 13, 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