Repository navigation
Open
Description
Context
Sub-roadmap under #592 (paired with libvcs#515 under libvcs#565) focused on src/vcspull/cli/*, structured --json / --ndjson payloads, configuration/output schemas, and side-effect-free planning contracts.
Goal
Build on vcspull CLI ergonomics with explicit schema versioning, contract tests, and machine-readable planning and capability metadata.
Shipped in 1.69.0 (2026-11-28) and merged on master for 1.70.0
- Published Draft 2020-12 configuration JSON Schema at
docs/_static/schemas/vcspull.schema.jsonwithGitFilter*Dictcompletions, hover descriptions,scripts/generate_schema.py(--check/--output), and loader-agreement contract tests intests/test_schema.py(config(feat): Add targets, VCS blocks, and schema #589). - Documented CLI exit codes and destructive-operation
--yesinvariants in.github/WRITING.md. - Added offline resolved-target, drift, and recovery-token reporting in
vcspull status,vcspull sync, andvcspull worktree sync --dry-run--json/--ndjsonpayloads (sync,status(feat): Apply target and dirty policy #590, worktree(feat): Apply checkout policy under lock #578). - Replaced
typing.Anywith typed payloadTypedDicts (PlanEntryPayload,PlanSummaryPayload,StatusResult,JsonValue) across CLI/output modules (refactor(typing): Replace Any with precise types across codebase #495, be19568), enforcedruffICN/PT/Nrules and renamedVCSPullError/MultipleConfigError(pyproject(ruff): Add ICN, PT, N + exception Error-suffix rename #420, 56dc1f3), addedvcspull config lsandvcspull trustscope inspection (Configuration scopes: system, user, and project config resolution #564, 012e67b), deduplicatedaddsave helpers (refactor(cli[add]) Extract duplicated save-config dispatch helpers #530, 78a11a7) andimporttest helpers (refactor(test[import]) Extract _run_import_defaults to reduce boilerplate #529, test(import[prune]) Add edge-case tests for prune scoping #533; c179a82, fa0500b), and matched full repository paths while surfacing unchanged rows on explicitsync <pattern> --dry-run(fix(filter_repos): match full repo paths and normalize trailing slashes #539, feat(sync[dry-run]): auto-show all matched repos when filtering explicitly #540; 1b265c4, 79f79d7).
Low-lift ideas
- Publish JSON Schema definitions for
--jsonand--ndjsonCLI output payloads (sync,status,list,search,worktree,discover,import,config) and include aschema_versionfield in emitted payloads. - Add a
vcspull schemaCLI subcommand to print or export the bundled configuration and CLI output schemas. - Mirror the canonical CLI exit-code table into the rendered Sphinx CLI reference (
docs/cli/index.md).
Medium-lift ideas
- Reduce remaining parser, config-resolution, and option duplication across
src/vcspull/cli/*via sharedargparsebuilders (coordinate with Every subcommand resolves config files by its own rules #573,vcspull addwrites to a config thatvcspull syncwill not read #572, and open cli/fmt(feat[style]): Add config output styles and fmt --style #516output-styles). - Extend
--dry-run/ plan mode (sync,worktree sync,import) to emit a structured per-repository action graph without network or filesystem side effects (pairs with side-effect-free operation planning in libvcs#515). - Add snapshot/schema contract tests guarding
--jsonand--ndjsonoutput payload evolution.
High-lift ideas
- Publish machine-readable capability metadata for
vcspull importproviders (github,gitlab,codeberg,gitea,forgejo,codecommit; pairs with the Git/Hg/SVN backend capability matrix in libvcs#515). - Define and document a compatibility and deprecation policy for structured output schema versions.
Done when
- Consumers and agents can validate both workspace configuration and
--json/--ndjsonCLI output against versioned schemas. - Planned per-repository actions are inspectable offline before execution.
- Configuration and output schema drift are caught automatically in CI.
References
- Parent release roadmaps:
1.68.xand beyond Roadmap #592, libvcs#565 - Companion upstream Agentic DX roadmap: libvcs#515
v1.70.xunreleased changelog and configuration scopes onmaster(56dc1f3):CHANGES,docs/configuration/scopes.mdv1.69.0changelog (c113032):CHANGES
Metadata
Metadata
Assignees
Labels
No labels
Activity