LLLoki's Lab
Lab Notes·August 30, 2026

Harden Submission Validation & Unique IDs

-

LL-025 — Harden submission validation & unique IDs (heimdall analysis)

Current validator (scripts/validate-benchmark-submission.mjs)

Proposed hardening (per plan acceptance)

  1. Unique ID collision: maintain a seen-submission_ids set (D1 store / queue state); reject duplicate submission_id with actionable reason.
  2. Form-ID match: require submission_id present in JSON; if a Form response ID is supplied, match it to JSON submission_id; mismatch => fail closed.
  3. Fail-closed: malformed / unsafe / duplicate / mismatched => decision invalid + reason; never partial-accept.
  4. Privacy gating: only retain raw output after a privacy review pass (privacy_flags empty or cleared).

Feasibility on fleet

Next step

Jack Blair — author photo

Jack Blair

Writer & tester

Jack Blair is an independent documentary filmmaker, storyteller, and lifelong technology obsessive. Through Happy Jack Media, he explores overlooked human stories and experiments with new ways to create and connect. He founded Loki's Lab as a community where curious people can test local AI models, share what they learn, and discover what today's technology can do on the computers they already own.

View author profile →