Skip to content

chore(context7): add the ownership claim to context7.json - #100

Merged
baldurpan merged 1 commit into
mainfrom
chore/context7-claim
Oct 4, 2026
Merged

baldurpan merged 1 commit into
mainfrom
chore/context7-claim

Conversation

@baldurpan

Copy link
Copy Markdown
Contributor

What

Adds Context7's ownership-claim fields to the existing root context7.json, so the maintainer can claim /northguild/worktree on context7.com:

"url": "https://context7.com/northguild/worktree",
"public_key": "pk_hE7QfxqWAEcy3P78OEapo"

Context7 verifies a claim by reading these two fields from context7.json on the default branch. public_key is a public verification key and is meant to be committed.

The claim modal suggests a file containing only these two fields. This PR adds them to the existing file instead. Replacing the file would drop the folder whitelist from #99, and the next refresh would index context/ and .claude/. No existing field changed: the context7.json diff is one comma and two new lines. Context7's schema lists both keys, so the file still passes its additionalProperties: false rule.

context/stack.md gains a short paragraph saying the file holds the claim and what breaks if the fields are changed or the file is replaced. It also drops the sentence "Whether the repository has been submitted to Context7 is not tracked here", which this change makes untrue.

No release note

context/** owes none per context/release.md. Root context7.json has no row there and isn't in the package's files list. The release-note check's path filter doesn't match either file.

Verification

  • pnpm check: exit 0. This is a docs/config-only change, so per context/verify.md Gate 1 is lint plus a read of the diff. I also checked that the JSON parses, that no existing key differs from origin/main, and that both values match the claim modal.
  • Review (reviewer subagent): FAIL on the first pass, because of the stale "not tracked here" sentence. PASS WITH NOTES after that fix.

After merge

In the claim modal at https://context7.com/northguild/worktree/admin, choose context7.json as the parsing-config source, then click Claim Library.

Context7 verifies a library claim by reading url and public_key from the
root context7.json on the default branch. Add both to the existing file
rather than replacing it with the claim modal's two-field snippet, which
would drop the folder whitelist and re-index context/ and .claude/ on
the next refresh.

context/stack.md records the claim fields and drops the sentence saying
the Context7 listing is not tracked here, which this change makes untrue.
@baldurpan
baldurpan merged commit b58e858 into main Oct 4, 2026
1 check passed
@baldurpan
baldurpan deleted the chore/context7-claim branch October 4, 2026 15:18
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