Open an issue or comment on an existing issue before preparing a pull request, and wait for a maintainer invitation on an agreed scope. Generated code and tests can share the same mistake, so passing CI alone does not show that a change fits the architecture.
Read the target repository's root REVIEW.md and AGENTS.md alongside:
- Fix the owning layer: Trace the defect or feature to the package or
module in
vcs-pythonthat owns the rule (libvcsowns URL parsing, VCS detection, andgit, Mercurial, and Subversion subprocess protocols;vcspullowns workspace configuration discovery and batch orchestration). Boundary adapters translate CLI flags, config files, errors, and presentation without re-implementing upstream VCS grammar. - Prove regression bite: For bug fixes and behavioral changes, make a test
fail on
<base>(or on<pre_fix_head>when fixing a defect introduced earlier in an open pull request), verify it passes with the fix, and verify that reverting modified non-test production files (and removing newly added production files) breaks the test again. - Track upstream workarounds: List any temporary workaround for an unfixed
upstream defect in
.github/workarounds.tomlwith itsidcited in source, a pinned upstream issue URL, and a lockfile removal predicate (<pypi|cargo|npm>:<package>>=<version>, orissue_only = truewithreason_no_lockfor external VCS binaries). - Run gates and disclose tool use: Run the repository's format, lint, type-check, workaround, and test gates (against supported Python and VCS versions where applicable), and state which AI or code-generation tools you used and what you verified yourself.
Each repository's REVIEW.md opens with a posture. It tells a reviewer how to
treat a compatibility shim, meaning code kept only so an older caller keeps
working:
experimental: the public interface can still change between releases. Repair a wrong boundary at its owner and update callers in the same change. A shim is residue unless a named consumer needs it and its removal condition is recorded.stable: users depend on the released interface. A breaking change ships with a shim or a deprecation path, a changelog entry and migration notes. A shim stays until its removal condition is met.private: the repository has no outside consumers. Change every caller in the same pull request and keep no shim.