# vdx-rubric.yaml — Personal maturity rubric (vodmal)
#
# Canonical published rubric. Format specification:
#   https://github.com/vodmal/vdx/blob/main/docs/specs/rubric-format.md
#
# Семантика уровней — delta-style: levels.LN.requires описывает ТОЛЬКО
# дельту относительно L(N-1). Уровень оси = max L, для которого истинны
# requires(L1), ..., requires(L) подряд (без разрывов).

schema_version: "0.3"

metadata:
  name: vdx-rubric-vodmal
  version: "1.12.0"
  description: "Personal maturity rubric for multi-stack projects (vodmal)"
  owner: vodmal
  homepage: "https://github.com/vodmal/vdx-rubric"

scoring:
  formula: weighted_two_class
  supporting_threshold: 0.8

levels:
  L0: { name: chaos,        description: "Не поднимается, знание в голове" }
  L1: { name: reproducible, description: "Поднимается одной задокументированной командой" }
  L2: { name: testable,     description: "Тесты есть; единый словарь up/test/build" }
  L3: { name: gated,        description: "Статанализ + стиль; CI зовёт словарь проекта; main на хостинге принимает только проверенное" }
  L4: { name: exemplar,     description: "Полная глубина: хуки повторяют CI, mock-инфра, observability, версионированная общая инфра" }

axes:

  # =========================================================================
  # CRITICAL
  # =========================================================================

  - id: lifecycle-interface
    class: critical
    description: "Стандартный словарь глаголов up/down/build/test/check/fix (up/down — не у библиотек)"
    storage: level
    default_target: L4
    fact_sources: [mise.toml, composer.json, package.json, Makefile]
    levels:
      L1:
        requires:
          any_of:
            - has_file: docker-compose.yml
            - has_file: docker-compose.yaml
            - has_file: Makefile
            - has_task_matching: ".+"
      L2:
        requires:
          at_least_n_of:
            n: 3
            predicates:
              - has_task: up
              - has_task: down
              - has_task: build
              - has_task: test
              - has_task: check
              - has_task: fix
      L3:
        # v1.4.0: up/down — глаголы приложения. Библиотека (lib-intent, D12)
        # выпускается, а не поднимается: от неё L3 требует только остальные четыре.
        requires:
          all_of:
            - has_task: build
            - has_task: test
            - has_task: check
            - has_task: fix
            - any_of:
                # lib-intent — проект заявляет, что публикует артефакт (O35).
                # Одно определение на сет: release-artifact.applies_when — ссылка сюда.
                - &lib_intent
                  any_of:
                    # Node-сторона: НЕ private И есть хоть один entry-point/publish-signal.
                    - all_of:
                        - has_file: package.json
                        - not:
                            config_value: { path: package.json, jsonpath: "private", equals: true }
                        - any_of:
                            - config_value: { path: package.json, jsonpath: "publishConfig", op: present }
                            - config_value: { path: package.json, jsonpath: "bin",           op: present }
                            - config_value: { path: package.json, jsonpath: "main",          op: present }
                            - config_value: { path: package.json, jsonpath: "exports",       op: present }
                            - config_value: { path: package.json, jsonpath: "module",        op: present }
                    # PHP-сторона: composer.json есть, name задан, type ≠ project (project = app).
                    - all_of:
                        - has_file: composer.json
                        - config_value: { path: composer.json, jsonpath: "name", op: present }
                        - not:
                            config_value: { path: composer.json, jsonpath: "type", op: equals, equals: "project" }
                - all_of:
                    - has_task: up
                    - has_task: down
      L4:
        requires:
          any_of:
            - has_task_matching: "check:before:.*"
            - has_task_matching: "build:.*"
            - has_task_matching: "test:.*"

  - id: tests
    class: critical
    description: "Наличие, разделение по типам, coverage, threshold"
    applies_to: [php, node, go, python]
    storage: level
    default_target: L4
    fact_sources:
      - phpunit.xml.dist
      - phpunit.xml
      - jest.config.js
      - vitest.config.ts
      - package.json
      - composer.json
      - tests/
      - playwright.config.ts
    levels:
      L1:
        requires:
          any_of:
            - has_file: tests
            - has_file: __tests__
            - package_present: { name: phpunit/phpunit, ecosystem: composer }
            - package_present: { name: jest, ecosystem: npm }
            - package_present: { name: vitest, ecosystem: npm }
      L2:
        requires:
          any_of:
            - has_file: tests/Unit
            - has_file: tests/unit
            - file_contains: { path: phpunit.xml.dist, pattern: "<testsuite" }
            - has_task: test:unit
      L3:
        requires:
          any_of:
            - file_contains: { path: phpunit.xml.dist, pattern: "<coverage>" }
            - has_task: coverage
            - file_contains: { path: package.json, pattern: "\"coverage\":" }
      L4:
        requires:
          any_of:
            - file_contains: { path: phpunit.xml.dist, pattern: "coverageMinimum|<report.+threshold" }
            - has_task: test:mutation
            - has_task: test:e2e
            - has_file: playwright.config.ts

  - id: static-analysis
    class: critical
    description: "Эффективная строгость (не nominal level) — D2 уточнение"
    applies_to: [php, node, go, python]
    storage: flags
    default_target: L4
    stack_implementations:
      php:
        flags:
          - id: phpstan_present
            weight: 1.0
            predicate:
              any_of:
                - package_present: { name: phpstan/phpstan, ecosystem: composer }
                - has_file: phpstan.neon
                - has_file: phpstan.neon.dist
                - has_file: phpstan.dist.neon
          - id: phpstan_bleeding_edge
            weight: 0.5
            predicate: { file_contains: { path: phpstan.neon, pattern: "bleedingEdge.neon" } }
          - id: phpstan_strict_rules
            weight: 1.0
            predicate: { package_present: { name: phpstan/phpstan-strict-rules, ecosystem: composer } }
          - id: phpstan_symplify_rules
            weight: 0.5
            predicate: { package_present: { name: symplify/phpstan-rules, ecosystem: composer } }
          - id: psalm_present
            weight: 1.0
            predicate: { package_present: { name: vimeo/psalm, ecosystem: composer } }
          - id: type_coverage_active
            weight: 0.5
            predicate: { package_present: { name: tomasvotruba/type-coverage, ecosystem: composer } }
        level_thresholds: { L4: 0.85, L3: 0.65, L2: 0.35, L1: 0.10 }
      node:
        flags:
          - id: tsc_strict
            weight: 1.0
            predicate: { tsc_flag: { name: strict, equals: true } }
          - id: no_unchecked_indexed_access
            weight: 1.0
            predicate: { tsc_flag: { name: noUncheckedIndexedAccess, equals: true } }
          - id: exact_optional_property_types
            weight: 0.5
            predicate: { tsc_flag: { name: exactOptionalPropertyTypes, equals: true } }
          - id: no_implicit_override
            weight: 0.3
            predicate: { tsc_flag: { name: noImplicitOverride, equals: true } }
          - id: eslint_flat
            weight: 1.0
            # Имена flat-конфига — те, что ищет ESLint 10 (lib/config/config-loader.js).
            # Одно определение на сет: code-style ссылается сюда (v1.4.1).
            predicate: &eslint_flat_config
              any_of:
                - has_file: eslint.config.js
                - has_file: eslint.config.mjs
                - has_file: eslint.config.cjs
                - has_file: eslint.config.ts
                - has_file: eslint.config.mts
                - has_file: eslint.config.cts
          - id: eslint_type_checked
            weight: 1.0
            predicate:
              file_contains:
                paths: [eslint.config.js, eslint.config.mjs, eslint.config.cjs, eslint.config.ts, eslint.config.mts, eslint.config.cts]
                # typescript-eslint во flat-конфиге — recommendedTypeChecked / strictTypeChecked,
                # в .eslintrc было recommended-type-checked (v1.4.1).
                pattern: "(recommended|strict)-?[Tt]ype-?[Cc]hecked"
        level_thresholds: { L4: 0.85, L3: 0.65, L2: 0.35, L1: 0.10 }

  - id: ci
    class: critical
    description: "Сигнал: тесты на каждый push в основную ветку, падение не замаскировано. Гейт до слияния — ось branch-protection"
    storage: level
    default_target: L4
    fact_sources:
      - .github/workflows/
      - .gitlab-ci.yml
      - .circleci/config.yml
    # Выше L1 vdx читает только GitHub Actions; у прочих CI-систем L2+ —
    # «неизвестно», в общем уровне это «не выполнено».
    levels:
      L1:
        requires:
          any_of:
            - has_file: .github/workflows
            - has_file: .gitlab-ci.yml
            - has_file: .circleci/config.yml
      # Тесты на push в main/master (фильтр веток или без него). Шаг с `|| true`
      # или continue-on-error не засчитывается. Только PR-триггер — тоже: в репо
      # с пушами в main такой CI не запускается никогда.
      L2:
        requires:
          gha_tests_on_push:
            pattern: "\\b(phpunit|pest|composer test|npm test|npm run test|yarn test|pnpm test|jest|vitest|pytest|go test|cargo test|mocha|mix test|rspec|vdx test|mise run test)\\b"
      # Паритет: CI вызывает задачи проекта check и test (или check:* / test:*)
      # через его раннер — то же, что человек и агент запускают локально.
      L3:
        requires:
          gha_runs_tasks: { tasks: [check, test] }
      # Ширина или конвейер: проверяющая задача идёт по matrix, либо всё, что CI
      # выкладывает или выпускает (deploy/release/publish), ждёт её через needs:.
      L4:
        requires:
          any_of:
            - gha_test_matrix:
                pattern: "\\b(phpunit|pest|composer test|npm test|npm run test|yarn test|pnpm test|jest|vitest|pytest|go test|cargo test|mocha|mix test|rspec|vdx test|mise run test)\\b"
            - gha_ship_needs_checks:
                pattern: "\\b(phpunit|pest|composer test|npm test|npm run test|yarn test|pnpm test|jest|vitest|pytest|go test|cargo test|mocha|mix test|rspec|vdx test|mise run test)\\b"

  - id: branch-protection
    class: critical
    description: "Основная ветка на хостинге принимает изменения только после обязательной проверки"
    storage: level
    default_target: L4
    fact_sources: [hosting API]
    # Гейт — свойство L3 общей лестницы; ниже ось ничего не требует и уровень
    # не ограничивает. Знает о защите только хостинг: vdx спрашивает GitHub
    # (с CLI 0.29), GitLab (0.33) и Bitbucket Server (0.34), у другого хостинга
    # L3 — «неизвестно» с причиной. L4 — позже: force-push, удаление ветки,
    # ревью (как Branch-Protection у Scorecard).
    levels:
      L1: { not_required: true }
      L2: { not_required: true }
      L3:
        requires:
          branch_requires_checks: {}
      L4: { not_required: true }

  # =========================================================================
  # SUPPORTING
  # =========================================================================

  - id: reproducibility
    class: supporting
    description: "Onboarding одной командой + pinned tool versions"
    storage: level
    default_target: L4
    fact_sources: [docker-compose.yml, mise.toml, .tool-versions, .nvmrc, composer.json, package.json, README.md, flake.nix]
    levels:
      L1:
        requires:
          any_of:
            - has_file: docker-compose.yml
            - has_file: Dockerfile
            - has_file: Makefile
      L2:
        requires:
          any_of:
            - config_value: { path: package.json, jsonpath: "engines.node", op: present }
            - config_value: { path: composer.json, jsonpath: "require.php", op: present }
      L3:
        requires:
          any_of:
            - has_file: mise.toml
            - has_file: .tool-versions
            - has_file: .nvmrc
            - has_file: flake.nix
            - has_file: devbox.json
      L4:
        requires:
          file_contains:
            path: README.md
            pattern: "(one-command|one command|vdx up|mise run up|\\bdocker compose up\\b)"

  - id: code-style
    class: supporting
    applies_to: [php, node, go, python]
    storage: level
    default_target: L4
    fact_sources: [ecs.php, .php-cs-fixer.php, phpcs.xml.dist, .prettierrc, biome.json, eslint.config.js]
    levels:
      L1:
        requires:
          has_file: .editorconfig
      L2:
        requires:
          any_of:
            - has_file: ecs.php
            - has_file: .php-cs-fixer.php
            - has_file: phpcs.xml.dist
            # Форматтер: имена конфига — те, что ищет Prettier 3.9, и Biome (v1.4.1).
            - &formatter_config
              any_of:
                - has_file: .prettierrc
                - has_file: .prettierrc.json
                - has_file: .prettierrc.yaml
                - has_file: .prettierrc.yml
                - has_file: .prettierrc.json5
                - has_file: .prettierrc.toml
                - has_file: .prettierrc.js
                - has_file: .prettierrc.mjs
                - has_file: .prettierrc.cjs
                - has_file: .prettierrc.ts
                - has_file: .prettierrc.mts
                - has_file: .prettierrc.cts
                - has_file: prettier.config.js
                - has_file: prettier.config.mjs
                - has_file: prettier.config.cjs
                - has_file: prettier.config.ts
                - has_file: prettier.config.mts
                - has_file: prettier.config.cts
                - config_value: { path: package.json, jsonpath: "prettier", op: present }
                - has_file: biome.json
                - has_file: biome.jsonc
            - *eslint_flat_config
      L3:
        requires:
          any_of:
            - has_task: check:code:style
            - has_task: lint
            - has_task: check
            - has_task: fix
      L4:
        requires:
          any_of:
            - all_of:
                - has_file: ecs.php
                - has_file: phpcs.xml.dist
            - all_of:
                - *formatter_config
                - *eslint_flat_config

  - id: dependency-hygiene
    class: supporting
    applies_to: [php, node, go, python]
    storage: level
    default_target: L4
    fact_sources:
      - composer.json
      - composer.lock
      - package.json
      - package-lock.json
      - pnpm-lock.yaml
      - .github/dependabot.yml
      - renovate.json
    levels:
      L1:
        requires:
          any_of:
            - has_file: composer.lock
            - has_file: package-lock.json
            - has_file: pnpm-lock.yaml
            - has_file: yarn.lock
            - has_file: go.sum
      L2:
        requires:
          any_of:
            - package_present: { name: roave/security-advisories, ecosystem: composer }
            - has_task: check:code:security
            - file_contains: { path: .github/workflows/*.yml, pattern: "(composer audit|npm audit|pnpm audit)" }
      L3:
        requires:
          any_of:
            - has_file: renovate.json
            - has_file: .github/dependabot.yml
            - has_file: .renovaterc
            - has_file: .renovaterc.json
      L4:
        requires:
          any_of:
            - package_present: { name: maglnet/composer-require-checker, ecosystem: composer }
            - package_present: { name: deptrac/deptrac, ecosystem: composer }
            - package_present: { name: knip, ecosystem: npm }
            - package_present: { name: depcheck, ecosystem: npm }

  - id: secrets-config
    class: supporting
    storage: level
    default_target: L4
    fact_sources: [.env.example, lintnet.jsonnet, .sops.yaml, .vault.yml]
    levels:
      L1:
        requires:
          any_of:
            - has_file: .env
            - has_file: .env.dev
      L2:
        requires:
          has_file: .env.example
      L3:
        requires:
          any_of:
            - package_present: { name: dotenv-linter, ecosystem: any }
            - has_file: lintnet.jsonnet
            - has_task: check:config:env
      L4:
        requires:
          any_of:
            - has_file: .sops.yaml
            - has_file: .vault.yml
            - file_contains: { path: .gitlab-ci.yml, pattern: "(vault|sops)" }

  - id: git-hygiene
    class: supporting
    description: "Хуки репозитория: ставятся сами, зовут словарь проекта, повторяют проверки CI"
    storage: level
    default_target: L4
    fact_sources: [.gitignore, .husky/, lefthook.yml, .lefthook.yml, .githooks/, package.json, composer.json, mise.toml]
    # Включены ли хуки в этом клоне — пометка рядом с осью в `vdx audit` и строка
    # `vdx doctor`; уровень не меняет: тот же репо и тот же тег дают тот же отчёт
    # в любом клоне.
    clone_check: git-hooks
    levels:
      L1:
        requires:
          has_file: .gitignore
      # Репо ставит свои хуки сам на обычной установке: husky в prepare/postinstall
      # (под Yarn 2+ — только postinstall), пакеты lefthook / simple-git-hooks,
      # `cghooks add` в post-install-cmd, `git config core.hooksPath` в шаге
      # установки или в задаче up. Объявленный, но не ставящийся сам — не L2.
      L2:
        requires:
          git_hooks_arranged: {}
      # pre-commit или pre-push зовёт задачу словаря (test, check, check:*, test:*)
      # через раннер проекта.
      L3:
        requires:
          git_hook_runs_task: { tasks: [test, check] }
      # pre-push вызывает все задачи словаря, которые вызывает CI на push в main
      # (@-ссылки composer и npm run раскрываются): пуш, прошедший хук, не падает
      # в CI на проверках.
      L4:
        requires:
          git_hook_covers_ci: { tasks: [test, check] }

  - id: observability
    class: supporting
    # v1.5.0: логгер, Sentry и релиз в Sentry — у процесса, который работает и
    # падает без человека. Библиотека и CLI (lib-intent) пишут в stderr и код
    # выхода — у них ось excluded. Определение lib-intent — в lifecycle-interface.L3.
    applies_when: { not: *lib_intent }
    storage: level
    default_target: L4
    fact_sources: [composer.json, package.json, .github/workflows/]
    levels:
      L1:
        requires: { fn: always_true }    # есть кодовая база — хотя бы print/console.log
      L2:
        requires:
          any_of:
            - package_present: { name: monolog/monolog, ecosystem: composer }
            - package_present: { name: winston, ecosystem: npm }
            - package_present: { name: pino, ecosystem: npm }
      L3:
        requires:
          any_of:
            - package_present: { name: sentry/sentry,         ecosystem: composer }
            - package_present: { name: sentry/sentry-symfony, ecosystem: composer }
            - package_present: { name: '@sentry/node',        ecosystem: npm }
            - package_present: { name: '@sentry/browser',     ecosystem: npm }
      L4:
        requires:
          any_of:
            - file_contains: { path: .github/workflows/*.yml, pattern: "(sentry.release|sentry-release|action-release)" }
            - package_present: { name: cronitor/cronitor-php, ecosystem: composer }

  - id: docs
    class: supporting
    storage: level
    default_target: L4
    fact_sources: [README.md, docs/, CHANGELOG.md, PROJECT_CHANGELOG.md, CLAUDE.md, AGENTS.md, docs/adr/]
    levels:
      L1:
        requires:
          has_file: README.md
      L2:
        requires:
          has_file: docs
      L3:
        requires:
          all_of:
            - any_of:
                - has_file: CLAUDE.md
                - has_file: AGENTS.md
            - any_of:
                - has_file: CHANGELOG.md
                - has_file: PROJECT_CHANGELOG.md
      L4:
        requires:
          any_of:
            - has_file: docs/adr
            - has_file: docs/architecture.md
            - has_file: docs/onboarding.md

  - id: mock-infra
    class: supporting
    applies_to: [php, node, go, python]
    # v1.5.0: mock-сервер и проверка, что моков нет в проде, — у сервиса с
    # зависимостями. У библиотеки и CLI (lib-intent) ось excluded.
    applies_when: { not: *lib_intent }
    storage: level
    default_target: L4
    fact_sources: [composer.json, package.json, docker-compose.yml, mock-server/]
    levels:
      L1:
        requires: { fn: always_true }
      L2:
        requires:
          any_of:
            - package_present: { name: msw, ecosystem: npm }
            - package_present: { name: nock, ecosystem: npm }
            - package_present: { name: mcustiel/phiremock-client, ecosystem: composer }
            - has_file: tests/Fixtures
      L3:
        requires:
          any_of:
            - all_of:
                - has_file: docker-compose.yml
                - file_contains: { path: docker-compose.yml, pattern: "mock[-_]?[a-zA-Z0-9_-]*(server|api|service)" }
            - has_file: mock-server
            - package_present: { name: mcustiel/phiremock-server, ecosystem: composer }
      L4:
        requires:
          any_of:
            - file_contains: { path: .gitlab-ci.yml,           pattern: "(validate.*production-config|prod.*mock)" }
            - file_contains: { path: .github/workflows/*.yml, pattern: "(validate-no-mock-in-prod|prod-mock-check)" }

  - id: shared-infra
    class: supporting
    description: "Качество подхода + автопровижининг (D8)"
    storage: level
    default_target: L4
    fact_sources: [docker-compose.yml, misc/traefik-global/, scripts/, mise.toml]
    levels:
      L1:
        requires:
          file_contains: { path: docker-compose.yml, pattern: "ports:" }
      L2:
        requires:
          any_of:
            - has_file: misc/traefik-global
            - file_contains: { path: docker-compose.yml, pattern: "traefik" }
            - file_contains: { path: docker-compose.yml, pattern: "networks:.+external" }
      L3:
        requires:
          any_of:
            - file_contains: { path: scripts/docker-up.sh, pattern: "(traefik|nginx-proxy)" }
            # Манифест vdx — в [_.vdx] (vdx 0.26+) или в старом [vdx]; оба места — с v1.4.2.
            - config_value: { path: mise.toml, jsonpath: "_.vdx.shared_infra.precheck", equals: true }
            - config_value: { path: mise.toml, jsonpath: "vdx.shared_infra.precheck", equals: true }
      L4:
        requires:
          any_of:
            - config_value:
                path: mise.toml
                jsonpath: "_.vdx.shared_infra.provider"
                op: matches
                pattern: "github.com/.+@v\\d+"
            - config_value:
                path: mise.toml
                jsonpath: "vdx.shared_infra.provider"
                op: matches
                pattern: "github.com/.+@v\\d+"
            - file_contains:
                paths: [scripts/*.sh]
                pattern: "git clone.+traefik|mise install.+traefik"

  - id: shared-infra-drift
    class: supporting
    description: "Подось shared-infra. Применимо только если shared-infra ≤ L3 (есть локальная копия)"
    storage: level
    default_target: L3
    fact_sources: [misc/traefik-global/README.md, misc/traefik-global/start.sh]
    levels:
      L1:
        requires:
          has_file: misc/traefik-global
      L2:
        requires:
          file_contains:
            paths: [misc/traefik-global/README.md, misc/traefik-global/start.sh]
            pattern: "Based on:"
      L3:
        requires:
          file_contains:
            paths: [misc/traefik-global/README.md, misc/traefik-global/start.sh]
            pattern: "Based on:.+@[a-f0-9]{7,40}"   # commit hash pointer
      L4:
        requires:
          file_contains:
            paths: [misc/traefik-global/README.md, misc/traefik-global/start.sh]
            pattern: "@v\\d+\\.\\d+\\.\\d+"          # semver pin

  - id: release-artifact
    class: supporting
    description: "Publish-readiness: metadata completeness + entry points + registry signals (O34, v0.3.0). Применяется только к проектам, заявляющим publish-intent (O35, v0.3.1) — иначе excluded."
    applies_to: [node, php, ruby, python]
    # O35 (v0.3.1): ось применяется только если проект декларирует намерение
    # публиковать артефакт. Чистые app'ы (private:true в package.json или
    # composer type:project) → excluded. Определение lib-intent — в
    # lifecycle-interface.L3 (якорь, v1.4.0).
    applies_when: *lib_intent
    storage: level
    default_target: L4
    fact_sources:
      - package.json
      - composer.json
      - LICENSE
      - LICENSE.md
      - LICENSE.txt
    levels:
      L1:
        requires:
          any_of:
            - all_of:
                - config_value: { path: package.json, jsonpath: "name",    op: present }
                - config_value: { path: package.json, jsonpath: "version", op: present }
                - config_value: { path: package.json, jsonpath: "license", op: present }
            - all_of:
                - config_value: { path: composer.json, jsonpath: "name",    op: present }
                - config_value: { path: composer.json, jsonpath: "license", op: present }
      L2:
        requires:
          any_of:
            - all_of:
                - config_value: { path: package.json, jsonpath: "description", op: present }
                - config_value: { path: package.json, jsonpath: "repository",  op: present }
                - any_of:
                    - has_file: LICENSE
                    - has_file: LICENSE.md
                    - has_file: LICENSE.txt
            - all_of:
                - config_value: { path: composer.json, jsonpath: "description", op: present }
                - any_of:
                    - has_file: LICENSE
                    - has_file: LICENSE.md
      L3:
        requires:
          any_of:
            - all_of:
                - config_value: { path: package.json, jsonpath: "files", op: present }
                - any_of:
                    - config_value: { path: package.json, jsonpath: "bin",     op: present }
                    - config_value: { path: package.json, jsonpath: "main",    op: present }
                    - config_value: { path: package.json, jsonpath: "exports", op: present }
            - all_of:
                - config_value: { path: composer.json, jsonpath: "autoload", op: present }
                - config_value: { path: composer.json, jsonpath: "type",     op: present }
      L4:
        requires:
          any_of:
            - all_of:
                - config_value: { path: package.json, jsonpath: "publishConfig", op: present }
                - config_value: { path: package.json, jsonpath: "homepage",      op: present }
                - config_value: { path: package.json, jsonpath: "bugs",          op: present }
            - config_value: { path: composer.json, jsonpath: "extra.publish", op: present }
