「時間・次元観測器群 SPEC v0」 (8 observer × 5 Phase) の Phase 1 = 記録器 + 予測器 + 検証器 + バックテスト baseline 実装 + G1-G3 gap fill。STEP 2244 audit で Phase 1 進行判定 = 可 の直後 起工、藤本さん explicit 「(i) でお願い致します」 応答。
| 器 | file | 行数目安 | 状態 |
|---|---|---|---|
| 記録器 (Recorder) | src/aios/time-dim-observers/recorder.ts | ~90 | ✅ 実装 |
| 予測器 (LeakSafePredictor) | src/aios/time-dim-observers/predictor.ts | ~90 | ✅ 実装 (G2 leak guard 込み) |
| 検証器 (Validator) | src/aios/time-dim-observers/validator.ts | ~130 | ✅ 実装 (G3 型統合) |
| バックテスト (runBacktest) | src/aios/time-dim-observers/backtest.ts | ~80 | ✅ 実装 |
| 合成データ (synthetic) | src/aios/time-dim-observers/synthetic.ts | ~60 | ✅ 実装 (AR(1) + sine + mulberry32) |
| 統合 event schema (G1) | src/aios/time-dim-observers/types.ts | ~80 | ✅ 実装 (Observation<V> envelope) |
| test | test/step2245-time-dim-observers-baseline-test.ts | ~250 | ✅ 46/46 PASS |
| README (SPEC v0 §必須の制約 差分明記) | src/aios/time-dim-observers/README.md | ~100 | ✅ 実装 |
| Gap | 内容 | Phase 1 status |
|---|---|---|
| G1 | 統合 event schema (8 器共通の Observation<V> envelope) | ✅ 実装 (types.ts) |
| G2 | leak-防止 test harness (strategy に t 以降 を 見せない) | ✅ 構造的 enforce (predictor + spy test) |
| G3 | 予測器 → 検証器 型統合 (Prediction / PredictionResolution) | ✅ re-export で共有 |
| G4 | 称号 registry (config-driven) | ⏸ Phase 2 defer |
| G5 | 探索器 anti-overclaim convention | ⏸ Phase 5 defer |
npx tsx test/step2245-time-dim-observers-baseline-test.ts ── 1. Recorder ── ── 2. LeakSafePredictor (G2 leak-防止) ── ── 3. Validator ── ── 4. Backtest (walk-forward) ── ── 5. Leak-prevention integration ── 結果: 46 passed, 0 failed
Section 5 の Leak-prevention integration test で、backtest ループ全体を通じ strategy 関数が t 以降の観測値を 一度も見ていない こと を audit spy で確認 (violations.length === 0)。
recorder.asOf(t) の frozen slice のみを渡し、生の recorder は渡さない設計。leak 検出テストが同梱Observation<V> envelope を供給 (wrapper 相当、STEP 2244 audit の (b) 判定と一致)PredictionUncertaintyEngine を wrap し strategy 入力 window を構造的に t 以下に絞る (leak 防止 が library level で構造保証、user 責任にせず)Prediction 型で 型統合 (G3)、horizon bin 別 score が SPEC v0 「予測距離別の成績」 の直接記述Backlinks:
prediction-uncertainty-engine.ts / STEP 1020 OctaTheoria Observation envelope