Skip to content

Introduce the ability to generate LabOP files for a Lab Compiler protocol - #14

Merged
marpaia merged 5 commits into
masterfrom
marpaia/labop-minimal
Oct 1, 2026
Merged

marpaia merged 5 commits into
masterfrom
marpaia/labop-minimal

Conversation

@marpaia

@marpaia marpaia commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Every compilation now includes protocol.labop.ttl, generated directly from the captured protocol plan. lab.labop.export() also exports a protocol or its captured snapshot independently. The compiler continues to accept only Protocol; this PR adds no input wrappers or dispatch types.

Depends on #13 (SBOL Provenance). This PR targets marpaia/sbol-provenance to keep its diff focused; merge #13 first, then retarget this PR to master.

The exporter covers the current operation vocabulary, preserves SBOL design references, and produces deterministic RDF. It bundles only the three upstream primitives it uses, with pinned source checksums and attribution. Operations without an upstream equivalent use documented extension terms. Export runs offline; a separate validation script checks the output against the full pinned upstream schemas.

This is prospective protocol export. It does not model execution records or claim general executable compatibility with every LabOP consumer.

Review size against marpaia/sbol-provenance: 1,398 changed lines (1,396 additions, 2 deletions), including tests, documentation, and bundled RDF resources.

Local validation: 170 tests passed with robot SDKs, Ruff and mypy passed, cloning/transformation/export examples ran, and fresh wheel/source-distribution installations passed the install checks. Strict distribution metadata checks passed. Assembly, transformation, and plating exports each validated against the full pinned upstream schemas with zero errors and zero warnings. Remote CI is separate from these local results.

Base automatically changed from marpaia/sbol-provenance to master October 1, 2026 17:54
@marpaia marpaia changed the title LabOP Introduce the ability to generate LabOP files for a Lab Compiler protocol Oct 1, 2026
@marpaia
marpaia merged commit 37d03a7 into master Oct 1, 2026
6 checks passed
@marpaia
marpaia deleted the marpaia/labop-minimal branch October 1, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant