Skip to content

[Agentic DX] libvcs: low-to-high lift API decomposition and contract roadmap #515

Open

Description

@tony

Context

Sub-roadmap under #565 (paired with vcspull#517 under vcspull#592) focused on src/libvcs/ (especially src/libvcs/cmd/git.py), sync contracts, and machine-readable metadata.

Goal

Improve module maintainability and machine-facing contracts without losing libvcs command flexibility.

Shipped in 0.47.0 (2026-11-28) and merged on master for 0.48.0

Low-lift ideas

Medium-lift ideas

High-lift ideas

  • Publish a machine-readable capability matrix covering Git, Mercurial, and Subversion feature support (partial clones, shallow depth, recovery primitives, worktrees; pairs with forge-provider capability metadata in vcspull#517).
  • Add a side-effect-free planning mode that emits intended VCS operations before execution (feeds per-repository --dry-run action graphs in vcspull#517).

Done when

  • Core command modules are split into navigable concerns without breaking public imports.
  • Command and sync output/error contracts are typed and tested.
  • External tooling and agents can query backend capabilities without inspecting _internal modules.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions