22599c924f
Reorganize docs for humans: README map (goals / shipped / M3), PRODUCT overview, and a specific CREATE.md that pulls Woo sync, metadata, pricing, and inference requirements from main. Exit criteria is a slab submission- ready for WooCommerce, proven with a SLAB-UAT-* draft. Add UAT-PRACTICE.
41 lines
2.0 KiB
Markdown
41 lines
2.0 KiB
Markdown
# AGENTS.md
|
||
|
||
## Agent context
|
||
|
||
Read `docs/README.md` first, then this file, `docs/CAPTURE.md`, `docs/PHOTOS.md`, and `docs/CREATE.md`.
|
||
|
||
Implement **Milestone 3** only. Specification: `docs/CREATE.md`.
|
||
Product overview: `docs/PRODUCT.md`.
|
||
|
||
**M3 scope** (what is in vs out) comes from Ty conversations and `docs/CREATE.md`.
|
||
**Behavior** for Woo sync, metadata, pricing, and inference is written into `docs/CREATE.md` from the technical requirements on `main`. Do not treat older milestone splits on `main` as scope authority. Do not code against `main` docs by cross-reference. Use `docs/CREATE.md` on this branch.
|
||
|
||
Do not implement work outside `docs/CREATE.md` unless Ty expands scope in chat.
|
||
Do not touch deploy port `:10880`. UAT redeploy target is overnight Docker on ubudual5060 `:10881`.
|
||
|
||
## Milestone 3
|
||
|
||
Create. Exit criteria: a Photos-ready slab is **submission-ready for WooCommerce**, proven by a `SLAB-UAT-*` Woo draft that matches the reviewed ready set. Inference-off path required.
|
||
|
||
## Milestone 1 and 2 (shipped inputs)
|
||
|
||
- Capture: `docs/CAPTURE.md`
|
||
- Photos: `docs/PHOTOS.md` (UAT on `:10881`)
|
||
|
||
## Invariants
|
||
|
||
- Quantity per listing is one.
|
||
- User enters length, thickness, and SKU.
|
||
- App may propose remaining listing fields. User reviews before create.
|
||
- Non-math fields remain editable until create.
|
||
- `bdft = sqft × thickness_in`
|
||
- Price proposal is `bdft × species $/bdft`. User may replace it. Missing rate leaves price empty.
|
||
- User-entered length, thickness, SKU, price, and taxonomy override computed or inferred values.
|
||
- **Woo attributes** means synced species and wood categories; Edge, Figure, Grade, Thickness, Moisture; `fig-*` and `feat-*`. Store is source of truth.
|
||
- Woo auth is WordPress application password (server-side). `WOO_BASE_URL` is compose/env. Inference URL is Settings.
|
||
- SKUs matching `SLAB-UAT-*` create as Woo draft.
|
||
- Create works with inference off.
|
||
- Source below the PNG size floor requires a new photo.
|
||
- Existing store SKU blocks create.
|
||
- Dimension overlay orientation follows the user-approved length axis from Milestone 1.
|