Skip to content

[codex] Add metadata consistency gate#230

Merged
ootakazuhiko merged 2 commits into
mainfrom
codex/github-workflow-quality-sprint-20260525
May 25, 2026
Merged

[codex] Add metadata consistency gate#230
ootakazuhiko merged 2 commits into
mainfrom
codex/github-workflow-quality-sprint-20260525

Conversation

@ootakazuhiko

Copy link
Copy Markdown
Collaborator

Summary

  • Align package/book/Jekyll/front-matter version metadata to the current v1.1.0 book release.
  • Add scripts/check-metadata-consistency.js and wire it into local test:light and Book QA.
  • Restore a non-destructive local Jekyll build flow and scope legacy src/**/*.md markdownlint exceptions separately from published docs/.
  • Add the existing afterword page to published navigation and the top-page table of contents.

Validation

  • PUPPETEER_SKIP_DOWNLOAD=true npm ci (completed; npm still reports existing dev/optional audit findings during install)
  • npm run check:metadata
  • npm run test:light
  • npm audit --omit=dev --omit=optional
  • git diff --check
  • book-formatter Unicode, textlint/PRH, internal links, layout risk, and markdown structure checks over docs/
  • Built-site smoke for /, /afterword/, and /appendices/appendix-g/
  • Negative metadata fixture confirmed missing afterword navigation fails the new gate

Part of itdojp/it-engineer-knowledge-architecture#152.

Copilot AI review requested due to automatic review settings May 25, 2026 03:19
@ootakazuhiko

Copy link
Copy Markdown
Collaborator Author

@copilot review

Copilot AI 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.

Pull request overview

Aligns public metadata to the v1.1.0 release across package.json, package-lock.json, book-config.json, docs/_config.yml, and docs/index.md, and introduces a metadata consistency gate (scripts/check-metadata-consistency.js) wired into npm run test:light and the Book QA workflow. It also restores a non-destructive Jekyll-based local build (moving the legacy generator to build:generate), scopes a relaxed markdownlint config to src/, and surfaces the existing afterword page in published navigation and the top-page ToC.

Changes:

  • Add scripts/check-metadata-consistency.js and run it from test:light / book-qa.yml.
  • Realign package/lock/book/Jekyll/front-matter metadata (name, version 1.1.0, author, URLs, description).
  • Switch local build to Jekyll over docs/, add build:generate for the legacy generator, and publish afterword in navigation and the index ToC.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/check-metadata-consistency.js New gate validating package, book-config, Jekyll config, index front matter/ToC, and navigation paths.
package.json Renames package to github-workflow-book@1.1.0, swaps build to Jekyll, adds check:metadata and build:generate.
package-lock.json Updates root name/version to match package.json.
book-config.json Adds book.version: 1.1.0.
docs/_config.yml Adds version: "1.1.0".
docs/index.md Updates author/version in front matter and adds afterword section to ToC.
docs/_data/navigation.yml Adds afterword section so the page is published in nav.
README.md Updates quickstart and contact email; documents new scripts.
.markdownlint-src.json Adds relaxed lint config for legacy src/**/*.md.
.gitignore Ignores docs/Gemfile.lock.
.github/workflows/book-qa.yml Runs metadata consistency check before book-formatter install.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated

@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: a031b2c77c

ℹ️ 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".

Comment thread package.json Outdated
@ootakazuhiko

Copy link
Copy Markdown
Collaborator Author

@copilot review

@ootakazuhiko ootakazuhiko merged commit 0ca2aa7 into main May 25, 2026
3 checks passed
@ootakazuhiko ootakazuhiko deleted the codex/github-workflow-quality-sprint-20260525 branch May 25, 2026 03:30
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.

2 participants