Build and report exact Ship knowledge#
What this demonstrates#
Construct a no-write observation from a succeeded GeoNeMo server run and every exact result page, then derive a report without accepting caller-authored series or coverage claims.
Example input#
{"bundle":{"run":{"schema_version":"vessel-detection-run/v1","id":"run-s2-001","sensor":"sentinel-2","source":{"collection":"sentinel-2-l2a","record_id":"S2A-001"},"status":"succeeded","phase":"complete","cancel_requested":false,"created_at":"2026-09-12T00:00:00Z","started_at":"2026-09-12T00:00:01Z","completed_at":"2026-09-12T00:02:00Z","result_available":true,"error":null},"result_pages":[{"schema_version":"vessel-detection-result/v1","run_id":"run-s2-001","sensor":"sentinel-2","source":{"collection":"sentinel-2-l2a","record_id":"S2A-001","product_type":"S2MSI2A","canonical_product_name":"S2A-001.SAFE","inventory_sha256":"1111111111111111111111111111111111111111111111111111111111111111","tree_sha256":"2222222222222222222222222222222222222222222222222222222222222222"},"detections":[{"id":"candidate-000001","classification":"vessel_candidate","geometry":{"type":"Point","coordinates":[4.49,51.91]},"confidence":0.82,"score_type":"detector_score","calibrated":false}],"total":1,"next_cursor":null,"limitations":[],"provenance":{"service_version":"1.0.0","tool_version":"vessel-detection/v1","preprocessing_profile":"s2-l2a-nine-band-v1","model":"sentinel2-vessel-detection","model_revision":"revision-1","checkpoint_sha256":"3333333333333333333333333333333333333333333333333333333333333333","worker_image":"registry/worker@sha256:4444444444444444444444444444444444444444444444444444444444444444"},"completed_at":"2026-09-12T00:02:00Z"}]},"campaign_id":"harbor-2026","work_key":"S2A-001","region_id":"harbor-a","limitations":[],"idempotency_key":"harbor-2026-S2A-001-v1"}
Workflow#
Run build_ship_observation.py build, publish only if separately authorized, exact-read the
resulting artifact, and pass it to build_ship_report.py build. The report script derives its
series, watermark, provenance strata, and qualified coverage from validated observations.
Example output#
{"data":{"analysis_digest":"0e224f85427bf82b7908f944d74e13fec85780db6ae7f9ab0eec0ee80b6ea4c9","draft":{"confidence":1.0,"document_type":"finding","evidence":[{"sha256":"2222222222222222222222222222222222222222222222222222222222222222","uri":"catalog://sentinel-2-l2a/S2A-001"}],"extensions":{"geonemo.ship-detection/v4":{"analysis_digest":"0e224f85427bf82b7908f944d74e13fec85780db6ae7f9ab0eec0ee80b6ea4c9","completed_at":"2026-09-12T00:02:00Z","detections":[{"calibrated":false,"classification":"vessel_candidate","confidence":0.82,"geometry":{"coordinates":[4.49,51.91],"type":"Point"},"id":"candidate-000001","score_type":"detector_score"}],"limitations":[],"page_digests":["ad4426be1dc103f39e38be85a340e02b200c164e916236e3e5129381675f0c4c"],"provenance":{"checkpoint_sha256":"3333333333333333333333333333333333333333333333333333333333333333","model":"sentinel2-vessel-detection","model_revision":"revision-1","preprocessing_profile":"s2-l2a-nine-band-v1","service_version":"1.0.0","tool_version":"vessel-detection/v1","worker_image":"registry/worker@sha256:4444444444444444444444444444444444444444444444444444444444444444"},"run_id":"run-s2-001","sensor":"sentinel-2","service_result_schema":"vessel-detection-result/v1","source":{"canonical_product_name":"S2A-001.SAFE","collection":"sentinel-2-l2a","inventory_sha256":"1111111111111111111111111111111111111111111111111111111111111111","product_type":"S2MSI2A","record_id":"S2A-001","tree_sha256":"2222222222222222222222222222222222222222222222222222222222222222"},"total":1},"geonemo.ship-observation/v4":{"analysis_digest":"0e224f85427bf82b7908f944d74e13fec85780db6ae7f9ab0eec0ee80b6ea4c9","campaign_id":"harbor-2026","completed_at":"2026-09-12T00:02:00Z","count":1,"count_semantics":"retained_candidates","detections":[{"calibrated":false,"classification":"vessel_candidate","confidence":0.82,"geometry":{"coordinates":[4.49,51.91],"type":"Point"},"id":"candidate-000001","score_type":"detector_score"}],"limitations":[],"page_digests":["ad4426be1dc103f39e38be85a340e02b200c164e916236e3e5129381675f0c4c"],"provenance":{"checkpoint_sha256":"3333333333333333333333333333333333333333333333333333333333333333","model":"sentinel2-vessel-detection","model_revision":"revision-1","preprocessing_profile":"s2-l2a-nine-band-v1","service_version":"1.0.0","tool_version":"vessel-detection/v1","worker_image":"registry/worker@sha256:4444444444444444444444444444444444444444444444444444444444444444"},"region_id":"harbor-a","result_status":"succeeded","run_id":"run-s2-001","sensor":"sentinel-2","source":{"canonical_product_name":"S2A-001.SAFE","collection":"sentinel-2-l2a","inventory_sha256":"1111111111111111111111111111111111111111111111111111111111111111","product_type":"S2MSI2A","record_id":"S2A-001","tree_sha256":"2222222222222222222222222222222222222222222222222222222222222222"},"work_key":"S2A-001"}},"finding":"Detector-retained candidate count: 1.","kind":"observation","limitations":[],"subject":"harbor-a","summary":"sentinel-2 detector retained 1 vessel candidates; source coverage is not reported by vessel-detection-result/v1.","title":"Vessel candidates for S2A-001"},"draft_sha256":"b094de54334b41004447215fe28a8cbfe7bdcf769e950eb5ef50dfbfdd1f246b","idempotency_key":"harbor-2026-S2A-001-v1"},"ok":true,"provenance":{"implementation":"build_ship_observation.py/4.1.0"},"status":"complete","truncated":false,"warnings":[]}
Human-readable result#
The successful S2 L2A run retained one uncalibrated vessel candidate. This is not a unique-vessel identity or a claim of complete observable coverage. The output is a draft until GKB returns a successful publication receipt.
Limitations#
The GeoNeMo server v1 does not return acquisition time, analyzed footprint, or observable coverage. Reports therefore use processing completion time and explicitly state that campaign completeness is unknown.
Reproduce#
Repeat with the exact run, all exact pages, and unchanged idempotency key. Canonical analysis, draft, report, lineage, and commit-plan hashes remain deterministic.