feat: Make snapshot functionality project-aware#45
Merged
Conversation
This commit refactors the snapshot functionality to be project-aware. Snapshots are now stored in project-specific subdirectories under `.codesage/snapshots/`. The following commands have been updated to support project-specific snapshots: - `snapshot` - `diff` - `governance-plan` - `llm-suggest` - `jules-prompt` These commands now require a `--project` option to specify the project context. The `snapshot create` command can also override the project name with an optional `--project` flag. The `history-*` commands were investigated and found to be using a separate, legacy snapshot system that is already project-aware. Therefore, they were not modified. Additionally, the repository has been cleaned up by removing temporary test files and adding them to the `.gitignore` file. Test fixtures have been moved to the `tests/fixtures` directory.
CodeSnapAI Scan ResultsFound 22 high severity issues.
...and 12 more. |
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.
This commit refactors the snapshot functionality to be project-aware. Snapshots are now stored in project-specific subdirectories under
.codesage/snapshots/.The following commands have been updated to support project-specific snapshots:
snapshotdiffgovernance-planllm-suggestjules-promptThese commands now require a
--projectoption to specify the project context. Thesnapshot createcommand can also override the project name with an optional--projectflag.The
history-*commands were investigated and found to be using a separate, legacy snapshot system that is already project-aware. Therefore, they were not modified.Additionally, the repository has been cleaned up by removing temporary test files and adding them to the
.gitignorefile. Test fixtures have been moved to thetests/fixturesdirectory.