chore: remove root-level cruft and harden .gitignore#680
chore: remove root-level cruft and harden .gitignore#680jeremyeder merged 1 commit intoambient-code:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
Delete 34 tracked files (27,392 lines) of accumulated development artifacts: .cursor/commands/, .specify/, Prompts/, hack/, repomix-analysis/, AMBER_SETUP.md, TESTING_SUMMARY.md, and an empty root package-lock.json. Rewrite .gitignore from scratch as project-specific rules, removing 18 irrelevant framework sections (Django, Flask, Scrapy, Jupyter, etc.) cargo-culted from a generic Python template. Add patterns to prevent re-introduction of removed artifacts. Fix trailing whitespace and missing final newlines in 10 files across frontend, manifests, runner, and docs (auto-fixed by pre-commit hooks). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
be6aba8 to
6a435e8
Compare
Claude Code ReviewSummaryPR #680 is a housekeeping/cleanup change with zero functional code changes. It removes 34 tracked development artifacts (27,392 lines), restructures Issues by Severity🚫 Blocker IssuesNone. 🔴 Critical IssuesNone. No functional code paths are modified. 🟡 Major IssuesNone. 🔵 Minor Issues1. Unanchored Three patterns added to If these are truly root-only artifacts, anchor them with a leading /hack/
/Prompts/
/repomix-analysis/
2. # Build artifacts and logs
*.log
!components/**/*.logThe negation works correctly because 3. The deleted bash scripts ( This is informational — the code deletion itself is correct. Positive Highlights
Recommendations
Verdict: Safe to merge. The PR is a well-scoped cleanup with no functional risk. The minor Review generated by Claude Sonnet 4.6 using project standards from 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
Claude Code ReviewSummaryMaintenance PR removing 34 tracked development artifacts (27,392 lines) that accumulated in the repo, hardening Issues by Severity🚫 Blocker IssuesNone. 🔴 Critical IssuesNone. 🟡 Major Issues1. *.csv # personal data exportsThis will silently ignore any CSV test fixtures, seed data, or documentation added in the future. A developer adding Recommendation: Scope it more tightly, e.g.: # Personal data exports (not fixtures)
*-export.csv
*-report.csvOr add an exception for known fixture paths: *.csv
!e2e/fixtures/**/*.csv2. Both are common directory names that could conflict with legitimate future additions. 🔵 Minor Issues3. *.log
!components/**/*.logThis exception allows any 4. The PR correctly adds these, but the previous 5. Without the leading # Before: matches anywhere
repomix-analysis/
# Better: matches only at repo root
/repomix-analysis/
/Prompts/
/hack/Positive Highlights
Recommendations
Overall this is a solid cleanup PR. The 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
Summary
.gitignoreto prevent re-introductionWhat was removed
.cursor/commands/(7 files).specify/(13 files)Prompts/(3 files)hack/automated-deployer.yamlrepomix-analysis/(3 files, 755KB XML)AMBER_SETUP.mdTESTING_SUMMARY.mdpackage-lock.json.gitignore additions
.specify/— speckit artifactsrepomix-analysis/,Prompts/,hack/— experiment/one-off dirs.venv*glob (replaces exact.venvmatch, covers.venv-langfuseetc.)*.csv— personal data exportsWhitespace fixes
Pre-push hooks auto-fixed trailing whitespace and missing final newlines in 10 files across frontend, manifests, runner, and docs.
Test plan
🤖 Generated with Claude Code