CapiscIO Documentation Verification Report
Generated: 2026-01-18
Verified Against: RFCs, capiscio-core, capiscio-sdk-python, capiscio-server, validate-a2a, capiscio-node, capiscio-python
A comprehensive audit of all documentation in capiscio-docs/ was performed against the actual implementations and RFC specifications. 70+ issues were identified across all documentation sections.
Issue Severity Distribution
Severity
Count
Impact
CRITICAL
15
Will cause code failures
MAJOR
28
Significant documentation gaps, incorrect signatures
MINOR
27+
Polish, consistency issues
Critical Issues Summary (MUST FIX)
1. SDK Python Documentation (reference/sdk-python/)
File
Issue
Fix Required
badge.md
Missing revoke_badge, get_badge_status functions
Add documentation
badge.md
Missing generate_badge_claims generator
Add documentation
badge.md
TrustLevel enum values don't match RFC-002
Levels 0-4 as strings
errors.md
Import path from capiscio_sdk import should be from capiscio_sdk.errors import
Fix import
executor.md
Constructor param is executor= not wrapped_executor=
Fix signature
simple-guard.md
Missing validate_token, agent_id, badge_token params
Add all params
types.md
Missing multi-dimensional scoring (security_score, compliance_score, reliability_score)
Add docs
2. CLI Documentation (reference/cli/)
Issue
Fix Required
Missing badge request-pop command (PoP protocol)
Add full documentation
Missing badge dv subcommands (ACME-Lite)
Add create, status, finalize
Missing rpc command (gRPC server)
Add documentation
verify missing --accept-self-signed flag
Add to flags table
key gen missing --out-did and --show-did flags
Add to flags table
Trust levels say "1 (DV), 2 (OV), 3 (EV)" but should be "0=SS, 1=REG, 2=DV, 3=OV, 4=EV"
Fix descriptions
3. Server API Documentation (reference/server/)
Issue
Fix Required
API keys path is /api-keys not /v1/keys
Fix all endpoint paths
Badge verification endpoint is /v1/validate not /v1/badges/verify
Fix endpoint path
Auth header is X-Capiscio-Registry-Key not Authorization: Bearer for API keys
Fix all auth examples
Missing /health/ready endpoint (documented but doesn't exist)
Remove or implement
Missing entire SDK API section (/v1/sdk/* endpoints)
Add section
Missing entire MCP Server section (/v1/servers/* endpoints)
Add section
Missing entire DV section (ACME-Lite: /v1/badges/dv/*)
Add section
4. Concepts Documentation (concepts/)
Issue
Fix Required
IAL (Identity Assurance Level) not documented
Add IAL-0 vs IAL-1 section
PoP protocol not referenced
Add RFC-003 reference
ial, key, vc, cnf claims not documented
Add complete badge claims
Clock skew is 5s but RFC says 60s
Fix to 60 seconds
Verification algorithm incomplete
Add all 10 RFC-002 §8.1 steps
Error codes not referenced
Add RFC-002 §8.5 codes
5. Getting Started Documentation (getting-started/)
Issue
Fix Required
CapiscioMiddleware import wrong
from capiscio_sdk.integrations.fastapi import CapiscioMiddleware
CapiscioMiddleware takes guard= not config=
Fix constructor
Header is X-Capiscio-Badge not X-Capiscio-Signature
Fix everywhere
SDK version shown as 0.2.0, actual is 2.3.1
Update version
BadgeKeeper params: api_url not ca_url, output_file not output_path
Fix params
CLI badge keep flag is --ca not --ca-url
Fix flag name
6. How-To Guides (how-to/)
Issue
Fix Required
Express.md references non-existent Node.js SDK
Add warning or remove
FastAPI.md: request.state.capiscio_claims should be request.state.agent
Fix attribute name
FastAPI.md: exclude_paths parameter doesn't exist
Remove or implement
dev-mode.md: dev_identity should be agent_id
Fix param name
verify-inbound.md: Uses Authorization: Bearer but should use X-Capiscio-Badge
Fix header
CLI key gen outputs .jwk not .pem
Fix all file extensions
7. Wrapper Documentation (reference/wrappers/)
Issue
Fix Required
python.md: capiscio.BINARY_PATH doesn't exist
Remove or fix
node.md & python.md: Version 0.3.0 shown, actual is 2.3.1
Update versions
Cache locations documented incorrectly
Fix cache paths
Issues By Documentation File
Click to expand full list (16 issues)
index.md - Missing imports in Quick Import Reference
index.md - Missing DV API imports
badge.md - Missing revoke_badge, get_badge_status docs
badge.md - Missing generate_badge_claims generator
badge.md - TrustLevel enum inconsistent with RFC-002
badge.md - BadgeResult missing level and valid fields
config.md - SecurityConfig example completely wrong
config.md - Missing DownstreamConfig and UpstreamConfig
errors.md - Exception hierarchy incomplete
errors.md - Import path wrong
executor.md - Constructor signature wrong
executor.md - run() example wrong
mcp.md - Internal API exposed without warning
simple-guard.md - Missing constructor params
simple-guard.md - Missing validate_token method
types.md - Missing multi-dimensional scoring
Click to expand full list (10 issues)
Missing badge request-pop command
Missing badge dv subcommands
Missing rpc command
verify missing --accept-self-signed flag
key gen missing --out-did, --show-did flags
badge issue defaults wrong
badge keep completely different architecture
Trust level values incomplete (missing 0, 4)
JWK output example outdated
validate --live deprecation not mentioned
Click to expand full list (14 issues)
/v1/keys should be /api-keys
/v1/badges/verify should be /v1/validate
/health/ready doesn't exist
Auth header wrong (should be X-Capiscio-Registry-Key)
Missing SDK endpoints (/v1/sdk/*)
Missing MCP Server endpoints (/v1/servers/*)
Missing DV endpoints (/v1/badges/dv/*)
Missing PoP challenge endpoint in main docs
API key prefix cpsc_live_ should be sk_live_
Missing /version endpoint
Environment variables incomplete
Agent status values not documented
Error response format incomplete
Missing public endpoints documentation
Click to expand full list (12 issues)
IAL levels not documented at all
PoP protocol not referenced
ial claim missing from badge docs
vc claim structure not documented
cnf claim for IAL-1 not explained
Level 0 IAL constraint not documented
Verification algorithm incomplete (only 3 of 10 steps)
Clock skew 5s should be 60s
RFC-002 §8.5 error codes missing
RFC-006 MCP error codes missing
Evidence logging not explained
Progressive assurance model incomplete
Click to expand full list (10 issues)
CapiscioMiddleware import wrong
CapiscioMiddleware constructor params wrong
X-Capiscio-Signature should be X-Capiscio-Badge
Key file format inconsistency (.jwk vs .pem)
SDK version 0.2.0 should be 2.3.1
BadgeKeeper API params wrong
Gateway port conflict in example
--ca-url should be --ca
Protocol version inconsistency
--live deprecation not mentioned
Click to expand full list (21 issues)
express.md references non-existent Node.js SDK
fastapi.md: capiscio_claims should be agent
fastapi.md: exclude_paths doesn't exist
badges.md: verify_badge signature wrong
badges.md: TrustLevel only has 1-3, missing 0,4
dev-mode.md: dev_identity should be agent_id
sign-outbound.md: Header inconsistency
verify-inbound.md: Uses Authorization: Bearer
CLI key gen outputs .jwk not .pem
gateway-setup.md: Missing health endpoint
flask.md: Body binding pattern wrong
badge-keeper.md: CLI flag inconsistency
validate-url.md: --live deprecation not mentioned
strict-mode.md: Score threshold unverified
langchain.md: Missing Response import
langchain.md: Duplicate route decorator
pre-commit.md: Wrong language setting
gitlab-ci.md: Package name unclear
jenkins.md: Package name unclear
trust-store.md: File format inconsistency
key-rotation.md: Path conventions wrong
Click to expand full list (7 issues)
python.md: BINARY_PATH doesn't exist
python.md: Version 0.3.0 should be 2.3.1
python.md: Cache location wrong
node.md: Version 0.3.0 should be 2.3.1
node.md: Cache location incomplete
node.md: Missing environment variables
github-action.md: All correct ✓
Phase 1: Critical Issues (Week 1)
Focus on issues that will cause user code to fail:
Fix all endpoint paths in server docs
Fix all import statements in SDK docs
Fix all header names (X-Capiscio-Badge)
Add missing commands to CLI docs
Fix constructor signatures
Phase 2: Major Issues (Week 2)
Focus on significant gaps:
Add IAL documentation to concepts
Add complete badge claims documentation
Add missing API sections (SDK, MCP, DV)
Fix verification algorithm in concepts
Update all version numbers
Phase 3: Minor Issues (Week 3)
Polish and consistency:
Standardize file extensions
Add deprecation notices
Fix small signature mismatches
Update examples for consistency
Recommendations for Future Accuracy
See DOCS_ACCURACY_GUIDE.md for detailed best practices.
Key recommendations:
Automated testing - Extract code examples and run them in CI
Schema validation - Auto-generate API docs from OpenAPI spec
Version pinning - Document which versions examples apply to
Single source of truth - Generate from code comments where possible
Review checklist - Require verification against implementation for all doc PRs