Skip to content

feat(tools/perforce): Perforce / Helix Core (centralized VCS) support #605

Open

Description

@potiuk

Add tools/perforce/ for Perforce / Helix Core (p4), the dominant centralized VCS in games, film/VFX, semiconductor, and large-binary monorepo shops. Unlike every other bridge so far, Perforce is server-centric: changelists instead of local commits, explicit p4 edit checkout-before-write, and depot paths instead of branches. The dev-loop skills' distributed-Git assumptions don't map cleanly, so this bridge mostly defines how the fix-workflow behaves in a centralized model.

Capabilities to provide:

  • Changelist workflow: p4 edit / p4 diff / p4 submit / p4 describe, shelving for review hand-off
  • History read: p4 changes, p4 annotate, file-at-revision
  • Swarm integration (optional): Helix Swarm reviews as the PR/MR analogue for pr-management-*
  • Reuse the VCS-capability shim; document the distributed-vs-centralized divergences explicitly

Why: Perforce is the standard in domains GitHub never displaced — AAA game studios, Hollywood pipelines, chip design (EDA), and any org versioning huge binary assets. These are real enterprise adopter candidates that a Git-only framework simply cannot serve. Capturing the centralized model now also keeps the VCS abstraction honest (it can't quietly assume distributed semantics).

Reference:

Activity

  1. added
    enhancement
    good first issue
    capability:platform
    source control system
    on Jun 28, 2026
  2. KatalKavya96 commented on Aug 25, 2026

    @KatalKavya96
    Member

    Hi @potiuk, I reviewed #605 against the current tools/vcs abstraction before starting.

    Perforce doesn’t map cleanly to the current Git-shaped flow: it needs p4 edit before modifying tracked files, an explicit numbered changelist, and p4 submit shouldn’t be treated like a local commit().

    My proposed approach is a small additive extension:

    add an explicit work-unit handle;
    add prepare_paths(...);
    scope status/diff/stage to that work unit;
    add a non-landed checkpoint(...) (git commit for Git, shelf for P4);
    keep P4 submit separate and explicit.

    P4 runtime support would stay in tools/vcs, with tools/perforce/ mainly documenting the centralised workflow. Swarm would stay out of scope.

    Does this direction look reasonable, or would you prefer #605 to stay backend-only and handle the workflow abstraction separately?

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

    capability:platformenhancementfamily:toolsgood first issuesource control system

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions