Skip to content

fix: bind public Chapter Zero to METAPAT v3 - #68

Merged
erinepshovel-code merged 3 commits into
mainfrom
repair/metapat-v3-textbook-binding
Sep 15, 2026
Merged

erinepshovel-code merged 3 commits into
mainfrom
repair/metapat-v3-textbook-binding

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Contributor

METAPAT canon v3 is now on metapat/main as merge commit 72bb6acdc1e635a10f662b640d5058a222a84eb7.

This migrates the website's Chapter Zero binding from the v2 title to the v3 title and updates the public summary and integrity expectation. It intentionally leaves the last-known-good snapshot untouched; a successful online textbook refresh should replace that snapshot with provenance-bearing v3 content.

Without this repair, fetch-textbook.mjs rejects the new Chapter Zero because the manifest still requires the old title, then falls back to the v2 snapshot.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-15T11:41:43.954681Z fe01a3d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@erinepshovel-code
erinepshovel-code merged commit af162aa into main Sep 15, 2026
5 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fe01a3d7aa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


const expected = [
[0, 'chapter-zero', 'Meta Energy Theory — Axioms, Postulates, and Theorems', 'The-Interdependency/metapat', 'CHAPTER_ZERO.md'],
[0, 'chapter-zero', 'Meta Energy Theory — Root Structure and Action', 'The-Interdependency/metapat', 'CHAPTER_ZERO.md'],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Refresh the retained snapshot with the v3 binding

In a clean checkout, npm test runs scripts/prepare-tests.mjs with OFFLINE=1, so fetch-textbook.mjs overlays this v3 title onto the unchanged v2 snapshot while retaining its old content. The assertion at line 51 then fails because that content does not contain this title; I reproduced this with OFFLINE=1 node scripts/fetch-textbook.mjs && node --test tests/textbook-integrity.test.mjs. A transient live-fetch failure in the Pages/PR workflow takes the same fallback path, preventing the intended recovery build and temporarily labeling v2 content as v3, so the snapshot should be refreshed or rejected when its content does not match the new manifest.

Useful? React with 👍 / 👎.

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