Logo van Provenance Signing

Provenance Signing

Organisatie
buriedsignals
provenance-signing

Build a Spotlight provenance manifest and optionally hand it to Noosphere C2PA signing before the final review/report artifact is delivered.

Overzicht

Uitgeverburiedsignals
Repositoryspotlight
Skillnaamprovenance-signing
Sterren
60
Forks
11
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door buriedsignals op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Provenance Signing in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/buriedsignals/spotlight/tree/main/skills/provenance-signing
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buriedsignals/spotlight.git /tmp/spotlight
mkdir -p .claude/skills
cp -r /tmp/spotlight/skills/provenance-signing .claude/skills/provenance-signing
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Provenance Signing in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Provenance Signing automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Provenance Signing niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Provenance Signing

This skill creates a portable provenance package for a completed Spotlight case. It does not replace Spotlight verification. It makes the case artifacts tamper-evident and gives Noosphere C2PA a clear signing contract.

Use it after the Investigation gate readiness criteria pass and before the final HTML review/report artifact is delivered.

What Gets Signed

Spotlight signs the investigation package, not isolated web fetches:

  • summary.md
  • data/findings.json
  • data/fact-check.json
  • data/source-expressions.json, for activated cases
  • data/evidence-bundle.json
  • data/investigation-log.json
  • review.html, when present
  • finalized report artifacts, when present

Legacy cases keep the generated manifest at:

{CASE_DIR}/data/provenance-manifest.json

For an activated findings contract (schema_version: "1.1"), that path is a derived current pointer. The immutable manifest bytes are stored at:

{CASE_DIR}/data/provenance-manifests/PM-<revision-hash>.json

Each revision records its input-set hash and parent revision/input-set hashes. Claim entries include the exact source-expression IDs, expression/finding/link fingerprints, relation, anchor hash, and original artifact hash used by the fact-check at that revision. This proves integrity and traceability, not that the passage semantically entails the finding.

Credentials Boundary

Signing needs a Noosphere API key with the sign scope, sent as the X-API-Key header from NOOSPHERE_PROVENANCE_API_KEY. The signing credential itself is configured on the Noosphere side and never reaches the case directory.

Model this distinction explicitly:

  • requires_api_key: true
  • requires_signing_credential: true
  • credential_id: optional identifier passed to the signer

Never store private keys, certificates, API keys, bearer tokens, or signing secrets in the case directory.

Build Only

For a local unsigned package:

text
execute-shell("scripts/spotlight-python scripts/build-provenance-manifest.py {CASE_DIR}")

For a legacy case this writes the existing unsigned 1.0 manifest. For an activated case it creates one immutable unsigned revision and advances the current pointer. Repeating the command with unchanged inputs reuses the same revision.

Before delivering or signing an existing manifest, check that findings, fact-check, source expressions, review, and report inputs have not changed:

text
execute-shell("scripts/spotlight-python scripts/build-provenance-manifest.py {CASE_DIR} --check-current")

The command exits non-zero and marks an activated pointer stale on any input or revision-byte mismatch. Rebuild to create a child revision; never edit a revision file in place.

Optional Noosphere Signing

If a Noosphere C2PA signer endpoint is available:

text
execute-shell("scripts/spotlight-python scripts/build-provenance-manifest.py {CASE_DIR} --sign-endpoint \"$NOOSPHERE_C2PA_URL\" --credential-id \"$NOOSPHERE_C2PA_CREDENTIAL_ID\" --artifact review.html")

The signing request carries this body. NOOSPHERE_PROVENANCE_API_KEY is sent as X-API-Key only to https://platform.noosphere.tech; with the key set, a custom endpoint is refused rather than handed the key. The key is read from the environment only, never from a command-line flag. In sensitive mode the helper does not contact the signer and writes the unsigned manifest.

json
{
  "profile": "spotlight",
  "artifact_path": "review.html",
  "provenance_manifest": {},
  "credential_id": "optional signer credential id"
}

The response follows the Noosphere provenance contract 1.x (https://platform.noosphere.tech/openapi.yaml): it returns the signed record_b64, its content_hash, the C2PA sidecar as c2pa_manifest_b64, and echoes profile and input_set_hash unchanged.

The helper checks every response before keeping it: contract_version is 1.x, status is signed, profile and input_set_hash match what was sent, content_hash matches the decoded record_b64 bytes, record_b64 decodes to record, every artifact, claim and source sent appears unchanged in the signed record, the sidecar is valid base64, and certificate_chain.grade is production. It never follows a redirect and refuses responses over 32 MB. A response that fails any check, or an HTTP error (401 key rejected, 403 missing sign scope, 413, 422, 429 with its retry delay, 503 no production chain), records signing_failed with the reason.

A response that passes is then verified locally: c2patool checks the C2PA sidecar over the record bytes against the pinned C2PA trust list (integrations/noosphere-c2pa/c2pa-trust-list.pem). Only a Trusted result marks the package signed. Otherwise, including when c2patool is not installed, the receipt is kept with receipt_status: received_unverified, the package stays unsigned, and signing.verification records why.

For activated cases receipts are immutable and content-addressed under:

{CASE_DIR}/data/provenance-signing-receipts/

The current pointer records the applicable receipt. A repeated signing command for a revision that already has a receipt does not call the signer again. Legacy cases retain data/provenance-signing-receipt.json for compatibility.

Report Language

In summaries and HTML reports, describe the result carefully:

  • Correct, once a package is signed: "The investigation package and verification trail were signed and can be checked for later tampering."
  • Correct, with receipt_status: received_unverified: "A signing receipt was received from Noosphere; it has not been verified locally."
  • Incorrect: "C2PA proves the investigation is true."

Truth still depends on Spotlight evidence, independent fact-checking, and editorial review.

Failure Handling

If signing fails, keep the unsigned immutable revision and continue the review flow. Activated cases append a deduplicated failure record under data/provenance-signing-attempts/; retrying never overwrites a revision, receipt, or earlier attempt. Report:

  • endpoint attempted,
  • whether a credential id was provided,
  • exact error string from the current pointer,
  • that the case remains editorially reviewable but unsigned.

If a signing retry succeeds, the pointer advances to the immutable receipt and prior failed-attempt records remain historical evidence. If case inputs change after signing, the signed revision and receipt remain untouched; the current pointer becomes stale until a new child revision is built.

Veelgestelde vragen

Wat doet de AI-skill Provenance Signing?

Build a Spotlight provenance manifest and optionally hand it to Noosphere C2PA signing before the final review/report artifact is delivered.

Waarom Provenance Signing gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Provenance Signing bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Provenance Signing in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/buriedsignals/spotlight/tree/main/skills/provenance-signing. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Provenance Signing gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Provenance Signing gebruiken?

Zoveel als je wilt. Je kunt Provenance Signing gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Provenance Signing gratis?

Deze skill is door buriedsignals op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇