-
Notifications
You must be signed in to change notification settings - Fork 1
Add resume mode (-r flag) using standard frontmatter filtering #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a354faf
Initial plan
Copilot 061ca55
Add resume mode functionality with -r flag
Copilot 7d7a357
Update documentation for resume mode feature
Copilot 07213fe
Refactor resume mode to use standard frontmatter filtering
Copilot bc114ae
Fix indentation in integration_test.go using gofmt
Copilot 959fb3b
Apply suggestion from @alexec
alexec d577c66
ok
alexec b6276cc
Fix matchesIncludes to handle boolean frontmatter values
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| --- | ||
| task_name: fix-bug | ||
| resume: true | ||
| --- | ||
|
|
||
| # Bug Fix Task - Resume | ||
|
|
||
| You are continuing work on a bug fix from a previous session. | ||
|
|
||
| ## Context | ||
|
|
||
| You've already been provided with the coding standards and project guidelines. | ||
| Continue from where you left off. | ||
|
|
||
| ## Issue Information | ||
|
|
||
| - **Issue Number**: #${issue_number} | ||
| - **Title**: ${issue_title} | ||
| - **URL**: ${issue_url} | ||
|
|
||
| ## Your Task | ||
|
|
||
| Review your previous work and: | ||
|
|
||
| 1. **Complete Implementation** | ||
| - Finish any incomplete code changes | ||
| - Address any edge cases identified | ||
| - Ensure consistency with existing patterns | ||
|
|
||
| 2. **Finalize Tests** | ||
| - Complete test coverage | ||
| - Verify all tests pass | ||
| - Add any missing test cases | ||
|
|
||
| 3. **Code Review Preparation** | ||
| - Review your changes for quality | ||
| - Update documentation as needed | ||
| - Ensure commit messages are clear | ||
|
|
||
| ## Next Steps | ||
|
|
||
| - Complete any outstanding tasks | ||
| - Run all tests one final time | ||
| - Prepare for code review | ||
| - Update the PR description if needed |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| --- | ||
| task_name: fix-bug | ||
| resume: false | ||
| --- | ||
|
|
||
| # Bug Fix Task | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| package main | ||
|
|
||
| type frontMatter map[string]any |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot to exclude from resume, "resume: false".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated documentation and examples to show
resume: falsefor initial tasks. Users can now use-s resume=falseto explicitly select non-resume tasks. See commit 07213fe.