feat(org-workspace): add org-workspace feature - #92
Merged
Merged
Conversation
Clones every repo of a GitHub org into sibling /workspaces folders (persisted across rebuilds via a named volume) and generates or merges a multi-root .code-workspace file, so one bootstrap repo can bring in an entire org's worth of repos with a single feature reference instead of hand-written mounts and workspace files per project. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
✅ PR Validation Passed
📋 Pipeline Status
🤖 Generated by @helpers4 CI • 2026-09-08 |
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
org-workspacefeature: clones every repo of a GitHub org into sibling/workspacesfolders (persisted across rebuilds via a${devcontainerId}-scoped named volume, not a host bind-mount) and generates or merges a multi-root.code-workspacefile at the bootstrap repo's own root.orgauto-detects from the bootstrap repo's ownoriginremote viagh repo viewwhen left empty;repos(explicit list) takes precedence overautoDiscover(a comma-separated token list:public/private/internal/fork/archived, or the shorthandtrue/false)..code-workspacegeneration merges into an existing file'sfoldersarray (deduplicated) rather than overwriting it, leavingsettings/extensions/launch/etc. untouched.helpers4-common(forh4_ensure_volume_writable) andgithub-dev(for an authenticatedghCLI) viadependsOn.scopes.json, both CI matrices (pr-validation.yml,test.yml), and theAGENTS.mdfeatures table.Test plan
jq empty src/org-workspace/devcontainer-feature.jsonbash -nclean oninstall.shandtest/org-workspace/test.shdevcontainer features test --features org-workspace --base-image mcr.microsoft.com/devcontainers/base:debian .— image builds, options resolve correctly,install.shruns and installsclone-repos.sh(container launch itself hit an unrelated sandbox-local Docker bind-mount quirk, not exercised by CI)clone-repos.shlogic manually exercised end-to-end against the realhelpers4GitHub org (fresh clone, idempotent re-run, already-present skip,.code-workspacemerge preserving unrelated keys, allautoDiscovertoken combinations, dotfile-named repos like.dev/.github)pr-validation.yml) green🤖 Generated with Claude Code