Skip to content

refactor(qpk): prefer semantics+display over mixed annotations - #655

Merged
Pigbibi merged 1 commit into
mainfrom
rebuild/b06-annotations-display-split
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
rebuild/b06-annotations-display-split

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • B06 / N05 follow-up after refactor(qpk): B06 value-target execution vs presentation facade #654: keep ValueTargetExecutionAnnotations as the compat wire aggregate, but make ValueTargetExecutionSemantics + ValueTargetDisplayAnnotations the preferred construction path (batch-upgrade-then-remove-compat).
  • VALUE_TARGET_DISPLAY_FIELD_NAMES is the presentation field source of truth.
  • New split_value_target_annotation_parts / resolve_value_target_execution_annotations.
  • build_value_target_execution_runtime_plan accepts semantics= + display= (preferred); annotations= remains.
  • build_value_target_execution_annotations now split→merge (behavior-equivalent).
  • Does not delete mixed display fields yet (B03: wait for consumer adoption / B12).

Out of scope

  • LongBridge / Firstrade decision_mapper (forbidden)
  • Removing fields from ValueTargetExecutionAnnotations
  • SOXL formula move (B03/B07)

Test plan

  • uv run --with pytest python -m pytest tests/test_value_target_presentation_facade.py tests/test_strategy_contracts.py -q (41 passed)
  • CI green

Author: Pigbibi. No CloudAgent.

B06/N05 follow-up after #654: keep ValueTargetExecutionAnnotations as the
compat wire aggregate, but make ValueTargetExecutionSemantics +
ValueTargetDisplayAnnotations the preferred construction path.

- VALUE_TARGET_DISPLAY_FIELD_NAMES as presentation field source of truth
- split/resolve helpers; runtime plan accepts semantics=/display=
- build_value_target_execution_annotations uses split→merge (equiv)
- do not delete mixed fields yet (B03/B12 consumer adoption gate)
@Pigbibi
Pigbibi merged commit 0625232 into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the rebuild/b06-annotations-display-split branch October 9, 2026 10:10
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