storkit: create 459_bug_matrix_history_json_and_timers_json_missing_from_scaffold_storkit_gitignore
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
name: "matrix_history.json and timers.json missing from scaffold .storkit/.gitignore"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Bug 459: matrix_history.json and timers.json missing from scaffold .storkit/.gitignore
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
The scaffold's write_story_kit_gitignore function in scaffold.rs does not include matrix_history.json or timers.json in the .storkit/.gitignore entries. Both files are runtime state that should not be committed to git. matrix_device_id and matrix_store/ are already covered, but matrix_history.json (conversation history) and timers.json (timer store) are missing.
|
||||||
|
|
||||||
|
## How to Reproduce
|
||||||
|
|
||||||
|
1. Run storkit scaffold on a new project. 2. Start the Matrix bot. 3. Observe that matrix_history.json and timers.json are created inside .storkit/ but are not gitignored.
|
||||||
|
|
||||||
|
## Actual Result
|
||||||
|
|
||||||
|
matrix_history.json and timers.json appear as untracked files in git status.
|
||||||
|
|
||||||
|
## Expected Result
|
||||||
|
|
||||||
|
Both files are listed in .storkit/.gitignore and do not appear in git status.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] matrix_history.json added to the entries array in write_story_kit_gitignore in scaffold.rs
|
||||||
|
- [ ] timers.json added to the entries array in write_story_kit_gitignore in scaffold.rs
|
||||||
|
- [ ] scaffold test in scaffold_creates_story_kit_gitignore_with_relative_entries asserts both entries are present
|
||||||
Reference in New Issue
Block a user