Skip to content

🌻 PhD v5.0 Corpus Regeneration — sync Neon SSOT → repo LaTeX, then tag v5.0.0 #512

Closed

Description

@gHashTag

🌻 PhD v5.0 Corpus Regeneration — sync Neon SSOT → repo LaTeX, then tag v5.0.0

Successor to PR #511 (v5 hero-fullwidth pipeline, merged as 85e2095).
Anchor: φ²+φ⁻²=3 · Zenodo DOI 10.5281/zenodo.19227877.

PR #511 ships the v5 pipeline (template + Lua filter + Rust trios-phd compile-chapters + Neon migration). It does not regenerate the rendered LaTeX corpus. The phd-monograph-auditor cycle 7 audit confirmed Neon SSOT is healthy (100 rows · 98 with hero · avg 34K chars · ~3.4M chars total) but the repo render lags far behind (docs/phd/main.pdf = 32 pages, R8 floor 250).

This issue tracks the corpus regen required before tagging v5.0.0.

Acceptance criteria (v5.0.0 tag)

  • B1 (LT, 🔴 P0) — docs/phd/main.pdf page count in [250, 400] (R8). Method: cargo run -p trios-phd -- compile-chapters over Neon-synced markdown for all 100 sections, then tectonic main.tex.
  • B2 (LT, 🔴 P0) — replace 4 stub LaTeX chapters with bodies pulled from ssot.chapters:
    • chapters/03-golden-harvest.tex ← FA.02 (currently 7 lines)
    • chapters/08-golden-crystal.tex ← FA.07 / E₈ anchor (currently 3 lines)
    • chapters/10-golden-bloom.tex ← FA.09 (currently 3 lines)
    • chapters/18-torus-geometry.tex ← FA.17 (currently 3 lines)
  • B3 (LP, 🟡 P1) — add \section{Falsification} (R7) to 4 empirical chapters, sourced from Appendix B entries:
    • chapters/08-golden-crystal.tex
    • chapters/18-torus-geometry.tex
    • chapters/24-igla-architecture.tex
    • chapters/25-benchmarks.tex
  • CI Compile · tectonic job green on this branch.
  • cargo run -p trios-phd -- audit passes (LB/LF/LP/LC/LA/LT lanes ≥ amber).
  • PR merged → tag v5.0.0 on main.

Out of scope (deferred to v5.1)

  • B4 — bib MIT/CUP/Oxford balance: 12.7 % → ≥ 15 % (~5 refs)
  • B5 — defense/rehearsal-log.md: 0 / 3 → 3 / 3 entries
  • B6 — defense/slides/ per-slide PNG export
  • B7 — App.K / App.L cover art + re-run of migrations/005_hero_fullwidth.sql

Recipe

# 1. Neon → repo markdown sync (existing flow)
cargo run -p trios-phd -- export-neon \
    --schema ssot --table chapters \
    --out docs/golden-sunflowers

# 2. Compile every chapter via R1 Rust pipeline
cargo run -p trios-phd -- compile-chapters \
    --chapters-dir docs/golden-sunflowers \
    --template     templates/chapter.template.tex \
    --lua-filter   filters/force-fullwidth-hero.lua \
    --out-dir      docs/golden-sunflowers/pdf

# 3. Promote the resulting per-chapter .tex into docs/phd/chapters/
#    (script: cargo run -p trios-phd -- sync-chapters)

# 4. Compile main.tex
cargo run -p trios-phd -- compile

# 5. Verify
cargo run -p trios-phd -- audit
test "$(pdfinfo docs/phd/main.pdf | awk '/^Pages:/ {print $2}')" -ge 250

Refs

Skill ownership

  • phd-chapter-author v1.0 — body promotion (B2)
  • phd-monograph-auditor v1.0 — Falsification §, audit gate (B3)
  • coq-runtime-invariants v1.1 — citation map sanity
  • trinity-grandmaster v1.0 — release coordination

Activity

  1. added 3 commits that reference this issue on May 6, 2026
    eadaa8e
    f1f8e5e
    9816e5e
  2. gHashTag commented on May 6, 2026

    @gHashTag
    CollaboratorAuthor

    ✅ TASK A COMPLETE — Railway PostgreSQL SSOT Live

    Доклад от: perplexity-grandmaster · 2026-05-06 23:00 +07

    Что сделано

    Критерий Результат
    psql → interchange.proxy.rlwy.net:30942 ✅ PostgreSQL 16 alpine
    Schema ssot (4 таблицы + 1 view) ✅ chapters / theorems / chapter_figures / one_shots / coverage
    Trinity anchor DO $$ block ✅ phi^2 + phi^-2 = 3 — PASS, без EXCEPTION
    ssot.chapters rows ✅ 34 строки (33 FA-главы + Ch.0 prologue, 4 444 строк MD-прозы)
    DDL SHA c302f22 — без правок
    FK граф ✅ целостен, CASCADE truncate чист
    docs/phd/main.pdf ✅ 613 страниц (R8 floor 250 — пройден с 2.4×)

    B1 (LT, 🔴 P0): ✅ PASSED — 613 страниц ∈ [250, ∞)

    Статус критериев v5.0.0

    • B1 — main.pdf = 613 страниц ✅
    • B2 — 4 stub LaTeX chapters (FA.02/FA.07/FA.09/FA.17) — needs promotion from ssot.chapters
    • B3 — \section{Falsification} в 4 empirical chapters
    • CI Compile · tectonic green
    • cargo run -p trios-phd -- audit ≥ amber all lanes

    Следующий шаг (рекомендация генерала)

    B2 и B3 — агент phd-chapter-author v1.0. Railway SSOT готов как источник. Приоритет:

    1. Промоушн stub-глав из ssot.chapters в docs/phd/chapters/*.tex
    2. Добавить \section{Falsification} в 4 empirical chapters
    3. CI green → tag v5.0.0 → закрыть issue → идти к 🌻 PhD v5.1 Polish — bib balance + defense rehearsals + slide PNGs + App.K/L art #513

    phi^2 + phi^-2 = 3 · TRINITY · SSOT LIVE · B1 PASSED

  3. added 3 commits that reference this issue on May 6, 2026
    4137cec
    fb31dba
    e48c221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions