| # Copyright (c) 2026, Alliance for Open Media. All rights reserved. | |
| # | |
| # This source code is subject to the terms of the BSD 2 Clause License and | |
| # the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License | |
| # was not distributed with this source code in the LICENSE file, you can | |
| # obtain it at www.aomedia.org/license/software. If the Alliance for Open | |
| # Media Patent License 1.0 was not distributed with this source code in the | |
| # PATENTS file, you can obtain it at www.aomedia.org/license/patent. | |
| agentic_review { | |
| capability_groups { | |
| path_expression: "aom/(?:.*/)?[^/]*\\.(?:h|hpp)" | |
| rules: "knowledge_base/rules/aom/append-new-public-enum-values-at-end.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp)" | |
| path_expression: "aom/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/aom/document-mechanism-and-purpose-for-codec-controls.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom/.*" | |
| path_expression: "apps/.*" | |
| path_expression: "av1/.*" | |
| path_expression_exclusion: "examples/.*" | |
| path_expression_exclusion: "test/.*" | |
| rules: "knowledge_base/rules/aom/omit-tuning-overrides-from-codec-control-defaults.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "apps/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/aom/sync-cli-arg-descriptions-with-codec-control-docs.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "av1/.*" | |
| path_expression: "common/.*" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/factor-repetitive-simd-arithmetic-into-inline-helpers.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/simd/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom_dsp/x86/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?x86/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "common/x86/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "test/x86/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/load-only-four-bytes-for-four-wide-simd-blocks.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "av1/.*" | |
| rules: "knowledge_base/rules/aom_dsp/name-dsp-functions-by-metrics-and-block-layout.md" | |
| rules: "knowledge_base/rules/av1/delegate-composite-dsp-to-standalone-primitives.md" | |
| rules: "knowledge_base/rules/av1/hoist-scratch-buffer-allocations.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "common/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/omit-simd-chunking-loops-when-accumulators-cannot-overflow.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*_hwy[^/]*\\.cc" | |
| path_expression: "(?:.*/)?[^/]*_hwy_avx512\\.cc" | |
| path_expression: "aom_dsp/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "common/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/override-hwy-broken-32bit-for-highway-targets.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/(?:.*/)?x86/.*" | |
| path_expression: "av1/(?:.*/)?x86/.*" | |
| path_expression: "common/x86/.*" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/pack-pairs-of-simd-rows-before-storing.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom_dsp/(?:.*/)?x86/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?x86/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "test/(?:.*/)?x86/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/pass-all-x86-vectors-as-pointers-over-three-args.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*arm[^/]*/.*" | |
| path_expression: "(?:.*/)?[^/]*avx[^/]*/.*" | |
| path_expression: "(?:.*/)?[^/]*neon[^/]*/.*" | |
| path_expression: "(?:.*/)?[^/]*sse[^/]*/.*" | |
| path_expression: "(?:.*/)?[^/]*sve[^/]*/.*" | |
| path_expression: "(?:.*/)?[^/]*x86[^/]*/.*" | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "av1/.*" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/unroll-short-fixed-loops-in-simd-dsp-kernels.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*_neon\\.[^/]*" | |
| path_expression: "(?:.*/)?arm/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|mm)" | |
| path_expression: "aom_dsp/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "common/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "test/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/aom_dsp/use-aligned-simd-loads-for-aligned-buffers.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "aom_scale/.*" | |
| path_expression: "av1/.*" | |
| path_expression_exclusion: "test/.*" | |
| rules: "knowledge_base/rules/av1/avoid-direct-calls-to-c-rtcd-functions.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|h)" | |
| rules: "knowledge_base/rules/av1/derive-and-validate-shear-params-on-warped-motion.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "aom_scale/(?:.*/)?[^/]*\\.(?:c|h)" | |
| path_expression: "av1/.*" | |
| rules: "knowledge_base/rules/av1/dispatch-8bit-simd-by-runtime-bit-depth.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/encoder/.*" | |
| rules: "knowledge_base/rules/av1/document-shared-codec-structs-for-encoder-and-decoder.md" | |
| rules: "knowledge_base/rules/av1/preserve-default-rate-control-tuning.md" | |
| rules: "knowledge_base/rules/av1/split-independent-speed-features.md" | |
| rules: "knowledge_base/rules/av1/sync-frame-resize-realloc-paths.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/encoder/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/av1/document-speed-feature-levels-and-validation-checks.md" | |
| rules: "knowledge_base/rules/av1/separate-stage-multithreading-state.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "av1/.*" | |
| rules: "knowledge_base/rules/av1/explicit-block-size-checks-over-bitmasks.md" | |
| rules: "knowledge_base/rules/av1/size-scratch-buffers-tightly.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/av1/keep-encoder-only-code-in-encoder-directory.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/.*" | |
| path_expression: "av1/.*" | |
| path_expression: "common/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| rules: "knowledge_base/rules/av1/maintain-highbd-and-lowbd-counterpart-parity.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_util/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/av1/terminate-workers-before-freeing-worker-arrays.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom_dsp/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom_scale/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| rules: "knowledge_base/rules/av1/use-capability-helper-or-flag-for-optimized-scaler-dispatch.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/.*" | |
| rules: "knowledge_base/rules/av1/use-exact-resolution-bounds-for-speed-features.md" | |
| } | |
| capability_groups { | |
| path_expression: "aom/(?:.*/)?[^/]*\\.(?:c|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| rules: "knowledge_base/rules/av1/use-ppi-number-spatial-layers-for-sequence-config.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "(?:.*/)?[^/]*_neon\\.[^/]*" | |
| path_expression: "(?:.*/)?arm/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/arm-neon-guard-msvc-32bit-xn-intrinsics.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "apps/.*" | |
| path_expression_exclusion: "examples/.*" | |
| path_expression_exclusion: "test/.*" | |
| path_expression_exclusion: "third_party/.*" | |
| path_expression_exclusion: "tools/.*" | |
| rules: "knowledge_base/rules/general/avoid-fatal-exit-in-library-code.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| rules: "knowledge_base/rules/general/avoid-log-on-zero-valued-metrics-use-log1p.md" | |
| rules: "knowledge_base/rules/general/cast-subwords-to-unsigned-before-bitwise-packing.md" | |
| rules: "knowledge_base/rules/general/initialize-all-output-parameters-in-stubs.md" | |
| rules: "knowledge_base/rules/general/scale-allocation-by-element-sizeof.md" | |
| rules: "knowledge_base/rules/general/update-buffer-alloc-size-only-on-realloc.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|inc)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/avoid-raw-compiler-attributes.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/general/check-memory-allocation-failure.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/clamp-floating-point-conversions-to-integer-limits.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom_dsp/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| path_expression: "aom_scale/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/general/document-reference-c-implementation-fallbacks.md" | |
| } | |
| capability_groups { | |
| path_expression: "av1/decoder/.*" | |
| path_expression: "av1/encoder/.*" | |
| rules: "knowledge_base/rules/general/no-assert-for-untrusted-bitstream.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/no-top-level-const-on-function-params.md" | |
| rules: "knowledge_base/rules/general/omit-redundant-narrowing-casts-on-wider-integers.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression_exclusion: "aom_dsp/aom_dsp_common\\.h" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/prefer-clamp-over-nested-min-max-macros.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "aom/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "av1/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| rules: "knowledge_base/rules/general/record-error-details-with-aom-set-error.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp)" | |
| rules: "knowledge_base/rules/general/trailing-comment-on-endif-directives.md" | |
| rules: "knowledge_base/rules/general/use-bool-for-boolean-flags-and-arrays.md" | |
| rules: "knowledge_base/rules/general/use-sizeof-pointer-dereference-in-allocations.md" | |
| } | |
| capability_groups { | |
| path_expression: "(?:.*/)?[^/]*\\.(?:c|cc|cpp|h)" | |
| path_expression: "(?:.*/)?[^/]*_neon\\.[^/]*" | |
| path_expression: "(?:.*/)?[^/]*arm[^/]*/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "(?:.*/)?[^/]*arm[^/]*/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|mm)" | |
| path_expression: "(?:.*/)?[^/]*neon[^/]*/(?:.*/)?[^/]*\\.(?:cc|cpp|h|hpp|mm)" | |
| path_expression: "(?:.*/)?[^/]*neon[^/]*/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|mm)" | |
| path_expression: "(?:.*/)?arm/(?:.*/)?[^/]*\\.(?:c|cc|cpp|h|hpp|mm)" | |
| path_expression_exclusion: "third_party/.*" | |
| rules: "knowledge_base/rules/general/use-neon-lane-intrinsics-not-vector-subscript.md" | |
| } | |
| } |