{
  "causes": {
    "item_level": {
      "title": "Checked at each item's own address",
      "about": "A whole-site check looks at the site itself, not at every post, comment, attestation and tag on it, which can number in the thousands. Check one by giving its address, or run polis validate on the site to check them all."
    },
    "missing": {
      "title": "Nothing to check, or something it needed was missing",
      "about": "The site does not publish what this check looks at, or something the check depends on could not be read. The detail says which. Some of these are normal: most sites publish no did.json, for example."
    },
    "not_covered": {
      "title": "Not covered yet",
      "about": "This comparison needs the discovery service's own record of the site, and only polis.pub's background checks make it today. Nothing here says the site is wrong; this report simply does not cover it."
    },
    "owner_only": {
      "title": "Needs the site's own files",
      "about": "A site never serves its private files (its signing key, private rules, settings and logs) over the web, so no check from outside can see them. The site's owner can run these checks with polis validate in the site's directory, or by asking their agent (site_validate)."
    }
  },
  "checks": {
    "agents.acts": {
      "title": "Agents' acts (owner only)",
      "what": "That everything an agent wrote in the owner's name carries its mark and stayed within its grant.",
      "why": "The record of agents' acts is private, so only the owner's copy of the site can be checked.",
      "learn": [
        {
          "label": "Agent access",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/handbook/agent-access.md"
        }
      ]
    },
    "bundle.declared": {
      "title": "Declared bundles are served",
      "what": "That every bundle /.well-known/polis declares is served at the path it names.",
      "why": "Readers find the site's content by following these pointers; one that leads nowhere hides what the site published.",
      "learn": [
        {
          "label": "Bundles",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/concepts/bundles.md"
        }
      ]
    },
    "bundle.json": {
      "title": "Bundle manifest",
      "what": "That each bundle's manifest parses and declares its content types properly.",
      "why": "The manifest says where each kind of content lives and how its pages are addressed; other software relies on it to read the site.",
      "learn": [
        {
          "label": "Bundles",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/concepts/bundles.md"
        },
        {
          "label": "Content types",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/concepts/content-types.md"
        }
      ]
    },
    "bundle.registry": {
      "title": "Bundle registry (owner only)",
      "what": "That the site's private record of its installed bundles, theme and shape is sound.",
      "why": "It is private state, never served over the web, so only the owner's copy of the site can be checked.",
      "learn": [
        {
          "label": "Bundles",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/concepts/bundles.md"
        }
      ]
    },
    "content.artifact": {
      "title": "Signature",
      "what": "That this item's signature verifies against the key its site publishes (or a key the site's history shows it held when it was signed).",
      "why": "A signature that verifies shows who published this item. Change one character and it fails.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        },
        {
          "label": "Key history",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/key-history.md"
        }
      ]
    },
    "content.attestations": {
      "title": "Attestations are signed",
      "what": "That each attestation the site published verifies.",
      "why": "An attestation is a signed statement the site makes about itself or someone else; its signature is what makes it a statement rather than a claim.",
      "learn": [
        {
          "label": "Attestations",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/attestation.md"
        }
      ]
    },
    "content.blessed": {
      "title": "Blessed comments",
      "what": "That the list of comments the site has chosen to show on its posts verifies, when it is signed.",
      "why": "Blessing is the site's choice to show another site's comment; the signed list makes that choice its own, on the record.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.comments": {
      "title": "Comments are signed",
      "what": "That each comment the site published verifies against the site's key.",
      "why": "A comment lives on its writer's own site and is signed there, so anyone can confirm who wrote it, wherever it is shown.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.following": {
      "title": "Follow list",
      "what": "That the site's list of the sites it follows verifies, when it is signed.",
      "why": "The follow list is public and says whom the site reads; a signature shows the site itself published it.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.hash": {
      "title": "Content fingerprint",
      "what": "That the item's content matches the fingerprint (hash) recorded for its current version.",
      "why": "A matching fingerprint shows the bytes are the ones the site published as this version.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.license": {
      "title": "Terms of use",
      "what": "That the site's stated terms for how others may use its work are intact and signed by its own key.",
      "why": "Signed terms are the author's own statement of what may be done with their work, such as AI training, and they travel with it.",
      "learn": [
        {
          "label": "Terms of use",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/license.md"
        },
        {
          "label": "Trust, provenance and terms",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/paths/trust-provenance-and-terms.md"
        }
      ]
    },
    "content.license_robots": {
      "title": "robots.txt matches the terms",
      "what": "That the robots.txt the site serves says what its signed terms say.",
      "why": "Crawlers read robots.txt, not the signed terms; it must not contradict them.",
      "learn": [
        {
          "label": "Terms of use",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/license.md"
        }
      ]
    },
    "content.license_rsl": {
      "title": "rsl.xml matches the terms",
      "what": "That the RSL licence file the site serves is exactly what its signed terms produce.",
      "why": "RSL is how licensing terms are read by machines; it must say what the author signed.",
      "learn": [
        {
          "label": "Terms of use",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/license.md"
        }
      ]
    },
    "content.posts": {
      "title": "Posts are signed",
      "what": "That each post the index lists verifies against the site's key (or a key its history shows it held).",
      "why": "A post that verifies was published by this site and has not been changed since. One that fails may have been altered.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.tags": {
      "title": "Tags are signed",
      "what": "That each tag file the site published verifies.",
      "why": "Tags are the site's own signed labels on content; a signature shows the site applied them.",
      "learn": [
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "content.witness": {
      "title": "Witness",
      "what": "Whether a discovery service countersigned these exact bytes, and whether that countersignature verifies.",
      "why": "A witness is independent evidence that these bytes were published, and when. Being unwitnessed is not a fault; a witness that does not verify is.",
      "learn": [
        {
          "label": "Witnesses",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/witness.md"
        }
      ]
    },
    "content.witnesses": {
      "title": "Witnesses",
      "what": "Whether a discovery service countersigned the site's items as it saw them, and whether those countersignatures verify.",
      "why": "A witness is independent evidence of what was published and when. Being unwitnessed is not a fault; a witness that does not verify is.",
      "learn": [
        {
          "label": "Witnesses",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/witness.md"
        }
      ]
    },
    "identity.did_document": {
      "title": "Decentralised identifier (did:web)",
      "what": "That did.json, the site's identity in the W3C did:web form, names the same key as /.well-known/polis.",
      "why": "Tools that speak the W3C standard read the site's identity from did.json; it must agree with polis's own document, or the two would vouch for different keys.",
      "learn": [
        {
          "label": "did:web",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/did-web.md"
        }
      ]
    },
    "identity.key_files": {
      "title": "Key files (owner only)",
      "what": "That the site's private signing key is present on the machine it runs on.",
      "why": "Only someone holding the site's files can check this; a private key is never served over the web.",
      "learn": [
        {
          "label": "Who holds your key",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/who-holds-your-key.md"
        }
      ]
    },
    "identity.key_history": {
      "title": "Key history",
      "what": "That the site's record of every key it has held is a valid chain: each handover signed by the key before it.",
      "why": "After a key changes, the history is how an old post still verifies: it shows which key was in use when, without trusting any server's word for it.",
      "learn": [
        {
          "label": "Key history",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/key-history.md"
        }
      ]
    },
    "identity.key_history_head": {
      "title": "Current key agrees",
      "what": "That the newest key in the history, the published public key, and did.json's signing key are the same key.",
      "why": "If they disagree, a reader cannot tell which key the site really signs with now.",
      "learn": [
        {
          "label": "Key history",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/key-history.md"
        },
        {
          "label": "did:web",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/did-web.md"
        }
      ]
    },
    "identity.key_history_witness": {
      "title": "Key history, as witnessed",
      "what": "Whether the site's key history matches what a discovery service saw and countersigned.",
      "why": "A second record kept by someone else makes a rewritten history detectable. A site's own history alone can only be checked against itself.",
      "learn": [
        {
          "label": "Key history",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/key-history.md"
        },
        {
          "label": "Witnesses",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/witness.md"
        }
      ]
    },
    "identity.key_match": {
      "title": "Private key matches (owner only)",
      "what": "That the private key on disk is the one the published public key belongs to.",
      "why": "If they differ, everything the site signs from now on will fail to verify. Only the owner's copy of the site can show it.",
      "learn": [
        {
          "label": "Who holds your key",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/who-holds-your-key.md"
        }
      ]
    },
    "identity.key_perms": {
      "title": "Key file permissions (owner only)",
      "what": "That the private key file can be read only by its owner.",
      "why": "A private key readable by other users of the same machine could sign in the site's name. File permissions are never served over the web.",
      "learn": [
        {
          "label": "Who holds your key",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/who-holds-your-key.md"
        }
      ]
    },
    "identity.messages_key": {
      "title": "Messages key",
      "what": "That the key other sites use to send this site encrypted direct messages is published and signed by the site's identity key.",
      "why": "A message key signed by the identity key cannot be swapped by someone in the middle to read the site's messages.",
      "learn": [
        {
          "label": "Direct-message encryption",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/dm-encryption.md"
        }
      ]
    },
    "identity.private_files_served": {
      "title": "Nothing private is served",
      "what": "Asks the site for every name it must never serve (its private key, settings, logs, .env, .git and the rest) and checks none comes back.",
      "why": "A site that serves its private key lets anyone sign in its name. This is the one check only a request from outside can make.",
      "learn": [
        {
          "label": "Security model",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/security-model.md"
        }
      ]
    },
    "identity.well_known": {
      "title": "Identity document",
      "what": "That the site serves /.well-known/polis, that it parses, and that it publishes a public key.",
      "why": "This is where anyone finds the key to check the site's signatures. Without it nothing on the site can be verified.",
      "learn": [
        {
          "label": "Who holds your key",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/security/who-holds-your-key.md"
        },
        {
          "label": "What a signature covers",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/signet/spec/signing-base.md"
        }
      ]
    },
    "index.consistency": {
      "title": "Index matches the site",
      "what": "That every item the site's index lists is served, and its bytes match the version the index records.",
      "why": "An index that points at missing or changed files misleads every reader and search that relies on it.",
      "learn": [
        {
          "label": "Content types",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/concepts/content-types.md"
        }
      ]
    },
    "policy.syntax": {
      "title": "Policy rules parse",
      "what": "That every public policy rule is written in the policy grammar and parses.",
      "why": "A rule that does not parse is silently ignored, so the site would not apply the rule its owner meant.",
      "learn": [
        {
          "label": "Policy grammar",
          "url": "https://github.com/vdibart/polis-cli/blob/main/docs/general/reference/policy-grammar.md"
        }
      ]
    }
  },
  "families": {
    "agent-act-accountability": {
      "title": "Agents",
      "about": "What software acting for the site's owner did in their name. Every such act carries a mark naming the agent and the grant that allowed it."
    },
    "bundle-registry-health": {
      "title": "Structure",
      "about": "How the site's content is organised: the bundles it declares, which name each kind of content, where its signed files live and where its pages are served."
    },
    "index-consistency": {
      "title": "Index",
      "about": "The site's public list of everything it has published. Readers, search and other sites use it to find the signed files."
    },
    "key-handle-alignment": {
      "title": "Identity",
      "about": "Who the site is: the public key everything on it is signed with, published at a fixed place, and the record of every key it has held. Anyone can fetch these and check a signature without asking a central server."
    },
    "policy-parseability": {
      "title": "Policy",
      "about": "The site's public rules for what it accepts from others, such as who may comment. Policy governs what comes in; the site's terms of use govern what others may do with its work."
    },
    "signed-content-integrity": {
      "title": "Signed content",
      "about": "What the site published, each item signed with the site's key: posts, comments, attestations, tags, its follow list, and its terms. A signature lets anyone check who published a file and that it has not changed since."
    }
  }
}
