grokbot_ty 2c73e5fa4e docs(structure): fix single-home wording nits
Point UAT at IMPL-PLAN only. Soften AGENTS and IMPL-PLAN so the meanings
table has one home while TEST-SPEC may still map cases to phases.
2026-09-09 19:56:31 +00:00
2026-08-24 11:00:51 -07:00

SlabUploader

Browser app for listing one-of-a-kind wood slabs on the Whidbey Wood Store.

You photograph a slab, confirm the cut and the numbers, review the listing, and create the WooCommerce product. The browser does the measuring and crop. The server stores the draft, talks to the store, and (later) runs vision. Runs on phones and PCs.

Owner: Ty (Whidbey). Store: www.whidbeywoodstore.com. Runs in Docker Compose behind Caddy on a host you inventory first (APP_HOSTNAME).

Where we are

Gate A freeze signed 2026-08-31. All live docs sit on main. Read AGENTS.md before writing code.

The bar for this first version: a real slab, photographed on a phone or a PC, listed on the real store. Practice listings are WooCommerce drafts with SKUs that start SLAB-UAT-. After Ty reviews, one real SKU goes live. Online only for now; offline capture is deferred.

Build order is in docs/IMPL-PLAN.md. Empty app on the real host first, then the first draft listing, then vision.

Documentation

Ownership detail lives in AGENTS.md §0. Short map:

File What
AGENTS.md Hard rules. Read first.
docs/IMPL-PLAN.md What to build next (phases, Gates A/B/C, exit gates)
docs/TECH-SPEC-PIPELINE.md Math, image pipeline, TV-1–TV-10
docs/ARCHITECTURE.md Hybrid topology, secrets why, status machine
docs/UX.md Signed mill-owner presentation (phone and PC)
docs/TEST-SPEC.md Engineer test bar (cases stay not run until code exists)
docs/UAT-PRACTICE.md Walkable practice UAT for SLAB-UAT-*
deploy/INVENTORY.md Host worksheet before binding ports
docs/archive/PRD-2026-08.txt Frozen history, not a source for new work

docs/UX-DESIGN.md is non-normative wireframes. docs/UX.md wins on conflict.

Short map

  • Client (SvelteKit) owns the happy path: mask knobs, sqft, bdft, 3:4 PNG. Server (FastAPI) stores drafts, talks to WooCommerce, and proxies vision. Server matting ("Try harder") is deferred from POC; POC mask tuning is client-side only.
  • Board feet = square feet × thickness in inches. No divide-by-12. Test vectors TV-1 through TV-10 run in the browser.
  • Secrets never sit in the browser. Encrypted on the server. Store login is a WordPress application password on a low-privilege user; WooCommerce consumer keys are not implemented.
  • Practice SKUs SLAB-UAT-* are always drafts, even if Settings say publish.
  • Vision stays off until the first draft listing works. Species suggestion and Generate text come after, still inside this project.
  • Two containers (frontend, fastapi) plus Caddy. One SQLite, image volumes. Inventory the host first.

Where deferred items live: docs/ARCHITECTURE.md §4 and docs/IMPL-PLAN.md Phase 2 (offline PWA, OCR, ruler — deferred stub).

Repo

Source of truth: Gitea Ty_Tech/SlabUploader on gitea-atd (https://gitea.vps1.afterthedemo.com/Ty_Tech/SlabUploader). TrueNAS and GitHub copies are not the source of truth for this work.

Getting started

  1. Read AGENTS.md (locks) and docs/IMPL-PLAN.md Phase 0 (build next).
  2. Run docs/checks/check-structure.sh if you change doc ownership or calendar homes.
  3. Scaffold frontend/ and backend/ per Phase 0. Measuring lives in the browser. Compose paths are already pinned.
  4. Ty signs each phase. Live docs on main are the source of truth. The archive PRD is frozen history only.
S
Description
SlabUploader — mobile-first live-edge slab capture → WooCommerce publish (design + implementation). Mirrored from local TrueNAS TyTech_Internal/SlabUploader.
Readme MIT 21 MiB
Languages
TypeScript 43.5%
Python 37%
Svelte 18.8%
Shell 0.4%
Dockerfile 0.2%