Skip to content

[Extension]: Add multirepo extension  #5550

In progress
In progress

Description

@joaopaschuino

Extension ID

multirepo

Extension Name

Multirepo Workspace Orchestration

Version

1.0.0

Description

Orchestrate spec-driven implementation across a workspace: a central specs repository dispatches implementation to member repositories

Author

Joao Victor

Repository URL

https://github.com/joaopaschuino/speckit-multirepo

Download URL

https://github.com/joaopaschuino/speckit-multirepo/archive/refs/tags/v1.0.0.zip

License

MIT

Homepage (optional)

https://github.com/joaopaschuino/speckit-multirepo

Documentation URL (optional)

https://github.com/joaopaschuino/speckit-multirepo/blob/main/README.md

Changelog URL (optional)

https://github.com/joaopaschuino/speckit-multirepo/blob/main/CHANGELOG.md

Required Spec Kit Version

=1.0.0

Required Tools (optional)

Number of Commands

7

Number of Hooks (optional)

1

Tags

multirepo,orchestration,workspace,specs,spec-driven-development,dependency-graph

Key Features

  • Central/member topology — a central specs repository dispatches implementation to member repositories; all feature state lives in the central repo, member PRs are pure implementation diffs.
  • Dependency-wave dispatch — execution order computed from the depends_on graph in workspace.yml, with per-wave parallelism (max_concurrency).
  • Objective verification — ## Verification commands run by exit code in the member repo (not the agent's self-report), with verify_retries and automatic feedback.
  • Cross-repo contract checks — verification-only members validate contracts between producers and consumers after the producers' wave.
  • Layered governance bundles — workspace, type, and local constitutions assembled into a bundle per dispatch; the most restrictive rule wins.
  • Resume & partial workspaces — workflow resume after failure, skip_completed skips finished members, missing: skip tolerates non-cloned members, ready: false holds members back.
  • Domain topology mapping — /speckit.multirepo.domain infers domain/communicates_with by scanning member repos and generates a Mermaid diagram.
  • Workspace doctor — multirepo-check dry-run reports each member's readiness without dispatching anything
    Timeouts & safety — dispatch_timeout with a watchdog that kills the agent's process tree; review gates keep a human in the loop.
  • Zero core changes — uses only stable Spec Kit extension surfaces (commands, hooks, custom step, workflows)

Testing Checklist

  • Extension installs successfully via download URL
  • All commands execute without errors
  • Documentation is complete and accurate
  • No security vulnerabilities identified
  • Tested on at least one real project

Submission Requirements

  • Valid extension.yml manifest included
  • README.md with installation and usage instructions
  • LICENSE file included
  • GitHub release created with version tag
  • All command files exist and are properly formatted
  • Extension ID follows naming conventions (lowercase-with-hyphens)

Testing Details

Automated pytest suite in tests/ (5 files). Unit tests cover the step's dispatch logic, wave ordering, governance bundles, verification/retry, and config validation via a FakeIntegration stub. E2E tests exercise the real specify CLI (extension add, workflow step add, workflow run/resume) against a fake agent executable, covering install, dispatch, resume-after-failure, verification retries, timeout watchdog, and contract-check members. Run with uv sync --extra test && .venv/bin/python -m pytest tests/.

Example Usage

**Setup** — central specs repo + member repos (e.g. `repo-s3`, `repo-lambda` as siblings):  
  
  
# in each member repo  
specify extension add multirepo --from https://github.com/joaopaschuino/speckit-multirepo/archive/refs/tags/v1.0.0.zip  
  
# in the central repo (extension + step + workflows)  
specify extension add multirepo --from https://github.com/joaopaschuino/speckit-multirepo/archive/refs/tags/v1.0.0.zip  

specify workflow step add multirepo-implement --from https://github.com/joaopaschuino/speckit-multirepo/releases/download/v1.0.0/step-multirepo-implement-v1.0.0.zip  

specify workflow add multirepo --from https://raw.githubusercontent.com/joaopaschuino/speckit-multirepo/v1.0.0/workflow/multirepo/workflow.yml  

specify workflow add multirepo-check --from https://raw.githubusercontent.com/joaopaschuino/speckit-multirepo/v1.0.0/workflow/multirepo-check/workflow.yml  


`.specify/workspace.yml` in the central repo — generate it with `/speckit.multirepo.workspace`, which discovers the member repositories, or write it manually:


schema_version: "1.0"  
workspace:  
  id: my-platform  
members:  
  - id: s3  
    path: ../repo-s3  
  - id: lambda  
    path: ../repo-lambda  
    depends_on: [s3]  


Feature flow (in the central repo):


/speckit.specify <description>  
/speckit.plan <description>  
/speckit.tasks <description>  
/speckit.multirepo.tasks        # splits tasks.md into tasks/s3.md, tasks/lambda.md  
  
specify workflow run multirepo -i feature=specs/001-my-feature  
# → wave 1 dispatches s3, wave 2 dispatches lambda  
# → each member's ## Verification commands run by exit code  
# → review gate shows verification/report.md  
  
# a member failed? fix it, then:  
specify workflow resume <run-id>  


Dry-run / doctor (nothing dispatched):

specify workflow run multirepo-check --json | jq '.step_results.check.output.members'  
`

Proposed Catalog Entry

{  
  "schema_version": "1.0",  
  "extensions": {  
    "multirepo": {  
      "name": "multirepo Workspace Orchestration",  
      "version": "1.0.0",  
      "download_url": "https://github.com/joaopaschuino/speckit-multirepo/archive/refs/tags/v1.0.0.zip",  
      "repository": "https://github.com/joaopaschuino/speckit-multirepo",  
      "description": "Orchestrate spec-driven implementation across a workspace: a central specs repository dispatches implementation to member repositories",  
      "author": "Joao Victor",  
      "license": "MIT",  
      "homepage": "https://github.com/joaopaschuino/speckit-multirepo",  
      "changelog": "https://github.com/joaopaschuino/speckit-multirepo/blob/main/CHANGELOG.md",  
      "requires": {  
        "speckit_version": ">=1.1.0"  
      },  
      "provides": {  
        "commands": 7,  
        "hooks": 1  
      },  
      "tags": [  
        "multirepo",  
        "orchestration",  
        "workspace",  
        "specs",  
        "spec-driven-development",  
        "dependency-graph"  
      ],  
      "created_at": "2026-11-12T00:00:00Z",  
      "updated_at": "2026-11-23T00:00:00Z",  
      "releases": {  
        "1.0.0": {  
          "download_url": "https://github.com/joaopaschuino/speckit-multirepo/archive/refs/tags/v1.0.0.zip",  
          "released_at": "2026-11-23T00:00:00Z"  
        }  
      }  
    }  
  }  
}

Additional Context

The extension installs from the tag source archive (contains extension.yml, commands/, scripts/, and hooks at the root). The step-multirepo-implement-v1.0.0.zip release asset is a separate package used only by specify workflow step add --from, which expects step.yml at the archive root — both install paths are documented in the README.

Activity

  1. added
    triage-must-have
    on Nov 24, 2026
  2. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    cc @github/spec-kit-maintainers — new catalog submission for review.

  3. added a commit that references this issue on Nov 24, 2026
    4c6ffdf
  4. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    Pull request created: #5552

    Generated by Add Community Extension from Issue Submission · copilot · gpt53codex · 29.4 AIC · ⌖ 0.695 AIC · ⊞ 27.7K

  5. mnriem commented on Nov 24, 2026

    @mnriem
    Collaborator

    Please fix the following as per #5552 (review)

    Once done let me know and we can retrigger this workflow

  6. changed the title [-][Extension]: Update multi-repo from v0.7.1 to v1.0.0[/-] [+][Extension]: Add multirepo extension [/+] on Nov 25, 2026
  7. joaopaschuino commented on Nov 25, 2026

    @joaopaschuino
    Author

    Thanks for the review, @mnriem . To clarify the intended fix:

    This submission should be added as a new catalog entry with extension.id: multirepo at v1.0.0 — the extension was renamed from multi-repo to multirepo in the v1.0.0 release (breaking change; see the v1.0.0 release notes and the 0.x migration guide in the README).

    Please keep the existing multi-repo entry at v0.7.1 untouched so users still on the 0.x line can install/update it. Could you retrigger the workflow? Thanks!

  8. added a commit that references this issue on Nov 25, 2026
    c7151f1
  9. github-actions commented on Nov 25, 2026

    @github-actions
    Contributor

    Pull request created: #5574

    Generated by Add Community Extension from Issue Submission · copilot · gpt53codex · 30.9 AIC · ⌖ 0.716 AIC · ⊞ 27.1K

  10. mnriem commented on Nov 25, 2026

    @mnriem
    Collaborator

    Can you please address the feedback at #5574 (review) in regards to the version compatibility? Let me know once you have done that and I will retrigger.

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

    extension-submissiontriage-must-havevalidation-passed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions