sign_agent_trace
Signs a browser-agent trace file with an Ed25519 identity, hashing the trace and recording run metadata to create an offline-verifiable signed envelope.
Instructions
Sign a browser-agent JSONL trace with the active Ed25519 identity.
Use when a WEB_WIZARD or Steel run completes. Hashes the full trace bytes,
records step count and run_id, and writes an offline-verifiable envelope.
Side effects: writes envelope file; uses local identity store. No network.
Returns ``{ok, signed, path?, error?}``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | Optional envelope output path (default: `<trace>.envelope.json`). | |
| trace_path | Yes | Path to a WEB_WIZARD `.traces/<runId>.jsonl` run log. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||