Digital Karma Web Standards & Architecture
Technical specifications and standards for building AI-native, machine-readable websites.
specs/federation-spec-v7.md
Release Tracking
The standards page is the current authority. For the public release trail and milestone-by-milestone changes, use the changelog and ledger below.
Validate the standard on a real public site
The constellation audit turns the spec into something operational: current version detection, root discovery checks, schema presence, and a prioritized upgrade path.
Quick Reference
Required Constellation Artifacts
/ai/manifest.json/ai/health.json/ai/catalog.json/ai/karma.json/ai/federation.json/llm.txt
Required Root Discovery Files
/robots.txt/sitemap.xml/ai/sitemap.jsonis optional- Use HTTPS everywhere
Version Rules
federation_versionmust be"7.1"- Use ISO 8601 UTC timestamps
- Refresh health and freshness weekly or better
- Keep cross-site URLs absolute
Recommended Extras
/ai/diagnostics.json/llm.json/entities/index.json/datasets/index.json
Constellation Protocol v7.1
The Digital Karma Web Constellation is an open standard enabling any AI-ready website to join an aligned pattern of connected digital assets. Sites discover, understand, and trust each other through standardized endpoints, root discovery files, and transparent reputation scoring. DigitalKarmaWeb.com is the specification authority, but any site can implement the standard independently.
Core Principles
- Discoverability - Sites expose predictable machine-readable entry points.
- Interoperability - JSON payloads and Schema.org markup use consistent patterns.
- Transparency - Quality scores and compliance signals are openly documented.
- Decentralization - Peer-to-peer discovery works without mandatory central approval.
- Root Integrity -
robots.txtandsitemap.xmlstay at the site root. - Version Discipline - The published version must match the actual implementation.
What Changed in v7.1
| Area | v7.0 | v7.1 |
|---|---|---|
| Root discovery files | Documented, but often implemented inconsistently | robots.txt and sitemap.xml are explicitly required at the root |
| Canonical sitemap | Sometimes mirrored in /ai/ | Root sitemap.xml is canonical; /ai/sitemap.json is optional only |
| Portable installer | Informal repo-by-repo upgrades | v7.1-DigitalKarma.md formalizes the upgrade brief for agents |
| Generated sitemap handling | Not always defined | Update the generator or workflow, not the generated XML by hand |
| Required artifacts | 6 artifacts established | 6 artifacts retained, with stricter placement and validation rules |
Compliance Levels
| Level | Requirements | Badge |
|---|---|---|
| Starter | All 6 required artifacts present, valid JSON where applicable, root robots.txt and sitemap.xml published, federation_version: "7.1" | Constellation Member |
| Certified | Starter plus score >= 0.70 and Schema.org markup on primary pages | Karma Certified |
| Pro | Certified plus score >= 0.85, datasets, and bidirectional peer links | Karma Pro |
| Elite | Pro plus score >= 0.95, automation, diagnostics, entities, and full constellation mapping | Karma Elite |
Required Artifacts
A v7.1 site publishes 5 required JSON files under /ai/ plus /llm.txt at the root.
| Artifact | Path | Purpose |
|---|---|---|
| Manifest | /ai/manifest.json | Main identity and discovery entrypoint |
| Health | /ai/health.json | Operational readiness and freshness state |
| Catalog | /ai/catalog.json | Machine-readable catalog of datasets and assets |
| Karma | /ai/karma.json | Digital Karma definition or score payload |
| Constellation | /ai/federation.json | Constellation role, peers, and topology |
| LLM Text | /llm.txt | Plain-text LLM-readable guide to the site |
Root Discovery Rules
v7.1 tightened the root placement rules. These are required operational discovery files, even though they are not part of the 6-artifact set.
/robots.txt
- Always store it at the site root.
- Do not relocate it into
/ai/. - Allow intended public AI discovery paths.
- Include a
Sitemap:reference to the root/sitemap.xml.
/sitemap.xml
- Always store it at the site root.
- Treat it as the canonical crawl sitemap.
- If it is generated automatically, update the generator rather than hand-editing the artifact.
/ai/sitemap.json
- Optional companion inventory for machine-readable content maps.
- Helpful, but not a replacement for the root XML sitemap.
Manifest and Health Examples
Manifest Example
{
"name": "Your Site Name",
"url": "https://yoursite.com",
"federation_version": "7.1",
"updated_utc": "2026-04-22T00:00:00Z",
"endpoints": {
"manifest": "/ai/manifest.json",
"health": "/ai/health.json",
"catalog": "/ai/catalog.json",
"karma": "/ai/karma.json",
"federation": "/ai/federation.json",
"llm_txt": "/llm.txt",
"sitemap": "/sitemap.xml"
},
"related_sites": ["https://www.aiwebsitesystems.com"]
}
Health Example
{
"site": "https://yoursite.com",
"status": "ok",
"federation_version": "7.1",
"updated_utc": "2026-04-22T00:00:00Z",
"last_rebuild_utc": "2026-04-22T00:00:00Z",
"metrics": {
"pageCount": 20,
"datasetCount": 3,
"entityCount": 4
}
}
Schema and Scoring
Primary public-facing pages should include valid Schema.org JSON-LD. The most useful types across the portfolio are Organization, WebSite, WebPage, Service, Article, Dataset, and DataCatalog.
Scoring Signals
| Signal | Weight |
|---|---|
| Schema Coverage | 20% |
| Content Freshness | 15% |
| AI Endpoints | 25% |
| Constellation Presence | 15% |
| External Links | 10% |
| Technical Quality | 10% |
| Dataset Quality | 5% |
Badge Thresholds
- Karma Certified at 0.70 or higher
- Karma Pro at 0.85 or higher
- Karma Elite at 0.95 or higher
Naming rule: Do not use Karma Bronze on v7.x sites. The correct name is Karma Certified.
Directory Blueprint
Minimum v7.1 Shape
/
|-- ai/
| |-- manifest.json
| |-- health.json
| |-- catalog.json
| |-- karma.json
| `-- federation.json
|-- llm.txt
|-- robots.txt
|-- sitemap.xml
`-- datasets/ # optional but recommended
Pro / Elite Shape
/
|-- ai/
| |-- manifest.json
| |-- health.json
| |-- catalog.json
| |-- karma.json
| |-- federation.json
| |-- diagnostics.json
| |-- sitemap.json
| `-- journal/
|-- entities/
|-- federation/
|-- datasets/
|-- llm.txt
|-- robots.txt
`-- sitemap.xml
Validation Checklist
Before marking a site as v7.1 complete, verify all of the following:
/ai/manifest.jsonloads and parses./ai/health.jsonloads and parses./ai/catalog.jsonloads and parses./ai/karma.jsonloads and parses./ai/federation.jsonloads and parses./llm.txtloads at the root./robots.txtloads at the root./sitemap.xmlloads at the root.federation_versionis"7.1"everywhere it appears.- Schema.org exists on primary pages.
- Constellation peer links are present.
robots.txtpoints to the rootsitemap.xml.- No one relocated root discovery files into
/ai/.
Have Feedback on These Standards?
The Digital Karma Web Constellation standards are community-driven. Suggest improvements, report issues, or submit your site for constellation membership.