{
  "permissions": {
    "allow": [
      "Bash(npm install:*)",
      "Bash(npm run build:*)",
      "Bash(npm link:*)",
      "Bash(node bin/stateset.js:*)",
      "Bash(node bin/stateset-chat.js:*)",
      "Bash(node bin/stateset-direct.js:*)",
      "Bash(node bin/stateset-checkout.js:*)",
      "Bash(node bin/stateset-orders.js:*)",
      "Bash(node bin/stateset-inventory.js:*)",
      "Bash(node bin/stateset-returns.js:*)",
      "Read(/home/dom/stateset-api/stateset-icommerce/**)",
      "Bash(npm pack:*)",
      "Bash(npm ls:*)",
      "Bash(npm test:*)",
      "Bash(node bin/stateset-doctor.js:*)",
      "Bash(ANTHROPIC_API_KEY=sk-ant-test-key node:*)",
      "Bash(npm publish:*)",
      "Bash(node -e:*)",
      "Bash(ls:*)",
      "Bash(for f in /home/dom/stateset-icommerce/cli/bin/*.js)",
      "Bash(do head -1 \"$f\")",
      "Bash(done)",
      "Bash(npm config get:*)",
      "Bash(npm whoami:*)",
      "Bash(npm view:*)",
      "Bash(node --input-type=module -e:*)",
      "Bash(npm pkg fix:*)",
      "Bash(wc:*)",
      "Bash(grep:*)",
      "Bash(comm:*)",
      "Bash(node --test:*)",
      "Bash(xargs:*)",
      "Bash(for f in mod.rs accounts_payable.rs accounts_receivable.rs agent_cards.rs agent_identities.rs agent_reputation.rs agent_validation.rs analytics.rs a2a.rs backorder.rs bom.rs carts.rs cost_accounting.rs credit.rs currency.rs custom_objects.rs customers.rs fulfillment.rs general_ledger.rs inventory.rs invoices.rs lots.rs orders.rs payments.rs products.rs promotions.rs purchase_orders.rs quality.rs receiving.rs returns.rs serials.rs shipments.rs subscriptions.rs tax.rs vector.rs warehouse.rs warranties.rs work_orders.rs x402_credits.rs x402_payment_intents.rs)",
      "Bash(do sed -i 's/^pub struct Sqlite/#[derive\\(Debug\\)]\\\\npub struct Sqlite/' \"$f\")",
      "Bash(python3:*)",
      "Bash(echo:*)",
      "Bash(# Check for any FIXME/TODO/HACK in ALL js files in cli/ grep -rn \"\"TODO\\\\|FIXME\\\\|HACK\"\" /home/dom/stateset-icommerce/cli/ --include=\"\"*.js\"\")",
      "Bash(# Count console.log by category to give a clear picture echo \"\"=== Total console.log in src/ ===\"\" && grep -rn \"\"console\\\\.log\\(\"\" /home/dom/stateset-icommerce/cli/src/ --include=\"\"*.js\"\")",
      "Bash(# Check the core business logic console.logs more carefully - exclude telemetry \\(intentional\\) and offline \\(intentional UI\\) grep -rn \"\"console\\\\.log\\(\"\" /home/dom/stateset-icommerce/cli/src/ --include=\"\"*.js\"\")",
      "Bash(# Check if there are any hardcoded test wallet private keys or seed phrases grep -rn \"\"mnemonic\\\\|seed phrase\\\\|private.*key.*=.*0x[0-9a-f]\\\\{20,\\\\}\"\" /home/dom/stateset-icommerce/cli/src/ --include=\"\"*.js\"\")",
      "Bash(perl:*)",
      "Bash(tee:*)"
    ]
  }
}
