Ask a question to get started
Enter to send•Shift+Enter new line
for_session( cls, cwd: Path | str, *, granted: bool, store_path:
cwd
Path | str
granted
bool
store_path
Path | None
None
Build a policy from a launch-time trust decision.
Directory the trust decision was made for.
Whether the user trusted project hooks for this session without persisting that choice.
Alternate trust store path for tests.