Skip to content

fix(ce-polish-beta): support Bash 3.2 project detection#755

Merged
tmchow merged 1 commit intoEveryInc:mainfrom
hnshah:fix/ce-polish-beta-bash32-monorepo-detection
May 3, 2026
Merged

fix(ce-polish-beta): support Bash 3.2 project detection#755
tmchow merged 1 commit intoEveryInc:mainfrom
hnshah:fix/ce-polish-beta-bash32-monorepo-detection

Conversation

@hnshah
Copy link
Copy Markdown
Contributor

@hnshah hnshah commented May 2, 2026

Summary

  • Replace Bash associative-array state in detect-project-type.sh with portable newline-delimited state
  • Preserve deduping, sorted multiple: output, and single-hit monorepo detection
  • Keeps project detection working on macOS's default Bash 3.2

Context

This came out of dogfooding the full repo test suite while validating #754. The existing monorepo detection behavior was covered by tests, but the implementation used Bash 4 associative arrays and failed under macOS Bash 3.2.

Test plan

  • bash -n plugins/compound-engineering/skills/ce-polish-beta/scripts/detect-project-type.sh
  • bun test tests/skills/ce-polish-beta-project-type.test.ts
  • bun run release:validate
  • git diff --check

@tmchow tmchow merged commit caf5e12 into EveryInc:main May 3, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants