Files
wsg/docs/rules/fragments/10_AttestedComputation.md
T
Jérôme Bousquié 37432536dc refactor spec OKF
2026-08-01 09:34:12 +02:00

24 lines
551 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
type: Section
title: Attested Computation (§10)
sources: [SPEC.md]
generated: true
verified: false
status: current
stale_after: 2026-12-31
---
# Attested Computation (§10)
The `computation` field records a deterministic computation that can be rerun to verify a documents content. It typically includes a reference to a script or function and its inputs.
## Example
```yaml
computation:
script: verify_hash.sh
args: ["{{file}}", "{{expected_hash}}"]
```
When the computation succeeds, the document can be marked `verified: true`.