@@ -12,19 +12,26 @@ When generating commit messages, always follow this format:
1212```
1313
1414### Required Scopes
15- - ` frontend ` - For Vue.js frontend application changes
16- - ` backend ` - For Fastify backend API changes
17- - ` satellite ` - For DeployStack satellite application changes
18- - ` shared ` - For shared utilities and common code
19- - ` all ` - For changes affecting multiple services or project-wide changes
20- - ` ci ` - For CI/CD pipeline and workflow changes
15+ - ` frontend ` - For changes ONLY in ` services/frontend/ `
16+ - ` backend ` - For changes ONLY in ` services/backend/ `
17+ - ` satellite ` - For changes ONLY in ` services/satellite/ `
18+ - ` shared ` - For changes ONLY in ` services/shared/ `
19+ - ` all ` - ** USE THIS when changes span multiple services** (e.g., changes in both ` services/backend/ ` AND ` services/satellite/ ` )
20+ - ` ci ` - For CI/CD pipeline and workflow changes ( ` .github/ ` directory)
2121- ` deps ` - For dependency updates
2222
23+ ### Scope Selection Rules
24+ 1 . ** Count the affected service directories** - look at which ` services/* ` folders have changes
25+ 2 . If changes are in ** exactly ONE** service → use that service's scope
26+ 3 . If changes are in ** TWO OR MORE** services → use ` all ` scope
27+ 4 . Root-level config changes affecting all services → use ` all ` scope
28+
2329### Examples of Good Commit Messages
2430- ` feat(frontend): add user authentication flow `
2531- ` fix(backend): resolve database connection pooling issue `
2632- ` feat(satellite): implement MCP server process management `
2733- ` refactor(shared): extract common validation utilities `
34+ - ` chore(all): exclude release commits from changelog ` ← changes in 2+ services (e.g., backend/ + frontend/, or all three)
2835- ` docs(all): update installation and setup instructions `
2936- ` chore(deps): update all dependencies to latest versions `
3037
0 commit comments