Skip to content

Automated Security & Sensitive Data Cleanup #109

@irishmikeflaherty-collab

Description

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions