Cane Agency · PROP-019 phase Q1 gate — two-pass role-play review · pass 1 of 2สถาบันอ้อย · ด่านตรวจเฟส Q1 ของ PROP-019 — การทบทวนแบบสวมบทบาทสองรอบ · รอบที่ 1 จาก 2
Implementation questions — a fresh-session build review of SPEC-PRD-MILL · SPEC-PWF-MILL · SPEC-UIX-MILLคำถามเชิงการพัฒนา — การทบทวนแบบเริ่มสร้างจริงในเซสชันใหม่ของ SPEC-PRD-MILL · SPEC-PWF-MILL · SPEC-UIX-MILL
- Documentเอกสาร
- PROP-019 Q1 gate · Pass 1 recordด่านตรวจ Q1 ของ PROP-019 · บันทึกรอบที่ 1
- Statusสถานะ
- GATE CLOSED (16 Jul 2026) — all 28 questions judged; amendments applied (spec v0.7.0/v0.8.0); pass-3 fresh review found nothing blockingปิดด่านแล้ว (16 ก.ค. 2569) — วินิจฉัยครบ 28 ข้อ; นำการแก้ไขเข้าแล้ว (spec v0.7.0/v0.8.0); การทบทวนรอบ 3 ไม่พบสิ่งกีดขวาง
- Protocolระเบียบวิธี
- PROP-019 Q4 resolution: pass 1 — an agent in a fresh session, given only the three phase-Q1 documents and the graph, role-plays the implementation team and compiles every question the sources do not answer; pass 2 — the client judges each question against the zero-assumption bar (PROP-019 Section 3). SPEC-PRD-MILL Section 10 (open decisions) passes only if it can legitimately stay EMPTY.ตามมติ Q4 ของ PROP-019: รอบที่ 1 — agent ในเซสชันใหม่ ได้รับเฉพาะเอกสารเฟส Q1 ทั้งสามฉบับและ graph สวมบทบาททีมพัฒนาและรวบรวมทุกคำถามที่แหล่งข้อมูลไม่ตอบ; รอบที่ 2 — ลูกค้าวินิจฉัยคำถามทีละข้อเทียบกับหลักการห้ามตั้งสมมติฐาน (PROP-019 ข้อ 3) SPEC-PRD-MILL ข้อ 10 (open decisions) จะผ่านก็ต่อเมื่อสามารถคง "ว่าง" ได้อย่างชอบธรรม
- Inputs readแหล่งข้อมูลที่อ่าน
- SPEC-PRD-MILL Rev 0.2.0 · SPEC-PWF-MILL Rev 0.2.0 · SPEC-UIX-MILL Rev 0.2.0 · docs/graph/spec-graph.json (spec v0.5.0) — nothing elseเท่านั้น ไม่มีอื่น
- Resultผลลัพธ์
- 28 questions — 11 blockers · 16 decision gaps · 1 editorial defectคำถาม 28 ข้อ — สร้างต่อไม่ได้ 11 · ต้องตัดสินใจ 16 · แก้ไขข้อความ 1
- Dateวันที่
- 13 Jul 202613 ก.ค. 2569
1. Method1. วิธีการ
The reviewer role-played a build team starting the mill portal from these four sources alone. Every candidate question was first checked against all four sources — the three documents and the full graph (entities, relationships, state machines, events, glossary, dataModeling, federation, uix) — and listed below only if none of them answers it. Questions the sources do answer were dropped; Section 4 lists the notable drops as evidence the depth largely holds. Severity legend:
ผู้ทบทวนสวมบทบาททีมพัฒนาที่ต้องเริ่มสร้าง portal โรงงานจากแหล่งข้อมูลทั้งสี่นี้เท่านั้น คำถามตัวเลือกทุกข้อถูกตรวจกับแหล่งข้อมูลทั้งสี่ก่อน — เอกสารสามฉบับและ graph ฉบับเต็ม (entities, relationships, state machines, events, glossary, dataModeling, federation, uix) — และปรากฏด้านล่างก็ต่อเมื่อไม่มีแหล่งใดตอบได้ คำถามที่แหล่งข้อมูลตอบได้ถูกตัดออก โดยข้อ 4 บันทึกรายการที่ตัดออกที่น่าสนใจไว้เป็นหลักฐานว่าความละเอียดของเอกสารส่วนใหญ่ครบถ้วน คำอธิบายระดับความรุนแรง:
- Blocker — the feature cannot be built without an answer; no defensible default exists.
- Gap — a build team could pick a workaround, but any pick is an assumption — exactly what the zero-assumption bar forbids; needs a recorded decision.
- Editorial — internal contradiction or stale text; no decision needed, only a correction.
- สร้างต่อไม่ได้ — ฟีเจอร์สร้างไม่ได้หากไม่มีคำตอบ และไม่มีค่าเริ่มต้นใดที่ปกป้องได้
- ต้องตัดสินใจ — ทีมพัฒนาพอเลือกทางเลี่ยงได้ แต่ทุกทางเลือกคือการตั้งสมมติฐาน ซึ่งขัดหลักการห้ามตั้งสมมติฐานโดยตรง ต้องมีการตัดสินใจที่บันทึกไว้
- แก้ไขข้อความ — ข้อความขัดแย้งกันเองหรือตกค้าง ไม่ต้องตัดสินใจ เพียงแก้ไขข้อความ
2. Questions the documents do not answer2. คำถามที่เอกสารไม่ได้ตอบ
A. Gate, weighbridge & intakeA. ประตูโรงงาน เครื่องชั่ง และการรับอ้อย
Q-01 What is the quota tolerance?ค่าเผื่อโควตา (quota tolerance) คือเท่าไร? Blockerสร้างต่อไม่ได้
The weighed → accepted guard is "no open dispute; within quota tolerance" (delivery state machine, WF-03 step 5, mill-deliv bulk-accept validation). The tolerance's value, unit (% over Quota.quota_t? absolute tonnes?), configuration home (Season? Quota? CanePurchasePolicy?) and owner are defined nowhere. The Accept guard — the single most-executed business rule on the portal — is not implementable.
เงื่อนไข (guard) ของ weighed → accepted คือ "ไม่มีข้อพิพาทค้าง; อยู่ภายในค่าเผื่อโควตา" (delivery state machine, WF-03 ขั้นที่ 5, การตรวจสอบ bulk-accept ของ mill-deliv) แต่ค่าของค่าเผื่อ หน่วย (% ของ Quota.quota_t? หรือตันสัมบูรณ์?) ที่อยู่ของการตั้งค่า (Season? Quota? CanePurchasePolicy?) และผู้รับผิดชอบ ไม่ถูกนิยามที่ใดเลย — เงื่อนไข Accept ซึ่งเป็นกฎธุรกิจที่ถูกใช้งานบ่อยที่สุดบน portal จึงยังสร้างไม่ได้
Looked in:ตรวจสอบใน: deliveryStateMachine.transitions · WF-03 spec step 5 · FR-03 record · Quota / Season / CanePurchasePolicy entity attributes · full-graph text search for "tolerance" (only the three restatements of the same phrase).
Pass-2 disposition — valid · decided (client, 13 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว (ลูกค้า, 13 ก.ค. 2569)
Delivered tonnage is free-flow by default — quota_t is a planning figure and never blocks booking, arrival or acceptance on its own. Two opt-in controls, both set by the factory: (1) a per-farmer upper delivery limit (absolute tonnes) on the individual allocation; (2) a season-global tolerance as a percentage of the tonnage agreement, in two levels — soft tolerance % (warning; delivery proceeds) and hard tolerance % (truck delivery rejected). Hard enforcement bites at booking and at the gate; the soft warning also surfaces at accept. Where a per-farmer limit and the global hard % both apply, the stricter binds; configuration enforces hard ≥ soft. To land in the Q1 amendment pass: Quota.delivery_limit_t?, CanePurchasePolicy.quota_soft_tolerance_pct? / quota_hard_tolerance_pct?, reworded booked→arrived and weighed→accepted guards, WF-03 steps 1/2/5, FR-03/FR-30 records, mill-quota validations and new warning/rejection copy keys.
ปริมาณส่งมอบเป็นแบบอิสระโดยค่าเริ่มต้น — quota_t เป็นตัวเลขเชิงวางแผน ไม่ปิดกั้นการจอง การมาถึง หรือการรับซื้อด้วยตัวเองเลย มีกลไกควบคุมแบบเลือกเปิดสองชั้น โรงงานเป็นผู้กำหนดทั้งคู่: (1) เพดานส่งมอบรายชาวไร่ (ตันสัมบูรณ์) บนการจัดสรรรายบุคคล; (2) ค่าเผื่อระดับฤดูกาลเป็นเปอร์เซ็นต์ของข้อตกลงปริมาณ แบ่งสองระดับ — ค่าเผื่ออ่อน % (เตือน; ส่งมอบต่อได้) และค่าเผื่อแข็ง % (ปฏิเสธรถส่งมอบ) การบังคับแบบแข็งมีผลตอนจองและที่ประตู ส่วนคำเตือนแบบอ่อนแสดงตอนรับซื้อด้วย เมื่อเพดานรายชาวไร่และ % แข็งระดับฤดูกาลใช้พร้อมกัน ให้ตัวที่เข้มกว่าเป็นตัวบังคับ; การตั้งค่าบังคับ แข็ง ≥ อ่อน สิ่งที่ต้องลงในรอบแก้ไข Q1: Quota.delivery_limit_t?, CanePurchasePolicy.quota_soft_tolerance_pct? / quota_hard_tolerance_pct?, ปรับถ้อยคำ guard ของ booked→arrived และ weighed→accepted, WF-03 ขั้น 1/2/5, ระเบียน FR-03/FR-30, การตรวจสอบ mill-quota และ copy key คำเตือน/คำปฏิเสธชุดใหม่
Q-02 How is a walk-in (unbooked) truck handled at the gate?รถ walk-in (ไม่ได้จอง) ถูกจัดการที่ประตูอย่างไร? Gapต้องตัดสินใจ
Arrival requires a Delivery in state booked (WF-03 step 2 precondition); booking is a farmer/quota action on mobile (step 1). FR-29 adds a quick register-at-gate flow for the truck record — but nothing says whether gate staff can create the booking on the farmer's behalf (which screen, which role, against whose quota), or whether an unbooked arrival is simply turned away. 400-trucks/day reality (persona Prasert) makes this a daily case.
การมาถึง (arrival) ต้องมี Delivery สถานะ booked (เงื่อนไขก่อนขั้นที่ 2 ของ WF-03) โดยการจองเป็นการกระทำของชาวไร่/หัวหน้าโควต้าบนมือถือ (ขั้นที่ 1) FR-29 เพิ่ม flow ลงทะเบียนด่วนที่ประตูสำหรับระเบียนรถบรรทุก — แต่ไม่มีที่ใดบอกว่าเจ้าหน้าที่ประตูสร้างการจองแทนชาวไร่ได้หรือไม่ (หน้าจอไหน role ไหน ตัดโควตาของใคร) หรือรถที่ไม่ได้จองถูกปฏิเสธกลับไปเฉย ๆ ความเป็นจริง 400 คัน/วัน (persona ประเสริฐ) ทำให้นี่เป็นกรณีรายวัน
Looked in:ตรวจสอบใน: WF-03/WF-10 specs · FR-29/FR-30 records · mill-wb screen spec (no booking affordance) · roles list.
Pass-2 disposition — valid · direction decided, design spun out (client, 13 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินทิศทางแล้ว แยกงานออกแบบออกไป (ลูกค้า, 13 ก.ค. 2569)
The question has the frame backwards: in the Thai industry today, walk-in is the norm, not the exception — most mills run an unbounded walk-in queue (a few run manual booking), with waiting areas holding up to ~3,000 trucks and waits from hours to 2–8 days. The platform must therefore operate walk-in-first: a newly enrolled mill runs its gate on walk-in intake from day one, so gate staff MUST be able to create the Delivery at the gate for an unbooked truck — booked cannot be the only path to arrived. Online booking (the plan feature) is the competitive layer on top, available to farmers only against mills already enrolled and operating on the platform — per-mill enablement, never a precondition of intake. The queue system itself — walk-in queue management, coexistence of walk-in and booked traffic, and converting the multi-day-wait problem into the platform's flagship advantage — is a product design of its own and is spun out as a dedicated queue-management proposal — drafted as PROP-020 (phase home logged per Section 5(a); "think extremely hard" mandate). Minimum to land in the Q1 amendment pass so MILL is buildable meanwhile: a walk-in entry path into the delivery state machine, reworded WF-03 step 2 precondition, FR-29 extended from truck record to gate-created delivery, mill-wb walk-in affordance + copy keys, and the per-mill booking-enablement flag; full queue mechanics stay with the spun-out proposal.
คำถามนี้ตั้งกรอบกลับด้าน: ในอุตสาหกรรมไทยปัจจุบัน walk-in คือวิถีปกติ ไม่ใช่ข้อยกเว้น — โรงงานส่วนใหญ่ใช้คิว walk-in แบบไม่จำกัด (ส่วนน้อยใช้การจองแบบ manual) ลานพักรถรองรับได้ถึง ~3,000 คัน และรอกันตั้งแต่หลายชั่วโมงจนถึง 2–8 วัน platform จึงต้องทำงานแบบ walk-in-first: โรงงานที่เพิ่งเข้าร่วมเดินประตูด้วยการรับ walk-in ตั้งแต่วันแรก เจ้าหน้าที่ประตูจึงต้องสร้าง Delivery ที่ประตูให้รถที่ไม่ได้จองได้ — booked จะเป็นเส้นทางเดียวสู่ arrived ไม่ได้ การจองออนไลน์ (ฟีเจอร์ตามแผน) คือชั้นความได้เปรียบเชิงแข่งขันที่วางทับด้านบน เปิดให้ชาวไร่ใช้เฉพาะกับโรงงานที่เข้าร่วมและเดินระบบบน platform แล้ว — เปิดเป็นรายโรงงาน ไม่ใช่เงื่อนไขก่อนการรับอ้อย ส่วนระบบคิวเอง — การจัดการคิว walk-in การอยู่ร่วมของรถ walk-in กับรถจอง และการพลิกปัญหารอหลายวันให้เป็นจุดขายหลักของ platform — เป็นงานออกแบบผลิตภัณฑ์ในตัวเอง จึงแยกออกเป็นข้อเสนอการจัดการคิวโดยเฉพาะ — ร่างเป็น PROP-020 (บันทึกเฟสเจ้าของตามข้อ 5(a); คำสั่ง "คิดให้หนักที่สุด") ขั้นต่ำที่ต้องลงในรอบแก้ไข Q1 เพื่อให้ MILL สร้างต่อได้ระหว่างนี้: เส้นทางเข้า walk-in ใน delivery state machine, ปรับเงื่อนไขก่อนขั้นที่ 2 ของ WF-03, ขยาย FR-29 จากระเบียนรถเป็นการสร้าง delivery ที่ประตู, องค์ประกอบ walk-in บน mill-wb + copy keys และ flag เปิดการจองรายโรงงาน; กลไกคิวฉบับเต็มอยู่กับข้อเสนอที่แยกออกไป
Q-03 Booked no-shows and cancel semantics — who cancels, and is booked_t released?จองแล้วไม่มาและ semantics ของการยกเลิก — ใครยกเลิก และ booked_t ถูกคืนไหม? Gapต้องตัดสินใจ
The state machine has booked → cancelled ("before arrival only") but names no role — farmer only, or the mill too? Nothing states that cancelling (or day close) releases the booking's booked_t drawdown, and nothing disposes of booked-but-never-arrived deliveries when the day closes — day close only guards on open weigh-ins (WF-10 step 4). Do stale bookings auto-cancel, roll to the next day, or linger and permanently consume quota-committed floor (delivered_t + booked_t, FR-03)?
state machine มี booked → cancelled ("ก่อนมาถึงเท่านั้น") แต่ไม่ระบุ role — ชาวไร่เท่านั้น หรือโรงงานด้วย? ไม่มีข้อความใดระบุว่าการยกเลิก (หรือการปิดวัน) คืนยอด booked_t ของการจอง และไม่มีอะไรจัดการ delivery ที่จองแล้วแต่ไม่เคยมาเมื่อปิดวัน — การปิดวันตรวจเฉพาะการชั่งที่ค้างอยู่ (WF-10 ขั้นที่ 4) การจองค้างจะยกเลิกอัตโนมัติ ยกไปวันถัดไป หรือค้างอยู่และกินฐานผูกพันโควตา (delivered_t + booked_t, FR-03) อย่างถาวร?
Looked in:ตรวจสอบใน: deliveryStateMachine Cancel transition · WF-10 step 4 guards · FR-30 edge cases · CrushingDay entity note · mill-csd close-day dialog spec.
Pass-2 disposition — valid · decided (client, 13 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว (ลูกค้า, 13 ก.ค. 2569)
No-shows resolve by factory policy, not day close. Each factory sets a booking hold window — how many hours a booked time slot remains claimable after its slot time. A truck arriving inside the window takes its booked slot; arriving after it, the truck is demoted to the walk-in queue (normal walk-in intake per Q-02 / PROP-020) and the stale booking auto-cancels — booked → cancelled gains a system actor alongside the farmer, and cancellation (manual or auto) releases the booking's booked_t drawdown, so the committed floor (delivered_t + booked_t, FR-03) never accretes ghost tonnage; nothing rolls to the next day and day close needs no booking guard. Additionally, booking limits and booking policy are configured per factory per farmer (per the factory's own policy), with a hard ceiling: total bookable tonnage may never exceed the factory's crushing capacity for the slot/day. To land in the Q1 amendment pass: per-mill booking-policy config (booking_hold_hours + per-farmer booking limits, capacity-capped validation), the auto-cancel transition + release rule on Cancel, WF-03 step 2 demote-to-walk-in branch, FR-03/FR-30 wording, and mill-side copy keys; slot/queue mechanics beyond this stay with PROP-020.
การไม่มาตามจองตัดสินด้วยนโยบายของโรงงาน ไม่ใช่การปิดวัน แต่ละโรงงานกำหนดช่วงเวลาถือสิทธิ์การจอง (booking hold window) — จำนวนชั่วโมงที่ slot เวลาที่จองไว้ยังใช้สิทธิ์ได้หลังเวลานัด รถที่มาภายในช่วงเวลาได้ slot ตามจอง; มาหลังจากนั้นรถถูกลดชั้นเป็นคิว walk-in (การรับ walk-in ปกติตาม Q-02 / PROP-020) และการจองค้างยกเลิกอัตโนมัติ — booked → cancelled เพิ่ม system actor เคียงข้างชาวไร่ และการยกเลิก (มือหรืออัตโนมัติ) คืนยอด booked_t ของการจองเสมอ ฐานผูกพัน (delivered_t + booked_t, FR-03) จึงไม่สะสมตันผี ไม่มีอะไรยกไปวันถัดไป และการปิดวันไม่ต้องมี guard เรื่องการจอง นอกจากนี้ ลิมิตและนโยบายการจองกำหนดเป็นรายโรงงานรายชาวไร่ (ตามนโยบายของแต่ละโรงงาน) โดยมีเพดานแข็ง: ปริมาณจองรวมต้องไม่เกินกำลังการหีบของโรงงานสำหรับ slot/วันนั้น สิ่งที่ต้องลงในรอบแก้ไข Q1: การตั้งค่านโยบายจองรายโรงงาน (booking_hold_hours + ลิมิตจองรายชาวไร่ พร้อมการตรวจเพดานตามกำลังหีบ), transition ยกเลิกอัตโนมัติ + กฎคืนยอดบน Cancel, ทางแยกลดชั้นเป็น walk-in ในขั้นที่ 2 ของ WF-03, ถ้อยคำ FR-03/FR-30 และ copy key ฝั่งโรงงาน; กลไก slot/คิวที่เกินจากนี้อยู่กับ PROP-020
Q-04 The overweight / legal axle-limit block — limit source, error, and split-load flow?การบล็อกน้ำหนักเกิน / พิกัดเพลาตามกฎหมาย — แหล่งของพิกัด ข้อความ error และ flow แบ่งบรรทุก? Gapต้องตัดสินใจ
SPEC-PWF-MILL Section 5: "ticket issue blocks over the legal axle limit; the load splits before re-entry." The limit's value or source (a statute table by Truck.truck_type? Truck.capacity_t?), the blocking error (no wb.err.* copy key exists), and the split-and-re-enter mechanics (a second Delivery? same booking? does the first ticket void?) are all absent from every source.
SPEC-PWF-MILL ข้อ 5: "การออกตั๋วถูกบล็อกเมื่อเกินพิกัดเพลาตามกฎหมาย; ต้องแบ่งบรรทุกก่อนเข้าใหม่" แต่ค่าหรือแหล่งของพิกัด (ตารางกฎหมายตาม Truck.truck_type? Truck.capacity_t?), ข้อความ error ที่ใช้บล็อก (ไม่มี copy key wb.err.*) และกลไกแบ่งบรรทุกแล้วเข้าใหม่ (Delivery ใบที่สอง? การจองเดิม? ตั๋วแรก void ไหม?) ไม่มีอยู่ในแหล่งใดเลย
Looked in:ตรวจสอบใน: FR-05/FR-29 records · WF-03 spec · Truck entity · uix mill-wb validations · copy catalogue · full-graph search for "axle" (one hit: the FR-05 non-goal).
Pass-2 disposition — valid · decided (client, 13 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว (ลูกค้า, 13 ก.ค. 2569)
"Legal axle limit" was the wrong frame — the real constraint is two separate checks with two separate owners. (1) Tipper capacity — factory-set. Each tipper slot carries its rated lifting limit, configured by the factory as a max tonnage and/or permitted vehicle types (6-wheel, 10-wheel, trailer); a truck exceeding its assigned tipper's rating cannot be lifted there. (2) Load height — government-set. Regulatory height limit on stacked cane, checked with a fixed height gauge at the waiting area when the queue ticket is issued — not at weighbridge ticket issue as the PWF line implied. Statutory default (Land Traffic Act B.E. 2522, Ministerial Regulation No. 20, B.E. 2550): load height ≤ 3.00 m from road surface for vehicles ≤ 2.30 m wide, ≤ 4.00 m for wider trucks — ship these as the configurable default; statutory GVW ceilings (6-wheel 15 t · 10-wheel 25 t · trailer combinations 50.5 t) are the reference table for weight defaults by Truck.truck_type. To land in the Q1 amendment pass: tipper-slot rating config (max_lift_t + allowed truck types) with an assignment guard, the height-check step relocated to queue-ticket issuance with the statutory defaults + copy keys, and the PWF-MILL Section 5 sentence rewritten accordingly; the failed-height / over-rating flow (restack or split before re-entry) happens in the waiting area, so its queue mechanics ride with PROP-020.
"พิกัดเพลาตามกฎหมาย" เป็นกรอบที่ผิด — ข้อจำกัดจริงคือการตรวจสองอย่างที่มีเจ้าของคนละราย (1) พิกัดทิปเปอร์ — โรงงานกำหนด slot ทิปเปอร์แต่ละช่องมีพิกัดยกตามที่ rated ไว้ โรงงานตั้งค่าเป็นตันสูงสุดและ/หรือประเภทรถที่อนุญาต (6 ล้อ, 10 ล้อ, รถพ่วง); รถที่เกินพิกัดของทิปเปอร์ที่ได้รับมอบหมายจะยกที่ช่องนั้นไม่ได้ (2) ความสูงบรรทุก — รัฐกำหนด พิกัดความสูงของอ้อยที่กองบนรถตามกฎหมาย ตรวจด้วยคานวัดความสูงถาวรที่ลานพักรถตอนออกบัตรคิว — ไม่ใช่ตอนออกตั๋วชั่งอย่างที่ประโยคใน PWF สื่อ ค่าเริ่มต้นตามกฎหมาย (พ.ร.บ.จราจรทางบก พ.ศ. 2522, กฎกระทรวง ฉบับที่ 20 พ.ศ. 2550): ความสูงบรรทุก ≤ 3.00 ม. จากพื้นทางสำหรับรถกว้าง ≤ 2.30 ม., ≤ 4.00 ม. สำหรับรถที่กว้างกว่านั้น — ให้ ship เป็นค่าเริ่มต้นที่ปรับได้; เพดานน้ำหนักรวมตามกฎหมาย (6 ล้อ 15 ตัน · 10 ล้อ 25 ตัน · รถพ่วง 50.5 ตัน) เป็นตารางอ้างอิงค่าเริ่มต้นน้ำหนักตาม Truck.truck_type สิ่งที่ต้องลงในรอบแก้ไข Q1: การตั้งค่าพิกัด slot ทิปเปอร์ (max_lift_t + ประเภทรถที่อนุญาต) พร้อม guard การมอบหมาย, ย้ายขั้นตรวจความสูงไปที่การออกบัตรคิวพร้อมค่าเริ่มต้นตามกฎหมาย + copy keys และเขียนประโยค SPEC-PWF-MILL ข้อ 5 ใหม่; flow เมื่อไม่ผ่านความสูง / เกินพิกัด (จัดกองใหม่หรือแบ่งบรรทุกก่อนเข้าใหม่) เกิดที่ลานพักรถ กลไกคิวจึงอยู่กับ PROP-020
Q-05 Where do register-at-gate and duplicate-plate merge actually live?ลงทะเบียนที่ประตูและการผสานป้ายทะเบียนซ้ำ อยู่ที่ไหนกันแน่? Gapต้องตัดสินใจ
FR-29 promises a "quick register-at-gate flow (P1)" and "duplicate plate registration → merged to the existing truck, never a twin row". Neither exists downstream: no WF step, no mill-wb component/validation/copy key for registering a truck, no merge screen, role, or audit rule anywhere (Truck has no merge semantics). Who performs the merge, where, and what happens to deliveries referencing the losing row?
FR-29 สัญญา "flow ลงทะเบียนด่วนที่ประตู (P1)" และ "ทะเบียนป้ายซ้ำ → ผสานเข้ารถคันเดิม ไม่สร้างแถวแฝด" แต่ปลายทางไม่มีทั้งคู่: ไม่มีขั้น WF, ไม่มี component/validation/copy key ของ mill-wb สำหรับลงทะเบียนรถ, ไม่มีหน้าจอผสาน role หรือกฎ audit ที่ใดเลย (Truck ไม่มี semantics การผสาน) ใครเป็นผู้ผสาน ที่ไหน และ delivery ที่อ้างแถวที่แพ้จะเป็นอย่างไร?
Looked in:ตรวจสอบใน: WF-03 spec · uix.screens (all 19) · copy catalogue · Truck entity note.
Pass-2 disposition — valid · decided (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว (ลูกค้า, 14 ก.ค. 2569)
"Register-at-gate" is renamed and relocated: it is the queue booth (จุดแจ้งคิว) — a physical station at the factory entrance to the outer truck parking lot (ลานนอก), not a weighbridge affordance. There the arriving truck reports its license plate + quota farmer identification number, and booth staff record a provisional cane classification: green / burnt, handcut / harvester, clean / dirty. Classification then follows a three-stage chain: (1) queue booth — provisional, not a final judgement; (2) ingest weighing station (ห้องชั่งเข้า) — OCSB staff make the supervisory judgement by vision inspection, confirming or re-classifying; this is the de-facto classification; (3) tipper dump slot — exception path: if the lift reveals hidden burnt cane, dirt, sand, etc., the truck is called back and either re-classified or rejected outright. To land in the Q1 amendment pass: FR-29 rewritten from register-at-gate to queue-booth intake (plate + farmer ID + provisional classification — folds into the Q-02 walk-in entry path), a queue-booth screen/role, Delivery classification attributes with provisional → confirmed → re-classified states + audit trail, the OCSB supervisory step at ingest weighing, the tipper-stage recall/reject transition, and copy keys; booth/lot geography rides with PROP-020. Duplicate-plate merge: performed by mill staff, at the ingest weighing station (ห้องชั่งเข้า) or the mill sugarcane-department office. Semantics: the duplicate's deliveries are re-pointed to the surviving Truck record, the duplicate is soft-deleted, and the whole amendment carries a full audit trail. Amendment items: merge action + role permission on the mill truck screens, Truck soft-delete flag, delivery re-pointing rule, audit-log entries, copy keys.
"ลงทะเบียนที่ประตู" ถูกเปลี่ยนชื่อและย้ายที่: มันคือจุดแจ้งคิว — สถานีจริงที่ทางเข้าโรงงานสู่ลานจอดรถบรรทุกด้านนอก (ลานนอก) ไม่ใช่ฟังก์ชันของห้องชั่ง ที่นั่นรถที่มาถึงแจ้งทะเบียนรถ + เลขประจำตัวหัวหน้าโควต้า และเจ้าหน้าที่บูธบันทึกการจำแนกอ้อยเบื้องต้น: อ้อยสด / อ้อยไฟไหม้, ตัดมือ / ตัดด้วยรถตัด, สะอาด / สกปรก จากนั้นการจำแนกเดินตามสายโซ่สามขั้น: (1) จุดแจ้งคิว — เบื้องต้น ไม่ใช่คำตัดสินสุดท้าย; (2) ห้องชั่งเข้า — เจ้าหน้าที่ สอน. ใช้ดุลยพินิจกำกับด้วยการตรวจด้วยสายตา ยืนยันหรือจำแนกใหม่; นี่คือการจำแนกโดยพฤตินัย; (3) ช่องเททิปเปอร์ — เส้นทางข้อยกเว้น: หากตอนยกพบอ้อยไฟไหม้ซ่อน ดิน ทราย ฯลฯ รถถูกเรียกกลับมาจำแนกใหม่หรือปฏิเสธทันที สิ่งที่ต้องลงในรอบแก้ไข Q1: เขียน FR-29 ใหม่จากลงทะเบียนที่ประตูเป็นการรับที่จุดแจ้งคิว (ทะเบียน + เลขชาวไร่ + จำแนกเบื้องต้น — รวมเข้าเส้นทาง walk-in ของ Q-02), หน้าจอ/role จุดแจ้งคิว, attribute การจำแนกบน Delivery พร้อมสถานะ เบื้องต้น → ยืนยัน → จำแนกใหม่ + audit trail, ขั้นกำกับของ สอน. ที่ห้องชั่งเข้า, transition เรียกกลับ/ปฏิเสธที่ขั้นทิปเปอร์ และ copy keys; ภูมิศาสตร์บูธ/ลานอยู่กับ PROP-020 การผสานป้ายซ้ำ: ทำโดยเจ้าหน้าที่โรงงาน ที่ห้องชั่งเข้าหรือสำนักงานฝ่ายไร่ของโรงงาน semantics: delivery ของแถวซ้ำถูกชี้ใหม่ไปยังระเบียน Truck ที่เหลือรอด แถวซ้ำถูก soft-delete และการแก้ไขทั้งหมดมี audit trail ครบ รายการแก้ไข: action ผสาน + สิทธิ์ role บนหน้าจอรถของโรงงาน, flag soft-delete บน Truck, กฎชี้ delivery ใหม่, รายการ audit log, copy keys
Q-06 How are ticket_no and coin_no allocated in offline / LAN-local mode?ticket_no และ coin_no ถูกจ่ายเลขอย่างไรในโหมด offline / LAN-local? Blockerสร้างต่อไม่ได้
mill-wb's offline state says "LAN-local operation continues" (NFR-03 local fallback), while FR-05 requires ticket_no unique per mill per season and FR-100 requires coin_no unique per mill per day. With the backend unreachable — and possibly several bridges on one mill — nothing defines how numbers are allocated offline (reserved ranges per bridge? prefixing?), nor the conflict policy when queued tickets sync (NFR-01 says "conflicts surfaced" — surfaced to whom, resolved how, can an issued immutable ticket be renumbered?).
สถานะ offline ของ mill-wb ระบุ "ทำงานต่อแบบ LAN-local" (fallback ตาม NFR-03) ขณะที่ FR-05 กำหนด ticket_no ห้ามซ้ำต่อโรงงานต่อฤดูกาล และ FR-100 กำหนด coin_no ห้ามซ้ำต่อโรงงานต่อวัน เมื่อ backend ติดต่อไม่ได้ — และโรงงานหนึ่งอาจมีหลายเครื่องชั่ง — ไม่มีที่ใดกำหนดวิธีจ่ายเลขแบบ offline (จองช่วงเลขต่อเครื่อง? ใส่ prefix?) หรือนโยบายจัดการการชนกันเมื่อตั๋วที่ค้างคิว sync (NFR-01 บอกแค่ "แสดงข้อขัดแย้ง" — แสดงต่อใคร แก้อย่างไร ตั๋วที่ออกแล้วซึ่ง immutable เปลี่ยนเลขได้หรือ?)
Looked in:ตรวจสอบใน: FR-05/FR-100 records · WF-03 failure branches · NFR-01/NFR-03 · mill-wb offline state · dataModeling uniques for WeighTicket.
Pass-2 disposition — valid · reframed & spun out (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตั้งกรอบใหม่และแยกออก (ลูกค้า, 14 ก.ค. 2569)
The question is bigger than ticket numbering — the answer reveals the mill's full physical intake chain, whose number spaces defeat the collision puzzle by construction. (1) At the ingest weighing station (ห้องชั่งเข้า) the queue number converts into a weigh-in note carrying the supervisory classification (Q-05) and a delivery identification number that restarts at 1 every season — per mill, per season. (2) In the inner waiting area (ลานใน) the driver collects a physical coin from the coin tower (หอแจ้งเหรียญ): each crushing line has a unique prefix (A/B/C… or 1/2/3… per factory) and a fixed circulation (~1,000–2,000, sized from line capacity per day ÷ max load per truck); the tower registers weigh-in note ↔ coin. (3) The OCSB lab at each crushing line writes the CCS sequence by the conveyor trap feeding the first tandem mill, first squeeze — the sheet shares the coin number space and resets daily. (4) At the tipper the driver surrenders the coin; slot staff log coin ↔ tipper slot. (5) Mill accounting manually matches coin + CCS sheet + slot log + delivery note — received today via paper, CSV on disk, or web API (PROP-012's %N-### re-note). Offline collisions cannot happen because the numbers are physical/local (coins per line per day; delivery seq per mill per season) — the platform mirrors local allocation, it does not dispense numbers centrally. The full solution — one synchronized, offline-first station suite replacing the weighing-station app, coin tower, and lab entry (local DB per station, optional factory-LAN gateway, secure resync to the platform API gateway; internet at remote mills assumed unreliable) as an opt-in paid mill feature — is a product of its own and is spun out as PROP-021. Minimum to land in the Q1 amendment pass: restate WeighTicket/Delivery numbering as per-mill local sequences (delivery ID per season; coin per line per day) and soften FR-05/FR-100/NFR-01 conflict wording to the mirror-not-allocate model; everything else rides with PROP-021.
คำถามนี้ใหญ่กว่าเรื่องการจ่ายเลขตั๋ว — คำตอบเผยสายโซ่การรับอ้อยทางกายภาพทั้งหมดของโรงงาน ซึ่ง space ของเลขตอบปริศนาการชนกันโดยโครงสร้างเอง (1) ที่ห้องชั่งเข้า เลขคิวถูกแปลงเป็นใบชั่งเข้าพร้อมการจำแนกกำกับ (Q-05) และเลขประจำการส่งมอบที่เริ่มนับ 1 ใหม่ทุกต้นฤดูกาล — ต่อโรงงานต่อฤดูกาล (2) ที่ลานใน คนขับรับเหรียญจริงจากหอแจ้งเหรียญ: แต่ละ line หีบมี prefix เฉพาะ (A/B/C… หรือ 1/2/3… แล้วแต่โรงงาน) และจำนวนเหรียญหมุนเวียนคงที่ (~1,000–2,000 คำนวณจากกำลังหีบของ line ต่อวัน ÷ น้ำหนักบรรทุกสูงสุดต่อคัน); หอฯ ลงทะเบียน ใบชั่งเข้า ↔ เหรียญ (3) แล็บ สอน. ประจำแต่ละ line หีบบันทึกลำดับ CCS ตาม trap บนสายพานที่ป้อน tandem mill แรก การหีบครั้งแรก — แผ่นบันทึกใช้ space เลขเดียวกับหอเหรียญและ reset ทุกต้นวัน (4) ที่ทิปเปอร์ คนขับคืนเหรียญ เจ้าหน้าที่ slot บันทึก เหรียญ ↔ ช่องทิปเปอร์ (5) ฝ่ายบัญชีโรงงานจับคู่ด้วยมือ: เหรียญ + แผ่น CCS + ทะเบียน slot + เลขใบส่งมอบ — ปัจจุบันรับผ่านกระดาษ ไฟล์ CSV บนดิสก์ หรือ web API (re-note %N-### ของ PROP-012) การชนกันแบบ offline เกิดไม่ได้เพราะเลขเป็นของจริง/ท้องถิ่น (เหรียญต่อ line ต่อวัน; ลำดับส่งมอบต่อโรงงานต่อฤดูกาล) — platform สะท้อน (mirror) การจ่ายเลขท้องถิ่น ไม่ได้จ่ายเลขจากส่วนกลาง โซลูชันเต็มรูป — ชุดสถานีเดียวที่ sync กันแบบ offline-first แทนที่แอปห้องชั่ง หอเหรียญ และการบันทึกแล็บ (ฐานข้อมูลท้องถิ่นต่อสถานี, gateway ท้องถิ่นบน LAN โรงงานเป็นทางเลือก, resync อย่างปลอดภัยเข้า API gateway ของ platform; ถือว่าอินเทอร์เน็ตที่โรงงานห่างไกลไม่เสถียรเสมอ) เป็นฟีเจอร์เสริมแบบ opt-in ที่โรงงานจ่ายเพิ่ม — เป็นผลิตภัณฑ์ในตัวเอง จึงแยกออกเป็น PROP-021 ขั้นต่ำที่ต้องลงในรอบแก้ไข Q1: เขียนกฎเลขของ WeighTicket/Delivery ใหม่เป็นลำดับท้องถิ่นต่อโรงงาน (เลขส่งมอบต่อฤดูกาล; เหรียญต่อ line ต่อวัน) และผ่อนถ้อยคำ conflict ของ FR-05/FR-100/NFR-01 เป็น model สะท้อน-ไม่ใช่-จ่ายเลข; ที่เหลือทั้งหมดอยู่กับ PROP-021
Q-07 WeighTicket's schema is missing the four fields the FRs mandate.schema ของ WeighTicket ขาด 4 field ที่ FR บังคับ Blockerสร้างต่อไม่ได้
FR-05 and the UIX bindings require ticket_no (unique per mill per season), the supersedes_ticket_id chain (mill-deliv-d walks it), a manual_weight audit flag, and a reprint counter. The WeighTicket entity carries none of them (ticket_id, delivery_id, gross_kg, tare_kg, net_kg, weighed_at, operator_id). The graph is canonical by project rule — so as written, the canonical model cannot satisfy FR-05. Which side is right, and will the entity be extended?
FR-05 และ binding ของ UIX ต้องการ ticket_no (ห้ามซ้ำต่อโรงงานต่อฤดูกาล), สายโซ่ supersedes_ticket_id (mill-deliv-d ไล่อ่าน), flag ตรวจสอบ manual_weight และตัวนับการพิมพ์ซ้ำ แต่ entity WeighTicket ไม่มีสักตัว (ticket_id, delivery_id, gross_kg, tare_kg, net_kg, weighed_at, operator_id) โดยกติกาโปรเจกต์ graph เป็น canonical — ตามที่เขียนอยู่ model แบบ canonical จึงตอบ FR-05 ไม่ได้ ฝั่งไหนถูก และจะขยาย entity หรือไม่?
Looked in:ตรวจสอบใน: WeighTicket entity + dataModeling profile · FR-05 record · mill-deliv-d bindings ("ticket chain = WeighTicket.supersedes_ticket_id walk").
Pass-2 disposition — valid · reframed by the Q-06 verdict (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตั้งกรอบใหม่ตามคำวินิจฉัย Q-06 (ลูกค้า, 14 ก.ค. 2569)
One field transformed, three unchanged. ticket_no is no longer a number the platform allocates: per the Q-06 verdict it is the delivery identification number allocated locally at the ingest weighing station (ห้องชั่งเข้า) — sequential per mill, restarting at 1 every season — which the platform mirrors, never dispenses (PROP-021 P-1). The field is still added to WeighTicket, but its spec is now a local season-scoped sequence, and FR-05's uniqueness/conflict wording softens to mirror-not-allocate (the PROP-021 Section 6 amendments riding this Q1 pass). Whether it unifies with the delivery ID or stays a distinct number is parked as PROP-021 OQ-4 — this disposition defers to that decision rather than re-deciding it. supersedes_ticket_id, manual_weight and the reprint counter are untouched by Q-06: still missing, still mandated by FR-05/UIX, still to land in the Q1 amendment pass — with one simplification: local number spaces cannot collide by construction, so an issued immutable ticket never renumbers; correction happens only via a superseding ticket, which is exactly what the chain records. Amendment wrinkle: PROP-021 proposes a WeighInNote entity and subsumes mill-wb into ST-WB where the suite is enabled — the WeighTicket extension must state how the two relate for non-suite mills, the platform's default path (P-3).
หนึ่ง field เปลี่ยนรูป สามตัวคงเดิม ticket_no ไม่ใช่เลขที่ platform จ่ายอีกต่อไป: ตามคำวินิจฉัย Q-06 มันคือเลขประจำการส่งมอบที่จ่ายในท้องถิ่นที่ห้องชั่งเข้า — เรียงลำดับต่อโรงงาน เริ่มนับ 1 ใหม่ทุกต้นฤดูกาล — ซึ่ง platform สะท้อน ไม่เคยจ่ายเอง (PROP-021 P-1) field นี้ยังต้องเพิ่มเข้า WeighTicket แต่ spec กลายเป็นลำดับท้องถิ่นตามขอบเขตฤดูกาล และถ้อยคำห้ามซ้ำ/conflict ของ FR-05 ผ่อนเป็นสะท้อน-ไม่ใช่-จ่ายเลข (การแก้ไขข้อ 6 ของ PROP-021 ที่ไปกับรอบแก้ไข Q1 นี้) ส่วนคำถามว่าเลขนี้รวมเป็นเลขเดียวกับเลขส่งมอบหรือแยกกัน พักไว้เป็น OQ-4 ของ PROP-021 — คำวินิจฉัยนี้ยกให้การตัดสินใจนั้น ไม่ตัดสินซ้ำ supersedes_ticket_id, manual_weight และตัวนับการพิมพ์ซ้ำ ไม่ถูกกระทบโดย Q-06: ยังหายอยู่ ยังถูกบังคับโดย FR-05/UIX และยังต้องลงในรอบแก้ไข Q1 — พร้อมความเรียบง่ายหนึ่งข้อ: space เลขท้องถิ่นชนกันไม่ได้โดยโครงสร้าง ตั๋ว immutable ที่ออกแล้วจึงไม่มีวันเปลี่ยนเลข; การแก้ไขเกิดผ่านตั๋วฉบับแทนที่เท่านั้น ซึ่งคือสิ่งที่สายโซ่บันทึกพอดี ประเด็นแก้ไขเพิ่ม: PROP-021 เสนอ entity WeighInNote และรวม mill-wb เข้า ST-WB เมื่อเปิดใช้ชุดสถานี — การขยาย WeighTicket ต้องระบุความสัมพันธ์ของทั้งสองสำหรับโรงงานที่ไม่ใช้ชุดสถานี ซึ่งเป็นเส้นทางเริ่มต้นของ platform (P-3)
Q-08 What are the valid ranges of crushing_line · tipper_slot · coin_no, and where is a mill's line/slot count configured?ช่วงค่าที่ถูกต้องของ crushing_line · tipper_slot · coin_no คืออะไร และการตั้งค่าจำนวน line/slot ของโรงงานอยู่ที่ไหน? Gapต้องตัดสินใจ
FR-100 blocks tags with "line/slot/coin out of range" and mill-wb uses steppers — but no source gives the ranges, their per-mill configuration (Mill has no lines/slots attributes; no config entity exists), or the coin_no number space. The inline validation cannot be written.
FR-100 บล็อก tag ที่ "line/slot/coin เกินช่วง" และ mill-wb ใช้ stepper — แต่ไม่มีแหล่งใดให้ช่วงค่า การตั้งค่ารายโรงงาน (Mill ไม่มี attribute จำนวน line/slot; ไม่มี entity การตั้งค่า) หรือ space ของเลข coin_no การตรวจสอบ inline จึงเขียนไม่ได้
Looked in:ตรวจสอบใน: FR-100 record · Delivery/Mill entity attributes · mill-wb components & validations · dataModeling.
Pass-2 disposition — valid · largely answered by the Q-06 verdict (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตอบไปมากแล้วโดยคำวินิจฉัย Q-06 (ลูกค้า, 14 ก.ค. 2569)
The coin_no space is now specified: line prefix + number (A/B/C… or 1/2/3… — per factory), a fixed circulation per crushing line (~1,000–2,000: line crushing capacity per day ÷ max tonnes per truck, rounded), resetting daily; the OCSB CCS sheet shares the same space. PROP-021 WF-52 (coin circulation setup, per line per day) is the proposed configuration mechanism. What survives of Q-08 is only the config home: Mill still has no lines/slots attributes, and because the station suite is opt-in paid (P-3), FR-100's inline validation on the plain mill-wb screen needs the per-mill crushing-line count, tipper-slot count per line, and coin prefix/circulation in the core graph (Mill attributes or a mill-configuration entity) — not only inside the proposed mill_stations context. Q-08 therefore shrinks to one decision for the Q1 amendment pass: where per-mill line / slot / coin configuration lives for all mills, suite or not. One more input to that decision: the pass-2 verdicts have grown a per-mill configuration family — Q-01 tolerances, Q-03 booking policy, Q-04 tipper-slot ratings, this question's line/slot/coin, and now Q-17's true-up approval policy (approver chain / conditions) — which the amendment pass should give a single config home rather than five ad-hoc ones.
space ของ coin_no ถูกระบุแล้ว: prefix ของ line + เลข (A/B/C… หรือ 1/2/3… — แล้วแต่โรงงาน), จำนวนหมุนเวียนคงที่ต่อ line หีบ (~1,000–2,000: กำลังหีบของ line ต่อวัน ÷ ตันสูงสุดต่อคัน ปัดเศษ), reset ทุกวัน; แผ่น CCS ของ สอน. ใช้ space เดียวกัน กลไกตั้งค่าที่เสนอคือ WF-52 ของ PROP-021 (ตั้งค่าเหรียญหมุนเวียน ต่อ line ต่อวัน) สิ่งที่เหลือของ Q-08 คือบ้านของการตั้งค่าเท่านั้น: Mill ยังไม่มี attribute จำนวน line/slot และเพราะชุดสถานีเป็น opt-in จ่ายเพิ่ม (P-3) การตรวจสอบ inline ของ FR-100 บนหน้าจอ mill-wb ปกติต้องการจำนวน line หีบรายโรงงาน จำนวนช่องทิปเปอร์ต่อ line และ prefix/จำนวนเหรียญ ใน graph หลัก (attribute ของ Mill หรือ entity การตั้งค่าโรงงาน) — ไม่ใช่เฉพาะใน context mill_stations ที่เสนอ Q-08 จึงหดเหลือการตัดสินใจเดียวสำหรับรอบแก้ไข Q1: การตั้งค่า line / slot / เหรียญ รายโรงงานอยู่ที่ไหน สำหรับทุกโรงงาน ไม่ว่าจะใช้ชุดสถานีหรือไม่ ข้อมูลเพิ่มสำหรับการตัดสินนั้น: คำวินิจฉัยรอบที่ 2 ทำให้เกิดตระกูลการตั้งค่ารายโรงงาน — ค่าเผื่อของ Q-01, นโยบายจองของ Q-03, พิกัดทิปเปอร์ของ Q-04, line/slot/เหรียญของข้อนี้ และล่าสุดนโยบายการอนุมัติ true-up ของ Q-17 (สายผู้อนุมัติ / เงื่อนไข) — รอบแก้ไขควรให้บ้านการตั้งค่าเดียว ไม่ใช่ห้าที่แบบเฉพาะกิจ
B. Ticket artifacts & sign-offB. เอกสารตั๋วชั่งและการลงนามกำกับ
Q-09 What does the 80 mm thermal ticket actually print?ตั๋วความร้อน 80 มม. พิมพ์อะไรบ้างกันแน่? Gapต้องตัดสินใจ
FR-05 fires an 80 mm print, WF-03 promises "tickets immutable with QR", reprints carry a REPRINT watermark — but no source specifies the printed field list, layout, the QR payload format (ticket id? verification URL? signed?), or the Thai ticket-body strings (the copy catalogue has console strings only, no ticket labels). A farmer-held legal artifact needs a spec.
FR-05 สั่งพิมพ์ 80 มม., WF-03 สัญญา "ตั๋ว immutable พร้อม QR", ใบพิมพ์ซ้ำมีลายน้ำ REPRINT — แต่ไม่มีแหล่งใดระบุรายการ field ที่พิมพ์ layout รูปแบบ payload ของ QR (ticket id? URL ตรวจสอบ? มีลายเซ็น?) หรือข้อความไทยบนตัวตั๋ว (copy catalogue มีแต่ string ฝั่ง console ไม่มี label ตั๋ว) เอกสารทางกฎหมายที่อยู่ในมือชาวไร่ต้องมี spec
Looked in:ตรวจสอบใน: FR-05 record · WF-03 promises · mill-wb exits ("ticket print") · copy catalogue (wb.* keys).
Pass-2 disposition — valid · premise corrected & decided (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · แก้ฐานความเข้าใจและตัดสินแล้ว (ลูกค้า, 14 ก.ค. 2569)
The premise was a misunderstanding: the 80 mm thermal printer does not print a weighbridge weight receipt — it prints the journey artifact chain, two QR tickets. (1) Checkpoint ticket — carried for the journey; scanning its QR at checkpoints tracks the truck en route to the mill. (2) Queue ticket — issued when the truck arrives at the factory; its QR opens a public live status page showing the queue length and how many trucks are ahead, current on every refresh, for anyone holding the ticket — no login. The queue ticket is then the enrollment key: at the weighing station, staff scan its QR to enroll the truck's delivery into the entry queue — issuing the per-mill-per-season delivery ID (Q-06/Q-07) and all related details — before the truck enters the inner waiting area to be lifted on the tipper. For the amendment pass: the QR payload is a URL resolving to the ticket's public status page, scoped mill + season; the field-list / layout / Thai ticket-string spec belongs with the queue model in PROP-020 (checkpoint ticket · queue ticket · status page); FR-05 / WF-03 / mill-wb "ticket print" wording must be re-pointed to this chain — the weighbridge consumes a QR (scan-to-enroll; ST-WB where the station suite runs) rather than producing the farmer's primary artifact. One residual to record: whether any paper prints at the weighbridge itself after scan-in, and where the REPRINT-watermark rule now lives (reissue at checkpoint/gate).
ฐานของคำถามเป็นความเข้าใจคลาดเคลื่อน: เครื่องพิมพ์ความร้อน 80 มม. ไม่ได้พิมพ์ใบชั่งน้ำหนักจากห้องชั่ง — มันพิมพ์สายโซ่เอกสารการเดินทาง เป็นตั๋ว QR สองใบ (1) ตั๋วจุดตรวจ — ถือไปตลอดการเดินทาง; สแกน QR ที่จุดตรวจเพื่อติดตามรถระหว่างทางไปโรงงาน (2) บัตรคิว — ออกเมื่อรถมาถึงโรงงาน; QR เปิดหน้าเว็บสถานะสดสาธารณะ แสดงความยาวคิวและจำนวนรถข้างหน้า อัปเดตทุกครั้งที่ refresh ใครถือตั๋วก็เปิดดูได้ — ไม่ต้อง login จากนั้นบัตรคิวคือกุญแจลงทะเบียน: ที่สถานีชั่ง เจ้าหน้าที่สแกน QR เพื่อลงทะเบียนการส่งมอบของรถเข้าคิวรับเข้า — ออกเลขส่งมอบต่อโรงงานต่อฤดูกาล (Q-06/Q-07) และรายละเอียดที่เกี่ยวข้องทั้งหมด — ก่อนรถเข้าพื้นที่รอชั้นในเพื่อเตรียมยกขึ้นทิปเปอร์ สำหรับรอบแก้ไข: payload ของ QR คือ URL ที่ resolve ไปหน้าสถานะสาธารณะของตั๋ว มีขอบเขตโรงงาน + ฤดูกาล; spec รายการ field / layout / ข้อความไทยบนตั๋ว ย้ายไปอยู่กับ model คิวใน PROP-020 (ตั๋วจุดตรวจ · บัตรคิว · หน้าสถานะ); ถ้อยคำ "ticket print" ใน FR-05 / WF-03 / mill-wb ต้องชี้มาที่สายโซ่นี้ — ห้องชั่งเป็นผู้สแกน QR (scan-to-enroll; ST-WB เมื่อใช้ชุดสถานี) ไม่ใช่ผู้ผลิตเอกสารหลักของชาวไร่ สิ่งตกค้างหนึ่งข้อที่ต้องบันทึก: มีกระดาษพิมพ์ที่ห้องชั่งเองหลัง scan-in หรือไม่ และกฎลายน้ำ REPRINT ไปอยู่ที่ใด (การออกซ้ำที่จุดตรวจ/ประตู)
Q-10 What is the mill_manager PIN, and where does it come from?PIN ของ mill_manager คืออะไร และมาจากไหน? Gapต้องตัดสินใจ
Manual-weight dual sign-off is "operator + mill_manager PIN" (mill-wb validation). A PIN is not part of the federation identity model — no provisioning, storage, reset, lockout, or verification contract exists anywhere (the token contract knows passwords/sessions, not co-sign PINs). Is this a real second credential, a re-auth of the manager's account, or something new the FED family must gain?
การลงนามคู่สำหรับน้ำหนัก manual คือ "operator + PIN ของ mill_manager" (validation ของ mill-wb) แต่ PIN ไม่ได้เป็นส่วนหนึ่งของ identity model ฝั่ง federation — ไม่มีสัญญาการออก จัดเก็บ reset ล็อก หรือการตรวจสอบที่ใดเลย (token contract รู้จักรหัสผ่าน/เซสชัน ไม่ใช่ PIN ลงนามร่วม) นี่คือ credential ที่สองจริง ๆ, การ re-auth บัญชีผู้จัดการ หรือของใหม่ที่ตระกูล FED ต้องเพิ่ม?
Looked in:ตรวจสอบใน: federation block (layers, claims, entitlementMatrix) · FR-05 record ("dual sign-off") · full-graph search for "PIN" (one hit: the mill-wb validation itself; the other is the PIN-### code format of PaymentInstallment).
Pass-2 disposition — valid · feature removed: manual entry is illegal (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดฟีเจอร์ออก: การกรอกด้วยมือผิดกฎหมาย (ลูกค้า, 14 ก.ค. 2569)
There is no PIN, because the feature behind it cannot exist: typing a weight in by hand is outright outlawed. The government weights-and-measures authority mandates that every weighbridge is calibrated and certified by government officials and that the weight is digitally captured from the scale into the staff terminal — no override, no manual input, no way to manipulate the figure — so the record is transparent with no backdoor. The entire manual-weight path (dual sign-off, operator + mill_manager PIN) is therefore deleted, and no PIN/co-sign concept enters the FED family; the PROP-021 offline constraint on it lapses with it. To land in the Q1 amendment pass: FR-05 reworded to certified-scale digital capture only; the mill-wb manual-entry validation and its copy keys removed; a compliance NFR recording the no-manual-entry mandate; and one residual to define — the mill-wb blocking error state when the scale link is down (weighing halts; no software fallback).
ไม่มี PIN เพราะฟีเจอร์เบื้องหลังมันมีอยู่ไม่ได้: การกรอกน้ำหนักด้วยมือผิดกฎหมายโดยสิ้นเชิง หน่วยงานชั่งตวงวัดของรัฐกำหนดให้เครื่องชั่งทุกเครื่องต้องผ่านการสอบเทียบและรับรองโดยเจ้าหน้าที่รัฐ และน้ำหนักต้องถูกส่งเข้า terminal ของเจ้าหน้าที่แบบดิจิทัลจากเครื่องชั่งโดยตรง — ไม่มี override ไม่มีการกรอกด้วยมือ ไม่มีทางบิดเบือนตัวเลข — เพื่อความโปร่งใสโดยไม่มีช่องทางลับหลังบ้าน เส้นทางน้ำหนัก manual ทั้งหมด (การลงนามคู่ operator + PIN ของ mill_manager) จึงถูกลบ และไม่มีแนวคิด PIN/ลงนามร่วมเข้าสู่ตระกูล FED; ข้อจำกัด offline ของ PROP-021 ต่อเรื่องนี้หมดผลตามกัน สิ่งที่ต้องลงในรอบแก้ไข Q1: ปรับถ้อยคำ FR-05 เป็นการรับค่าดิจิทัลจากเครื่องชั่งที่รับรองเท่านั้น; ลบ validation การกรอก manual ของ mill-wb และ copy key ที่เกี่ยวข้อง; เพิ่ม NFR ด้าน compliance บันทึกข้อบังคับห้ามกรอกด้วยมือ; และสิ่งตกค้างหนึ่งข้อ — นิยามสถานะ error แบบปิดกั้นของ mill-wb เมื่อการเชื่อมต่อเครื่องชั่งล่ม (หยุดชั่ง; ไม่มี fallback ทาง software)
C. Quality (CCS)C. คุณภาพ (ค่าความหวาน CCS)
Q-11 Where does a CCS delta go when the re-note (or a correction) arrives after installment 2 has posted?delta ของ CCS ไปที่ไหน เมื่อ re-note (หรือการแก้ไข) มาถึงหลังงวดที่ 2 post แล้ว? Blockerสร้างต่อไม่ได้
FR-06/FR-07 route a late-confirmed CCS delta "inside installment 2". But settled is terminal, installments are exactly two, and the season true-up (FR-99) reconciles the price, not CCS. If confirmation or a correction re-note lands after FinalInstallmentPosted — likely for end-of-cycle deliveries given the 7-day CCS target vs a possible ~15-day installment-2 window, and always possible for corrections — there is no vehicle (no installment 3, no adjustment PaymentItem path) and no stated behaviour.
FR-06/FR-07 ส่ง delta ของ CCS ที่ยืนยันช้า "เข้าไปในงวดที่ 2" แต่ settled เป็นสถานะปลายทาง งวดมีสองงวดพอดี และ true-up ปลายฤดู (FR-99) ปรับราคา ไม่ใช่ CCS หากการยืนยันหรือ re-note แก้ไขมาถึงหลัง FinalInstallmentPosted — เป็นไปได้สูงสำหรับการส่งมอบท้ายรอบ เมื่อเทียบเป้า CCS 7 วันกับหน้าต่างงวดที่ 2 ที่อาจ ~15 วัน และเป็นไปได้เสมอสำหรับการแก้ไข — ก็ไม่มีพาหนะ (ไม่มีงวดที่ 3 ไม่มีเส้นทาง PaymentItem ปรับปรุง) และไม่มีพฤติกรรมที่ระบุไว้
Looked in:ตรวจสอบใน: FR-06/FR-07/FR-95/FR-98/FR-99 records · deliveryStateMachine (settled terminal) · PaymentInstallment entity ("TWO per PaymentItem") · WF-04 step 5 / WF-05.
Pass-2 disposition — valid · premise dissolved: CCS settles same-day (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ฐานคำถามสลายไป: CCS จบภายในวัน (ลูกค้า, 14 ก.ค. 2569)
The late-delta case cannot arise, because CCS is settled within the crushing day — there is no next-day CCS adjustment, ever. Every delivery's CCS is final at day close: where a delivery has no measurement (e.g. a four-wheel pickup too small for the lab sequence), or a reading cannot be matched or is unclear, the settled CCS is the factory's average CCS for that day. After day close, per-delivery CCS never changes — season-level reconciliation remains the final-price true-up (FR-99), a price matter, not a CCS one. To land in the Q1 amendment pass: FR-06/FR-07 rewritten — the provisional→confirmed late-delta-into-installment-2 model is deleted in favour of a same-day finality rule + daily-average fallback (delivery gains ccs_source: measured | daily_average; day close computes the daily average); the 7-day re-note target and PROP-012's CcsReNote provisional/confirmed correction path need matching rework — a สอน. deviation found later routes to price/season adjustment (FR-98/FR-99), never back into per-delivery CCS, aligning with the Q-12 fix; PROP-021 ST-LAB auto-match becomes the same-day matching mechanism, with any delivery still unmatched at day close taking the daily average.
กรณี delta ช้าเกิดขึ้นไม่ได้ เพราะ CCS จบภายในวันหีบ — ไม่มีการปรับ CCS ข้ามวันโดยเด็ดขาด CCS ของทุกการส่งมอบเป็นที่สิ้นสุดเมื่อปิดวัน: หากการส่งมอบใดไม่มีการวัด (เช่น รถกระบะสี่ล้อที่เล็กเกินกว่าจะเข้าลำดับแล็บ) หรือค่าที่วัดจับคู่ไม่ได้/ไม่ชัดเจน ให้ใช้ CCS เฉลี่ยของโรงงานในวันนั้นเป็นค่าที่ใช้ชำระ หลังปิดวันแล้ว CCS รายการส่งมอบไม่เปลี่ยนอีกเลย — การปรับระดับฤดูกาลคงเป็น true-up ราคาขั้นสุดท้าย (FR-99) ซึ่งเป็นเรื่องราคา ไม่ใช่ CCS สิ่งที่ต้องลงในรอบแก้ไข Q1: เขียน FR-06/FR-07 ใหม่ — ลบ model delta ช้าแบบ provisional→confirmed เข้างวดที่ 2 แทนด้วยกฎจบภายในวัน + fallback ค่าเฉลี่ยรายวัน (การส่งมอบได้ ccs_source: measured | daily_average; การปิดวันคำนวณค่าเฉลี่ยรายวัน); เป้า re-note 7 วันและเส้นทางแก้ไข provisional/confirmed ของ CcsReNote (PROP-012) ต้องปรับตาม — ผลตรวจ สอน. ที่พบภายหลังส่งเข้าการปรับราคา/ระดับฤดูกาล (FR-98/FR-99) ไม่ย้อนกลับเข้า CCS รายการส่งมอบ สอดคล้องกับการแก้ Q-12; auto-match ของ ST-LAB (PROP-021) กลายเป็นกลไกจับคู่ภายในวัน โดยการส่งมอบที่ยังจับคู่ไม่ได้เมื่อปิดวันใช้ค่าเฉลี่ยรายวัน
Q-12 Stale lab-era text in the exceptions list.ข้อความยุคแล็บตกค้างในรายการข้อยกเว้น Editorialแก้ไขข้อความ
SPEC-PWF-MILL Section 5: "Audit deviation: a สอน. finding posts retroactive adjustment items — my tests stand, superseded only by my own re-tests." Under PROP-012 the mill has no tests — CCS is the สอน. re-note. The sentence contradicts FR-06/FR-98 and spec v0.4.1's conformance patch. What is the actual behaviour when a สอน. audit finding deviates from an ingested re-note?
SPEC-PWF-MILL ข้อ 5: "Audit deviation: ผลตรวจของ สอน. post รายการปรับย้อนหลัง — ผลทดสอบของฉันยังยืน ถูกแทนได้ด้วยการทดสอบซ้ำของฉันเองเท่านั้น" ภายใต้ PROP-012 โรงงานไม่มีการทดสอบ — CCS คือ re-note ของ สอน. ประโยคนี้ขัดกับ FR-06/FR-98 และ patch ความสอดคล้องของ spec v0.4.1 พฤติกรรมจริงเมื่อผลตรวจ audit ของ สอน. ต่างจาก re-note ที่รับเข้าแล้วคืออะไร?
Looked in:ตรวจสอบใน: SPEC-PWF-MILL Section 5 vs FR-06/FR-98/NFR-28 and the v0.4.1 patch note.
Pass-2 disposition — valid · correction decided: mill lab is production-only (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินการแก้ข้อความ: แล็บโรงงานใช้เพื่อการผลิตเท่านั้น (ลูกค้า, 14 ก.ค. 2569)
The stale sentence is corrected by pinning down what the mill lab is for: the mill does run its own CCS / cane-juice-brix lab, but purely as a production reference — computing total available sucrose in the cane versus sugar actually extracted, to quantify manufacturing loss. It has nothing to do with the farmer or the regulator in determining the cane price; mill lab readings never enter settlement. Settlement CCS is exactly the A-11 rule: the สอน. measurement for the delivery, and where สอน. does not (or has not) provided one, the factory's average CCS for the delivery day — final at day close, no reopening. For the Q1 amendment pass: delete the "my tests stand, superseded only by my own re-tests" exception from SPEC-PWF-MILL Section 5; replace it with (a) settlement CCS = สอน. measurement, daily-average fallback per A-11, and (b) a สอน. audit deviation posts retroactive price/season adjustment items (FR-98/FR-99), never a per-delivery CCS change; record the mill production lab as explicitly out of settlement scope (a factory-operations concern — a note on the quality context / PROP-021 ST-LAB boundary, not a settlement input).
แก้ประโยคตกค้างโดยระบุให้ชัดว่าแล็บโรงงานมีไว้ทำอะไร: โรงงานมีแล็บ CCS / ค่า brix น้ำอ้อยของตนเองจริง แต่ใช้เป็นข้อมูลอ้างอิงการผลิตเท่านั้น — คำนวณซูโครสทั้งหมดที่มีในอ้อยเทียบกับน้ำตาลที่สกัดได้จริง เพื่อวัดการสูญเสียในกระบวนการผลิต ไม่เกี่ยวข้องใด ๆ กับชาวไร่หรือหน่วยงานกำกับในการกำหนดราคาอ้อย; ค่าจากแล็บโรงงานไม่เข้าสู่การชำระเงินเลย CCS ที่ใช้ชำระคือกฎ A-11 ทุกประการ: ค่าที่ สอน. วัดสำหรับการส่งมอบนั้น และหาก สอน. ไม่ได้ให้ค่า ให้ใช้ CCS เฉลี่ยของโรงงานในวันที่ส่งมอบ — สิ้นสุดเมื่อปิดวัน ไม่เปิดใหม่ สำหรับรอบแก้ไข Q1: ลบข้อยกเว้น "ผลทดสอบของฉันยังยืน..." ออกจาก SPEC-PWF-MILL ข้อ 5 แทนด้วย (a) CCS ที่ใช้ชำระ = ค่าวัดของ สอน. โดยมี fallback ค่าเฉลี่ยรายวันตาม A-11 และ (b) ผลตรวจ audit ของ สอน. ที่ต่างออกไป post เป็นรายการปรับราคา/ระดับฤดูกาลย้อนหลัง (FR-98/FR-99) ไม่ใช่การเปลี่ยน CCS รายการส่งมอบ; บันทึกแล็บผลิตของโรงงานว่าอยู่นอกขอบเขตการชำระเงินโดยชัดแจ้ง (เป็นเรื่องการผลิตของโรงงาน — หมายเหตุบน context คุณภาพ / ขอบเขต ST-LAB ของ PROP-021 ไม่ใช่ input การชำระ)
D. Settlement & creditD. การชำระเงินและสินเชื่อ
Q-13 What is the satang rounding convention?ข้อตกลงการปัดเศษสตางค์คืออะไร? Gapต้องตัดสินใจ
Everything reconciles "to the satang", but no source fixes rounding: the 50/50 split of an odd-satang total (does installment 1 or 2 carry the extra satang?), the products price × net_t, (ccs − ccs_base) × ccs_increment_per_t × net_t, and per-tonne policy adjustments (round half-up? banker's? per line or per item?). Two compliant implementations will disagree by satang — which the spec's own reconciliation metrics (FR-17, FR-89) would then flag.
ทุกอย่าง reconcile "ถึงระดับสตางค์" แต่ไม่มีแหล่งใดกำหนดการปัดเศษ: การแบ่ง 50/50 ของยอดที่สตางค์เป็นเลขคี่ (งวดที่ 1 หรือ 2 รับสตางค์เกิน?), ผลคูณ price × net_t, (ccs − ccs_base) × ccs_increment_per_t × net_t และการปรับตามนโยบายรายตัน (ปัดครึ่งขึ้น? banker's? ต่อบรรทัดหรือต่อ item?) สอง implementation ที่ต่างก็ทำถูกจะต่างกันเป็นสตางค์ — ซึ่ง metric การ reconcile ของ spec เอง (FR-17, FR-89) จะ flag
Looked in:ตรวจสอบใน: FR-07/FR-17 records · WF-05 step 2 · CanePriceAnnouncement formula note · conventions block · NFR-06.
Pass-2 disposition — valid · convention decided (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินข้อตกลงแล้ว (ลูกค้า, 14 ก.ค. 2569)
The rounding convention is fixed in three rules. (1) Precision: all intermediate computation — price × net_t, (ccs − ccs_base) × ccs_increment_per_t × net_t, per-tonne policy adjustments — is carried at full precision; rounding happens once, on the final total of the settlement amount, never per line or per item. (2) Method: that single rounding uses banker's rounding (round half to even) to the satang. (3) 50/50 split: both installment halves are rounded down to the satang (฿500.005 → ฿500.00); on an odd-satang total the two halves therefore sum one satang short, and that residual satang is retained by the platform — posted to a platform rounding-residual account, never paid with either installment. For the Q1 amendment pass: state these three rules in the conventions block, reference them from FR-07/FR-17 and the CanePriceAnnouncement formula note, add the rounding-residual account as a posting target, and make FR-17/FR-89 reconciliation treat installment_1 + installment_2 + rounding_residual = total as the balancing identity.
กำหนดข้อตกลงการปัดเศษเป็นสามกฎ (1) ความละเอียด: การคำนวณระหว่างทางทั้งหมด — price × net_t, (ccs − ccs_base) × ccs_increment_per_t × net_t, การปรับตามนโยบายรายตัน — เก็บความละเอียดเต็ม; ปัดเศษครั้งเดียวที่ยอดรวมสุดท้ายของยอดชำระ ไม่ปัดต่อบรรทัดหรือต่อ item (2) วิธี: การปัดครั้งเดียวนั้นใช้ banker's rounding (ปัดครึ่งเข้าเลขคู่) ถึงระดับสตางค์ (3) การแบ่ง 50/50: ครึ่งของทั้งสองงวดปัดลงถึงสตางค์ (฿500.005 → ฿500.00); เมื่อยอดรวมมีสตางค์คี่ สองงวดจะรวมขาดไปหนึ่งสตางค์ และสตางค์ตกค้างนั้นเป็นของแพลตฟอร์ม — post เข้าบัญชีเศษจากการปัดเศษของแพลตฟอร์ม ไม่จ่ายไปกับงวดใด สำหรับรอบแก้ไข Q1: เขียนสามกฎนี้ใน conventions block, อ้างอิงจาก FR-07/FR-17 และ formula note ของ CanePriceAnnouncement, เพิ่มบัญชีเศษการปัดเศษเป็นเป้าหมายการ post และให้การ reconcile ของ FR-17/FR-89 ใช้ installment_1 + installment_2 + rounding_residual = total เป็นสมการดุล
Q-14 Batch posting atomicity and the partial-failure state.ความเป็น atomic ของการ post แบบ batch และสถานะเมื่อล้มเหลวบางส่วน Gapต้องตัดสินใจ
WF-05 step 5's failure branch: "batch atomic per delivery; failed items retry." So a batch can end the cycle date part-posted — but PaymentBatch's observable statuses (open / approved / posted, per mill-settle) have no partial or failed representation, and nothing states whether NFR-27 ("posted ON the due date, never after") is breached by items still retrying at day end, or what the operator sees/does then.
ทางล้มเหลวของ WF-05 ขั้นที่ 5: "batch เป็น atomic ต่อ delivery; item ที่ล้มเหลว retry" — batch จึงจบวันครบกำหนดแบบ post ไปบางส่วนได้ แต่สถานะที่มองเห็นได้ของ PaymentBatch (open / approved / posted ตาม mill-settle) ไม่มีการแทนสถานะ partial หรือ failed และไม่มีข้อความว่า NFR-27 ("post ในวันครบกำหนด ไม่มีวันหลังจากนั้น") ถูกละเมิดหรือไม่หาก item ยัง retry ค้างตอนสิ้นวัน หรือ operator เห็น/ทำอะไรได้ตอนนั้น
Looked in:ตรวจสอบใน: WF-05 step 5 · PaymentBatch entity (status unenumerated) · mill-settle/mill-batch state matrices · NFR-27.
Pass-2 disposition — valid · model decided: partial state + roll to next cycle (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสิน model: สถานะ partial + ยกไปรอบถัดไป (ลูกค้า, 14 ก.ค. 2569)
Three rules close the gap. (1) Statuses: PaymentBatch gains a partially_posted state (some items posted, some failed), and payment items gain a failed state — the batch is posted only when every item posted. (2) NFR-27 scope + roll-forward: the "posted ON the due date, never after" rule applies to the items that did post on the due date; it is not breached by failed items. A failed item's delivery moves to a waiting status to resolve the shortfall, and the item is rescheduled into the next payment cycle — failed items never post late inside the original cycle. (3) Operator path: the back-office operator resolves each failed line item by supplying the missing or corrected payment information (e.g. payee account details); there is no fixed resolution deadline — the item stays waiting until corrected, and only once fully corrected is it scheduled into the next cycle's batch. For the Q1 amendment pass: enumerate PaymentBatch statuses (open / approved / posted / partially_posted) and item-level posted / failed / waiting / rescheduled, scope NFR-27 to due-date-posted items, add the delivery waiting state and the roll-forward rule to WF-05 step 5, and add the operator correct-and-reschedule task to the mill-settle surface.
ปิดช่องว่างด้วยสามกฎ (1) สถานะ: PaymentBatch เพิ่มสถานะ partially_posted (บาง item post สำเร็จ บาง item ล้มเหลว) และ item การจ่ายเพิ่มสถานะ failed — batch จะเป็น posted ต่อเมื่อทุก item post สำเร็จเท่านั้น (2) ขอบเขต NFR-27 + การยกไปรอบถัดไป: กฎ "post ในวันครบกำหนด ไม่มีวันหลังจากนั้น" ใช้กับ item ที่ post สำเร็จในวันครบกำหนดเท่านั้น; item ที่ล้มเหลวไม่ถือเป็นการละเมิด การส่งมอบของ item ที่ล้มเหลวเข้าสถานะ รอดำเนินการ (waiting) เพื่อแก้ส่วนค้าง และ item ถูกจัดตารางใหม่เข้ารอบจ่ายถัดไป — item ที่ล้มเหลวไม่มีทาง post ช้าในรอบเดิม (3) เส้นทาง operator: operator หลังบ้านแก้ item ที่ล้มเหลวทีละรายการโดยกรอกข้อมูลการจ่ายที่ขาดหรือแก้ให้ถูกต้อง (เช่น ข้อมูลบัญชีผู้รับเงิน); ไม่กำหนดเส้นตายการแก้ไข — item ค้างสถานะรอจนกว่าจะแก้ครบ และเมื่อแก้ครบทุกจุดแล้วเท่านั้นจึงเข้า batch ของรอบถัดไป สำหรับรอบแก้ไข Q1: ระบุสถานะ PaymentBatch (open / approved / posted / partially_posted) และระดับ item posted / failed / waiting / rescheduled, จำกัดขอบเขต NFR-27 ไว้ที่ item ที่ post ในวันครบกำหนด, เพิ่มสถานะ waiting ของ delivery และกฎยกไปรอบถัดไปใน WF-05 ขั้นที่ 5 และเพิ่มงานแก้-และ-จัดตารางใหม่ของ operator บน surface mill-settle
Q-15 Credit interest: no rate field, no accrual rule.ดอกเบี้ยสินเชื่อ: ไม่มี field อัตรา ไม่มีกฎการคิดดอกเบี้ย Blockerสร้างต่อไม่ได้
FR-15 accepts lines "with a limit and rate ≥ 0" and says "interest accrual rules live on the line" — but CreditLine has no rate attribute (credit_id, lender_party_id, borrower_farmer_id, season_id, upstream_credit_id, funding_account_id, limit_amt, status), and no source defines the accrual method (simple/compound), day-count, posting cadence, its event, or where accrued interest appears (a CreditItem? the offset base of FR-17?). The credit desk cannot be built.
FR-15 รับ line "ที่มี limit และอัตรา ≥ 0" และบอกว่า "กฎการคิดดอกเบี้ยอยู่บน line" — แต่ CreditLine ไม่มี attribute อัตรา (credit_id, lender_party_id, borrower_farmer_id, season_id, upstream_credit_id, funding_account_id, limit_amt, status) และไม่มีแหล่งใดกำหนดวิธีคิด (ต้นเดียว/ทบต้น), day-count, รอบการ post, event ของมัน หรือดอกเบี้ยค้างรับไปปรากฏที่ไหน (CreditItem? ฐาน offset ของ FR-17?) โต๊ะสินเชื่อสร้างไม่ได้
Looked in:ตรวจสอบใน: CreditLine/CreditItem entities + dataModeling profiles · FR-15/FR-16/FR-17 records · events list · mill-credit bindings.
Pass-2 disposition — valid · model decided: per-mill effective-dated rate, compound accrual from the post-dated cheque date (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสิน model: อัตรารายโรงงานแบบมีวันมีผล ดอกเบี้ยทบต้นนับจากวันที่เช็คลงวันที่ล่วงหน้า (ลูกค้า, 14 ก.ค. 2569)
The financing model is clarified first: the factory finances farmers by issuing post-dated cheques; the farmer's bank takes the cheque as collateral and provides factoring financing — the bank deducts its own interest from the cheque's face value up front and pays the farmer the remainder. The bank-side calculation is outside the factory's view and out of platform scope (standard Thai banking factoring practice governs it). The platform models the factory-side loan: (1) Rate: one interest rate per factory (applying to all its farmers), effective-dated and forward-only — a new rate applies from its effective date onward, never retroactively — with a full historical record of each change (rate, change date, effective date). The rate therefore lives on a per-mill rate schedule, not on CreditLine. (2) Method: compound interest by default, computed daily on principal + accrued interest; a factory can opt in to simple interest instead (per-mill config). (3) Accrual start: interest runs from the date of the post-dated cheque the factory wrote to the farmer, and accrues only insofar as the farmer has not offset the financing with cane deliveries. (4) Accounting: principal and accrued interest are carried as separate balances per standard banking accounting — the FR-17 offset deducts them as distinct components — while the compound base remains principal + accrued interest for the next day's accrual. (5) In-kind / contract-farming financing: financing the factory provides in goods or services (fertilizer, inputs, direct factory services) accrues at the same per-mill rate as rule (1); a factory may opt in to a split rate — one rate before the scheduled payment date, a different rate after it — but the single mill rate is the typical case. For the Q1 amendment pass: add an effective-dated per-mill credit-rate entity (rate history), a per-mill interest_method config (compound default / simple opt-in), an optional per-mill pre-due/overdue rate pair (single rate default), a post-dated-cheque reference + cheque date on the credit item as the accrual anchor, split principal/interest balances through CreditItem and the FR-17 offset, and record the bank factoring leg as external context. Residual — pin the day-count basis (Actual/365 assumed) and the accrued-interest posting cadence.
ความชัดเจนเริ่มที่ model การเงิน: โรงงานให้เงินทุนชาวไร่โดยออกเช็คลงวันที่ล่วงหน้า; ธนาคารของชาวไร่ใช้เช็คเป็นหลักประกันทำ factoring financing — ธนาคารหักดอกเบี้ยของตนจากมูลค่าหน้าเช็คล่วงหน้า แล้วจ่ายส่วนที่เหลือให้ชาวไร่ การคำนวณฝั่งธนาคารอยู่นอกสายตาโรงงานและนอกขอบเขตแพลตฟอร์ม (เป็นไปตามมาตรฐาน factoring ของธนาคารไทย) แพลตฟอร์ม model เฉพาะเงินกู้ฝั่งโรงงาน: (1) อัตรา: อัตราดอกเบี้ยหนึ่งค่าต่อโรงงาน (ใช้กับชาวไร่ทุกรายของโรงงานนั้น) มีวันมีผลและใช้ไปข้างหน้าเท่านั้น — อัตราใหม่เริ่มจากวันมีผลของมันเป็นต้นไป ไม่ย้อนหลัง — พร้อมประวัติการเปลี่ยนครบถ้วน (อัตรา วันที่เปลี่ยน วันมีผล) อัตราจึงอยู่บนตารางอัตรารายโรงงาน ไม่ใช่บน CreditLine (2) วิธี: ค่าเริ่มต้นคือดอกเบี้ยทบต้น คิดรายวันจากเงินต้น + ดอกเบี้ยค้างรับ; โรงงานเลือกใช้ดอกเบี้ยต้นเดียวแทนได้ (config รายโรงงาน) (3) จุดเริ่มคิด: ดอกเบี้ยนับจากวันที่บนเช็คลงวันที่ล่วงหน้าที่โรงงานออกให้ชาวไร่ และคิดเฉพาะส่วนที่ชาวไร่ยังไม่ได้ offset ด้วยอ้อยที่ส่งมอบ (4) บัญชี: แยกเงินต้นกับดอกเบี้ยค้างรับเป็นยอดคงเหลือคนละก้อนตามมาตรฐานบัญชีธนาคาร — offset ของ FR-17 หักแยกส่วนกัน — โดยฐานทบต้นยังคงเป็นเงินต้น + ดอกเบี้ยค้างรับสำหรับคิดวันถัดไป (5) การเงินแบบสิ่งของ / contract farming: การเงินที่โรงงานให้เป็นสินค้าหรือบริการ (ปุ๋ย ปัจจัยการผลิต บริการตรงจากโรงงาน) คิดดอกเบี้ยอัตราเดียวกับกฎ (1); โรงงาน opt-in ใช้อัตราแยกได้ — อัตราหนึ่งก่อนวันครบกำหนดชำระ อีกอัตราหลังวันครบกำหนด — แต่กรณีปกติคืออัตราเดียวของโรงงาน สำหรับรอบแก้ไข Q1: เพิ่ม entity อัตราสินเชื่อรายโรงงานแบบมีวันมีผล (ประวัติอัตรา), config interest_method รายโรงงาน (ทบต้นเป็นค่าเริ่มต้น / ต้นเดียวแบบ opt-in), คู่อัตราก่อน/หลังครบกำหนดแบบเลือกได้รายโรงงาน (ค่าเริ่มต้นคืออัตราเดียว), อ้างอิงเช็คล่วงหน้า + วันที่เช็คบน item สินเชื่อเป็นจุดเริ่มคิด, แยกยอดเงินต้น/ดอกเบี้ยผ่าน CreditItem และ offset FR-17 และบันทึกขา factoring ของธนาคารเป็น context ภายนอก ตกค้าง — กำหนด day-count (สันนิษฐาน Actual/365) และรอบการ post ดอกเบี้ยค้างรับ
Q-16 What makes a credit item "due", and how do ties break?อะไรทำให้ item สินเชื่อ "ถึงกำหนด" และเสมอกันตัดสินอย่างไร? Blockerสร้างต่อไม่ได้
FR-17 offsets "open credit items with due balances … oldest-due-first". CreditItem has no due date (…, amount, financing_mode, work_order_id, disbursed_at) and no source derives dueness (at disbursement? season end? a schedule?). "Oldest-due-first" is also undefined across items sharing a date, and across multiple lines (direct + pass-through) of one payee. The offset engine — the money path of installment 1 — is unimplementable as specified.
FR-17 หัก "item สินเชื่อเปิดที่มียอดถึงกำหนด … เก่าสุด-ก่อน" แต่ CreditItem ไม่มีวันครบกำหนด (…, amount, financing_mode, work_order_id, disbursed_at) และไม่มีแหล่งใดอนุมานความถึงกำหนด (ตอนเบิก? สิ้นฤดู? ตามตาราง?) "เก่าสุด-ก่อน" ก็ไม่นิยามเมื่อหลาย item ใช้วันเดียวกัน และข้ามหลาย line (ตรง + pass-through) ของผู้รับเงินรายเดียว — เครื่อง offset ซึ่งเป็นเส้นทางเงินของงวดที่ 1 สร้างตาม spec ไม่ได้
Looked in:ตรวจสอบใน: CreditItem/CreditLine entities · FR-17 record · WF-05 step 2 · glossary (เงินเกี๊ยว).
Cross-reference — affected by the A-15 verdict · question still openหมายเหตุโยง — ได้รับผลจากคำวินิจฉัย A-15 · คำถามยังเปิด
A-15 supplies the missing anchors: the post-dated cheque date is the accrual start, and the split-rate option presumes each financing item has a scheduled payment date — that date is the natural candidate for "due". A-15's principal/interest split also adds an ordering sub-question: within one item, does the offset consume accrued interest before principal (standard banking order)? What remains here: dueness formally defined on CreditItem, the tie-break across items sharing a due date, and ordering across multiple lines (direct + pass-through) of one payee.
A-15 ให้จุดยึดที่ขาดหาย: วันที่บนเช็คลงวันที่ล่วงหน้าคือจุดเริ่มคิดดอกเบี้ย และตัวเลือกอัตราแยกสันนิษฐานว่าแต่ละ item การเงินมีวันครบกำหนดชำระ — วันนั้นคือผู้สมัครโดยธรรมชาติของ "ถึงกำหนด" การแยกเงินต้น/ดอกเบี้ยของ A-15 ยังเพิ่มคำถามย่อยเรื่องลำดับ: ภายใน item เดียว offset หักดอกเบี้ยค้างรับก่อนเงินต้นหรือไม่ (ลำดับมาตรฐานธนาคาร)? สิ่งที่เหลือที่นี่: นิยามความถึงกำหนดอย่างเป็นทางการบน CreditItem, การตัดสินเมื่อหลาย item ครบกำหนดวันเดียวกัน และลำดับข้ามหลาย line (ตรง + pass-through) ของผู้รับเงินรายเดียว
Pass-2 disposition — valid · model decided: due = scheduled date passed · mandatory schedule · oldest cheque first · interest before principal (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสิน model: ถึงกำหนด = เลยวันนัดชำระ · ต้องมีวันนัดเสมอ · เช็คเก่าสุดก่อน · ดอกเบี้ยก่อนเงินต้น (ลูกค้า, 14 ก.ค. 2569)
Three rules make FR-17's offset engine implementable. (1) Dueness: a credit item is due when its scheduled payment date has passed — only such items are offset on payment day. Corollary: every credit item MUST carry a scheduled repayment date; the platform rejects creation of a credit item without one (new validation invariant on CreditItem). (2) Tie-break: among items due on the same day, oldest post-dated-cheque date first. (3) Within-item order: a (partial) offset consumes accrued interest first, then principal — standard banking order. For the Q1 amendment pass: add required scheduled_payment_date (and the A-15 cheque_date) to CreditItem, restate FR-17's ordering as due-items → oldest-cheque-date → interest-before-principal, and add the not-null guard to the credit-issuance flow. Residual — ordering across multiple lines (direct + pass-through) of one payee remains open; cheque-date order is the presumed default pending confirmation.
สามกฎทำให้เครื่อง offset ของ FR-17 สร้างได้จริง (1) ความถึงกำหนด: item สินเชื่อถึงกำหนดเมื่อเลยวันนัดชำระแล้ว — เฉพาะ item เหล่านี้ถูกหักในวันจ่าย ผลสืบเนื่อง: ทุก item สินเชื่อต้องมีวันนัดชำระคืน; แพลตฟอร์มปฏิเสธการสร้าง item ที่ไม่มีวันนัด (invariant การตรวจใหม่บน CreditItem) (2) การตัดสินเสมอกัน: item ที่ครบกำหนดวันเดียวกัน ใช้วันที่เช็คลงวันที่ล่วงหน้าเก่าสุดก่อน (3) ลำดับภายใน item: offset (บางส่วน) หักดอกเบี้ยค้างรับก่อน แล้วจึงเงินต้น — ลำดับมาตรฐานธนาคาร สำหรับรอบแก้ไข Q1: เพิ่ม scheduled_payment_date (บังคับ) และ cheque_date จาก A-15 บน CreditItem, เขียนลำดับของ FR-17 ใหม่เป็น item ถึงกำหนด → เช็คเก่าสุด → ดอกเบี้ยก่อนเงินต้น และเพิ่ม guard ห้ามว่างใน flow การออกสินเชื่อ ตกค้าง — ลำดับข้ามหลาย line (ตรง + pass-through) ของผู้รับเงินรายเดียวยังเปิด โดยสันนิษฐานใช้ลำดับวันที่เช็ครอยืนยัน
Q-17 Does the true-up need a second approver?true-up ต้องมีผู้อนุมัติคนที่สองหรือไม่? Gapต้องตัดสินใจ
Settlement batches deliberately split approve (mill_manager) from post (finance_officer), both audited. The season true-up — typically the largest single money movement — has one action ("Run true-up", finance_officer) on mill-trueup. FR-99's roles include mill_manager, but no step, guard or UI element gives them an approval act. One-act or two-act?
batch การชำระแยก approve (mill_manager) จาก post (finance_officer) โดยเจตนา ทั้งคู่มี audit ส่วน true-up ปลายฤดู — ปกติคือการเคลื่อนเงินก้อนเดียวที่ใหญ่ที่สุด — มี action เดียว ("Run true-up", finance_officer) บน mill-trueup roles ของ FR-99 มี mill_manager แต่ไม่มีขั้น guard หรือองค์ประกอบ UI ใดให้เขาทำการอนุมัติ — หนึ่ง act หรือสอง act?
Looked in:ตรวจสอบใน: FR-99 record (roles vs acceptance) · mill-trueup screen spec · WF-05 step 4 contrast.
Pass-2 disposition — valid · decided: two-act by default, policy-configurable (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว: สอง act โดยปริยาย ตั้งค่าตามนโยบายได้ (ลูกค้า, 14 ก.ค. 2569)
The true-up is two-act by default — mill_manager approves, then finance_officer runs/posts, mirroring the settlement-batch split. Beyond the default, the factory can configure multiple approval conditions per company/factory policy (e.g. extra approvers, amount thresholds). To land in the Q1 amendment pass: FR-99 gains an explicit approve step + guard (run blocked until approvals satisfied, both acts audited); mill-trueup screen gains the approval act for mill_manager; WF-05 step 4 updated to match; a factory-level approval-policy configuration (approver chain / conditions) is specced — default policy = mill_manager approve → finance_officer post.
true-up เป็นสอง act โดยปริยาย — mill_manager อนุมัติ แล้ว finance_officer จึง run/post สอดคล้องกับการแยกบทบาทของ batch การชำระ นอกเหนือจากค่าปริยาย โรงงานสามารถตั้งค่าเงื่อนไขการอนุมัติหลายชั้นตามนโยบายบริษัท/โรงงานได้ (เช่น ผู้อนุมัติเพิ่ม เกณฑ์วงเงิน) สิ่งที่ต้องลงในรอบแก้ไข Q1: FR-99 เพิ่มขั้น approve + guard อย่างชัดเจน (run ไม่ได้จนกว่าการอนุมัติครบ ทั้งสอง act มี audit); หน้าจอ mill-trueup เพิ่มการอนุมัติสำหรับ mill_manager; ปรับ WF-05 ขั้นที่ 4 ให้ตรงกัน; และ spec การตั้งค่านโยบายการอนุมัติระดับโรงงาน (สายผู้อนุมัติ / เงื่อนไข) — นโยบายปริยาย = mill_manager อนุมัติ → finance_officer post
Q-18 The mid-day capacity cut has no mechanism.การลดกำลังหีบกลางวันไม่มีกลไก Gapต้องตัดสินใจ
FR-30/WF-10 promise: on a breakdown, "already-arrived trucks are honored; new arrivals hold; bookings for the day freeze." But no action edits crush_capacity_t on an open day (mill-csd offers open/close only), no guard covers reducing below current booked_t, and "bookings freeze" has no actor/event — is freezing implied by the reduction, or a separate switch?
FR-30/WF-10 สัญญา: เมื่อเครื่องเสีย "รถที่มาถึงแล้วได้ไปต่อ; รถมาใหม่ให้รอ; การจองของวันถูก freeze" แต่ไม่มี action แก้ crush_capacity_t บนวันที่เปิดอยู่ (mill-csd มีแค่เปิด/ปิด), ไม่มี guard ครอบการลดต่ำกว่า booked_t ปัจจุบัน และ "การจอง freeze" ไม่มี actor/event — freeze เกิดโดยนัยจากการลด หรือเป็นสวิตช์แยก?
Looked in:ตรวจสอบใน: FR-30 edge cases · WF-10 step 3 failure branch · mill-csd components/validations · CrushingDay entity.
Cross-reference — affected by the Q-01–Q-08 verdicts · question still openหมายเหตุโยง — ได้รับผลจากคำวินิจฉัย Q-01–Q-08 · คำถามยังเปิด
Partially answered by the Q-02 spin-out: PROP-020 proposes the QueueFrozen event + the queue-console freeze switch explicitly as the FR-30/Q-18 freeze mechanism, and "new arrivals hold" becomes ordinary walk-in-queue behavior. What remains here: an action to edit crush_capacity_t on an open day and the guard against reducing below current booked_t — which now also interacts with Q-03's capacity-capped booking limits.
ตอบไปบางส่วนโดยงานที่แยกจาก Q-02: PROP-020 เสนอ event QueueFrozen + สวิตช์ freeze บนคอนโซลคิว เป็นกลไก freeze ของ FR-30/Q-18 โดยตรง และ "รถมาใหม่ให้รอ" กลายเป็นพฤติกรรมปกติของคิว walk-in สิ่งที่เหลือที่นี่: action แก้ crush_capacity_t บนวันที่เปิดอยู่ และ guard การลดต่ำกว่า booked_t ปัจจุบัน — ซึ่งตอนนี้เกี่ยวพันกับลิมิตจองแบบมีเพดานกำลังหีบของ Q-03 ด้วย
Pass-2 disposition — valid · decided: editable capacity + downtime forecast · LIFO bump-over · auto-freeze (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว: แก้กำลังหีบได้ + พยากรณ์จาก downtime · bump แบบคิวหลังก่อน · freeze อัตโนมัติ (ลูกค้า, 14 ก.ค. 2569)
(1) Mid-day capacity edit + downtime forecast. Staff can edit crush_capacity_t on an open day. Additionally, the system computes it: recording factory downtime (start + estimated duration) deducts lost tonnage and produces a live forecast of remaining available capacity for the day — so the mill sees in real time how long it will be down and how much crushing capacity remains. (2) Over-booked excess bumps to the next day, last-booked-first. Reducing below current booked_t is allowed; the excess tonnage is bumped to the next open day starting from the last bookings in the queue (earliest bookings keep their slot). Bumped farmers are notified and may keep the moved booking or cancel (and rebook) instead. (3) Auto-freeze. A capacity cut automatically fires QueueFrozen / freezes new bookings for the day — no manual switch needed (the PROP-020 manual switch remains for other cases). To land in the Q1 amendment pass: FR-30 gains the capacity-edit action + downtime entity (start, est. duration, computed forecast), the LIFO bump-over rule + farmer notify/cancel path, and the auto-freeze trigger; mill-csd gains the edit + downtime controls and forecast display; WF-10 step 3 rewritten accordingly; interacts with Q-03's capacity-capped booking limits (bump target = next day's remaining cap).
(1) แก้กำลังหีบกลางวัน + พยากรณ์จาก downtime เจ้าหน้าที่แก้ crush_capacity_t บนวันที่เปิดอยู่ได้ และระบบคำนวณให้ด้วย: การบันทึก downtime ของโรงงาน (เวลาเริ่ม + ระยะเวลาโดยประมาณ) จะหักตันที่เสียไปและสร้างพยากรณ์กำลังหีบคงเหลือของวันแบบเรียลไทม์ — โรงงานเห็นทันทีว่าจะหยุดนานเท่าไรและเหลือกำลังหีบเท่าไร (2) ตันที่เกินถูก bump ไปวันถัดไป แบบจองหลังโดนก่อน ลดต่ำกว่า booked_t ปัจจุบันได้ ส่วนเกินถูกย้ายไปวันเปิดถัดไปโดยเริ่มจากการจองท้ายคิว (จองก่อนได้สิทธิ์คงเดิม) ชาวไร่ที่ถูกย้ายได้รับแจ้งเตือน และเลือกคงการจองที่ย้ายหรือยกเลิก (แล้วจองใหม่) ได้ (3) freeze อัตโนมัติ การลดกำลังหีบยิง QueueFrozen / หยุดรับจองใหม่ของวันโดยอัตโนมัติ — ไม่ต้องมีใครสับสวิตช์ (สวิตช์มือของ PROP-020 ยังอยู่สำหรับกรณีอื่น) สิ่งที่ต้องลงในรอบแก้ไข Q1: FR-30 เพิ่ม action แก้กำลังหีบ + entity downtime (เริ่ม, ระยะเวลาประมาณ, พยากรณ์ที่คำนวณ), กฎ bump แบบคิวหลังก่อน + เส้นทางแจ้งเตือน/ยกเลิกของชาวไร่ และ trigger freeze อัตโนมัติ; mill-csd เพิ่มตัวควบคุมแก้ไข + downtime และการแสดงพยากรณ์; เขียน WF-10 ขั้นที่ 3 ใหม่ตามนี้; เกี่ยวพันกับลิมิตจองแบบมีเพดานของ Q-03 (ปลายทาง bump = เพดานคงเหลือของวันถัดไป)
E. Strategic cane payment (ค่าอ้อยกลยุทธ์)E. ค่าอ้อยกลยุทธ์
Q-19 Volume tiers: marginal or whole-volume? The graph itself says this is undecided.tier ปริมาณ: marginal หรือทั้งก้อน? graph เองบอกว่ายังไม่ตัดสิน Blockerสร้างต่อไม่ได้
CheckpointRate's entity note reads: "min/max_volume_t bound the tier; marginal-vs-whole-volume semantics is Q2" — a PROP-009 open question that never got resolved. FR-78's resolver ("picks the tier by season-to-date stamped volume") and FR-81's accrual math give materially different premiums under the two readings (does crossing a tier re-rate only the excess tonnage, or the whole delivery — or retroactively the season?). The accrual engine cannot be written.
note ของ entity CheckpointRate เขียนว่า: "min/max_volume_t กำหนดขอบ tier; semantics แบบ marginal-vs-whole-volume เป็นเรื่อง Q2" — คำถามเปิดจาก PROP-009 ที่ไม่เคยถูกปิด resolver ของ FR-78 ("เลือก tier จากปริมาณสะสมฤดูกาลที่ stamp แล้ว") กับคณิตการ accrue ของ FR-81 ให้ premium ต่างกันอย่างมีนัยสำคัญภายใต้สองการตีความ (ข้าม tier แล้ว re-rate เฉพาะส่วนเกิน หรือทั้งคันส่งมอบ — หรือย้อนหลังทั้งฤดู?) เครื่อง accrual เขียนไม่ได้
Looked in:ตรวจสอบใน: CheckpointRate entity note (the unresolved marker) · FR-78/FR-81 records · WF-32 step 3.
Pass-2 disposition — valid · decided: calc basis is a configurable strategic lever · planning & analytics spun out (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว: calc basis เป็นคันโยกกลยุทธ์ที่ตั้งค่าได้ · งานวางแผนและวิเคราะห์แยกออก (ลูกค้า, 14 ก.ค. 2569)
Both — by configuration. Marginal-vs-whole-volume is not a platform constant: calc_basis ∈ {marginal | whole_volume} becomes a configurable policy resolved through a scope cascade — factory default → farmer group → individual farmer/agreement → single-tier override; most specific wins, effective-forward with append-only history (NFR-22). Rationale: the premium is a financial instrument in the mill's cane-securing strategy (pulling long-distance cane, break-even points, financing cost), so how tiers reward — bracket-style or whole-volume — is a per-plan design choice. The two questions every plan must answer — does the incentive actually compensate the farmer (haul distance, transport cost), and does it pay back for the factory — become platform analytics: pre-designed strategic plans, break-even analysis, real-time cost reporting and a live season-spend forecast, packaged as an opt-in paid feature (PROP-016) — spun out as PROP-022. Q1 amendment minimums: CheckpointRate's "Q2" marker is replaced by the calc_basis policy + cascade; FR-78's resolver and FR-81's accrual math take the resolved basis as a parameter, with both semantics specified normatively. Residual to PROP-022 — whole-volume retroactivity (re-rate already-accrued tonnage vs forward-only) and the cascade's config home (the Q-08 config family).
ได้ทั้งคู่ — ด้วยการตั้งค่า marginal-vs-whole-volume ไม่ใช่ค่าคงที่ของ platform: calc_basis ∈ {marginal | whole_volume} เป็นนโยบายที่ตั้งค่าได้ resolve ผ่านลำดับชั้น scope — ค่าเริ่มต้นโรงงาน → กลุ่มชาวไร่ → ชาวไร่รายคน/ข้อตกลง → override ราย tier; เฉพาะเจาะจงที่สุดชนะ มีผลไปข้างหน้าพร้อมประวัติ append-only (NFR-22) เหตุผล: premium คือเครื่องมือการเงินในกลยุทธ์การหาอ้อยของโรงงาน (ดึงอ้อยทางไกล จุดคุ้มทุน ต้นทุนการเงิน) วิธีให้รางวัลของ tier — แบบขั้นบันไดหรือทั้งก้อน — จึงเป็นทางเลือกออกแบบรายแผน สองคำถามที่ทุกแผนต้องตอบ — สิ่งจูงใจชดเชยชาวไร่จริงไหม (ระยะทางขน ต้นทุนขนส่ง) และคุ้มทุนสำหรับโรงงานไหม — กลายเป็นงานวิเคราะห์ของ platform: แผนกลยุทธ์ที่ออกแบบล่วงหน้า การวิเคราะห์จุดคุ้มทุน รายงานต้นทุนเรียลไทม์ และพยากรณ์ค่าใช้จ่ายทั้งฤดูแบบสด จัดเป็นฟีเจอร์ opt-in จ่ายเพิ่ม (PROP-016) — แยกออกเป็น PROP-022 ขั้นต่ำรอบแก้ไข Q1: แทนที่เครื่องหมาย "Q2" ของ CheckpointRate ด้วยนโยบาย calc_basis + ลำดับชั้น; resolver ของ FR-78 และคณิต accrual ของ FR-81 รับ basis ที่ resolve แล้วเป็น parameter โดยระบุ semantics ทั้งสองแบบเชิงบรรทัดฐาน ตกค้างไป PROP-022 — retroactivity ของ whole-volume (re-rate ตันที่ accrue แล้ว vs ไปข้างหน้าเท่านั้น) และบ้านการตั้งค่าของลำดับชั้น (ตระกูลการตั้งค่า Q-08)
Q-20 How does a settlement_offset premium release work without touching the PaymentItem?การปล่อย premium แบบ settlement_offset ทำงานอย่างไรโดยไม่แตะ PaymentItem? Blockerสร้างต่อไม่ได้
PremiumRelease.method includes settlement_offset, yet NFR-21/FR-81 forbid any strategic amount on the statutory PaymentItem, whose deductions field is the only offset vehicle settlement has. Riding the statutory batch would put the premium on the audited item (and its farmer statement); not riding it isn't an offset. No source resolves the mechanism, its books treatment, or what the farmer's statement shows.
PremiumRelease.method มี settlement_offset แต่ NFR-21/FR-81 ห้ามจำนวนเงินเชิงกลยุทธ์ปรากฏบน PaymentItem ตามกฎหมาย ซึ่ง field deductions ของมันคือพาหนะ offset เดียวที่ settlement มี ถ้าอิง batch ตามกฎหมาย premium จะไปอยู่บน item ที่ถูก audit (และ statement ของชาวไร่); ถ้าไม่อิงก็ไม่ใช่ offset ไม่มีแหล่งใดไขกลไก การลงบัญชี หรือสิ่งที่ statement ของชาวไร่แสดง
Looked in:ตรวจสอบใน: PremiumRelease entity note · FR-81/FR-82/FR-84 records · PaymentItem entity · WF-32 step 4 · NFR-21.
Pass-2 disposition — valid · decided: split payment, combined online slip, permission-gated visibility (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ตัดสินแล้ว: แยกสองการจ่าย · slip รวมออนไลน์ · การมองเห็นตาม permission (ลูกค้า, 14 ก.ค. 2569)
Split payment — settlement_offset is redefined, not a deduction. Three-part mechanism: (1) The delivery record carries the premium facts. Each delivery gets premium columns — rate per ton, total premium amount, and a link to the strategic agreement that funds it. The delivery note itself shows no money: only the truck's net delivered weight. (2) Two payments per delivery. Settlement issues the government-regulated statutory payment and a separate strategic cane payment (the factory–farmer agreed extra). The farmer's statement combines both in one payment-slip report — the official regulated section first, the strategic payment as a card below it, then a grand total for the delivery — provided online from the platform only. (3) PaymentItem visibility is permission-gated, not prohibited. Strategic amounts may appear on the payment item, but labels/amounts are masked or redacted per viewer according to permissions assigned per factory (the Q-21 strategic permission) — not everyone in the mill sees everything. Consequences: NFR-21 softens from "never on the statutory item" to "redacted unless authorized"; settlement_offset means a companion strategic payment settled in the same run — PaymentItem.deductions is never the vehicle; books treatment: statutory payment on the official book, strategic payment on the strategic book, joined only on the combined online slip.
แยกสองการจ่าย — settlement_offset ถูกนิยามใหม่ ไม่ใช่รายการหัก กลไกสามส่วน: (1) delivery record ถือข้อมูล premium แต่ละการส่งมอบมีคอลัมน์ premium — อัตราต่อตัน จำนวนเงินรวม และลิงก์ไปยังข้อตกลงกลยุทธ์ที่จ่ายรายการนี้ ส่วนใบส่งมอบเองไม่แสดงเงินเลย: แสดงเฉพาะน้ำหนักสุทธิของรถคันนั้น (2) สองการจ่ายต่อการส่งมอบ settlement ออกการจ่ายตามราคาที่รัฐกำกับ และการจ่ายค่าอ้อยกลยุทธ์แยกต่างหาก (ส่วนเพิ่มที่โรงงานกับชาวไร่ตกลงกัน) statement ของชาวไร่รวมทั้งคู่ในรายงาน slip เดียว — ส่วนราคาทางการก่อน ตามด้วย card การจ่ายกลยุทธ์ด้านล่าง แล้วยอดรวมทั้งหมดของการส่งมอบนั้น — ให้บริการออนไลน์ผ่าน platform เท่านั้น (3) การมองเห็นบน PaymentItem คุมด้วย permission ไม่ใช่ห้ามเด็ดขาด จำนวนเงินกลยุทธ์ปรากฏบน payment item ได้ แต่ label/จำนวนถูก mask หรือ redact ตามผู้ดู ตาม permission ที่กำหนดรายโรงงาน (permission กลยุทธ์ของ Q-21) — ไม่ใช่ทุกคนในโรงงานเห็นทุกอย่าง ผลที่ตาม: NFR-21 ผ่อนจาก "ห้ามอยู่บน item ตามกฎหมาย" เป็น "redact เว้นแต่ได้รับอนุญาต"; settlement_offset หมายถึงการจ่ายกลยุทธ์คู่กันที่ settle ในรอบเดียวกัน — PaymentItem.deductions ไม่ใช่พาหนะเด็ดขาด; การลงบัญชี: การจ่ายตามกฎหมายลงบัญชีทางการ การจ่ายกลยุทธ์ลงบัญชีกลยุทธ์ มารวมกันเฉพาะบน slip ออนไลน์เท่านั้น
Q-21 The strategic gate: what permission structure, at which layers, granted by whom, resolved and audited how?gate เชิงกลยุทธ์: โครงสร้าง permission แบบใด อยู่ชั้นไหน ใครมอบ resolve และ audit อย่างไร? Blockerสร้างต่อไม่ได้
mill-str (and the premium panel on mill-deliv-d, and the sidebar item) is "entitlement-gated; the item is absent without the strategic permission" — but no such permission exists in the federation model: the PermissionCatalog's only named value anywhere is books_split, role nodes carry no permission sets, and the entitlement matrix is capacity × surface only. A-20 made the gate harder than one key: visibility is now graduated per viewer (absent → present-but-masked → full amounts), assigned per factory. To close this, seven sub-decisions: (a) Permission structure — a single binary key cannot express masked-vs-full; is it a family (view existence · view amounts · manage plans · approve releases · configure calc-basis policy), and which keys map onto A-20's redaction levels? (b) Layer split — two-layer like books_split: an operator/PROP-016 entitlement switching the strategic feature on for the mill, plus mill-side staff permissions — or permissions only? (c) Catalog home — PermissionCatalog is per-surface; which surfaces carry the strategic domain group (portal only? books? mobile?), and is the key one entry spanning surfaces or one per surface? (d) Role composition & defaults — which default role sets include which strategic keys (mill_manager? finance_officer? weighbridge clerk: none?), and is the baseline deny-all with explicit grant? (e) Grant governance — who at the mill grants/revokes (the account-surface flow), does a hard confidentiality control need a second approver, and what is audited (grant/revoke events; a view-audit when unmasked amounts are read?)? (f) Resolution mechanics — the token's srf claim is capacity × surface; does the strategic permission ride the token or resolve server-side per request, and how does the PermissionCatalog singleton cache invalidate on grant changes? (g) Leak paths — does ViewAsSession inherit strategic sight; do exports/reports re-check the gate; and confirm the farmer as counterparty is outside the gate (they always see their own premium on the combined slip per A-20).
mill-str (รวม panel premium บน mill-deliv-d และรายการ sidebar) "ถูก gate ด้วย entitlement; รายการหายไปเลยหากไม่มี permission เชิงกลยุทธ์" — แต่ permission แบบนั้นไม่มีใน federation model: ค่าที่ระบุชื่อเดียวของ PermissionCatalog คือ books_split, node ของ role ไม่ถือชุด permission และ entitlement matrix เป็น capacity × surface เท่านั้น A-20 ทำให้ gate ยากกว่า key เดียว: การมองเห็นเป็นระดับตามผู้ดู (หายไป → เห็นแต่ถูก mask → เห็นจำนวนเต็ม) กำหนดรายโรงงาน ต้องตัดสินย่อยเจ็ดข้อ: (a) โครงสร้าง permission — key เดี่ยวแบบ binary แสดง mask-vs-เต็มไม่ได้; เป็นตระกูลไหม (เห็นว่ามี · เห็นจำนวน · จัดการแผน · อนุมัติการปล่อย · ตั้งค่านโยบาย calc basis) และ key ใด map กับระดับ redact ของ A-20? (b) การแบ่งชั้น — สองชั้นแบบ books_split: entitlement จาก operator/PROP-016 เปิดฟีเจอร์ให้โรงงาน + permission ฝั่งโรงงานให้พนักงาน — หรือ permission อย่างเดียว? (c) บ้านใน catalog — PermissionCatalog เป็นราย surface; surface ใดถือกลุ่ม domain กลยุทธ์ (portal เท่านั้น? books? mobile?) และ key เป็น entry เดียวข้าม surface หรือแยกราย surface? (d) การประกอบ role และค่าเริ่มต้น — role เริ่มต้นชุดใดมี key กลยุทธ์ใดบ้าง (mill_manager? finance_officer? เสมียนชั่ง: ไม่มีเลย?) และฐานคือ deny-all ต้องมอบชัดเจนไหม? (e) การกำกับการมอบ — ใครในโรงงานมอบ/เพิกถอนได้ (flow ผ่าน surface account) การควบคุมความลับแบบแข็งต้องมีผู้อนุมัติคนที่สองไหม และ audit อะไรบ้าง (event มอบ/เพิกถอน; view-audit เมื่ออ่านจำนวนที่ไม่ mask?)? (f) กลไก resolve — claim srf ของ token เป็น capacity × surface; permission กลยุทธ์อยู่บน token หรือ resolve ฝั่ง server ราย request และ cache singleton ของ PermissionCatalog invalidate อย่างไรเมื่อการมอบเปลี่ยน? (g) ช่องทางรั่ว — ViewAsSession สืบทอดการเห็นเชิงกลยุทธ์ไหม; export/report ตรวจ gate ซ้ำไหม; และยืนยันว่าชาวไร่ในฐานะคู่สัญญาอยู่นอก gate (เห็น premium ของตนเองบน slip รวมเสมอตาม A-20)
Looked in:ตรวจสอบใน: federation block (claims, entitlementMatrix, layers) · roles nodes · FR-84 record · uix mill-str spec · full-graph search for a strategic permission id · Q-20 pass-2 verdict (A-20) · FR-107 (books_split precedent) · ViewAsSession entity.
Pass-2 disposition — valid · relocated: permission-model deep-dive moved to PROP-022 (client, 14 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: การเจาะลึก model permission ย้ายไป PROP-022 (ลูกค้า, 14 ก.ค. 2569)
Relocated to PROP-022. The strategic permission model is too entangled with the strategic-payment design (A-20's graduated redaction, the plan designer, the cost console, PROP-016 entitlements) to settle inside this gate: the seven sub-decisions (a)–(g) move to PROP-022 Section 8 as OQ-8…OQ-14, each expanded with detail and a recommendation. The Q1 gate keeps only the dependency: this blocker stays open until the PROP-022 verdicts land back; the sole Q1 amendment minimum is reserving a strategic domain group in the PermissionCatalog so the model has a home when decided.
ย้ายไป PROP-022 model permission เชิงกลยุทธ์พันกับการออกแบบการจ่ายกลยุทธ์เกินกว่าจะปิดในด่านนี้ (redact เป็นระดับตาม A-20, เครื่องมือออกแบบแผน, console ต้นทุน, entitlement ของ PROP-016): ย้ายย่อยข้อ (a)–(g) ทั้งเจ็ดไป PROP-022 หมวด 8 เป็น OQ-8…OQ-14 ขยายรายละเอียดพร้อมข้อเสนอแนะทุกข้อ ด่าน Q1 เก็บเฉพาะ dependency: blocker นี้ยังเปิดจนกว่าคำวินิจฉัยจาก PROP-022 กลับมา; ขั้นต่ำการแก้ไข Q1 ข้อเดียวคือจองกลุ่ม domain strategic ใน PermissionCatalog ไว้เป็นบ้านเมื่อตัดสินแล้ว
Q-22 What exactly is the "scope" in the scope-overlap check?"scope" ในการตรวจ scope ทับซ้อนคืออะไรกันแน่? Gapต้องตัดสินใจ
Concurrent agreements are legal but "must not overlap scope", enforced at save (FR-80, WF-31/35, str.err.overlap) so that "each accrual resolves to exactly one agreement". The predicate is never defined: is a checkpoint agreement scoped to its checkpoint set and a fixed_price one to everything else? Can one counterparty hold a checkpoint AND a fixed_price agreement when their deliveries could match both? StrategicAgreement has no scope attributes beyond mode/counterparty/season to evaluate.
ข้อตกลงพร้อมกันหลายฉบับทำได้ แต่ "ห้ามทับซ้อน scope" บังคับตอน save (FR-80, WF-31/35, str.err.overlap) เพื่อให้ "accrual แต่ละครั้ง resolve ไปที่ข้อตกลงเดียวพอดี" แต่ predicate ไม่เคยถูกนิยาม: ข้อตกลง checkpoint scope ที่ชุด checkpoint ของมัน และ fixed_price scope ทุกอย่างที่เหลือ? คู่สัญญารายเดียวถือ checkpoint และ fixed_price พร้อมกันได้ไหมเมื่อ delivery ของเขา match ได้ทั้งคู่? StrategicAgreement ไม่มี attribute scope นอกจาก mode/counterparty/season ให้ประเมิน
Looked in:ตรวจสอบใน: FR-80/FR-81 records · StrategicAgreement/CheckpointRate entities · WF-31 step 1 guard · mill-str validations.
Pass-2 disposition — valid · relocated: overlap-predicate deep-dive moved to PROP-022 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: การเจาะลึก predicate การทับซ้อนย้ายไป PROP-022 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-022. The overlap predicate is inseparable from the strategic-agreement design — the scope axes an agreement can even declare, the calc_basis cascade's most-specific-wins precedent, and the plan designer's draft→publish lifecycle — so it moves to PROP-022 as OQ-15…OQ-18: scope axes on StrategicAgreement · the predicate & concurrent-mode policy · enforcement timing & mid-season change safety · draft-vs-publish interplay with the plan designer. The gap stays open here until those verdicts land back.
ย้ายไป PROP-022 predicate การทับซ้อนแยกไม่ออกจากการออกแบบข้อตกลงกลยุทธ์ — แกน scope ที่ข้อตกลงประกาศได้ แบบอย่าง most-specific-wins ของลำดับชั้น calc_basis และวงจร draft→publish ของเครื่องมือออกแบบแผน — จึงย้ายไป PROP-022 เป็น OQ-15…OQ-18: แกน scope บน StrategicAgreement · ตัว predicate และนโยบาย mode พร้อมกัน · จังหวะการบังคับและความปลอดภัยเมื่อแก้กลางฤดู · การทำงานร่วมกับ draft-vs-publish ของเครื่องมือออกแบบแผน gap นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
Q-23 Mill mobile (field agents, checkpoint staff) — specified where, and by whom?mill mobile (field agent, เจ้าหน้าที่ checkpoint) — spec อยู่ไหน และใครเป็นเจ้าของ? Gapต้องตัดสินใจ
SPEC-PRD-MILL declares surfaces "Portal · Mobile (field agents)"; WF-32 step 1 runs on "portal / mobile"; FR-79's actor is "weighbridge_operator / checkpoint staff" — not a graph role. Yet all 19 uix screens are portal-only and SPEC-UIX-MILL never says mill-mobile is deferred (Section 1 says only "Q1 covers the operational core"). Which phase owns mill mobile screens, and does "checkpoint staff" become a role or map onto an existing one? The entitlement matrix's mill row must agree.
SPEC-PRD-MILL ประกาศ surface "Portal · Mobile (field agents)"; WF-32 ขั้นที่ 1 วิ่งบน "portal / mobile"; actor ของ FR-79 คือ "weighbridge_operator / เจ้าหน้าที่ checkpoint" — ไม่ใช่ role ใน graph แต่หน้าจอ uix ทั้ง 19 เป็น portal ล้วน และ SPEC-UIX-MILL ไม่เคยบอกว่า mill-mobile ถูกเลื่อน (ข้อ 1 บอกแค่ "Q1 ครอบแกนปฏิบัติการ") เฟสไหนเป็นเจ้าของหน้าจอ mill mobile และ "เจ้าหน้าที่ checkpoint" เป็น role ใหม่หรือ map เข้า role เดิม? แถว mill ของ entitlement matrix ต้องสอดคล้อง
Looked in:ตรวจสอบใน: SPEC-PRD-MILL Sections 1/4 · FR-79 trigger · WF-32 spec · uix.screens (no mill mobile) · roles list · federation entitlementMatrix.
Cross-reference — affected by the Q-01–Q-12 verdicts · question still openหมายเหตุโยง — ได้รับผลจากคำวินิจฉัย Q-01–Q-12 · คำถามยังเปิด
The phase-home decision now has more members than "field agents": PROP-020 adds mobile qm-01/qm-02 + the kiosk board, PROP-021 adds five station apps (st-*), and the A-09 verdict makes en-route checkpoint scanning of the checkpoint ticket a real surface — checkpoint staff scanning the QR is the same "checkpoint staff" actor FR-79 names. Whichever phase owns mill mobile should assign homes for all non-portal mill surfaces in one move; the "checkpoint staff" role mapping remains open.
การตัดสินเฟสเจ้าของมีสมาชิกมากกว่า "field agent" แล้ว: PROP-020 เพิ่ม mobile qm-01/qm-02 + จอ kiosk, PROP-021 เพิ่มแอปสถานีห้าตัว (st-*) และคำวินิจฉัย A-09 ทำให้การสแกนตั๋วจุดตรวจระหว่างทางเป็น surface จริง — เจ้าหน้าที่จุดตรวจที่สแกน QR คือ actor "เจ้าหน้าที่ checkpoint" คนเดียวกับที่ FR-79 ระบุ เฟสที่เป็นเจ้าของ mill mobile ควรกำหนดบ้านให้ surface นอก portal ของโรงงานทั้งหมดในคราวเดียว; การ map role "เจ้าหน้าที่ checkpoint" ยังเปิดอยู่
Pass-2 disposition — valid · relocated: non-portal surfaces & checkpoint-staff actor moved to PROP-022 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: surface นอก portal และ actor เจ้าหน้าที่ checkpoint ย้ายไป PROP-022 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-022. The phase-home decision now spans every non-portal mill surface (field agents, A-09 en-route checkpoint scanning, PROP-020 qm-*/kiosk, PROP-021 st-*), and the checkpoint-staff actor sits at the heart of strategic accrual (FR-79 stamps) — PROP-022 hosts the consolidated decision as OQ-19…OQ-21: the surface inventory & one-move phase homes · the checkpoint_staff role and its strategic key set · the en-route scanning surface spec (offline, anti-fraud, device provisioning, the stamp as accrual evidence). The gap stays open here until those verdicts land back.
ย้ายไป PROP-022 การตัดสินเฟสเจ้าของครอบคลุม surface นอก portal ของโรงงานทั้งหมดแล้ว (field agent, การสแกนจุดตรวจระหว่างทางตาม A-09, qm-*/kiosk ของ PROP-020, st-* ของ PROP-021) และ actor เจ้าหน้าที่ checkpoint อยู่ใจกลาง accrual เชิงกลยุทธ์ (การประทับตรา FR-79) — PROP-022 เป็นเจ้าภาพการตัดสินรวมเป็น OQ-19…OQ-21: บัญชี surface และบ้านเฟสในคราวเดียว · role checkpoint_staff และชุด key กลยุทธ์ของมัน · spec ของ surface สแกนระหว่างทาง (offline, กันทุจริต, การจัดหาอุปกรณ์, ตราประทับเป็นหลักฐาน accrual) gap นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
F. Books, statements & reportsF. บัญชี งบการเงิน และรายงาน
Q-24 The seeded mill chart of accounts does not exist anywhere.ผังบัญชีโรงงานที่จะ seed ไม่มีอยู่ที่ใดเลย Blockerสร้างต่อไม่ได้
FR-87 seeds "the mill ChartTemplate" as locked system accounts — but the actual account list (codes, names, hierarchy) is in no source; ChartTemplate is four attributes of metadata. SPEC-PRD-MILL Section 4 even references "strategic 5300 postings" — an account number defined nowhere — and FR-94 needs a designated "neutral account name" for collapsed strategic lines. Onboarding (WF-36) cannot seed what is not specified.
FR-87 seed "ChartTemplate ของโรงงาน" เป็นบัญชีระบบที่ล็อก — แต่รายการบัญชีจริง (รหัส ชื่อ ลำดับชั้น) ไม่อยู่ในแหล่งใด; ChartTemplate เป็น metadata สี่ attribute SPEC-PRD-MILL ข้อ 4 ถึงกับอ้าง "การ post เชิงกลยุทธ์บัญชี 5300" — เลขบัญชีที่ไม่นิยามที่ไหนเลย — และ FR-94 ต้องมี "ชื่อบัญชีกลาง" ที่กำหนดไว้สำหรับบรรทัดกลยุทธ์ที่ถูกยุบรวม onboarding (WF-36) จะ seed สิ่งที่ไม่ถูกระบุไม่ได้
Looked in:ตรวจสอบใน: ChartTemplate/LedgerAccount entities + dataModeling · FR-87/FR-94 records · full-graph search for "5300" (no match) and account code seeds (none).
Cross-reference — affected by the A-13/A-15 verdicts · question still openหมายเหตุโยง — ได้รับผลจากคำวินิจฉัย A-13/A-15 · คำถามยังเปิด
The missing chart has grown mandatory members: A-13 requires a rounding-residual account (the platform-kept odd satang; balancing identity installment_1 + installment_2 + rounding_residual = total), and A-15's principal/interest separation requires distinct credit principal receivable and accrued-interest receivable accounts plus an interest income account. The seeded ChartTemplate must carry all of these.
ผังบัญชีที่หายไปมีสมาชิกบังคับเพิ่มขึ้น: A-13 ต้องมีบัญชีเศษจากการปัดเศษ (สตางค์ตกค้างที่แพลตฟอร์มเก็บ; สมการดุล installment_1 + installment_2 + rounding_residual = total) และการแยกเงินต้น/ดอกเบี้ยของ A-15 ต้องมีบัญชีลูกหนี้เงินต้นสินเชื่อและดอกเบี้ยค้างรับแยกกัน พร้อมบัญชีรายได้ดอกเบี้ย ChartTemplate ที่จะ seed ต้องมีทั้งหมดนี้
Pass-2 disposition — valid · relocated: the chart of accounts moved to PROP-023 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: ผังบัญชีย้ายไป PROP-023 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-023. The client judged all of Section F (Q-24…Q-28) too compressed for verdict-by-verdict answers — books, statements and reporting is an accounting subsystem needing one coherent design, not five patches. PROP-023 proposes the normative per-capacity chart (Thai five-class numbering, lock classes, the mandated A-13/A-15 accounts, the 5300 strategic group with its FR-94 neutral name) and hosts the residual decisions as OQ-1…OQ-4: numbering & hierarchy depth · lock classes & mill extensions · per-capacity variants & the graph home · 5300 visibility inside the redaction gate. The blocker stays open here until those verdicts land back.
ย้ายไป PROP-023 ลูกค้าวินิจฉัยว่าหมวด F ทั้งหมด (Q-24…Q-28) ถูกบีบอัดเกินกว่าจะตอบทีละข้อ — บัญชี งบการเงิน และรายงานเป็นระบบบัญชีที่ต้องออกแบบเป็นชุดเดียวที่สอดคล้อง ไม่ใช่ห้า patch PROP-023 เสนอผังเชิงบรรทัดฐานต่อ capacity (เลขห้าหมวดแบบไทย ชั้นการล็อก บัญชีบังคับจาก A-13/A-15 กลุ่มกลยุทธ์ 5300 พร้อมชื่อกลางตาม FR-94) และเป็นเจ้าภาพการตัดสินที่เหลือเป็น OQ-1…OQ-4: แบบแผนเลขและความลึกลำดับชั้น · ชั้นล็อกและการขยายโดยโรงงาน · ฉบับราย capacity และบ้านใน graph · การมองเห็น 5300 ในกำแพง redact blocker นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
Q-25 The auto-posting map's contents are never defined.เนื้อหาของ auto-posting map ไม่เคยถูกนิยาม Blockerสร้างต่อไม่ได้
FR-88/WF-37: "resolve the auto-posting map to balanced entry(ies) for every affected party." The map itself — per money-event (installment posted, offset, เงินเกี๊ยว disbursement, strategic release, …) × per affected capacity: which accounts debit and credit — appears in no document and no graph block. It is the entire substance of FR-88; without it every posting is an accountant's assumption. (Depends on Q-24's chart.)
FR-88/WF-37: "resolve auto-posting map เป็น entry ที่สมดุลสำหรับทุกฝ่ายที่ได้รับผล" ตัว map เอง — ต่อเหตุการณ์เงิน (งวด post, offset, เบิกเงินเกี๊ยว, ปล่อย premium กลยุทธ์, …) × ต่อ capacity ที่ได้รับผล: บัญชีไหน debit บัญชีไหน credit — ไม่ปรากฏในเอกสารหรือ block ใดของ graph มันคือสาระทั้งหมดของ FR-88; ไม่มีมัน ทุกการ post คือสมมติฐานของนักบัญชี (พึ่งพาผังบัญชีของ Q-24)
Looked in:ตรวจสอบใน: FR-88 record · WF-37 spec · dataModeling (no posting-map block) · books context notes · events list.
Cross-reference — affected by the A-13/A-14/A-15 verdicts · question still openหมายเหตุโยง — ได้รับผลจากคำวินิจฉัย A-13/A-14/A-15 · คำถามยังเปิด
The map's row set has grown: A-13 adds the rounding-residual posting on every odd-satang split; A-14 adds the failed-item path (reversal or non-posting of the failed leg, and the reschedule into the next cycle's batch); A-15 adds interest accrual postings (interest receivable / interest income), the post-dated cheque issuance event, and the FR-17 offset now consuming principal and interest as separate legs. Each needs debit/credit rows per affected capacity when the map is authored.
ชุดแถวของ map โตขึ้น: A-13 เพิ่มการ post เศษจากการปัดเศษทุกครั้งที่แบ่งยอดสตางค์คี่; A-14 เพิ่มเส้นทาง item ล้มเหลว (การกลับรายการหรือไม่ post ขาที่ล้มเหลว และการจัดตารางใหม่เข้า batch รอบถัดไป); A-15 เพิ่มการ post ดอกเบี้ยค้างรับ (ลูกหนี้ดอกเบี้ย / รายได้ดอกเบี้ย), event การออกเช็คลงวันที่ล่วงหน้า และ offset ของ FR-17 ที่ตอนนี้หักเงินต้นกับดอกเบี้ยเป็นคนละขา แต่ละรายการต้องมีแถว debit/credit ต่อ capacity ที่เกี่ยวข้องเมื่อเขียน map
Pass-2 disposition — valid · relocated: the auto-posting map moved to PROP-023 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: auto-posting map ย้ายไป PROP-023 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-023 (Section F relocation, with Q-24). PROP-023 proposes the map as a declarative books.postingMap graph block — one row per money-event × capacity, with the full row inventory (installments, rounding residual, failed items, เงินเกี๊ยว/cheque, interest accrual, offsets, true-up, strategic release) and fail-loud unmapped-event semantics — and hosts the residual decisions as OQ-5…OQ-8: normative home & format · row completeness & multi-party fan-out · reversal convention · interest cadence & day count (the A-15 residual). The blocker stays open here until those verdicts land back.
ย้ายไป PROP-023 (การย้ายหมวด F พร้อม Q-24) PROP-023 เสนอ map เป็น block ใน graph books.postingMap แบบ declarative — หนึ่งแถวต่อเหตุการณ์เงิน × capacity พร้อมบัญชีแถวเต็ม (งวดชำระ เศษปัดเศษ item ล้มเหลว เงินเกี๊ยว/เช็ค ดอกเบี้ยค้างรับ offset true-up การปล่อยกลยุทธ์) และ semantics ล้มเหลวแบบดังเมื่อ event ไม่มี map — และเป็นเจ้าภาพการตัดสินที่เหลือเป็น OQ-5…OQ-8: บ้านเชิงบรรทัดฐานและรูปแบบ · ความครบของแถวและการกระจายหลายฝ่าย · ธรรมเนียมการกลับรายการ · รอบดอกเบี้ยและ day count (ตกค้างจาก A-15) blocker นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
Q-26 Who or what performs closed → locked?ใครหรืออะไรทำ closed → locked? Gapต้องตัดสินใจ
FiscalPeriod's walk is open → closing → closed → locked; reopen is allowed "until locked; locked is final" — but no actor, action, event, timer, or trigger anywhere performs the lock. mill-period renders the badge yet offers no lock action, and WF-40 ends at closed. If nothing can lock, "locked is final" and the reopen window are both dead letters.
เส้นทางของ FiscalPeriod คือ open → closing → closed → locked; reopen ทำได้ "จนกว่าจะ locked; locked เป็นที่สุด" — แต่ไม่มี actor, action, event, timer หรือ trigger ใดทำการ lock ที่ไหนเลย mill-period แสดง badge แต่ไม่มี action lock และ WF-40 จบที่ closed ถ้าไม่มีอะไร lock ได้ "locked เป็นที่สุด" และหน้าต่าง reopen ก็เป็นตัวอักษรที่ตายแล้วทั้งคู่
Looked in:ตรวจสอบใน: FR-91 record · WF-40 spec · FiscalPeriod entity note · mill-period components/validations · events list.
Pass-2 disposition — valid · relocated: the period lock moved to PROP-023 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: การ lock งวดย้ายไป PROP-023 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-023 (Section F relocation). PROP-023 proposes the lock as a two-act action mirroring A-17 (finance_officer requests → mill_manager locks) plus an optional auto-lock timer, with audited reopen governance — hosted as OQ-9…OQ-10: lock trigger & governance (incl. cash-basis growers, season-close force-lock) · reopen effects & the A-14 late-repost collision. The gap stays open here until those verdicts land back.
ย้ายไป PROP-023 (การย้ายหมวด F) PROP-023 เสนอการ lock เป็น action สอง act ตามแบบ A-17 (finance_officer ร้องขอ → mill_manager lock) บวก timer อัตโนมัติแบบเลือกได้ พร้อมการกำกับ reopen ที่ถูก audit — เป็นเจ้าภาพเป็น OQ-9…OQ-10: trigger การ lock และการกำกับ (รวมชาวไร่เกณฑ์เงินสด การบังคับ lock เมื่อปิดฤดู) · ผลของ reopen และการชนกับ repost ช้าของ A-14 gap นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
Q-27 Statement construction: cash-flow method and account→line mapping.การประกอบงบการเงิน: วิธีทำงบกระแสเงินสด และ mapping บัญชี→บรรทัดงบ Gapต้องตัดสินใจ
FR-92 names four statements. The cash-flow method (direct vs indirect) is unstated, and no mapping exists from LedgerAccount (or ChartTemplate groups) to statement lines for the P&L, balance sheet, or cash flow — so two implementations will render different statements from identical books, breaking the "reproducible from the frozen snapshot" promise across builds.
FR-92 ระบุงบสี่ฉบับ วิธีทำงบกระแสเงินสด (ทางตรงหรือทางอ้อม) ไม่ระบุ และไม่มี mapping จาก LedgerAccount (หรือกลุ่ม ChartTemplate) ไปบรรทัดงบสำหรับงบกำไรขาดทุน งบดุล หรืองบกระแสเงินสด — สอง implementation จะ render งบต่างกันจากบัญชีชุดเดียวกัน ทำลายสัญญา "ทำซ้ำได้จาก snapshot ที่แช่แข็ง" ข้ามการ build
Looked in:ตรวจสอบใน: FR-92 record · WF-40 step 3 · FinancialStatement/ChartTemplate entities · dataModeling.
Pass-2 disposition — valid · relocated: statement construction moved to PROP-023 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: การประกอบงบย้ายไป PROP-023 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-023 (Section F relocation). PROP-023 proposes deterministic construction: the account→line mapping ships as a statement_line binding on every chart row (one artifact, one version), cash-flow method indirect for accrual parties / direct for cash-basis growers (TFRS for NPAEs frame), and byte-identical regeneration from the frozen snapshot as an NFR — hosted as OQ-11…OQ-13: method confirmation · line-map granularity & custom accounts · snapshot format & comparatives. The gap stays open here until those verdicts land back.
ย้ายไป PROP-023 (การย้ายหมวด F) PROP-023 เสนอการประกอบแบบ deterministic: mapping บัญชี→บรรทัดงบเป็น binding statement_line บนทุกแถวของผัง (หนึ่งชิ้นงาน หนึ่งรุ่น) วิธีงบกระแสเงินสดทางอ้อมสำหรับเกณฑ์คงค้าง / ทางตรงสำหรับชาวไร่เกณฑ์เงินสด (กรอบ TFRS for NPAEs) และการสร้างใหม่แบบ byte เหมือนเดิมจาก snapshot แช่แข็งเป็น NFR — เป็นเจ้าภาพเป็น OQ-11…OQ-13: ยืนยันวิธี · ความละเอียด line map และบัญชีเพิ่มเอง · รูปแบบ snapshot และงวดเปรียบเทียบ gap นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
Q-28 Missing screen specs: statement viewer, agreement statements, and the five report datasets.spec หน้าจอที่หายไป: ตัวดูงบ, statement ของข้อตกลง และชุดข้อมูลของ 5 รายงาน Gapต้องตัดสินใจ
Three exits point outside the 19-screen inventory with no spec behind them: mill-period → "statement viewer/export", mill-str → "agreement statements (FR-85)" — dialogs of the parent, or screens that must exist? And mill-reports names five tiles (intake, quality, quota fulfilment, payments, credit book) with no per-report dataset definition — columns, filters, groupings — though FR-10 promises "exactly the on-screen dataset". The zero-assumption bar (every screen, every state, every string) is not met for these three areas.
exit สามจุดชี้ออกนอก inventory 19 หน้าจอโดยไม่มี spec รองรับ: mill-period → "ตัวดู/ส่งออกงบ", mill-str → "statement ของข้อตกลง (FR-85)" — เป็น dialog ของหน้าแม่ หรือหน้าจอที่ต้องมี? และ mill-reports ระบุ 5 tile (การรับอ้อย คุณภาพ ความสำเร็จโควตา การจ่ายเงิน สมุดสินเชื่อ) โดยไม่มีนิยามชุดข้อมูลต่อรายงาน — คอลัมน์ ตัวกรอง การจัดกลุ่ม — ทั้งที่ FR-10 สัญญา "ชุดข้อมูลตรงตามบนหน้าจอเป๊ะ" หลักการห้ามตั้งสมมติฐาน (ทุกหน้าจอ ทุกสถานะ ทุก string) ยังไม่ครบสำหรับสามพื้นที่นี้
Looked in:ตรวจสอบใน: uix.screens exits · mill-reports bindings · FR-10/FR-85/FR-92 records · copy catalogue (no report-column or statement-body strings).
Pass-2 disposition — valid · relocated: statement/report surfaces moved to PROP-023 (client, 15 Jul 2026)คำวินิจฉัยรอบที่ 2 — ถูกต้อง · ย้าย: surface งบ/รายงานย้ายไป PROP-023 (ลูกค้า, 15 ก.ค. 2569)
Relocated to PROP-023 (Section F relocation). PROP-023 proposes: mill-stmt as a real screen (period picker, four statement tabs, redaction-gated PDF/CSV export), the FR-85 agreement statement as a gated dialog of mill-str (permission key owned by PROP-022 OQ-8), and per-report dataset contracts for the five mill-reports tiles — hosted as OQ-14…OQ-16: mill-stmt scope & export formats · FR-85 inside the gate · the five dataset contracts and their graph home. The gap stays open here until those verdicts land back.
ย้ายไป PROP-023 (การย้ายหมวด F) PROP-023 เสนอ: mill-stmt เป็นหน้าจอจริง (ตัวเลือกงวด แท็บงบสี่ฉบับ export PDF/CSV ผ่าน gate การ redact), statement ข้อตกลงตาม FR-85 เป็น dialog ที่ถูก gate ของ mill-str (key permission เป็นของ OQ-8 ใน PROP-022) และสัญญาชุดข้อมูลรายรายงานของ tile ทั้งห้าใน mill-reports — เป็นเจ้าภาพเป็น OQ-14…OQ-16: ขอบเขต mill-stmt และรูปแบบ export · FR-85 ในกำแพง · สัญญาชุดข้อมูลทั้งห้าและบ้านใน graph gap นี้ยังเปิดจนกว่าคำวินิจฉัยจะกลับมา
3. Tally3. สรุปยอด
| Severityระดับ | Countจำนวน | Questionsคำถาม |
| Blockerสร้างต่อไม่ได้ | 11 | Q-01 · Q-06 · Q-07 · Q-11 · Q-15 · Q-16 · Q-19 · Q-20 · Q-21 · Q-24 · Q-25 |
| Gapต้องตัดสินใจ | 16 | Q-02 · Q-03 · Q-04 · Q-05 · Q-08 · Q-09 · Q-10 · Q-13 · Q-14 · Q-17 · Q-18 · Q-22 · Q-23 · Q-26 · Q-27 · Q-28 |
| Editorialแก้ไขข้อความ | 1 | Q-12 |
By area: gate/weighbridge 8 · ticket artifacts 2 · quality 2 · settlement/credit 6 · strategic 5 · books/reports 5. By family most in need: the graph's entity layer lags the new acceptance layer (Q-07, Q-15, Q-16, Q-19, Q-24 are model gaps the FR records write cheques against), and the UIX inventory is complete for what it covers but three referenced surfaces/artifacts sit outside it (Q-09, Q-23, Q-28).
แยกตามพื้นที่: ประตู/เครื่องชั่ง 8 · เอกสารตั๋ว 2 · คุณภาพ 2 · ชำระเงิน/สินเชื่อ 6 · กลยุทธ์ 5 · บัญชี/รายงาน 5 ตระกูลที่ขาดมากที่สุด: ชั้น entity ของ graph ตามหลังชั้น acceptance ใหม่ (Q-07, Q-15, Q-16, Q-19, Q-24 คือช่องว่างของ model ที่ระเบียน FR เขียนเช็คไว้ล่วงหน้า) และ inventory ของ UIX ครบสำหรับสิ่งที่ครอบคลุม แต่มี surface/เอกสารอ้างอิงสามจุดอยู่นอกเหนือ (Q-09, Q-23, Q-28)
4. Notable non-findings — questions the sources did answer4. สิ่งที่ไม่พบเป็นปัญหา — คำถามที่แหล่งข้อมูลตอบได้
Candidate questions dropped after verification, recorded as evidence the depth broadly holds:
คำถามตัวเลือกที่ถูกตัดออกหลังตรวจสอบ บันทึกไว้เป็นหลักฐานว่าความละเอียดโดยรวมครบถ้วน:
| Candidate questionคำถามตัวเลือก | Answered byตอบโดย |
| What is the CCS price-adjustment formula?สูตรปรับราคาตาม CCS คืออะไร? | CanePriceAnnouncement: ccs_premium = (ccs − ccs_base) × ccs_increment_per_t × net_t, per-region, per price_type.CanePriceAnnouncement: ccs_premium = (ccs − ccs_base) × ccs_increment_per_t × net_t ต่อภูมิภาค ต่อ price_type |
| How does the arrival guard know an arriving truck's cane type before the bridge confirms it?guard การมาถึงรู้ชนิดอ้อยของรถได้อย่างไรก่อนห้องชั่งยืนยัน? | Delivery entity: cane_type is declared at booking, confirmed at weigh-in.entity Delivery: cane_type ประกาศตอนจอง ยืนยันตอนชั่ง |
| Can a booking be cancelled at all?การจองยกเลิกได้หรือไม่? | deliveryStateMachine: booked → cancelled, before arrival only (though see Q-03 for who/effects).deliveryStateMachine: booked → cancelled ก่อนมาถึงเท่านั้น (แต่ดู Q-03 เรื่องใคร/ผลลัพธ์) |
| Do all copy keys referenced by FRs, workflows and screens exist?copy key ที่ FR / workflow / หน้าจออ้างถึงมีครบไหม? | Yes — programmatic check: every referenced key resolves in the 169-key catalogue; none missing.ครบ — ตรวจด้วยโปรแกรม: ทุก key ที่อ้างถึง resolve ใน catalogue 169 key; ไม่มีหาย |
| What starts the statutory payment clock?อะไรเริ่มนาฬิกาการจ่ายเงินตามกฎหมาย? | Glossary: delivery note (ใบส่งอ้อย) — delivery with the note starts the clock (though see Q-11's post-settlement edge... and note the note itself has no issuing flow; folded into pass-2 discussion under Q-11).อภิธานศัพท์: ใบส่งอ้อย — การส่งมอบพร้อมใบเป็นตัวเริ่มนาฬิกา (แต่ดูขอบหลัง settlement ของ Q-11... และตัวใบเองไม่มี flow การออก; พับเข้าการหารือรอบที่ 2 ใต้ Q-11) |
| Odd cycle dates (29–31), empty schedules, mid-season schedule changes?วันที่รอบแปลก ๆ (29–31), ตารางว่าง, เปลี่ยนตารางกลางฤดู? | FR-95/FR-96: days 1–28 only, immutable computed dates, effective-forward revisions — fully decided.FR-95/FR-96: วันที่ 1–28 เท่านั้น, วันที่คำนวณแล้ว immutable, การแก้ไขมีผลไปข้างหน้า — ตัดสินครบ |
| Offsets exceeding installment 1? Waitlists? Holiday due dates? Gross-first only?offset เกินงวดที่ 1? waitlist? วันครบกำหนดตรงวันหยุด? gross-first เท่านั้น? | All recorded inline as decisions in FR-07/FR-30/FR-95/FR-05 — the Section 10 claim holds for these.ทั้งหมดบันทึกเป็น decision inline ใน FR-07/FR-30/FR-95/FR-05 — คำกล่าวอ้างของข้อ 10 ยืนได้สำหรับเรื่องเหล่านี้ |
5. What pass 2 does5. รอบที่ 2 ทำอะไร
Per the Q4 resolution, the client now judges each question: (a) valid — the sources genuinely do not answer it → it becomes a recorded decision + graph/doc amendment inside phase Q1 before the 0.5.x gate closes (or an explicitly logged deferral with a phase home); (b) refuted — the reviewer missed an answer → cite the source line, no change; (c) out of scope — belongs to another capacity's phase (e.g. Q-23's mobile home) → log the phase assignment. SPEC-PRD-MILL Section 10 may stay "None" only for questions resolved under (b) or absorbed as inline decisions under (a).
ตามมติ Q4 ลูกค้าวินิจฉัยคำถามทีละข้อ: (a) ถูกต้อง — แหล่งข้อมูลไม่ตอบจริง → กลายเป็น decision ที่บันทึกไว้ + การแก้ไข graph/เอกสารภายในเฟส Q1 ก่อนปิดด่าน 0.5.x (หรือการเลื่อนที่บันทึกชัดเจนพร้อมเฟสเจ้าของ); (b) หักล้าง — ผู้ทบทวนพลาดคำตอบ → อ้างบรรทัดแหล่งที่มา ไม่มีการเปลี่ยนแปลง; (c) นอกขอบเขต — เป็นของเฟสของ capacity อื่น (เช่น บ้านของ mobile ใน Q-23) → บันทึกการมอบหมายเฟส SPEC-PRD-MILL ข้อ 10 จะคง "None" ได้เฉพาะคำถามที่จบด้วย (b) หรือถูกดูดซับเป็น decision inline ตาม (a)
6. Revision history6. ประวัติการแก้ไข
| Revรุ่น | Dateวันที่ | Changesการเปลี่ยนแปลง |
| 1.0 | 2026-07-13 | Pass-1 record — fresh-session role-play review of SPEC-PRD-MILL / SPEC-PWF-MILL / SPEC-UIX-MILL (each Rev 0.2.0) + spec-graph.json v0.5.0; 28 questions compiled (11 blockers · 16 gaps · 1 editorial), 7 notable non-findings recorded. English working language per the PROP-019 Q1 resolution (English canonical in the graph).บันทึกรอบที่ 1 — การทบทวนแบบสวมบทบาทในเซสชันใหม่ของ SPEC-PRD-MILL / SPEC-PWF-MILL / SPEC-UIX-MILL (แต่ละฉบับ Rev 0.2.0) + spec-graph.json v0.5.0; รวบรวมคำถาม 28 ข้อ (สร้างต่อไม่ได้ 11 · ต้องตัดสินใจ 16 · แก้ไขข้อความ 1) และบันทึกสิ่งที่ไม่พบเป็นปัญหา 7 รายการ ภาษาทำงานเป็นอังกฤษตามมติ Q1 ของ PROP-019 (อังกฤษเป็น canonical ใน graph) |
| 1.1 | 2026-07-14 | Pass-2 dispositions recorded for Q-01 – Q-06 (client decisions, 13–14 Jul); Q-02 spun out PROP-020, Q-06 spun out PROP-021; document made fully bilingual (EN/ไทย).บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-01 – Q-06 (การตัดสินใจของลูกค้า 13–14 ก.ค.); Q-02 แยกออกเป็น PROP-020, Q-06 แยกออกเป็น PROP-021; ปรับเอกสารเป็นสองภาษาเต็มรูปแบบ (อังกฤษ/ไทย) |
| 1.2 | 2026-07-14 | Pass-2 dispositions recorded for Q-07 and Q-08 — both derived from the Q-06 verdict / PROP-021: Q-07 reframed (ticket_no becomes the mirrored per-mill-per-season delivery ID; unification parked as PROP-021 OQ-4; the other three fields unchanged), Q-08 largely answered (coin space specified; residue = config home for per-mill line/slot/coin in the core graph).บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-07 และ Q-08 — ทั้งคู่สืบเนื่องจากคำวินิจฉัย Q-06 / PROP-021: Q-07 ตั้งกรอบใหม่ (ticket_no กลายเป็นเลขส่งมอบต่อโรงงานต่อฤดูกาลแบบสะท้อน; การรวมเลขพักเป็น OQ-4 ของ PROP-021; อีกสาม field คงเดิม), Q-08 ตอบไปมากแล้ว (space เหรียญถูกระบุ; ที่เหลือ = บ้านของการตั้งค่า line/slot/เหรียญ รายโรงงานใน graph หลัก) |
| 1.3 | 2026-07-14 | Cross-reference notes (not verdicts) added to Q-09, Q-10, Q-11, Q-12, Q-18 and Q-23 recording knock-on effects of the Q-01–Q-08 verdicts — delivery-ID/QR artifact model under the ticket spec, offline PIN constraint, CCS-timing note, lab-era fix alignment, PROP-020 QueueFrozen as the freeze mechanism, phase homes for all non-portal mill surfaces; per-mill config-home note appended to the Q-08 verdict (Q-01/Q-03/Q-04/Q-08 config family). All six questions remain open.เพิ่มหมายเหตุโยง (ไม่ใช่คำวินิจฉัย) ใน Q-09, Q-10, Q-11, Q-12, Q-18 และ Q-23 บันทึกผลสืบเนื่องจากคำวินิจฉัย Q-01–Q-08 — model เอกสารเลขส่งมอบ/QR ใต้ spec ตั๋ว, ข้อจำกัด PIN แบบ offline, หมายเหตุจังหวะเวลา CCS, การแก้ข้อความยุคแล็บ, QueueFrozen ของ PROP-020 เป็นกลไก freeze, บ้านเฟสของ surface นอก portal ทั้งหมด; เพิ่มหมายเหตุบ้านการตั้งค่ารายโรงงานต่อท้ายคำวินิจฉัย Q-08 (ตระกูลการตั้งค่า Q-01/Q-03/Q-04/Q-08) ทั้งหกคำถามยังเปิดอยู่ |
| 1.4 | 2026-07-14 | Pass-2 disposition recorded for Q-09 (client answer A-09) — premise corrected: the 80 mm thermal print is the checkpoint-ticket + queue-ticket QR chain (public live status page; scan-to-enroll at the weighbridge issues the delivery ID), not a weighbridge weight receipt; ticket field-list/layout spec assigned to PROP-020; residual — paper at the weighbridge itself and the REPRINT rule's new home. Replaces the Rev 1.3 cross-reference note on Q-09.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-09 (คำตอบลูกค้า A-09) — แก้ฐานความเข้าใจ: งานพิมพ์ความร้อน 80 มม. คือสายโซ่ QR ตั๋วจุดตรวจ + บัตรคิว (หน้าสถานะสดสาธารณะ; สแกนลงทะเบียนที่ห้องชั่งเป็นผู้ออกเลขส่งมอบ) ไม่ใช่ใบชั่งน้ำหนัก; spec รายการ field/layout ของตั๋วมอบให้ PROP-020; ตกค้าง — กระดาษที่ห้องชั่งเองและบ้านใหม่ของกฎ REPRINT แทนที่หมายเหตุโยงรุ่น 1.3 บน Q-09 |
| 1.5 | 2026-07-14 | Pass-2 disposition recorded for Q-10 (client answer A-10) — feature removed: manual weight entry is illegal under the government weights-and-measures mandate (certified scales, digital capture only, no override path); the mill_manager PIN and dual sign-off are deleted rather than specified; residual — define the mill-wb blocking error state when the scale link is down.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-10 (คำตอบลูกค้า A-10) — ตัดฟีเจอร์ออก: การกรอกน้ำหนักด้วยมือผิดกฎหมายตามข้อบังคับชั่งตวงวัดของรัฐ (เครื่องชั่งรับรอง, รับค่าดิจิทัลเท่านั้น, ไม่มีเส้นทาง override); ลบ PIN ของ mill_manager และการลงนามคู่แทนการระบุ spec; ตกค้าง — นิยามสถานะ error แบบปิดกั้นของ mill-wb เมื่อการเชื่อมต่อเครื่องชั่งล่ม |
| 1.6 | 2026-07-14 | Pass-2 disposition recorded for Q-11 (client answer A-11) — premise dissolved: CCS settles within the crushing day; unmeasured, unmatched or unclear deliveries take the factory's daily-average CCS as the settled value; no next-day CCS adjustment exists. FR-06/FR-07's late-delta-into-installment-2 model is deleted in favour of same-day finality + daily-average fallback (ccs_source). Replaces the Rev 1.3 cross-reference note on Q-11.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-11 (คำตอบลูกค้า A-11) — ฐานคำถามสลายไป: CCS จบภายในวันหีบ; การส่งมอบที่ไม่มีการวัด จับคู่ไม่ได้ หรือไม่ชัดเจน ใช้ CCS เฉลี่ยรายวันของโรงงานเป็นค่าที่ใช้ชำระ; ไม่มีการปรับ CCS ข้ามวัน ลบ model delta ช้าเข้างวดที่ 2 ของ FR-06/FR-07 แทนด้วยกฎจบภายในวัน + fallback ค่าเฉลี่ยรายวัน (ccs_source) แทนที่หมายเหตุโยงรุ่น 1.3 บน Q-11 |
| 1.7 | 2026-07-14 | Pass-2 disposition recorded for Q-12 (client answer A-12) — correction decided: the mill's own CCS/brix lab exists but is a production reference only (sucrose-in vs sugar-extracted loss accounting), never a settlement or pricing input; the "my tests stand" exception is deleted, replaced by the A-11 rule (สอน. measurement, else the delivery day's factory-average CCS) with audit deviations routed to price/season adjustments (FR-98/FR-99). Replaces the Rev 1.3 cross-reference note on Q-12.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-12 (คำตอบลูกค้า A-12) — ตัดสินการแก้ข้อความ: แล็บ CCS/brix ของโรงงานมีจริงแต่เป็นข้อมูลอ้างอิงการผลิตเท่านั้น (บัญชีการสูญเสีย ซูโครสเข้า vs น้ำตาลที่สกัดได้) ไม่ใช่ input การชำระหรือการกำหนดราคา; ลบข้อยกเว้น "ผลทดสอบของฉันยังยืน" แทนด้วยกฎ A-11 (ค่าวัด สอน. หรือ CCS เฉลี่ยโรงงานของวันส่งมอบ) โดยผลตรวจ audit ที่ต่างส่งเข้าการปรับราคา/ระดับฤดูกาล (FR-98/FR-99) แทนที่หมายเหตุโยงรุ่น 1.3 บน Q-12 |
| 1.8 | 2026-07-14 | Q-13 – Q-28 reviewed against the A-01 – A-12 verdicts — none is answered or invalidated; all remain open as written. One adjustment: the Q-23 cross-reference extended — the A-09 verdict adds en-route checkpoint-ticket scanning (checkpoint staff) to the non-portal-surface phase-home decision.ทบทวน Q-13 – Q-28 เทียบคำวินิจฉัย A-01 – A-12 — ไม่มีข้อใดถูกตอบหรือตกไป; ทุกข้อยังเปิดตามเดิม ปรับหนึ่งจุด: ขยายหมายเหตุโยงของ Q-23 — คำวินิจฉัย A-09 เพิ่มการสแกนตั๋วจุดตรวจระหว่างทาง (เจ้าหน้าที่ checkpoint) เข้าการตัดสินเฟสเจ้าของ surface นอก portal |
| 1.9 | 2026-07-14 | Pass-2 disposition recorded for Q-13 (client answer A-13) — convention decided: full precision through all intermediate computation with a single banker's rounding (half-to-even) to the satang on the final settlement total; both installment halves round down to the satang and the odd residual satang is retained by the platform in a rounding-residual account (installment_1 + installment_2 + rounding_residual = total).บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-13 (คำตอบลูกค้า A-13) — ตัดสินข้อตกลง: เก็บความละเอียดเต็มตลอดการคำนวณระหว่างทาง ปัดเศษครั้งเดียวแบบ banker's (ครึ่งเข้าเลขคู่) ถึงสตางค์ที่ยอดชำระสุดท้าย; ครึ่งของทั้งสองงวดปัดลงถึงสตางค์ และสตางค์ตกค้างเป็นของแพลตฟอร์มในบัญชีเศษการปัดเศษ (installment_1 + installment_2 + rounding_residual = total) |
| 2.0 | 2026-07-14 | Pass-2 disposition recorded for Q-14 (client answer A-14) — model decided: PaymentBatch gains partially_posted and items gain failed; NFR-27 scopes to items posted on the due date; a failed item's delivery moves to waiting and reschedules into the next payment cycle once the operator supplies the missing/corrected payment information (no fixed resolution deadline).บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-14 (คำตอบลูกค้า A-14) — ตัดสิน model: PaymentBatch เพิ่ม partially_posted และ item เพิ่ม failed; NFR-27 จำกัดขอบเขตที่ item ที่ post ในวันครบกำหนด; delivery ของ item ที่ล้มเหลวเข้าสถานะ waiting และจัดตารางเข้ารอบจ่ายถัดไปเมื่อ operator กรอกข้อมูลการจ่ายที่ขาด/แก้ให้ถูกต้องครบ (ไม่กำหนดเส้นตายการแก้ไข) |
| 2.1 | 2026-07-14 | Pass-2 disposition recorded for Q-15 (client answer A-15) — blocker resolved: financing runs on factory-issued post-dated cheques (banks factor them; bank-side interest is external, standard Thai banking practice). Factory-side: one effective-dated, forward-only rate per mill with full change history; compound accrual by default (daily, on principal + accrued interest) with per-mill simple-interest opt-in; accrual starts on the cheque date and runs until cane deliveries offset; principal and interest carried as separate balances through FR-17. Residual — day-count basis and interest posting cadence.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-15 (คำตอบลูกค้า A-15) — ปลด blocker: การเงินใช้เช็คลงวันที่ล่วงหน้าที่โรงงานออก (ธนาคารทำ factoring; ดอกเบี้ยฝั่งธนาคารอยู่นอกขอบเขต ตามมาตรฐานธนาคารไทย) ฝั่งโรงงาน: อัตราหนึ่งค่าต่อโรงงาน มีวันมีผลใช้ไปข้างหน้าพร้อมประวัติการเปลี่ยน; ดอกเบี้ยทบต้นเป็นค่าเริ่มต้น (รายวัน ฐานเงินต้น + ดอกเบี้ยค้างรับ) โรงงาน opt-in ต้นเดียวได้; เริ่มคิดจากวันที่บนเช็คจนกว่าอ้อยที่ส่งมอบจะ offset; แยกยอดเงินต้น/ดอกเบี้ยผ่าน FR-17 ตกค้าง — day-count และรอบการ post ดอกเบี้ย |
| 2.2 | 2026-07-14 | A-15 supplement recorded on the Q-15 verdict — in-kind / contract-farming financing (fertilizer, inputs, direct factory services) accrues at the same per-mill rate; optional per-mill opt-in to a split pre-due / post-due rate pair, single rate remaining the typical case.บันทึกส่วนเสริม A-15 บนคำวินิจฉัย Q-15 — การเงินแบบสิ่งของ / contract farming (ปุ๋ย ปัจจัยการผลิต บริการตรงจากโรงงาน) คิดอัตราเดียวกับอัตรารายโรงงาน; โรงงาน opt-in ใช้คู่อัตราก่อน/หลังครบกำหนดได้ โดยอัตราเดียวยังเป็นกรณีปกติ |
| 2.3 | 2026-07-14 | Q-16 – Q-28 reviewed against the A-13 – A-15 verdicts — none answered or invalidated; all remain open. Cross-reference notes added to Q-16 (cheque date / scheduled payment date as dueness anchors; interest-before-principal ordering sub-question), Q-24 (chart must seed the rounding-residual, principal-receivable, interest-receivable and interest-income accounts) and Q-25 (new posting-map rows: rounding residual, failed-item reversal/reschedule, interest accrual, cheque issuance, split principal/interest offset legs).ทบทวน Q-16 – Q-28 เทียบคำวินิจฉัย A-13 – A-15 — ไม่มีข้อใดถูกตอบหรือตกไป; ทุกข้อยังเปิด เพิ่มหมายเหตุโยงที่ Q-16 (วันที่เช็คลงวันที่ล่วงหน้า / วันครบกำหนดชำระเป็นจุดยึดความถึงกำหนด; คำถามย่อยเรื่องหักดอกเบี้ยก่อนเงินต้น), Q-24 (ผังบัญชีต้อง seed บัญชีเศษการปัดเศษ ลูกหนี้เงินต้น ดอกเบี้ยค้างรับ และรายได้ดอกเบี้ย) และ Q-25 (แถว posting map ใหม่: เศษปัดเศษ, กลับรายการ/จัดตารางใหม่ item ล้มเหลว, ดอกเบี้ยค้างรับ, การออกเช็ค, ขา offset เงินต้น/ดอกเบี้ยแยกกัน) |
| 2.4 | 2026-07-14 | Pass-2 disposition recorded for Q-16 (client answer A-16) — blocker resolved: due = scheduled payment date passed; a scheduled repayment date is mandatory on every credit item (creation rejected without one); same-day ties break by oldest post-dated-cheque date; offsets consume accrued interest before principal (standard banking order). Residual — cross-line ordering for one payee.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-16 (คำตอบลูกค้า A-16) — ปลด blocker: ถึงกำหนด = เลยวันนัดชำระ; ทุก item สินเชื่อต้องมีวันนัดชำระคืน (สร้างไม่ได้ถ้าไม่มี); เสมอวันเดียวกันใช้เช็คลงวันที่ล่วงหน้าเก่าสุดก่อน; offset หักดอกเบี้ยค้างรับก่อนเงินต้น (ลำดับมาตรฐานธนาคาร) ตกค้าง — ลำดับข้าม line ของผู้รับเงินรายเดียว |
| 2.5 | 2026-07-14 | Pass-2 disposition recorded for Q-17 (client answer A-17) — decided: the season true-up is two-act by default (mill_manager approves → finance_officer runs/posts, mirroring the settlement-batch split), with factory-configurable approval conditions (approver chain, amount thresholds) per company policy; FR-99 gains the approve step + guard, mill-trueup the approval act, WF-05 step 4 updated.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-17 (คำตอบลูกค้า A-17) — ตัดสินแล้ว: true-up ปลายฤดูเป็นสอง act โดยปริยาย (mill_manager อนุมัติ → finance_officer run/post ตามการแยกบทบาทของ batch การชำระ) โดยโรงงานตั้งค่าเงื่อนไขการอนุมัติได้ (สายผู้อนุมัติ เกณฑ์วงเงิน) ตามนโยบายบริษัท; FR-99 เพิ่มขั้น approve + guard, mill-trueup เพิ่มการอนุมัติ, ปรับ WF-05 ขั้นที่ 4 |
| 2.6 | 2026-07-14 | Pass-2 disposition recorded for Q-18 (client answer A-18) — decided: staff can edit crush_capacity_t on an open day, with recorded downtime (start + estimated duration) driving a live remaining-capacity forecast; excess booked tonnage bumps to the next open day last-booked-first with farmer notify + keep/cancel; a capacity cut auto-fires QueueFrozen (no manual switch needed). FR-30 / mill-csd / WF-10 step 3 amended.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-18 (คำตอบลูกค้า A-18) — ตัดสินแล้ว: เจ้าหน้าที่แก้ crush_capacity_t บนวันที่เปิดอยู่ได้ โดยการบันทึก downtime (เริ่ม + ระยะเวลาประมาณ) สร้างพยากรณ์กำลังหีบคงเหลือแบบสด; ตันจองที่เกินถูก bump ไปวันเปิดถัดไปแบบจองหลังโดนก่อน พร้อมแจ้งเตือนชาวไร่ + เลือกคง/ยกเลิก; การลดกำลังหีบยิง QueueFrozen อัตโนมัติ (ไม่ต้องสับสวิตช์) แก้ FR-30 / mill-csd / WF-10 ขั้นที่ 3 |
| 2.7 | 2026-07-14 | Q-19 – Q-28 reviewed against the A-16 – A-18 verdicts — none answered or invalidated; all remain open as written. Knock-ons recorded: Q-08's per-mill configuration family extended with A-17's true-up approval policy (now five members); PROP-020 amended per A-18 (FR-112 freeze auto-fires on the capacity cut, FR-113 gains the last-booked-first bump-over + farmer keep/cancel, mill-queue + qm-02 updated). PROP-021 unaffected.ทบทวน Q-19 – Q-28 เทียบคำวินิจฉัย A-16 – A-18 — ไม่มีข้อใดถูกตอบหรือตกไป; ทุกข้อยังเปิดตามเดิม บันทึกผลสืบเนื่อง: ขยายตระกูลการตั้งค่ารายโรงงานของ Q-08 ด้วยนโยบายการอนุมัติ true-up ของ A-17 (เป็นห้าสมาชิก); แก้ PROP-020 ตาม A-18 (freeze ของ FR-112 ทำงานอัตโนมัติเมื่อลดกำลังหีบ, FR-113 เพิ่มกฎ bump แบบจองหลังโดนก่อน + ชาวไร่เลือกคง/ยกเลิก, ปรับ mill-queue + qm-02) ส่วน PROP-021 ไม่กระทบ |
| 2.8 | 2026-07-14 | Pass-2 disposition recorded for Q-19 (client answer A-19) — blocker resolved: marginal vs whole-volume is a configurable calc_basis policy resolved factory default → farmer group → farmer/agreement → tier override (most-specific wins, effective-forward, append-only); FR-78/FR-81 parameterized by the resolved basis; CheckpointRate's "Q2" marker replaced. The planning/analytics dimension — pre-designed strategic plans, break-even, real-time cost reporting, live season-spend forecast, opt-in paid per PROP-016 — spun out as PROP-022; whole-volume retroactivity and the cascade's config home carried there. PROP-009 open question Q2 closed in place.บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-19 (คำตอบลูกค้า A-19) — ปลด blocker: marginal vs whole-volume เป็นนโยบาย calc_basis ที่ตั้งค่าได้ resolve ตามลำดับ ค่าเริ่มต้นโรงงาน → กลุ่มชาวไร่ → ชาวไร่/ข้อตกลง → override ราย tier (เฉพาะเจาะจงที่สุดชนะ มีผลไปข้างหน้า append-only); FR-78/FR-81 รับ basis ที่ resolve แล้วเป็น parameter; แทนที่เครื่องหมาย "Q2" ของ CheckpointRate มิติการวางแผน/วิเคราะห์ — แผนกลยุทธ์ล่วงหน้า จุดคุ้มทุน รายงานต้นทุนเรียลไทม์ พยากรณ์ค่าใช้จ่ายฤดูกาลแบบสด opt-in จ่ายเพิ่มตาม PROP-016 — แยกออกเป็น PROP-022; retroactivity ของ whole-volume และบ้านการตั้งค่าของลำดับชั้นถูกยกไปที่นั่น ปิดคำถามเปิด Q2 ของ PROP-009 ในที่ |
| 2.9 | 2026-07-14 | Pass-2 disposition recorded for Q-20 (client answer A-20) — blocker resolved: settlement_offset redefined as a companion strategic payment, never PaymentItem.deductions; delivery records carry the premium columns (rate/ton, total, agreement link) while the delivery note shows net weight only; statutory + strategic payments combine on one online-only slip (strategic card below the official section, grand total); NFR-21 softened from hard prohibition to per-viewer, per-factory permission-gated redaction. PROP-022 P-3/OQ-7 updated (rev 0.2).บันทึกคำวินิจฉัยรอบที่ 2 ของ Q-20 (คำตอบลูกค้า A-20) — ปลด blocker: นิยาม settlement_offset ใหม่เป็นการจ่ายกลยุทธ์คู่กัน ไม่ใช่ PaymentItem.deductions เด็ดขาด; delivery record ถือคอลัมน์ premium (อัตรา/ตัน ยอดรวม ลิงก์ข้อตกลง) ส่วนใบส่งมอบแสดงเฉพาะน้ำหนักสุทธิ; การจ่ายตามกฎหมาย + กลยุทธ์รวมบน slip ออนไลน์เดียว (card กลยุทธ์ใต้ส่วนทางการ พร้อมยอดรวม); NFR-21 ผ่อนจากห้ามเด็ดขาดเป็น redact ตาม permission รายผู้ดู/รายโรงงาน ปรับ P-3/OQ-7 ของ PROP-022 (rev 0.2) |
| 3.0 | 2026-07-14 | Q-21 rewritten as a seven-part investigation — A-20's graduated per-viewer visibility invalidated the single-key framing — then relocated to PROP-022 as OQ-8…OQ-14 (rev 0.3); the blocker stays open pending those verdicts; Q1 amendment minimum: reserve a strategic domain group in the PermissionCatalog.เขียน Q-21 ใหม่เป็นการสืบสวนเจ็ดส่วน — การมองเห็นเป็นระดับตาม A-20 ทำให้ key เดียวใช้ไม่ได้ — แล้วย้ายไป PROP-022 เป็น OQ-8…OQ-14 (rev 0.3); blocker ยังเปิดรอคำวินิจฉัย; ขั้นต่ำ Q1: จองกลุ่ม domain strategic ใน PermissionCatalog |
| 3.1 | 2026-07-15 | Q-22 and Q-23 relocated to PROP-022 (client): Q-22's scope-overlap predicate expanded as OQ-15…OQ-18 (scope axes, predicate & concurrent-mode policy, enforcement timing & change safety, plan-designer interplay); Q-23's non-portal surfaces & checkpoint-staff actor expanded as OQ-19…OQ-21 (surface inventory & phase homes, checkpoint_staff role, scanning surface spec). Both gaps stay open pending those verdicts (PROP-022 rev 0.4).ย้าย Q-22 และ Q-23 ไป PROP-022 (ลูกค้า): ขยาย predicate การทับซ้อนของ Q-22 เป็น OQ-15…OQ-18 (แกน scope, predicate และนโยบาย mode พร้อมกัน, จังหวะบังคับและความปลอดภัยการแก้ไข, การทำงานร่วมกับเครื่องมือออกแบบแผน) และขยาย surface นอก portal และ actor เจ้าหน้าที่ checkpoint ของ Q-23 เป็น OQ-19…OQ-21 (บัญชี surface และบ้านเฟส, role checkpoint_staff, spec surface สแกน) ทั้งสอง gap ยังเปิดรอคำวินิจฉัย (PROP-022 rev 0.4) |
| 3.2 | 2026-07-15 | Section F (Q-24…Q-28) relocated wholesale to the new PROP-023 (client): books, statements and reporting judged a domain needing one coherent design rather than five per-question verdicts. Expanded there as OQ-1…OQ-16 — the chart of accounts (OQ-1…4), the auto-posting map (OQ-5…8), the period lock (OQ-9…10), statement construction (OQ-11…13) and the statement/report surfaces (OQ-14…16) — each with a recommendation. All five questions (2 blockers · 3 gaps) stay open here pending those verdicts.ย้ายหมวด F (Q-24…Q-28) ทั้งหมดไป PROP-023 ฉบับใหม่ (ลูกค้า): บัญชี งบการเงิน และรายงานถูกวินิจฉัยว่าเป็น domain ที่ต้องออกแบบเป็นชุดเดียวที่สอดคล้อง ไม่ใช่คำวินิจฉัยแยกห้าข้อ ขยายที่นั่นเป็น OQ-1…OQ-16 — ผังบัญชี (OQ-1…4), auto-posting map (OQ-5…8), การ lock งวด (OQ-9…10), การประกอบงบ (OQ-11…13) และ surface งบ/รายงาน (OQ-14…16) — พร้อมข้อเสนอแนะทุกข้อ ทั้งห้าคำถาม (blocker 2 · gap 3) ยังเปิดที่นี่รอคำวินิจฉัย |
| 3.3 | 2026-07-15 | Round 2 of the gate compiled and recorded as prop-019-q1-gate-pass2.html — the implementation team resumed with the A-01…A-20 verdict packet in hand and raised Q-29…Q-50 (22 questions: 4 blockers · 18 gaps — explicitly-named verdict residuals, gaps the verdicts create, and round-1 misses the verdict lens exposed); status pill re-pointed to the round-2 record. No pass-1 questions or verdicts changed.รวบรวมรอบที่ 2 ของด่านและบันทึกเป็น prop-019-q1-gate-pass2.html — ทีมพัฒนากลับมาทบทวนต่อโดยถือชุดคำวินิจฉัย A-01…A-20 และตั้งคำถาม Q-29…Q-50 (22 ข้อ: สร้างต่อไม่ได้ 4 · ต้องตัดสินใจ 18 — สิ่งตกค้างที่คำวินิจฉัยระบุชื่อ ช่องว่างที่คำวินิจฉัยสร้าง และสิ่งที่รอบแรกพลาดซึ่งมุมมองคำวินิจฉัยเผย); ชี้ status pill ไปยังบันทึกรอบที่ 2 ไม่มีการแก้คำถามหรือคำวินิจฉัยของรอบที่ 1 |