Posture: stable (CLI and workspace synchronization orchestrator built on libvcs; repair asymmetric or leaky boundaries at the owning module and update callers, schema, docs, and CHANGES in the same diff; keep released configuration files and CLI behavior working, or ship a deprecation path).
Posture defines experimental, stable and private.
Review the complete change against <base>, including untracked files. Report all findings in one pass without editing files. Writing conventions · Contributing gates · AI policy.
vcspull owns workspace manifest loading, path and glob filtering, multi-repository orchestration, and CLI reporting. libvcs owns VCS URL grammar, repository detection, remote and branch queries, sync primitives, and git/hg/svn subprocess execution.
| Layer | Modules | Owns | Must not own |
|---|---|---|---|
| CLI surface | src/vcspull/cli/* |
Argument parsing (sync, add, discover, import, list, search, status, fmt, migrate, worktree), human/JSON formatting, exit codes, and dry-run output |
Config merging rules, direct git subprocesses, or libvcs._internal imports |
| Orchestration and config | src/vcspull/config.py, validator.py, types.py, _internal/* |
YAML/JSON manifest discovery, path expansion, deduplication, schema validation, and worktree plan orchestration | Re-implementing libvcs URL detection or calling subprocess.run(["git", ...]) directly |
VCS substrate (libvcs) |
External vcs-python/libvcs public API |
Repository state, remotes, worktrees, rev-parse/status/fetch commands, and URL schemes | vcspull manifest schemas or terminal progress rendering |
Do not BLOCK against <base>:REVIEW.md's prior owner row when a pull request migrates an invariant cleanly to a single owner, updates callers, tests, and REVIEW.md in the same diff, and states the old and new owner in the pull request description.
- Adapter versus duplicated rule: CLI subcommands (
src/vcspull/cli/*) translate flags, dry-run previews, and output formatting overconfig.py,validator.py, and_internal/*. Block when CLI modules duplicate manifest normalization or URL validation, or when new code imports cross-packagelibvcs._internalsymbols (same-packagevcspull._internalimports remain valid). - Zero-import format leaks: Check dependency direction even when imports stay clean. Block
config.py,validator.py, or_internal/*modules that parsesyrupy.ambrsnapshot syntax, branch onPYTEST_CURRENT_TEST, or store test-only state on config models.
- Shelling out to
gitdirectly invcspull(config.py,cli/{add,discover,status,sync}.py,_internal/{config_style,worktree_sync}.py): Add missing repository inspection or worktree methods tolibvcs's public API instead of spawning new rawgitsubprocesses invcspull. - Importing cross-package
libvcs._internalsymbols (types.py,validator.py,_internal/sync.py,cli/{status,sync}.py): Promote needed types or helpers tolibvcspublic exports first rather than expandinglibvcs._internalmigration debt. - Treating partial multi-step success as total failure (
3f45908): When_create_worktreecreates a usable worktree on disk and a subsequentgit worktree lockstep fails, preserve the created state and surface a structured warning rather than reporting the worktree creation itself as failed. - Unexpired URL-pattern shims:
EXTRA_EXPLICIT_URL_PATTERNSinsrc/vcspull/validator.pyis a temporary workaround forvcs-python/libvcs#546and must remain tracked in.github/workarounds.toml(pypi:libvcs>=0.49.0) withvcspull-daemon-url-schemescited in source untillibvcslands native daemon-scheme support.
- For bug fixes and behavioral changes, prove the test fails on
<base>(or on<pre_fix_head>when fixing a defect introduced earlier in the same open pull request) through the public CLI or orchestrator API. - Check partial failure on every multi-step filesystem or worktree operation: verify what persisted on disk if step
Nfails and what a retry does without discarding uncommitted work. - Run the production-only revert check (for behavioral changes),
uv run ruff check .,uv run ruff format . --check,uv run ty check --error-on-warning .,uv run py.test, and the sharedlibtmux/.github/actions/check-workaroundsaction, which CI runs. - Emit
BLOCKorNO FINDINGS(plus optional non-blockingNOTEitems). Before emittingBLOCKon placement, weigh any boundary-adapter or ownership-transfer counter-case and name a concrete observation or command that would prove the finding wrong.
These rules decide which findings block.
- Base run: A finding that code misbehaves shows its check run on
<base>and on the change, with one line of output from each. - Existing and separate: Behavior
<base>already has does not block. Report it as aNOTE, unless the change adds a promise the behavior breaks; then the broken promise is the finding. - Unverified: A gate nobody ran is unverified. Name the command that would run it. It holds the merge until someone runs it, and it does not make the verdict
BLOCK. - Behavior defects: A behavior defect blocks when a caller can reach it in a supported environment, or when it breaks a promise in the pull request description, a docstring, help text or the changelog. Otherwise it is a
NOTE. - Checks and claims: A weakened check, a rule written in a second place and a behavior claimed as tested with no test that bites block whether or not a caller reaches them.