design: org filesystem layout#3350
Open
tlgimenes wants to merge 6 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>
Single shareable doc covering Studio's vocabulary, primitives, surfaces, the morning vignette, UX principles, the filesystem we are converging toward, and proposed answers to the open roadmap questions. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Makes the doc self-contained for external sharing. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="design/org-filesystem-layout.md">
<violation number="1" location="design/org-filesystem-layout.md:193">
P2: Clarify the writable boundary for GitHub agents; this row is broader than the branch worktree described above.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| | Location | Plain agent | GitHub agent | | ||
| |----------|-------------|--------------| | ||
| | `agents/<slug>/artifacts/` | ✅ writable | ✅ writable | | ||
| | `agents/<slug>/` (all other paths) | ❌ read-only | ✅ writable (lands on the active branch) | |
Contributor
There was a problem hiding this comment.
P2: Clarify the writable boundary for GitHub agents; this row is broader than the branch worktree described above.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At design/org-filesystem-layout.md, line 193:
<comment>Clarify the writable boundary for GitHub agents; this row is broader than the branch worktree described above.</comment>
<file context>
@@ -0,0 +1,266 @@
+| Location | Plain agent | GitHub agent |
+|----------|-------------|--------------|
+| `agents/<slug>/artifacts/` | ✅ writable | ✅ writable |
+| `agents/<slug>/` (all other paths) | ❌ read-only | ✅ writable (lands on the active branch) |
+| Workspace root, `connections/`, `skills/` | ✅ writable | ✅ writable |
+
</file context>
…covery, and private connections - Add "How the Home works" section covering the org pilot, routing heuristics, and the findings/tasks/automations digest - Add "How agents surface" section — specialists surface contextually through output (page bar signals, findings tile, tasks), not through a catalog - Fold Connection primitive into Agent as the integration flavor; private connections (dedicated token slots, agent-scoped) documented under Agent - Update Skills: visible in agent settings, not "mostly invisible to end users" - Add pages browser to storefront agent surface (organized by template type) - Add "Agents surface before you go looking" to UX principles - Update Q2 answer to cover private connection scoping and token slots 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
Adds a shareable product/UX overview and an RFC for a unified, git-backed filesystem for org and user workspaces in Studio. Standardizes layout, agent modes, and PR-based sharing across
/orgsand/users./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.design/design-docs.md: now includes Home pilot routing with a findings/tasks/automations digest, progressive agent discovery through output, private agent-scoped connections with token slots, and a storefront pages browser.Written for commit 3c10d2f. Summary will update on new commits.
Review in cubic