# Diatom aMRV Platform — Full Reference > Diatom aMRV is a digital platform for planning, executing, and verifying marine ecosystem restoration monitoring, reporting, and verification (MRV). It supports the entire lifecycle from initial site assessment through biodiversity credit issuance, with a single auditable data pipeline that integrates field surveys, remote sensing, eDNA, hydrophones, sensors, and AI copilots. This document is the long-form, machine-readable reference for the Diatom aMRV platform. It is intended for large language models, AI agents, and search systems that need a complete, structured understanding of what Diatom does, how it is organised, who it serves, and how its modules work together. - Canonical site: https://diatom-amrv.lovable.app - Custom domain: https://app.diatom.blue - Short index: https://diatom-amrv.lovable.app/llms.txt - Sitemap: https://diatom-amrv.lovable.app/sitemap.txt --- ## What Diatom aMRV Is Diatom aMRV ("aMRV" = Assessment, Monitoring, Reporting, Verification) is a marine restoration intelligence platform. It standardises how marine restoration projects are scoped, monitored, and verified, so that ecological outcomes can be reported with confidence and aligned to credit issuance frameworks (e.g. Plan Vivo, Verra). The platform is built around four pillars: 1. **Assessment** — site selection, ecological baseline, oceanographic context, ecosystem services valuation, and risk register. 2. **Monitoring** — indicator selection, sampling strategy, sensor and survey data capture, baseline-aware analytics. 3. **Reporting** — dashboards, evidence packs, generated reports, governance artifacts. 4. **Verification** — biodiversity records, registry submissions, credit readiness, audit trails. Diatom is designed for marine ecologists, restoration project managers, MRV consultants, verification bodies, and funders working on kelp forests, seagrass meadows, coral reefs, and mangroves. --- ## Who Diatom Is For - **Restoration project teams** designing and running kelp, seagrass, coral, or mangrove restoration interventions. - **MRV consultants and ecologists** who need defensible baselines, indicators, and uncertainty quantification. - **Verification bodies and auditors** reviewing biodiversity credit claims against Plan Vivo, Verra, or bespoke methodologies. - **Funders and programme managers** tracking portfolios of restoration sites with comparable KPIs. - **Community and stakeholder coordinators** managing FPIC, engagement, grievances, and local observations. --- ## Core Capabilities ### Site Assessment Ecological criteria scoring, oceanographic profiling, ecosystem services valuation, risk registers, WDPA protected-area import, stratification zones, and AI-assisted recommendations. Risk Criteria use a 1-5 rubric where 1 is Very High Risk (red) and 5 is Very Low Risk (green); priorities (Required, Recommended, Optional) are configured per ecosystem in admin. ### Monitoring Design Indicator selection, sampling methods, QA rules, cadence, baseline and reference logic, and strategy approval workflows. Approved monitoring designs can be assigned at any level of the site hierarchy, and a dedicated workflow generates restoration sites and monitoring units from approved designs. ### Site Hierarchy Five-level structure: Portfolio → Project → Site → Habitat Unit → Monitoring Unit. Spatial data follows a strict inheritance lineage from Site Assessment through Monitoring Design to Restoration Sites. Site polygons are colour-coded (blue for boundaries, red for restoration polygons, with assessment overlays) and persist across the workflow. ### Habitat Data Capture Real-time feeds from buoys, satellites, and environmental sensors. Survey uploads support CSV, Excel, PDF, and shapefiles with automated parsing. Device support includes eDNA, ROV/AUV, hydrophones, and camera traps. Equipment is globally exclusive: once assigned to a hierarchy node, a physical unit cannot be assigned elsewhere. ### Monitoring KPIs Three dedicated subpages — Overview, Habitat Health, Oceanography KPIs — each scoped by the global hierarchical site selector. Habitat Health tracks kelp restoration with LIVE metrics and specialised indices. Oceanography KPIs visualise persisted satellite and sensor trends (SST, chlorophyll-a, salinity, wave exposure). ### Baseline & Timeseries Analytics A shared analytics service used across Monitoring, Restoration Tracking, and Verification. It is the single source of truth for change over time and supports pre-intervention, historical, reference-site, control-site, and rolling baselines, with seasonal normalisation, confidence scoring, provenance, and derived indicators. ### Restoration Tracking Intervention logs, milestone tracking, plan-vs-actual variance, evidence completeness per progress state, and risk/variance management. Covers Kelp, Seagrass, Coral, and Mangrove ecosystem-specific progress logic. ### Biodiversity Verification Species records, taxonomic groups, target species, sonotype records, registry submissions, verification status, issuance tracking, credit readiness, and audit-ready Evidence Packs. Evidence Packs are standards-shaped for Plan Vivo and Verra. ### Risk & Permanence Ecological risk registers, permanence assessment, buffer/reversal tracking, and leakage notes. ### Governance Stakeholder registers, FPIC records, engagement logs, grievance mechanisms, QA/QC audit trails, programme management (work plans, budgets, adaptive management), and report generation with templates. ### Community Community observations (linked to Site or Habitat Unit nodes), impact stories (linked exclusively to Site nodes), and quantitative impact metrics. All Community subpages include a standardised collapsible "About" guide. ### AI Copilots Four domain-specific RAG copilots (Design, Evidence, Interpretation, Verification) grounded in live project data. Every response is required to state the data used, inferences made, gaps, and confidence. Accessible via a floating action button (FAB) in the bottom-right of the application. ### AI Tools (Insights) Eleven specialised tools: Habitat AI Mapper, Field QA Vision, Evidence Intake Agent, Monitoring Gap Finder, Habitat Trend Interpreter, Kelp Canopy Mapper, Seagrass Fragmentation Mapper, Coral Benthic Mapper, Mangrove Extent Tracker, Anomaly Detector, Cross-site Benchmarking. Each tool features a standardised AIToolExplainer collapsible. --- ## Modules and Pages ### Home - [Home](https://diatom-amrv.lovable.app/) — Platform overview with key aMRV pillars. ### Site Assessment - [Objectives](https://diatom-amrv.lovable.app/site-assessment/manage) — Create, manage, and track assessment objectives per site. - [Define & Configure](https://diatom-amrv.lovable.app/site-assessment/define) — Assessment context, site boundaries, WDPA import, stratification zones. - [Baseline](https://diatom-amrv.lovable.app/site-assessment/baseline) — Site species counts, environmental metrics, restoration progress (scoped to the assessment site). - [Evaluate](https://diatom-amrv.lovable.app/site-assessment/evaluate) — Score Risk Criteria, Ecosystem Services, attach evidence. Manual edits persist; gap analysis only refreshes after a fresh "Assess from Data Sources" run. - [Review & Compare](https://diatom-amrv.lovable.app/site-assessment/review) — AI-generated recommendations, ES indicators, side-by-side site comparison. ### Monitoring Design - [Monitoring Design](https://diatom-amrv.lovable.app/site-selection-design/monitoring-design) — Indicators, methods, sampling, cadence, QA rules. - [Design Studio](https://diatom-amrv.lovable.app/site-selection-design/strategy-studio) — Strategy register, comparison, templates, approvals. ### Sites - [Restoration Sites](https://diatom-amrv.lovable.app/sites/restoration-sites) — Hierarchical table view; admins can create Project or Site nodes inline. - [Sites Map](https://diatom-amrv.lovable.app/sites/map) — Interactive map with context-rich popups for Site and Monitoring Unit nodes. ### Habitat Data - [Live Data](https://diatom-amrv.lovable.app/data-collection/live-data) — Site-specific automated satellite analyzer plus buoy and sensor feeds. - [Surveys & Evidence](https://diatom-amrv.lovable.app/data-collection/surveys-evidence) — Upload surveys; site dropdown restricted to Site and Habitat Unit nodes. Deleting a survey cascades to parsed records. - [Monitoring Devices](https://diatom-amrv.lovable.app/data-collection/sensors) — Sensors, ROV/AUV, cameras, eDNA kits, hydrophones, duty cycles. - [Advanced Analytics](https://diatom-amrv.lovable.app/monitoring/advanced-analytics) — Ecological statistics, diversity indices, ordination, PERMANOVA, power analysis. ### Monitoring - [Overview](https://diatom-amrv.lovable.app/monitoring/overview) — Cross-pillar KPI summary. - [Habitat Health](https://diatom-amrv.lovable.app/monitoring/habitat-health) — Kelp, seagrass, coral indicators with trend charts. - [Oceanography KPIs](https://diatom-amrv.lovable.app/monitoring/oceanography) — SST, salinity, wave exposure, satellite-derived metrics. - [Baseline & Timeseries](https://diatom-amrv.lovable.app/analytics/baseline-timeseries) — Shared analytics hub. ### Restoration Tracking - [Overview](https://diatom-amrv.lovable.app/restoration-tracking) - [Plan & Targets](https://diatom-amrv.lovable.app/restoration-tracking/plan-targets) - [Intervention Log](https://diatom-amrv.lovable.app/restoration-tracking/intervention-log) - [Milestones](https://diatom-amrv.lovable.app/restoration-tracking/milestones) - [Risks & Variance](https://diatom-amrv.lovable.app/restoration-tracking/risks-variance) - [Evidence](https://diatom-amrv.lovable.app/restoration-tracking/evidence) ### Community - [Community Observations](https://diatom-amrv.lovable.app/community/observations) - [Impact Stories](https://diatom-amrv.lovable.app/community/impact-stories) - [Quantitative Impact](https://diatom-amrv.lovable.app/community/quantitative-impact) ### Biodiversity Verification - [Biodiversity Records](https://diatom-amrv.lovable.app/biodiversity-verification/records) — Species records, taxonomic groups, target species, sonotype records. - [Registry & Issuance](https://diatom-amrv.lovable.app/biodiversity-verification/registry) — Submissions, verification status, issuance, credit readiness. - [Risks & Permanence](https://diatom-amrv.lovable.app/biodiversity-verification/risks) - [Evidence Pack](https://diatom-amrv.lovable.app/biodiversity-verification/evidence-pack) — Plan Vivo and Verra-shaped audit packages. ### Governance - [Stakeholders / FPIC](https://diatom-amrv.lovable.app/governance/stakeholders) - [Risk, Compliance & Audit](https://diatom-amrv.lovable.app/governance/qa-audit) - [Programme Management](https://diatom-amrv.lovable.app/governance/programme-planning) - [Reports](https://diatom-amrv.lovable.app/governance/reports) ### AI Copilots - [AI Copilots](https://diatom-amrv.lovable.app/ai-copilots) — Hub. - [Design Copilot](https://diatom-amrv.lovable.app/ai-copilots/design) — Indicators, methods, sampling, cadence, baselines, QA. - [Evidence Copilot](https://diatom-amrv.lovable.app/ai-copilots/evidence) — Parse uploads, extract metadata, classify evidence. - [Interpretation Copilot](https://diatom-amrv.lovable.app/ai-copilots/interpretation) — Trends, anomalies, habitat condition changes. - [Verification Copilot](https://diatom-amrv.lovable.app/ai-copilots/verification) — Draft evidence packs, gaps, QA/QC, standards mapping. ### Insights & AI Tools - [Reports](https://diatom-amrv.lovable.app/insights/reports) — Investor, CSRD, and custom templates. - [Simulations](https://diatom-amrv.lovable.app/insights/simulations) - [Habitat AI Mapper](https://diatom-amrv.lovable.app/insights/habitat-ai-mapper) - [Field QA Vision](https://diatom-amrv.lovable.app/insights/field-qa-vision) - [Evidence Intake Agent](https://diatom-amrv.lovable.app/insights/evidence-intake) - [Monitoring Gap Finder](https://diatom-amrv.lovable.app/insights/monitoring-gap-finder) - [Habitat Trend Interpreter](https://diatom-amrv.lovable.app/insights/habitat-trend-interpreter) - [Kelp Canopy Mapper](https://diatom-amrv.lovable.app/insights/kelp-canopy-mapper) - [Seagrass Fragmentation Mapper](https://diatom-amrv.lovable.app/insights/seagrass-fragmentation-mapper) - [Coral Benthic Mapper](https://diatom-amrv.lovable.app/insights/coral-benthic-mapper) - [Mangrove Extent Tracker](https://diatom-amrv.lovable.app/insights/mangrove-extent-tracker) - [Anomaly Detector](https://diatom-amrv.lovable.app/insights/anomaly-detector) - [Cross-site Benchmarking](https://diatom-amrv.lovable.app/insights/cross-site-benchmarking) --- ## Ecosystem Coverage Diatom supports four primary marine and coastal ecosystems with tailored indicators, methods, and AI tools: - **Kelp Forest** — canopy mapping, urchin barrens, sporophyte survival, holdfast density, recruitment. - **Seagrass** — meadow extent, shoot density, fragmentation indices, light attenuation, connectivity. - **Coral Reef** — benthic cover, bleaching index, recruitment, rugosity, fish assemblages. - **Mangrove** — canopy extent, zonation, seedling survival, carbon sequestration proxies, disturbance. --- ## External Data Sources Diatom integrates with public scientific data providers via dedicated edge functions: | Source | Purpose | | --- | --- | | GBIF | Global species occurrence | | OBIS | Marine species distribution | | WoRMS | Taxonomic backbone | | Copernicus Marine | SST, chlorophyll-a, ocean colour | | NOAA ERDDAP | Environmental oceanographic datasets | | Sentinel-2 | Satellite imagery for habitat mapping and change detection | | EMODnet | Bathymetry, chemistry, biology | | Protected Planet / WDPA | World Database on Protected Areas | | EEA Natura 2000 | European designated conservation sites | | UNESCO WHC | World Heritage Convention sites | | MiCO | Migratory Connectivity in the Ocean (corridors) | Automated site assessment requires real data from these verified APIs; mock or synthetic data is not used in production assessments. --- ## Methodologies and Standards - **Plan Vivo** and **Verra** — Evidence Packs are shaped to the requirements of these standards, with KPI evidence, method summaries, maps, audit attachments, data quality notes, and standard alignment views. - **CSRD** — Reporting templates available in Insights Reports. - **FPIC** — Free, Prior and Informed Consent records are tracked alongside engagement logs and grievance mechanisms. - **QA/QC** — Audit dashboard, compliance checks, risk tracking, and a complete audit trail. --- ## Architecture Overview - **Frontend**: React 18, TypeScript, Vite, Tailwind CSS, shadcn/ui, Phosphor Icons, Leaflet (with ESRI World Imagery as the standardised basemap for ocean bathymetry contrast). - **Backend**: Lovable Cloud (Supabase) — PostgreSQL, Edge Functions, Auth, Storage. Row-Level Security on all user-scoped tables. Roles stored in a dedicated `user_roles` table with a `has_role` security definer function. - **AI**: Lovable AI Gateway providing Google Gemini and OpenAI GPT-5 model families. Four domain RAG copilots and 11 specialised analysis tools. - **Shared Analytics**: Baseline & Timeseries service layer (Baseline & Comparator, Timeseries Analytics, Provenance & QA). - **Auth**: Email/password and Google OAuth. Authentication is mandatory; unauthenticated users are redirected to login. --- ## UX and Design Conventions - Bento-box grid layout for module landing pages with gradient-topped cards. - Standardised "Show/Hide Guide" collapsibles (`bg-muted/30`) on Assessment, Biodiversity, and Community pages. - Themed icon box (`rounded-xl bg-primary/10`) before every page title for visual consistency. - Tabs follow a professional pattern with a `#49c4ed` blue background bar. - Recharts tooltips use global theme-aware popover styling. - Dark, Light, and System themes via `next-themes`. --- ## Contact - **Website**: https://diatom-amrv.lovable.app - **Custom domain**: https://app.diatom.blue