Permission Analyzer Generate permissions configuration based on actual tool usage from past sessions. Workflow 1. Run the analysis script for the current project: 2. Review the generated permissions output 3. Offer to merge into existing settings: - If exists, merge the section - If not, create new file with generated config - Preserve existing settings (model, env, etc.) Script Output The script outputs to stderr (summary) and stdout (JSON): Generated Rules Allow list includes: - Development commands used (git, make, go, npm, cargo, etc.) - Filesystem commands used (ls, mkdir, find, etc.) -…