Skip to main content

when

"when": "immediate" refuses the call and asks now. "when": "commit" records a finding and lets the call run; the finding is put to a person when the agent commits, see Decisions. Deny rules have no when; a denial is always immediate. The default policy keeps edits to gitvow’s own policy and hooks immediate, so a loosened policy can never take effect before a person has seen it. Evaluation order: deny, confirm, MCP lists, providers, classifier, allow. Missing keys are treated as empty lists. Every pattern is compiled on load; a compile error or unreadable file makes the gate fail closed. Lookup order: <repo>/.gitvow/policy.json, ~/.gitvow/policy.json, package default.