---
name: "matrix_history.json and timers.json missing from scaffold .huskies/.gitignore"
---

# Bug 459: matrix_history.json and timers.json missing from scaffold .huskies/.gitignore

## Description

The scaffold's write_story_kit_gitignore function in scaffold.rs does not include matrix_history.json or timers.json in the .huskies/.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 huskies scaffold on a new project. 2. Start the Matrix bot. 3. Observe that matrix_history.json and timers.json are created inside .huskies/ 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 .huskies/.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
