You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7c44794
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(projects): move CreateRequest to types.ts and keep the create parts' constants private
Follow-up to the ProjectCreator split, from the review of it:
- ProjectSource and EnvironmentBuilder imported the CreateRequest type
from project.create.ts, which imports both of them, so the
orchestrator and its collaborators depended on each other. Type-only
today, but one value import away from a real load-order cycle.
CreateRequest now lives in projects/types.ts with the other request
shapes, and only the command and the tests import project.create.ts.
- The split carried export along with six constants that nothing
outside their own file uses - NO_DEPLOYMENT_STATUS and
FIRST_LOOKUP_ATTEMPTS in project.follow.ts, GIT_NAMESPACE_PAGE_SIZE in
project.source.ts, DEFAULT_ENVIRONMENT_NAME,
DUPLICATE_PROJECT_NAME_CODE and PROJECT_RENAME_ATTEMPTS in
project.create.ts - which made each collaborator look like it offered
more than its one class. They are module-private.
- AGENTS.md said ProjectCreator applies the --server-cmd framework check
once the framework is known; EnvironmentBuilder does.
No behaviour change; ProjectCreator keeps its timing field, which the
command test reads to check the real clock is passed through.
#claude_code#
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments