feat(addon): add project backup & custom path feature #123
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.

SpecStory Addon: Custom Path and Project Backup
Purpose
Add an optional backup layer for SpecStory: keep the original
.specstory/history/behavior, and in parallel back up conversations to a custom disk path. When project mode is enabled, backups are organized by project. Optionally, after verifying backups, the addon can delete the local.specstorydirectory on exit (controlled byspecstory.customPath.cleanupOnExit).What’s Included
getspecstory/addon/feature.md(in-repo reference)getspecstory/addon/custom-path-injector.jsgetspecstory/addon/path-override.jsgetspecstory/addon/project-backup.jsThese files are added as an addon. They do not replace or overwrite existing extension files.
Settings
All keys are under the "SpecStory" settings group.
specstory.customPath.enabled(boolean, default: false)specstory.customPath.projectMode(boolean, default: true)history/and a per-project folder.specstory.customPath.location(string, default:D:/SpecStory)specstory.customPath.cleanupOnExit(boolean, default: false).specstorydirectory. Off by default.How It Works (short)
.specstory/history/as before..mdfiles to your custom path.D:/SpecStory/history/filename.mdD:/SpecStory/<ProjectName>/filename.mdINDEX.mdin both places when files exist.Setup
Custom Path: Enabled.Custom Path: Location(e.g.,D:/SpecStory).Custom Path: Project Mode.Verify
.specstory/history/gets a new.md.D:/SpecStory/history/has the new fileD:/SpecStory/<ProjectName>/has the same file[SpecStory Backup] Configuration check: ...[Project Backup] ✓ Saved to history: ...[Project Backup] ✓ Saved to project: ...Notes
.mdfiles are processed.Remove / Rollback
specstory.customPath.enabled = falseand reload window.addon/folder from the installed extension directory and restore the originaldist/extension.jsif you injected startup code.Change Summary
addon/with three scripts and a brief feature note.Version