ReadonlycwdThe directory the hook runs in.
Readonlyenv.isTrue iff running on a CI server (detected via the ci-info library).
Readonlygit.branchThe current git branch, or "" outside a git repo / on an unborn HEAD.
Readonlygit.isTrue iff the working tree has uncommitted changes (false if not a repo).
Readonlygit.rootThe repo's top-level directory, or "" outside a git repo.
Readonlyos.platformThe OS platform (process.platform: "darwin" | "linux" | "win32" | …).
The closed set of built-in facts a gate may declare via
needs, with value types.