From 209f93269341276b89fc0ab137f108f2a7ceaed4 Mon Sep 17 00:00:00 2001 From: "selfhosted-codex-audit[bot]" Date: Thu, 28 May 2026 22:42:16 +0800 Subject: [PATCH] codex: long horizon signal shadow for issue #4 --- data/output/latest_signal.json | 37 ++++++++++++++++++++++ data/output/latest_signal.manifest.json | 26 +++++++++++++++ data/output/signal_history/2026-05-28.json | 37 ++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 data/output/latest_signal.json create mode 100644 data/output/latest_signal.manifest.json create mode 100644 data/output/signal_history/2026-05-28.json diff --git a/data/output/latest_signal.json b/data/output/latest_signal.json new file mode 100644 index 0000000..87d0e73 --- /dev/null +++ b/data/output/latest_signal.json @@ -0,0 +1,37 @@ +{ + "schema_version": "1", + "as_of": "2026-05-28", + "generated_at": "2026-05-28T14:38:47.474891Z", + "mode": "shadow", + "horizon": "1-3 months", + "universe": ["SPY", "QQQ", "SOXX", "TQQQ", "BIL", "BOXX"], + "regime": "mixed", + "risk_flags": [ + "price_only_context", + "semiconductor_and_leveraged_etf_high_volatility", + "no_point_in_time_replay_evidence" + ], + "candidate_bias": { + "SPY": "positive", + "QQQ": "positive", + "SOXX": "watch", + "TQQQ": "avoid", + "BIL": "neutral", + "BOXX": "neutral" + }, + "confidence": 0.58, + "evidence": { + "sources": [".codex-audit/monthly_issue.md"], + "summary": "The 2026-05-28 point-in-time context shows SPY, QQQ, SOXX, and TQQQ above their 200-day averages with positive short- and medium-term returns. QQQ and SPY volatility are normal, while SOXX and TQQQ show high realized volatility, so the shadow regime is mixed rather than an execution signal.", + "data_gaps": [ + "No replay or backtest evidence is attached for this specific artifact.", + "Context is primarily price, trend, and volatility data; macro, valuation, and event risks were not independently verified.", + "Historical AI judgments must come from saved artifacts, not regenerated prompts." + ] + }, + "expires_at": "2026-06-28", + "policy": { + "execution_allowed": false, + "downstream_use": "Research-only shadow context. Execution, allocation changes, and order generation are blocked unless a separate deterministic policy engine explicitly consumes this artifact under its own controls." + } +} diff --git a/data/output/latest_signal.manifest.json b/data/output/latest_signal.manifest.json new file mode 100644 index 0000000..4b46ba1 --- /dev/null +++ b/data/output/latest_signal.manifest.json @@ -0,0 +1,26 @@ +{ + "schema_version": "1", + "artifact": "data/output/latest_signal.json", + "history_artifact": "data/output/signal_history/2026-05-28.json", + "artifact_sha256": "d21c65ffbcc62386201ad2fe8139acaaf4b842e5019c9e768b3b7e2678e9ff31", + "as_of": "2026-05-28", + "generated_at": "2026-05-28T14:38:47.474891Z", + "mode": "shadow", + "source_issue": "https://github.com/QuantStrategyLab/AiLongHorizonSignalPipelines/issues/4", + "source_ref": "main", + "source_files": [ + ".codex-audit/monthly_issue.md", + ".codex-audit/context.json" + ], + "validation": { + "commands": [ + "python scripts/validate_latest_signal.py", + "python scripts/validate_latest_signal.py data/output/signal_history/2026-05-28.json" + ], + "status": "passed" + }, + "policy": { + "execution_allowed": false, + "downstream_use": "Manifest only records provenance for a shadow research artifact; it does not authorize execution." + } +} diff --git a/data/output/signal_history/2026-05-28.json b/data/output/signal_history/2026-05-28.json new file mode 100644 index 0000000..87d0e73 --- /dev/null +++ b/data/output/signal_history/2026-05-28.json @@ -0,0 +1,37 @@ +{ + "schema_version": "1", + "as_of": "2026-05-28", + "generated_at": "2026-05-28T14:38:47.474891Z", + "mode": "shadow", + "horizon": "1-3 months", + "universe": ["SPY", "QQQ", "SOXX", "TQQQ", "BIL", "BOXX"], + "regime": "mixed", + "risk_flags": [ + "price_only_context", + "semiconductor_and_leveraged_etf_high_volatility", + "no_point_in_time_replay_evidence" + ], + "candidate_bias": { + "SPY": "positive", + "QQQ": "positive", + "SOXX": "watch", + "TQQQ": "avoid", + "BIL": "neutral", + "BOXX": "neutral" + }, + "confidence": 0.58, + "evidence": { + "sources": [".codex-audit/monthly_issue.md"], + "summary": "The 2026-05-28 point-in-time context shows SPY, QQQ, SOXX, and TQQQ above their 200-day averages with positive short- and medium-term returns. QQQ and SPY volatility are normal, while SOXX and TQQQ show high realized volatility, so the shadow regime is mixed rather than an execution signal.", + "data_gaps": [ + "No replay or backtest evidence is attached for this specific artifact.", + "Context is primarily price, trend, and volatility data; macro, valuation, and event risks were not independently verified.", + "Historical AI judgments must come from saved artifacts, not regenerated prompts." + ] + }, + "expires_at": "2026-06-28", + "policy": { + "execution_allowed": false, + "downstream_use": "Research-only shadow context. Execution, allocation changes, and order generation are blocked unless a separate deterministic policy engine explicitly consumes this artifact under its own controls." + } +}