feat: add AI friendliness context and fix tsconfig ignoreDeprecations#181
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b7aa08c04
ℹ️ 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".
| for (const { packageName, packageDir } of versionChecks) { | ||
| const pkgPath = join(rootDir, "packages", packageDir, "package.json") | ||
| const pkg = JSON.parse(readFileSync(pkgPath, "utf8")) | ||
| const expectedLine = `- \`${packageName}\`: \`${pkg.version}\`` |
There was a problem hiding this comment.
Update llms.txt during version bumps
When a runtime or tools release is prepared with scripts/release.js or scripts/release-tools.js, those scripts update the package.json versions but never rewrite llms.txt. Because this new CI check derives its expected lines from each package.json, every automated version-bump commit will fail pnpm check:ai-context unless someone manually edits llms.txt in the same release; the release scripts should update the manifest or this invariant should not be enforced on those generated release commits.
Useful? React with 👍 / 👎.
| cp llms.txt final-docs/llms.txt | ||
| cp llms-full.txt final-docs/llms-full.txt |
There was a problem hiding this comment.
Watch root AI context files for docs deploy
The workflow’s push filter still only includes docs/** and packages/**, so a commit that changes only llms.txt or llms-full.txt will not run Deploy Docs even though these new copy steps make those root files the source for the public /llms*.txt pages. In that case the site keeps serving stale AI context until an unrelated docs/packages change triggers deployment; add the root files to on.push.paths.
Useful? React with 👍 / 👎.
… and watch LLM files for docs deploy
This pull request adds LLM friendly context files, updates documentation references, fixes an unescaped backtick bug in the codegen reactor template, and resolves the invalid value for ignoreDeprecations compiler option in tsconfig configurations.