Tool · Code & architecture / Data & provenance
Safe Gitignore Builder
Review individual files and generate ignore rules that keep unreviewed additions excluded.
Repository: CinvanaAI/safe-gitignore-builder
Recorded synthetic example. Source with a complete offline example.
See the idea in action.
A default-deny candidate that opens src/tool.py, keeps src/notes.txt ignored, and leaves all target bytes unchanged.
A synthetic target with README.md, src/tool.py, and unreviewed src/notes.txt.
{
"initial_rules": "# Ignore everything by default\n/*\n\n",
"reviewed_rules": "# Ignore everything by default\n/*\n\n!/src/\n/src/*\n!/src/tool.py\n",
"review_survives_rescan": true,
"target_unchanged": true
}Try the example.
From the repository root, follow the dependency requirements in the README. This example uses supplied synthetic material.
python -m pip install -e . python -m examples.walkthrough
A default-deny candidate that opens src/tool.py, keeps src/notes.txt ignored, and leaves all target bytes unchanged.
Complete setup and instructions ↗The interesting part.
Approved descendants open only their ancestors, then unreviewed siblings are explicitly re-ignored; the target remains unchanged.
Where it came from.
A Workbench publication-safety tool for explicitly reviewed paths.
Keeps the combined tree/review/compiler workflow, packages a command, and excludes generated project reports.
The generic Workbench origin does not identify a specific published parent.