Skip to main content

Synopsis

geval init [directory]
Defaults
  • directory.geval if omitted.
Flags
  • --force — Overwrite existing template files if the directory already contains contract.yaml or signals.json.

What gets created

PathPurpose
contract.yamlStarter contract with a clear name and policies pointing at descriptive policy filenames.
policies/safety-and-blocking.yamlExample block rules (tune metrics/thresholds).
policies/quality-and-approval.yamlExample approval / review-style rules.
signals.jsonExample metrics; replace with your pipeline output.
README.mdPlain-English map of the folder and commands to run.

Examples

./geval init
./geval init my-geval-config
./geval init .geval --force
After editing, run:
./geval check --contract .geval/contract.yaml --signals .geval/signals.json

See also

Quickstart · Contract and policies