Skip to content

Tidy the public repo: drop stale generated sprites, move proof folders to nori/pr-proofs - #192

Merged
jiro-by-nori[bot] merged 2 commits into
mainfrom
chore/public-repo-hygiene
Nov 1, 2026
Merged

jiro-by-nori[bot] merged 2 commits into
mainfrom
chore/public-repo-hygiene

Conversation

@jiro-by-nori

@jiro-by-nori jiro-by-nori Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

🤖 Generated with Nori

Repository hygiene now that the repo is public. Game code and art inputs are unchanged.

Removed from main Files Why Where it lives now
tools/sprites/.build/ 4,390 Obsolete per-sprite PNG/JSON intermediates (#50-era key names); nothing reads or writes them. Now ignored. Git history
pr-69/, pr-143/ (root) 14 PR review proof nori/pr-proofs → from-main/
screenshots/ (root) 26 Unreferenced UI/art captures; placement-ghosts.spec.ts re-created it on every e2e run same
docs/pr-proofs/, docs/proofs/, docs/art-scale/, docs/audio-evidence/, e2e/evidence/, smoke/evidence/ 26 Unreferenced PR evidence same
tools/art/preview.html 1 Stale: fetches a single /sprites/atlas.png that the paged packer no longer writes Git history

Total: 5,579 → 1,123 tracked files. The archived copies are byte-identical (tree hashes match). History is not rewritten, so the full clone size is unchanged.

Other changes:

  • e2e/support/docs-screenshot.ts: specs that keep committed docs images write to Playwright output by default and only refresh docs/ with UPDATE_SCREENSHOTS=1. Before this, an e2e run modified 6 tracked images and re-created root screenshots/. Only capture locations changed; assertions are untouched.
  • CONTRIBUTING "Where files go" covers source art, generated output, scenario previews, fixtures, docs images and review artifacts. AGENTS/e2e/art docs are aligned with it.
  • AGENTS.md and DECISIONS.md: neutral wording for the workflow-permission note, replacing the internal session-token wording. Four broken doc links are fixed.
  • ESLint ignores .local/, the gitignored scratch directory.

Fixture pages (depth-fixture.html, occlusion-fixture.html), docs/screenshots/**, docs/playtest/assets/**, docs/art/**, source sheets, prompts, generators, LICENSE and README are kept.

Test Plan

  • Fresh clone of this branch, pnpm install --frozen-lockfile then pnpm build with no API keys. public/sprites/ is regenerated: 24,882 files, 68 atlas pages, 8,422 manifest sprites. Its SHA-256 matches a checkout that still had .build. git status is empty afterwards and public/sprites/ is ignored.
  • Production build opened in Chromium (Canvas2D) shows real atlas art: 59 sprite responses, no 4xx. Screenshot
  • pnpm lint, format:check, typecheck pass. pnpm test: 2,715 passed. 3 bench/balance.test.ts cases timed out at 30 s under parallel load and pass when run alone (10/10).
  • Touched e2e specs (placement-ghosts, deferred-ui, p1-ui-fidelity, land-ownership, area-tools): the working tree stays clean after a run, and UPDATE_SCREENSHOTS=1 still refreshes committed images. land-ownership "shows land rights…" already fails on main: tile (13,39) is no longer for sale in Starter Park after Hard scenario remixes: irregular land, shaped terrain, woods and park rules (+ Mossgrove Isle) #190. Not touched here.
  • CI

jiro-by-nori Bot and others added 2 commits November 1, 2026 14:15
…roof folders

- Stop tracking tools/sprites/.build/ (obsolete per-sprite intermediates nothing reads; the
  pipeline writes only to the ignored public/sprites/) and ignore it.
- Move unreferenced PR review captures (pr-69/, pr-143/, screenshots/, docs/pr-proofs/,
  docs/proofs/, docs/art-scale/, docs/audio-evidence/, e2e/evidence/, smoke/evidence/) to the
  nori/pr-proofs branch under from-main/, byte-identical.
- Remove the stale tools/art/preview.html (expects the old single-page atlas).
- E2e specs capture through docsScreenshot: test output by default, committed docs images
  only with UPDATE_SCREENSHOTS=1, so test runs no longer dirty the tree.
- CONTRIBUTING "Where files go"; neutral CI-permission wording; fix four broken doc links.

Co-authored-by: Nori <contact@tilework.tech>
…; lint ignores .local

Co-authored-by: Nori <contact@tilework.tech>
@jiro-by-nori
jiro-by-nori Bot merged commit 87819bb into main Nov 1, 2026
1 check passed
@jiro-by-nori

jiro-by-nori Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Proof: production build from a fresh clone (no .build, no API keys) drawing atlas art in Chromium:

clean-clone starter park

Post-merge on 87819bbc: CI passed, the Pages deploy succeeded, and https://opencoaster.noriagentic.com/sprites/manifest.json lists 8,422 sprites with atlas pages returning 200. Doc review page: docs-review.html.

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.

0 participants