From 924901da434e5d0d767c2946808fa6059ab1c9cc Mon Sep 17 00:00:00 2001 From: Greg Robinson Date: Mon, 16 Nov 2026 22:13:50 -0500 Subject: [PATCH] chore: harden .gitignore Add ignore rules for secrets, build/debug outputs, Go workspace files, logs, editor swap files and AI tooling folders. Additions only. - secrets: *.env, *id_rsa*, *id_ed25519*, *id_ecdsa*, *_rsa, *_ed25519, *_ecdsa, *.p12, *.pfx, *.ppk - build/debug: /cmd/myf5/myf5, /cmd/myf5/myf5.exe, __debug_bin* - coverage/profiling: *.coverprofile, *.prof, *.pprof - Go workspace: go.work, go.work.sum, /vendor/ - logs/editor: *.log, *.swp, *.swo, *~ - restore .devcontainer/ (added in #32, dropped by the v1.1.0 merge #33) - AI tooling: .agents/, .agent/, _agents/, _agent/ --- .gitignore | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.gitignore b/.gitignore index fc718ff..88bb0d5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ dist/ release-binaries/ /myf5 /myf5.exe +/cmd/myf5/myf5 +/cmd/myf5/myf5.exe +__debug_bin* *.bundle sbom.json *.sbom.json @@ -39,6 +42,17 @@ checksums.txt coverage.out coverage.txt coverage.html +*.coverprofile +*.prof +*.pprof + +# Go workspace and vendoring +go.work +go.work.sum +/vendor/ + +# Logs +*.log # Credentials and secrets .env @@ -50,6 +64,16 @@ coverage.html id_ed25519* id_rsa* id_ecdsa* +*id_rsa* +*id_ed25519* +*id_ecdsa* +*_rsa +*_ed25519 +*_ecdsa +*.p12 +*.pfx +*.ppk +*.env .f5api_credentials *.f5api_credentials* *f5api_credentials* @@ -62,6 +86,10 @@ id_ecdsa* .DS_Store .idea/ .vscode/ +.devcontainer/ +*.swp +*.swo +*~ scratch/ # Local scratch documentation & OpenAPI specifications @@ -76,6 +104,10 @@ docs/*.pptx # AI assistant workspaces, handoff context, and tool configuration. # Never commit AI tooling or generated context to this repository. agents/ +.agents/ +.agent/ +_agents/ +_agent/ .claude/ .claude* .cursor/