SC
Add artifact preview cache guard
SCIBASE-AI/SCIBASE.AI#246

Summary

  • Adds a self-contained artifact preview cache and version guard for issue #14.
  • Classifies hosted datasets, code, images, media, models, and supplemental artifacts into preview lanes.
  • Detects stale previews when content hashes, upload versions, schema versions, or metadata digests drift.
  • Holds unsafe previews that expose sensitive fields and emits dataset diff summaries, FAIR warnings, preview plans, and a deterministic audit digest.
  • Includes a short H.264 demo artifact at artifact-preview-cache-guard/demo.mp4.

Validation

  • node artifact-preview-cache-guard/test.js
  • node artifact-preview-cache-guard/demo.js
  • node --check artifact-preview-cache-guard/index.js
  • node --check artifact-preview-cache-guard/test.js
  • node --check artifact-preview-cache-guard/demo.js
  • ffprobe -v error -show_entries format=duration,size -show_entries stream=codec_name,width,height -of default=noprint_wrappers=1 artifact-preview-cache-guard/demo.mp4
  • git diff --check
  • git diff --cached --check

/claim #14

Built with AI assistance; reviewed and tested before submission.

Claim

Total prize pool $375
Total paid $0
Status Pending
Submitted May 20, 2026
Last updated May 20, 2026

Contributors

SE

Seowoo Han

@swhan0329

100%

Sponsors

SC

SCIBASE.AI

@SCIBASE.AI

$375