Skip to content

fix(context7): re-sync the lookup find-docs baseline with upstream - #8592

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/context7-lookup-drift
Oct 20, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/context7-lookup-drift

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #8559

Summary

The drift (context7:lookup) job in maintenance run 39238759596 failed: upstream's find-docs SKILL.md changed against our vendored copy. The checker (plugins/context7/skills/lookup/scripts/update.sh) byte-compares the vendored copy with upstream after stripping CR, so no section pointer moved. Upstream changed its example queries to Next.js's renamed proxy convention, moved a version example from v14.3.0 to v16.2.9, and reformatted a table.

Fix

  • plugins/context7/skills/lookup/context/lookup.md: the two latest-version examples now say proxy (Next.js: "The middleware file convention is deprecated and has been renamed to proxy", https://nextjs.org/docs/app/api-reference/file-conventions/proxy). The v14.3.0 example keeps middleware, which is right for that version.
  • plugins/context7/skills/lookup/vendor/find-docs/SKILL.md: refreshed with update.sh --refresh-baseline; SKILL.md metadata now records upstream-version: …@158ad262 and synced: 2026-10-20.
  • .changes/context7/fix-context7-lookup-drift-890c7864.md: patch fragment.

Verification

  • update.sh: upstream content matches after the refresh (locally it still exits 1 only because the installed ctx7 is one patch behind; CI treats a missing or older CLI as not drift).
  • skill-quality check: PASS (two existing warnings).
  • scripts/check-affected.sh --tests: 12 passed, 2 skipped.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7

kyle-sexton and others added 2 commits October 20, 2026 06:27
Upstream find-docs SKILL.md changed its Next.js example queries from
middleware to proxy (the Next.js 16 rename) and reformatted a table.
Port the rename into the latest-version examples in context/lookup.md,
keep the v14.3.0 example on middleware, and refresh the vendored
baseline and upstream-version stamp to upstash/context7@158ad262.

Refs: #8559

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 20, 2026 10:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 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-10-20T10:39:34.456633Z c1d117c Draft marked ready
ℹ️ 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.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed c1d117cccc1c6b502c4210466ef0f5ef8135814e: 0 finding(s), 0 as inline comments.

No security issues found in PR 8592 at c1d117c.

The PR changes four files: a changelog fragment, a sync stamp in SKILL.md, example queries in lookup.md, and the vendored find-docs/SKILL.md. The changes are example text (Next.js middleware → proxy, a version tag), table whitespace and a blank line.

  • I found no deleted, narrowed or softened standing instruction.
  • allowed-tools is unchanged and still Bash(ctx7 --version*).
  • The vendored skill's guidance not to put secrets in queries is intact.
  • No code, workflow, permission or credential handling changed.

I did not check the new upstream pin upstash/context7@158ad262 against upstream; I only read the diff. I did not consult the instruction exception register, because the diff removes no instructions.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed c1d117cccc1c6b502c4210466ef0f5ef8135814e: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (4 files) and the PR context, and checked two things myself:

  • context7 is listed in scripts/fragment-plugins.txt, so the .changes/context7/ patch fragment is the right changelog form.
  • The remaining middleware mentions are intentional: the v14.3.0 example in lookup.md and the Next.js 15 request in plugins/context7/probes/lookup.json.

The lookup.md edits only switch the latest-version examples to proxy, and the vendored find-docs/SKILL.md changes are the upstream re-sync (the example-query edits plus a table and list reformat). The SKILL.md metadata pin and sync date are updated.

The PR's own claims (update.sh result, skill-quality PASS, check-affected.sh counts) are author-claimed and unverified by me; I did not run them. Refs: #8559 is a non-closing link, so there are no closing-issue criteria to check.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 8310905 Oct 20, 2026
57 checks passed
@kyle-sexton
kyle-sexton deleted the fix/context7-lookup-drift branch October 20, 2026 10:55
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