Skip to main content
Back to all articles
AI Engineering 9 min readUpdated August 31, 2026

AI Transparency Is an Output Pipeline, Not a Disclaimer

AI transparency is not solved by adding “generated by AI” under a button. A production design for disclosure, machine-readable provenance, C2PA Content Credentials, editorial responsibility, and auditable policy decisions under current EU AI Act transparency rules.

By Salman Butt · Senior Full-Stack & Generative AI Engineer
#eu-ai-act#ai-transparency#c2pa#content-credentials#provenance#ai-governance#typescript#python
On this page

A small “AI-generated” badge is easy to add.

The harder question is whether the system can still explain what was generated, by which system, under which policy, whether a human materially reviewed it, and which provenance survived after the asset was resized, exported, reposted, or edited by another service.

That is the part I care about as an engineer.

As of August 2026, Article 50 of the EU AI Act is no longer a future roadmap item. Its transparency obligations started applying on 2 August 2026. Among other things, certain interactive AI systems must inform people that they are interacting with AI, providers of systems generating synthetic content have machine-readable marking obligations in scope, and deployers have disclosure obligations for cases such as deepfakes and certain AI-generated text published to inform the public on matters of public interest.

There are exceptions and role-specific details, so this is not a legal checklist. The engineering lesson is broader: transparency has to be represented as product state.

If disclosure exists only as copy in a React component, it will eventually drift away from what the backend actually did.

The example here is a publishing platform where users can generate text, images, and short videos with AI, edit them manually, and publish them to several destinations.

Start by separating four different questions

Teams often compress all of this into one boolean:

Text
is_ai_generated = true

That is rarely enough.

I want to distinguish:

Text
1. Interaction disclosure   Does the user need to know they are interacting with an AI system?​2. Generation provenance   Was this asset generated or materially manipulated by AI?​3. Visible publication disclosure   Does this publication need a human-visible label?​4. Machine-readable marking   Does the output need embedded or associated provenance that machines can inspect?

These decisions can have different answers for the same workflow.

A customer-support chatbot can require interaction disclosure without producing a media asset. An AI-edited image may need provenance even if the edit is not published publicly. Public-interest text can have different disclosure treatment depending on the role of human review and editorial responsibility.

The application should not pretend these are the same policy switch.

Model provenance before writing labels

I start with an internal provenance record.

type GenerationProvenance = {  assetId: string;  tenantId: string;  generationId: string;  systemId: string;  systemVersion: string;  modelProvider: string;  modelId: string;  operation: "generated" | "ai-edited" | "human-edited";  sourceAssetIds: string[];  createdAt: string;  policyVersion: string;};

I do not store private model reasoning in this record.

The provenance record describes an observable production event: which system performed which transformation on which assets under which versioned policy.

That is enough to support disclosure, audit, debugging, and later export into a standard provenance format.

Provenance is a graph, not a flag

An asset rarely stays in one state.

Consider this path:

Text
photo uploaded by user  -> AI removes background  -> human changes crop  -> AI generates new background  -> human adds logo and text  -> export service compresses JPEG  -> social platform receives final file

Which operation makes the asset “AI-generated”?

The product should not answer that by looking only at the final file's creator field.

I keep the transformation graph:

type ProvenanceEdge = {  inputAssetId: string;  outputAssetId: string;  actorType: "human" | "ai-system" | "service";  operation: string;  materiallyChangedSemantics: boolean;};

The exact meaning of “materially changed” belongs to a versioned policy and, where relevant, legal interpretation—not to an arbitrary threshold hidden in image-processing code.

But the pipeline should preserve enough facts to make the decision later.

Disclosure policy should be deterministic application code

The model should not decide whether its own output needs disclosure.

I want a policy result generated from trusted application facts.

type PublicationContext = {  destination: "private-workspace" | "website" | "social" | "newsroom";  contentType: "text" | "image" | "audio" | "video";  publicInterestPurpose: boolean;  hasHumanEditorialReview: boolean;  editorialResponsibilityAssigned: boolean;  containsSyntheticPersonOrEvent: boolean;};​type TransparencyDecision = {  visibleDisclosure: "required" | "not-required" | "review";  machineReadableMarking: "required" | "not-required" | "review";  reasonCodes: string[];  policyVersion: string;};

For cases with legal ambiguity, review is a valid result.

A deterministic policy engine does not eliminate legal analysis. It makes the implemented interpretation inspectable and testable instead of hiding it inside a prompt.

Keep reason codes with the decision

A boolean creates bad audits.

Six months later somebody asks why an asset was labelled and the database contains only:

Text
visible_disclosure = true

I prefer:

JSON
{  "visibleDisclosure": "required",  "machineReadableMarking": "required",  "reasonCodes": [    "synthetic-video",    "public-publication",    "no-editorial-exception"  ],  "policyVersion": "transparency-2026-08-v3"}

Now a policy update can be evaluated against historical decisions.

If the legal or product interpretation changes, I can answer which published assets were classified under the old rule.

That is much better than searching production code history and hoping the UI behaved the way the source suggests.

Machine-readable provenance is not the same as a visible label

A person can see:

Text
AI-generated image

A machine cannot reliably infer provenance from that text after the image is downloaded and reposted.

Machine-readable marking is a different layer.

The C2PA Content Credentials specification is useful here because it provides a standard way to carry signed provenance information about an asset and its history. The current 2.4 specification also includes newer representations and assertions, but the architectural point is stable: provenance can travel with or be associated with media in a structured, verifiable form.

I treat C2PA as provenance infrastructure, not as a magic legal-compliance switch.

A valid Content Credential can still describe a workflow whose visible disclosure is wrong. A legally required label can still be present even if a downstream platform strips embedded provenance.

The two layers reinforce each other but solve different failures.

Build an internal claim before serializing a standard

I do not want business code constructing C2PA structures directly everywhere.

I first produce a provider-neutral claim:

type ProvenanceClaim = {  assetId: string;  generator: {    product: string;    version: string;  };  actions: Array<{    action: "generated" | "edited" | "converted";    softwareAgent: string;    at: string;  }>;  ingredients: Array<{    assetId: string;    relationship: "source" | "component";  }>;};

Then one adapter maps that claim into the current provenance standard/library.

That keeps the publishing workflow insulated from specification serialization details and gives me one place to upgrade when the standard evolves.

Signatures answer integrity, not truth

A signed provenance record can demonstrate that a particular signer asserted a particular history and that the signed information has not been silently modified without detection.

It does not prove that every assertion is objectively true.

If a malicious system signs:

Text
This image was captured by a camera.

when it was actually generated, cryptography does not repair the lie.

Trust comes from several pieces:

Text
cryptographic integritysigner identity/trustclaim semanticssecure key custodysource-system controlsvalidation policy

That distinction should appear in product language too.

I avoid UI copy such as “Verified authentic” when what we can actually say is closer to “Content Credential verified and issued by X.”

Provenance reduces uncertainty. It does not create omniscience.

Signing keys should stay out of the model runtime

The LLM does not need access to provenance signing keys.

The flow should look like:

Text
agent/application creates asset  -> policy service creates approved provenance claim  -> signing service validates claim  -> protected key signs credential  -> asset/export receives credential

The signing service should reject arbitrary claims from the model.

type SignableClaim = {  assetId: string;  approvedPolicyDecisionId: string;  provenanceRecordIds: string[];};

The signer reconstructs or verifies the relevant facts from trusted storage before signing.

That turns a signing key into an infrastructure capability rather than another tool the agent can improvise with.

Export pipelines are where provenance gets lost

The generation service may create perfect provenance and the image optimization service may remove it thirty seconds later.

I test every transformation stage:

Text
thumbnail generationimage resizingformat conversionvideo transcodingmetadata optimizationCDN processingsocial exportZIP/download workflow

For each stage I ask:

Text
Does embedded provenance survive?If not, can it be reattached?Does the transformed asset need a new derived credential?Is the relationship to the source preserved?

This is why provenance belongs in the asset pipeline, not only in the model adapter.

The LLM often leaves the scene long before the place where provenance actually breaks.

Keep a sidecar record even when embedding succeeds

Embedded credentials can be stripped by downstream systems.

I still keep server-side provenance and publication records:

type PublicationRecord = {  publicationId: string;  assetId: string;  destination: string;  publishedAt: string;  transparencyDecisionId: string;  visibleLabelRendered: boolean;  credentialManifestHash?: string;  exportedAssetHash: string;};

That gives the organization evidence of what it actually published even if a third-party platform later modifies the media.

A provenance system that exists only inside the file is fragile operational evidence.

Hash the exact published artifact

A useful audit question is:

Is this the same file we exported?

I hash the final artifact after all transformations that my service controls.

import { createHash } from "node:crypto";​function sha256Asset(bytes: Buffer): string {  return createHash("sha256").update(bytes).digest("hex");}

The hash is not a replacement for provenance metadata. It is a stable identity for the exact bytes associated with one publication event.

If a user later uploads a modified copy, I can distinguish it from the original export even if the visual difference is small.

Text provenance is operationally different from image provenance

Text is copied, reformatted, quoted, and pasted constantly.

Embedded metadata does not survive that workflow in the same way it can for a media file.

For AI-generated text, I care more about publication-layer records:

Text
content/version IDAI-generation event IDshuman edit eventseditorial review statepublisher/editor identityvisible disclosure decisionpublication destination/timefinal content hash

If the platform publishes HTML, machine-readable page metadata can complement visible disclosure. But I do not assume that one metadata tag will follow the text after somebody copies three paragraphs into another CMS.

Provenance persistence depends on the medium.

Human review is a real workflow state

A checkbox labelled “Reviewed by human” is weak evidence.

I want to know who reviewed what version and what “review” means for this product.

type EditorialReview = {  reviewId: string;  contentVersionId: string;  reviewerUserId: string;  reviewedAt: string;  decision: "approved" | "changes-requested";  responsibilityAccepted: boolean;};

If the AI edits the article after review, the old approval should not automatically apply to the new version.

That is the same binding principle used earlier for human approval of agent actions: approval attaches to the exact artifact that was reviewed.

Disclosure should survive content versioning

Imagine this sequence:

Text
v1 generated by AIv2 heavily edited by humanv3 AI rewrites two paragraphsv4 editor approves

A disclosure decision for v1 should not simply be copied to v4.

Each meaningful content version can point to the provenance graph and obtain its own decision.

type ContentVersion = {  id: string;  previousVersionId?: string;  contentHash: string;  provenanceHeadId: string;  createdAt: string;};

This is more storage than one is_ai column.

It is also the minimum shape needed to answer what actually happened to content over time.

The interactive AI disclosure belongs at the interaction boundary

For chatbots and other systems interacting directly with people, the disclosure should be part of the product experience.

I do not rely on the model to say:

Text
By the way, I am an AI.

The host application knows whether the user is entering an AI interaction and can render the disclosure deterministically.

type InteractionDisclosure = {  surface: "chat" | "voice" | "avatar";  disclosedAt: string;  disclosureVersion: string;  sessionId: string;};

For voice or avatar experiences, disclosure timing and accessibility deserve explicit design rather than being buried in terms of service.

The backend can record which disclosure version was active without collecting unnecessary personal content from the conversation.

Do not infer disclosure from “how realistic it looks”

A dangerous product rule is:

Text
If synthetic media looks realistic, label it.

That turns compliance into a perceptual model problem.

The pipeline already knows how the asset was made.

Use generation provenance and publication context first. Visual realism can be a separate moderation or risk feature, but it should not be the only record of whether the system generated or manipulated the media.

Origin is easier to know at creation time than to rediscover after the fact.

Third-party models need the same provenance wrapper

A product may route between several model providers.

Transparency should not disappear because one provider returns richer metadata than another.

The application adapter normalizes generation facts:

type GenerationResult<T> = {  value: T;  provenance: {    provider: string;    model: string;    requestId?: string;    generatedAt: string;  };};

Then the same internal policy and publication pipeline applies across providers.

Model routing should not create transparency routing.

Build a transparency test matrix

I want tests that look like product scenarios rather than legal section numbers.

Text
AI chatbot begins direct conversationAI image generated and downloaded privatelyAI image published publiclyhuman photo receives minor standard editsynthetic video depicts a real person doing something they did not doAI-generated public-interest article with no human editorial reviewAI draft substantially reviewed and approved by responsible editorasset converted from PNG to JPEG before publicationcredential stripped by simulated downstream processor

Assertions include:

Text
correct visible disclosure decisioncorrect machine-readable marking decisionreason codes storedreview bound to exact content versioncredential signer uses approved claim onlyfinal publication hash recordedexport transformation preserves or reissues provenance as designed

That is how regulation becomes engineering behavior: through executable product cases.

Monitor provenance failures like production failures

If the image pipeline starts silently dropping credentials, I want an alert.

Metrics can include:

Text
eligible assets without generated provenancemarking attempts / failurescredential verification failuresexports with stripped provenancevisible-label rendering failurespublications blocked for missing transparency decisionmanual-review ratepolicy decisions by reason code

Do not put asset IDs into metric labels. Those belong in traces/audit records.

A transparency obligation that fails silently in 3% of exports is an availability problem in the compliance control itself.

Preserve evidence of policy version changes

Transparency rules, guidance, standards, and product interpretations evolve.

C2PA has versions. Internal policy has versions. Legal guidance gets clarified. Publishing destinations change their behavior.

I want every publication to point to the policy implementation used at the time.

That gives future reviewers a reproducible question:

Text
Given provenance graph G,publication context C,and policy version P,why did the system return decision D?

Without policy versioning, historical audits turn into archaeology.

Do not confuse provenance with content quality

A perfectly labelled hallucination is still a hallucination.

A cryptographically valid Content Credential does not make an image accurate. A visible AI label does not make a public-interest article well sourced. A disclosure record does not replace RAG citation validation or editorial review.

Transparency answers questions about origin and process.

Quality systems answer questions about truth, usefulness, safety, and evidence.

Both matter, and mixing them usually weakens both.

When the full pipeline is unnecessary

An internal prototype generating throwaway text for five engineers does not need a media provenance platform.

But once content leaves the product, is published to people, represents real individuals, informs the public, or falls inside regulated transparency obligations, the one-boolean approach stops being credible.

The durable architecture is straightforward:

Text
generation creates provenancetransformations extend provenancepolicy decides disclosurehuman review binds to exact versionssigning service emits machine-readable credentials where applicablepublisher renders visible disclosure where applicablepublication stores the exact artifact + policy evidencemonitoring verifies the control keeps working

That is the shift I would make in any serious AI publishing system.

Transparency is not a sentence underneath generated content.

It is an output pipeline with identity, provenance, policy, versioning, integrity, and evidence.

KEEP READING

Related engineering notes