Skip to main content

Module artifact

Module artifact 

Source
Expand description

Portable handoff between a read-only measurement job and a write-capable publisher.

The publisher must not trust the artifact to choose its target commit. CI supplies an independently trusted revision and publication proceeds only when the artifact names that exact commit. Records are deserialised and then written through crate::notes, so malformed input cannot bypass Tak’s canonical line format or its non-forced, merge-and-retry push path.

Functions§

export
Export every local Tak record attached to rev as one bounded, versioned file suitable for an artifact upload.
publish
Validate, import, and publish an artifact. expect_rev comes from the controlling workflow, never from the measurement job or its artifact.