Synopsis
directory—.gevalif omitted.
--force— Overwrite existing template files if the directory already containscontract.yamlorsignals.json.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Scaffold contract.yaml, policies, signals.json, and README in a folder — safe to run beside application code.
geval init [directory]
directory — .geval if omitted.--force — Overwrite existing template files if the directory already contains contract.yaml or signals.json.| Path | Purpose |
|---|---|
contract.yaml | Starter contract with a clear name and policies pointing at descriptive policy filenames. |
policies/safety-and-blocking.yaml | Example block rules (tune metrics/thresholds). |
policies/quality-and-approval.yaml | Example approval / review-style rules. |
signals.json | Example metrics; replace with your pipeline output. |
README.md | Plain-English map of the folder and commands to run. |
./geval init
./geval init my-geval-config
./geval init .geval --force
./geval check --contract .geval/contract.yaml --signals .geval/signals.json