@@ -259,13 +259,47 @@ export PCS_DETERMINISTIC=1
259259bash examples/pcs_qc_release/scripts/generate_release_candidate.sh
260260```
261261
262- Produces ` trace.json ` , ` runtime_receipt.json ` , ` trace_certificate.json ` , pending/certified bundles, and ` manifest.json ` .
262+ Produces ` trace.json ` , ` runtime_receipt.json ` , ` trace_certificate.json ` , pending/certified bundles,
263+ ` handoff_to_certifyedge.json ` , ` handoff_to_pf.json ` , ` labtrust_release_fragment.json ` , and ` manifest.json ` .
264+
265+ ** Phase 2 protocol producer (LabTrust-owned, not mirror-only):**
266+
267+ ``` bash
268+ labtrust emit-handoff --kind runtime-to-certificate \
269+ --trace examples/pcs_qc_release/release/trace.json \
270+ --receipt examples/pcs_qc_release/release/runtime_receipt.json \
271+ --out examples/pcs_qc_release/release/handoff_to_certifyedge.json
272+
273+ labtrust emit-handoff --kind bundle-to-verifier \
274+ --bundle examples/pcs_qc_release/release/science_claim_bundle.certified.json \
275+ --out examples/pcs_qc_release/release/handoff_to_pf.json
276+
277+ labtrust emit-release-fragment \
278+ --release-dir examples/pcs_qc_release/release
279+
280+ labtrust verify-release-fixtures \
281+ --release-dir examples/pcs_qc_release/release \
282+ --pcs-core ../pcs-core/examples/labtrust-release
283+
284+ labtrust regenerate-release-chain \
285+ --out examples/pcs_qc_release/release \
286+ --certifyedge-bin certifyedge \
287+ --pcs-core ../pcs-core/examples/labtrust-release
288+ ```
289+
290+ After pcs-core updates, re-align committed ` release/ ` from canonical fixtures:
291+
292+ ``` bash
293+ python -m labtrust_gym.pcs.sync_pcs_core_rc --pcs-core ../pcs-core/examples/labtrust-release
294+ ```
263295
264296Validate:
265297
266298``` bash
267299pytest tests/pcs/test_release_fixtures.py -q # skips if release/ not populated
268300pytest tests/pcs/test_pcs_release_contract.py -q
301+ pytest tests/pcs/test_release_protocol_producer.py -q
302+ python examples/pcs_qc_release/scripts/ci_validate_release_fixtures.py
269303python examples/pcs_qc_release/scripts/ci_validate_pcs_exports.py
270304```
271305
0 commit comments