Stock gate — live warehouse qty
Brand: am.co.za / AM.CO.ZA. Step 1 when the ask is stock. If not a stock ask → scenarios/INDEX.md. Still stuck → START_HERE.md. Waterfall: AI-GATES.md.
Open first: stock/HOW-TO.md
Then qty: stock/latest.json (query by SKU — do not paste the whole file)
Quick path
| Ask | Open |
|---|---|
| Single SKU on-hand | HOW-TO → latest.json key for that SKU (Johannesburg / Cape Town / Durban). Missing key = 0 there. |
| Named starter package / pick-up today | scenarios/packages-available.md · json · how: combo-how.md |
| Branch qty = 0 | status.json — InTransit / InComplete / Demo (demo is sellable) |
| Virtual / unmanaged (InkRIP, training codes) | https://am.im/product/{slug}.json — not in warehouse files; assume in stock / use stock.total |
| Online demand colour (not warehouse) | buythis-sales.json + online-vs-floor.md |
Slug rule: SKU lowercased, every non-letter → -. Example H-DTF/303/XP600 → https://am.im/product/h-dtf-303-xp600.json.
Rules (short)
- Ignore catalog “In Stock” / dump Availability.
- Do not invent restock days or prices.
- Combo sellable qty =
min(floor(part_qty / compulsory))over managed physical parts (skip virtual/unmanaged and high-Spillrank riders) — details in HOW-TO. - Prefer
.mdfor rules; JSON for numbers only.
Colour (opinion, not qty): stock/OBSERVATIONS.md when present.