@@ -76,10 +76,13 @@ test-pcs:
7676 @ echo " ==> test-pcs"
7777 bash scripts/ sm_python.sh scripts/ verify_labtrust_release_fixture.py
7878 python scripts/ verify_tool_use_release_fixture.py
79+ python scripts/ verify_computation_release_fixture.py
7980 bash scripts/ run_pcs_tests.sh
8081 node portal/ scripts/ verify-pcs-read -model.mjs
8182 pnpm --dir portal test:pcs-phase2-contract
8283 pnpm --dir portal test:pcs-tool-use-phase2-contract
84+ pnpm --dir portal test:pcs-computation-phase2-contract
85+ pnpm --dir portal test:pcs-computation-rejected-phase2-contract
8386
8487# PCS v0.1 gate: contract tests + corpus validation (fixtures are committed; no refresh)
8588pcs-verify : test-pcs
@@ -90,6 +93,7 @@ refresh-pcs-release:
9093 bash scripts/ sm_python.sh scripts/ sync_pcs_schemas.py
9194 bash scripts/ sm_python.sh scripts/ sync_labtrust_release_from_pcs_core.py
9295 python scripts/ sync_tool_use_release_from_pcs_core.py --ensure
96+ python scripts/ sync_computation_release_from_pcs_core.py --bootstrap-if -missing
9397 bash scripts/ sm_python.sh scripts/ ensure_labtrust_phase2_fixtures.py
9498 bash scripts/ sm_python.sh scripts/ ensure_labtrust_phase2_fixtures.py --release-dir release-run
9599 bash scripts/ sm_python.sh scripts/ regenerate_labtrust_negative_fixtures.py
@@ -276,6 +280,24 @@ pcs-import-tool-use-release RELEASE_MANIFEST="tests/pcs/fixtures/tool-use-releas
276280sync-tool-use-release :
277281 python scripts/ sync_tool_use_release_from_pcs_core.py --ensure
278282
283+ bootstrap-computation-release :
284+ python scripts/ bootstrap_computation_release_fixture.py
285+
286+ sync-computation-release :
287+ python scripts/ sync_computation_release_from_pcs_core.py --bootstrap-if -missing
288+
289+ publish-computation-release-to-pcs-core :
290+ python scripts/ publish_computation_release_to_pcs_core.py --include-rejected
291+
292+ verify-computation-release :
293+ python scripts/ verify_computation_release_fixture.py
294+
295+ pcs-import-computation-release RELEASE_MANIFEST = " tests/pcs/fixtures/computation-release/release_manifest.v0.json":
296+ just pcs-import-release-manifest " {{ RELEASE_MANIFEST}} "
297+
298+ pcs-import-computation-rejected-release RELEASE_MANIFEST = " tests/pcs/fixtures/computation-rejected-release/release_manifest.v0.json":
299+ just pcs-import-release-manifest " {{ RELEASE_MANIFEST}} "
300+
279301pcs-import-release-manifest release_manifest :
280302 SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-import-release --release-manifest " {{ release_manifest}} "
281303
@@ -300,6 +322,18 @@ pcs-list-claims-by-release release_id:
300322pcs-list-claims-by-workflow workflow_id :
301323 SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-list-claims-by-workflow --workflow-id " {{ workflow_id}} "
302324
325+ pcs-list-claims-by-dataset DATASET_ID :
326+ SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-list-claims-by-dataset --dataset-id " {{ DATASET_ID}} "
327+
328+ pcs-list-claims-by-code-commit COMMIT :
329+ SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-list-claims-by-code-commit --commit " {{ COMMIT}} "
330+
331+ pcs-list-claims-by-result-hash HASH :
332+ SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-list-claims-by-result-hash --result-hash " {{ HASH}} "
333+
334+ pcs-list-claims-by-environment ENVIRONMENT_ID :
335+ SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-list-claims-by-environment --environment-id " {{ ENVIRONMENT_ID}} "
336+
303337pcs-compare-releases old_release new_release :
304338 SM_FORCE_UV=1 bash scripts/ sm_python.sh -m sm_pipeline.cli pcs-compare-releases --old-release " {{ old_release}} " --new-release " {{ new_release}} "
305339
0 commit comments