Skip to content

Add subject+body format with separate description generation#328

Merged
riccardogiorato merged 5 commits intoNutlope:developfrom
carloscn:develop
Mar 17, 2026
Merged

Add subject+body format with separate description generation#328
riccardogiorato merged 5 commits intoNutlope:developfrom
carloscn:develop

Conversation

@carloscn
Copy link
Copy Markdown
Contributor

  • Add subject+body format option: generates a subject line and a separate description body
  • Introduce generateCommitDescription function to produce a concise, bullet-pointed description
  • Truncate large diffs before processing to avoid context limits
  • Update CLI help text, config types, and setup prompts to include the new format
  • Sanitize and wrap description lines to comply with Git conventions

- Add `subject+body` format option: generates a subject line and a
  separate description body
- Introduce `generateCommitDescription` function to produce a concise,
  bullet-pointed description
- Truncate large diffs before processing to avoid context limits
- Update CLI help text, config types, and setup prompts to include the
  new format
- Sanitize and wrap description lines to comply with Git conventions

Signed-off-by: Carlos Wei <[email protected]>
@riccardogiorato
Copy link
Copy Markdown
Collaborator

Do you think you could add tests for this too @carloscn?

- Add tests to verify subject+body commit generation and parsing

Signed-off-by: Carlos Wei <[email protected]>
@carloscn
Copy link
Copy Markdown
Contributor Author

Do you think you could add tests for this too @carloscn?

yes, done

@carloscn carloscn mentioned this pull request Mar 17, 2026
- Add new `subject+body` commit format option to configuration enum
- Register new command `aicommits.generateSubjectBody` to generate
  subject+body format
- Extend `generateCommitMessage` to support `subject+body` type
  alongside existing formats
- Update type annotations to include `subject+body` in all relevant
  function signatures
@riccardogiorato riccardogiorato merged commit 83ed20a into Nutlope:develop Mar 17, 2026
2 checks 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.

2 participants