{
  "env": {
    "ECC_DISABLED_HOOKS": "pre:edit-write:gateguard-fact-force,pre:bash:gateguard-fact-force"
  },
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node .agents/hooks/caveman-mode-tracker.js"
          }
        ]
      }
    ]
  },
  "permissions": {
    "allow": [
      "Bash(docker --version)",
      "Bash(docker buildx *)",
      "Bash(npm -v)",
      "Bash(npm ci *)",
      "Bash(git commit -m 'Add Docker deployment for Hugging Face Spaces *)",
      "Bash(npm start *)",
      "Bash(git reset *)",
      "Bash(git commit -m 'Add admin panel + wire main site to fetch articles from panel API *)",
      "WebFetch(domain:skillooodex-steel.hf.space)",
      "Bash(git fetch *)",
      "Bash(git merge *)",
      "Bash(powershell -NoProfile -Command 'Get-NetTCPConnection -LocalPort 3001 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue }; Write-Host done')",
      "Bash(curl -s http://localhost:3001/api/prices)",
      "Bash(powershell -NoProfile -Command 'Get-NetTCPConnection -LocalPort 3001 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue }; Start-Sleep -Milliseconds 800; Write-Host done')",
      "Bash(node -e ' *)",
      "Bash(powershell -NoProfile -Command 'Get-NetTCPConnection -LocalPort 3001 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue }; Write-Host stopped')",
      "Bash(curl -sI -H \"User-Agent: Mozilla/5.0\" https://www.tgju.org/gold-global)",
      "Bash(curl -sI https://www.google.com)",
      "Bash(node -e \"require\\('@tabler/icons-react'\\)\")",
      "Bash(git commit -m ' *)",
      "Bash(ffmpeg -version)",
      "PowerShell(Get-Command ffmpeg -ErrorAction SilentlyContinue)",
      "PowerShell(ffmpeg -version 2>&1)",
      "PowerShell(winget install --id Gyan.FFmpeg -e --accept-source-agreements --accept-package-agreements 2>&1)",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); ffmpeg -i \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\ezgif-1650150a406efd73.mp4\" -vf \"scale=1280:-2\" -c:v libx264 -crf 28 -preset slow -an -movflags +faststart \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" -y 2>&1 | Select-Object -Last 5)",
      "PowerShell(\\(Get-Item \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\"\\).Length / 1MB)",
      "Bash(git lfs *)",
      "PowerShell(pip install \"huggingface_hub[hf_xet]\" -q 2>&1)",
      "Bash(git rm *)",
      "Bash(echo \"public/hero-bg.mp4\")",
      "Bash(git filter-branch *)",
      "Bash(npm list *)",
      "Bash(git pull *)",
      "Bash(git rebase *)",
      "Bash(grep -Hm1 ^description: 'c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad/.claude/skills/*/SKILL.md')",
      "Bash(echo \"done\")",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\")",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); ffmpeg -i \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" -t 74.56 -c copy \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg-trimmed.mp4\" -y 2>&1 | Select-Object -Last 3)",
      "PowerShell(Rename-Item \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg-trimmed.mp4\" \"hero-bg.mp4\")",
      "PowerShell(python -c \"from huggingface_hub import HfApi; print\\('ok'\\)\" 2>&1)",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); ffmpeg -i \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" -vf \"boxblur=4:1\" -c:a copy \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg-blur.mp4\" -y 2>&1 | Select-Object -Last 3)",
      "PowerShell(Rename-Item \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg-blur.mp4\" \"hero-bg.mp4\")",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); ffmpeg -i \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\ezgif-1650150a406efd73.mp4\" -t 74.56 -vf \"scale=1280:-2\" -c:v libx264 -crf 28 -preset slow -an -movflags +faststart \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" -y 2>&1 | Select-Object -Last 3)",
      "Bash(python -c \"import pdfplumber; pdf = pdfplumber.open\\(r'c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\گزارش کامل برند بوک اندیشکده \\(1\\).pdf'\\); print\\(f'Pages: {len\\(pdf.pages\\)}'\\); [print\\(f'--- Page {i+1} ---\\\\n{p.extract_text\\(\\)}'\\) for i, p in enumerate\\(pdf.pages[:5]\\)]\")",
      "PowerShell(pip install pdfplumber -q 2>&1)",
      "PowerShell(pip install pymupdf -q 2>&1)",
      "PowerShell(1..13 | ForEach-Object { Copy-Item \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\$_.jpg\" \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\$_.jpg\" }; Write-Host \"Done\")",
      "Bash(git stash *)",
      "Bash(git checkout *)",
      "Bash(git commit *)",
      "Bash(GIT_LFS_SKIP_SMUDGE=1 git fetch space)",
      "Bash(sed -i 's/const FACTORIES = {/const _FACTORIES = {/' src/pages/Home/sections/SteelNewsletterSection.tsx)",
      "Bash(sed -i 's/function ImageSlider\\({ lang }/function ImageSlider\\({ lang: _lang }/' src/pages/Home/sections/../../../pages/Home/sections/../../..\\\\/pages\\\\/Pulse\\\\/Pulse.tsx)",
      "Bash(python3 -)",
      "Bash(GIT_LFS_SKIP_SMUDGE=1 git rebase space/main)",
      "Bash(git config *)",
      "Bash(pip show *)",
      "Bash(python -c ' *)",
      "PowerShell($env:Path = [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"Machine\"\\) + \";\" + [System.Environment]::GetEnvironmentVariable\\(\"Path\",\"User\"\\); $dur = & ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" 2>&1; $newDur = [math]::Round\\([double]$dur - 2, 2\\); Write-Host \"Current: $dur New: $newDur\"; ffmpeg -i \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg.mp4\" -t $newDur -c copy \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\hero-bg-new.mp4\" -y 2>&1 | Select-Object -Last 2)",
      "Skill(update-config)",
      "Skill(update-config:*)",
      "Bash(npx prisma *)",
      "PowerShell(Get-NetTCPConnection -LocalPort 3001 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue }; Write-Host \"stopped\")",
      "Bash(python3 \"C:\\\\Users\\\\DATIS STAR\\\\.claude\\\\plugins\\\\cache\\\\ui-ux-pro-max-skill\\\\ui-ux-pro-max\\\\2.5.0\\\\.claude\\\\skills\\\\ui-ux-pro-max\\\\scripts\\\\search.py\" \"steel industry admin dashboard CMS analytics RTL Persian\" --design-system -p \"Foolad Panel\")",
      "Bash(python \"C:\\\\Users\\\\DATIS STAR\\\\.claude\\\\plugins\\\\cache\\\\ui-ux-pro-max-skill\\\\ui-ux-pro-max\\\\2.5.0\\\\.claude\\\\skills\\\\ui-ux-pro-max\\\\scripts\\\\search.py\" \"steel industry admin dashboard CMS analytics RTL Persian\" --design-system -p \"Foolad Panel\")",
      "Read(//c/Users/DATIS STAR/.claude/plugins/cache/ui-ux-pro-max-skill/**)",
      "Bash(python assets/scripts/search.py \"steel industry admin dashboard CMS analytics RTL\" --design-system -p \"Foolad Panel\")",
      "Bash(Get-ChildItem -Path \"c:\\\\Users\\\\DATIS STAR\\\\پنل\\\\src\\\\app\\\\api\\\\\" -Recurse -File)",
      "Read(//c/Users/DATIS STAR/**)",
      "Bash(git branch *)",
      "PowerShell(\\(Get-Item \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\\\\public\\\\logo.png\"\\).Length)",
      "Bash(Get-ChildItem -Path \"c:\\\\Users\\\\DATIS STAR\\\\andishkade-foolad\" -Force)",
      "Bash(Select-Object Name, Mode)",
      "Bash(pip --version)",
      "Bash(pip install *)",
      "Bash(python -m hf_xet install-filter)",
      "Bash(hf_xet version *)",
      "Bash(hf_xet --help)",
      "Read(//c/Python314/Scripts/**)",
      "Read(//c/Python314/Lib/site-packages/hf_xet/**)",
      "Bash(huggingface-cli version *)",
      "Bash(hf auth *)",
      "Bash(hf upload *)"
    ],
    "additionalDirectories": [
      "c:\\Users\\DATIS STAR\\پنل"
    ]
  }
}
