Automate removal and securing of all sensitive and extraneous files in the repo root:
- Delete all
.env, AI_LIVE_ENV_BLUEPRINT.env, AI_ENVIRONMENT_TEMPLATE.env files from the repository (actual files, not templates)
- Move all root-level
.md docs to a private /docs folder (or private Notion/Google Drive)
- Remove
_safe_backup/, /1, /archive from git tracking and repository
- Add
.env* to .gitignore and confirm enforcement (run git status after edit)
- Automate a CI job to flag any new accidental sensitive/backup/docs/obsolete file additions in future PRs/commits
- Document the above tasks in a
SECURITY_CLEANUP.md for transparency
Acceptance Criteria:
- No sensitive/template env files in main branch
- No backup/archive/accidental root folders
- Only
.env.example in repo, with .env* fully ignored
- All documentation files (except README) are in
/docs (and/or moved to private Notion/Drive)
- CI alerts for future violations
Automate with shell scripts and/or directory linting in CI (GitHub Actions recommended).
Automate removal and securing of all sensitive and extraneous files in the repo root:
.env,AI_LIVE_ENV_BLUEPRINT.env,AI_ENVIRONMENT_TEMPLATE.envfiles from the repository (actual files, not templates).mddocs to a private/docsfolder (or private Notion/Google Drive)_safe_backup/,/1,/archivefrom git tracking and repository.env*to.gitignoreand confirm enforcement (run git status after edit)SECURITY_CLEANUP.mdfor transparencyAcceptance Criteria:
.env.examplein repo, with.env*fully ignored/docs(and/or moved to private Notion/Drive)Automate with shell scripts and/or directory linting in CI (GitHub Actions recommended).