Certainty engineering for seafood safety. NOAA‑NOS‑NCCOS‑2026‑32955 LOI Demonstration · April 2026
- LOI Video Showcase
- Architect's Note on AI Use
- Quick Start
- Repository Structure
- Overview
- CERTUS‑TOXIN Engine
- AI Strip Analysis
- Knowledge Base & Calibration
- Sovereign Trace Protocol Integration
- Technical Stack
- Three Core Modules
- Anonymization & Data Sovereignty
- Installation & Deployment
- License
- Acknowledgments
Watch the silent walkthrough on YouTube
This platform was designed, architected, and directed by Sheldon K. Salmon. AI tools (large language models) were used as instruments — the same way a laboratory uses a spectrophotometer.
The intellectual core — the CERTUS‑TOXIN Engine adaptation for toxin detection, the Confidence Scoring dimensions, the Knowledge Base calibration workflow, the STP sealing integration, and the overall architectural vision — is wholly human‑originated.
The NOAA NOFO explicitly notes that submissions produced solely with generative AI are not of interest. VERITAS‑SHELLFISH is not a generative AI output; it is a human‑built system where AI serves as one of several tools under strict human oversight. Every line of code, every design decision, and every formula reflects human intent.
Get the VERITAS‑SHELLFISH simulation running in under a minute.
git clone https://github.com/AionSystem/VERITAS-SHELLFISH.git
cd VERITAS-SHELLFISHOpen public/index.html directly in your browser.
For full offline capability (Service Worker, IndexedDB), serve the files through a local web server:
cd public
python3 -m http.server 8000
# Visit http://localhost:8000Regulator access: Use code
NOAA2026to unlock the Regulator Dashboard, Knowledge Base, and Audit Trail Verifier.
Key files for evaluators:
public/index.html— full platform ·public/certus-toxin-engine-v1.1.js— scoring logic ·public/ai-analysis-shellfish.js— OpenRouter integration
VERITAS-SHELLFISH/
├── public/ ← Static frontend assets
│ ├── index.html ← Main VERITAS‑SHELLFISH interface
│ ├── certus-toxin-engine-v1.1.js ← CERTUS‑TOXIN Engine (epistemic scoring)
│ ├── ai-analysis-shellfish.js ← OpenRouter AI integration (LFA strip analysis)
│ ├── manifest.json ← PWA manifest
│ ├── sw.js ← Service Worker (offline capability)
│ └── icons/ ← App icons for PWA
│
├── api/ ← Vercel serverless functions
│ ├── analyze-strip.js ← AI strip analysis endpoint (OpenRouter)
│ ├── stp-seal-shellfish.js ← STP seal service (GitHub ledger)
│ └── templates/ ← STP template registry
│ ├── 17-shellfish-test.json ← SHELLFISH-TEST template
│ ├── 18-shellfish-calibration.json ← SHELLFISH-CALIBRATION template
│ └── 19-shellfish-export.json ← SHELLFISH-EXPORT template
│
├── docs/ ← Documentation
│ ├── CERTUS-TOXIN.md ← CERTUS‑TOXIN Engine documentation
│ └── NOAA-LOI-SUBMISSION.md ← LOI text and compliance notes
│
├── LICENSE ← GPL-3.0
├── COMMERCIAL-LICENSE.md ← Commercial licensing terms
└── README.md ← This file
Most point‑of‑use toxin tests stop at a binary result. They do not tell a harvester, a regulator, or a tribal monitoring program how much to trust that result under field conditions.
VERITAS‑SHELLFISH is an open‑source epistemic scoring and data integrity platform for point‑of‑use HAB toxin detection. It ingests data from any lateral flow assay or biosensor, computes a calibrated Confidence Score with quantified Uncertainty Mass, and cryptographically seals every result for an immutable audit trail.
1. CAPTURE A community harvester photographs an LFA strip.
The CERTUS‑TOXIN Engine scores the result instantly.
2. CALIBRATE Authorized labs upload calibration data (PDFs, CSVs)
to the Knowledge Base, refining the confidence model over time.
3. REGULATE Regulators access a confidence‑weighted dashboard showing
harvest zone risk levels — every data point sealed and verifiable.
Live Simulation: aionsystem.github.io/veritas-shellfish
NOFO: NOAA‑NOS‑NCCOS‑2026‑32955 · HAB Innovation Challenge: Toxin Detection in Seafood
The CERTUS‑TOXIN Engine (v1.1) is the core epistemic scoring system, adapted for HAB toxin detection. It replaces binary pass/fail outputs with a multi-dimensional confidence score that propagates uncertainty explicitly.
| Dimension | Weight | Description |
|---|---|---|
| Signal Confidence | 35% | AI analysis of test/control line intensity and image quality |
| Corroboration | 30% | Agreement with nearby tests (same species, toxin, timeframe) |
| Temporal Freshness | 20% | Decay based on time since harvest — not test time |
| Matrix Consistency | 15% | Species‑specific toxin profile alignment |
| Score Range | Validity Status | Recommended Action |
|---|---|---|
| ≥ 0.70 | VALID | High confidence — regulatory decision support |
| 0.40–0.69 | DEGRADED | Monitor — verify with additional testing |
| < 0.40 | SUSPENDED | Field verification required before any action |
Every score carries an Uncertainty Mass (UM) — a measure of how uncertain the score itself is, independent of the score value.
| UM | Interpretation |
|---|---|
| < 0.35 | Score is reliable |
| 0.35–0.60 | Score is useful but uncertain |
| ≥ 0.60 | Do not rely on this score |
Graduated Model Trust: The engine declares a calibration status for the AI strip reader. As partner labs upload ground‑truth validation data, the uncertainty penalty decreases automatically — no code changes required.
VERITAS‑SHELLFISH uses OpenRouter to route AI model calls for lateral flow assay interpretation.
| Priority | Model | Purpose |
|---|---|---|
| Primary | GPT‑4o‑mini (OpenAI) | Fast, cost‑efficient test line analysis |
| Fallback | Claude 3.5 Sonnet (Anthropic) | Higher‑accuracy fallback |
1. User captures photo
→ Canvas API strips EXIF metadata client‑side
2. Image sent to OpenRouter API
→ Structured prompt: test line / control line / intensity ratio / confidence
3. AI returns structured result
→ test line intensity · control line presence · confidence value
4. CERTUS‑TOXIN Engine applies graduated trust scoring
→ AI intensity value feeds the Signal Confidence dimension
5. Offline fallback
→ If API unavailable: mock analysis activates (simulation mode)
The Knowledge Base Module (accessible via Regulator Dashboard) allows authorized partners to upload structured calibration data, refining the engine's confidence model over time without code changes.
- PDF laboratory reports
- CSV / Excel validation datasets
- Instrument exports (HPLC‑MS, ELISA plate readers)
1. Partner uploads file
→ SHA‑256 hash computed client‑side
2. File staged
→ IndexedDB (offline) / Supabase (online)
3. AI Calibration Engine extracts parameters
→ Toxin type · LOD · test line threshold · matrix effects
4. Active Calibration Panel updates
→ Parameters displayed immediately
5. Future test results use updated model automatically
→ No deployment required
In the LOI simulation, this workflow is demonstrated with mock data. The full proposal includes integration with a partner lab (e.g., SEATOR network) for ground‑truth HPLC‑MS validation.
VERITAS‑SHELLFISH integrates the Sovereign Trace Protocol (STP) — a cryptographic permanence infrastructure with 19 registered template types. Every test result, calibration upload, and dataset export receives a permanent SHA‑256 seal written to the GitHub ledger.
| Template | Trigger | What Gets Sealed |
|---|---|---|
| Template 17 · SHELLFISH-TEST | Automatic on test submission | Every toxin test result |
| Template 18 · SHELLFISH-CALIBRATION | On Knowledge Base upload | Calibration datasets |
| Template 19 · SHELLFISH-EXPORT | Manual via Dashboard | Exported datasets |
Anyone can verify a sealed result or export independently:
1. Recompute the SHA‑256 hash of the file or record.
2. Compare to the hash sealed in the STP ledger (GitHub Issues).
3. Match = data is unaltered.
Mismatch = tampering or corruption has occurred.
No VERITAS‑SHELLFISH access is required to verify. The ledger is public and permanent.
| Layer | Technology | Rationale |
|---|---|---|
| App Shell | PWA (HTML + Service Worker) | Offline‑first, installable, works in remote harvest areas |
| Local Storage | IndexedDB | Survives offline sessions, syncs on reconnect |
| Maps | Leaflet.js + OpenStreetMap | Free, open source, harvest zone visualization |
| AI Analysis | OpenRouter (GPT‑4o‑mini + Claude 3.5 Sonnet) | Cost‑efficient with high‑accuracy fallback |
| Backend Sync | Supabase | Real‑time, row‑level security |
| STP Ledger | GitHub Issues + API | Immutable, verifiable, permanent |
| Deployment | Vercel (api/) + GitHub Pages (public/) |
Frontend fully functional standalone |
| License | GPL‑3.0 with Commercial option | Open for research & communities; commercial path available |
For a subsistence harvester or field technician with limited connectivity.
- Works fully offline (IndexedDB + Service Worker)
- Photo capture with automatic EXIF stripping
- Species, toxin type, and lot number selection
- Harvest time logging (feeds Temporal Freshness scoring)
- AI‑assisted strip analysis via OpenRouter
- Confidence Score and Validity Status displayed immediately
- Automatic STP seal (Template 17) — every test permanently recorded
For a community member or monitor to flag a harvest zone in real time.
- One‑tap alert button
- Automatic GPS location capture with manual fallback
- Works offline — queues alert for transmission on reconnect
- Alert appears immediately on the Regulator Dashboard
- Critical urgency flag propagated through all export formats
For NOAA program managers, tribal monitoring coordinators, and lab directors.
Access code: NOAA2026
| Feature | Description |
|---|---|
| Confidence Map | Color‑coded harvest zone risk visualization |
| Live Dashboard | Score distribution across all submissions |
| Knowledge Base Uploader | Drag‑and‑drop calibration file intake |
| Active Calibration Panel | Current model parameters at a glance |
| Audit Trail Verifier | Input a seal hash to view full chain of custody |
| One‑Click Export | JSON, CSV, GeoJSON — all with integrity hash |
| STP Seal | One‑click dataset sealing (Template 19) |
| Principle | Implementation |
|---|---|
| No accounts | UUID generated client‑side — no emails, no IP logging at the application layer |
| Photo privacy | EXIF metadata stripped from all images before upload |
| Location fuzzing | "Area Mode (±100m)" option for subsistence harvest zones |
| Indigenous data sovereignty | UNDRIP Article 31 as a design principle — data remains under community control |
git clone https://github.com/AionSystem/VERITAS-SHELLFISH.git
cd VERITAS-SHELLFISH- Sign up at openrouter.ai
- Obtain an API key
- On first use, the app will prompt for the key — stored locally in the browser
# Ensure public/ contains the latest build
git add .
git commit -m "Deploy VERITAS‑SHELLFISH simulation"
git push origin mainLive at: https://aionsystem.github.io/veritas-shellfish
Required only for server‑side STP sealing and API proxying.
cd api
vercel --prodVERITAS‑SHELLFISH is dual‑licensed to serve both public‑interest and commercial use cases.
| User Type | License |
|---|---|
| Tribal Monitoring Programs / Subsistence Communities | GPL‑3.0 (Free) |
| Academic / NOAA‑Funded Research | GPL‑3.0 (Free) |
| Government Agencies (Non‑Commercial Use) | GPL‑3.0 (Free) |
| Commercial Laboratories / Kit Manufacturers | Commercial License (Fee) |
- GNU General Public License v3.0 — for research, non‑profit, tribal monitoring, and open‑source use
- Commercial License — for proprietary integration, OEM applications, and commercial labs
Commercial licensing inquiries: aionsystem@outlook.com
| Component | Role |
|---|---|
| CERTUS‑TOXIN Engine | Epistemic scoring framework |
| Sovereign Trace Protocol | Cryptographic permanence infrastructure |
| OpenRouter | Unified AI API routing |
| Leaflet.js | Open‑source mapping library |
| Supabase | Backend sync and row‑level security |
| xBD Dataset | Inspiration for graduated model trust scoring |
"The code is open source. The architecture is not replicable."
This is an application of the AION Constitutional Stack — applied to seafood safety, subsistence harvest protection, and verifiable toxin detection. The method travels. The judgment behind it doesn't.
CERTUS‑TOXIN Engine v1.1 · STP Template Registry — 19 permanent seal types
Every test sealed. Every calibration logged. Every export verifiable.
