{
  "schema_version": "1.0",
  "generated_at": "2026-12-06T11:44:32Z",
  "market": "KC",
  "market_name": "Coffee",
  "sector": "Softs",
  "page_url": "https://marketlabanalytics.com/portfolios/kc/",
  "portfolio": {
    "portfolio_id": "KC_LOCK_v1_0",
    "lock_version": "v1_0",
    "lock_role": "PRIMARY_ETF",
    "lock_state": "STABLE",
    "lock_status": "SHIP",
    "locked_since": "2026-09-10",
    "owner_priority": "H",
    "estate_rank_note": "Coffee is the estate's tropical-softs sleeve. No live rebalance — allocation CSV not yet wired.",
    "data_window": {
      "start": "1988-12-02",
      "end": "2026-09-09",
      "years": 37.8,
      "T_days": 9470
    },
    "layer_state": [
      {
        "layer": "L0",
        "name": "Validation",
        "status": "partial"
      },
      {
        "layer": "L1",
        "name": "Base sleeve",
        "status": "present"
      },
      {
        "layer": "L2",
        "name": "Vol governance",
        "status": "present"
      },
      {
        "layer": "L3",
        "name": "Regime overlay",
        "status": "partial"
      },
      {
        "layer": "L4",
        "name": "Direct-signal tilts",
        "status": "absent"
      },
      {
        "layer": "L5",
        "name": "Tail hedge",
        "status": "partial"
      },
      {
        "layer": "L6",
        "name": "Meta overlays",
        "status": "absent"
      }
    ],
    "layer_detail": {
      "L0_validation": {
        "dsr_gate": "PASS (DSR = 1.0)",
        "dd_trigger": "KC_dd_trigger.json (2/3/5/8)",
        "signal_lifecycle": "NOT INTEGRATED",
        "rolling_exposure": "NOT BUILT",
        "pbo": "NOT BUILT"
      },
      "L1_base_sleeve_note": "Proprietary KC v3 composite — the base return stream that L2 and L3 scale.",
      "L2_vol_governance": {
        "days_dampened_pct": 27.13,
        "mean_scale": 0.9044,
        "min_scale": 0.5,
        "formula": null
      },
      "L3_regime_overlay": {
        "state_source": null,
        "days_dampened_pct": null,
        "mean_scale": null,
        "min_scale": null
      },
      "L4_direct_tilts": "ABSENT",
      "L5_tail_hedge": "PENDING DECISION",
      "L6_meta_overlays": "ABSENT"
    },
    "metrics_evolution": [],
    "metrics_current_v1_2": {
      "sharpe": 0.7059,
      "cagr_raw": 0.046411,
      "cagr_vol_target_10pct": 0.067454,
      "calmar_raw": 0.2808,
      "calmar_vol_target_10pct": 0.2862,
      "mdd_raw": -0.1653,
      "mdd_vol_target_10pct": -0.2357,
      "ann_vol_raw": 0.0678,
      "ulcer_index": 3.1432,
      "cum_return": 4.5478,
      "worst_1day": -0.04403,
      "current_dd_pct": 4.4154
    },
    "ship_gates": {
      "era_stability_v2": {
        "result": "PASS",
        "requirement": "n>500 eras must have t-stat vs zero > -1.5 (statistically distinguishable from negative at ~93% one-sided)",
        "rule_version": "v2 t-stat rule (2026-09-10)",
        "rule_v1_result": "PASS",
        "rule_v1_note": "v1 was strict '>0' — could fail on statistically-flat eras like GC 1988-1999 at -0.16%"
      },
      "dsr": {
        "n_trials": 500,
        "dsr_value": 1.0,
        "result": "PASS"
      },
      "pbo_cscv": {
        "s_blocks": 16,
        "pbo": 0.0,
        "pct_partitions_both_positive": 1.0,
        "min_oos_sharpe": 0.2613,
        "result": "PASS"
      },
      "purged_kfold": {
        "k_folds": 8,
        "label_horizon_days": 21,
        "embargo_days": 5,
        "test_sharpe_median": 0.9278,
        "test_sharpe_min": -0.3483,
        "test_sharpe_max": 1.2526,
        "n_folds_negative": 1,
        "n_folds_significantly_negative": 0,
        "result": "PASS"
      },
      "dd_trigger": {
        "current_dd_pct": 4.4154,
        "current_leverage_floor": 0.75,
        "trigger_hit_threshold": 3
      }
    },
    "era_returns": {
      "1988-1999": {
        "ann_ret": 0.017926,
        "n": 2776,
        "t_stat": 2.558
      },
      "2000-2004": {
        "ann_ret": 0.003613,
        "n": 1240,
        "t_stat": 0.525
      },
      "2005-2009": {
        "ann_ret": 0.005297,
        "n": 1255,
        "t_stat": 0.884
      },
      "2010-2014": {
        "ann_ret": 0.042898,
        "n": 1259,
        "t_stat": 2.742
      },
      "2015-2019": {
        "ann_ret": 0.049534,
        "n": 1259,
        "t_stat": 1.485
      },
      "2020-2024": {
        "ann_ret": 0.179348,
        "n": 1258,
        "t_stat": 2.564
      },
      "2025-2029": {
        "ann_ret": 0.119776,
        "n": 423,
        "t_stat": 2.147
      }
    },
    "rolling_exposure": {
      "window_days": 756,
      "latest_date": "2026-09-09",
      "alpha_ann": 0.1617,
      "r_squared": 0.0099,
      "factor_drift_zscores": {
        "alpha_ann": 0.09,
        "beta_ES": -1.08,
        "beta_US": 0.91,
        "beta_GC": -0.22,
        "beta_CL": 1.0,
        "beta_DX": -0.45,
        "beta_HG": -1.29
      },
      "drift_alerts": [],
      "n_rolling_windows": 3223
    },
    "dd_trigger_schedule": {
      "thresholds_pct": [
        2,
        3,
        5,
        8
      ],
      "leverage_floors": [
        1.0,
        0.75,
        0.5,
        0.0
      ],
      "worst_historical_dd_pct": 26.22,
      "committed_2026_09_10": true
    },
    "gaps_and_next_moves": [
      {
        "layer": "L4 — Direct-signal tilts",
        "status": "absent",
        "what": "Overlays that add or remove exposure based on direct macro signals: managed-money positioning extremes, event-window shocks, regime-shift signals, and market-specific macro reads.",
        "why_relevant": "The Puzzle Pieces inventory for KC carries multiple Z-signals and Y-playbooks on this market. Many are KC-specific macro reads whose polarity / strength maps naturally to a tilt. The layer is empty because no tilt has been argued through the promotion gates yet.",
        "llm_prompt": "Look at pieces.signals and pieces.playbooks on this market. Which three signals have (a) the clearest polarity, (b) a backtested edge > +2pp forward-60d, and (c) cross-era stability on KC — and would make the best L4 tilt candidates?"
      },
      {
        "layer": "L5 — Tail hedge",
        "status": "decision: conditional skip",
        "what": "Infrastructure is ready — Method B dynamic sizing against an options overlay. Owner-deferred because the hedge is expensive and the composite tail is already smaller than raw after L1+L2+L3. Revisit triggers monitored.",
        "why_relevant": "Any regime change that lifts KC allocation above 30% of book or breaks L2's tail suppression makes this layer mandatory. The triggers encode those conditions.",
        "llm_prompt": "Look at the market's implied-vol surface, positioning extremes, and macro-stress reads on the puzzle-pieces page. Which readings are currently flashing signals consistent with the revisit triggers? Rank the triggers from closest to furthest-from firing."
      },
      {
        "layer": "L6 — Meta overlays",
        "status": "absent",
        "what": "Portfolio-level overlays above the single-market layer: correlation to the book, factor-drift triggers, regime-conditional scaling that ties this sleeve to other LOCKED sleeves across the estate.",
        "why_relevant": "The single-market view maxes out at L5. Meta overlays start mattering only once multiple LOCKED sleeves run side by side and inter-sleeve risk needs managing.",
        "llm_prompt": "Not actionable at the single-market level. Revisit after a second and third market LOCKED sleeve ship."
      },
      {
        "layer": "L0 — Validation (partial)",
        "status": "partial",
        "what": "DSR passes at N=500 and DD trigger committed, but signal lifecycle integration, rolling exposure charts, and inline PBO-via-CSCV reporting are not yet built.",
        "why_relevant": "These are the diagnostics that let a future owner see WHY a gate passed and whether that pass is holding over rolling windows. Without them, a quiet drift in factor exposure or signal-lifecycle degradation goes unnoticed.",
        "llm_prompt": "Not a signal-suggestion prompt — this is a tooling gap. Surface in the sidecar so the owner sees it alongside the signal gaps."
      }
    ]
  },
  "cross_links": {
    "puzzle_pieces_page": "https://marketlabanalytics.com/puzzle-pieces/coffee/",
    "puzzle_pieces_sidecar": "https://marketlabanalytics.com/wp-content/uploads/puzzle_pieces_coffee.json",
    "by_the_numbers": "https://marketlabanalytics.com/kc-by-the-numbers/",
    "drawdown_analysis": "https://marketlabanalytics.com/drawdown-kc/",
    "market_personality": "https://marketlabanalytics.com/market-personality/kc/",
    "technical_overview": "https://marketlabanalytics.com/technical-overview/kc/",
    "trading_systems": "https://marketlabanalytics.com/systems/kc/"
  },
  "etf_allocation": {
    "etf_symbol": "futures",
    "etf_name": "futures",
    "etf_full_name": "futures",
    "sample_span_start": "1988-12-06",
    "sample_span_end": "2026-09-09",
    "n_days": 8676,
    "market_ann_vol_pct": 56.32,
    "etf_ann_vol_pct": 56.32,
    "composite_ann_vol_raw_pct": 6.78,
    "vol_target_pct": 10.0,
    "leverage_factor": 1.47,
    "etf_conversion_ratio": 1.0,
    "raw": {
      "avg_abs": 14.98,
      "median_abs": 9.36,
      "p95_abs": 45.42,
      "p99_abs": 99.81,
      "max_abs": 1172.8
    },
    "etf_10pct_vol": {
      "avg_abs": 22.09,
      "median_abs": 13.8,
      "p95_abs": 66.99,
      "p99_abs": 147.2,
      "max_abs": 1729.8
    },
    "time_in_market": {
      "pct_long": 39.8,
      "pct_short": 52.1,
      "pct_flat": 8.2
    },
    "recent_60d": {
      "avg_abs_raw": 8.42,
      "avg_signed_raw": -1.04,
      "avg_abs_etf_10pct_vol": 12.42,
      "avg_signed_etf_10pct_vol": -1.54,
      "last_day_raw": -0.43,
      "last_day_etf_10pct_vol": -0.63
    },
    "rebalance": null
  }
}