Skip to content

chore: gitignore fixes, untrack build artifacts, drop dead scripts - #776

Merged
thinkclay merged 2 commits into
mainfrom
claude/repo-hygiene
Sep 15, 2026
Merged

thinkclay merged 2 commits into
mainfrom
claude/repo-hygiene

Conversation

@thinkclay

@thinkclay thinkclay commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

What

Follows the docs housekeeping PR (#775, merged).

  • .gitignore: the blanket /plans/ line shadowed the !/plans/prds/ exception (confirmed with git check-ignore -v), so PRDs under plans/prds/ could never be committed. Removed it and the duplicated .env / contracts lines. Added .deno/, **/metro-cache/, infra/aws/dist/, *.bak.
  • Untracked build artifacts: packages/supabase/functions/api/deno.json.bak (a pre-CI: "Lint REST API Code" (deno lint) fails immediately — no root deno.json, package.json missing "version" #399 copy) and the two Lambda zips in infra/aws/dist/, which are build output of infra/aws/lambda/*/index.mjs. Nothing in the repo referenced either.
  • Dead scripts deleted: the Linear ticket filer, the Three routers are built on tables that were never created #658 repro scripts, the 2026-06-10 audit result markdown, and the S3/CloudFront-era deploy-storybook-aws.sh, fix-cloudfront-spa-routing.sh, setup-dev-domain.sh plus their storybook:deploy* package scripts (web ships only from EAS Hosting).
  • scripts/audit/ui-sweep.mjs resolved the repo root one level short (resolve(__dirname, '..') from scripts/audit/ is scripts/), so its default output landed in scripts/screenshots/ui-audit/ rather than the screenshots/ui-audit/ its header names. Fixed to '..', '..'; both paths were gitignored so nothing had leaked.
  • scripts/README.md gains a "Manual tools" table for the eight hand-run scripts that are not wired into package.json.

Verification

  • git check-ignore -v plans/prds/x.md now returns nothing; .deno/x, apps/scaffald/metro-cache/x, infra/aws/dist/x.zip are ignored.
  • grep -rn storybook:deploy\|deploy-storybook-aws\|deno.json.bak\|lambda-email.zip across the repo → no remaining references.
  • Pre-commit lint/typecheck and pnpm prepush pass.

🤖 Generated with Claude Code

@thinkclay
thinkclay deleted the branch main September 15, 2026 20:41
@thinkclay thinkclay closed this Sep 15, 2026
thinkclay and others added 2 commits September 15, 2026 16:41
- .gitignore: the blanket `/plans/` line shadowed the `!/plans/prds/`
  exception (confirmed with check-ignore); removed it along with the
  duplicated `.env` and contracts lines. Added `.deno/`, `**/metro-cache/`,
  `infra/aws/dist/`, `*.bak`.
- Untracked `packages/supabase/functions/api/deno.json.bak` (a pre-#399
  copy) and the two Lambda zips under `infra/aws/dist/`, which are build
  output of `infra/aws/lambda/*/index.mjs`; nothing referenced them.
- Deleted the Linear ticket filer, the #658 repro scripts, the 2026-06-10
  audit result markdown (findings live in Issues), and the S3/CloudFront-era
  `deploy-storybook-aws.sh`, `fix-cloudfront-spa-routing.sh`,
  `setup-dev-domain.sh` plus their `storybook:deploy*` package scripts. Web
  ships only from EAS Hosting.
- scripts/README.md now lists the eight hand-run tools that are not wired
  into package.json.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…under scripts/

REPO_ROOT was resolve(__dirname, '..') from scripts/audit/, i.e. scripts/.
The default output therefore landed in scripts/screenshots/ui-audit/ rather
than the screenshots/ui-audit/ the header (and #775's docs) name. Both are
gitignored, so nothing leaked; the path was just wrong.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@thinkclay thinkclay reopened this Sep 15, 2026
@thinkclay
thinkclay changed the base branch from claude/repo-housekeeping-cleanup-1dd103 to main September 15, 2026 20:43
@github-actions

Copy link
Copy Markdown
Contributor

📊 Performance Benchmark Results


@thinkclay
thinkclay merged commit d2b275c into main Sep 15, 2026
14 checks passed
@thinkclay
thinkclay deleted the claude/repo-hygiene branch September 15, 2026 20:54
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