Skip to main content
View Markdown ↗

Copy this page

Select and copy the Markdown below, then paste it into your LLM.

On this page

design-signoff attestor

Records a person's sign-off on one design document at one git commit: the document's full text, the digests that name those exact bytes, the decision and any conditions, and the 21 CFR Part 11 section 11.50 fields (printed name, time, meaning of the signature).

FieldValue
Namedesign-signoff
Predicate typehttps://testifysec.com/attestations/design-signoff/v0.1
Lifecycleprematerial
Default binary?Yes

What it captures

  • source: { uri, digest: { gitCommit } }: the repository (from remote.origin.url) and the full commit the document was read at.
  • path, blob: the repo-relative path and the git blob id at that commit.
  • doc_sha256, doc_bytes, content: sha256, size and full text of the document. The text must be valid UTF-8 and at most 1 MiB.
  • decision: approve, approve-with-conditions or reject.
  • meaning: what the signature means: approval, review, responsibility or authorship.
  • conditions[]: { id, text, verifiable }, ids C1, C2, and so on.
  • answers[]: { id, choice, note } answering the document's D-<n> decisions; choice is recommended, other or defer.
  • signer: { name, email, kind }; kind is always human.
  • signedAt: RFC 3339 time, set just before signing.
  • supersedes: Archivista gitoid (64 hex) of an earlier sign-off of the same path, or empty.

Subjects emitted: doc:<path> (sha256 and git blob id of the document) and commithash:<commit>.

When to use

When a design document must carry a recorded, attributable decision before work proceeds, and a policy needs to check that the document it gates on is the one that was signed. The attestor reads the document from the committed blob, not the working tree.

Flags

FlagRequiredPurpose
--attestor-design-signoff-pathYes, exactly onceRepo-relative path of the document.
--attestor-design-signoff-signer-nameYesPrinted name of the signer (21 CFR 11.50).
--attestor-design-signoff-signer-emailYesEmail you sign in as; a verifier requires it to equal the certificate's email.
--attestor-design-signoff-commitNo, default HEADCommit to read the document at, resolved to a full SHA once.
--attestor-design-signoff-decisionNo, default approveapprove, approve-with-conditions or reject.
--attestor-design-signoff-meaningNo, default approvalapproval, review, responsibility or authorship.
--attestor-design-signoff-conditionsWith approve-with-conditionsPath to a JSON array of {id, text, verifiable}. Refused with any other decision.
--attestor-design-signoff-answersNoPath to a JSON array of {id, choice, note}. An approve answers every D-<n> decision in the document; defer approves without deciding.
--attestor-design-signoff-supersedesNoGitoid of the earlier sign-off of the same path.

Gotchas

  • Human only. The run must sign through --human; otherwise Attest refuses with a design sign-off is signed only through the --human browser login. See cilock run.
  • Clean working copy. If the file on disk differs from the blob at the chosen commit, the attestor refuses, so you sign what you read. Commit or discard the edit first.
  • Never auto-detected. The detector fires only when CILOCK_DESIGN_SIGNOFF is set. Name the attestor with -a design-signoff.
  • A symlink, submodule, missing path, non-UTF-8 file, or a document over 1 MiB is refused. The predicate must also serialize under the 4 MiB statement limit; JSON escaping can grow a large document past it.
  • Giving --attestor-design-signoff-path twice is refused. One sign-off covers one document.

CLI example

cilock attest --human --step design-signoff -a design-signoff \
  --attestor-design-signoff-path docs/design/policy-drafting.md \
  --attestor-design-signoff-signer-name "Ada Example" \
  --attestor-design-signoff-signer-email [email protected]

See also

Reference generated from the product documentation. Match commands and support details to your installed release.