Skip to main content

Module e2e

Module e2e 

Source
Expand description

e2e attest / e2e verify (#17) — the e2e attestation nudge.

attest runs the e2e suite locally and records that it ran against the current commit; verify (a later slice, #68) confirms in CI that the latest code commit is attested. The point is to nudge agents to run e2e locally — CI never runs e2e, it only checks the committed attestation.

This module implements both attest (#67) and verify (#68).

Structs§

Attestation
A record of one local e2e run — written to disk and committed by attest.

Enums§

Verification
The outcome of verify — whether the committed attestation names the latest code commit, and if not, why.

Constants§

ATTESTATION_PATH
Where the committed attestation lives, relative to the repo root.

Functions§

attest
Run command in repo, write an Attestation naming the current HEAD to repo/ATTESTATION_PATH, and commit it on top. Returns the attestation.
verify
Verify that the committed attestation names the latest code commit (#68) — the CI side of the nudge. Reads only the committed attestation: never runs e2e, never inspects the recorded exit code or output.