First PR in the 11-PR sequence to finish the explorer (see explorer-monorepo-completion-prompt.md). This one is pure repo hygiene — no behaviour change.
Changes
Remove three committed Go binaries (~54 MB total):
backend/bin/api-server
backend/cmd (a binary despite the path looking like a directory)
backend/api/rest/cmd/api-server
Remove scratch / build output directories that were committed:
out/ (Foundry build artifacts)
cache/ (Solidity cache)
test-results/ (Playwright)
Extend .gitignore so these paths — plus playwright-report/, .playwright/, and coverage/ — don't creep back in.
Why
Committed binaries bloat the repo, make diffs noisy, and hide what a build actually produces. Scratch dirs leak between contributors' machines and desync with the compiler/tooling versions they were produced on. Both classes belong in .gitignore and should be regenerated per build.
Verification
git diff --stat shows only .gitignore content + three Bin deletions + four small JSON deletions.
No Go source, config, or migration files changed. CI should behave identically (the build still compiles from backend/api/rest/cmd/main.go and backend/indexer/main.go).
Completion criterion advanced
1. Clean repo hygiene — "No binaries, build artifacts, or scratch dirs committed. .gitignore covers …"
Still outstanding in later PRs: secret purge from history, doc consolidation, .gitmodules decision.
## Summary
First PR in the 11-PR sequence to finish the explorer (see `explorer-monorepo-completion-prompt.md`). This one is pure repo hygiene — no behaviour change.
## Changes
- Remove three committed Go binaries (~54 MB total):
- `backend/bin/api-server`
- `backend/cmd` (a binary despite the path looking like a directory)
- `backend/api/rest/cmd/api-server`
- Remove scratch / build output directories that were committed:
- `out/` (Foundry build artifacts)
- `cache/` (Solidity cache)
- `test-results/` (Playwright)
- Extend `.gitignore` so these paths — plus `playwright-report/`, `.playwright/`, and `coverage/` — don't creep back in.
## Why
Committed binaries bloat the repo, make diffs noisy, and hide what a build actually produces. Scratch dirs leak between contributors' machines and desync with the compiler/tooling versions they were produced on. Both classes belong in `.gitignore` and should be regenerated per build.
## Verification
- `git diff --stat` shows only `.gitignore` content + three `Bin` deletions + four small JSON deletions.
- No Go source, config, or migration files changed. CI should behave identically (the build still compiles from `backend/api/rest/cmd/main.go` and `backend/indexer/main.go`).
## Completion criterion advanced
> **1. Clean repo hygiene** — "No binaries, build artifacts, or scratch dirs committed. `.gitignore` covers …"
Still outstanding in later PRs: secret purge from history, doc consolidation, `.gitmodules` decision.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
First PR in the 11-PR sequence to finish the explorer (see
explorer-monorepo-completion-prompt.md). This one is pure repo hygiene — no behaviour change.Changes
backend/bin/api-serverbackend/cmd(a binary despite the path looking like a directory)backend/api/rest/cmd/api-serverout/(Foundry build artifacts)cache/(Solidity cache)test-results/(Playwright).gitignoreso these paths — plusplaywright-report/,.playwright/, andcoverage/— don't creep back in.Why
Committed binaries bloat the repo, make diffs noisy, and hide what a build actually produces. Scratch dirs leak between contributors' machines and desync with the compiler/tooling versions they were produced on. Both classes belong in
.gitignoreand should be regenerated per build.Verification
git diff --statshows only.gitignorecontent + threeBindeletions + four small JSON deletions.backend/api/rest/cmd/main.goandbackend/indexer/main.go).Completion criterion advanced
Still outstanding in later PRs: secret purge from history, doc consolidation,
.gitmodulesdecision.