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
_validate_project_name only checked for path separators and '..', so an
empty or whitespace-only name (e.g. `apm install <pkg>` auto-bootstrapping
apm.yml from Path.cwd().name at a container's unset root WORKDIR, or a
blank `apm init` prompt) silently wrote `name: ''` into apm.yml. Every
later install/lock/compile then failed with "Invalid apm.yml identity:
'name' must be a non-empty string" once #2155 tightened
APMPackage.from_apm_yml's identity check.
Reject empty/whitespace names in _validate_project_name, and add
_resolve_bootstrap_project_name() so the install auto-bootstrap path
falls back to "my-project" instead of writing an empty name.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments