1.2 KiB
1.2 KiB
AGENTS.md
Read before writing code.
Live files: README.md, this file, docs/PRODUCT.md, docs/CAPTURE.md, deploy/.
Slice 1
Client-side, phone and PC:
- Open the app and choose one slab photo.
- Isolate the slab with one live sensitivity slider. Sheet mode is Auto, Green, or Black. Overlay updates on the source photo as the slider moves.
- User approves the edge.
- App produces the inventory PNG and the measurements from that photo.
- Both are visible on screen.
Slice 1 scope: capture through on-screen PNG and measurements.
Acceptance
A real slab on a phone: approved edge, inventory PNG on screen, widths and board feet on screen.
Locks
- Quantity per listing is one.
- User enters length, thickness, and SKU.
- App proposes 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.
- 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.