# Audience: AI coding agents first.
defaults:
  protected_files:
    - modules/harness/factory/
    - .factory/
    - plugins/international-press-zone/tools/factory-gate.sh

quality:
  test:
    argv: ["plugins/international-press-zone/tools/factory-gate.sh", "all"]
    timeout_seconds: 3600
  lint:
    argv: ["composer", "--working-dir=plugins/international-press-zone", "phpcs"]
    timeout_seconds: 900
  typecheck:
    argv: ["composer", "--working-dir=plugins/international-press-zone", "phpstan"]
    operation: typecheck
    timeout_seconds: 900
  build:
    argv: ["npm", "--prefix", "plugins/international-press-zone/admin", "run", "build"]
    area: frontend
    timeout_seconds: 900
  admin-lint:
    argv: ["npm", "--prefix", "plugins/international-press-zone/admin", "run", "lint:js"]
    area: frontend
    timeout_seconds: 900
