From a1190dddca337e2c42e687067ec90c679096df72 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Thu, 9 Jul 2026 15:26:02 +0200 Subject: [PATCH] docs(policy): note promotion_min_overlap_days in the B1 spec field list (review minor) Co-Authored-By: Claude Opus 4.8 --- .../2026-07-09-declarative-gate-promotion-policy-b1-design.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/superpowers/specs/2026-07-09-declarative-gate-promotion-policy-b1-design.md b/docs/superpowers/specs/2026-07-09-declarative-gate-promotion-policy-b1-design.md index 1af7987..53df352 100644 --- a/docs/superpowers/specs/2026-07-09-declarative-gate-promotion-policy-b1-design.md +++ b/docs/superpowers/specs/2026-07-09-declarative-gate-promotion-policy-b1-design.md @@ -51,7 +51,9 @@ A new module `src/fxhnt/application/gate_policy.py`: - reconciliation: `min_forward_days: int`, `recon_tolerance_frac: float`, `recon_min_band: float`, `recon_min_corr: float`, `max_gap_days: int` - absolute: `min_days: int`, `min_total_return: float`, `min_sharpe: float` - - promotion: `promotion_max_corr: float` (the auto-corr backstop threshold) + - promotion: `promotion_max_corr: float` (the auto-corr backstop threshold) + `promotion_min_overlap_days: + int` (minimum overlapping days for a valid correlation — below this the corr is indeterminate and + promotion is withheld). Both are covered by `policy_hash`. - `POLICY_VERSION: int` — bumped on ANY change to the policy defaults (auditable; dev-controlled). - `policy_hash(policy: GatePolicy, version: int) -> str` — sha256 of the canonical policy fields + version (content-derived; a forgotten version bump still changes the hash → the self-check test fails).