Files
Jordan Ritter 6bab4e37cf Prevent binary artifacts in PRs (#3377)
## Summary

- **`.gitignore`** — add patterns for common binary extensions (`.exe`,
`.dll`, `.so`, `.dylib`, `.o`, `.obj`, `.a`, `.lib`, `.wasm`, `.dSYM/`)
- **CI workflow** (`static_check-binaries.yml`) — runs on all PRs to
`main`, checks for binary file extensions, `build/` directories,
`.dSYM/` directories, and individual files over 1 MB
- **Lefthook pre-commit** (`check-binaries`) — mirrors the CI check
locally, catching binary artifacts, build outputs, and oversized files
at commit time before they reach CI

Prompted by ag-ui PR #29 where ~15 MB of compiled macOS binaries were
accidentally committed. This adds the same protection to CopilotKit.

## Test plan

- [ ] Verify `.gitignore` additions don't affect existing tracked files
- [ ] Confirm the `static / check binaries` workflow runs and passes on
this clean PR
- [ ] Verify lefthook `check-binaries` fires on `git commit` and blocks
binary/oversized files
2026-03-10 16:51:14 -04:00
..