Clarifying GSD project, repository, worktree, and workspace boundaries #2616
deinspanjer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’m trying to understand the intended GSD model for developers working on
gsd-coreitself, particularly when using ordinary Git worktrees for isolated changes.My current understanding is that a GSD “project” is an initiative: a bounded set of goals, requirements, roadmap phases, and planning state that may involve one or more repositories. In more conventional product-development language, I would often call this an initiative or epic.
That differs from how “project” is commonly used by agent harnesses such as Codex and Claude Code. There, a project is primarily the filesystem/configuration context in which the agent operates—usually one repository, but potentially a monorepo or directory containing several repositories.
The distinction becomes difficult in a repository like
gsd-core:.planning/, so a worktree does not automatically carry the GSD planning state associated with another checkout.In the worktree I am using, GSD sees no local
.planning/and resolves planning commands back to the primary checkout’s planning root. That may be a deliberate model, but it is surprising: a command launched from an isolated Git worktree can operate on planning state outside that worktree.This leaves me unsure which of these is the intended workflow:
$gsd-workspace --newwhenever planning state needs isolation as well as source isolation.I am not suggesting that all of these need to be supported equally. The main request is for a clearer conceptual model and a documented decision guide for this common case.
A few things that would make the behavior easier to understand:
.planning/directory.The current behavior may be internally consistent, but the implicit handoff from “this checkout” to “the primary planning checkout” is difficult to predict without reading implementation details.
All reactions