Skip to content

chore: harden .gitignore + stop tracking build/runtime artifacts#16

Open
jjohare wants to merge 1 commit into
mainfrom
chore/gitignore-hardening
Open

chore: harden .gitignore + stop tracking build/runtime artifacts#16
jjohare wants to merge 1 commit into
mainfrom
chore/gitignore-hardening

Conversation

@jjohare

@jjohare jjohare commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

What

Hardens .gitignore and untracks build/runtime artifacts that were committed before the ignore rules existed.

  • Recursive ignore variants**/.venv, **/node_modules, **/target, **/__pycache__, **/.claude-flow, **/test-results (current rules are top-level only).
  • Untrack committed cruft.venv/ (~135 MB Python venv), client/public/models/, client/**/.claude-flow/metrics/*.json, data/metadata/metadata.json.
  • Untrack a stray private keyscripts/https-bridge/server.key slipped past the *.key rule.

Why

Stops the repo from re-accumulating multi-hundred-MB artifacts on every checkout/commit.

⚠️ Caveats

  • This prevents future bloat only. It does not shrink existing clones or history — that needs a coordinated git filter-repo.
  • 🔐 server.key remains in git history. Untracking does not remove it. It should be rotated and purged from history separately.

🤖 Generated with claude-flow

- add recursive ignore variants (**/.venv, **/node_modules, **/target,
  **/__pycache__, **/.claude-flow, **/test-results)
- untrack committed artifacts: .venv/ (~135 MB), client/public/models/,
  client/**/.claude-flow/metrics/*.json, data/metadata/metadata.json
- untrack scripts/https-bridge/server.key (private key that slipped past *.key)

NOTE: prevents future bloat only; does not shrink existing clone/history.
SECURITY: server.key remains in git history — it should be rotated and the
history purged separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant