Skip to content

Set up projects beside each other, without a backend folder (0.3.20) - #32

Merged
MainSequenceDev merged 1 commit into
mainfrom
claude/project-folders
Nov 21, 2026
Merged

MainSequenceDev merged 1 commit into
mainfrom
claude/project-folders

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

"Set up locally" on an organization project put its workspace one level deeper than needed, in a folder named after a hash of the backend address. This removes that level.

Layout of a repositories folder

<base>/<organization>/
  projects/<repository>-<uid>/                       one checkout per repository (unchanged)
  organization-projects/<project>-<uid>/             one container per project set up locally
    <Project Name>/                                   the folder opened: AGENTS.md or CLAUDE.md
    repositories/<repository>-<uid>/<branch>-<uid>/   the project's branch checkouts

Before: organization-projects/63767aa5615dabad/<project>-<uid>/…. The UID in each name already keeps projects of different backends apart.

Existing workspaces

  • The next setup of a project still in a hash folder moves its container up, rewrites the paths both manifests record, and removes the emptied hash folder (anything else in it stays).
  • The checkouts are standalone clones (--reference-if-able --dissociate), so Git is unaffected; a chat or terminal open in the old folder must reopen the new one.
  • Two hashed copies of one project are refused, not guessed between.

Tests

  • New: the container lands at <org>/organization-projects/<project>-<uid> with repositories still in projects/; an older hashed workspace moves up once, keeping checkouts, edits and instructions, with no re-clone, and reads back with readOrganizationProjectWorkspace.
  • mcp-catalog … now gives its local MCP 5 s per request instead of the fixture's 0.3 s. It isn't a timeout test, and with two more project setups running in parallel test files it ran out of time locally. The 0.3 s timeout test is unchanged.
  • tests/organization-projects.test.cjs 11/11 and tests/project-tools.test.cjs 19/19 on their own; typecheck, check-docs and check-release pass. The full suite couldn't be judged locally (load average 17 from other sessions), so CI is the full run.

🤖 Generated with Claude Code

A project's "Set up locally" container was one level deeper than needed:
<base>/<org>/organization-projects/<16-hex backend hash>/<project>-<uid>. The UID in the
name already keeps projects of different backends apart, so it is now
<base>/<org>/organization-projects/<project>-<uid>, beside the organization's other
projects. The next setup of a project still in a hash folder moves its container up,
rewrites the paths its manifests record and removes the emptied hash folder; its
checkouts are standalone clones, so Git is unaffected. Two hashed copies of one project
are refused rather than guessed between. Repositories stay in <base>/<org>/projects/.

The mcp-catalog test gives its local MCP a 5 s request budget instead of the fixture's
0.3 s: it is not a timeout test, and parallel test files (now including two more project
setups) starved it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MainSequenceDev
MainSequenceDev merged commit 4b3be0c into main Nov 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant