feat(tools): diagnose and fixtures commands with the CC0 RAW manifest

diagnose prints per file the format, managed decode tier (and why it is
not native), delivered size, camera and capture time with its source,
then a per-format summary; --formats prints the tier table. fixtures
downloads tests/fixtures/manifest.json into tests/fixtures/external with
HTTP range resume and SHA-256 verification, skipping verified files and
recording the hash of first downloads whose manifest hash is null.
External fixture tests (skipped when absent) check native decoding,
size and agreement with the embedded preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 11:32:59 +00:00
1 parent 555d17742c
commit 0f3fbfdad4
6 files changed
+429 -21

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ var commands = new ICommand[]
new XamlLintCommand(),
new PackageGuardCommand(),
new ChangelogCommand(),
new DiagnoseCommand(),
new FixturesCommand(),
};
if (args.Length == 0 || args[0] is "-h" or "--help" or "help")