Skip to content

feat(config, analyzer): add configurable analysis engine#24

Merged
andev0x merged 1 commit intomainfrom
optimization/func
Jan 18, 2026
Merged

feat(config, analyzer): add configurable analysis engine#24
andev0x merged 1 commit intomainfrom
optimization/func

Conversation

@andev0x
Copy link
Owner

@andev0x andev0x commented Jan 18, 2026

Introduce a configuration system and enhance the analysis engine to improve commit message inference.

  • Support hierarchical configuration loading (local, global, default).
  • Add gitmit init to generate a project-aware .gitmit.json.
  • Improve analysis engine with:
    • Weighted keyword scoring for commit type detection.
    • Language-aware symbol extraction from diffs.
    • Diff stat–based intent inference.
    • Commit history awareness for scope consistency.
  • Switch to git status --porcelain for reliable file change detection.
  • Update documentation and add configuration reference.

Introduce a configuration system and enhance the analysis engine to improve commit message inference.

- Support hierarchical configuration loading (local, global, default).
- Add ✅ Created config file: .gitmit.json

📝 Detected project type: go

You can now customize the configuration to fit your project's needs.

Configuration hierarchy:
  1. Local (.gitmit.json) - project-specific settings
  2. Global (~/.gitmit.json) - user-wide settings
  3. Default (embedded) - built-in defaults to generate a project-aware .
- Improve analysis engine with:
  - Weighted keyword scoring for commit type detection.
  - Language-aware symbol extraction from diffs.
  - Diff stat–based intent inference.
  - Commit history awareness for scope consistency.
- Switch to M  README.md
A  cmd/init.go
A  docs/CONFIGURATION.md
A  docs/IMPLEMENTATION_SUMMARY.md
M  internal/analyzer/analyzer.go
M  internal/config/config.go
M  internal/history/history.go
M  internal/parser/git.go
M  internal/templater/templates.json
?? .gitmit.json for reliable file change detection.
- Update documentation and add configuration reference.
@andev0x andev0x merged commit 959c686 into main Jan 18, 2026
1 check passed
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.

1 participant