Skip to content

Comments

Improve command hooks promise message text#16

Merged
nhorton merged 3 commits intomainfrom
claude/improve-hooks-promise-message-Xy0bl
Jan 14, 2026
Merged

Improve command hooks promise message text#16
nhorton merged 3 commits intomainfrom
claude/improve-hooks-promise-message-Xy0bl

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Jan 13, 2026

Change the promise tag body from generic "addressed" text to a more compelling "✓ Policy Name" format that clearly shows which policy was addressed. This provides better visibility for end users when viewing the LLM's response.

Copy link
Contributor Author

@nhorton nhorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are at it, make the hook that looks for QUALITY_COMPLETE be nicer too. Perhaps. [Checkmark] Quality Criteria Met

@nhorton nhorton force-pushed the claude/improve-hooks-promise-message-Xy0bl branch from 13bfca6 to 24cdb0f Compare January 13, 2026 23:52
Change the promise tag body from generic "addressed" text to a more
compelling "✓ Policy Name" format that clearly shows which policy was
addressed. This provides better visibility for end users when viewing
the LLM's response.
Changes:
- Remove redundant policy= attribute from promise tags
- New format: <promise>✓ Policy Name</promise>
- Extract policy name from tag body after checkmark
- Update QUALITY_COMPLETE to <promise>✓ Quality Criteria Met</promise>
- Update all documentation and tests

This makes the promise format less redundant and more user-friendly
when displayed in LLM responses.
@nhorton nhorton force-pushed the claude/improve-hooks-promise-message-Xy0bl branch from 24cdb0f to 470d1e0 Compare January 14, 2026 15:55
@nhorton nhorton merged commit ab5efaa into main Jan 14, 2026
1 check passed
@nhorton nhorton deleted the claude/improve-hooks-promise-message-Xy0bl branch January 15, 2026 23:59
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