feat: add multi-project workspace support#531
Draft
dataforxyz wants to merge 2 commits intoendorhq:mainfrom
Draft
feat: add multi-project workspace support#531dataforxyz wants to merge 2 commits intoendorhq:mainfrom
dataforxyz wants to merge 2 commits intoendorhq:mainfrom
Conversation
Add an optional `projects` array to rover.json (schema v1.4) so a single task can span multiple sub-projects. When present, the sandbox aggregates all languages/package managers/task managers from all sub-projects and runs per-project init scripts. Existing single-project configs are fully preserved via auto-migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
projectsarray torover.json(schema v1.4) for multi-project workspacescd /workspace/<path>)/workspace/.rover-workspace.jsonfor agent contextCloses #529
Changes
Schema (
packages/schemas):SubProjectSchema,projectsfield onProjectConfigSchema, version bump to 1.4Core (
packages/core): Aggregation getters (allLanguages,allPackageManagers,allTaskManagers,allInitScripts), mutation methods (addProject,removeProject), migration supportCLI (
packages/cli): Setup builder uses aggregated getters, multi-init script entrypoint generation, workspace description generation, Docker/Podman mount updates, image cache hash includes projectsTest plan
pnpm build— all packages compilepnpm test— all 1333 tests pass (20 schema + 888 core + 5 agent + 420 CLI)pnpm format— no formatting issuesrover.jsonwithprojectsarray, verified entrypoint installs all languages and runs per-project init scripts with correctcdcommandsrover.jsonauto-migrates to v1.4 and works identicallyworkspace-description.jsonand.rover-workspace.jsongenerated correctly🤖 Generated with Claude Code