feat(02-01): add convention detection functions
- Add detectCase() to identify naming conventions (camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE) - Add detectConventions() to analyze index for patterns - Add DIRECTORY_PURPOSES and SUFFIX_PURPOSES lookup tables - Add MIN_SAMPLES (5) and MIN_MATCH_RATE (0.70) thresholds
This commit is contained in:
@@ -37,11 +37,11 @@ Plans:
|
||||
3. Summary includes directory structure overview and key exports by category
|
||||
4. Conventions are stored in `.planning/intel/conventions.json`
|
||||
5. Summary regenerates when conventions change
|
||||
**Plans**: TBD
|
||||
**Plans:** 2 plans
|
||||
|
||||
Plans:
|
||||
- [ ] 02-01: Convention detection engine
|
||||
- [ ] 02-02: SessionStart injection hook and summary generation
|
||||
- [ ] 02-01-PLAN.md — Convention detection engine
|
||||
- [ ] 02-02-PLAN.md — SessionStart injection hook and summary generation
|
||||
|
||||
### Phase 3: Brownfield & Integration
|
||||
**Goal**: Codebase intelligence works on existing codebases and integrates with GSD workflows
|
||||
@@ -67,5 +67,5 @@ Plans:
|
||||
| Phase | Plans Complete | Status | Completed |
|
||||
|-------|----------------|--------|-----------|
|
||||
| 1. Foundation & Learning | 2/2 | ✓ Complete | 2026-01-20 |
|
||||
| 2. Context Injection | 0/2 | Not started | - |
|
||||
| 2. Context Injection | 0/2 | Planned | - |
|
||||
| 3. Brownfield & Integration | 0/3 | Not started | - |
|
||||
|
||||
Reference in New Issue
Block a user