Skip to content

Commit 31283e7

Browse files
committed
Update context7.json with full schema, folder scoping, and AI rules
1 parent 33c0b10 commit 31283e7

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

context7.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
{
2+
"$schema": "https://context7.com/schema/context7.json",
23
"url": "https://context7.com/thirdkeyai/agentpin",
3-
"public_key": "pk_Ehy7QXQTu2Keb0e5BNeyx"
4+
"public_key": "pk_Ehy7QXQTu2Keb0e5BNeyx",
5+
"projectTitle": "AgentPin",
6+
"description": "Domain-anchored cryptographic identity protocol for AI agents — ES256 JWT credentials, 12-step verification, TOFU key pinning, revocation checking, delegation chains, and mutual authentication. Implementations in Rust, JavaScript, and Python. Part of the ThirdKey trust stack.",
7+
"folders": [
8+
"SKILL.md",
9+
"README.md",
10+
"CHANGELOG.md",
11+
"AGENTPIN_TECHNICAL_SPECIFICATION.md",
12+
"crates/agentpin/src",
13+
"crates/agentpin-cli/src",
14+
"crates/agentpin-server/src",
15+
"javascript/src",
16+
"python/agentpin"
17+
],
18+
"excludeFolders": [
19+
"**/target",
20+
"**/node_modules",
21+
"**/dist",
22+
"**/__pycache__",
23+
"**/*.egg-info",
24+
"**/build"
25+
],
26+
"excludeFiles": [],
27+
"rules": [
28+
"AgentPin uses ES256 (ECDSA P-256) exclusively — reject all other JWT algorithms; algorithm validation is inline with no external JWT crate in Rust",
29+
"Credential verification follows a 12-step flow: JWT parsing, algorithm check, signature verification, domain extraction, discovery resolution, domain binding, key matching, TOFU pinning, expiration, revocation, capability validation, delegation chain",
30+
"Discovery documents are published at /.well-known/agent-identity.json; revocation lists at /.well-known/agent-identity-revocations.json",
31+
"TOFU key pinning: on first verification for a domain, the public key (JWK thumbprint) is pinned — subsequent verifications reject different keys for the same domain",
32+
"Delegation chains must narrow capabilities, never widen them; chain depth limits are enforced",
33+
"Prefer short-lived credentials (hours, not days) — issue with TTL via CredentialBuilder (Rust), issueCredential (JS), or issue_credential (Python)",
34+
"Trust bundles package discovery + revocation data for offline/air-gapped environments — use 'agentpin-cli bundle' to create",
35+
"Rust crate is feature-gated: default is offline-capable, 'fetch' feature enables reqwest for online discovery",
36+
"Three crates: agentpin (core library), agentpin-cli (CLI binary), agentpin-server (Axum .well-known server)"
37+
]
438
}

0 commit comments

Comments
 (0)