chore(visual): gitignore snapshot baselines; sync workplan task IDs

Visual baselines are large binary test artifacts; keep them out of the repo.
They stay on disk locally (regenerate with `pnpm test:visual:update`); the
infra fixes that make rendering deterministic remain committed. Also folds in
the state_hub_task_id writeback from `make fix-consistency`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 11:19:29 +02:00
parent 0f96736bb7
commit 92877c4a65
8 changed files with 13 additions and 5 deletions

3
.gitignore vendored
View File

@@ -7,6 +7,9 @@ dist
playwright-report
test-results
/tests/visual/**/__diff__
# Visual baselines are generated locally, not committed (large binary test
# artifacts). Run `pnpm test:visual:update` to (re)generate before diffing.
/tests/visual/**/*-snapshots/
# Python (scripts/check_designbook_staleness.py)
__pycache__

View File

@@ -37,8 +37,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Version
### Fixed
- **Visual-regression harness now renders deterministically.** Regenerated the four
`examples/whynot-control` baselines against the new tokens. Along the way:
- **Visual-regression harness now renders deterministically.** The four
`examples/whynot-control` pages render and screenshot cleanly against the new tokens.
Snapshot baselines are now **gitignored** (generated locally via
`pnpm test:visual:update`, not committed — they are large binary test artifacts).
Along the way:
- `serve.json` (`cleanUrls:false`) — the static server was 301-redirecting
`/…/index.html` to a trailing-slash-stripped URL, shifting the document base and
404'ing every relative asset (also broke `pnpm showcase` in the browser).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

View File

@@ -9,6 +9,7 @@ owner: codex
topic_slug: custodian
created: "2026-06-22"
updated: "2026-06-22"
state_hub_workstream_id: "2a841f25-ee20-406d-9436-c2057545e05e"
---
# Bootstrap State Hub integration
@@ -21,7 +22,7 @@ The neutral, mostly-black-and-white visual language for **whynot** — Tegwick's
id: WHYNOT-WP-0001-T01
status: done
priority: high
state_hub_task_id: "9a45dbdc-1c2c-4952-b021-38bac1759654"
```
Result 2026-06-22: INTENT.md, SCOPE.md, AGENTS.md reviewed.
@@ -35,7 +36,7 @@ Replace generated placeholders with repo-specific facts where needed.
id: WHYNOT-WP-0001-T02
status: done
priority: high
state_hub_task_id: "52164a8c-cd8d-49b3-863e-2adfb23b3877"
```
Result 2026-06-22: Stack commands already complete.
@@ -50,7 +51,7 @@ changes confidently.
id: WHYNOT-WP-0001-T03
status: done
priority: medium
state_hub_task_id: "93356eae-2099-4d32-b486-8d7886ac4e2d"
```
Result 2026-06-22: WHYNOT-WP-0002 already exists (designbook stack adapters).

View File

@@ -218,6 +218,7 @@ gate that confirms Lit actually matches the designbook appearance.
id: WHYNOT-WP-0002-T11
status: todo
priority: medium
state_hub_task_id: "7435338d-702a-43d7-9c86-49531fe0d8e4"
```
Discovered 2026-06-26 while regenerating visual baselines after the T06 token