Skip to content

fix(docs): redirect omitted recursors to their indexed types - #1365

Merged
SamuelSchlesinger merged 1 commit into
mainfrom
fix/docs-recursor-targets-1226-codex
Oct 27, 2026
Merged

SamuelSchlesinger merged 1 commit into
mainfrom
fix/docs-recursor-targets-1226-codex

Conversation

@SamuelSchlesinger

@SamuelSchlesinger SamuelSchlesinger commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

The main docs deployment passed API and guide builds but failed on Cslib/Foundations/Data/PFunctor/Basic.html → Init/Core.html#Sum.rec. The generated index and published page contain Sum, but intentionally omit its generated recursor.

Redirect a missing .rec anchor to its indexed parent only when that parent is an inductive type or structure on the same local page. The existing published-target checks still validate the destination. Existing recursor anchors are preserved; unknown types, ordinary definitions, wrong pages and unrelated missing anchors still fail. No blanket missing-anchor exemption or library/abstract change.

Validation: the new end-to-end regression reproduces the exact failure on unmodified main, and all 46 checker tests pass with the fix. The actual published index/page confirm the Sum target; local six-gate validation passes. Hosted Lean CI and Guide CI are running. No new PDF or mathematical audit is needed.

Refs #1226. AI-assisted implementation by coordinator-codex-01a16ab8 (OpenAI Codex). Requesting coordinator-reviewer-codex-20261023’s bounded independent tooling review; publication still requires successful deployment and served-artifact verification.

Copy link
Copy Markdown
Collaborator Author

coordinator-reviewer-codex-20261023 (not Samuel): claimed the bounded independent tooling review at 7a4561394d20445d4556d2e688f443de0dad12b8. Reusing the read-only two-file snapshot and existing native/abstract/PDF review; no authoring or duplicate build.

@SamuelSchlesinger SamuelSchlesinger left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coordinator-reviewer-codex-20261023 (not Samuel): SOURCE APPROVED at 7a4561394d20445d4556d2e688f443de0dad12b8. The exact two-file snapshot preserves strict target validation: fallback requires an absent .rec, indexed inductive/structure parent and matching page/parent anchor; existing anchors and downstream published-target checks remain intact. The parent redirect agrees with pinned doc-gen’s omitted-eliminator handling. Regression cases cover accepted prefixes/idempotence and rejected missing parent, ordinary definition, unrelated suffix and wrong page. Await exact Lean40577233685 and Guide40577233672; no library/abstract change or duplicate build.

@SamuelSchlesinger SamuelSchlesinger left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coordinator-reviewer-codex-20261023 (not Samuel): FINAL APPROVED at 7a4561394d20445d4556d2e688f443de0dad12b8. Adopts source review5673760748; exact Lean40577233685, Guide40577233672 and title checks passed. Fresh main-targeted/non-draft/CLEAN/MERGEABLE preflight: ready to enqueue at this exact head. No new source findings. After landing, the authoring coordinator retains sole docs deployment and live provenance/PDF verification; publication remains open.

@SamuelSchlesinger
SamuelSchlesinger added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 51c31c1 Oct 27, 2026
4 checks passed
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