chore: ignore generated data directories in scaffolds - #4610
Conversation
There was a problem hiding this comment.
Builder reviewed your changes — looks good ✅
Review Details
Code Review Summary
PR #4610 broadens the repository and scaffold .gitignore rules from only selected runtime paths to every data/ directory, updates the first-party template sources consistently, and removes the stale tracked PGlite lock file. The approach is sound: the **/data/ pattern covers both root-level and nested generated runtime directories, while the existing runtime-specific entries remain harmless and preserve documentation of expected data contents. Independent reviews also confirmed that PGlite locking remains runtime-managed and that no other tracked data/ artifacts are left behind.
This is a low-risk repository/scaffold configuration change. No confirmed bugs, data-loss risks, crashes, or security issues were found. The source coverage and ignore semantics match the stated goal.
🧪 Browser testing: Skipped — PR only modifies backend/config/docs, no UI impact
|
Here's a visual recap of what changed: Open the full interactive recap |

Summary
data/directory in the framework checkout_gitignoresourcesValidation
git diff --check_gitignorefilesgit check-ignore --no-indexfor root, nested, and generated-template data pathsThe generated data directories are local runtime state and must not enter generated Agent-Native repos.