Skip to content

chore(golden-sunflowers): remove NEON-mirror markdown duplicates — NEON ssot.chapters is sole SSOT#514

Open
gHashTag wants to merge 1 commit intomainfrom
chore/neon-ssot-cleanup-mirror
Open

chore(golden-sunflowers): remove NEON-mirror markdown duplicates — NEON ssot.chapters is sole SSOT#514
gHashTag wants to merge 1 commit intomainfrom
chore/neon-ssot-cleanup-mirror

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

@gHashTag gHashTag commented May 6, 2026

Чистка беспорядка — NEON ssot.chapters как единственный источник правды

User instruction (2026-05-06 14:37 +07):

«у нас 98 глав !! почему такой беспорядок !! всё лежит в NEON !! один источник правды !! и генерируется !! у нас нет руками написанных глав !! нужно всё перенести в NEON и удалить в других местах !! и синхронизируйся с агентом !!»

Sync with agent (2026-05-04 telemetry on #372)

Agent finding Status
NEON ssot.chapters holds 98 rows · 2.26 MB body_md confirmed source of truth
Pipeline crates/trios-phd render (commit f778f79) renders directly from NEON active
tri_phd_build.py (cold-feather) → pandoc HTML5 → WeasyPrint → PDF v1.7 — also Neon-direct active
v6.2 produces 1415-page PhD_v6.pdf from Neon, 28 MB, tectonic 0.15.0 active
docs/golden-sunflowers/ch-*.md + app-*.md were v4 mirrors, marked do NOT edit here in the existing README superseded — to be removed

What this PR does

Removes 44 NEON-mirror markdown files from docs/golden-sunflowers/ and rewrites the README so the SSOT principle is unambiguous:

  • 34 × ch-*.md deleted (all marked auto-generated from ssot.chapters.body_md in the v4 README).
  • 10 × app-*.md deleted (App.A through App.J).
  • README.md rewritten — explicit: NEON is canonical, the build pipeline reads NEON, no per-chapter markdown should ever be committed here.
  • pdf/ directory kept (rendered artefacts).

What this PR does NOT do

  • Does not touch NEON ssot.chapters or ssot.one_shots data (one-source rule — repo PRs only adjust the build pipeline, never the canonical content).
  • Does not modify docs/phd/chapters/*.tex (37 files). These are the original LaTeX lanes from 🎯 ONE SHOT — PhD «Flos Aureus»: Autonomous Development at Top Scientific Standards #265 (R1–R14, claim-before-work, lane discipline). They predate the NEON pivot and are still referenced by docs/phd/main.tex \include{chapters/…} lines and by assertions/witness/citetheorem_audit.toml. A second PR will migrate those into NEON once the lane owners confirm content parity.
  • Does not delete crates/trios-phd, migrations/005_hero_fullwidth.sql, templates/chapter.template.tex, filters/force-fullwidth-hero.lua, or the cold-feather phd_build_v5/ workspace skill — these are the build pipeline, the legitimate consumer of NEON.

R-rules compliance (R5 honest)

  • R5 honest single-source. All 44 deleted files were explicitly self-marked as NEON mirrors in the v4 README.md. Their removal cannot drop content, because ssot.chapters.body_md is the canonical store and the build pipeline reads from there directly.
  • R6 lane discipline. Single-purpose PR: only docs/golden-sunflowers/ files are touched.
  • R10 atomic commit. One commit, one logical unit (mirror removal + README rewrite as a paired action — semantic atomicity preferred to per-file commits because the unit of meaning is "drop the mirror").
  • Queen-silence policy. No gHashTag/trios#372 / #373 / #265 posts attached to this PR. The user explicitly requested the cleanup; no further trigger needed for the PR body itself, but there will be no auto-posts to the SSOT issues.

Withdrawn predecessor

Verification (post-merge)

After merge, the following must still hold:

git ls-files docs/golden-sunflowers/ | grep -E '^docs/golden-sunflowers/(ch|app)-' | wc -l
# expected: 0

git ls-files docs/golden-sunflowers/ | sort
# expected:
#   docs/golden-sunflowers/README.md
#   docs/golden-sunflowers/pdf/...

# NEON canonical store unchanged:
psql "$DB" -c "SELECT COUNT(*) FROM ssot.chapters;"
# expected: 98 (unchanged)

# Pipeline still consumes NEON:
cargo run -p trios-phd -- compile-chapters
# expected: 98 chapters compiled, exit 0

Anchor

φ² + φ⁻² = 3 — Trinity identity unchanged.

…ON `ssot.chapters` is sole SSOT [agent=perplexity-computer-sunflower-author]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant