Skip to content

Chore: Treat documentation changes as non-code changes#321

Merged
tninja merged 1 commit intomainfrom
kang_feat
Apr 26, 2026
Merged

Chore: Treat documentation changes as non-code changes#321
tninja merged 1 commit intomainfrom
kang_feat

Conversation

@tninja
Copy link
Copy Markdown
Owner

@tninja tninja commented Apr 26, 2026

Summary

Update the change classifier so documentation-only requests are treated as non-code changes instead of code changes.

The classifier guidance was too broad and could treat generic update-style requests as code work even when the request was only about documentation. That makes the package choose the wrong path for docs-oriented tasks.

This change narrows the prompt so CODE_CHANGE is reserved for program code and test code, and it explicitly calls out documentation and other non-program-code work as non-code. I also added a regression test that covers a documentation-only prompt so the classifier keeps this behavior.

Verification

  • Added ERT regression coverage for a documentation-only classification case in test/test_ai-code.el

@tninja tninja changed the title Treat documentation changes as non-code changes Chore: Treat documentation changes as non-code changes Apr 26, 2026
@tninja tninja merged commit c660173 into main Apr 26, 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.

1 participant