delimit_init
Initialize project governance: create policies, ledger, and permissions allowlist.
Instructions
Initialize Delimit governance scaffolding for a project.
When to use: once per project, the first time you adopt Delimit — creates .delimit/policies.yml, ledger directory, and (optionally) a project .claude/settings.json with a reasonable allowlist. When NOT to use: to load an existing config (use delimit_project_config action="load") or to discover Delimit's capabilities for a project (delimit_scan).
Sibling contrast: delimit_project_config manages the config after init; delimit_scan inspects what could be governed; this is the one-time initializer.
Side effects: creates .delimit/policies.yml + ledger dir; chmod 755 on .delimit/, chmod 600 on .delimit/secrets/*; writes a project .claude/settings.json with an Edit/Write/Bash allowlist if missing. Pass no_permissions=True to skip the permission step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | Project root directory. Default "." (cwd). | . |
| preset | No | Policy preset — "strict", "default", "relaxed". | default |
| no_permissions | No | Skip filesystem permission auto-config (LED-269). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||