huskies: merge 587_bug_pipeline_db_not_in_default_gitignore_novice_users_will_commit_it

This commit is contained in:
dave
2026-04-15 19:42:53 +00:00
parent 871a18f821
commit 79ee19ca5b
+5
View File
@@ -298,6 +298,8 @@ fn write_story_kit_gitignore(root: &Path) -> Result<(), String> {
"token_usage.jsonl",
"wizard_state.json",
"store.json",
"pipeline.db",
"*.db",
];
let gitignore_path = root.join(".huskies").join(".gitignore");
@@ -744,6 +746,9 @@ mod tests {
assert!(!root_content.contains(".huskies/coverage/"));
// store.json must be in .huskies/.gitignore instead
assert!(sk_content.contains("store.json"));
// Database files must be ignored so novice users don't accidentally commit them
assert!(sk_content.contains("pipeline.db"));
assert!(sk_content.contains("*.db"));
}
#[test]