Skip to content

feat(ui): finish the Lobsterdex at 42 with wild variants, squish fix, and blink variance - #115264

Merged
steipete merged 1 commit into
mainfrom
steipete/lobsterdex-the-answer
Jul 28, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/lobsterdex-the-answer

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Final wave of the Lobsterdex expansion (#114959, #115179). Three problems: the roster had accumulated interchangeable flat-color palettes; catalog sprites could render badly squished (real bug — dex cards measured 90×27 in Chromium); and every sprite blinked and breathed in perfect unison, which reads robotic on a 42-card page.

Why This Change Was Made

Roster remix to a final, fixed 42 (the answer to everything — the dex is complete at this size):

  • Removed 4 color-swatch palettes with no pattern, joke, or genetics story: coral, violet, ink, teal. Stale localStorage entries are harmless — every consumer filters by the live palette table (covered by a new test).
  • Added the picture-book trio: watermelon (Pips), tinfoil (Mulder — foil hat yields to rolled headwear), eclipse (Umbra — gold corona, glow dies offline; Selene's dark sibling).
  • Added five formula-breakers, each wild in a structurally different way: flatpack (Skaldjur — exploded IKEA-style parts diagram with allen key; full geometry swap), loading (Spinner — skeleton-screen placeholder blocks with staggered shimmer; geometry swap), notexture (Magenta — hand-fitted magenta/black missing-texture checkerboard), cryptid (Nessie — blur+sepia render filter with a slow camera sway), chimera (Frankie — a new chimeraParts look field seeds body/claws/antennae from four distinct donor palettes, so no two are alike; canonical quartet on catalog surfaces; stitch marks at the joints).
  • Added actual (Homarus, 0.9): a full field-guide American lobster — segmented abdomen, tail fan, asymmetric crusher/pincer claws, stalk eyes, long antennae — standing dead-serious among the cartoon blobs. "An actual lobster. Unsettling, honestly."

Squish fix (user-reported): dex cards really rendered ~90×27 — the inherited .lobster-pet height calc overrode the box. Catalog surfaces (minis, dex cards, About hero) now use width + aspect-ratio: 120/105 with height: auto. Playwright-measured across all 42 sprites: 0% deviation on minis, ≤4.17% on cards (breathe), ledge build-stretch intentionally preserved. Compound scaleY floor (squat × breathe × peek) eased from 0.69 to ≈0.85.

Blink/breathe variance: canonical looks derive blinkDelayS from a hash of the palette id, and every look emits a negative --lob-breathe-delay phase offset (wired into all multi-animation lists, comma-matched). The page ripples instead of pulsing in lockstep — 24 distinct blink phases measured across the 42 cards.

Efficiency pass: 11 per-palette renderer ternaries collapsed into the PALETTE_OVERLAYS table; one frame-class map (heisenbug/cryptid); palette table split into lobster-pet-palettes.ts and wild geometry into lobster-pet-sprites-wild.ts to stay under the file-size guidance; dead exports removed. Prod grew net +509 lines — that's three complete replacement geometries plus nine illustrated variants; the dispatch surface itself shrank.

User Impact

  • Lobsterdex completes at 42 palettes with a much higher weird-per-card ratio; four dull ones retired (their dex entries silently stop counting; nothing breaks).
  • Squished sprites are fixed everywhere.
  • Cards blink and breathe out of phase.
  • The rarity ladder ends: heisenbug 0.6 → invisible 0.55 → retro 0.5 → goldenretro 0.1 (strictly rarest, tested).

Evidence

  • node scripts/run-vitest.mjs over lobster-pet, variants, dex, lobsterdex page, config browser suites — 122/122
  • node scripts/check-changed.mjs — exit 0 on Blacksmith Testbox (typecheck, lint shards, i18n verification, format guards)
  • Chromium measurements (Playwright): 42/42 cards at correct aspect; before the fix cards measured 90×27 (~190% deviation)
  • New coverage: exact-42 count, goldenretro-strictly-rarest, stale-palette harmlessness, chimera distinctness/stability/canonical parts, geometry-swap smoke tests, blink-delay determinism
  • Visually verified in the mock harness (dark + light)

Screenshots

The wild row — Nessie, Skaldjur, Mulder, and Homarus the actual lobster:

wild row

The finale rows — Frankie, Magenta, Spinner, Umbra, Segfault, Nobody, OG, 24K:

finale

Page top with the remixed commons:

top

@steipete steipete self-assigned this Jul 28, 2026
@steipete
steipete marked this pull request as ready for review July 28, 2026 15:33
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Jul 28, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 28, 2026
@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 28, 2026, 11:44 AM ET / 15:44 UTC.

ClawSweeper review

What this changes

This PR remixes the Lobsterdex from 37 to 42 palettes, adds several custom sprite variants, fixes squashed catalog sprites, and gives card animations distinct blink and breathing phases.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for explicit maintainer review. The renderer and visual proof support a coherent Lobsterdex follow-up, but retiring four existing browser-local collection identities to impose a fixed 42-card roster is a product and upgrade-compatibility choice, and the maintainer label requires human handling.

Priority: P3
Reviewed head: b8ac7a562918bce317dc6ea2b1ef2875306fd1f7
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong visible proof and focused coverage support a good UI patch; the remaining gate is a maintainer product decision about upgraded collection history.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
Evidence reviewed 6 items Changed rendering boundary: The branch centralizes palette weights and Chimera composition in the look model, then passes the complete look-style variables into the Appearance gallery, Lobsterdex cards, and About mascot so the new variants and animation phases render consistently across catalog surfaces.
Persisted collection compatibility: The branch removes coral, teal, violet, and ink from the palette contract while the collection remains browser-local; its updated storage test changes the retained palette fixture from teal to blue, so existing recorded visits for retired IDs become intentionally invisible to live consumers.
Focused UI coverage: The branch adds a dedicated variants suite and updates collection, Appearance, and Lobsterdex page tests for the 42-entry catalog and new live palette behavior.
Findings None None.
Security None None.

How this fits together

The Lobsterdex is OpenClaw’s browser-local lobster collection, built from shared palette and look data. That renderer feeds the Appearance settings gallery, the dedicated collection page, and the About-page mascot, while local visit history controls what users see as discovered.

flowchart LR
  A[Palette catalog] --> B[Look generation]
  B --> C[SVG sprite renderer]
  C --> D[Appearance gallery]
  C --> E[Lobsterdex collection page]
  C --> F[About page mascot]
  G[Browser-local visit history] --> E
  G --> D
Loading

Decision needed

Question Recommendation
Should OpenClaw permanently retire the four existing Lobsterdex identities and make the curated 42-card roster the canonical browser-local collection for upgraded users? Adopt the fixed 42-card roster: Accept the intentional retirement of the four old palette identities and merge the curated roster as the new collection definition.

Why: The code can safely filter obsolete local entries, but only maintainers can decide whether previously recorded collection history should disappear from the user-visible catalog as part of this easter-egg’s product contract.

Before merge

  • Resolve merge risk (P1) - Merging intentionally retires four palette IDs from an established browser-local collection. Existing recorded visits are filtered from the live catalog, so maintainers should explicitly accept that historical cards no longer appear rather than treating the change as a purely visual remix.
  • Resolve merge risk (P1) - The PR is marked maintainer; protected-label policy requires a human decision even though the branch has focused tests and visual evidence.
Agent review details

Security

None.

PR surface

Source +515, Tests +142. Total +657 across 18 files.

View PR surface stats
Area Files Added Removed Net
Source 13 652 137 +515
Tests 5 353 211 +142
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 18 1005 348 +657

Review metrics

Metric Value Why it matters
Catalog transition 9 added, 4 retired, 37 → 42 active palettes The visual feature is also a browser-local collection-contract change for upgraded users with prior discovery history.

Merge-risk options

Maintainer options:

  1. Confirm the roster replacement before merge (recommended)
    Accept the intentional disappearance of visits for retired palette IDs and document that the browser-local collection now has a canonical 42-card catalog.
  2. Preserve upgraded collection history
    Adjust the collection contract so users’ old recorded identities remain visible or are deliberately migrated before retiring the IDs.
  3. Split the rendering repair
    Pause the broader roster remix and submit the catalog sizing and animation-phase fixes without changing existing palette identities.

Technical review

Best possible solution:

Confirm that replacing the established 37-entry collection with the curated 42-entry roster is the intended product direction, including acceptance of hidden historical visits for retired IDs; then land the unified palette/look implementation with its existing visual and focused test proof.

Do we have a high-confidence way to reproduce the issue?

Yes for the squish claim in source and submitted proof: the catalog surfaces now derive their dimensions and style variables through the shared look renderer, and the PR reports Chromium measurements across all 42 cards. The supplied environment could not complete an additional local artifact inspection because its filesystem sandbox failed during read-only access.

Is this the best way to solve the issue?

Unclear: consolidating palette and look styling across the three catalog surfaces is a maintainable implementation, but the fixed roster and retirement of previously visible collection identities needs explicit product confirmation before it is the best solution.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against cbe19ed3be23.

Labels

Label changes:

  • add P3: This is a non-critical web UI and easter-egg expansion with no reported core-runtime impact.
  • add merge-risk: 🚨 compatibility: Four existing palette IDs are removed from the active catalog, making their previously recorded browser-local visits no longer user-visible after upgrade.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.

Label justifications:

  • P3: This is a non-critical web UI and easter-egg expansion with no reported core-runtime impact.
  • merge-risk: 🚨 compatibility: Four existing palette IDs are removed from the active catalog, making their previously recorded browser-local visits no longer user-visible after upgrade.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR supplies after-fix Chromium measurements and dark/light collection screenshots for the directly visible sprite, sizing, and animation work; redact any private browser or endpoint details if replacement artifacts are posted.

Evidence

What I checked:

Likely related people:

  • steipete: Authored the two preceding merged Lobsterdex expansions and this follow-up, establishing the current palette catalog, collection page, and related renderer conventions. (role: feature owner and recent area contributor; confidence: high; commits: 54309a832aef, 2cdd1246ed76; files: ui/src/components/lobster-pet-look.ts, ui/src/pages/lobsterdex/view.ts, ui/src/pages/config/view-appearance-preferences.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain explicit maintainer confirmation for retiring the four existing palette identities and hiding their recorded browser-local visits.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete

Copy link
Copy Markdown
Contributor Author

Palette removal is a deliberate beta-window pruning decision by the maintainer: the four removed entries were color-only filler. Stale browser-local dex entries are harmless by construction (all consumers filter by the live palette table) and covered by a dedicated test; browser-local easter-egg state carries no shipped compat contract per AGENTS.md.

@steipete
steipete merged commit b2859ce into main Jul 28, 2026
140 of 155 checks passed
@steipete
steipete deleted the steipete/lobsterdex-the-answer branch July 28, 2026 16:03
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 28, 2026
…etwork-none

* origin/main:
  fix(macos): signed rebuild no longer stalls on app shutdown (#103957)
  fix(agents): prevent repeated Code Mode output across waits (#115213)
  refactor(ui): split Profile (identity) from Usage (statistics) (#115245)
  fix(channels): report a channel that cannot receive as unhealthy instead of connected (#115229)
  fix(cli): reject malformed infer model refs (#115225)
  feat(ui): finish the Lobsterdex at 42 with wild variants, squish fix, and blink variance (#115264)
  test(migrations): avoid mtime precision in checkpoint fixture (#115269)
  test(signal): verify archive limits without malformed tar (#115270)
  test(ui): reset config route hash between cases
  fix(talk): remove unsupported Codex OAuth realtime
vincentkoc added a commit that referenced this pull request Jul 28, 2026
…-20260728

* origin/main:
  fix(macos): signed rebuild no longer stalls on app shutdown (#103957)
  fix(agents): prevent repeated Code Mode output across waits (#115213)
  refactor(ui): split Profile (identity) from Usage (statistics) (#115245)
  fix(channels): report a channel that cannot receive as unhealthy instead of connected (#115229)
  fix(cli): reject malformed infer model refs (#115225)
  feat(ui): finish the Lobsterdex at 42 with wild variants, squish fix, and blink variance (#115264)
  test(migrations): avoid mtime precision in checkpoint fixture (#115269)
  test(signal): verify archive limits without malformed tar (#115270)
  test(ui): reset config route hash between cases
  fix(talk): remove unsupported Codex OAuth realtime
vincentkoc added a commit to LZY3538/openclaw that referenced this pull request Jul 28, 2026
* origin/main: (199 commits)
  refactor(workboard): tidy Control UI card execution helpers (openclaw#115195)
  perf(agents): amortize history-limit eviction with hysteresis (openclaw#115273) (openclaw#115281)
  fix: schema-version refusal blames a downgrade that never happened and cannot identify the stale install (openclaw#115232)
  fix: restore Fish completion after global CLI options (openclaw#115222)
  refactor(agents): collapse the client-tool catalog branch (openclaw#115212)
  fix(macos): signed rebuild no longer stalls on app shutdown (openclaw#103957)
  fix(agents): prevent repeated Code Mode output across waits (openclaw#115213)
  refactor(ui): split Profile (identity) from Usage (statistics) (openclaw#115245)
  fix(channels): report a channel that cannot receive as unhealthy instead of connected (openclaw#115229)
  fix(cli): reject malformed infer model refs (openclaw#115225)
  feat(ui): finish the Lobsterdex at 42 with wild variants, squish fix, and blink variance (openclaw#115264)
  test(migrations): avoid mtime precision in checkpoint fixture (openclaw#115269)
  test(signal): verify archive limits without malformed tar (openclaw#115270)
  refactor(sessions): isolate legacy transcript fixtures (openclaw#115231)
  fix(discord): clear pending launch watchdog (openclaw#115100)
  fix(agents): stop quadratic subagent prompt rendering (openclaw#115263)
  fix(memory-core): recover dreaming cron reconciliation (openclaw#115174)
  fix(qa-lab): filter incompatible channel scenarios (openclaw#115087)
  fix(android): respect locale in compact labels
  test(i18n): prove iOS discovery catalog ownership
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant