Verified by VeriBiota (Helix/OGN integration)¶
Goal: make verification visible in Helix Studio/OGN by calling veribiota behind the scenes and surfacing a “Verified by VeriBiota” chip on results.
Backend helper (sketch)¶
- Provide a small helper (e.g.,
helix/veribiota_integration.py) that: - Accepts an input JSON for a profile (alignment, prime plan, VCF normalization, etc.).
- Runs
VERIBIOTA_BIN check <domain> <profile> <input> --snapshot-out <tmp>(defaultVERIBIOTA_BIN=veribiota). - Returns
{verified: bool, snapshot: dict | None, error: str | None}by parsing the verdict and optionalsnapshot_signature_v1. - Config:
HELIX_VERIBIOTA_BINenv or config path toveribiota.- Toggle to disable verification in debug mode.
UI widget¶
- In result panels (alignment preview, CRISPR/prime plans, VCF normalization):
- Show a chip:
✅ Verified by VeriBiotaor⚠️ Verification failed/not run. - Display
profile_id,tier(0 or 1),attested(yes/no). - Hover/click: show snapshot hash, theorem IDs, timestamp (pulled from the snapshot signature).
Minimal flow to wire first¶
- Start with
prime_edit_plan_v1(Tier 0) orvcf_normalization_v1(Tier 1). - On compute/preview:
- Write the candidate JSON input to a temp file.
- Call the helper to run
veribiota check ... --snapshot-out .... - Store
snapshot_signature_v1alongside the result; mark verified status. - Render the chip in the UI.
Docs link-out¶
- Link Helix docs to VeriBiota verification docs:
docs/TIER0_COMPLIANCE.mddocs/ATTESTED_PROFILES.mddocs/SNAPSHOTS.mddocs/VCF_NORMALIZATION.md