Compare commits
20 commits
8187a4bc1d
...
51c03f7ade
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51c03f7ade | ||
|
|
738af54c93 | ||
|
|
35bbdd89e7 | ||
|
|
b61acd3f08 | ||
|
|
d6394ef327 | ||
|
|
a7336c2585 | ||
|
|
41c82f14d3 | ||
|
|
561133f39b | ||
|
|
75b594f225 | ||
|
|
ce58a067ee | ||
|
|
3e65c36cce | ||
|
|
f69774e34b | ||
|
|
c95fbe6b3c | ||
|
|
8161208f1c | ||
|
|
9685b616cf | ||
|
|
a9d7da14f5 | ||
|
|
d7db920116 | ||
|
|
8f29924ec6 | ||
|
|
563ed111b9 | ||
|
|
65c1d57fa7 |
2 changed files with 2144 additions and 100 deletions
90
notes/trading/system-docs/phase13_5_closure.md
Normal file
90
notes/trading/system-docs/phase13_5_closure.md
Normal file
|
|
@ -0,0 +1,90 @@
|
||||||
|
# Phase 13.5 — Runner Remediation + Control Plane + TrustGate Canonical Path (FORMAL CLOSURE)
|
||||||
|
|
||||||
|
**Status:** FORMALLY CLOSED (Dokumentation/SoT abgeschlossen, Runtime unverändert)
|
||||||
|
**Datum:** 31.08.2026
|
||||||
|
**Autor:** Red Queen (Rain Ocampo / Hermes)
|
||||||
|
**Freigabe:** Christian List (Owner)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Finales Verdict
|
||||||
|
|
||||||
|
> **PHASE 13.5 CLOSED — RUNNER REMEDIATION + CONTROL PLANE + TRUSTGATE CANONICAL PATH VERIFIED**
|
||||||
|
|
||||||
|
Phase 13.5 ist formal geschlossen. Die autoritative Closure-Evidence wurde in Red Queens Ausführungs-/Workspace-Kontext erzeugt und dort verifiziert:
|
||||||
|
|
||||||
|
- **Closure Record:** `/opt/data/rq_phase135_FORMAL_CLOSURE.md` (Red-Queen-Workspace-Kontext)
|
||||||
|
- **Authoritative Runner/TrustGate Evidence:** `/opt/data/rq_phase135_runner_trustgate_final/final-evidence.md` (SHA `5538ecf57ce602afaddab58534ccda05ffcdf311ed6f840532d9bad8283ef097`, Red-Queen-Workspace-Kontext)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Runtime (unverändert, verifiziert 31.08.2026)
|
||||||
|
|
||||||
|
| Feld | Wert |
|
||||||
|
|---|---|
|
||||||
|
| Container | `513b5b814d8d245db3f4db57d169d24cc9a69def655a2d66de7ffe4460452c7f` |
|
||||||
|
| Image | `sha256:f72b27e72fc6418edde5810090dad62538f2f85903424992691d79cfc69b8884` |
|
||||||
|
| Running / RestartCount | `true` / `0` |
|
||||||
|
| health / ready | `200` / `200` |
|
||||||
|
| Wrapper SHA | `109a5258bc306084f6909b3903294870b356eb3a6b244ad02b3599d4d02e8e1d` |
|
||||||
|
| Commit | `738af54` (NO PUSH) |
|
||||||
|
| Runner SHA (deployt) | `6cca3c55bb559d75be2f58e59c231003902f124a54ada25582970524599f0752` |
|
||||||
|
| repository.py SHA | `8fff892f52a612f464b5be21c66ef7787a47f2d7d049f815ef87837553c2a228` |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Kernbefunde (verifiziert)
|
||||||
|
|
||||||
|
- **Runner → BackfillOrchestrator:** bewiesen (Thin CLI Facade, kein direkter insert_*).
|
||||||
|
- **TrustGate:** mandatory im produktiven Pfad.
|
||||||
|
- **UNKNOWN / UNTRUSTED / CONDITIONAL / MISSING / EXCEPTION:** FAIL CLOSED.
|
||||||
|
- **Legacy Direct-Write Bypass:** über produktiven Wrapper/Runner unerreichbar.
|
||||||
|
- **TrustGate Harness:** PASS (36/36 + 27/27 + 17/17).
|
||||||
|
- **Service:** healthy.
|
||||||
|
- **Keine produktive Backfill-Ausführung** während Abschlussvalidation.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Wichtige Limitation — DB E2E
|
||||||
|
|
||||||
|
**Es wurde KEIN mutierender DB-E2E-Test erzwungen.** Über den verfügbaren Red-Queen-Control-Plane-Zugang war kein sicherer isolierter/read-only DB-Verifikationspfad vorhanden. Gemäß Fail-Closed-Prinzip wurde **§7D** angewendet. Persistence-Invariants wurden statisch + Harness verifiziert.
|
||||||
|
|
||||||
|
**Korrekte Aussage:** *"Canonical Runner/TrustGate path and persistence gating verified statically and via isolated harness; production DB mutation was intentionally not performed."*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Deferred Risks (offen, NICHT jetzt ändern)
|
||||||
|
|
||||||
|
- **#1 Legacy Scripts:** `run_backfill.py` / `run_phase11_pilot.py` existieren im Container, rufen `orch.run()` ohne TrustGate — über produktiven Wrapper unerreichbar, aber Code-Präsenz vergrößert Attack-Surface. → spätere Hardening-Mission.
|
||||||
|
- **#2 Dataset-Version TOCTOU:** `get_or_create_dataset_version` ohne UNIQUE auf Hash → potenzielle doppelte Dataset-Version-Metadaten bei parallelen identischen Requests. → spätere Repair-/Hardening-Mission.
|
||||||
|
- **Deferred Validation:** Vor echtem produktivem Backfill erforderlich: vertrauenswürdige Data Source, ausreichende Provenance, TrustGate TRUSTED, kontrollierter kleiner Pilot, DB Before/After, Qualitätsprüfung. **Der frühere Dukascopy-Pilot ist NICHT als trusted Dataset freigegeben.**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. Closure Scope
|
||||||
|
|
||||||
|
- CONTROL-PLANE / RUNNER REMEDIATION: **CLOSED**
|
||||||
|
- TRUSTGATE CANONICAL PATH: **VERIFIED**
|
||||||
|
- PRODUCTION HISTORICAL DATA QUALITY: **NICHT automatisch freigegeben**
|
||||||
|
- PRODUCTION BACKFILL: **NICHT freigegeben**
|
||||||
|
- PHASE 14: **NICHT automatisch gestartet**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 7. Offene Punkte (nach Closure)
|
||||||
|
|
||||||
|
- **A.** Trusted Historical Data Source / Provenance
|
||||||
|
- **B.** Controlled Trusted Provider Pilot
|
||||||
|
- **C.** Dataset-Version TOCTOU Hardening
|
||||||
|
- **D.** Legacy Entry-Point Hardening
|
||||||
|
- **E.** Production Backfill
|
||||||
|
- **F.** Phase 14
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 8. Verweis auf autoritative Evidence
|
||||||
|
|
||||||
|
Vollständige Details (Evidence-SHAs, Mutation Accounting, Grenzen) siehe (Red-Queen-Workspace-Kontext):
|
||||||
|
|
||||||
|
- `/opt/data/rq_phase135_FORMAL_CLOSURE.md`
|
||||||
|
- `/opt/data/rq_phase135_runner_trustgate_final/final-evidence.md`
|
||||||
2152
red-queen-architecture/control-plane/cp2a2_2b/rq-historical
Normal file → Executable file
2152
red-queen-architecture/control-plane/cp2a2_2b/rq-historical
Normal file → Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue