Skip to content

Add phase-2 feature grouping algorithm (#133)#148

Merged
Dimwiddle merged 1 commit intofeature/discovery-layerfrom
codex/133-feature-grouping-algorithm
Mar 7, 2026
Merged

Add phase-2 feature grouping algorithm (#133)#148
Dimwiddle merged 1 commit intofeature/discovery-layerfrom
codex/133-feature-grouping-algorithm

Conversation

@Dimwiddle
Copy link
Contributor

Description

Implement deterministic Phase 2 discovery grouping for DiscoveredItem inputs.

This adds:

  • ordered grouping heuristics (file-path proximity, API route prefix, name-prefix fallback)
  • git-commit cross-reference assignment via GitCommitMeta.file_prefixes
  • DraftFeature/DraftScenario construction with abbreviation expansion and confidence scoring
  • acceptance-focused unit coverage for grouping behavior
  • feature spec updates documenting grouping scenarios and criteria

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation-only

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Testing

  • make lint-fix -- passing
  • make lint -- passing
  • make test -- passing (503 tests)
  • make pre-commit -- passing

Related Issues

Closes #133

@Dimwiddle Dimwiddle merged commit d95391e into feature/discovery-layer Mar 7, 2026
1 check passed
@Dimwiddle Dimwiddle linked an issue Mar 7, 2026 that may be closed by this pull request
8 tasks
@Dimwiddle Dimwiddle deleted the codex/133-feature-grouping-algorithm branch March 11, 2026 20:27
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.

Discovery Phase 2: feature grouping algorithm

1 participant