Problem
Currently, the loop repetition scanner parses commands literally. If Claude runs npm run test followed by pnpm test or npx jest, the system may treat them as separate commands and fail to trigger loop repetitions.
Suggestion
Normalize common executor prefixes (e.g., removing npm run, pnpm, yarn, bun run, and npx) inside stuck-core.mjs before matching command histories.
Problem
Currently, the loop repetition scanner parses commands literally. If Claude runs
npm run testfollowed bypnpm testornpx jest, the system may treat them as separate commands and fail to trigger loop repetitions.Suggestion
Normalize common executor prefixes (e.g., removing
npm run,pnpm,yarn,bun run, andnpx) insidestuck-core.mjsbefore matching command histories.