Logotipo de Provenance Signing

Provenance Signing

Organización
buriedsignals
provenance-signing

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

Descripción general

Editorburiedsignals
Repositoriospotlight
Nombre de la habilidadprovenance-signing
Estrellas
60
Forks
11
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por buriedsignals en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Provenance Signing en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/buriedsignals/spotlight/tree/main/skills/provenance-signing
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Provenance Signing en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Provenance Signing automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Provenance Signing no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Provenance Signing?

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

¿Por qué usar Provenance Signing en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Provenance Signing está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Provenance Signing en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/buriedsignals/spotlight/tree/main/skills/provenance-signing. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Provenance Signing?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Provenance Signing?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Provenance Signing con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Provenance Signing?

buriedsignals la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇