Files
evig/docs/projects/upcycling.md
894b203602 docs: sync docs with actual stack (#447)
Docs truth-sweep against ground truth (package.json, CI workflows):
- npm → pnpm across evergreen docs (pnpm 11.25.0 is the package manager;
  npx tsx → pnpm exec tsx, npx ts-prune/jscpd → pnpm dlx, npm ci →
  pnpm install --frozen-lockfile, package-lock.json → pnpm-lock.yaml)
- Jest → Vitest in README, CONTRIBUTING, COMMANDS (vitest 4 is installed)
- Node claims: README 20+ → 22.13+ (engines) with CI/deploy on 24;
  deployment.md "Setup Node 20 (npm cache)" → Node 24 (pnpm cache), and
  the pipeline line now shows `pnpm run verify` as CI actually runs
- TypeScript 5.x claims → 6 (typescript ^6.0.3); Next.js 14 → 16 in
  BLOG_SYSTEM, guides/ARCHITECTURE, AI_BOT_SYSTEM_PROMPT
- COMMANDS.md: dropped nonexistent `dev:cms` script; services list fixed
  to db/meilisearch/listmonk (no redis in compose)
- HR_RUNBOOK: `npm run test -- src/…` → `pnpm run test src/…` (pnpm
  passes args without the `--` separator)

Historical records (docs/archive/**, dated audit reports, UPGRADE_PLAN)
left as-is — they describe what was true when written.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 15:01:39 +00:00

2.2 KiB

Monitor-Upcycling mini-site

created_date: 2026-06-15
last_modified_date: 2026-06-15
last_modified_summary: Document reading flow SSOT, business plan split, shared page header, guide slug SSOT.


Purpose

Public sub-site at /projects/upcycling/* for the Monitor-Upcycling project: explore lane (applications → gallery → build-your-own → wirkung) then evidence lane (business plan → status).

SSOT map

Concern File
Routes + nav order + reading flow src/config/upcycling-routes.ts
Public asset paths src/config/upcycling-assets.ts
Active vs archived citations src/config/upcycling-evidence.ts
Gallery models src/data/upcycling-gallery.ts
Published guide slugs src/data/upcycling-guides.ts
Status numbers + milestones src/data/upcycling-status.ts
Business plan content messages/*.json → projects.upcycling.businessPlan
Business plan shape parity pnpm run i18n:businessplan

Reading flow

One primary “continue reading” link per page (UpcyclingNextStepBand in layout):

landing (terminal)
applications → gallery → build-your-own → wirkung → businessplan → status (terminal)
lenovo-l2251pwd → gallery

Flow keys: UPCYCLING_PAGE_FLOW in upcycling-routes.ts.

Interest/newsletter band (UpcyclingInterestBand) is skipped on landing, business plan, and status.

Page layout

  • Shared chrome: layout.tsx → sub-nav, next-step band, interest band (where applicable).
  • Shared header: UpcyclingPageHeader.tsx on status, wirkung, build-your-own.
  • Business plan: thin businessplan/page.tsx + types.ts, components/primitives.tsx, components/sections.tsx, components/HeroAndToc.tsx, DesktopTocRail.tsx.

i18n scripts

pnpm run i18n:businessplan          # parity check (required before merge)
node scripts/sync-businessplan-locales.mjs   # after DE businessPlan edits
node scripts/prune-businessplan-archive.mjs  # archive stale citation keys

Local photos

Real workshop photos live under public/projects/upcycling/. Only Lenovo L2251pwd is fully documented today; see public/projects/upcycling/gallery/REAL_PHOTOS.md.