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
The native manifest discovery path accepts .wesley/config.json, but scripts/clean.mjs recursively removes .wesley. Running pnpm clean can therefore delete a supported authored project manifest, especially when the file is untracked or ignored.
Evidence
crates/wesley-cli/src/main.rs: discover_manifest_path includes .wesley/config.json.
scripts/clean.mjs: the exact cleanup directory list includes .wesley and removes it recursively with force.
Problem
The native manifest discovery path accepts
.wesley/config.json, butscripts/clean.mjsrecursively removes.wesley. Runningpnpm cleancan therefore delete a supported authored project manifest, especially when the file is untracked or ignored.Evidence
crates/wesley-cli/src/main.rs:discover_manifest_pathincludes.wesley/config.json.scripts/clean.mjs: the exact cleanup directory list includes.wesleyand removes it recursively with force.docs/topics/artifacts-and-cache.md: slice docs(5/10): consolidate extension and target contracts #747 now discloses the hazard and protects the cross-source fact with an xtask regression.Acceptance
pnpm cleanpreserves an authored.wesley/config.json, or fails closed with an actionable diagnostic before deletion.pnpm run preflightpasses.Refs #747.