Skip to content

Commit 77d8646

Browse files
Reduce context7.json to minimal claim file
Context7's claim verification requires context7.json to contain only `url` and `public_key` — extra config fields (projectTitle, description, folders, excludeFiles, rules, $schema) aren't part of the claim format and cause verification to fail. Strip to the two required fields so the claim verifies. The parsing config is restored in a follow-up once ownership is verified (it's managed via the admin panel or re-added to context7.json after claiming). No live impact: Context7 fetching is still dormant until the real library ID lands in iterable-android/.context7-library-id. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3d9acd2 commit 77d8646

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

context7.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
{
2-
"$schema": "https://context7.com/schema/context7.json",
3-
"projectTitle": "Iterable Mobile SDKs",
4-
"description": "Agent-facing reference for Iterable's mobile SDKs. Polished from Iterable's canonical docs with version-pinned snippets, decision tiers, and Kotlin-preferred Android examples. Covers push notifications, in-app messages, mobile inbox, embedded messaging, deep linking, JWT authentication, event tracking, user profiles, and unknown user activation.",
52
"url": "https://context7.com/iterable/iterable-sdk-skill",
6-
"public_key": "pk_JMMoVfKCtHoC5E3alGPcX",
7-
"folders": [
8-
"polished"
9-
],
10-
"excludeFiles": [
11-
"*.layer-a.md"
12-
],
13-
"rules": [
14-
"Treat divergence from Iterable's published behavior as a critical issue — never invent SDK APIs, version numbers, or dashboard paths. If the user is on a different SDK version than the snippet's frontmatter `sdk_min_version`, surface the mismatch.",
15-
"Several Iterable integrations fail silently with no error logs (JWT-required keys with no auth handler, `setEmail` inside the init callback, stale email captured in the auth handler lambda, runtime `POST_NOTIFICATIONS` permission missing on Android 13+, custom URL schemes without `setAllowedProtocols`, in-app handler import path drift). Always surface the relevant trap explicitly when the user touches these areas, even if they didn't ask.",
16-
"For Android, prefer Kotlin snippets over Java. The polish layer drops Java duplicates when a Kotlin equivalent exists.",
17-
"Frontmatter `sdk_min_version` pins the SDK release each snippet was validated against — surface it when the user asks about version compatibility, or when generating code that depends on an SDK feature introduced after a known older version."
18-
]
3+
"public_key": "pk_JMMoVfKCtHoC5E3alGPcX"
194
}

0 commit comments

Comments
 (0)