Phase 2 of the AltitudeOS desktop-reports pipeline shipped today. The end-to-end loop is now live: Altimeter desktop field PDFs and field-trip datasets → parser → species observation tables → unified synthesis model → HTML preview → Word export. Field ecologists can now move from a desktop assessment PDF to a client-ready, NSW BAM / QLD NCA-shaped Word report without copy-paste, without hand-built species tables, and without regenerating the report shell from scratch on every project.

This closes the loop the Phase 1 launch set up. Field-trip ingestion, camera trap processing, and flora identification have been live for months; the desk-side synthesis and report assembly was the last manual step that still sat between consultants and a deliverable. It isn't any more.

A walkthrough of what now runs end-to-end on every uploaded desktop report — and what the synthesis engine actually produces.

What "end-to-end" means in Phase 2

The desktop-reports pipeline is a five-stage chain that runs without intermediate manual edits. Each stage has a single, well-defined output — the stages below mirror the actual order of operations in routes/reports.js and lib/synthesis/index.js:

  1. PDF ingestion. The parser in lib/parsers/pdf.js reads the Altimeter desktop field PDF — headers, metadata block, and the species observations table — turning it into a structured JSON document.
  2. JSON parse. Headers are normalised, dates are converted from DD/MM/YYYY into ISO YYYY-MM-DD, and species names, locations, and counts are lifted into the canonical record shape used downstream.
  3. Species observation tables. Each row of the PDF species table becomes a typed record with species, count, countNumeric, location, observationDate, observationDateRaw, and notes — the unified record that's exposed by the synthesis model.
  4. Unified synthesis model. lib/synthesis/index.js walks the observations, builds a summary (total observations, unique species, total count, date range), and produces a verification table that flags missing or invalid metadata fields against the source line they came from.
  5. HTML preview and Word export. routes/reports.js renders the synthesised JSON into a navigable HTML preview at /reports/<id>; one click on the .docx link emits a properly formatted Word report via lib/export/word_report.js, ready to send to a BAM assessor.

The shape of a single observation record

The synthesis engine's output — the data every downstream consumer reads — is a strict uniform schema. Every observation record has the same seven fields, in the same order, populated from the same parser source lines. That's the contract that lets the Word exporter, the HTML preview, and any future visualisation step share the same input without bespoke translation code.

species_observations[] — unified synthesis output
[
  {
    "species": "Casuarina equisetifolia",
    "count": 14,
    "countNumeric": 14,
    "location": "Headland north track, GPS -17.3512, 146.0189",
    "observationDate": "2026-03-14",
    "observationDateRaw": "14/03/2026",
    "notes": "Dominant canopy species along dune crest; juvenile recruitment observed in open gaps."
  },
  {
    "species": "Acacia auriculiformis",
    "count": 9,
    "countNumeric": 9,
    "location": "Coastal fringe, GPS -17.3491, 146.0227",
    "observationDate": "2026-03-14",
    "observationDateRaw": "14/03/2026",
    "notes": "Scattered emergent trees; some flowering, attracting Myrmecia ants at base."
  },
  {
    "species": "Pandanus tectorius",
    "count": 7,
    "countNumeric": 7,
    "location": "Tidal flat edge, GPS -17.3479, 146.0241",
    "observationDate": "2026-03-14",
    "observationDateRaw": "14/03/2026",
    "notes": "Stilt-rooted clumps on sandstone shelf; prop roots host hermit crab colonies."
  }
]

The doubles — count and countNumeric, observationDate and observationDateRaw — are deliberate. The text form is preserved verbatim for the report body, where assessors read dates exactly as the field ecologist wrote them; the numeric/ISO form powers summary calculations and verification checks. Both stay on the record.

The same record goes straight into the Word report's species table. No retyping, no hand-formatting, no missed rows when the PDF had 60 observations and the report had 47.

5
Stages, end-to-end
PDF to .docx
7
Fields per observation
record (unified schema)
< 1 min
From upload to
client-ready .docx

Why this matters for ecological consultancy teams

The compression isn't just about speed — though a desktop assessment that used to take a day of report assembly now takes minutes. The bigger shift is what the unified synthesis record does to the consultant's quality control loop.

Every record in the species table points back to the source line in the PDF it was lifted from. The verification table produced alongside the synthesis — visible on the HTML preview at /reports/<id> — flags missing project metadata, missing site names, unparseable report dates, and absent species tables. A consultant reviewing a synthesised report sees, on a single page, which fields check out and which ones need a second look.

That's most of what a human review was doing manually on a Word document. The rest of the review — taxonomic accuracy, threat-status interpretation, ecological reasoning — still belongs to the ecologist; the pipeline doesn't pretend to replace that. But the mechanical work between "PDF received" and "report ready for review" is gone.

The synthesis model is a normalised record, not commentary. The ecologist is still the decision-maker on taxonomy, threat status, and assessment narrative. The pipeline removes the typing.

Getting started with the new pipeline

The pipeline is open today. The fastest path from "I have a desktop PDF" to "I have a Word report" is:

Sample synthesised reports are public at /reports, so you can see exactly what the pipeline produces before you upload your own data.

📑

Compliance note: The .docx output is a starting shape for a BAM / NCA assessment, not a finished one. The species table and metadata are present and consistent, but the ecological reasoning, threat-status analysis, and assessment narrative remain the consultant's responsibility. The pipeline moves the mechanical work; it does not sign off on the science.