PROP-020 Rev 1.0 · 17 Jul 2026

Cane Agency · Change Proposal (ACCEPTED)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง (รับรองแล้ว)

Queue management (ระบบคิวรับอ้อย) — digitize the walk-in queue first, then earn the right to book: turning the industry's worst bottleneck into the platform's flagship advantageระบบคิวรับอ้อย — แปลงคิววอล์กอินเป็นดิจิทัลก่อน แล้วค่อยต่อยอดสู่การจองคิว: เปลี่ยนคอขวดที่หนักที่สุดของอุตสาหกรรมให้เป็นความได้เปรียบเรือธงของแพลตฟอร์ม

Documentเอกสาร
PROP-020
Statusสถานะ
ACCEPTED — applied graph-first in spec v0.12.0, one queue train with PROP-024 (17 Jul 2026)รับรองแล้ว — ใช้กับ graph ใน spec v0.12.0 เป็นขบวนคิวเดียวกับ PROP-024 (17 ก.ค. 2569)
Originที่มา
Spun out of the PROP-019 Q1 gate Q-02 pass-2 verdict (13 Jul 2026): walk-in is the Thai-industry norm — the platform must operate walk-in-first, and the full queue design "requires us to think extremely hard" as its own proposal.แยกออกมาจากคำวินิจฉัย pass-2 ข้อ Q-02 ของ PROP-019 Q1 gate (13 ก.ค. 2026): วอล์กอินคือวิถีปกติของอุตสาหกรรมไทย — แพลตฟอร์มต้องทำงานแบบ walk-in-first และการออกแบบคิวเต็มรูปต้อง "คิดให้หนักที่สุด" เป็นข้อเสนอของตัวเอง
Kindประเภท
New feature domain — a per-mill queue-management system covering the physical walk-in queue AND online booking, delivered as a four-level adoption ladder (QL-0…QL-3). Additive; no existing decision is reversed except where Section 6 explicitly amends it.โดเมนฟีเจอร์ใหม่ — ระบบบริหารคิวรายโรงงาน ครอบคลุมทั้งคิววอล์กอินหน้างานและการจองคิวออนไลน์ ส่งมอบเป็นบันไดการเริ่มใช้ 4 ระดับ (QL-0…QL-3) เป็นส่วนเพิ่ม ไม่กลับคำตัดสินเดิมยกเว้นที่ข้อ 6 ระบุแก้ไขไว้ชัดเจน
Depends onขึ้นกับ
PROP-019 Q1 amendment pass (walk-in entry path, FR-29 gate-created delivery, per-mill booking-enablement flag — the Q-02 minimums); PROP-002 (Truck, CrushingDay, WF-03/WF-10, FR-29/FR-30); PROP-012 (queue coin coin_no / %N-### tag); PROP-016 (per-capacity feature framework); FR-09 (notifications). Optional synergy: PROP-009 checkpoints (จุดประทับตรา) as remote check-in points.รอบแก้ไข Q1 ของ PROP-019 (ทางเข้า walk-in, FR-29 สร้าง delivery ที่ประตู, ธงเปิดใช้การจองรายโรงงาน — ขั้นต่ำตาม Q-02); PROP-002 (Truck, CrushingDay, WF-03/WF-10, FR-29/FR-30); PROP-012 (เหรียญคิว coin_no / แท็ก %N-###); PROP-016 (กรอบฟีเจอร์รายกลุ่ม); FR-09 (การแจ้งเตือน) เสริมกันได้: จุดประทับตรา PROP-009 เป็นจุดเช็กอินระยะไกล
Affectsกระทบ
Graph: new gate_queue context (2 entities + a queue-ticket state machine + 6 events), WF-45…48, FR-109…116, NFR-33…35, glossary; amendments to WF-03/WF-10, FR-30 and the delivery entry path. Docs: SPEC-PRD/PWF/UIX-MILL, SPEC-PRD/UIX-CFQ & CFC (mobile), ERD/DDD (new context), later web/ marketing.graph: context ใหม่ gate_queue (2 entity + state machine บัตรคิว + 6 event), WF-45…48, FR-109…116, NFR-33…35, อภิธานศัพท์; แก้ WF-03/WF-10, FR-30 และทางเข้าสถานะ delivery เอกสาร: SPEC-PRD/PWF/UIX-MILL, SPEC-PRD/UIX-CFQ & CFC (มือถือ), ERD/DDD (context ใหม่) และ web/ ภายหลัง
Version bumpการขยับเวอร์ชัน
MINOR (additive feature domain). Sequencing against the PROP-019 Q2–Q5 train (0.6.0…0.9.0) is open — Section 12 Q-09.MINOR (โดเมนฟีเจอร์ส่วนเพิ่ม) ลำดับเทียบกับขบวน Q2–Q5 ของ PROP-019 (0.6.0…0.9.0) ยังเปิดอยู่ — ข้อ 12 Q-09
Updatedปรับปรุงล่าสุด
17 Jul 2026

1. Summary1. สรุปข้อเสนอ

The pointใจความ Thai mills run unbounded first-come-first-served walk-in queues — up to ~3,000 trucks camped for anywhere from hours to 2–8 days. The cane rots while it waits; the farmer pays the driver to sleep in the cab; the road outside becomes a hazard. This proposal builds the queue system the industry never had, as a four-level adoption ladder: QL-0 digitize the existing walk-in queue without changing its rules (visibility only), QL-1 let position be held remotely so trucks stop camping, QL-2 add slotted online booking alongside the walk-in lane, QL-3 run intake primarily on bookings. Every level is valuable alone, every level preserves first-come fairness auditably, and the farmer-facing plan/booking feature unlocks only when the farmer's mill is enrolled and operating on the platform — which is precisely what makes the queue system the platform's strongest lever for bringing mills onboard. โรงงานน้ำตาลไทยใช้คิววอล์กอินแบบมาก่อนได้ก่อนไม่จำกัดจำนวน — รถบรรทุกจอดค้างได้ถึงราว 3,000 คัน รอตั้งแต่หลายชั่วโมงจนถึง 2–8 วัน อ้อยเสื่อมค่าระหว่างรอ ชาวไร่ต้องจ่ายค่าจ้างคนขับให้นอนเฝ้ารถ ถนนหน้าโรงงานกลายเป็นจุดอันตราย ข้อเสนอนี้สร้างระบบคิวที่อุตสาหกรรมไม่เคยมี เป็นบันไดการเริ่มใช้ 4 ระดับ: QL-0 แปลงคิววอล์กอินเดิมเป็นดิจิทัลโดยไม่เปลี่ยนกติกา (เห็นคิวอย่างเดียว), QL-1 ให้ถือคิวจากระยะไกลได้ รถเลิกจอดค้าง, QL-2 เพิ่มการจองคิวออนไลน์แบบช่องเวลาคู่ขนานกับช่องวอล์กอิน, QL-3 รับอ้อยด้วยการจองเป็นหลัก ทุกระดับมีคุณค่าในตัวเอง ทุกระดับรักษาความเป็นธรรมแบบมาก่อนได้ก่อนอย่างตรวจสอบได้ และฟีเจอร์วางแผน/จองคิวฝั่งชาวไร่จะเปิดก็ต่อเมื่อโรงงานของชาวไร่เข้าร่วมและใช้งานแพลตฟอร์มแล้ว — นี่เองคือคานงัดที่แรงที่สุดในการดึงโรงงานเข้าแพลตฟอร์ม

2. The industry problem — evidence2. ปัญหาของอุตสาหกรรม — หลักฐาน

The client's account (Q-02 pass 2): most factories operate walk-in queues with no limit; waiting areas hold up to ~3,000 trucks; waits run from hours to 2–8 days. Published evidence corroborates every element:

คำให้การของลูกค้า (Q-02 pass 2): โรงงานส่วนใหญ่ใช้คิววอล์กอินไม่จำกัดจำนวน ลานรอรับได้ถึงราว 3,000 คัน รอหลายชั่วโมงถึง 2–8 วัน หลักฐานที่เผยแพร่ยืนยันทุกส่วน:

Refอ้างอิงFindingข้อค้นพบSourceแหล่ง
E-01Almost no Thai sugar mills use queuing systems; trucks load first-come-first-served. Documented waits of ~30 hours, up to 48 hours; queue-management efficiency named as the fix.โรงงานน้ำตาลไทยแทบไม่มีระบบคิว รถขึ้นอ้อยแบบมาก่อนได้ก่อน มีบันทึกการรอราว 30 ชม. สูงสุด 48 ชม. และชี้ว่าประสิทธิภาพการบริหารคิวคือทางแก้FFTC-AP (2020)
E-02Cut-to-crush delay reaches 4 days at some mills, lowering recoverable sugar and farmer revenue. In a farmer choice experiment, the crushing queue system was the single most important attribute for large-scale farmers; priority queuing works as an adoption incentive.ระยะตัดถึงหีบยาวถึง 4 วันในบางโรงงาน ทำให้น้ำตาลที่สกัดได้และรายได้ชาวไร่ลดลง ในการทดลองทางเลือกของชาวไร่ ระบบคิวเข้าหีบ เป็นปัจจัยสำคัญอันดับหนึ่งของชาวไร่รายใหญ่ และคิวลำดับพิเศษใช้เป็นแรงจูงใจได้จริงJ. Asian Econ. (2021)
E-03Fresh-cut cane must reach the mill within 24–48 hours before sucrose degradation sets in; Thai mills crush 10,000–30,000 t/day each.อ้อยตัดสดต้องถึงโรงงานภายใน 24–48 ชม. ก่อนซูโครสเริ่มสลาย โรงงานไทยหีบวันละ 10,000–30,000 ตันต่อโรงIndustry guide (2026)
E-04Truck queues 10+ km long occupying one of two traffic lanes on the public road outside a Korat mill; that season's intake surged ~40% (2.4→3.2 Mt), overwhelming the walk-in system.คิวรถยาวกว่า 10 กม. กินหนึ่งในสองช่องจราจรบนถนนสาธารณะหน้าโรงงานที่โคราช ฤดูนั้นผลผลิตพุ่ง ~40% (2.4→3.2 ล้านตัน) จนระบบวอล์กอินรับไม่ไหวWorkpoint (2018)
E-05Farmers report sleeping in the queue 2–3 nights; drivers report 5-day waits; 24-hour+ waits routine in peak weeks.ชาวไร่รายงานว่าต้องนอนรอคิว 2–3 คืน คนขับรายงานรอ 5 วัน การรอเกิน 24 ชม. เป็นเรื่องปกติในสัปดาห์พีคThairath (2024) · Matichon (2018)
E-062,000 trucks stranded at one Udon Thani mill (Jan 2025); burnt cane held >72 h risks mold/rot and CCS below 10 — at which point the mill cannot accept it and the load is a total loss. 975 of those trucks had waited 4–5 days by resolution.รถ 2,000 คันตกค้างที่โรงงานแห่งหนึ่งในอุดรธานี (ม.ค. 2025) อ้อยไฟไหม้ค้างเกิน 72 ชม. เสี่ยงราขึ้น/เน่าและ CCS ต่ำกว่า 10 — ถึงจุดนั้นโรงงานรับไม่ได้ อ้อยทั้งคันเสียหายสิ้นเชิง โดย 975 คันรอมาแล้ว 4–5 วันก่อนคลี่คลายKhaosod (2025) · MGR (2025)
E-07Queue relief is already used as a bargaining chip: a Surin mill granted border-area farmers a special no-queue lane during the 2026 border tension — proof that queue priority is a real, valued currency in this industry.การยกเว้นคิวถูกใช้เป็นเครื่องต่อรองอยู่แล้ว: โรงงานที่สุรินทร์เปิดช่องพิเศษไม่ต้องรอคิวให้ชาวไร่พื้นที่ชายแดนช่วงสถานการณ์ตึงเครียด 2026 — พิสูจน์ว่าลำดับคิวคือ "สกุลเงิน" ที่มีค่าจริงในอุตสาหกรรมนี้Siamrath (2026)

Why FCFS persists. The camped queue is the mill's free raw-material buffer — it guarantees the crusher never starves, and the mill pays nothing for it. The cost lands on the farmer (driver wages and truck rental for days, cane degrading toward rejection) and, less visibly, back on the mill itself (stale cane yields less sugar per tonne). Because queue position is the only allocator and there is zero information, every farmer's dominant strategy is to cut early and race to the gate — which is exactly what creates the 3,000-truck pile-up. The buffer is rational; its physical form is not. A virtual queue keeps the mill's buffer guarantee while releasing the trucks.

ทำไมมาก่อนได้ก่อนจึงคงอยู่ คิวที่จอดค้างคือบัฟเฟอร์วัตถุดิบฟรีของโรงงาน — รับประกันว่าเครื่องหีบไม่มีวันขาดอ้อย โดยโรงงานไม่ต้องจ่ายอะไรเลย ต้นทุนตกอยู่กับชาวไร่ (ค่าจ้างคนขับและค่าเช่ารถหลายวัน อ้อยเสื่อมจนเสี่ยงถูกปฏิเสธ) และย้อนกลับมาที่โรงงานเองแบบมองไม่เห็น (อ้อยค้างให้น้ำตาลต่อตันน้อยลง) เมื่อ "ลำดับคิว" เป็นตัวจัดสรรเดียวและไม่มีข้อมูลเลย กลยุทธ์เด่นของชาวไร่ทุกรายคือรีบตัดรีบวิ่งไปหน้าประตู — ซึ่งคือสิ่งที่สร้างกองรถ 3,000 คันนั่นเอง บัฟเฟอร์นั้นสมเหตุสมผล แต่รูปแบบทางกายภาพของมันไม่ใช่ คิวเสมือนรักษาหลักประกันบัฟเฟอร์ของโรงงานไว้ พร้อมปล่อยรถออกจากลาน

3. Where the specification stands today3. สถานะปัจจุบันของสเปก

The graph already carries the skeleton this proposal builds on — and one assumption it must correct:

graph มีโครงที่ข้อเสนอนี้ต่อยอดอยู่แล้ว — และมีหนึ่งข้อสมมติที่ต้องแก้:

4. Design principles4. หลักการออกแบบ

P1 · Walk-in firstP1 · วอล์กอินมาก่อน The system must be fully useful to a mill that never turns on booking. Digitizing the existing queue without changing its rules is the adoption wedge — the mill risks nothing, the farmer gains visibility on day one. ระบบต้องมีประโยชน์เต็มที่กับโรงงานที่ไม่เคยเปิดการจองเลย การแปลงคิวเดิมเป็นดิจิทัลโดยไม่เปลี่ยนกติกาคือลิ่มแห่งการเริ่มใช้ — โรงงานไม่เสี่ยงอะไร ชาวไร่เห็นคิวตั้งแต่วันแรก
P2 · Fairness is auditable, never assumedP2 · ความเป็นธรรมต้องตรวจสอบได้ ไม่ใช่สันนิษฐานเอา Queue position is money. The queue log is append-only; a position never changes without a recorded actor, reason and event. Priority classes and the booked-lane share are published policy on the queue board, never a quiet side door. This is what farmers' associations will judge us by. ลำดับคิวคือเงิน บันทึกคิวเป็น append-only ลำดับจะไม่เปลี่ยนโดยไม่มีผู้กระทำ เหตุผล และ event ที่บันทึกไว้ ชั้นลำดับพิเศษและสัดส่วนช่องจองเป็นนโยบายที่ประกาศบนป้ายคิว ไม่ใช่ประตูหลังเงียบ ๆ สมาคมชาวไร่จะตัดสินเราด้วยข้อนี้
P3 · Booking reserves capacity, it does not jump the queueP3 · การจองคือกันกำลังผลิตล่วงหน้า ไม่ใช่การแซงคิว A booked truck consumes the published booked-lane share of the day's capacity; the walk-in lane keeps its own share and its own FCFS order. A walk-in farmer never watches a later arrival pass them in their own lane. รถที่จองใช้สัดส่วนช่องจองที่ประกาศไว้ของกำลังผลิตวันนั้น ช่องวอล์กอินมีสัดส่วนและลำดับมาก่อนได้ก่อนของตัวเอง ชาวไร่วอล์กอินจะไม่มีวันเห็นรถที่มาทีหลังแซงในช่องของตน
P4 · Every level stands alone; data earns the next levelP4 · ทุกระดับยืนได้ด้วยตัวเอง ข้อมูลคือบันไดสู่ระดับถัดไป QL-0 needs no farmer behavior change and no mill rule change. The arrival/throughput data it produces is what makes QL-1 call-forward estimates honest and QL-2 slot sizing realistic. We never ask anyone to trust a model that hasn't been fed. QL-0 ไม่ต้องเปลี่ยนพฤติกรรมชาวไร่หรือกติกาโรงงาน ข้อมูลการมาถึง/อัตราหีบที่มันผลิต คือสิ่งที่ทำให้การประมาณเวลาเรียกคิวของ QL-1 ซื่อตรง และขนาดช่องเวลาของ QL-2 สมจริง เราไม่ขอให้ใครเชื่อโมเดลที่ยังไม่ถูกป้อนข้อมูล
P5 · The queue is the mill-acquisition leverP5 · คิวคือคานงัดดึงโรงงาน Farmer-facing plan/booking exists only against an enrolled, operating mill (Q-02 verdict). Farmers who taste QL-0/QL-1 visibility at one mill will demand it at their others — farmer pull, not platform push, is how the next mill enrolls. ฟีเจอร์วางแผน/จองฝั่งชาวไร่มีได้เฉพาะกับโรงงานที่เข้าร่วมและใช้งานแล้ว (คำวินิจฉัย Q-02) ชาวไร่ที่ได้ลิ้มรสการเห็นคิว QL-0/QL-1 ที่โรงงานหนึ่ง จะเรียกร้องที่โรงงานอื่นของตน — แรงดึงจากชาวไร่ ไม่ใช่แรงดันจากแพลตฟอร์ม คือวิธีที่โรงงานถัดไปเข้าร่วม

5. The adoption ladder — QL-0 … QL-35. บันไดการเริ่มใช้ — QL-0 … QL-3

A mill's QueuePolicy.queue_level selects one of four operating modes. Levels are cumulative; a mill can hold at any level indefinitely. The level is a per-mill feature enrollment in the PROP-016 framework sense, set by the mill with the operator.

QueuePolicy.queue_level ของโรงงานเลือกหนึ่งในสี่โหมด ระดับสะสมต่อกัน โรงงานหยุดอยู่ระดับใดก็ได้ไม่จำกัดเวลา ระดับคือการเปิดใช้ฟีเจอร์รายโรงงานตามกรอบ PROP-016 โดยโรงงานร่วมกับ operator

QL-0 Mirror — digitize the walk-in queue, change nothingMirror — แปลงคิววอล์กอินเป็นดิจิทัล ไม่เปลี่ยนอะไร core

Gate staff issue a digital queue ticket (บัตรคิว) as each truck joins — a seconds-fast flow: quota ID (driver-stated or read off the truck-side sticker tab, A-51) + plate + cane classification (Q-05). The digital sequence number IS the queue coin (coin_no), so the %N-### tag chain starts at the gate instead of the bridge. The queue board (big screen at the yard + public page) and the farmer's mobile show live position, queue length, and an honest ETA band. FCFS order is untouched — the platform is a mirror, not a referee.

เจ้าหน้าที่ประตูออกบัตรคิวดิจิทัลเมื่อรถแต่ละคันเข้าคิว — ไม่กี่วินาที: รหัสโควตา (คนขับแจ้งหรืออ่านจากแถบสติกเกอร์ข้างรถ ตาม A-51) + ทะเบียน + ชนิดอ้อย (Q-05) หมายเลขลำดับดิจิทัลคือเหรียญคิว (coin_no) ตัวเดียวกัน สาย %N-### จึงเริ่มที่ประตูแทนที่จะเริ่มที่เครื่องชั่ง ป้ายคิว (จอใหญ่ที่ลาน + หน้าเว็บสาธารณะ) และมือถือชาวไร่แสดงลำดับสด ความยาวคิว และช่วงเวลาโดยประมาณที่ซื่อตรง ลำดับมาก่อนได้ก่อนไม่ถูกแตะ — แพลตฟอร์มเป็นกระจก ไม่ใช่กรรมการ

Farmer gainsชาวไร่ได้Sees the queue before cutting/driving; stops waiting blind; ticket + position survive on the phone.เห็นคิวก่อนตัด/ก่อนขับ เลิกรอแบบตาบอด บัตรและลำดับอยู่บนมือถือ

Mill gainsโรงงานได้Live yard census, arrival-pattern data, fewer gate disputes, the %N-### tag born clean.สำมะโนลานแบบสด ข้อมูลรูปแบบการมาถึง ข้อพิพาทหน้าประตูลดลง แท็ก %N-### เกิดอย่างสะอาด

Prerequisite:เงื่อนไขก่อน: mill enrolled (PROP-006/016); gate tablet + board screen. No farmer account required — the ticket carries quota-level identity only (Section 12 Q-05).โรงงานเข้าร่วมแล้ว (PROP-006/016) แท็บเล็ตประตู + จอป้าย ไม่บังคับชาวไร่มีบัญชี — บัตรถือตัวตนระดับโควตาเท่านั้น (ข้อ 12 Q-05)

QL-1 Virtual queue — hold your place without your truckคิวเสมือน — ถือคิวได้โดยไม่ต้องเอารถมาจอด core

Queue position decouples from physical presence. A registered farmer/driver joins remotely (mobile) or at the gate and then leaves; the system calls forward in batches sized to live crush throughput ("come now — check in within your grace window"). Check-in at the gate (or a PROP-009 checkpoint stamp) re-materializes the position. No-show past grace: re-queued to tail once, then expired — audited, per published policy. This is the level that empties the 3,000-truck yard.

ลำดับคิวแยกจากการจอดจริง ชาวไร่/คนขับที่ลงทะเบียนเข้าคิวจากระยะไกล (มือถือ) หรือที่ประตูแล้วกลับได้ ระบบเรียกคิวเป็นชุดตามอัตราหีบจริง ("มาได้เลย — เช็กอินภายในช่วงผ่อนผัน") การเช็กอินที่ประตู (หรือประทับตราจุดตรวจ PROP-009) ทำให้ลำดับกลับมามีตัวตน ไม่มาตามคิวเกินช่วงผ่อนผัน: ต่อท้ายคิวใหม่หนึ่งครั้ง จากนั้นหมดอายุ — บันทึกตรวจสอบได้ตามนโยบายที่ประกาศ ระดับนี้คือระดับที่ทำให้ลานรถ 3,000 คันว่างลง

Farmer gainsชาวไร่ได้Truck and driver work (or rest) instead of camping; cane is cut nearer its call time — fresher cane, better CCS.รถและคนขับได้ทำงาน (หรือพัก) แทนการจอดค้าง อ้อยถูกตัดใกล้เวลาเรียกคิว — อ้อยสดขึ้น CCS ดีขึ้น

Mill gainsโรงงานได้Buffer guarantee preserved virtually (call-forward depth is configurable); yard congestion, road liability and community friction fall.หลักประกันบัฟเฟอร์คงอยู่แบบเสมือน (ความลึกการเรียกคิวตั้งค่าได้) ความแออัดของลาน ภาระถนน และแรงเสียดทานชุมชนลดลง

Prerequisite:เงื่อนไขก่อน: QL-0 running (throughput data feeds the call model); farmer notification channel (FR-09; app push only — Section 12 Q-08).QL-0 ใช้งานอยู่ (ข้อมูลอัตราหีบป้อนโมเดลเรียกคิว) ช่องทางแจ้งเตือนชาวไร่ (FR-09; push ผ่านแอปเท่านั้น — ข้อ 12 Q-08)

QL-2 Slotted booking — the plan feature, alongside walk-inจองคิวล่วงหน้า — ฟีเจอร์วางแผน คู่ขนานกับวอล์กอิน advantage

WF-03 booking becomes real, refined: farmers book a day + time window against the CrushingDay, drawing down booked_t within the published booked-lane share (e.g. 40% of capacity; the walk-in lane keeps the rest). Arriving inside the window checks straight into the booked lane; missing it demotes the booking to the walk-in tail (never silently cancelled). Booking eligibility can honor quota standing and the PROP-019 Q-01 tolerance controls at source.

การจองใน WF-03 กลายเป็นของจริงที่ละเอียดขึ้น: ชาวไร่จองวัน + ช่วงเวลากับ CrushingDay หัก booked_t ภายในสัดส่วนช่องจองที่ประกาศ (เช่น 40% ของกำลังผลิต ช่องวอล์กอินได้ส่วนที่เหลือ) มาถึงในช่วงเวลาเช็กอินเข้าช่องจองได้ทันที พลาดช่วงเวลาถูกลดชั้นไปต่อท้ายคิววอล์กอิน (ไม่มีวันถูกยกเลิกเงียบ ๆ) สิทธิ์จองอิงสถานะโควตาและตัวควบคุม tolerance จาก PROP-019 Q-01 ได้ตั้งแต่ต้นทาง

Farmer gainsชาวไร่ได้Certainty: cut against a slot, not against hope. Harvest plans, labor and trucks schedule around a time.ความแน่นอน: ตัดอ้อยตามช่องเวลา ไม่ใช่ตามความหวัง แผนเก็บเกี่ยว แรงงาน และรถ จัดตารางรอบเวลาได้

Mill gainsโรงงานได้Demand shaping: flatten the intra-day peak, steer fresh/burnt mix per slot, see tomorrow's intake today.ปรับรูปอุปสงค์: ลดพีคระหว่างวัน คุมส่วนผสมอ้อยสด/ไฟไหม้รายช่วงเวลา เห็นยอดรับพรุ่งนี้ตั้งแต่วันนี้

Prerequisite:เงื่อนไขก่อน: QL-1 stable for an agreed period; booked-lane share published on the board; per-mill booking-enablement flag (the Q-02 amendment) flips on here.QL-1 เสถียรตามระยะที่ตกลง สัดส่วนช่องจองประกาศบนป้าย ธงเปิดใช้การจองรายโรงงาน (รอบแก้ Q-02) เปิดที่ระดับนี้

QL-3 Managed intake — bookings primary, walk-in the exceptionบริหารการรับอ้อยเต็มรูป — จองเป็นหลัก วอล์กอินเป็นข้อยกเว้น advantage

The booked share grows toward dominance as farmer adoption allows; the walk-in lane never closes (a farmer without a phone must always be able to sell cane) but becomes the minority path. Optional, published priority classes activate — e.g. perishability triage (burnt cane approaching its 72 h limit) and fresh-cane/mechanical-harvest incentive lanes (E-02 shows priority queuing works as an incentive). Slotting can integrate harvest plans and quota drawdown for a season-long intake plan per quota chain.

สัดส่วนช่องจองขยายจนเป็นหลักตามการเริ่มใช้ของชาวไร่ ช่องวอล์กอินไม่มีวันปิด (ชาวไร่ที่ไม่มีโทรศัพท์ต้องขายอ้อยได้เสมอ) แต่กลายเป็นทางส่วนน้อย ชั้นลำดับพิเศษที่ประกาศแล้วเปิดใช้ได้ — เช่น การคัดกรองความเน่าเสีย (อ้อยไฟไหม้ใกล้ขีด 72 ชม.) และช่องจูงใจอ้อยสด/เก็บเกี่ยวด้วยเครื่องจักร (E-02 พิสูจน์ว่าคิวลำดับพิเศษใช้จูงใจได้จริง) การจัดช่องเวลาผูกแผนเก็บเกี่ยวและการหักโควตาเป็นแผนรับอ้อยทั้งฤดูรายสายโควตาได้

Farmer gainsชาวไร่ได้Cut-to-crush inside 24–48 h becomes the norm; CCS (and revenue) protected structurally.ตัดถึงหีบภายใน 24–48 ชม. เป็นเรื่องปกติ CCS (และรายได้) ถูกปกป้องเชิงโครงสร้าง

Mill gainsโรงงานได้Predictable season-long intake; fresher cane, higher recovery; the queue becomes a policy instrument.ยอดรับคาดการณ์ได้ทั้งฤดู อ้อยสดขึ้น สกัดได้มากขึ้น คิวกลายเป็นเครื่องมือเชิงนโยบาย

Prerequisite:เงื่อนไขก่อน: QL-2 with high booking adoption; priority classes agreed with the farmer associations and published (Section 12 Q-04).QL-2 ที่มีการจองแพร่หลาย ชั้นลำดับพิเศษตกลงกับสมาคมชาวไร่และประกาศแล้ว (ข้อ 12 Q-04)

6. Domain model6. โมเดลโดเมน

One new context, gate_queue (คิวรับอ้อย), sitting between the farmer surfaces and delivery_weighbridge. The queue ticket is its own aggregate — it exists before, and independently of, a Delivery (an anonymous QL-0 walk-in has a ticket but no Delivery until gate registration; a QL-2 booking has both from the start).

context ใหม่หนึ่งตัว gate_queue (คิวรับอ้อย) อยู่ระหว่างช่องทางชาวไร่กับ delivery_weighbridge บัตรคิวเป็น aggregate ของตัวเอง — เกิดก่อนและเป็นอิสระจาก Delivery (วอล์กอินนิรนามที่ QL-0 มีบัตรแต่ยังไม่มี Delivery จนกว่าจะลงทะเบียนที่ประตู ส่วนการจอง QL-2 มีทั้งคู่ตั้งแต่ต้น)

EntityEntityAttributes (proposed)แอตทริบิวต์ (เสนอ)Notesหมายเหตุ
QueueTicket
บัตรคิว
QT-25##-#####
queue_ticket_id, mill_id, crushing_day_id?, delivery_id?, quota_id, truck_id?, plate_snap, cane_type, channel (walk_in | remote | booking), crop_id?, checkpoint_id?, join_distance_km?, seq_no, lane_no?, lane_seq_no?, qr_token, priority_class, status, issued_at, est_call_at?, called_at?, checked_in_at?, closed_at, requeue_count, issued_byseq_no unique per mill per day and doubles as Delivery.coin_no at registration (Section 12 Q-02). delivery_id set at booking (QL-2) or gate registration. Append-only position log rides the event stream (NFR-33). Q-05: quota_id is mandatory at issuance (the A-51 capture); lane_no / lane_seq_no hold the designated lane and in-lane position; qr_token backs the ticket's QR status view. Q-06: crop_id / checkpoint_id / join_distance_km carry the remote-join provenance pre-fill.seq_no ไม่ซ้ำต่อโรงงานต่อวัน และเป็น Delivery.coin_no ตอนลงทะเบียน (ข้อ 12 Q-02) delivery_id กำหนดตอนจอง (QL-2) หรือลงทะเบียนที่ประตู บันทึกลำดับ append-only อยู่บนสาย event (NFR-33) Q-05: quota_id บังคับตั้งแต่ออกบัตร (การเก็บตาม A-51); lane_no / lane_seq_no เก็บช่องที่กำหนดและลำดับในช่อง; qr_token รองรับหน้าสถานะผ่าน QR ของบัตร Q-06: crop_id / checkpoint_id / join_distance_km เก็บข้อมูลที่มาที่กรอกล่วงหน้าของการเข้าคิวระยะไกล
QueuePolicy
นโยบายคิว
queue_policy_id, mill_id, season_id, queue_level (0–3), booked_share_pct, booked_share_mode (fixed | intelligent), booked_share_min_pct?, booked_share_max_pct?, grace_window_min, no_show_action (requeue_tail | expire), max_requeues, call_batch_size, remote_join, remote_join_geofence_km?, remote_join_min_band?, priority_classes[], board_privacy, effective_fromOne active policy per mill per season; changes are effective-forward and versioned (mirrors FR-96's schedule discipline). Every value on this row is what the queue board publishes. Q-03 decision: the booked share is portal-editable, and booked_share_mode = intelligent lets the platform auto-adjust within the min/max bounds — every adjustment versioned and published.นโยบายใช้งานหนึ่งชุดต่อโรงงานต่อฤดู การแก้มีผลไปข้างหน้าและเก็บเวอร์ชัน (ตามวินัยตาราง FR-96) ทุกค่าบนแถวนี้คือสิ่งที่ป้ายคิวประกาศ คำตัดสิน Q-03: สัดส่วนช่องจองแก้ได้จาก portal และ booked_share_mode = intelligent ให้ platform ปรับอัตโนมัติภายในขอบเขต min/max — ทุกการปรับเก็บเวอร์ชันและประกาศ Q-06: remote_join_geofence_km จำกัดพื้นที่ที่เข้าคิวระยะไกลได้; remote_join_min_band คือชั้นความน่าเชื่อถือขั้นต่ำตาม PROP-024

6.1 Queue-ticket state machine6.1 state machine ของบัตรคิว

FromจากEventToไปGuardเงื่อนไข
—QueueTicketIssuedwaiting (รอคิว)Queue open; per-channel eligibility (remote requires registered farmer + enrolled mill); truck has no other open ticket at this mill.คิวเปิดอยู่ เงื่อนไขรายช่องทาง (ระยะไกลต้องเป็นชาวไร่ลงทะเบียน + โรงงานเข้าร่วม) รถไม่มีบัตรค้างที่โรงงานนี้
waitingQueueCalledcalled (เรียกแล้ว)Head of lane within the call batch; est grace deadline stamped.หัวช่องภายในชุดเรียก ประทับเส้นตายช่วงผ่อนผัน
calledQueueCheckedInchecked_in (เช็กอินแล้ว)Within grace window; gate or checkpoint check-in; walk-in tickets at QL-0 skip called and check in on physical arrival.ภายในช่วงผ่อนผัน เช็กอินที่ประตูหรือจุดตรวจ บัตรวอล์กอินที่ QL-0 ข้าม called เช็กอินเมื่อถึงจริง
checked_inDeliveryHandbackserved (รับบริการแล้ว · terminal)Gate registration creates/attaches the Delivery (walk-in entry path per the Q-02 amendment) and TruckArrived fires; the ticket's job is done.การลงทะเบียนประตูสร้าง/ผูก Delivery (ทางเข้า walk-in ตามรอบแก้ Q-02) และ TruckArrived ยิง หน้าที่ของบัตรจบ
calledQueueExpiredwaiting · expiredGrace exceeded → per policy: re-queue to tail (once, requeue_count+1) then expired (terminal). Always evented, never silent.เกินช่วงผ่อนผัน → ตามนโยบาย: ต่อท้ายคิวใหม่ (ครั้งเดียว requeue_count+1) จากนั้น expired (terminal) มี event เสมอ ไม่เงียบ
waiting · calledQueueCancelledcancelled (ยกเลิก · terminal)By the holder (mobile/gate) any time before check-in; a QL-2 booking cancel also releases booked_t in the same transaction (answers gate Q-03 for the queue path).โดยผู้ถือบัตร (มือถือ/ประตู) ก่อนเช็กอิน การยกเลิกการจอง QL-2 คืน booked_t ใน transaction เดียวกัน (ตอบ Q-03 ของ gate สำหรับเส้นทางคิว)

Delivery state machine touch. Unchanged states; two amendments land with this proposal (superseding the interim Q1 wording where they overlap): (a) the walk-in entry path — gate registration creates the Delivery directly into arrived with queue_ticket_id attached; (b) booked → cancelled gains the actor set (holder, or mill with reason) and the booked_t release effect. Day close expires all open tickets and stale bookings by policy — gate Q-03's disposal rule.

ผลต่อ state machine ของ delivery สถานะคงเดิม มีสองการแก้มากับข้อเสนอนี้ (ทับถ้อยคำชั่วคราวของรอบ Q1 เมื่อซ้อนกัน): (ก) ทางเข้า walk-in — การลงทะเบียนประตูสร้าง Delivery เข้าสถานะ arrived โดยตรงพร้อมผูก queue_ticket_id (ข) booked → cancelled ได้ชุดผู้กระทำ (ผู้ถือ หรือโรงงานพร้อมเหตุผล) และผลคืน booked_t การปิดวันทำให้บัตรค้างและการจองค้างหมดอายุตามนโยบาย — กติกาเก็บกวาดของ Q-03

6.2 Events6.2 Events

QueueTicketIssued · QueueCalled · QueueCheckedIn · QueueExpired · QueueCancelled · QueueFrozen — producer gate_queue; consumers: the existing queue read-model (board), mobile, notifications, delivery_weighbridge (served handback). QueueFrozen is the mechanism behind FR-30's "bookings freeze" on a mid-day capacity cut (gate Q-18): freezing stops issuance and calls while honoring checked-in trucks.producer คือ gate_queue; consumers: read-model queue เดิม (ป้าย), mobile, notifications, delivery_weighbridge (ส่งมอบตอน served) QueueFrozen คือกลไกเบื้องหลัง "bookings freeze" ของ FR-30 เมื่อลดกำลังผลิตกลางวัน (Q-18): การแช่แข็งหยุดการออกบัตรและการเรียก แต่ยังรับรถที่เช็กอินแล้ว

7. Workflows (proposed WF-45…48)7. Workflow (เสนอ WF-45…48)

WFNameชื่อSubstanceสาระ
WF-45Walk-in queue intake (QL-0+)รับคิววอล์กอิน (QL-0+)Gate issues ticket (plate + cane type, ≤10 s) → board/mobile position live → physical FCFS call → check-in → gate registration creates Delivery (arrived) → hands off to WF-03 step 3. Offline: gate LAN issues from a reserved per-gate seq_no range, syncs upstream (aligned with the gate Q-06 resolution).ประตูออกบัตร (ทะเบียน + ชนิดอ้อย ≤10 วิ) → ลำดับสดบนป้าย/มือถือ → เรียกตามมาก่อนได้ก่อน → เช็กอิน → ลงทะเบียนประตูสร้าง Delivery (arrived) → ส่งต่อ WF-03 ขั้น 3 ออฟไลน์: LAN ประตูออกจากช่วง seq_no สำรองรายประตู แล้ว sync ขึ้น (สอดคล้องการแก้ Q-06)
WF-46Remote join & call-forward (QL-1+)เข้าคิวระยะไกลและเรียกคิว (QL-1+)Farmer joins on mobile (mill + day + truck + cane type) → est_call_at band shown and updated → QueueCalled notification (FR-09) with grace deadline → check-in at gate/checkpoint → as WF-45. No-show branch per policy (re-queue once → expire).ชาวไร่เข้าคิวบนมือถือ (โรงงาน + วัน + รถ + ชนิดอ้อย) → แสดงและอัปเดตช่วง est_call_at → แจ้งเตือน QueueCalled (FR-09) พร้อมเส้นตายผ่อนผัน → เช็กอินที่ประตู/จุดตรวจ → ต่อแบบ WF-45 กิ่ง no-show ตามนโยบาย (ต่อท้ายหนึ่งครั้ง → หมดอายุ)
WF-47Queue console operations (mill)ปฏิบัติการคอนโซลคิว (โรงงาน)Open/pause/freeze the queue (freeze = the Q-18 mechanism, tied to a CrushingDay capacity cut); tune call batch/depth; resolve exceptions (lost phone, plate mismatch); every manual reorder demands actor + reason and emits an audited event; day close expires open tickets (Q-03 disposal).เปิด/พัก/แช่แข็งคิว (แช่แข็ง = กลไก Q-18 ผูกกับการลดกำลังผลิตของ CrushingDay) ปรับชุด/ความลึกการเรียก จัดการข้อยกเว้น (โทรศัพท์หาย ทะเบียนไม่ตรง) การจัดลำดับด้วยมือทุกครั้งต้องมีผู้กระทำ + เหตุผลและยิง event ตรวจสอบได้ การปิดวันทำให้บัตรค้างหมดอายุ (การเก็บกวาดของ Q-03)
WF-48Blended intake — booked lane + walk-in lane (QL-2+)รับอ้อยผสม — ช่องจอง + ช่องวอล์กอิน (QL-2+)Amends WF-03 step 1: booking targets a day + window within booked_share_pct; window arrival checks into the booked lane; window miss demotes to walk-in tail (evented); lane shares recompute on capacity change. The existing "no waitlist for bookings — offer next 3 open days" decision stands.แก้ WF-03 ขั้น 1: การจองระบุวัน + ช่วงเวลาภายใน booked_share_pct มาถึงในช่วงเวลาเข้าช่องจอง พลาดช่วงเวลาถูกลดชั้นไปท้ายวอล์กอิน (มี event) สัดส่วนช่องคำนวณใหม่เมื่อกำลังผลิตเปลี่ยน คำตัดสินเดิม "การจองไม่มี waitlist — เสนอ 3 วันถัดไป" คงอยู่

8. Requirements (proposed FR-109…116 · NFR-33…35)8. ความต้องการ (เสนอ FR-109…116 · NFR-33…35)

IDRequirementความต้องการLevelระดับSurfacesช่องทาง
FR-109Digital queue ticket: gate issuance ≤10 s, seq_no unique per mill/day, position integrity (append-only log; no silent reorder ever).บัตรคิวดิจิทัล: ออกที่ประตู ≤10 วิ seq_no ไม่ซ้ำต่อโรงงาน/วัน ความถูกต้องของลำดับ (log แบบ append-only ห้ามจัดลำดับเงียบ ๆ)QL-0portal
FR-110Live queue visibility: yard board display mode + farmer mobile position + honest ETA band (estimate ± confidence, from live throughput; never a bare point promise). Each ticket carries a QR code opening its own live status view — queue length, trucks ahead, designated lane + lane number, own position in lane — no account needed (Q-05).เห็นคิวสด: โหมดจอป้ายที่ลาน + ลำดับบนมือถือชาวไร่ + ช่วงเวลาประมาณที่ซื่อตรง (ค่าประมาณ ± ความเชื่อมั่น จากอัตราหีบจริง ไม่ใช่คำมั่นตัวเลขเดี่ยว) บัตรทุกใบมี QR เปิดหน้าสถานะสดรายบัตร — ความยาวคิว จำนวนรถข้างหน้า ช่องที่กำหนด + หมายเลขช่อง และลำดับของตนในช่อง — โดยไม่ต้องมีบัญชี (Q-05)QL-0portal · mobile · board
FR-111Remote join, call-forward batches sized to live crush rate, grace windows, no-show policy (re-queue once → expire), check-in at gate or PROP-009 checkpoint. Remote join is bounded per Q-06: provenance pre-fill (farm / crop / quota farmer), PROP-024 reliability-score gating + arrival-forecast weighting, mill-set geofence, checkpoint stamp + distance; available on both the walk-in and booking channels.เข้าคิวระยะไกล เรียกคิวเป็นชุดตามอัตราหีบจริง ช่วงผ่อนผัน นโยบาย no-show (ต่อท้ายหนึ่งครั้ง → หมดอายุ) เช็กอินที่ประตูหรือจุดตรวจ PROP-009 การเข้าคิวระยะไกลมีขอบเขตตาม Q-06: ข้อมูลที่มากรอกล่วงหน้า (ไร่ / crop / ชาวไร่โควตา), เงื่อนไขและการถ่วงน้ำหนักพยากรณ์ด้วยคะแนนความน่าเชื่อถือ PROP-024, geofence ที่โรงงานกำหนด, ตราจุดตรวจ + ระยะทาง; ใช้ได้ทั้งช่องวอล์กอินและช่องจองQL-1mobile · portal
FR-112Queue console: open/pause/freeze, call control, exception handling, live lane stats; freeze fires automatically on the FR-30 mid-day capacity cut per the gate's A-18 verdict (honors checked-in trucks); the manual switch remains for other cases.คอนโซลคิว: เปิด/พัก/แช่แข็ง ควบคุมการเรียก จัดการข้อยกเว้น สถิติช่องสด การแช่แข็งทำงานอัตโนมัติเมื่อลดกำลังผลิตกลางวันตาม FR-30 ตามคำวินิจฉัย A-18 ของ gate (ยังรับรถที่เช็กอินแล้ว) สวิตช์มือยังอยู่สำหรับกรณีอื่นQL-0portal
FR-113Slotted booking within the published booked-lane share; window check-in; window-miss demotion to walk-in tail; cancel releases booked_t transactionally; on an A-18 capacity cut, excess booked tonnage bumps to the next open day last-booked-first (earliest bookings keep their slot) with farmer notification + keep/cancel choice.การจองแบบช่วงเวลาภายในสัดส่วนช่องจองที่ประกาศ เช็กอินตามช่วงเวลา พลาดช่วงเวลาลดชั้นไปท้ายวอล์กอิน ยกเลิกคืน booked_t แบบ transactional; เมื่อลดกำลังหีบตาม A-18 ตันจองที่เกินถูก bump ไปวันเปิดถัดไปแบบจองหลังโดนก่อน (จองก่อนได้สิทธิ์คงเดิม) พร้อมแจ้งเตือนชาวไร่ + เลือกคง/ยกเลิกQL-2mobile · portal
FR-114Priority classes — opt-in, published on the board and in policy: perishability triage; fresh-cane / mechanical-harvest incentive lanes. Never unpublished priority.ชั้นลำดับพิเศษ — เลือกเปิด ประกาศบนป้ายและในนโยบาย: คัดกรองความเน่าเสีย ช่องจูงใจอ้อยสด/เก็บเกี่ยวด้วยเครื่องจักร ห้ามลำดับพิเศษที่ไม่ประกาศQL-3portal
FR-115Queue analytics: wait-time distribution, camped-truck count, cut-to-crush hours, no-show rate, lane utilization — per day/season, mill console + platform ops.วิเคราะห์คิว: การกระจายเวลารอ จำนวนรถจอดค้าง ชั่วโมงตัดถึงหีบ อัตรา no-show การใช้ช่อง — รายวัน/ฤดู บนคอนโซลโรงงาน + ops แพลตฟอร์มQL-0portal · admin
FR-116Queue notifications (extends FR-09): position milestones, QueueCalled with grace deadline, expiry warnings; channel = mobile-app push only (no SMS — Q-08 dropped). Plus factory announcements — downtime (PROP-032), pace changes, general notices — pushed to all open-ticket holders (Q-05).แจ้งเตือนคิว (ต่อยอด FR-09): หมุดลำดับ, QueueCalled พร้อมเส้นตายผ่อนผัน, เตือนใกล้หมดอายุ ช่องทาง = push ผ่านแอปมือถือเท่านั้น (ไม่มี SMS — Q-08 ตัดออก) รวมประกาศโรงงาน — downtime (PROP-032) การปรับจังหวะหีบ ประกาศทั่วไป — ส่งถึงผู้ถือบัตรที่เปิดอยู่ทุกราย (Q-05)QL-1mobile
NFR-33Fairness auditability: the queue log is append-only; any position change carries actor + reason + event; the board and policy always agree (what is enforced is what is published).ความเป็นธรรมตรวจสอบได้: log คิวเป็น append-only การเปลี่ยนลำดับทุกครั้งมีผู้กระทำ + เหตุผล + event ป้ายกับนโยบายต้องตรงกันเสมอ (สิ่งที่บังคับใช้คือสิ่งที่ประกาศ)——
NFR-34Scale & offline: 3,000+ active tickets per mill; board refresh ≤5 s; gate issuance continues LAN-local offline (reserved seq_no ranges per gate, NFR-01/NFR-03 discipline).สเกลและออฟไลน์: บัตรคิวใช้งาน 3,000+ ใบต่อโรงงาน ป้ายรีเฟรช ≤5 วิ ประตูออกบัตรต่อได้แบบ LAN ออฟไลน์ (ช่วง seq_no สำรองรายประตู ตามวินัย NFR-01/NFR-03)——
NFR-35ETA honesty: estimates always show a band, degrade gracefully to "position only" when the model lacks data, and are measured (predicted vs actual call time published in FR-115 analytics).ความซื่อตรงของเวลาโดยประมาณ: ค่าประมาณแสดงเป็นช่วงเสมอ ลดรูปเป็น "ลำดับอย่างเดียว" เมื่อโมเดลขาดข้อมูล และถูกวัดผล (เวลาเรียกที่ทำนาย vs จริง เผยแพร่ในวิเคราะห์ FR-115)——

9. Surfaces & screens9. ช่องทางและหน้าจอ

Screenหน้าจอSurfaceช่องทางSubstanceสาระ
mill-queueportalThe queue console (WF-47): lanes side by side, call controls, exception drawer, policy summary, freeze switch tied to mill-csd (auto-engaged by an A-18 capacity cut, alongside the remaining-capacity forecast). mill-wb gains a "next up" strip fed by the called batch.คอนโซลคิว (WF-47): ช่องคิวเคียงกัน ปุ่มเรียกคิว ลิ้นชักข้อยกเว้น สรุปนโยบาย สวิตช์แช่แข็งผูกกับ mill-csd (ทำงานอัตโนมัติเมื่อลดกำลังหีบตาม A-18 พร้อมพยากรณ์กำลังคงเหลือ) โดย mill-wb ได้แถบ "คิวถัดไป" จากชุดที่เรียกแล้ว
mill-queue-boardportal (display mode)Full-screen kiosk board for the yard TV: now-serving, next batch, lane shares, policy line, queue numbers only — no plates — per board_privacy = seq_only (PDPA — Q-07 decided). Also served as a public read-only page per mill.ป้ายคิวเต็มจอสำหรับทีวีที่ลาน: กำลังเรียก ชุดถัดไป สัดส่วนช่อง บรรทัดนโยบาย แสดงเฉพาะหมายเลขคิว — ไม่มีทะเบียน — ตาม board_privacy = seq_only (PDPA — Q-07 ตัดสินแล้ว) และเสิร์ฟเป็นหน้าอ่านอย่างเดียวสาธารณะรายโรงงาน
qm-01 / qm-02mobileJoin queue (mill + day + truck + cane type) and My ticket (live position, ETA band, called state with countdown, cancel; bumped-booking notice per A-18 with keep / cancel). Extends the existing booking flow rather than forking it — one "plan" home.เข้าคิว (โรงงาน + วัน + รถ + ชนิดอ้อย) และบัตรของฉัน (ลำดับสด ช่วงเวลาโดยประมาณ สถานะเรียกแล้วพร้อมนับถอยหลัง ยกเลิก การแจ้งการจองถูกย้ายตาม A-18 พร้อมเลือกคง/ยกเลิก) ต่อยอด flow จองเดิม ไม่แยกสาย — หน้า "วางแผน" เดียว
admin (ops)adminPer-mill queue-level enrollment (with the operator), policy review, cross-mill queue KPIs (FR-115).การเปิดระดับคิวรายโรงงาน (ร่วมกับ operator) ทบทวนนโยบาย KPI คิวข้ามโรงงาน (FR-115)

10. Rollout & competitive strategy10. แผนเปิดตัวและกลยุทธ์การแข่งขัน

The pitch to a mill is deliberately humble at first contact: "keep your rules, get a mirror" — QL-0 costs the mill a tablet and a TV, and immediately returns a live yard census plus cleaner %N-### tags. The pitch to the farmer is the queue board in their pocket. The escalation to QL-1 is where the industry pain actually breaks (trucks stop camping), and by then the mill's own throughput data — accumulated since QL-0 — makes the call model trustworthy. QL-2 booking is the platform's moat: it is only possible because the walk-in lane is already digital, and it is only available to farmers whose mills run on Cane Agency. Success metrics (FR-115): median gate wait, camped-truck count at 06:00, cut-to-crush hours, % intake booked, predicted-vs-actual call accuracy.

คำเสนอต่อโรงงานตั้งใจให้ถ่อมตัวในการพบครั้งแรก: "กติกาของท่านคงเดิม ได้กระจกเงาเพิ่ม" — QL-0 มีต้นทุนแค่แท็บเล็ตกับทีวี และคืนสำมะโนลานสด + แท็ก %N-### ที่สะอาดขึ้นทันที คำเสนอต่อชาวไร่คือป้ายคิวในกระเป๋า การยกระดับสู่ QL-1 คือจุดที่ความเจ็บปวดของอุตสาหกรรมคลายจริง (รถเลิกจอดค้าง) และถึงตอนนั้นข้อมูลอัตราหีบของโรงงานเอง — สะสมตั้งแต่ QL-0 — ทำให้โมเดลเรียกคิวน่าเชื่อถือ การจอง QL-2 คือคูเมืองของแพลตฟอร์ม: เป็นไปได้ก็เพราะช่องวอล์กอินเป็นดิจิทัลแล้ว และเปิดให้เฉพาะชาวไร่ที่โรงงานของตนใช้ Cane Agency ตัววัดความสำเร็จ (FR-115): เวลารอมัธยฐาน จำนวนรถจอดค้างตอน 06:00 ชั่วโมงตัดถึงหีบ % ยอดรับที่จอง ความแม่นของเวลาเรียกที่ทำนาย

11. Impact matrix11. ตารางผลกระทบ

Layerชั้นChangeการเปลี่ยนแปลง
graph · contexts+gate_queue (entities QueueTicket, QueuePolicy; edge to delivery_weighbridge).+gate_queue (entity QueueTicket, QueuePolicy; edge สู่ delivery_weighbridge)
graph · states+queueTicketStateMachine; delivery walk-in entry amendment; Cancel actor/effect wording.+state machine บัตรคิว; แก้ทางเข้า walk-in ของ delivery; ถ้อยคำผู้กระทำ/ผลของ Cancel
graph · events / workflows / requirements+6 events · WF-45…48 (+WF-03/WF-10 spec-step amendments) · FR-109…116, NFR-33…35 (+FR-30 freeze mechanism wording; FR-09/FR-100 cross-refs). IDs renumber on acceptance if intervening proposals land first.+6 event · WF-45…48 (+แก้ขั้นตอนใน WF-03/WF-10) · FR-109…116, NFR-33…35 (+ถ้อยคำกลไก freeze ของ FR-30; อ้างโยง FR-09/FR-100) เลขจะขยับตอนรับหากมีข้อเสนอแทรกก่อน
graph · uix / copy / glossary+mill-queue, mill-queue-board, qm-01/02 screen specs + qm.* bilingual copy keys; glossary +บัตรคิว (queue ticket), คิวเสมือน (virtual queue), ช่องจอง (booked lane).+สเปกหน้าจอ mill-queue, mill-queue-board, qm-01/02 + คีย์ข้อความสองภาษา qm.*; อภิธานศัพท์ +บัตรคิว คิวเสมือน ช่องจอง
docsSPEC-PRD/PWF/UIX-MILL (queue chapters at PROP-019 depth), SPEC-PRD/UIX-CFQ & CFC (mobile queue flows), SPEC-ERD/DDD-MILL (context, aggregate, lifetimes), masters + SPEC-INDEX.SPEC-PRD/PWF/UIX-MILL (บทคิวที่ความลึกระดับ PROP-019), SPEC-PRD/UIX-CFQ & CFC (flow คิวมือถือ), SPEC-ERD/DDD-MILL (context, aggregate, lifetime), เอกสารหลัก + SPEC-INDEX
apps / webNone now (apps/ waits for the finalized spec, project rule); web/ gains a queue-story section for mills and farmers after acceptance.ยังไม่มี (apps/ รอสเปกสรุป ตามกติกาโปรเจกต์); web/ เพิ่มส่วนเล่าเรื่องคิวสำหรับโรงงานและชาวไร่หลังรับข้อเสนอ

12. Open questions12. คำถามเปิด

Q-01 Ticket-first model confirmed?ยืนยันโมเดลบัตรมาก่อน?

QueueTicket as its own aggregate preceding Delivery (Section 6) vs. queue state folded onto Delivery. Ticket-first supports anonymous QL-0 walk-ins and keeps the delivery machine untouched.

QueueTicket เป็น aggregate ของตัวเองมาก่อน Delivery (ข้อ 6) หรือพับสถานะคิวเข้ากับ Delivery แบบบัตรมาก่อนรองรับวอล์กอินนิรนามที่ QL-0 และไม่แตะ state machine ของ delivery

Recommend:แนะนำ: ticket-first.บัตรมาก่อน

Q-02 Does seq_no become coin_no — one number space?seq_no เป็น coin_no — เลขชุดเดียวกัน?

Unifying makes the %N-### tag traceable from queue entry to CCS re-note, and physical coins can be retired per mill. But mills with entrenched coin practices may need a mapping period instead.

การรวมทำให้แท็ก %N-### ตามรอยได้ตั้งแต่เข้าคิวถึง re-note CCS และเลิกเหรียญจริงรายโรงงานได้ แต่โรงงานที่ติดธรรมเนียมเหรียญอาจต้องมีช่วง mapping แทน

Recommend:แนะนำ: unify, with a per-mill legacy-coin mapping switch.รวม พร้อมสวิตช์ mapping เหรียญเดิมรายโรงงาน

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): PROP-029 (accepted, spec v0.6.0) modeled the physical coin as platform entities — Token · TokenIssuance — with the scheme (rails, colors, number ranges, A/B alternation) as per-mill config; digital mirroring is now graph fact. Whether seq_no unifies with the token number stays open here (the delivery-ID half is PROP-021 OQ-4).PROP-029 (รับแล้ว spec v0.6.0) สร้างเหรียญจริงเป็น entity ของ platform — Token · TokenIssuance — โดยรูปแบบ (ราง สี ช่วงเลข การสลับ A/B) เป็น config รายโรงงาน การสะท้อนดิจิทัลเป็นข้อเท็จจริงใน graph แล้ว ส่วน seq_no จะรวมกับเลขเหรียญหรือไม่ยังเปิดอยู่ที่นี่ (ครึ่งเลขส่งมอบเป็นของ PROP-021 OQ-4)

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): PROP-033 (client concept, drafted from this very question) proposes the NFC reusable queue coin: the chip's nfc_uid becomes the primary identity and both seq_no and coin_no become display attributes mapped through the same coin — at NFC mills this question reduces to per-mill display-numbering policy.PROP-033 (แนวคิดลูกค้า ร่างจากคำถามข้อนี้เอง) เสนอเหรียญคิว NFC ใช้ซ้ำได้: nfc_uid ของชิปเป็นอัตลักษณ์หลัก ทั้ง seq_no และ coin_no เป็นเพียงเลขแสดงผลที่ map ผ่านเหรียญเดียวกัน — ที่โรงงาน NFC คำถามนี้ลดเหลือนโยบายเลขแสดงผลรายโรงงาน

Q-03 Booked-lane share: fixed % per day, or dynamic?สัดส่วนช่องจอง: % คงที่รายวัน หรือพลวัต?

Fixed is transparent and board-friendly; dynamic (unused booked share spills to walk-in intraday) is efficient but harder to explain. Spill timing also interacts with the call model.

คงที่โปร่งใสและสื่อบนป้ายง่าย พลวัต (ช่องจองที่ไม่ใช้ไหลไปวอล์กอินระหว่างวัน) มีประสิทธิภาพแต่อธิบายยาก จังหวะการไหลยังพันกับโมเดลเรียกคิว

Recommend:แนะนำ: fixed % with a published end-of-window spill rule.% คงที่ พร้อมกติกาไหลปลายช่วงเวลาที่ประกาศ

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): both, the mill's choice. The booked-lane share/count is configurable and updatable from the factory portal (joins the Q-50 Factory Settings family; effective-forward, versioned, published on the queue board), and the mill may additionally enable an intelligent dynamic mode where the platform auto-adjusts the share within mill-set bounds from parameters under consideration — capacity forecast & downtime (PROP-032), intraday queue depth, no-show/reliability history (PROP-024), weather/harvest signals. Every automatic adjustment is logged and published (P2 auditable fairness). QueuePolicy gains booked_share_mode + bounds (Section 6). Q-06: remote_join_geofence_km bounds where a remote join may originate; remote_join_min_band is the PROP-024 reliability floor.ทั้งสองแบบ ตามที่โรงงานเลือก สัดส่วน/จำนวนช่องจองตั้งค่าและแก้ไขได้จาก portal โรงงาน (เข้าครอบครัว Factory Settings ตาม Q-50; มีผลไปข้างหน้า เก็บเวอร์ชัน ประกาศบนป้ายคิว) และโรงงานเปิดโหมดอัจฉริยะแบบพลวัตเพิ่มได้ ให้ platform ปรับสัดส่วนอัตโนมัติภายในขอบเขตที่โรงงานกำหนด จากพารามิเตอร์ที่พิจารณา — พยากรณ์กำลังหีบและ downtime (PROP-032) ความลึกคิวระหว่างวัน ประวัติ no-show/ความน่าเชื่อถือ (PROP-024) สัญญาณอากาศ/การเก็บเกี่ยว ทุกการปรับอัตโนมัติบันทึกและประกาศ (ความเป็นธรรมตรวจสอบได้ตาม P2) QueuePolicy เพิ่ม booked_share_mode + ขอบเขต (ข้อ 6)

Q-04 Priority classes — which are permissible day one?ชั้นลำดับพิเศษ — แบบไหนอนุญาตได้ตั้งแต่วันแรก?

Perishability triage is defensible (E-06 rot losses harm everyone). Fresh-cane/mechanical incentive lanes are proven motivators (E-02) but politically sensitive with farmer associations — and priority is already traded informally (E-07). Who signs off: mill alone, or mill + association?

การคัดกรองความเน่าเสียปกป้องได้ (ความสูญเสียจากอ้อยเน่าใน E-06 กระทบทุกฝ่าย) ช่องจูงใจอ้อยสด/เครื่องจักรพิสูจน์แล้วว่าจูงใจได้ (E-02) แต่อ่อนไหวทางการเมืองกับสมาคมชาวไร่ — และลำดับพิเศษถูกแลกเปลี่ยนนอกระบบอยู่แล้ว (E-07) ใครอนุมัติ: โรงงานฝ่ายเดียว หรือโรงงาน + สมาคม?

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): A-31/PROP-024 have since bound privilege to slot access through reliability bands (B-0…B-3) with a hard rule — privileges never reorder trucks within a lane and never gate the walk-in lane. Any day-one priority class must respect that; ladder reconciliation is PROP-024 OQ-9.A-31/PROP-024 ผูกสิทธิพิเศษกับการเข้าถึง slot ผ่านชั้นความน่าเชื่อถือ (B-0…B-3) พร้อมกติกาแข็ง — สิทธิพิเศษไม่จัดลำดับรถใหม่ในช่องเดียวกัน และไม่ปิดกั้นช่อง walk-in ชั้นลำดับพิเศษวันแรกต้องเคารพกติกานี้; การปรับบันไดเป็นของ PROP-024 OQ-9

DECIDED (client, 17 Jul 2026) — deferred:ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569) — เลื่อนไปก่อน: no priority classes day one. The concept is kept as a future competitive-advantage agenda: an opt-in paid-tier feature (PROP-016 framework) a factory can enable later. A dedicated draft proposal — PROP-034, drafted the same day — explores it comprehensively — permissible class types, mill-vs-association sign-off, the PROP-024 never-reorder/never-gate-walk-in rule, board transparency, packaging. Until that proposal is drafted and accepted, priority_classes[] stays in QueuePolicy as an empty-by-default placeholder and QL-3's class list ships empty.วันแรกไม่มีชั้นลำดับพิเศษ เก็บแนวคิดนี้เป็นวาระอนาคตเพื่อความได้เปรียบทางการแข่งขัน: ฟีเจอร์ paid tier แบบ opt-in (กรอบ PROP-016) ที่โรงงานเปิดใช้ภายหลังได้ จะมีข้อเสนอฉบับร่างเฉพาะ — PROP-034 ร่างวันเดียวกัน — สำรวจอย่างครอบคลุม — ประเภทชั้นที่อนุญาตได้ การอนุมัติโรงงาน vs สมาคม กติกาไม่จัดลำดับใหม่/ไม่ปิดกั้น walk-in ของ PROP-024 ความโปร่งใสบนป้าย การจัดแพ็กเกจ ก่อนข้อเสนอนั้นร่างและถูกรับ priority_classes[] คงอยู่ใน QueuePolicy เป็น placeholder ว่างโดยค่าเริ่มต้น และรายการชั้นของ QL-3 เริ่มต้นว่าง

Q-05 Anonymous QL-0 tickets — how much identity at queue entry?บัตร QL-0 นิรนาม — ต้องระบุตัวตนแค่ไหนตอนเข้าคิว?

Plate-only tickets maximize QL-0 throughput but delay the quota/farmer link to gate registration. Requiring a registered truck (FR-29 registry) at issuance strengthens data but slows the two-tap flow.

บัตรระบุแค่ทะเบียนทำให้ QL-0 เร็วสุด แต่เลื่อนการผูกโควตา/ชาวไร่ไปตอนลงทะเบียนประตู การบังคับรถลงทะเบียน (ทะเบียน FR-29) ตอนออกบัตรทำให้ข้อมูลแน่นขึ้นแต่ช้าลง

Recommend:แนะนำ: plate-only allowed at QL-0; registry lookup opportunistic; identity firms up by QL-1 (remote join requires an account).QL-0 อนุญาตแค่ทะเบียน ค้นทะเบียนรถแบบฉวยโอกาส ตัวตนแน่นขึ้นที่ QL-1 (เข้าคิวระยะไกลต้องมีบัญชี)

Answered de facto (17 Jul 2026):ตอบโดยพฤตินัยแล้ว (17 ก.ค. 2569): A-51 (Q2 gate, 16 Jul 2026) decided the booth’s identity capture: the QUOTA ID — stated by the driver or read off the truck-side quota-ID sticker tab; per-sub-farmer capture at the gate is dropped (assignment happens later on q-net), and the plate stays a hint, never the key. Queue entry therefore carries quota-level identity at every QL, no farmer account required — the plate-only option is dead.A-51 (ด่าน Q2, 16 ก.ค. 2569) ตัดสินการเก็บตัวตนที่จุดแจ้งคิว: รหัสโควตา — คนขับแจ้ง หรืออ่านจากแถบสติกเกอร์รหัสโควตาข้างรถ; ตัดการระบุลูกไร่ที่ประตู (ไปกำหนดทีหลังบน q-net) และทะเบียนรถเป็นเพียงตัวช่วย ไม่ใช่คีย์ การเข้าคิวจึงถือตัวตนระดับโควตาทุก QL โดยไม่ต้องมีบัญชีชาวไร่ — ทางเลือกระบุแค่ทะเบียนตกไป

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): confirms A-51 and extends to the ticket itself. Every queue ticket — at every QL — binds the quota ID, embeds the license plate, and pre-empts the cane classification at issuance (quota_id + plate_snap + cane_type all mandatory on QueueTicket). The ticket carries a QR code (qr_token) the driver scans to open its live status view: queue length, how many trucks are ahead, the designated lane and lane number, and the truck's own position within the lane (FR-110). The same ticket channel delivers factory announcements to the driver — downtime notices (PROP-032 LineDowntime), pace changes, anything the mill publishes (FR-116). No account needed to scan; the view is per-ticket and respects board privacy (Q-07).ยืนยัน A-51 และขยายถึงตัวบัตร บัตรคิวทุกใบ — ทุกระดับ QL — ผูกรหัสโควตา ฝังทะเบียนรถ และระบุชนิดอ้อยล่วงหน้าตั้งแต่ออกบัตร (quota_id + plate_snap + cane_type บังคับทั้งหมดบน QueueTicket) บัตรมี QR code (qr_token) ให้คนขับสแกนเปิดหน้าสถานะสดของตัวเอง: ความยาวคิว จำนวนรถข้างหน้า ช่องที่กำหนดและหมายเลขช่อง และลำดับของรถตนในช่อง (FR-110) ช่องทางบัตรเดียวกันส่งประกาศจากโรงงานถึงคนขับ — แจ้ง downtime (PROP-032 LineDowntime) การปรับจังหวะหีบ และประกาศอื่นใดของโรงงาน (FR-116) สแกนได้โดยไม่ต้องมีบัญชี มุมมองเป็นรายบัตรและเคารพความเป็นส่วนตัวของป้าย (Q-07)

Q-06 Remote-join eligibility bounds?ขอบเขตสิทธิ์เข้าคิวระยะไกล?

Open remote join invites queue squatting (join with no cane cut). Options: join limited to trucks with an active season crop in the holder's chain; per-farmer concurrent-ticket cap; geofenced join; checkpoint stamp as the only remote check-in.

การเข้าคิวระยะไกลแบบเปิดชวนให้จองคิวทิ้ง (เข้าคิวโดยยังไม่ตัดอ้อย) ทางเลือก: จำกัดเฉพาะรถที่มี crop ฤดูกาลใช้งานในสายของผู้ถือ เพดานบัตรพร้อมกันรายชาวไร่ geofence หรือใช้ประทับตราจุดตรวจเป็นเช็กอินระยะไกลทางเดียว

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): The per-farmer concurrent-ticket cap already exists as a lever in PROP-024’s privilege bands; what remains here is which other bounds (active-crop link, geofence, checkpoint stamp) apply at QL-1+.เพดานบัตรพร้อมกันรายชาวไร่มีแล้วเป็นคันโยกในชั้นสิทธิพิเศษของ PROP-024; ที่เหลือคือขอบเขตอื่นใด (ผูก crop ใช้งาน, geofence, ตราจุดตรวจ) ใช้ที่ QL-1 ขึ้นไป

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): remote join stays, bounded and provenance-rich. (1) Provenance pre-fill — a remote ticket arrives with its origin attached: which farm, which crop, which farmer (an active season crop in the holder's chain — crop_id), so the mill can see and forecast the cane before it moves. (2) Checkpoint provenance — joining from a PROP-009 checkpoint records the stamp and the distance to the mill (checkpoint_id, join_distance_km), feeding the arrival forecast. (3) Reliability-gated — the PROP-024 reliability credit score gates eligibility and weights the arrival forecast: a farmer who shows up as promised keeps and widens remote-join rights; an unreliable one falls back to physical join (remote_join_min_band). (4) Geofenced — remote join only from within a mill-set radius near the factory (remote_join_geofence_km). The bounds apply to both channels — the remote walk-in queue (QL-1) and the booking queue (QL-2).คงการเข้าคิวระยะไกล แบบมีขอบเขตและมีที่มาครบ (1) ข้อมูลที่มากรอกล่วงหน้า — บัตรระยะไกลมาพร้อมแหล่งที่มา: จากไร่ไหน crop ไหน ชาวไร่คนไหน (crop ฤดูกาลที่ใช้งานในสายของผู้ถือ — crop_id) โรงงานจึงเห็นและพยากรณ์อ้อยได้ก่อนรถออกเดินทาง (2) ที่มาจากจุดตรวจ — เข้าคิวผ่านจุดตรวจ PROP-009 บันทึกตราประทับและระยะทางถึงโรงงาน (checkpoint_id, join_distance_km) ป้อนการพยากรณ์การมาถึง (3) ผูกความน่าเชื่อถือ — คะแนนเครดิตความน่าเชื่อถือ PROP-024 เป็นเงื่อนไขสิทธิ์และถ่วงน้ำหนักการพยากรณ์: ชาวไร่ที่มาตามนัดรักษาและขยายสิทธิ์เข้าคิวระยะไกล ผู้ไม่น่าเชื่อถือกลับไปเข้าคิวหน้างาน (remote_join_min_band) (4) Geofence — เข้าคิวระยะไกลได้เฉพาะภายในรัศมีที่โรงงานกำหนดใกล้โรงงาน (remote_join_geofence_km) ขอบเขตใช้กับทั้งสองช่องทาง — คิววอล์กอินระยะไกล (QL-1) และคิวจอง (QL-2)

Q-07 Board privacy (PDPA): what may the public board show?ความเป็นส่วนตัวของป้าย (PDPA): ป้ายสาธารณะแสดงอะไรได้?

Proposal: seq_no + masked plate (กข 12●● ขอนแก่น) on the public page; full plate on the physical yard board only (legitimate-interest operations context). Confirm with the PDPA classes in dataModeling.

ข้อเสนอ: seq_no + ทะเบียนปิดบังบางส่วน (กข 12●● ขอนแก่น) บนหน้าเว็บสาธารณะ ทะเบียนเต็มเฉพาะป้ายจริงที่ลาน (บริบทปฏิบัติการตาม legitimate interest) ยืนยันกับชั้น PDPA ใน dataModeling

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): stricter than proposed — the public board (yard TV in the waiting lot and the public page alike) shows the queue number only: no license plate, not even masked. board_privacy defaults to seq_only; the driver identifies their row by the seq_no on their ticket, and full plate detail lives only in the authenticated console (mill-queue) and the per-ticket QR view (Q-05).เข้มกว่าที่เสนอ — ป้ายสาธารณะ (ทั้งทีวีที่ลานจอดรอและหน้าเว็บสาธารณะ) แสดงหมายเลขคิวเท่านั้น: ไม่แสดงทะเบียนรถเลย แม้แบบปิดบังบางส่วนก็ไม่ board_privacy ค่าเริ่มต้นเป็น seq_only; คนขับดูแถวของตนจาก seq_no บนบัตร ส่วนทะเบียนเต็มอยู่เฉพาะในคอนโซลที่ต้องเข้าสู่ระบบ (mill-queue) และหน้า QR รายบัตร (Q-05)

Q-08 SMS/phone fallback for drivers without smartphones?SMS/โทรศัพท์สำรองสำหรับคนขับที่ไม่มีสมาร์ตโฟน?

QueueCalled must reach a driver asleep in a cab or a farmer on a feature phone. SMS is the obvious fallback but is the platform's first paid external channel — cost model and sender identity needed.

QueueCalled ต้องถึงคนขับที่หลับในรถหรือชาวไร่ที่ใช้ฟีเจอร์โฟน SMS คือทางสำรองที่ชัด แต่เป็นช่องทางภายนอกมีค่าใช้จ่ายช่องแรกของแพลตฟอร์ม — ต้องมีโมเดลต้นทุนและตัวตนผู้ส่ง

DECIDED (client, 17 Jul 2026) — dropped:ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569) — ตัดออก: no SMS fallback — it is an external paid channel and an extra platform cost. Queue notifications go exclusively through mobile-app push (FR-09/FR-116). Drivers without the app rely on the yard board, the per-ticket QR view (Q-05) and the physical call — the walk-in lane never depends on a phone (P1/QL-3 guarantee).ไม่มี SMS สำรอง — เป็นช่องทางภายนอกที่มีค่าใช้จ่ายและเป็นต้นทุนส่วนเกินของแพลตฟอร์ม การแจ้งเตือนคิวใช้ push ผ่านแอปมือถือเท่านั้น (FR-09/FR-116) คนขับที่ไม่มีแอปพึ่งป้ายคิวที่ลาน หน้า QR รายบัตร (Q-05) และการเรียกหน้างาน — ช่องวอล์กอินไม่เคยพึ่งโทรศัพท์ (หลักประกัน P1/QL-3)

Q-09 Versioning & sequencing vs the PROP-019 Q2–Q5 train?เวอร์ชันและลำดับเทียบขบวน Q2–Q5 ของ PROP-019?

Options: (a) PROP-020 lands as its own minor after the Q1 amendment pass, pushing the PROP-019 phase bumps back one slot each; (b) it folds into the PROP-019 train as the MILL portion of a later phase. The queue's PRD/PWF/UIX chapters must meet the PROP-019 zero-assumption bar either way.

ทางเลือก: (ก) PROP-020 เป็น minor ของตัวเองหลังรอบแก้ Q1 โดยเลื่อน bump ของเฟส PROP-019 ไปหนึ่งช่องต่อเฟส (ข) พับเข้าขบวน PROP-019 เป็นส่วน MILL ของเฟสถัดไป ไม่ว่าทางไหน บทคิวใน PRD/PWF/UIX ต้องถึงเกณฑ์ zero-assumption ของ PROP-019

Premise refreshed (17 Jul 2026):ปรับข้อตั้งใหม่ (17 ก.ค. 2569): The Q1 gate has closed (amendment pass v0.7.0 + PROP-031 v0.8.0) and Q2 is applied (v0.9.0) — the phase-slot concern has dissolved. PROP-024 OQ-10 recommends one queue train (PROP-020 + PROP-024 as a single minor); this question narrows to confirming that train and its slot once the Q2 gate closes.ด่าน Q1 ปิดแล้ว (รอบแก้ v0.7.0 + PROP-031 v0.8.0) และ Q2 ใช้แล้ว (v0.9.0) — ความกังวลเรื่องช่องเฟสสลายไป PROP-024 OQ-10 แนะนำขบวนคิวเดียว (PROP-020 + PROP-024 เป็น minor เดียว); คำถามนี้แคบลงเหลือการยืนยันขบวนนั้นและช่องเวลาหลังด่าน Q2 ปิด

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): one combined queue train — PROP-020 + PROP-024 apply together as a single spec MINOR, slotted after the current PROP-019 gate work closes (Q3 FIN + CEC onward). Confirms the PROP-024 OQ-10 recommendation; the two proposals are accepted, graph-applied and doc-mirrored as one version.ขบวนคิวเดียวรวมกัน — PROP-020 + PROP-024 ใช้พร้อมกันเป็น MINOR เดียวของสเปก ลงช่องหลังงานด่าน PROP-019 ชุดปัจจุบันปิด (Q3 FIN + CEC เป็นต้นไป) ยืนยันข้อแนะนำ PROP-024 OQ-10; สองข้อเสนอถูกรับ ใช้กับ graph และสะท้อนสู่เอกสารเป็นเวอร์ชันเดียว

Q-10 Hardware scope — board TV, gate tablet, ticket printer?ขอบเขตฮาร์ดแวร์ — ทีวีป้าย แท็บเล็ตประตู เครื่องพิมพ์บัตร?

Software assumes commodity hardware (any TV browser in display mode, any Android tablet at the gate, optional 80 mm printer reusing the FR-05 ticket printer). Does Cane Agency supply/lease a starter kit at enrollment, or is hardware wholly the mill's?

ซอฟต์แวร์ตั้งบนฮาร์ดแวร์ทั่วไป (ทีวีที่มีเบราว์เซอร์ในโหมดจอแสดง แท็บเล็ตแอนดรอยด์ที่ประตู เครื่องพิมพ์ 80 มม. ใช้ร่วมกับ FR-05 ได้) Cane Agency จัด/ให้เช่าชุดเริ่มต้นตอนเข้าร่วม หรือฮาร์ดแวร์เป็นของโรงงานทั้งหมด?

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): PROP-031 OQ-3 (decided) set the hardware precedent — platform-supplied devices are leased or bundled, never sold; ownership and ops stay with the platform; pricing consolidated in PROP-028 OQ-6. A starter kit here should follow that model, its SKU decided in PROP-028 OQ-6.PROP-031 OQ-3 (ตัดสินแล้ว) วางแบบอย่างฮาร์ดแวร์ — อุปกรณ์ที่ platform จัดให้เป็นแบบเช่าหรือ bundle ไม่ขายขาด; กรรมสิทธิ์และการดูแลอยู่กับ platform; ราคารวมตัดสินที่ PROP-028 OQ-6 ชุดเริ่มต้นที่นี่ควรตามแบบนั้น โดย SKU ตัดสินใน PROP-028 OQ-6

DECIDED (client, 17 Jul 2026):ตัดสินแล้ว (ลูกค้า 17 ก.ค. 2569): three supply postures, by component. (1) Board TV — pure commodity: any TV with a browser; the factory points it at an authenticated board page served from the on-prem application gateway (PROP-028) or from the platform cloud — whichever suits the installation. (2) Gate tablets & ticket printers — the Hardware Compatibility List (HCL): the platform publishes the models certified compatible with its station software; the factory buys and owns them, choosing from the certified list. (3) Fully integrated suite: Cane Agency supplies and operates a complete, end-to-end certified hardware system for the factory (follows the PROP-031 lease precedent; pricing consolidates in PROP-028 OQ-6). Option 3 is explored in full depth in a dedicated draft — PROP-035, spun out same day — and does not withhold this proposal.สามท่าการจัดหา แยกตามอุปกรณ์ (1) ทีวีป้ายคิว — commodity ล้วน: ทีวีอะไรก็ได้ที่มีเบราว์เซอร์ โรงงานเปิดหน้าป้ายแบบยืนยันตัวตน เสิร์ฟจาก application gateway ภายในโรงงาน (PROP-028) หรือจาก platform cloud — แล้วแต่ความเหมาะสมของการติดตั้ง (2) แท็บเล็ตประตูและเครื่องพิมพ์บัตร — รายการฮาร์ดแวร์ที่เข้ากันได้ (HCL): แพลตฟอร์มประกาศรุ่นที่ผ่านการรับรองว่าเข้ากันกับซอฟต์แวร์สถานี โรงงานซื้อและเป็นเจ้าของเอง โดยเลือกจากรายการที่รับรองแล้ว (3) ชุดครบวงจร: Cane Agency จัดหาและดูแลระบบฮาร์ดแวร์ครบวงจรที่รับรองทั้งสายให้โรงงาน (ตามแบบอย่างเช่า PROP-031; ราคารวมที่ PROP-028 OQ-6) ทางเลือกที่ 3 สำรวจเชิงลึกในร่างเฉพาะ — PROP-035 แยกร่างวันเดียวกัน — และไม่หน่วงข้อเสนอ 020 นี้

13. Revision history13. ประวัติการแก้ไข

RevDateวันที่Changesการเปลี่ยนแปลง
0.12026-07-13First draft — spun out of the PROP-019 Q1 gate Q-02 pass-2 verdict. Evidence base E-01…E-07, principles P1–P5, adoption ladder QL-0…QL-3, gate_queue context (QueueTicket / QueuePolicy + state machine + 6 events), WF-45…48, FR-109…116, NFR-33…35, screens, rollout strategy, impact matrix, 10 open questions.ร่างแรก — แยกจากคำวินิจฉัย pass-2 ข้อ Q-02 ของ PROP-019 Q1 gate ฐานหลักฐาน E-01…E-07 หลักการ P1–P5 บันได QL-0…QL-3 context gate_queue (QueueTicket / QueuePolicy + state machine + 6 event) WF-45…48 FR-109…116 NFR-33…35 หน้าจอ กลยุทธ์เปิดตัว ตารางผลกระทบ และคำถามเปิด 10 ข้อ
0.22026-07-14Aligned with the PROP-019 gate A-18 verdict (mid-day capacity cut): FR-112 freeze now fires automatically on the FR-30 capacity cut (manual switch retained for other cases); FR-113 gains the last-booked-first bump-over of excess booked tonnage to the next open day with farmer notification + keep/cancel; mill-queue shows the auto-freeze + remaining-capacity forecast; qm-02 gains the bumped-booking notice.ปรับให้สอดคล้องคำวินิจฉัย A-18 ของ PROP-019 gate (การลดกำลังหีบกลางวัน): freeze ของ FR-112 ทำงานอัตโนมัติเมื่อลดกำลังหีบตาม FR-30 (สวิตช์มือยังอยู่สำหรับกรณีอื่น); FR-113 เพิ่มกฎ bump ตันจองที่เกินไปวันเปิดถัดไปแบบจองหลังโดนก่อน พร้อมแจ้งเตือนชาวไร่ + เลือกคง/ยกเลิก; mill-queue แสดง freeze อัตโนมัติ + พยากรณ์กำลังคงเหลือ; qm-02 เพิ่มการแจ้งการจองถูกย้าย
0.32026-07-17Open-question cross-reference pass (client request): Q-05 answered de facto by A-51 (quota-ID capture at the booth — driver-stated or sticker tab; plate stays a hint); Q-02 gains the PROP-029 Token/mill-config cross-ref; Q-04 pinned to PROP-024’s never-reorder rule; Q-06 notes PROP-024’s concurrent cap; Q-09 premise refreshed (Q1 closed, Q2 applied; one queue train per PROP-024 OQ-10); Q-10 pointed at the PROP-031 lease precedent + the PROP-028 OQ-6 pricing home. Header rev synced (had sat stale at 0.1).รอบอ้างโยงคำถามเปิด (ตามคำขอลูกค้า): Q-05 ตอบโดยพฤตินัยด้วย A-51 (เก็บรหัสโควตาที่จุดแจ้งคิว — คนขับแจ้งหรือสติกเกอร์; ทะเบียนเป็นตัวช่วย); Q-02 เพิ่มอ้างโยง Token/config ของ PROP-029; Q-04 ตรึงกับกติกาไม่จัดลำดับใหม่ของ PROP-024; Q-06 ระบุเพดานพร้อมกันของ PROP-024; Q-09 ปรับข้อตั้ง (Q1 ปิด Q2 ใช้แล้ว; ขบวนคิวเดียวตาม PROP-024 OQ-10); Q-10 ชี้แบบอย่างเช่าของ PROP-031 + บ้านราคา PROP-028 OQ-6 ปรับ rev หัวเอกสารให้ตรง (ค้างที่ 0.1)
0.42026-07-17Q-03 DECIDED (client): the booked-lane share is factory-portal configurable (Q-50 Factory Settings family) with an optional platform-intelligence dynamic mode inside mill-set bounds — QueuePolicy gains booked_share_mode + min/max bounds. Q-02 cross-ref: PROP-033 (NFC reusable queue coin) drafted from this question — nfc_uid as primary identity reduces Q-02 to display policy at NFC mills.Q-03 ตัดสินแล้ว (ลูกค้า): สัดส่วนช่องจองตั้งค่าได้จาก portal โรงงาน (ครอบครัว Factory Settings ตาม Q-50) พร้อมโหมดอัจฉริยะแบบพลวัตเลือกเปิดได้ภายในขอบเขตที่โรงงานกำหนด — QueuePolicy เพิ่ม booked_share_mode + ขอบเขต min/max อ้างโยง Q-02: PROP-033 (เหรียญคิว NFC ใช้ซ้ำ) ร่างจากคำถามข้อนี้ — nfc_uid เป็นอัตลักษณ์หลักทำให้ Q-02 ลดเหลือนโยบายเลขแสดงผลที่โรงงาน NFC
0.52026-07-17Q-04 DECIDED (client) — deferred: no priority classes day one; kept as a future opt-in paid-tier competitive feature (PROP-016) to be explored comprehensively in a dedicated draft proposal (spun out same day as PROP-034); priority_classes[] stays an empty-by-default placeholder.Q-04 ตัดสินแล้ว (ลูกค้า) — เลื่อนไปก่อน: วันแรกไม่มีชั้นลำดับพิเศษ; เก็บเป็นฟีเจอร์ paid tier แบบ opt-in ในอนาคต (PROP-016) สำรวจอย่างครอบคลุมในข้อเสนอฉบับร่างเฉพาะ; priority_classes[] คงเป็น placeholder ว่างโดยค่าเริ่มต้น
0.62026-07-17Q-05 DECIDED (client) — beyond the A-51 de facto answer: every ticket binds quota ID + plate + cane classification at issuance; the ticket QR opens a live per-ticket status view (queue length, trucks ahead, designated lane + lane number, own position in lane); the ticket channel pushes factory announcements & downtime notices (PROP-032) — QueueTicket +quota_id / lane_no / lane_seq_no / qr_token, FR-110/FR-116 extended, QL-0 issuance flow updated. Q-06 DECIDED (client): remote join kept, bounded — provenance pre-fill (farm / crop / quota farmer via crop_id), checkpoint stamp + distance (PROP-009), PROP-024 reliability-credit gating + arrival-forecast weighting, mill-set geofence near the factory; applies to both walk-in and booking channels — QueueTicket +crop_id / checkpoint_id / join_distance_km, QueuePolicy +remote_join_geofence_km / remote_join_min_band, FR-111 extended.Q-05 ตัดสินแล้ว (ลูกค้า) — เกินคำตอบพฤตินัยของ A-51: บัตรทุกใบผูกรหัสโควตา + ทะเบียน + ชนิดอ้อยตั้งแต่ออกบัตร; QR บนบัตรเปิดหน้าสถานะสดรายบัตร (ความยาวคิว รถข้างหน้า ช่องที่กำหนด + หมายเลขช่อง ลำดับในช่อง); ช่องทางบัตรส่งประกาศโรงงานและแจ้ง downtime (PROP-032) — QueueTicket +quota_id / lane_no / lane_seq_no / qr_token ขยาย FR-110/FR-116 ปรับขั้นตอนออกบัตร QL-0 Q-06 ตัดสินแล้ว (ลูกค้า): คงการเข้าคิวระยะไกลแบบมีขอบเขต — ข้อมูลที่มากรอกล่วงหน้า (ไร่ / crop / ชาวไร่โควตาผ่าน crop_id), ตราจุดตรวจ + ระยะทาง (PROP-009), เงื่อนไขคะแนนความน่าเชื่อถือ PROP-024 + ถ่วงน้ำหนักพยากรณ์การมาถึง, geofence ใกล้โรงงานที่โรงงานกำหนด; ใช้กับทั้งช่องวอล์กอินและช่องจอง — QueueTicket +crop_id / checkpoint_id / join_distance_km, QueuePolicy +remote_join_geofence_km / remote_join_min_band ขยาย FR-111
0.72026-07-17Q-07 DECIDED (client) — stricter than proposed: the public board (yard TV + public page) shows queue numbers only, no plates even masked; board_privacy defaults to seq_only, full plate detail confined to the authenticated console and the per-ticket QR view. Q-08 DECIDED (client) — dropped: no SMS fallback (external paid channel, extra platform cost); queue notifications are mobile-app push only — FR-116, QL-1 prerequisite and mill-queue-board wording updated.Q-07 ตัดสินแล้ว (ลูกค้า) — เข้มกว่าที่เสนอ: ป้ายสาธารณะ (ทีวีที่ลาน + หน้าเว็บสาธารณะ) แสดงเฉพาะหมายเลขคิว ไม่มีทะเบียนแม้แบบปิดบัง; board_privacy ค่าเริ่มต้น seq_only ทะเบียนเต็มอยู่เฉพาะคอนโซลที่ต้องเข้าสู่ระบบและหน้า QR รายบัตร Q-08 ตัดสินแล้ว (ลูกค้า) — ตัดออก: ไม่มี SMS สำรอง (ช่องทางภายนอกมีค่าใช้จ่าย ต้นทุนส่วนเกิน); การแจ้งเตือนคิวใช้ push ผ่านแอปมือถือเท่านั้น — ปรับ FR-116 เงื่อนไขก่อนของ QL-1 และถ้อยคำ mill-queue-board
0.82026-07-17Q-09 DECIDED (client): one combined queue train — PROP-020 + PROP-024 apply together as a single spec MINOR, slotted after the current PROP-019 gate work closes (per the PROP-024 OQ-10 recommendation).Q-09 ตัดสินแล้ว (ลูกค้า): ขบวนคิวเดียวรวมกัน — PROP-020 + PROP-024 ใช้พร้อมกันเป็น MINOR เดียว ลงช่องหลังงานด่าน PROP-019 ชุดปัจจุบันปิด (ตามข้อแนะนำ PROP-024 OQ-10)
0.92026-07-17Q-10 DECIDED (client) — three hardware supply postures: board TV = any commodity browser showing an authenticated page from the on-prem gateway (PROP-028) or platform cloud; gate tablets & ticket printers = certified Hardware Compatibility List (HCL), factory-owned; fully integrated Cane Agency suite = leased/operated end-to-end (PROP-031 precedent), explored in full depth in PROP-035 (spun out same day, does not withhold PROP-020).Q-10 ตัดสินแล้ว (ลูกค้า) — สามท่าการจัดหาฮาร์ดแวร์: ทีวีป้าย = เบราว์เซอร์ commodity เปิดหน้ายืนยันตัวตนจาก gateway ในโรงงาน (PROP-028) หรือ cloud; แท็บเล็ตประตูและเครื่องพิมพ์บัตร = รายการ HCL ที่รับรอง โรงงานเป็นเจ้าของ; ชุดครบวงจรจาก Cane Agency = เช่า/ดูแลทั้งสาย (แบบอย่าง PROP-031) สำรวจเชิงลึกใน PROP-035 (แยกร่างวันเดียวกัน ไม่หน่วง PROP-020)
1.02026-07-17ACCEPTED by the client and applied graph-first with PROP-024 as ONE queue train (spec v0.11.0 → v0.12.0, per Q-09/OQ-10). IDs renumbered to the live graph: WF-45…48 → WF-47…50; FR-109…113/115/116 → FR-120…126 (the draft's FR-114 priority classes deferred per Q-04 — priority_classes[] ships empty pending PROP-034); NFR-33…35 → NFR-38…40. Graph: +gate_queue context (QueueTicket/QueuePolicy), queue-ticket state machine, 6 events, Delivery +queue_ticket_id, mill-queue/mill-queue-board + qm-01/qm-02 screens, qm.* copy, glossary. Mirrored: SPEC-PRD/PWF/UIX-MILL, SPEC-PRD/UIX-CFC & CFQ, SPEC-ERD/DDD-MILL, SPEC-INDEX; web/ queue story added.รับรองแล้วโดยลูกค้า และใช้กับ graph พร้อม PROP-024 เป็นขบวนคิวเดียว (spec v0.11.0 → v0.12.0 ตาม Q-09/OQ-10) เลขถูกจัดใหม่ตาม graph จริง: WF-45…48 → WF-47…50; FR-109…113/115/116 → FR-120…126 (FR-114 ชั้นลำดับพิเศษเลื่อนตาม Q-04 — รอ PROP-034); NFR-33…35 → NFR-38…40 graph: +context gate_queue, state machine บัตรคิว, 6 event, Delivery +queue_ticket_id, หน้าจอ + ข้อความ + อภิธานศัพท์ สะท้อนสู่เอกสารทั้งเก้า + SPEC-INDEX; เพิ่มเรื่องคิวใน web/