design: org filesystem layout#3350
Open
tlgimenes wants to merge 3 commits into
Open
Conversation
Proposes a unified git-backed filesystem per org where agents and humans can navigate, store, and generate artifacts. Defines well-known paths (AGENTS.md, memory.json, skills/, artifacts/, automations/, connections/) and the two-mode agent folder convention (plain vs github/worktree). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces a top-level split between org workspaces (/orgs/<org-id>/) and personal user workspaces (/users/<user-id>/). Both share the same internal layout — user space is a flat mirror of the org layout without the org nesting. Paths in the well-known table are now relative to the workspace root so they apply to both contexts equally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
For agents without a github property, the only writable location inside the agent folder is artifacts/. All other paths (AGENTS.md, memory.json, skills/, automations/) are read-only at runtime — changes must go through humans via the UI or directly in the repo. GitHub agents retain full write access within their worktree branch. Co-Authored-By: Claude Sonnet 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
RFC for a unified, git-backed filesystem per organization in Studio.
main= shared/published layer)AGENTS.md,skills/,artifacts/,connections//agents/<slug>/with its ownAGENTS.md(frontmatter carries name, description, icon, mcps),memory.json,skills/,artifacts/, andautomations/github:frontmatter property:/agents/<slug>//agents/<slug>/<branch>//connections/<slug>/mcp.json(public metadata only, no secrets)mainSee
design/org-filesystem-layout.mdfor the full spec.Open questions for discussion
memory.jsonhave a prescribed schema or be fully freeform?automations/have a prescribed file format (e.g. one.jsonper automation)?🤖 Generated with Claude Code
Summary by cubic
Introduces an RFC for a unified, git-backed filesystem for org and user workspaces in Studio. Defines a simple layout and two agent modes to standardize how agents and humans store work and share via PRs.
/orgs/<org-id>/and/users/<user-id>/share the same layout; one git repo per org and per user (mainis the shared/published layer).AGENTS.md,memory.json,skills/,artifacts/,automations/,connections/.agents/<slug>/artifacts/; GitHub agents write within their branch./connections/<slug>/mcp.json(no secrets); sharing = branch commit + PR tomain.Written for commit 3750210. Summary will update on new commits.