Files
dealplustech-astroreal/docs/HANDOFF.md
Kunthawat Greethong 52030b7d46 fix(armaflex): rename misspelled 'armflex' slug to 'armaflex' everywhere
- Route /armflex -> /armaflex (page file + nav/listing links)
- Image folder public/images/armflex/ -> public/images/armaflex/
- Fix gallery alt-text 'Armflex' -> 'Armaflex'
- Add nginx 301 redirect so old /armflex URL still works (SEO-safe)
- Update engineering log + handoff

Verified: npm run build (44 pages), tsc --noEmit, nginx -t,
live probe /armaflex/ 200, zero stale 'armflex' refs.
2026-09-08 17:52:12 +07:00

57 lines
2.9 KiB
Markdown

---
title: Deal Plus Tech Engineering Handoff
updated: 2026-09-08
---
# Engineering Handoff
## Current State
- Repository: `/Users/kunthawat/Gitea/dealplustech-astroreal`
- Branch: `main`
- Code commit: `c0d8cacfbeb328424138b26e22cb31e82db453b6` (last pushed to `origin/main` on 2026-08-30); Armaflex rename changes staged and pending this handoff commit
- HEAD: current branch tip of `main`; verify with `git rev-parse HEAD` after the handoff update
- Remote target: `origin/main`
- Working tree: Armaflex slug/image rename + nginx 301 staged; handoff/log metadata is the only other pending change
## Completed
- **Armaflex slug rename** — `armflex``armaflex` (route, image folder, nav/listing links, gallery alt-text) + nginx 301 for the old URL
- CcooL product page: `/ฉนวนหุ้มท่อ-ccool/`
- CcooL images and pricing PDF added under `public/`
- Navigation, product listing, breadcrumb, metadata, FAQ, Product JSON-LD, and CTA tracking updated
- Robots/sitemap references and stale internal links corrected
- Duplicate legal-page H1 output removed
- Unsupported market-superlative claim wording replaced
- Duplicate CcooL anchor ID removed; new-tab PDF link hardened with `rel="noopener"`
## Verification
- `npm run build`**pass**, 44 pages (Armaflex rename)
- `npx tsc --noEmit`**pass** (no errors)
- `git diff --check`**pass**
- `nginx -t` on the edited config → **syntax ok** (301 `armflex → armaflex`)
- Live static probe on `dist/``GET /armaflex/` 200, `GET /images/armaflex/gallery-1.jpg` 200, old `/armflex/` 404 at static layer (nginx 301 intercepts at deploy)
- Source/output scan → zero `armflex` references remain (all `armaflex`)
- Independent reviewer (prior CcooL/SEO work) → **pass**, no security concerns or logic errors
## Known Limitations / Blockers
- `npm test` cannot run because the project has no `test` script.
- `astro check` reports 55 pre-existing errors in both baseline and final trees; no regression was introduced.
- Production soft-404 behavior, Cloudflare crawler rules, live Search Console, and live external HTTP status were not changed or verified in this local push gate.
- Domain-dependent SEO/deploy work is blocked until the real production domain is explicitly confirmed. Never guess it from repository configuration.
- CcooL claims still need accessible first-party evidence; image CLS and complete ProductGroup/AggregateOffer modeling remain deferred.
## Resume Procedure
1. Verify the final `git rev-parse HEAD` and `git ls-remote origin refs/heads/main` after this handoff-doc commit.
2. Before deployment or further SEO changes, confirm the production domain explicitly.
3. Fix server-level 404 routing and verify an unknown URL returns HTTP 404.
4. Recheck Cloudflare robots/AI crawler settings and publish claim evidence.
## Evidence Index
- [[2026-09-08-armaflex-slug-rename]]
- [[2026-08-30-seo-audit-fixes]]
- [[../test-evidence/2026-08-30-ccool-seo]]