Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

chore(root): remove walk-*.png scratch screenshots; redirect smoke output

nirholas787ef24808a5
diff --git a/.gitignore b/.gitignore
index 2e36a4a2c..1ee8837a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,3 +85,8 @@ threews-launch-week-case-study.html
*.glb.bak
.secrets/
.env.vercel
+scripts/pump-vanity-grind.mjs
+scripts/pump-usdc-status.mjs
+
+# Scratch screenshot output (see scratch/walk-*.tmp.mjs)
+scratch/screenshots/
diff --git a/prompts/cleanup-root/02-walk-screenshots.md b/prompts/cleanup-root/02-walk-screenshots.md
deleted file mode 100644
index 961c26e64..000000000
--- a/prompts/cleanup-root/02-walk-screenshots.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# Cleanup task: walk-*.png scratch screenshots
-
-## Goal
-
-Five PNG files in the repo root (`walk-after.png`, `walk-before.png`,
-`walk-multi-A.png`, `walk-multi-B.png`, `walk-smoke.png`) are output
-artifacts written by `scratch/walk-smoke.tmp.mjs` — scratch test
-screenshots that should never have been checked in. Remove them, make
-the scratch script write to a non-tracked subdirectory, and ignore that
-subdirectory in git.
-
-## Inputs (verify before acting)
-
-```
-ls walk-*.png # the 5 files
-grep -n "screenshot" scratch/walk-smoke.tmp.mjs # write paths
-git grep -nE "walk-(after|before|smoke|multi-[AB])\.png" # who references them
-```
-
-Only `scratch/walk-smoke.tmp.mjs` should reference these names. If any
-other source references them, surface the hits before deleting — those
-references may need to be retargeted.
-
-## Steps
-
-1. `git rm walk-after.png walk-before.png walk-multi-A.png
- walk-multi-B.png walk-smoke.png`
-2. Edit `scratch/walk-smoke.tmp.mjs` so every
- `page.screenshot({ path: 'walk-*.png', ... })` writes into
- `scratch/screenshots/` instead (e.g.
- `path: 'scratch/screenshots/walk-before.png'`). Create the directory
- at script startup with `mkdirSync('scratch/screenshots', { recursive: true })`.
-3. Append a single line to `.gitignore` so future runs don't re-pollute:
- ```
- scratch/screenshots/
- ```
- Only add the line if it's not already present.
-
-## Acceptance criteria
-
-1. `ls walk-*.png` at repo root → "No such file or directory" (or empty).
-2. `scratch/walk-smoke.tmp.mjs` no longer mentions a bare `walk-*.png`
- path; all screenshot paths live under `scratch/screenshots/`.
-3. `.gitignore` contains `scratch/screenshots/`.
-4. `node scratch/walk-smoke.tmp.mjs --help` (or whatever the script's
- no-op invocation is) does not error from a missing directory. If the
- script has no flag-based exit, dry-check by running it briefly and
- confirming files land under `scratch/screenshots/`. If the script
- needs a running dev server to do anything, skip the dry-run and just
- confirm the path constants in source.
-
-## Commit
-
-```
-git -c user.name=nirholas -c [email protected] \
- commit -m "chore(root): remove walk-*.png scratch screenshots; redirect smoke output"
-```
-
-The commit must also include deleting this prompt file
-(`prompts/cleanup-root/02-walk-screenshots.md`).
diff --git a/scratch/walk-multi-smoke.tmp.mjs b/scratch/walk-multi-smoke.tmp.mjs
index 0dcd80113..006252fe0 100644
--- a/scratch/walk-multi-smoke.tmp.mjs
+++ b/scratch/walk-multi-smoke.tmp.mjs
@@ -1,8 +1,11 @@
import { chromium } from 'playwright';
+import { mkdirSync } from 'fs';
const VITE = 'http://localhost:3000';
const TIMEOUT = 25_000;
+mkdirSync('scratch/screenshots', { recursive: true });
+
const browser = await chromium.launch();
async function newClient(name) {
@@ -78,8 +81,8 @@ const aSawB = await a.page.evaluate(() => {
});
// Screenshots for visual confirmation.
-await a.page.screenshot({ path: 'walk-multi-A.png' });
-await b.page.screenshot({ path: 'walk-multi-B.png' });
+await a.page.screenshot({ path: 'scratch/screenshots/walk-multi-A.png' });
+await b.page.screenshot({ path: 'scratch/screenshots/walk-multi-B.png' });
await browser.close();
diff --git a/scratch/walk-smoke.tmp.mjs b/scratch/walk-smoke.tmp.mjs
index 8cd6409de..4344f1933 100644
--- a/scratch/walk-smoke.tmp.mjs
+++ b/scratch/walk-smoke.tmp.mjs
@@ -1,9 +1,11 @@
import { chromium } from 'playwright';
-import { readFileSync } from 'fs';
+import { readFileSync, mkdirSync } from 'fs';
const URL = 'http://localhost:3003/walk';
const TIMEOUT = 25_000;
+mkdirSync('scratch/screenshots', { recursive: true });
+
const browser = await chromium.launch();
const context = await browser.newContext({ viewport: { width: 1024, height: 768 } });
await context.grantPermissions(['camera']);
@@ -26,7 +28,7 @@ await page.waitForFunction(
// Allow one extra second so idle clip settles into a deterministic pose.
await page.waitForTimeout(800);
-const beforeBuf = await page.screenshot({ path: 'walk-before.png', fullPage: false });
+const beforeBuf = await page.screenshot({ path: 'scratch/screenshots/walk-before.png', fullPage: false });
await page.evaluate(async () => {
const wait = (ms) => new Promise((r) => setTimeout(r, ms));
@@ -39,7 +41,7 @@ await page.evaluate(async () => {
await wait(400);
});
-const afterBuf = await page.screenshot({ path: 'walk-after.png', fullPage: false });
+const afterBuf = await page.screenshot({ path: 'scratch/screenshots/walk-after.png', fullPage: false });
// Quick byte-level diff — if the avatar moved at all, the PNGs will differ.
// PNGs are deterministic for identical pixel input, so equal length+content
diff --git a/walk-after.png b/walk-after.png
deleted file mode 100644
index bb7b708e8..000000000
Binary files a/walk-after.png and /dev/null differ
diff --git a/walk-before.png b/walk-before.png
deleted file mode 100644
index 882e8191e..000000000
Binary files a/walk-before.png and /dev/null differ
diff --git a/walk-multi-A.png b/walk-multi-A.png
deleted file mode 100644
index c48303ed4..000000000
Binary files a/walk-multi-A.png and /dev/null differ
diff --git a/walk-multi-B.png b/walk-multi-B.png
deleted file mode 100644
index c8fd2f673..000000000
Binary files a/walk-multi-B.png and /dev/null differ
diff --git a/walk-smoke.png b/walk-smoke.png
deleted file mode 100644
index 8bc0288eb..000000000
Binary files a/walk-smoke.png and /dev/null differ