gov_init
Scaffold a governance project in a directory, creating policy, gate inputs, and a pending artifact. Start a research run by initializing evidence tracking and returning a policy reference.
Instructions
Scaffold a holdout governance project in a directory (created if missing): writes policy.yml and gate-inputs.json only if absent, and creates a new artifact.json with decision=pending. Never overwrites an existing artifact.json — if present it returns an error and writes nothing. Use once at the start of a research run, then attach evidence with gov_attach and decide with gov_check. Returns the created files and the policy_ref SHA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Artifact kind, which selects the required gates: research_conclusion, strategy_advice, public_copy or code. | research_conclusion |
| name | No | Optional human-readable artifact id. Defaults to a timestamped id. | |
| directory | Yes | Directory to scaffold into. Created if missing (like mkdir -p). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |