diff --git a/.github/review-references.yaml b/.factory/agents/client-parity/config.yaml similarity index 56% rename from .github/review-references.yaml rename to .factory/agents/client-parity/config.yaml index e8ff2d98..f070496a 100644 --- a/.github/review-references.yaml +++ b/.factory/agents/client-parity/config.yaml @@ -1,13 +1,5 @@ -# Cross-repository references for the apify-factory review (apify/ai-developer, `review-references`). -version: 1 - -instructions: | - This repository is the Python client for the Apify API, a port of the JS client that the Python SDK - builds on. For every behaviour the pull request adds or changes, check three things: that it matches - what the API actually does, that it matches what the JS client does for the same operation (ignore - differences caused by different language idioms and style), and that every place the Python SDK uses - the changed code still works. Back every finding with the reference file and line (create public - github link fixed to a commit you have seen). +# A repository agent of the apify-factory review (apify/ai-developer, src/agents/README.md). +when: always references: - repository: apify/apify-core diff --git a/.factory/agents/client-parity/reviewer.md b/.factory/agents/client-parity/reviewer.md new file mode 100644 index 00000000..cccdc3f2 --- /dev/null +++ b/.factory/agents/client-parity/reviewer.md @@ -0,0 +1,16 @@ +# Client parity reviewer + +This repository is the Python client for the Apify API, a port of the JS client that the Python SDK +builds on. For every behaviour the pull request adds or changes, check three things: + +- that it matches what the API actually does, +- that it matches what the JS client does for the same operation (ignore differences caused by + different language idioms and style), +- that every place the Python SDK uses the changed code still works. + +Back every finding with the reference file and line, as a public GitHub link fixed to the commit you +read. + +Severity: a finding is important when the client would send a request the API rejects or handles +differently, parse a response wrongly, or break the Python SDK. Differences from the JS client that +no caller can observe are not important. diff --git a/.github/workflows/factory_review.yaml b/.github/workflows/factory_review.yaml index 1ca80ef2..233d945e 100644 --- a/.github/workflows/factory_review.yaml +++ b/.github/workflows/factory_review.yaml @@ -25,8 +25,6 @@ jobs: # Paths never auto-approved here, on top of the pipeline's defaults. Proposed from the # repository's layout when this workflow was added; edit them like any other code. with: - # The draft of the cross-repository references, under evaluation. Back to `main` once it lands. - ai-developer-ref: claude/review-references policy: | { "denyGlobs": [ diff --git a/.rules.md b/.rules.md index 4f3aec36..bdca42dc 100644 --- a/.rules.md +++ b/.rules.md @@ -45,4 +45,4 @@ The OpenAPI spec can lag behind the API and omit fields, and a live response onl ### Related repositories -[`.github/review-references.yaml`](.github/review-references.yaml) lists the related repositories (`apify-core`, `apify-client-js`, `apify-sdk-python`) and what to check in each when a change touches shared behavior. +[`.factory/agents/client-parity/config.yaml`](.factory/agents/client-parity/config.yaml) lists the related repositories (`apify-core`, `apify-client-js`, `apify-sdk-python`) and what to check in each when a change touches shared behavior.