Frontmatter
| id | 7641 |
| title | Refactor: Improve `createComment` with icon map and better formatting |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Oct 25, 2025, 11:50 AM |
| updatedAt | Oct 25, 2025, 12:10 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7641 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 25, 2025, 12:10 PM |
Based on a code review, the
createCommenttool will be refactored to improve maintainability and the visual format of the final comment.Changes:
AGENT_ICONSconstant will be introduced to replace theif/elselogic, making it easier to add new agents. A default icon will be included.---) will be added after the comment header for better visual separation.createCommentmethod will be updated to be more explicit about the responsibilities of the agent vs. the tool.