jacob-ai-bot / jacob

Just Another Coding Bot
https://jacb.ai
Apache License 2.0
131 stars 20 forks source link

Enhance Branch Name Generation with Descriptive LLM-Generated Names #354

Closed kleneway closed 6 days ago

kleneway commented 6 days ago

Background

Currently, the application generates branch names using only random strings, which makes it difficult to identify the purpose or content of branches at a glance. This affects developer workflow and repository organization by requiring developers to look up additional context about what each branch contains.

Current Implementation

The current implementation uses a simple random string generator for branch names, which provides uniqueness but lacks meaningful context about the branch's purpose or contents.

Proposed Enhancement

Implement a more descriptive branch naming system that:

  1. Uses a lightweight LLM (like gpt-4o-mini) to generate human-readable, contextual branch names
  2. Ensures uniqueness by appending a random 5-digit string
  3. Uses dashes (-) as separators
  4. Excludes special characters other than dashes
  5. Creates branch names that are both meaningful and git-compatible

Requirements

Example Format

[descriptive-name]-[random-5-digits]

Expected Outcome

Branch names will be more intuitive and descriptive while maintaining uniqueness, making it easier for developers to identify branch purposes without checking additional documentation or context. The names will continue to be automatically generated but will now provide meaningful context about their purpose. @jacob-ai-bot --skip-build @jacob-ai-bot --skip-build

jacob-ai-bot[bot] commented 6 days ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

I'll continue to comment on this issue with status as I make progress.

jacob-ai-bot[bot] commented 6 days ago

Update

I've completed my work on this issue and have created a pull request: JACoB PR for Issue Enhance Branch Name Generation with Descriptive LLM-Generated Names.

Please review my changes there.

jacob-ai-bot[bot] commented 6 days ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

I'll continue to comment on this issue with status as I make progress.

jacob-ai-bot[bot] commented 6 days ago

Update

I've completed my work on this issue and have created a pull request: JACoB PR for Issue Enhance Branch Name Generation with Descriptive LLM-Generated Names.

Please review my changes there.