87 Commits
Author SHA1 Message Date
Victor Kuznetsov 3d1a45a2f0 Release 0.82.1 with exact text and provenance fixes 2026-12-02 20:59:31 -08:00
Victor KuznetsovandClaude Opus 5.5 c295b9966a Fix review findings and leave invisible layers alone for unknown models
Fix the P0 findings of the 0.81.0 review across metadata, audio, video, text, visible marks, and scripts, with regression tests.

When no metadata, visible mark, or caller names the model, remove only metadata and visible marks. Infer Google audio only from Google evidence or an explicit SynthID profile. Keep ordinary tags and chapters when stripping AI metadata from ffmpeg-handled containers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 18:52:34 -08:00
Victor KuznetsovandClaude Opus 5.5 d4c5aa7789 Release 0.82.0: add Mirelo audio vendor
Recognize Mirelo audio by its Content Credentials or by an explicit
vendor, and clean it with the AudioSeal profiles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 14:09:16 -08:00
Victor Kuznetsov dcae6885df Release 0.78.0: clean SynthID audio in video paths by default, promote Wan 2.1 and Seedance video profiles 2026-11-29 20:33:53 -05:00
Victor Kuznetsov 419208b39e Release 0.77.0: preserve 2D SynthID VFR timestamps, add hardware video encoding, speed up audio and video pipelines 2026-11-28 22:47:55 -05:00
Victor Kuznetsov 11788ae5bb Release 0.76.0: certify native 2D SynthID default, retire legacy CLI flags, tighten Veo and Hailuo video detection 2026-11-26 20:55:07 -05:00
Victor Kuznetsov c7da189cea Add coarse-to-fine video mark scan, single-pass audio inspect, --low-memory, v0.75.0 2026-11-24 20:44:33 -05:00
Victor Kuznetsov 9e7545f988 Release 0.74.0: certify SNAC 14 kHz, add 5 video marks, native-guide 2D SynthID, and selective GOP stream-copy 2026-11-23 09:21:36 -08:00
Victor Kuznetsov 47eaab44bc Release 0.73.0: unify video/audio formats, remove obsolete audio backends, fix container muxing 2026-11-22 21:20:37 -08:00
Victor Kuznetsov f05541a0f2 Release 0.68.0 2026-11-22 13:35:50 -08:00
Victor Kuznetsov 6d0006e984 Release 0.67.0 2026-11-22 11:51:36 -08:00
Victor Kuznetsov 6665f10140 Preserve exact text formatting, add reproducible watermark benchmarks 2026-11-20 23:22:30 -08:00
Victor Kuznetsov 019ea5b15d Expand audio and video watermark removal with SNAC, AV1 OBU, and 18 video marks 2026-11-20 08:21:37 -08:00
Victor Kuznetsov 487e5763d0 Extend text watermark recovery, add local API and benchmarks 2026-11-19 22:05:07 -08:00
Victor KuznetsovandClaude Opus 5.5 e42546901d Release 0.64.0
Apply the minor-and-patch group from #146 except c2pa-python: filelock
4.2.10, audioseal 0.2.1, diffusers 0.43.0, diffsynth 2.2.2, onnxruntime
1.32.0, openai 3.51.0, playwright 1.65.2, ruff 0.17.5. c2pa-python 0.39.0
reports valid signatures as unknown and accepts a rejected signer, so the
reader stays below 0.39 in the manifest and in Dependabot.

Fix `video erase --json` exiting 0 when AI metadata survived; it now
exits 1 like the text output and the other video commands.

Bring the docs in line with the release: ChunkySeal and blind video
message detection, 10-bit HDR visible removal, surround and vendor audio
routing, device options, video erase, new audio oracles, and routed docs.
Bump the agent skill to 1.0.22 with CLI floor 0.64.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:38:45 -08:00
Victor Kuznetsov 4b2265cfa7 Add ChunkySeal, YCrCb alpha unblending, 10-bit HDR, surround audio, multimodal CLI 2026-11-19 09:56:17 -08:00
Victor Kuznetsov c9da346094 Harden SynthID audio routing, stbl SEI parser, donor flow recovery, benchmark v2 2026-11-18 11:09:09 -08:00
Victor Kuznetsov 9ad6cbcb38 Add ElevenLabs/Cartesia/Resemble/Kling oracles, vendor audio auto-routing, perceptual audio metrics, MOV/M4V Wan 2026-11-17 20:16:50 -08:00
Victor Kuznetsov 1136a965bd Add split audio permissions, windowed quality gate, and streaming Wan windows 2026-11-17 13:10:53 -08:00
Victor Kuznetsov e105e09729 Fix audio verification scope, atomic multi-track mux, Wan budget guards, and docs 2026-11-16 22:19:55 -08:00
Victor Kuznetsov e34ed06afa Add multimodal source-classify v7 runtime, open-world synthetic detection, and card updates 2026-11-16 20:32:24 -08:00
Victor Kuznetsov 0510868510 Add audio removal, MLX text rewriter, Wan 2.1 video profiles, bump 0.63.0 2026-11-16 16:50:46 -08:00
Victor Kuznetsov 557d2c1ef6 Retire photo-classify stack, synthesize source-classify Hub config, update docs 2026-11-14 12:40:25 -08:00
Victor Kuznetsov a967d5aa5e Upgrade photo classifier to v6 Model 2, calibrate confidence, fix C2PA parameters 2026-11-14 10:49:16 -08:00
Victor Kuznetsov 1f9584ea45 Enable guarded fidelity by default in Qwen-2.1
Enable guarded fidelity by default in `qwen21-zimage` to preserve geometry and qualified flat text after the completed Qwen-2.1 and face stages. Accept each optional refinement only when source error and LPIPS improve, preserve protected face rectangles, and retain the completed baseline on optional-stage failure.

Expose caller-supplied qualified text geometry and a per-request fidelity switch through `InvisibleEngine`. The CLI does not run OCR. Keep the overall default `qwen-zimage` profile and auto routing and the Qwen Research License restrictions.

Validation covers the complete maintenance gate, mutation checks, real H100 processing, negative text-region qualification, native-size crop and edge review, and hash-bound provider checks. Retain the documented indeterminate Google Cyrillic-sign case; local fidelity acceptance is not watermark clearance.

Model-free routing tests exercise the factory and fallback policy without requiring optional GPU extras.
2026-11-10 17:52:44 -08:00
Victor Kuznetsov ebf7eb5f0d Bundle FFmpeg tools with video installations 2026-11-10 16:21:43 -08:00
Victor Kuznetsov 07aba3ecb2 Integrate experimental Seedance video removal and CapCut provenance handling 2026-11-10 11:25:10 -08:00
Victor Kuznetsov f42f173182 Add C2PA text, stego forensics, and token watermark removal 2026-11-10 10:21:33 -08:00
Victor Kuznetsov ce08f066f5 Add qwen21-zimage non-commercial invisible watermark removal pipeline 2026-10-29 20:12:00 -07:00
Victor Kuznetsov 2d0b148361 Unify 10-provider source-classify v3 model and harden real-image specificity 2026-10-26 22:34:35 -07:00
Victor KuznetsovandClaude Opus 5.5 7e167c3c76 Fail closed on unreadable inputs, empty batches and failed strips
The metadata scanners read raw bytes, so random bytes, an empty file or a
truncated PNG or MP4 printed the same "No AI metadata found" or "AI metadata
stripped" a real file gets, with exit 0. `metadata.unreadable_reason` is now
the one readability probe: `identify`, `metadata` and every `video` command
exit 1 on such input, and `batch` and `video batch` fail its row.
`strip_and_verify` refuses it before writing anything.

A `batch` or `video batch` directory with no supported file exits 2 and
creates no output directory. `visible` and `erase` strip and verify on a
staged sibling and publish nothing when a marker survives, as the library
`remove_visible` now does; the diffusion writer raises on a surviving
marker. An invisible engine that cannot start exits 1 without a traceback,
and the MCP server reports a child that could not start.

NotebookLM and Gemini slide-deck templates are recorded as not planned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:23:59 -07:00
Victor KuznetsovandClaude Opus 5.5 06c0cb1bbe Add Codex plugin manifest, stdlib MCP server, SHA-pinned Actions
- .codex-plugin/plugin.json and assets/icon.svg package the existing skill
  tree for Codex plugin catalogs; skill version 1.0.12 across all manifests
- `remove-ai-watermarks mcp` serves identify, remove and batch over stdio,
  one CLI command per tool call, standard library only; server.json and
  glama.json for the MCP registry and Glama
- Pin every GitHub Action to a commit SHA
- Call module.train(False) instead of module.eval(), which plugin scanners
  read as dynamic code execution

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 14:13:04 -07:00
dukagjina a054185fa5 Preserve source transparency during invisible image processing 2026-10-16 02:04:54 -04:00
Victor KuznetsovandClaude Opus 5.5 f855c4700f Merge origin/main into docs/library-research-landscape
Main's claim_generator_platform and c2pa_vendor_platform now use the
branch's whole-word registry match, which replaces
claim_generator_word_platform. The branch's provenance veto covers every
video mark and made main's Veo-over-Sora override unreachable, so the
override is removed. Main's credential rule carries into the veto: an
invalid credential vetoes nothing. Provenance that confirms the mark's
own vendor also vetoes nothing. Over 78 local videos with a C2PA AI
claim, the only verdict changes against main are Kling/Hailuo false
positives on Veo and FLUX clips that the veto now removes. C2PA verdicts
over 1,379 files are unchanged against the pre-merge branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 23:52:29 -07:00
Victor KuznetsovandClaude Opus 5.5 7ba07869d2 Add paid-service captures, aggregator attribution, and provenance vetoes
Collect provider samples from Higgsfield, Runway and Dreamina plus Google
Photos, Gemini, Grok and YouTube re-encodes into data/captures/2026-09 with
a hash-checked manifest, and use them to fix attribution and false positives:

- Attribute aggregator outputs: Higgsfield job metadata, Dreamina's
  re-signed manifests, Runway's own C2PA signer, TC260 video producers.
- Veto any visible video mark when a valid C2PA claim names another vendor
  (a Gemini Omni clip read as Sora on steam), and gate Kling and Hailuo
  matches on edge, anchor and white-label evidence.
- Veto the Gemini sparkle when trusted provenance names another vendor.
- Report SynthID as present for Google Photos AI edits: Google's checker
  found it on all four measured edits, though manifests record no action.
- Add Vidu video and Wan image marks, TC260 audio placements, and record
  the AIGC key in metadata records.
- Document the research sweep, the Dreamina badge decision, and verified
  Google statements on SynthID in Photos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 14:32:53 -07:00
Victor KuznetsovandClaude Opus 5.5 1dc70df289 Upgrade to OpenCV 5 with frozen Hershey templates and tighten video marks
- Lock OpenCV 5 and cap NumPy below 2.4 through uv constraint-dependencies so
  PaddleX 3.7 keeps resolving; Dependabot ignores mirror the cap.
- OpenCV 5 draws Hershey putText glyphs differently, so the Dola and Kling
  video templates ship as committed OpenCV 4 renders with a recipe script, and
  the OpenArt alpha recipe now refuses any OpenCV but 4.x.
- Break Sora/Veo cross-matches in favor of Veo under valid Google AI-video
  provenance, and require the full Sora mascot shape for mascot-only matches.
- Let the Doubao engine detect marks tinted by saturated backgrounds.
- Share C2PA claim-generator, credential-level and vendor-platform helpers,
  JPEG suffixes and the DCT basis instead of per-module copies.
- Log model download failures, document the optional GITHUB_TOKEN, mark the
  photo and source classifier model cards archived, and refresh the lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:19:00 -07:00
Victor Kuznetsov 380820fa7e Add SDXL verified-text restoration 2026-09-15 19:20:37 -07:00
Victor Kuznetsov a385aab433 Calibrate provider-specific invisible removal profiles 2026-09-15 16:38:17 -07:00
Victor Kuznetsov c4edc2820d Expand provenance metadata discovery 2026-09-12 13:36:46 -07:00
Victor Kuznetsov b03a65bcb3 Release 0.40.0 with Qwen symbol, ONNX classify, identify attribution 2026-09-10 23:04:58 -07:00
Victor Kuznetsov f2f840197e Stop attributing shared AI labels to vendors 2026-09-10 21:08:18 -07:00
Victor Kuznetsov 56afcab241 Merge feat/model-freeze: generator taxonomy, model-side receipt gate
bytedance generator class (surgical six-head provider.pt), tc260 group
veto, stable-name receipt-gate.npz with the threshold inside the
artifact, snapshot-tolerant loader, weights pinned to revision
4c276376 (published via photo-classify-freeze-2026-09-07 release).
2026-09-08 14:18:04 -07:00
Victor Kuznetsov 8562c457a4 Ship generator taxonomy: bytedance class, model-side receipt gate
Provider classes now name the GENERATOR that rendered the pixels, never
the brand. bytedance joins openai/google/muse-image as the shared
ByteDance lineage (Doubao and Jimeng render with one model family;
measured: separate heads cross-fire 32/22 at 3.5x mass, the surgical
union holds 83.9% on the frozen test cell while openai/google/meta/no_ai
stay byte-identical to run1). tc260 stops being a public value: its head
remains as the group veto for the rest of China's generators (without
it, 207/379 China test rows would be falsely named openai or
muse-image), and the loader tolerates provider snapshots that predate
bytedance. The receipt gate moves model-side: stable-name artifact
receipt-gate.npz carries its threshold, head and threshold always load
from one file, and the publish script stages the stable gate from the
weights source. Microsoft stays metadata-only: 144 of its 253 bank rows
name an OpenAI model as their C2PA softwareAgent and none names a
Microsoft renderer.

pre-commit: 1) maintain.sh - exit 1 (uv-secure: lightning 2.6.5 via
trustmark, PYSEC-2026-3624 no fix released; per docs/development.md the
core checks ran separately: ruff clean, pyright 0 errors, 2059 passed
3 skipped); 2) /simplify - single-pass four angles, clean, one noted
skip (gate-test npz staging duplication); 3) docs sync - grepped
bytedance/receipt-gate.npz/provider values over README, docs, skill,
rules: no stale references; 4) CLAUDE.md - improver: no changes,
revise: no additions (learnings live in canonical docs)
2026-09-07 21:13:48 -07:00
Victor Kuznetsov 723f2949ec Route OpenAI auto removal through Qwen 2026-09-07 14:01:17 -07:00
Victor Kuznetsov 0d6667cf22 Separate runtime actions from development provenance checks 2026-09-06 20:18:47 -07:00
Victor Kuznetsov 646f72534b Carry the ICC profile and EXIF orientation across re-encodes
Issue #98. cv2's encoders write no container metadata, so every pixel-path
output (all, visible, invisible, erase) came back without its colour profile
and orientation tag, even with --keep-metadata.

imwrite now takes display_tags_from, the file whose decode produced the
pixels, and restores the two display tags into the re-encoded output: PNG and
JPEG by splicing iCCP/eXIf chunks and APP1/APP2 segments into the encoded
bytes, WebP by a lossless Pillow re-save (libwebp hides hand-spliced chunks
from readers without a VP8X header), HEIF through the save call itself.
Orientation is re-tagged only when the raster still has the source's stored
dimensions: cv2 rotates JPEG and (build-dependent) PNG decodes under
IMREAD_COLOR but never IMREAD_UNCHANGED, which is what the pixel paths read
with, so the decision is made against the raster's own shape and cannot
double-rotate.

The default metadata strip now preserves what the restore put back: the PIL
path forwards the profile and a scrubbed EXIF (orientation included) for PNG
and WebP outputs, the 16-bit chunk walker re-emits eXIf scrubbed instead of
dropping it wholesale, and --remove-all actually drops the ICC profile on
every format (Pillow's saver fallback kept it alive, contradicting the
documented "removed by --remove-all").

Mirror and 180-degree orientations (2, 3, 4) stay untagged: no cheap signal
distinguishes a rotated decode from a stored one for them.
2026-09-06 14:41:19 -07:00
Victor Kuznetsov e41bdbc9c8 Add receipt-document gate to classify
A DEFINITELY verdict now runs a linear receipt gate on the CLIP-L-ft
vector Model 1 already computes: a hit publishes unknown and skips the
124-d provider pass. Trained on CORD-v2 train (800, CC BY 4.0) plus 200
synthetic capture-style receipts against 2,400 ai_train negatives; the
threshold is certified on CORD validation and a synthetic holdout with
no field-receipt pixels. Field receipts false-AI 19/59 -> 2/59, CORD
89/99 -> 0/99, ai_test DEFINITELY cost 7/1,847.
2026-09-05 11:14:07 -07:00
Victor Kuznetsov cbb5155784 Expose visible validation in pipeline results 2026-09-04 20:59:09 -07:00
Victor Kuznetsov d391cc42d1 Add post-fill validation for visible watermarks 2026-09-03 11:05:59 -07:00
Victor Kuznetsov 7ab38a85b6 Sync the C2PA soft-binding registry 2026-09-03 09:44:24 -07:00