Bump version to 0.3.1 with creation rule support#85
Merged
Conversation
Add changelog entry for `created` rule mode support which allows rules to match only newly created files, not modifications to existing files.
The get_changed_files_prompt() function only looked at staged changes, which meant files committed during an agent response were not detected. Changes: - capture_prompt_work_tree.sh now saves HEAD ref to .last_head_ref - get_changed_files_prompt() compares HEAD against captured ref to detect committed changes in addition to staged/untracked files This fixes rules like uv-lock-sync that use compare_to:prompt not firing when pyproject.toml is committed before the Stop hook runs.
nhorton
pushed a commit
that referenced
this pull request
Jan 21, 2026
The .deepwork version was updated in PR #85 with HEAD ref capture functionality, but the standard_jobs source was not updated. This syncs the newer version which includes: - Capture HEAD commit ref at prompt time - Used by get_changed_files_prompt() to detect committed changes
nhorton
added a commit
that referenced
this pull request
Jan 21, 2026
The .deepwork version was updated in PR #85 with HEAD ref capture functionality, but the standard_jobs source was not updated. This syncs the newer version which includes: - Capture HEAD commit ref at prompt time - Used by get_changed_files_prompt() to detect committed changes Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add changelog entry for
createdrule mode support which allows rules to match only newly created files, not modifications to existing files.