spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

[Feature Request] Multi-Repository Orchestration for Federated Specs

Open kanfil opened this issue 9 months ago • 4 comments

Summary

Add support for cross-repository spec federation to enable enterprise-scale Spec-Driven Development across microservices/multi-repo architectures.

Problem

The InfoQ article "Enterprise Spec-Driven Development" emphasizes that large organizations need to coordinate specs across multiple repositories. Currently, spec-kit operates at single-repo level.

Proposal

1. Cross-Repo Spec Federation

  • Add meta-spec format that references specs in multiple repositories
  • Add command to generate federated spec overview
  • Track cross-repo dependencies

2. Parent-Child Issue Decomposition

  • When creating a feature that spans multiple repos, generate sub-issues in each target repo
  • Link parent issue to child issues automatically

3. Cross-Repo Feature Template

  • Add template for multi-repo features
  • Define which components live in which repositories

Priority

High - Critical for enterprise scale

kanfil avatar Feb 25 '26 22:02 kanfil

This is a completed issue? What was the solution?

jrestall avatar May 08 '26 13:05 jrestall

@jrestall The original filer closed it. Note if you want to use Spec Kit in a multi repository fashion and you are using VSCode you could use the workspaces feature where you have the repository you are working on mounted alongside the repository you use to store your specs

mnriem avatar May 11 '26 13:05 mnriem

@mnriem where do you keep .specify/memory/constitution.md on that setup?

@jrestall The original filer closed it. Note if you want to use Spec Kit in a multi repository fashion and you are using VSCode you could use the workspaces feature where you have the repository you are working on mounted alongside the repository you use to store your specs

kanfil avatar May 13 '26 17:05 kanfil

You would keep the constitution and the specs in one module and would add the module you are targeting alongside in VSCode. If that does not fit your working model I would recommend creating a preset that contains your constitution template that you can then add using specify preset add

mnriem avatar May 13 '26 18:05 mnriem