-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.example.json
More file actions
15 lines (12 loc) · 1.36 KB
/
Copy pathsettings.example.json
File metadata and controls
15 lines (12 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"//": "Autopilot plugin settings — copy the autopilot.* block into your Claude Code settings.json if you want to override defaults.",
"autopilot": {
"//costTracker": "Set to false to disable token cost tracking (privacy opt-out) — only relevant once the cost-tracker opt-in hook is enabled (see below).",
"costTracker": true,
"//protectedBranches": "Regex alternation of branch names to protect (anchored with ^...$) — used by the branch-protection opt-in hook.",
"protectedBranches": "main|master"
},
"//opt-in-hooks": "As of v2.26.2 opt-in hooks are NOT enabled by copying entries here. They are wired in the plugin's own hooks.json (the ONLY place ${CLAUDE_PLUGIN_ROOT} expands and where the path auto-tracks plugin updates) and stay default-OFF until you enable them. Enable via ~/.autopilot/config.json — NOT this file.",
"//opt-in-hooks-how": "Create/edit ~/.autopilot/config.json: {\"hooks\": {\"branch-protection\": true, \"commit-secret-scan\": true}}. Per-hook env override also works: AUTOPILOT_HOOK_BRANCH_PROTECTION=1. See hooks/README.md (Tier B) + hooks/opt-in-manifest.json for the full list.",
"//opt-in-hooks-list": "Enable-able stems: accumulator, batch-format, branch-protection, check-console, commit-secret-scan, config-protection, cost-tracker, design-quality, large-file-warner, mcp-health, session-summary, test-runner."
}