Skip to content

fix(readme): regenerate root README mirror to match package/README.md - #19

Merged
lopadova merged 1 commit into
mainfrom
claude/dependabot-security-prs-lp2ssj
Jul 24, 2026
Merged

fix(readme): regenerate root README mirror to match package/README.md#19
lopadova merged 1 commit into
mainfrom
claude/dependabot-security-prs-lp2ssj

Conversation

@lopadova

Copy link
Copy Markdown
Contributor

Problem

The readme-check step in ts-checks CI (node scripts/sync-readme.mjs --check) fails on main with "README.md is out of sync with package/README.md". This blocks unrelated PRs (e.g. Dependabot #18).

Root cause

The root README.md is a generated byte-identical mirror of the canonical package/README.md (see scripts/sync-readme.mjs and the repo's readme-sync rule). Commit 779ad52 hand-edited the root mirror directly — adding a Rust/Tauri sibling callout only to the root — which is exactly the anti-pattern the rule forbids ("Never hand-edit the root README.md"). That drifted the mirror from canonical and broke the gate.

Fix

Regenerated the root mirror with the repo's own script (node scripts/sync-readme.mjs), restoring byte-for-byte parity so --check passes. No hand-editing of the generated file. The 4 removed lines (Rust sibling callout) were never in the canonical source; if that callout is wanted, it should be added to package/README.md and re-synced in a separate change.

Verified locally: node scripts/sync-readme.mjs --check reports in-sync.


Generated by Claude Code

The root README.md is a generated byte-identical mirror of the canonical
package/README.md (see scripts/sync-readme.mjs + the readme-sync rule).
Commit 779ad52 hand-edited the root mirror directly, which drifted it from
canonical and broke the ts-checks `readme-check` gate on main.

Regenerated via `node scripts/sync-readme.mjs` so `--check` passes again.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hh2Lo6FAPGaVgRkpkE2YwW
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying react-native-ecr17-protocol with  Cloudflare Pages  Cloudflare Pages

Latest commit: 82cda1f
Status: ✅  Deploy successful!
Preview URL: https://fdaffaaf.react-native-ecr17-protocol.pages.dev
Branch Preview URL: https://claude-dependabot-security-p.react-native-ecr17-protocol.pages.dev

View logs

@lopadova
lopadova merged commit 4d6925d into main Jul 24, 2026
3 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