Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 4.11 KB

File metadata and controls

60 lines (43 loc) · 4.11 KB

PCS artifact registry (v0.1)

The artifact registry is the canonical map from artifact type to schema file, schema ownership, runtime producers, allowed statuses, required release fields, and structured semantic checks, and downstream repositories consume this registry from pcs-core as the single authoritative definition set.

Schema owner vs runtime producer

Field Meaning
schema_owner Repo that authors the JSON Schema (pcs-core for all v0 types).
runtime_producer Default component that emits instances in the reference chain.
allowed_runtime_producers Components permitted to emit instances at runtime.
producer Deprecated alias on emitted artifacts; must match an allowed runtime producer.

HandoffManifest.v0 is schema-owned by pcs-core but may be produced at runtime by LabTrust-Gym, CertifyEdge, Provability Fabric, or Scientific Memory.

Semantic check severities and responsibilities appear in semantic-check-policy.md.

Source of truth

Artifact Location
Machine-readable registry examples/artifact_registry.valid.json
Registry builder python/pcs_core/registry_data.py
Schema schemas/ArtifactRegistry.v0.schema.json

CLI

pcs registry list
pcs registry explain TraceCertificate.v0
pcs registry validate examples/artifact_registry.valid.json
pcs registry check-artifact examples/labtrust-release/trace_certificate.json

Registered artifact types

The core chain registers RuntimeReceipt.v0, TraceCertificate.v0, ScienceClaimBundle.v0, VerificationResult.v0, SignedScienceClaimBundle.v0, together with supporting AssumptionSet.v0, ClaimArtifact.v0, EvidenceBundle.v0, and SourceSpan.v0.

The protocol layer registers ReleaseManifest.v0, HandoffManifest.v0, ReleaseChainValidationResult.v0, ArtifactRegistry.v0, and WorkflowProfile.v0.

The v0.1 multi-domain extension adds ToolUseTrace.v0 and ToolUseCertificate.v0 for agent tool-use safety, plus computation receipts and ComputationWitness.v0 for scientific computation reproducibility as described in workflow-profiles.md.

Artifact Schema owner Runtime producer Release-blocking semantic checks (responsible)
ToolUseTrace.v0 pcs-core agent-tool-use demo producer trace_hash_present, no_unknown_authorization_status (AgentRuntime)
ToolUseCertificate.v0 pcs-core CertifyEdge tool_trace_hash_matches_certificate, policy_hash_matches_certificate, certificate_status_checked_for_release, no_unauthorized_tool_calls, source_commit_matches_release_manifest, signature_or_digest_valid (CertifyEdge)
DatasetReceipt.v0 pcs-core scientific-computation demo producer source_commit_not_placeholder, signature_or_digest_valid
EnvironmentReceipt.v0 pcs-core scientific-computation demo producer source_commit_not_placeholder, signature_or_digest_valid
ComputationRunReceipt.v0 pcs-core scientific-computation demo producer source_commit_not_placeholder, signature_or_digest_valid
ResultArtifact.v0 pcs-core scientific-computation demo producer source_commit_not_placeholder, signature_or_digest_valid
ComputationWitness.v0 pcs-core CertifyEdge dataset_hash_matches_receipt, environment_hash_matches_receipt, run_receipt_hash_matches_declared_run, result_hashes_match_result_artifacts, code_commit_present, computation_status_checked_for_release, source_commit_matches_release_manifest, signature_or_digest_valid (CertifyEdge)
WorkflowProfile.v0 pcs-core pcs-core required_registry_entries_registered (pcs-core)

Downstream sync

  1. Pin pcs-core at the release tag.
  2. Copy examples/artifact_registry.valid.json or call pcs registry validate on your mirror.
  3. Use pcs registry check-artifact in CI for every release-mode artifact you publish.

See artifact-lifecycle.md and status-transition-policy.md.