setup
Set up Collide in this repo, once per repo. The answer usually has install.command: run it exactly as given at the repo root (it installs the pinned hook binary, writes the config, merges the settings and installs your credential), then commit what it stages. If the answer has files instead, write them and commit. Returns the command or the files, and what they install.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | enforce (default: the pre-write gate is on), advisory (reporting only), or files (skip the command and return the files). | |
| repo_id | Yes | The repository id, e.g. github.com/org/repo (repo_id in .collide/config.json). |