Skip to content

Fix/llms txt root counts#50

Merged
baxyz merged 2 commits into
mainfrom
fix/llms-txt-root-counts
Jul 21, 2026
Merged

Fix/llms txt root counts#50
baxyz merged 2 commits into
mainfrom
fix/llms-txt-root-counts

Conversation

@baxyz

@baxyz baxyz commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Please include a summary of what this PR does and why it's needed.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring
  • Test improvement

Related Issues

Closes #(issue number)

How Has This Been Tested?

Describe the tests you ran and how to reproduce them:

  • Test A
  • Test B

Checklist

  • My code follows the code style of this project
  • I have updated the documentation accordingly
  • I have added tests for my changes
  • All new and existing tests passed locally
  • My commits follow the conventional commit format

Screenshots (if applicable)

Add screenshots for UI changes.

Additional Context

Add any other context about the PR here.

baxyz added 2 commits July 21, 2026 18:55
18 categories / ~274 functions -> 20 / ~312, matching the now-fixed
typescript/llms-full.txt (generated) and current npm reality. This file
is hand-authored (not generated, unlike llms-full.txt), so it will drift
again after future releases unless updated manually or the generator is
extended to also touch it.
Extends the existing syncHelperCount() pattern (already used to patch
intro.md and comparisons/alternatives.md) to also patch the hand-authored
root public/llms.txt's '~N functions across M categories' / 'browse all
M categories' lines under its '## TypeScript' section — scoped to that
section only and to the 'latest' role only, since the file always
describes the current stable product (never a prerelease slot, never an
archived vN one). Also stages public/llms.txt in the commit step (it
wasn't, same class of bug as the previous llms-full.txt fix).

Without this, the counts fixed manually in the previous commit would
have drifted stale again at the very next release. Verified end-to-end
in a scratch worktree: ran the real generator against the real v3.0.4
build artifact, confirmed the exact same surgical two-line diff as the
manual fix, confirmed a typescript/next (prerelease) run correctly
leaves the file untouched, and confirmed the file is now staged where
it silently wasn't before.
@github-actions

Copy link
Copy Markdown

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🧾 Conventional Commits passing
🏗️ Build passing
📘 TypeCheck passing

🤖 Generated by @helpers4 CI • 2026-07-21

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying helpers4 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8282fd3
Status: ✅  Deploy successful!
Preview URL: https://901ab4a6.helpers4.pages.dev
Branch Preview URL: https://fix-llms-txt-root-counts.helpers4.pages.dev

View logs

@baxyz
baxyz merged commit 6b6d9c9 into main Jul 21, 2026
9 checks passed
@baxyz
baxyz deleted the fix/llms-txt-root-counts branch July 21, 2026 22:02
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