Skip to main content

Module artifact

Module artifact 

Source
Expand description

ArtifactType, the single enum naming the artifact sources the CLI operates over, plus ArtifactRef — an artifact’s identity and stat-level fingerprint — and the stamp helpers that produce those fingerprints for sync and import provenance.

Enums§

ArtifactType
The kind of artifact an operation ranges over. One enum, used everywhere a command names artifact sources (p cache sync types, share/resume --harness via the Harness layer, import cache-id prefixes); name() doubles as the manifest key and cache-id prefix. Git artifacts are recorded in the manifest when imported but are not discoverable — there is no machine-wide registry of repos to enumerate — so sync never re-derives them. Github and pathbase are absent on purpose: they are remote services, not local artifact sources.