chore(planning): wiki submodule bump + verifier evidence JSONs

This commit is contained in:
araharah-executor
2026-10-25 12:51:35 +08:00
parent db27aa8440
commit cff6c15622
12 changed files with 249 additions and 39 deletions
@@ -0,0 +1,40 @@
---
gsd_plan_version: 1.0
mode: quick
task: Replace all logo references with the new master logo assets
quick_id: "261024-001"
slug: logo-asset-replacement
date: "2026-10-24"
---
# Quick task 261024-001: Replace logo references with master assets
## Goal
Point every logo reference in the repository to the new master logo files under
`assets/MASTER_FILE-arah2_logo.*`. The primary asset is the SVG; raster formats
are used only where the consuming context requires them (Telegram `sendPhoto`
must use PNG).
## must_haves
- `README.md` renders the logo from `assets/MASTER_FILE-arah2_logo.svg`.
- `.planning/tmp/arah2.wiki/Home.md` mirrors the README logo reference.
- `bot/src/bot/commands/start.ts` serves the logo via the static-asset public
URL `/MASTER_FILE-arah2_logo.png` (PNG is required by Telegram `sendPhoto`).
- The Worker can actually serve the new logo files: copy
`assets/MASTER_FILE-arah2_logo.svg` and `assets/MASTER_FILE-arah2_logo.png`
into `web/public/` so they are emitted to `web/dist/` on build.
- The legacy mockups in `stitch_minimalist_route_navigator/*/` stop hotlinking
the ephemeral Google-hosted placeholder logo and use the local master SVG
(`../../assets/MASTER_FILE-arah2_logo.svg`).
## Tasks
| # | Files | Action | Verify | Done |
|---|-------|--------|--------|------|
| 1 | `README.md` | Replace `assets/logo_arah2.png` with `assets/MASTER_FILE-arah2_logo.svg` | grep shows new path, no old path | [x] |
| 2 | `.planning/tmp/arah2.wiki/Home.md` | Replace mirror logo URL with the Gitea media URL for `assets/MASTER_FILE-arah2_logo.svg` | grep shows new path, no old path | [x] |
| 3 | `bot/src/bot/commands/start.ts` | Update comment + `startLogoUrl` to return `/MASTER_FILE-arah2_logo.png` | grep shows new path, no old path; `npm test -w bot` passes | [x] |
| 4 | `web/public/MASTER_FILE-arah2_logo.svg`, `web/public/MASTER_FILE-arah2_logo.png` | Copy from `assets/` | files exist and are non-empty | [x] |
| 5 | `stitch_minimalist_route_navigator/{active_route_guidance,community_incident_reporter,navigate_map_overview,telegram_live_traffic_feed}/code.html` | Replace `lh3.googleusercontent.com/aida/...` logo `src` with `../../assets/MASTER_FILE-arah2_logo.svg`; update `alt` to `arah² logo` | grep shows new path, no Google logo URL in any mockup | [x] |
@@ -0,0 +1,46 @@
---
quick_id: "261024-001"
slug: logo-asset-replacement
date: "2026-10-24"
status: complete
---
# Quick task 261024-001: Replace logo references with master assets
## Summary
All logo references in the repository now point to the new master logo files
under `assets/MASTER_FILE-arah2_logo.*`. SVG is used where browsers/Markdown
render it; PNG is used for the Telegram `sendPhoto` path because Telegram's
photo API requires a raster image.
## Changes made
| # | File | Change |
|---|------|--------|
| 1 | `README.md` | Logo `src` changed from `assets/logo_arah2.png` to `assets/MASTER_FILE-arah2_logo.svg` |
| 2 | `.planning/tmp/arah2.wiki/Home.md` | Mirror logo URL changed to the Gitea media URL for `assets/MASTER_FILE-arah2_logo.svg` |
| 3 | `bot/src/bot/commands/start.ts` | Comment and `startLogoUrl` now reference `/MASTER_FILE-arah2_logo.png` (PNG for Telegram `sendPhoto`) |
| 4 | `web/public/MASTER_FILE-arah2_logo.svg` | Copied from `assets/MASTER_FILE-arah2_logo.svg`; served by the Worker |
| 5 | `web/public/MASTER_FILE-arah2_logo.png` | Copied from `assets/MASTER_FILE-arah2_logo.png`; served by the Worker and used by `sendPhoto` |
| 6 | `stitch_minimalist_route_navigator/{active_route_guidance,community_incident_reporter,navigate_map_overview,telegram_live_traffic_feed}/code.html` | Replaced ephemeral Google-hosted placeholder logo with local `../../assets/MASTER_FILE-arah2_logo.svg`; updated `alt` to `arah² logo` in all four mockups |
## Verification
- `grep` across `.md`, `.html`, `.ts`, `.json`, and `.jsonc` files shows no
remaining active references to `logo_arah2.png` or `lh3.googleusercontent.com/aida/`
logo URLs. Descriptive mentions in the quick-task PLAN/SUMMARY and in
legacy-doc paragraphs are intentional.
- `npm test -w bot` passes: 125 passed, 0 failed.
- New public assets exist in `web/public/` and are non-empty.
## Notes
- The legacy files `assets/logo_arah2.png` and `web/public/logo_arah2.png` were
left in place; only references were redirected.
- The `@assets/MASTER_FILE-arah2_logo.svg` directive was interpreted as the
conceptual primary asset. In concrete paths: repo-root-relative
`assets/MASTER_FILE-arah2_logo.svg` for `README.md`, the Gitea media absolute
URL for the wiki mirror, and the public URL `/MASTER_FILE-arah2_logo.png`
for the bot's Telegram `sendPhoto` call (PNG is required by Telegram's photo
API).