Files
SlabUploader/AGENTS.md
T

1.1 KiB
Raw Blame History

AGENTS.md

Agent context

Read this file and docs/CAPTURE.md. Implement the current increment only: Milestone 1 in docs/PRODUCT.md, specified in docs/CAPTURE.md.

docs/PRODUCT.md is the PRD. Use it for destination and field names. Do not implement Milestones 2–4 in this increment.

Current increment

Milestone 1 — Capture. Acceptance: on a phone, one real slab, approved mask, approved length-axis rectangle, user length and thickness, inventory PNG on screen, widths and board feet on screen.

Invariants

  • 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.