Skip to content

docs: configure Context7 indexing for the repo - #2579

Merged
danbarr merged 2 commits into
mainfrom
docs/context7-config
Oct 27, 2026
Merged

danbarr merged 2 commits into
mainfrom
docs/context7-config

Conversation

@danbarr

@danbarr danbarr commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Expands the root context7.json beyond ownership verification: adds a project title and description, the folders to index and exclude, and usage rules for the Context7 listing.
  • The website context7.json is unchanged and stays ownership-only, because that library is retired in favor of the co-located user-docs content indexed from the repo itself.

Issue relationship

None.

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation
  • Other (describe): Context7 indexing configuration

Test plan

Baseline checks

No Go code, Markdown, or user docs changed, so none of the baseline gates apply (lint, test, test:race, demo, docs, site build, API check).

Changes

File Change
context7.json Adds $schema, projectTitle, description, folders, excludeFolders, excludeFiles, and rules

User-facing change

None.

Special notes for reviewers

Builds on the ownership verification in #2576. The rules entries state install, provider, SDK import, and posture guidance, so they are worth checking against current behavior.

🤖 Generated with Claude Code

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.

🟡 Changes recommended

A rule exceeds the schema’s character limit, and the unattended-deployment guidance can produce commands that fail at startup.

2 open issues
What changed in this PR

Expands the repository’s Context7 configuration from ownership verification to indexing and usage guidance, using co-located documentation rather than the retired website listing.

Changes:

  • Adds the schema reference, project title, and description.
  • Defines indexing folders and exclusions.
  • Adds installation, provider, SDK, and permission guidance for coding assistants.
File Description
context7.json Adds indexing scope and usage rules while preserving ownership verification.

Review effort: Balanced

Comment thread context7.json Resolved
Comment thread context7.json Resolved
Split the provider rule under the 200-character limit and replace the
deprecated --posture guidance with --permission-mode, including the
enforcing guardrails checker that auto mode requires.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@danbarr
danbarr merged commit 4652fd4 into main Oct 27, 2026
36 of 37 checks passed
@danbarr
danbarr deleted the docs/context7-config branch October 27, 2026 20:21
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks
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.

3 participants