Cane Agency · Change Proposal (ACCEPTED 13 Jul 2026 — Q1 applied in spec v0.5.0; Q2–Q5 pending)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง (อนุมัติ 13 ก.ค. 2569 — นำเข้า Q1 ใน spec v0.5.0 แล้ว; รอ Q2–Q5)
The 111 functional requirements carry a name, surfaces and a priority — no acceptance criteria, no edge cases, no error behaviour, no measurable success test. Example open questions today: What happens when a booking exceeds the crushing-day cap — reject, queue, or waitlist? Is a re-weigh allowed after CCS confirmation? What does FR-01 verification require for a farmer without a citizen id?Functional requirement ทั้ง 111 ข้อมีชื่อ surface และลำดับความสำคัญ — ไม่มีเกณฑ์การยอมรับ ไม่มีกรณีขอบ ไม่มีพฤติกรรมเมื่อผิดพลาด ไม่มีบททดสอบวัดได้ ตัวอย่างคำถามที่ยังเปิดอยู่: ถ้าการจองเกินเพดานวันหีบจะปฏิเสธ เข้าคิว หรือรอเรียก? ชั่งใหม่ได้ไหมหลัง CCS ยืนยันแล้ว? FR-01 ต้องยืนยันอะไรถ้าชาวไร่ไม่มีเลขบัตรประชาชน?
The master catalogues WF-01…44 and the perspective docs summarize "workflows I drive", but steps are prose: no numbered step table with actor · surface · precondition · postcondition · guard · emitted event · failure branch per step. The delivery state machine is normative; the 43 other flows are not pinned to it step-by-step. Gov perspective PWF docs are stubs.แม่บทมีบัญชี WF-01…44 และเอกสารมุมมองสรุป "workflow ที่ฉันขับเคลื่อน" แต่ขั้นตอนเป็นความเรียง: ไม่มีตารางขั้นตอนพร้อม ผู้กระทำ · surface · เงื่อนไขก่อน · เงื่อนไขหลัง · guard · event ที่ปล่อย · กิ่งความล้มเหลว ราย step; state machine ของการส่งมอบเป็นบรรทัดฐานแล้ว แต่อีก 43 flow ยังไม่ถูกตรึงทีละขั้น เอกสาร PWF ฝั่งรัฐยังเป็นโครง
Split in v0.1.0 but mostly stubs (CFQ excepted): no screen inventory per surface, no per-screen layout/component mapping to the bound design system, no state matrix (loading · empty · error · offline · degraded), no validation messages, no bilingual copy catalogue, no navigation map. A developer cannot build the weigh-in screen from SPEC-UIX-MILL today.แยกเมื่อ v0.1.0 แต่ส่วนใหญ่ยังเป็นโครง (ยกเว้น CFQ): ไม่มีบัญชีหน้าจอราย surface, ไม่มีการ map layout/component ต่อ design system ที่ผูกไว้, ไม่มีตารางสถานะ (loading · ว่าง · ผิดพลาด · offline · เสื่อมถอย), ไม่มีข้อความ validation, ไม่มี catalogue ข้อความสองภาษา, ไม่มีแผนที่การนำทาง นักพัฒนายังสร้างหน้าจอชั่งเข้าจาก SPEC-UIX-MILL ไม่ได้ในวันนี้
A perspective document passes only when every checklist item below holds for every requirement / workflow / screen in its scope. The acceptance test is literal: a reviewer role-playing the implementation team must fail to produce a question the document does not already answer.
เอกสารมุมมองผ่านเกณฑ์เมื่อรายการตรวจทุกข้อด้านล่างเป็นจริงกับทุกข้อกำหนด / workflow / หน้าจอในขอบเขตของมัน บททดสอบการยอมรับตรงตัว: ผู้ตรวจที่สวมบทบาททีมพัฒนาต้องตั้งคำถามที่เอกสารยังไม่ได้ตอบไว้แล้ว — ไม่สำเร็จ
| Familyตระกูล | Every item must carryทุกรายการต้องมี |
|---|---|
| PRD per FR in scopeต่อ FR ในขอบเขต |
|
| PWF per WF in scopeต่อ WF ในขอบเขต |
|
| UIX per screen in scopeต่อหน้าจอในขอบเขต |
|
| BlockBlock | Extensionส่วนขยาย |
|---|---|
| requirements.functional[] | +acceptance — array of Given/When/Then criteria (EN; docs transcreate TH), +edge_cases, +errors, +metric, +entities (read/write ids), +roles. IDs and names unchanged.เพิ่ม acceptance — เกณฑ์ Given/When/Then (EN; เอกสาร transcreate เป็นไทย), เพิ่ม edge_cases, errors, metric, entities (id ที่อ่าน/เขียน), roles id และชื่อคงเดิม |
| workflows.nodes[] | +spec — { steps: [{n, actor, surface, action, pre, post, guards[], events[], fail}], sla, states } pinning every step to state machines and event ids.เพิ่ม spec — { steps: [{n, actor, surface, action, pre, post, guards[], events[], fail}], sla, states } ตรึงทุกขั้นกับ state machine และ id ของ event |
| uix newใหม่ | New top-level block: screens per surface — { id, surface, capacity, purpose, entry[], components[] (DS names), states[], bindings[], validations[], copyKeys[] } and a copy catalogue { key, en, th }. Prototype screens under apps/ must reference screen ids.Block ระดับบนสุดใหม่: screens ราย surface — { id, surface, capacity, purpose, entry[], components[] (ชื่อจาก DS), states[], bindings[], validations[], copyKeys[] } และ catalogue copy { key, en, th } หน้าจอ prototype ใต้ apps/ ต้องอ้าง id หน้าจอ |
| Familyตระกูล | Required sections (each perspective doc)ส่วนที่ต้องมี (เอกสารมุมมองทุกฉบับ) |
|---|---|
| SPEC-PRD-* | 1 Problem for this capacity · 2 Personas & jobs-to-be-done · 3 Requirement specifications (per FR: the full Section-3 record) · 4 Cross-capacity dependencies · 5 Metrics & instrumentation · 6 Out of scope · 7 Open decisions (must be EMPTY to pass) · Related · Revision.1 โจทย์ของ capacity นี้ · 2 บุคลิกผู้ใช้และงานที่ต้องทำ · 3 spec ข้อกำหนด (ต่อ FR: ระเบียนเต็มตามข้อ 3) · 4 การพึ่งพาข้าม capacity · 5 ตัวชี้วัดและการวัด · 6 นอกขอบเขต · 7 การตัดสินใจที่ค้าง (ต้องว่างจึงผ่าน) · เอกสารเกี่ยวข้อง · ประวัติ |
| SPEC-PWF-* | 1 Operational purpose · 2 Workflow contracts (per WF: numbered step table + guards + failure branches + events) · 3 State machines that bind me (transitions this capacity performs) · 4 Exception paths & compensations · 5 Timing/SLA table · Related · Revision.1 จุดประสงค์เชิงปฏิบัติการ · 2 สัญญา workflow (ต่อ WF: ตารางขั้นตอน + guard + กิ่งความล้มเหลว + event) · 3 state machine ที่ผูกพันฉัน (transition ที่ capacity นี้ทำ) · 4 เส้นทางกรณียกเว้นและการชดเชย · 5 ตารางเวลา/SLA · เอกสารเกี่ยวข้อง · ประวัติ |
| SPEC-UIX-* | 1 Surface & shell (DS template used) · 2 Navigation map · 3 Screen inventory · 4 Screen specifications (per screen: the full Section-3 record incl. state matrix + bindings + validations) · 5 Copy catalogue (bilingual, keyed) · 6 Accessibility & field conditions · Related · Revision.1 Surface และโครง (template ของ DS ที่ใช้) · 2 แผนที่การนำทาง · 3 บัญชีหน้าจอ · 4 spec หน้าจอ (ต่อจอ: ระเบียนเต็มตามข้อ 3 รวมตารางสถานะ + การผูกข้อมูล + validation) · 5 catalogue ข้อความ (สองภาษา มี key) · 6 การเข้าถึงและสภาพภาคสนาม · เอกสารเกี่ยวข้อง · ประวัติ |
Each phase lands graph-first, authors the three docs of one capacity to the Section-3 bar, and closes with the role-play review. CFQ needs only gap-fill against the new bar (PROP-017 delivered its depth).
แต่ละระยะเข้า graph ก่อน เขียนเอกสารสามฉบับของหนึ่ง capacity ให้ถึงเกณฑ์ข้อ 3 และปิดด้วยการตรวจแบบสวมบทบาท CFQ เติมเฉพาะช่องว่างเทียบเกณฑ์ใหม่ (PROP-017 ทำความลึกไว้แล้ว)
| Phaseระยะ | Scopeขอบเขต | VersionVersion |
|---|---|---|
| Q1 applied 13 Jul 2026 · v0.5.0นำเข้า 13 ก.ค. 2569 · v0.5.0 | MILL (operational core: WF-03/04/05/10/31…41; portal screens weigh-in → settlement → books) + the shared uix/acceptance/spec graph scaffolding.MILL (แกนปฏิบัติการ: WF-03/04/05/10/31…41; หน้าจอ portal ชั่งเข้า → ปิดงวด → บัญชี) + โครง graph uix/acceptance/spec ที่ใช้ร่วม | 0.5.0 |
| Q2 applied 16 Jul 2026 · v0.9.0นำเข้า 16 ก.ค. 2569 · v0.9.0 | CFC + CFQ gap-fill (field mobile: booking, tickets, crop registry, เงินเกี๊ยว views; offline states are first-class). Landed as v0.9.0 — PROP-029/031 took the 0.6.x/0.8.x slots; role-play gate review pending.CFC + เติม CFQ (มือถือภาคสนาม: จอง บัตรชั่ง ทะเบียนอ้อย มุมมองเงินเกี๊ยว; สถานะ offline เป็นหน้าหลัก) นำเข้าเป็น v0.9.0 — ช่อง 0.6.x/0.8.x ถูกใช้โดย PROP-029/031; รอการตรวจแบบสวมบทบาท | 0.9.0 |
| Q3 | FIN + CEC (finance console: consent → score → originate; dispatch/crew: RFQ → award → execute → escrow).FIN + CEC (console การเงิน: ความยินยอม → คะแนน → อนุมัติ; dispatch/crew: RFQ → มอบงาน → ทำงาน → escrow) | 0.7.0 |
| Q4 | GOV-OCSB + GOV-OCSF (regulator + fund consoles — currently the thinnest stubs).GOV-OCSB + GOV-OCSF (console ผู้กำกับ + กองทุน — ปัจจุบันเป็นโครงบางที่สุด) | 0.8.0 |
| Q5 | FED + OPS (account + admin: onboarding, capacity extension, view-as, invitations, representative mills).FED + OPS (account + admin: การรับเข้า ขยาย capacity, view-as, คำเชิญ, โรงงานตัวแทน) | 0.9.0 |
| Q | Questionคำถาม | Recommendationข้อเสนอ |
|---|---|---|
| Q1 | Do acceptance criteria live in the graph (EN) with docs transcreating, or only in the docs?เกณฑ์การยอมรับอยู่ใน graph (EN) แล้วเอกสาร transcreate หรืออยู่ในเอกสารเท่านั้น? | Resolved 13 Jul 2026 — as recommendedยุติ 13 ก.ค. 2569 — ตามข้อเสนอ Graph-first (Section 4) — keeps agents and future apps/ tests on one source.Graph ก่อน (ข้อ 4) — ให้ agent และการทดสอบ apps/ ในอนาคตใช้แหล่งเดียว |
| Q2 | Copy catalogue scope: every string, or key screens first?ขอบเขต catalogue ข้อความ: ทุก string หรือหน้าจอหลักก่อน? | Resolved 13 Jul 2026 — as recommendedยุติ 13 ก.ค. 2569 — ตามข้อเสนอ Every string for screens in scope of the phase — partial catalogues reopen the assumption door.ทุก string ของหน้าจอในระยะนั้น — catalogue ครึ่งเดียวเปิดประตูข้อสมมติอีกครั้ง |
| Q3 | Should UIX screen specs ship with clickable DS prototypes per screen (extending apps/)?spec หน้าจอ UIX ควรมาพร้อม prototype กดได้ราย screen (ต่อยอด apps/) หรือไม่? | Resolved 13 Jul 2026 — as recommendedยุติ 13 ก.ค. 2569 — ตามข้อเสนอ Yes for the top-5 screens per capacity; the spec table remains the binding artifact.ควร สำหรับ 5 หน้าจอหลักต่อ capacity; ตาราง spec ยังเป็นชิ้นงานที่ผูกพัน |
| Q4 | Who plays the implementation team in the role-play acceptance review?ใครสวมบทบาททีมพัฒนาในการตรวจรับแบบสวมบทบาท? | Resolved 13 Jul 2026 — bothยุติ 13 ก.ค. 2569 — ทั้งสองทาง Two-pass review per phase: first an agent in a FRESH session (no authoring context, only the three docs + graph) compiles the implementation-question list; then the client spot-checks the docs against that list and judges. The phase passes only when both passes produce no unanswered question.ตรวจสองรอบต่อระยะ: รอบแรก agent ใน session ใหม่ (ไม่มีบริบทการเขียน ใช้เอกสารสามฉบับ + graph เท่านั้น) รวบรวมรายการคำถามเชิงพัฒนา จากนั้นลูกค้าตรวจทานเอกสารเทียบรายการนั้นและเป็นผู้ชี้ขาด ระยะจะผ่านเมื่อทั้งสองรอบไม่พบคำถามที่ยังไม่มีคำตอบ |
| Q5 | Do we back-apply the Section-3 bar to the already-deep families (ERD/DDD/APP) as an audit?ควรย้อนใช้เกณฑ์ข้อ 3 ตรวจตระกูลที่ลึกแล้ว (ERD/DDD/APP) หรือไม่? | Resolved 13 Jul 2026 — as recommendedยุติ 13 ก.ค. 2569 — ตามข้อเสนอ Yes, as a checklist pass per phase — cheap, catches drift.ควร เป็นรอบ checklist ต่อระยะ — ต้นทุนต่ำ จับความคลาดได้ |
| Revฉบับ | Dateวันที่ | Changesการเปลี่ยนแปลง |
|---|---|---|
| 1.1 | 2026-07-13 | Phase Q1 applied (spec v0.5.0): graph scaffolding landed — acceptance/edge_cases/errors/metric/entities/roles on the 37 mill-owned FRs, workflows.nodes[].spec step contracts on the 14 mill workflows, and the new top-level uix block (19 mill-portal screens + 169-key bilingual copy catalogue). SPEC-PRD-MILL / SPEC-PWF-MILL / SPEC-UIX-MILL each Rev 0.2.0. The two-pass role-play review (Q4 resolution) is the outstanding gate for this phase.นำเข้าระยะ Q1 แล้ว (spec v0.5.0): โครง graph ลงแล้ว — acceptance/edge_cases/errors/metric/entities/roles บน FR ของโรงงานทั้ง 37 ข้อ, สัญญาขั้นตอน workflows.nodes[].spec บน workflow โรงงานทั้ง 14 และ block ระดับบนสุดใหม่ uix (19 หน้าจอ portal โรงงาน + catalogue ข้อความสองภาษา 169 key) SPEC-PRD-MILL / SPEC-PWF-MILL / SPEC-UIX-MILL เป็น Rev 0.2.0 ทุกฉบับ ด่านที่เหลือของระยะนี้คือการตรวจสวมบทบาทสองรอบ (ข้อยุติ Q4) |
| 1.0 | 2026-07-13 | ACCEPTED by the client. Application is phased per Section 7 — each phase lands graph-first, bumps the spec version (0.5.0…0.9.0) and closes with the two-pass role-play review (Q4). No graph change in this pass; Phase Q1 (MILL + shared graph scaffolding) is next.ลูกค้าอนุมัติแล้ว การนำเข้าแบ่งรายระยะตามข้อ 7 — แต่ละระยะเข้า graph ก่อน ขยับ version ของ spec (0.5.0…0.9.0) และปิดด้วยการตรวจสวมบทบาทสองรอบ (Q4) รอบนี้ยังไม่แก้ graph; ระยะถัดไปคือ Q1 (MILL + โครง graph ที่ใช้ร่วม) |
| 0.2 | 2026-07-13 | Client review: all five open questions resolved — Q1 (graph-first), Q2 (every string per phase scope), Q3 (top-5 prototypes per capacity), Q4 (two-pass review: fresh-session agent then client), Q5 (checklist back-audit per phase).ผลตรวจโดยลูกค้า: คำถามเปิดทั้งห้ายุติแล้ว — Q1 (graph ก่อน), Q2 (ทุก string ตามขอบเขตระยะ), Q3 (prototype 5 จอหลักต่อ capacity), Q4 (ตรวจสองรอบ: agent ใน session ใหม่ แล้วลูกค้าชี้ขาด), Q5 (ตรวจย้อนแบบ checklist ต่อระยะ) |
| 0.1 | 2026-07-13 | Initial draft — follows PROP-018 P3, which flagged the PRD/PWF/UIX authoring gap.ร่างแรก — ต่อจาก PROP-018 P3 ซึ่งชี้ช่องว่างการเขียน PRD/PWF/UIX |