# CHANGELOG — Cubie TEP Deliverable Bundle

Semantic versioning: `MAJOR.MINOR.PATCH`
- MAJOR: breaking changes to detector math, kernel-verified theorems, or core claims.
- MINOR: additive content (new benchmarks, new artifacts, new diagrams).
- PATCH: typos, layout fixes, file moves; no claim changes.

---

## v1.2.0 — 2026-05-28 (later same-day refresh: Opus 4.8 + diagram pack)

**Added**
- Claude Opus 4.8 row in main SOTA table of `whitepaper/v5_cubie_tep_whitepaper.pdf` (now 21 pages, 496 KB).
- New paragraph "Opus 4.7 → 4.8 delta (2026-05-28 same-day comparison)" in §LLM zero-shot baseline.
- `evidence-pack/v5_Cubie_TEP_LLM_Opus48_Compare.ps1` — head-to-head probe script.
- `evidence-pack/v5_opus48_compare_<timestamp>.json` — audit trail.
- 6 NEW v5 diagrams under `diagrams/`:
  - `v5_sota_fdr_comparison` — leaderboard now with 4 LLM rows
  - `v5_opus47_vs_48` — same-day delta on the 20-window probe
  - `v5_data_flow` — engineer-facing data flow
  - `v5_process_flow` — operator-facing process flow (plant DCS POV)
  - `v5_architecture_flow` — refreshed end-to-end architecture
  - `v5_executive_headline` — leadership-facing summary
- **`diagrams/v5_all_diagrams_combined.pdf`** — single multi-page PDF bundling every diagram for handoff.
- `v5_generate_diagrams_2026-05-28.py` — generator for all 6 + combined PDF.

**Updated**
- Abstract: mentions Opus 4.8 same-day release.
- Vs-LLM claim paragraph: updated multipliers; Opus 4.7 IDV-9 corrected to 25%.
- `exec-summary/v5_EXECUTIVE_SUMMARY_2026-05-28.md` now has both Opus rows + the 4.7→4.8 delta.

**Discovered during this refresh**
- Opus 4.8 emits ~6.6× output tokens of 4.7 in strict mode (likely auto-thinking). Walltime +19%, cost +18%/call.
- 4.8 lowers d00 FAR (60% → 40%) but lost IDV-9 catch (25% → 0%). In thinking mode 4.8 catches IDV-15 that 4.7 misses.

**No changes to**
- Formal corpus (81/81 at CUB-1957), Rust runtime (10/10), LAZY-8 sweep (60/60), Cubie headline (100/100/100 + 0% FAR).

---

## v1.1.0 — 2026-05-28 (refresh: LLM frontier + no-training framing)

**Added**
- §LLM zero-shot baseline (Anthropic Claude family, 2026-05-28) in `whitepaper/cubie_tep_whitepaper.pdf` — full methodology, results, leak disclosure.
- §Cubie is a no-training method in `whitepaper/cubie_tep_whitepaper.pdf` — explicitly anchors cubie in the same regulatory class as PCA-T² and the LLMs.
- LLM rows merged into the main SOTA table (Table 1) of the whitepaper, ordered by training/no-training class.
- `briefs/EXEC_BRIEF_2026-05-28.md` — 3-min leadership read.
- `briefs/TECHNICAL_BRIEF_2026-05-28.md` — 10-min engineering read.
- `transcript/SESSION_TRANSCRIPT_2026-05-28.md` — sanitized session log with full LLM thinking traces + API request/response samples + leak-discovery chronology.
- `evidence-pack/Cubie_TEP_LLM_Benchmark.ps1` — multi-model harness (Haiku + Sonnet + Opus, ~$0.40 per full sweep).
- `evidence-pack/Cubie_TEP_LLM_Verbose.ps1` — thinking-capture harness (3 windows × 3 models, full reasoning).
- `evidence-pack/llm_benchmark_2026*.json` (6 files) — API audit trail.
- `evidence-pack/llm_verbose_2026*.json` (3 files) — full thinking transcripts.
- `evidence-pack/generate_briefs_diagrams_2026-05-28.py` — generator for new diagrams.
- `diagrams/architecture_flow.{pdf,png}` — end-to-end technical data-flow diagram.
- `diagrams/executive_headline.{pdf,png}` — leadership-facing summary diagram.
- `exec-summary/EXECUTIVE_SUMMARY_2026-05-28.md` — date-accurate copy of the refreshed exec summary (legacy 2026-05-27 copy preserved alongside).

**Updated**
- `whitepaper/cubie_tep_whitepaper.pdf` 19p → 21p, 477 KB → 489 KB.
- `whitepaper/cubie_tep_whitepaper.tex` source: SOTA table extended with FAR column and LLM rows.
- `exec-summary/EXECUTIVE_SUMMARY_2026-05-27.md` content refreshed (date in filename retained for stable URLs / references; date-correct copy added as `EXECUTIVE_SUMMARY_2026-05-28.md`).
- `evidence-pack/generate_charts_2026-05-27.py` SOTA chart updated to show 8 no-training methods (statistical + LLM + cubie) with class-coded colors.
- `diagrams/sota_fdr_comparison.{pdf,png}` regenerated with LLM rows.
- `README.md` updated to reflect new bundle structure + version.

**Discovered + fixed during this refresh**
- Data-leak bug in the initial LLM harness: TEP CSVs have a header row + 3 metadata columns (`faultNumber`, `simulationRun`, `sample`) before the sensor data. First loader version passed column 0 (the literal fault label) to the model. The bug was caught during a verbose run, the loader fixed to skip the metadata columns, and the corrected numbers are what appears in the v1.1.0 artifacts. The contaminated numbers are NOT used anywhere; the tainted JSON files are retained for audit (`llm_benchmark_20260528_014427.json` and `llm_benchmark_20260528_014639.json` are the pre-fix runs).

**No changes to**
- Formal-verification corpus (still 27 CUB theorems × 3 kernels = 81 proofs at the CUB-1957 ceiling).
- Rust runtime (still 10/10 unit tests for CUB-1940 Layer-1 input validation).
- LAZY-8 empirical sweep (still 60/60 saturation at FAR=0%).
- Cubie's headline 100/100/100 + 0% FAR claim.

---

## v1.0.0 — 2026-05-27 (initial deliverable)

**Initial bundle contents**
- `whitepaper/cubie_tep_whitepaper.pdf` (19 pages, 477 KB) — full technical paper.
- `whitepaper/cubie_tep_whitepaper.tex` — LaTeX source.
- `exec-summary/EXECUTIVE_SUMMARY_2026-05-27.md` — one-page leadership summary.
- `evidence-pack/empirical_peak_2026-05-27.json` — fresh 60-run sweep evidence.
- `evidence-pack/empirical_peak_original.json` — prior snapshot for diff.
- `evidence-pack/terminal_capture_2026-05-27.txt` — verbatim sweep + kernel + Rust output.
- `evidence-pack/generate_charts_2026-05-27.py` — matplotlib chart generator (v1.0).
- `evidence-pack/commit_hashes.txt` — underlying cubie-tf SHAs.
- `evidence-pack/Cubie_TEP_Demo.{ps1,bat,README.txt}` — live demo + double-click launcher.
- `diagrams/lazy8_60_run_sweep.{pdf,png}` — 60 bars × 3 algos, all saturate.
- `diagrams/triple_kernel_verification_matrix.{pdf,png}` — 27 × 3 grid, all green.
- `diagrams/sota_fdr_comparison.{pdf,png}` — initial SOTA chart (4 rows).
- `diagrams/failsafe_defense_chain.{pdf,png}` — 8-stage defense-in-depth diagram.
- `diagrams/cubie_diagrams_landscape.pdf` — landscape diagrams from paper.
- `diagrams/executive_brief.pdf` — initial 1-pager exec brief.
- `REPRODUCE.sh`, `REPRODUCE.ps1` — re-run scripts.
- `README.md` — bundle map and quick-start.

**Headline result at v1.0**
- 60/60 LAZY-8 sweep saturation.
- 81/81 triple-kernel verifications.
- 10/10 Rust runtime tests.
- Cubie + CUB-1921 at 100/100/100 FDR + 0% FAR on TEP closed-loop-masked trio.

---

## Versioning policy

- Each bundle revision gets a CHANGELOG entry above with `Added` / `Updated` / `No changes to` sections.
- The bundle directory name is **frozen at `cubie-tep-deliverable-2026-05-27`** for stable URLs and reference integrity; refresh dates are tracked in CHANGELOG and VERSION.md only.
- SHA-256 hashes of key artifacts are recorded in `VERSION.md` for tamper-evident pinning.
- Files dated in their name (e.g. `EXECUTIVE_SUMMARY_2026-05-27.md`) are retained at their original filename even when refreshed; if the content date is materially newer than the filename date, a date-correct copy is added alongside (APPEND-ONLY policy — no deletes).
- Prior versions of any artifact are recoverable via `git log` on the live `cubie-tf` repository.
