Skip to content

Commit be005a4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f799392 commit be005a4

18 files changed

+7619
-7605
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ scripts/ci/gcp-creds.json
5151
.tox/
5252
htmlcov/
5353
run.sh
54-
stdout.txt
54+
stdout.txt

.specstory/.what-is-this.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# SpecStory Artifacts Directory
2-
2+
33
This directory is automatically created and maintained by the SpecStory extension to preserve your AI chat history.
4-
4+
55
## What's Here?
6-
6+
77
- `.specstory/history`: Contains auto-saved markdown files of your AI coding sessions
88
- Each file represents a separate AI chat session
99
- If you enable auto-save, files are automatically updated as you work
@@ -18,16 +18,16 @@ This directory is automatically created and maintained by the SpecStory extensio
1818
- Add `/history` to exclude the auto-saved chat history from version control
1919

2020
## Valuable Uses
21-
21+
2222
- Capture: Keep your context window up-to-date when starting new Chat/Composer sessions via @ references
23-
- Search: For previous prompts and code snippets
23+
- Search: For previous prompts and code snippets
2424
- Learn: Meta-analyze your patterns and learn from your past experiences
2525
- Derive: Keep the AI on course with your past decisions by automatically deriving rules from your AI interactions
26-
26+
2727
## Version Control
28-
28+
2929
We recommend keeping this directory under version control to maintain a history of your AI interactions. However, if you prefer not to version these files, you can exclude them by adding this to your `.gitignore`:
30-
30+
3131
```
3232
.specstory/**
3333
```
@@ -39,31 +39,31 @@ We recommend __not__ keeping the `.specstory/ai_rules_backups` directory under v
3939
```
4040

4141
## Searching Your Codebase
42-
42+
4343
When searching your codebase, search results may include your previous AI coding interactions. To focus solely on your actual code files, you can exclude the AI interaction history from search results.
44-
44+
4545
To exclude AI interaction history:
46-
46+
4747
1. Open the "Find in Files" search in Cursor or VSCode (Cmd/Ctrl + Shift + F)
4848
2. Navigate to the "files to exclude" section
4949
3. Add the following pattern:
50-
50+
5151
```
5252
.specstory/*
5353
```
54-
54+
5555
This will ensure your searches only return results from your working codebase files.
5656

5757
## Notes
5858

5959
- Auto-save only works when Cursor or VSCode flushes sqlite database data to disk. This results in a small delay after the AI response is complete before SpecStory can save the history.
6060

6161
## Settings
62-
62+
6363
You can control auto-saving behavior in Cursor or VSCode:
64-
64+
6565
1. Open Cursor/Code → Settings → VS Code Settings (Cmd/Ctrl + ,)
6666
2. Search for "SpecStory"
6767
3. Find "Auto Save" setting to enable/disable
68-
69-
Auto-save occurs when changes are detected in the sqlite database, or every 2 minutes as a safety net.
68+
69+
Auto-save occurs when changes are detected in the sqlite database, or every 2 minutes as a safety net.

0 commit comments

Comments
 (0)