You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vg attest-actions sits next to supply-chain attestation workflows. Users coming from cosign-style verify flows expect clear docs on what runs on-device, what (if anything) needs network, and how failures should be worded when signatures or materials are missing in air-gapped environments.
What to do
Document the command’s purpose, inputs/outputs, and local-first boundaries.
Include a minimal try-it snippet with vg (happy path + one honest failure: missing attestation / unreadable material).
Explicitly state: no secrets in examples; do not print tokens/credentials in error paths.
Acceptance
Docs cover local vs any optional remote steps without overselling offline guarantees
Actionable error examples (what failed + what to check)
Important: there is no vg attest-actions command.src/commands/attest-actions.ts is the internal module behind vg build --attest and vg build --verify, and src/cli.ts redirects the old vg attest and vg verify verbs there. A bare vg attest-actions is not a registered command, so docs must use the vg build flags. Suggest retitling this issue to "Docs: document vg build --attest / --verify local and offline expectations".
Shipped behaviour to document.
vg build --attest signs the built graph into a DSSE in-toto statement at .vibgrate/attestation.intoto.jsonl (--attestation <file> overrides). The key comes from --attest-key <path>, else VG_ATTEST_KEY, else .vibgrate/attest-key.pem.
With no key at the default path, the first run mints an Ed25519 key (attest-key.pem, mode 0600, plus .pub) and prints a notice to keep it and gitignore it. An explicit key path that does not exist is a usage error. A non-Ed25519 key is rejected.
vg build --verify checks a committed attestation against the on-disk graph without rebuilding, alongside a determinism check. --pub <path> pins the signer; without it, verification is integrity-only. A missing default attestation is reported as missing; a missing attestation that was explicitly asked for (--attestation or --pub) fails with "no attestation at ... sign one with vg build --attest".
Network: signing and verifying are local crypto. The only external process is git (HEAD, branch, dirty state) for commit metadata, and it is best-effort.
Try-it snippet. A happy path (vg build --attest, then vg build --verify --pub .vibgrate/attest-key.pem.pub) and one honest failure (a tampered graph or the missing-attestation message, quoted exactly from the CLI).
Never print key material in examples. DCO sign-off.
Activity
vibgrate-team commentedon Oct 5, 2026
Spec notes for implementers
Important: there is no
vg attest-actionscommand.src/commands/attest-actions.tsis the internal module behindvg build --attestandvg build --verify, andsrc/cli.tsredirects the oldvg attestandvg verifyverbs there. A barevg attest-actionsis not a registered command, so docs must use thevg buildflags. Suggest retitling this issue to "Docs: document vg build --attest / --verify local and offline expectations".Shipped behaviour to document.
vg build --attestsigns the built graph into a DSSE in-toto statement at.vibgrate/attestation.intoto.jsonl(--attestation <file>overrides). The key comes from--attest-key <path>, elseVG_ATTEST_KEY, else.vibgrate/attest-key.pem.attest-key.pem, mode 0600, plus.pub) and prints a notice to keep it and gitignore it. An explicit key path that does not exist is a usage error. A non-Ed25519 key is rejected.vg build --verifychecks a committed attestation against the on-disk graph without rebuilding, alongside a determinism check.--pub <path>pins the signer; without it, verification is integrity-only. A missing default attestation is reported as missing; a missing attestation that was explicitly asked for (--attestationor--pub) fails with "no attestation at ... sign one withvg build --attest".git(HEAD, branch, dirty state) for commit metadata, and it is best-effort.Try-it snippet. A happy path (
vg build --attest, thenvg build --verify --pub .vibgrate/attest-key.pem.pub) and one honest failure (a tampered graph or the missing-attestation message, quoted exactly from the CLI).Never print key material in examples. DCO sign-off.