{
  "permissions": {
    "allow": [
      "Bash(*)",
      "Bash(php *)",
      "Bash(*ypdb*)",
      "Read(//e/www/mdm/**)",
      "Bash(svn status *)",
      "Read(//e/tmp/**)",
      "Bash(curl -s -m 60 -X POST https://api.paojd.cn/tcd/checkNumberData -F token=__TRACKED_VAR__ -F 'number=[{\"factory\":\"OE\",\"number\":\"000 420 68 00\"}]')",
      "Bash(which python *)",
      "Read(//c/Users/Administrator/AppData/Local/Temp/claude/C--Users-Administrator-AppData-Roaming-Claude-scratch-workspaces-3cf2dedc-3957-4d74-84b4-e51bad2d69f4-cdf6bb61-1565-411b-875a-fc720bf08b8c-scratch-2026-09-07-d2b64e/2ed658e0-cf11-4aa0-94d3-eee1e2542c8e/scratchpad/api//**)",
      "Bash(python - /c/Users/Administrator/AppData/Local/Temp/claude/C--Users-Administrator-AppData-Roaming-Claude-scratch-workspaces-3cf2dedc-3957-4d74-84b4-e51bad2d69f4-cdf6bb61-1565-411b-875a-fc720bf08b8c-scratch-2026-09-07-d2b64e/2ed658e0-cf11-4aa0-94d3-eee1e2542c8e/scratchpad/api/check_post.json)",
      "Bash(mkdir -p /c/Temp/pdcapi)",
      "Bash(cp /c/Users/Administrator/AppData/Local/Temp/claude/C--Users-Administrator-AppData-Roaming-Claude-scratch-workspaces-3cf2dedc-3957-4d74-84b4-e51bad2d69f4-cdf6bb61-1565-411b-875a-fc720bf08b8c-scratch-2026-09-07-d2b64e/2ed658e0-cf11-4aa0-94d3-eee1e2542c8e/scratchpad/api/*.json /c/Temp/pdcapi/)",
      "Read(//c/Temp/**)",
      "Bash(python -)",
      "Bash(curl -s -m 60 -G https://api.paojd.cn/number/getModelByNumber --data-urlencode token=YPPDC-tesT-4545-DS987-454S --data-urlencode number=8K0615601B)",
      "Bash(cp lang/scan.php lang/zh-CN.php lang/en.php /c/Temp/pdcapi/)",
      "Bash(python scan.py)",
      "Bash(timeout 60 find /c/Users/Administrator /d/ /e/ -maxdepth 5 -iname \"php.exe\" 2>/dev/null | head -5; echo \"done\")",
      "Bash(/e/httpserver/php-8.3.6-Win32-vs16-x64/php.exe -d error_reporting=E_ALL /c/Temp/pdcapi/smoke.php)",
      "Bash(python /c/Temp/pdc2/scan.py)",
      "Bash(iconv -f UTF-8 -t UTF-8)",
      "Bash(/e/httpserver/php-8.3.6-Win32-vs16-x64/php.exe /c/Temp/pdc2/smoke2.php)",
      "Bash(node --check admin/static/js/lib/dxGrid.js)",
      "Bash(/e/httpserver/php-8.3.6-Win32-vs16-x64/php.exe -l model/Wash.php)",
      "Bash(node --check admin/static/js/lib/washClean.js)",
      "Bash(/e/httpserver/php-8.3.6-Win32-vs16-x64/php.exe \"C:/Users/Administrator/AppData/Local/Temp/claude/E--www-mdm-pdc/2ed658e0-cf11-4aa0-94d3-eee1e2542c8e/scratchpad/url_smoke.php\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_name, engine, table_rows, ROUND\\(data_length/1048576\\) mb, table_comment FROM information_schema.tables WHERE table_schema='frey_catalog' ORDER BY table_name\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_name t, index_name i, non_unique nu, GROUP_CONCAT\\(column_name ORDER BY seq_in_index\\) cols FROM information_schema.statistics WHERE table_schema='frey_catalog' AND \\(table_name LIKE 'oe\\\\_%' OR table_name IN \\('files','factory','factory_cate','pro_factory','pro_cate','part_param','part_param_sche','m_make','m_series','m_model','m_cn_model','cd_make','tag_brand','tag_brand_cnbrand','tag_brand_make','country','crm_country','crm_country_link','link_pair','object','work_data_item'\\)\\) GROUP BY table_name, index_name, non_unique ORDER BY table_name, index_name\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT \\(SELECT COUNT\\(*\\) FROM oe_item\\) oe_item,\\(SELECT COUNT\\(*\\) FROM factory\\) factory,\\(SELECT COUNT\\(*\\) FROM pro_factory\\) pro_factory,\\(SELECT COUNT\\(*\\) FROM pro_cate\\) pro_cate,\\(SELECT COUNT\\(*\\) FROM part_param\\) part_param,\\(SELECT COUNT\\(*\\) FROM part_param_sche\\) part_param_sche,\\(SELECT COUNT\\(*\\) FROM oe_param_val\\) oe_param_val,\\(SELECT COUNT\\(*\\) FROM m_make\\) m_make,\\(SELECT COUNT\\(*\\) FROM m_series\\) m_series,\\(SELECT COUNT\\(*\\) FROM m_cn_model\\) m_cn_model,\\(SELECT COUNT\\(*\\) FROM cd_make\\) cd_make,\\(SELECT COUNT\\(*\\) FROM tag_brand\\) tag_brand,\\(SELECT COUNT\\(*\\) FROM object\\) object\")",
      "Bash(QDB=pdc \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_name, table_rows, table_comment FROM information_schema.tables WHERE table_schema='pdc' ORDER BY table_name\")",
      "Bash(QDB=pdc \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT c.table_name t, c.column_name col, c.column_key k, \\(SELECT GROUP_CONCAT\\(CONCAT\\(k.referenced_table_name,'.',k.referenced_column_name\\)\\) FROM information_schema.key_column_usage k WHERE k.table_schema=c.table_schema AND k.table_name=c.table_name AND k.column_name=c.column_name AND k.referenced_table_name IS NOT NULL\\) fk FROM information_schema.columns c WHERE c.table_schema='pdc' ORDER BY c.table_name, c.ordinal_position\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/dump.php\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/rename.php\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/rename.php\" --apply)",
      "Bash(grep -rnoP --include='*.php' --include='*.js' --include='*.css' --exclude-dir=composer --exclude-dir=plugins --exclude-dir=.svn '\\(?<![A-Za-z0-9_$]\\)admin_\\(?!user_|depa_\\(cn_name|en_name|id|remark|create_time|update_time\\)\\\\b|remember_token|password_reset|login_attempt|user\\\\b|depa\\\\b\\)[a-z_]+' mvc/v2 pdc)",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" -l E:/www/mdm/mvc/v2/GridActions.php)",
      "Bash(grep -v '^$')",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/run_migrate.php\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/run_migrate.php\" 1)",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/smoke.php\")",
      "Skill(update-config)",
      "Skill(update-config:*)",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" \"C:/Users/ADMINI~1/AppData/Local/Temp/claude/E--www-mdm-pdc/c5c15845-146a-4ca5-90fc-849ea5ba47c4/scratchpad/clean_settings2.php\")",
      "Bash(QDB=pdc \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT column_name, column_type, is_nullable, column_key, column_comment FROM information_schema.columns WHERE table_schema='pdc' AND table_name='attr_factory' ORDER BY ordinal_position\")",
      "Bash(QDB=pdc \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT t.attr_type_id, t.attr_type_code, t.attr_type_cn_name, t.attr_type_is_tree, t.attr_type_use_code, COUNT\\(v.attr_value_id\\) vals FROM attr_type t LEFT JOIN attr_value v ON v.attr_value_lnk_attr_type_id=t.attr_type_id GROUP BY t.attr_type_id ORDER BY t.attr_type_sort\")",
      "Bash(QDB=pdc \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT VERSION\\(\\) v\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT o.o_id,o.o_parent_id p,o.o_level lv,o.code,o.cn_name,o.en_name,o.py_name,o.sp_name,o.al_name,o.o_sort,o.o_has_code hc,o.o_children_level cl,\\(SELECT COUNT\\(*\\) FROM object c WHERE c.o_parent_id=o.o_id\\) kids FROM object o ORDER BY o.o_lft\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT ordinal_position pos, column_name, column_type, is_nullable n, column_default d, column_key k, column_comment FROM information_schema.columns WHERE table_schema='ypdb' AND table_name='yp_part' ORDER BY ordinal_position\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_name, table_rows, ROUND\\(data_length/1048576\\) mb, table_comment FROM information_schema.tables WHERE table_schema='ypdb' AND \\(table_name LIKE '%part%' OR table_name LIKE '%cate%' OR table_name LIKE '%lang%' OR table_name LIKE '%trans%'\\) ORDER BY table_name\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT LEFT\\(item,2\\) prefix, LENGTH\\(item\\) len, COUNT\\(*\\) n, MIN\\(item\\) mn, MAX\\(item\\) mx, COUNT\\(DISTINCT desid\\) dist_des, SUM\\(desid=0\\) zero_des, SUM\\(show_para=1\\) std_para FROM yp_part GROUP BY LEFT\\(item,2\\), LENGTH\\(item\\) ORDER BY prefix\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT t.table_name, t.table_rows, t.table_comment, GROUP_CONCAT\\(CONCAT\\(c.column_name,IF\\(c.column_comment<>'',CONCAT\\('\\(',c.column_comment,'\\)'\\),''\\)\\) ORDER BY c.ordinal_position\\) cols FROM information_schema.tables t JOIN information_schema.columns c ON c.table_schema=t.table_schema AND c.table_name=t.table_name WHERE t.table_schema='ypdb' AND \\(t.table_name LIKE '%lng%' OR t.table_name LIKE '%txt%' OR t.table_name LIKE '%text%' OR t.table_name LIKE '%\\\\_ga%' OR t.table_name LIKE '%para%' OR t.table_name LIKE '%unit%'\\) GROUP BY t.table_name, t.table_rows, t.table_comment\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT p.partid, p.item, p.name, r.level, \\(SELECT COUNT\\(*\\) FROM yp_part_tree c WHERE c.parent=p.partid\\) kids FROM yp_part p JOIN yp_part_tree r ON r.partid=p.partid AND r.ismain=1 WHERE r.parent=0 ORDER BY p.item\")",
      "Bash(\"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT level, COUNT\\(*\\) n, SUM\\(cat_from_id>0\\) has_from, MIN\\(NULLIF\\(cat_from_id,0\\)\\) mn, MAX\\(cat_from_id\\) mx, SUBSTRING_INDEX\\(GROUP_CONCAT\\(CONCAT\\(cat_from_id,':',en_name\\) ORDER BY id\\),',',4\\) sample FROM pro_cate GROUP BY level\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT p.partid, p.item, r.parent, p.name, \\(SELECT x.txt FROM yp_lng_des d JOIN yp_lng_type t ON t.lngid=d.lngid JOIN yp_lng_text x ON x.txtid=d.txtid WHERE d.desid=p.desid AND t.code LIKE 'zh%' LIMIT 1\\) zh, \\(SELECT x.txt FROM yp_lng_des d JOIN yp_lng_type t ON t.lngid=d.lngid JOIN yp_lng_text x ON x.txtid=d.txtid WHERE d.desid=p.desid AND t.code LIKE 'en%' LIMIT 1\\) en, \\(SELECT COUNT\\(*\\) FROM yp_lng_des d WHERE d.desid=p.desid\\) lang_rows FROM yp_part p JOIN yp_part_tree r ON r.partid=p.partid WHERE p.partid IN \\(1,13,20,21,22,23,160,181,357,400\\)\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_schema, table_name, GROUP_CONCAT\\(column_name ORDER BY ordinal_position\\) cols FROM information_schema.columns WHERE table_schema NOT IN \\('information_schema','mysql','performance_schema','sys'\\) AND \\(table_name LIKE '%genart%' OR table_name LIKE '%generic%' OR table_name REGEXP '\\(^|_\\)ga\\($|_\\)'\\) GROUP BY table_schema, table_name LIMIT 20\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT t.table_schema, t.table_name, t.table_rows, GROUP_CONCAT\\(c.column_name ORDER BY c.ordinal_position\\) cols FROM information_schema.tables t JOIN information_schema.columns c ON c.table_schema=t.table_schema AND c.table_name=t.table_name WHERE t.table_schema NOT IN \\('information_schema','mysql','performance_schema','sys'\\) AND \\(t.table_schema LIKE '%aaia%' OR t.table_schema LIKE '%aces%' OR t.table_schema LIKE '%pcdb%' OR t.table_name LIKE '%aaia%' OR t.table_name LIKE '%pcdb%' OR t.table_name LIKE '%parttype%' OR t.table_name LIKE '%part_type%'\\) GROUP BY t.table_schema, t.table_name, t.table_rows LIMIT 30\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT COUNT\\(*\\) links, COUNT\\(DISTINCT aps_aaia_part\\) aaia_ids, COUNT\\(DISTINCT aps_ypdb_part\\) cats, SUM\\(NOT EXISTS \\(SELECT 1 FROM yp_part p WHERE p.partid=a.aps_ypdb_part\\)\\) orphan_cat, \\(SELECT COUNT\\(*\\) FROM \\(SELECT aps_aaia_part FROM yp_part_aaia GROUP BY aps_aaia_part HAVING COUNT\\(DISTINCT aps_ypdb_part\\)>1\\) t\\) aaia_multi_cat, \\(SELECT COUNT\\(*\\) FROM \\(SELECT aps_ypdb_part, aps_aaia_part FROM yp_part_aaia GROUP BY aps_ypdb_part, aps_aaia_part HAVING COUNT\\(*\\)>1\\) t\\) dup_pairs, SUM\\(EXISTS \\(SELECT 1 FROM yp_part_tree r WHERE r.partid=a.aps_ypdb_part AND r.is_end=1\\)\\) leaf_links FROM yp_part_aaia a\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SHOW DATABASES\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_schema, table_name, table_rows FROM information_schema.tables WHERE table_schema NOT IN \\('information_schema','mysql','performance_schema','sys'\\) AND \\(table_schema LIKE '%aaia%' OR table_schema LIKE '%aces%' OR table_schema LIKE '%pcdb%' OR table_name LIKE '%aaia%' OR table_name LIKE '%pcdb%' OR table_name LIKE '%parttype%'\\) LIMIT 40\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT table_schema, table_name, table_rows, table_comment FROM information_schema.tables WHERE table_schema IN \\('ypdb_aaia','ypdb_aaia_param'\\) ORDER BY table_schema, table_name\")",
      "Bash(QDB=ypdb \"E:/httpserver/php-8.3.6-Win32-vs16-x64/php.exe\" q.php \"SELECT * FROM ypdb_aaia.yp_lng_type\")"
    ]
  }
}
