saphan hook
Installs Git hooks that Saphan Studio needs in a repository.
Installs Git hooks that Saphan Studio needs in a repository.
saphan hook install
Installs a pre-commit hook in a repository that refuses any commit staging a file covered by a root-level ignore rule starting with _ (Saphan Studio's underscore-prefixed coordination files), so they cannot be force-added. The hook goes into the repository's configured core.hooksPath (which must be absolute) or its shared hooks directory, so it covers the main checkout and every worktree; an existing pre-commit hook that is not this one is left in place and the install refuses. The hook calls this saphan binary by its absolute path, so re-run the install if the binary moves.
| flag | type | default | what it does |
|---|---|---|---|
--repo | string | Absolute path of the repository to protect; required. |
Global options apply to every command — see Every command.
saphan hand
Records that a coordinating agent is handing the owner one decision to make on a stream, with the exact command to run and the output of its rehearsal.
saphan identity
Manages the signed identity store: the signed record of actors (people and their keys), OAuth client bindings, token issuers and name aliases.