PROP-028 Rev 0.12 · 19 Jul 2026

Cane Agency · Change Proposal (APPLIED — record)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง (ปรับใช้แล้ว — บันทึก)

On-site application gateway (application gateway ในโรงงาน) — local station apps on the factory LAN, one customer-side hub: standalone when the internet is down, synced to the platform when it returnsapplication gateway ในโรงงาน — แอปสถานีท้องถิ่นบน LAN ของโรงงาน ศูนย์กลางฝั่งลูกค้าหนึ่งเดียว: ทำงาน standalone เมื่ออินเทอร์เน็ตล่ม และ sync ขึ้น platform เมื่อกลับมา

Documentเอกสาร
PROP-028
Statusสถานะ
APPLIED — spec v0.13.0ปรับใช้แล้ว — spec v0.13.0
Originที่มา
Spun out of the PROP-019 Q1 gate round-2 Q-35 verdict A-35 (15 Jul 2026): a factory is on one of two postures — its own station system (the platform mirrors, A-06/A-07) or the paid on-site stack; LAN-local operation is delivered by an on-site application gateway — the customer-side central database and knowledge-graph node — with local station applications as its clients, standalone offline and syncing to the platform on reconnection.แยกออกมาจากคำวินิจฉัย A-35 (ข้อ Q-35) ของรอบที่ 2 ของ PROP-019 Q1 gate (15 ก.ค. 2569): โรงงานอยู่ในหนึ่งในสองท่า — ระบบสถานีของตนเอง (platform สะท้อน, A-06/A-07) หรือชุดติดตั้งในโรงงานแบบจ่ายเพิ่ม; การทำงาน LAN-local ส่งมอบโดย application gateway ในโรงงาน — ฐานข้อมูลกลางและโหนด knowledge graph ฝั่งลูกค้า — โดยแอปสถานีท้องถิ่นเป็น client ของมัน ทำงาน standalone ตอน offline และ sync ขึ้น platform เมื่อเชื่อมต่อกลับ
Kindประเภท
New deployment & architecture domain + commercial packaging — the on-site runtime tier: gateway node, station-app topology, sync protocol, operations model, and the business case against in-house and third-party mill systems.โดเมนการติดตั้งและสถาปัตยกรรมใหม่ + การจัดแพ็กเกจเชิงพาณิชย์ — ชั้น runtime ในโรงงาน: โหนด gateway ผังแอปสถานี โปรโตคอล sync โมเดลการดูแล และกรณีธุรกิจเทียบระบบ in-house และของเจ้าอื่น
Depends onขึ้นกับ
A-35 (two postures; gateway = local allocator) · A-06/A-07 (mirror posture, unchanged) · NFR-03 (re-read as on-site-tier capability) · PROP-021 (station suite S1–S6 — re-platforms onto the gateway) · PROP-020 (queue mechanics) · PROP-016 (feature framework / paid packaging) · A-50 (mill-settings config home) · PROP-027 OQ-4 (offline-first pump surface, a natural gateway client).A-35 (สองท่า; gateway = ผู้จ่ายเลขท้องถิ่น) · A-06/A-07 (ท่าสะท้อน คงเดิม) · NFR-03 (อ่านใหม่เป็นความสามารถชั้นติดตั้งในโรงงาน) · PROP-021 (ชุดสถานี S1–S6 — ย้ายมาบนฐาน gateway) · PROP-020 (กลไกคิว) · PROP-016 (กรอบฟีเจอร์/แพ็กเกจจ่ายเพิ่ม) · A-50 (บ้าน config mill-settings) · OQ-4 ของ PROP-027 (surface ปั๊ม offline-first — client ธรรมชาติของ gateway)
Affectsกระทบ
Graph: +on-site deployment context (GatewayNode, StationClient, SyncCheckpoint entities + sync/registration events); NFR-03 rewritten; new NFRs (sync integrity, gateway security, recovery targets). Docs: SPEC-APP (topology), SPEC-PRD/PWF/UIX-MILL (station surfaces re-homed), PROP-021 alignment.graph: +context การติดตั้งในโรงงาน (entity GatewayNode, StationClient, SyncCheckpoint + event การ sync/ลงทะเบียน); เขียน NFR-03 ใหม่; NFR ใหม่ (ความถูกต้องของ sync ความปลอดภัย gateway เป้าหมายการกู้คืน) เอกสาร: SPEC-APP (ผังระบบ), SPEC-PRD/PWF/UIX-MILL (ย้ายบ้าน surface สถานี), การจัดแนวกับ PROP-021
Version bumpการขยับเวอร์ชัน
MINOR — additive: the free cloud path keeps working unchanged (online-only, clarified); mirror-posture factories untouched. IDs renumber on acceptance if intervening proposals land first.MINOR — ส่วนเพิ่ม: เส้นทาง cloud ฟรีทำงานเหมือนเดิม (online เท่านั้น — ระบุชัดขึ้น); โรงงานท่าสะท้อนไม่กระทบ เลขขยับตอนรับหากมีข้อเสนอแทรกก่อน
Updatedปรับปรุงล่าสุด
19 Jul 2026

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

The pointใจความ At 2 a.m. mid-season the fibre line dies — and nothing at the factory notices. The booth keeps issuing queue numbers, both bridges keep weighing in and out, the tipper keeps dumping onto the crushing line, every delivery keeps getting its sequential ID — because none of those stations ever depended on the internet. They talk to the application gateway: one server on the factory LAN holding the customer-side central database and the factory's slice of the platform knowledge graph. When the line returns, the gateway syncs the night's events up to the platform, and the web portal's dashboards, statements, and payment pipeline catch up in minutes. That resilience is exactly what mills built in-house systems to get — this proposal packages it as our paid on-site tier, with everything an in-house system can never reach layered on top. ตี 2 กลางฤดูหีบ สายไฟเบอร์ล่ม — และไม่มีอะไรในโรงงานรู้สึก จุดแจ้งคิวยังออกเลขคิว เครื่องชั่งทั้งสองยังชั่งเข้า–ออก ทิปเปอร์ยังเทอ้อยลงสายหีบ ทุกการส่งมอบยังได้เลขเรียงลำดับ — เพราะไม่มีสถานีใดพึ่งอินเทอร์เน็ตเลย ทุกตัวคุยกับ application gateway: เซิร์ฟเวอร์หนึ่งเครื่องบน LAN ของโรงงาน ถือฐานข้อมูลกลางฝั่งลูกค้าและ knowledge graph ส่วนของโรงงานนั้น เมื่อสายกลับมา gateway จะ sync เหตุการณ์ทั้งคืนขึ้น platform แล้ว dashboard, statement และ pipeline การจ่ายบน portal ตามทันภายในไม่กี่นาที ความทนทานแบบนี้คือเหตุผลที่โรงงานสร้างระบบ in-house — ข้อเสนอนี้จัดมันเป็นชั้นติดตั้งในโรงงานแบบจ่ายเพิ่มของเรา พร้อมทุกสิ่งที่ระบบ in-house ไปไม่ถึงซ้อนอยู่ด้านบน

2. What A-35 already decided — binding input, not reopened here2. สิ่งที่ A-35 ตัดสินแล้ว — ข้อมูลผูกพัน ไม่เปิดใหม่ที่นี่

3. Principles3. หลักการ

G1 · LAN-normal, not LAN-fallbackG1 · LAN คือปกติ ไม่ใช่แผนสำรอง Stations talk to the gateway during normal operation — offline is not a degraded mode the factory enters, it is the absence of one background job (the upstream sync). Nothing about intake changes when the internet drops; only the portal's live view goes stale, and a sync-freshness badge says by how much. สถานีคุยกับ gateway ในการทำงานปกติ — offline ไม่ใช่โหมดเสื่อมที่โรงงานต้องเข้า แต่คือการหายไปของงานเบื้องหลังหนึ่งงาน (การ sync ขึ้น) การรับอ้อยไม่เปลี่ยนอะไรเมื่ออินเทอร์เน็ตหลุด; มีเพียงมุมมองสดบน portal ที่เก่าลง และ badge ความสดของ sync บอกว่าเก่าแค่ไหน
G2 · One allocator per factoryG2 · ผู้จ่ายเลขหนึ่งเดียวต่อโรงงาน Every local number space — delivery ID, queue number, coin — is dispensed by the gateway alone, online or offline alike; for gateway factories the cloud never dispenses. Collisions are prevented by construction, not resolved by protocol. ทุกปริภูมิเลขท้องถิ่น — เลขส่งมอบ เลขคิว เหรียญ — จ่ายโดย gateway เท่านั้น ทั้ง online และ offline; สำหรับโรงงานที่ใช้ gateway cloud ไม่จ่ายเลขเลย การชนกันถูกกันด้วยโครงสร้าง ไม่ใช่แก้ด้วยโปรโตคอล
G3 · Split authority makes sync boringG3 · แบ่งอำนาจให้ sync น่าเบื่อ The gateway is authoritative for intake facts (arrivals, weights, classifications, dumps); the platform is authoritative for master data and config (quotas, prices, policies, mill-settings). Each side pushes only what it owns — a conflict would require both sides writing the same record, which the ownership split forbids. gateway มีอำนาจเหนือข้อเท็จจริงการรับอ้อย (การมาถึง น้ำหนัก การจำแนก การเท); platform มีอำนาจเหนือข้อมูลหลักและ config (โควตา ราคา นโยบาย mill-settings) แต่ละฝั่ง push เฉพาะที่ตนเป็นเจ้าของ — การชนกันต้องให้ทั้งสองฝั่งเขียนระเบียนเดียวกัน ซึ่งการแบ่งความเป็นเจ้าของห้ามไว้
G4 · The factory's slice, nothing elseG4 · เฉพาะส่วนของโรงงาน ไม่มีอย่างอื่น The gateway replica carries only that factory's slice of the graph — its quotas, trucks, policies, open season state. Nothing cross-tenant lands on-site; platform-wide intelligence (PROP-025 master truck record, PROP-022 analytics) and other factories' data stay cloud-side, and the NFR-21 redaction rules apply to what replicates down. replica บน gateway ถือเฉพาะส่วนของโรงงานนั้นใน graph — โควตา รถ นโยบาย สถานะฤดูกาลที่เปิด ไม่มีข้อมูลข้าม tenant ลงมาในโรงงาน; ข่าวกรองระดับ platform (ระเบียนรถหลัก PROP-025, analytics PROP-022) และข้อมูลโรงงานอื่นอยู่ฝั่ง cloud และกติกา redaction ของ NFR-21 ใช้กับสิ่งที่ replicate ลงมา
G5 · Better than in-house, provablyG5 · ดีกว่า in-house อย่างพิสูจน์ได้ The pitch is not "software on a server" — mills already have that. It is the synced whole: the local resilience they trust, plus the layer no in-house system reaches — farmer app and statements, payment pipeline, OCSB flows, booking and reliability, fuel credit, analytics — maintained and updated by us, not by one retiring programmer. จุดขายไม่ใช่ "software บนเซิร์ฟเวอร์" — โรงงานมีอยู่แล้ว แต่คือองค์รวมที่ sync กัน: ความทนทานท้องถิ่นที่เขาไว้ใจ บวกชั้นที่ระบบ in-house ไปไม่ถึง — แอปชาวไร่และ statement, pipeline การจ่าย, งาน สอน., การจองและความน่าเชื่อถือ, เครดิตน้ำมัน, analytics — ดูแลและอัปเดตโดยเรา ไม่ใช่โปรแกรมเมอร์คนเดียวที่ใกล้เกษียณ

4. The on-site topology4. ผังระบบในโรงงาน

Componentองค์ประกอบRuns onทำงานบนDutyหน้าที่
GW · application gatewayfactory server, LANเซิร์ฟเวอร์โรงงาน, LANCustomer-side central DB + knowledge-graph replica (factory slice); allocates all local sequences; append-only event log; sync engine to the platform; station registry & auth; local time authority.ฐานข้อมูลกลาง + replica ของ knowledge graph ฝั่งลูกค้า (ส่วนของโรงงาน); จ่ายเลขท้องถิ่นทั้งหมด; event log แบบ append-only; เครื่องยนต์ sync ขึ้น platform; ทะเบียนและ auth ของสถานี; ผู้ถือเวลาท้องถิ่น
ST-QUEUE · queue boothจุดแจ้งคิวbooth kioskคีออสก์บูธIssues queue tickets/numbers against the gateway; PROP-020 walk-in/booking mechanics; second-level tolerance check (A-30).ออกบัตร/เลขคิวกับ gateway; กลไก walk-in/จองของ PROP-020; ตรวจค่าเผื่อระดับสองที่บูธ (A-30)
ST-WB · weigh in / outชั่งเข้า/ออกweighbridge PCs (several bridges)PC ห้องชั่ง (หลายแท่น)Reads the scale, writes WeighTicket via the gateway; the delivery ID arrives from GW; issues the delivery note at exit (A-40); first-level tolerance check (A-30).อ่านเครื่องชั่ง เขียน WeighTicket ผ่าน gateway; เลขส่งมอบมาจาก GW; ออกใบส่งอ้อยที่ชั่งขาออก (A-40); ตรวจค่าเผื่อระดับแรก (A-30)
ST-TIP · tipper / crushing lineทิปเปอร์/สายหีบtipper consoleคอนโซลทิปเปอร์Dump confirmation onto the crushing line, line/slot assignment, re-classification before pricing (A-05 stage 3 / A-34 addendum).ยืนยันการเทลงสายหีบ กำหนดสาย/ช่อง และจำแนกใหม่ก่อนคิดราคา (A-05 ขั้น 3 / เพิ่มเติม A-34)
optional stationsสถานีเสริมlab / pump kiosksแล็บ/คีออสก์ปั๊มST-LAB (CCS capture, PROP-021) and ST-FUEL (pump surface, PROP-027 OQ-4 — decided offline-first) are the same kind of gateway client; the topology absorbs new duties by adding stations, not rails.ST-LAB (เก็บค่า CCS, PROP-021) และ ST-FUEL (surface ปั๊ม, OQ-4 ของ PROP-027 — ตัดสินแล้วว่า offline-first) เป็น client ของ gateway แบบเดียวกัน; ผังระบบรับหน้าที่ใหม่ด้วยการเพิ่มสถานี ไม่ใช่เพิ่มราง
factory web portalportal โรงงานบนเว็บcloudThe enhanced layer: dashboards, payments & statements, mill-settings (A-50), analytics — reads synced data; config flows down to GW on sync.ชั้นประโยชน์เสริม: dashboard, การจ่ายและ statement, mill-settings (A-50), analytics — อ่านข้อมูลที่ sync แล้ว; config ไหลลง GW ตอน sync

5. Allocation & offline operation — the Q-35 mechanics5. การจ่ายเลขและการทำงาน offline — กลไกของ Q-35

6. The business case — why ours beats theirs6. กรณีธุรกิจ — ทำไมของเราชนะของเขา

7. Open questions7. คำถามเปิด

OQ-1 Deployment form factor & operations — whose hardware, who keeps it alive?รูปแบบการติดตั้งและการดูแล — ฮาร์ดแวร์ของใคร ใครดูแล?

A platform-supplied appliance, a VM image on factory hardware meeting a spec, or both? Who patches, monitors, backs up, and replaces failed disks — and what remote-management channel exists when the factory's internet is the thing that is down?

appliance ที่ platform จัดให้ image VM บนฮาร์ดแวร์โรงงานตามสเปก หรือทั้งสอง? ใคร patch เฝ้าระวัง สำรอง และเปลี่ยนดิสก์เสีย — และช่องทางจัดการระยะไกลคืออะไรเมื่อสิ่งที่ล่มคืออินเทอร์เน็ตของโรงงานเอง?

Recommendation:ข้อเสนอแนะ: platform-managed appliance as the default (fleet-managed, out-of-band cellular management link), VM option for factories with real IT; the ops SLA is part of the paid service, not the factory's burden.appliance ที่ platform ดูแลเป็นค่าเริ่มต้น (จัดการแบบ fleet มีช่องทางจัดการสำรองผ่าน cellular) ตัวเลือก VM สำหรับโรงงานที่มีทีม IT จริง; SLA การดูแลเป็นส่วนของบริการจ่ายเพิ่ม ไม่ใช่ภาระโรงงาน

Cross-ref (17 Jul 2026):อ้างโยง (17 ก.ค. 2569): PROP-031 OQ-3 (decided) set the ownership precedent for on-site platform hardware — leased or bundled, never sold; ownership and the ops duty stay with the platform. The appliance recommendation inherits it.PROP-031 OQ-3 (ตัดสินแล้ว) วางแบบอย่างกรรมสิทธิ์ฮาร์ดแวร์ในโรงงาน — เช่าหรือ bundle ไม่ขายขาด; กรรมสิทธิ์และหน้าที่ดูแลอยู่กับ platform ข้อเสนอ appliance สืบทอดแบบอย่างนี้

Premise refreshed (17 Jul 2026, OQ pass 2):ปรับข้อตั้ง (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-021 OQ-1 (decided, client 17 Jul) has the LAN gateway shipping as an INSTALLABLE IMAGE under the software-first posture — the recommendation’s “platform-managed appliance as the default” is overtaken. The question narrows to the ops/remote-management model for factory-hosted images (spec floor, patching, monitoring, backup) and whether a managed appliance remains an offered option at all (if so, it lives in PROP-035’s H-2 kit family).OQ-1 ของ PROP-021 (ลูกค้าตัดสิน 17 ก.ค.) ให้ gateway บน LAN ส่งมอบเป็น image ติดตั้งได้ตามแนว software-first — ข้อแนะนำ “appliance ที่ platform ดูแลเป็นค่าเริ่มต้น” ถูกแซงแล้ว คำถามแคบลงเป็นโมเดลปฏิบัติการ/การจัดการระยะไกลของ image บนเครื่องโรงงาน (สเปกขั้นต่ำ, patch, เฝ้าดู, สำรอง) และว่ายังมีทางเลือก appliance ที่ platform ดูแลอยู่หรือไม่ (ถ้ามี อยู่ในตระกูลชุด H-2 ของ PROP-035)

Decided (client, 19 Jul 2026):ตัดสินแล้ว (ลูกค้า 19 ก.ค. 2569): Managed appliance — the platform controls everything down to the hardware. The gateway ships as a platform-supplied, platform-owned appliance: our hardware, our OS image, our keys; fleet-managed (patching, monitoring, backup, disk replacement) with an out-of-band management channel. The installable-image posture from PROP-021 OQ-1 is superseded for the gateway node (its verdict deferred the gateway form factor here; software-first + HCL stands unchanged for station terminals). Ownership follows the PROP-031 OQ-3 precedent — leased or bundled, never sold — and the appliance joins PROP-035's H-2 kit family as the gateway core kit. No VM/factory-hosted option. Motivation: the sealed-datastore posture (EXH-028-A F-6 — encrypted at rest, platform-held keys, no factory read/write access to the database) is only airtight when no third party holds root on the host. Residuals: appliance hardware spec + sourcing → PROP-035 OQ-1; pricing → OQ-6.appliance ที่ platform ดูแล — platform ควบคุมทุกอย่างลงถึงระดับฮาร์ดแวร์ gateway ส่งมอบเป็น appliance ที่ platform จัดหาและเป็นเจ้าของ: ฮาร์ดแวร์ของเรา image OS ของเรา กุญแจของเรา; ดูแลแบบ fleet (patch เฝ้าดู สำรอง เปลี่ยนดิสก์) พร้อมช่องทางจัดการนอกสาย (out-of-band) ท่า image ติดตั้งได้จาก OQ-1 ของ PROP-021 ถูกแทนที่สำหรับโหนด gateway (คำวินิจฉัยนั้นมอบคำถามรูปแบบ gateway มาที่นี่; software-first + HCL คงเดิมสำหรับเครื่องสถานี) กรรมสิทธิ์ตามแบบอย่าง PROP-031 OQ-3 — เช่าหรือ bundle ไม่ขายขาด — และ appliance เข้าตระกูลชุด H-2 ของ PROP-035 เป็นชุด gateway core ไม่มีทางเลือก VM/เครื่องโรงงาน เหตุผล: ท่าฐานข้อมูลผนึก (F-6 ของ EXH-028-A — เข้ารหัสขณะจัดเก็บ กุญแจอยู่กับ platform โรงงานอ่าน/เขียนฐานข้อมูลโดยตรงไม่ได้) จะแน่นหนาก็ต่อเมื่อไม่มีบุคคลที่สามถือ root บนเครื่อง ค้าง: สเปกฮาร์ดแวร์ + การจัดหา → PROP-035 OQ-1; ราคา → OQ-6

OQ-2 Local graph scope — exactly which slice replicates down?ขอบเขต graph ท้องถิ่น — ส่วนไหน replicate ลงมาบ้าง?

Quotas, trucks, policies, price announcements, mill-settings, open-season operational state are the obvious floor. Does farmer PII beyond the quota chain replicate (PDPA exposure on-site), and do closed seasons purge from the gateway?

โควตา รถ นโยบาย ประกาศราคา mill-settings และสถานะฤดูกาลที่เปิดคือพื้นชัดเจน ข้อมูลส่วนบุคคลชาวไร่เกินสายโควตา replicate ไหม (ความเสี่ยง PDPA ในโรงงาน) และฤดูกาลที่ปิดถูกล้างจาก gateway ไหม?

Recommendation:ข้อเสนอแนะ: minimum needed to run intake and print artifacts: quota chain identity yes, bank/financing detail no; closed seasons purge after a retention window; NFR-21 strategic layer replicates only per its permission rules.ขั้นต่ำที่พอดำเนินการรับอ้อยและพิมพ์เอกสาร: ตัวตนสายโควตาใช่ รายละเอียดธนาคาร/สินเชื่อไม่; ฤดูกาลปิดถูกล้างหลังช่วงเก็บรักษา; ชั้นกลยุทธ์ NFR-21 replicate ตามกติกาสิทธิ์เท่านั้น

Cross-reference (17 Jul 2026, OQ pass 2):อ้างโยง (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-021 OQ-7 (decided, client) supplies decided inputs: station journals are ordinary personal-data class, encrypted at rest on stations + gateway, role-gated logged access, post-sync purge window — the local-slice PDPA answer must build on those.OQ-7 ของ PROP-021 (ลูกค้าตัดสิน) ให้ข้อมูลตั้งต้นที่ตัดสินแล้ว: journal ของสถานีเป็นข้อมูลส่วนบุคคลชั้นสามัญ เข้ารหัสขณะจัดเก็บทั้งบนสถานีและ gateway เข้าถึงตามบทบาทพร้อมบันทึก และมีช่วงล้างข้อมูลหลัง sync — คำตอบ PDPA ของ slice ท้องถิ่นต้องต่อยอดจากนี้

Decided (client, 19 Jul 2026):ตัดสินแล้ว (ลูกค้า 19 ก.ค. 2569): Cache, not archive — the gateway holds the workable season slice, and nothing PDPA-sensitive is left on it. The local graph is a working cache: in the first season the gateway is only required to cache (upstream intake facts held until sync confirms receipt, downstream masters as versioned snapshots); once all data is synced to the cloud, only the workable operating set for normal season operation stays resident — the floor slice (quotas, trucks, policies, price announcements, mill-settings, open-season state) plus quota-chain identity at the minimum needed to run intake and print artifacts. Anything with PDPA exposure must not be left on the gateway: bank/financing detail and farmer PII beyond the quota chain never replicate down, and synced facts and closed seasons purge per the PROP-021 OQ-7 post-sync purge window. The recommendation stands confirmed; exact retention-window lengths and the per-entity slice list go to the architecture spec at application. Rests on the sealed datastore (EXH-028-A F-6) — encrypted at rest regardless, but the strongest PDPA control is data that simply is not there.cache ไม่ใช่คลังถาวร — gateway ถือเฉพาะ slice ฤดูกาลที่ใช้งานได้ และไม่ทิ้งข้อมูลอ่อนไหว PDPA ไว้บนมัน graph ท้องถิ่นเป็น cache ทำงาน: ฤดูกาลแรก gateway ต้องการเพียงการ cache (ข้อเท็จจริงการรับอ้อยขาขึ้นถือไว้จน sync ยืนยันรับ ข้อมูลหลักขาลงเป็น snapshot มีเวอร์ชัน); เมื่อข้อมูลทั้งหมด sync ขึ้น cloud แล้ว คงเหลือเฉพาะชุดข้อมูลใช้งานสำหรับการดำเนินงานฤดูกาลปกติ — slice พื้น (โควตา รถ นโยบาย ประกาศราคา mill-settings สถานะฤดูกาลที่เปิด) บวกตัวตนสายโควตาขั้นต่ำที่พอดำเนินการรับอ้อยและพิมพ์เอกสาร สิ่งใดมีความเสี่ยง PDPA ห้ามทิ้งไว้บน gateway: รายละเอียดธนาคาร/สินเชื่อและข้อมูลส่วนบุคคลชาวไร่เกินสายโควตาไม่ replicate ลงมา และข้อเท็จจริงที่ sync แล้วกับฤดูกาลที่ปิดถูกล้างตามช่วงล้างหลัง sync ของ PROP-021 OQ-7 ข้อเสนอแนะได้รับการยืนยัน; ความยาวช่วงเก็บรักษาและรายการ slice รายเอนทิตีไปที่ spec สถาปัตยกรรมตอน apply ตั้งอยู่บนฐานข้อมูลผนึก (F-6 ของ EXH-028-A) — เข้ารหัสขณะจัดเก็บอยู่แล้ว แต่การควบคุม PDPA ที่แข็งแรงที่สุดคือข้อมูลที่ไม่อยู่ที่นั่นเลย

OQ-3 Sync edge cases — config landing mid-offline-day, cloud-side corrections.กรณีขอบของ sync — config มาถึงกลางวัน offline, การแก้ฝั่ง cloud

G3's ownership split kills write-write conflicts, but edges remain: a mill-settings change made in the portal while the factory is offline (which tolerance applied to the 14:00 truck?), and a delivery disputed or voided cloud-side after its facts synced.

การแบ่งอำนาจของ G3 ฆ่าการชนแบบเขียน-เขียน แต่ขอบยังอยู่: การแก้ mill-settings บน portal ระหว่างโรงงาน offline (รถ 14:00 ใช้ค่าเผื่อไหน?) และการส่งมอบที่ถูกคัดค้านหรือ void ฝั่ง cloud หลังข้อเท็จจริง sync แล้ว

Recommendation:ข้อเสนอแนะ: config is effective-from-sync (the gateway applies the version it holds; the portal shows "pending at factory" until acknowledged); cloud-side corrections never edit facts — they append new events that flow down the same stream, and the dispute path stays the only post-issuance correction.config มีผลตั้งแต่ sync (gateway ใช้เวอร์ชันที่ถืออยู่; portal แสดง "รอถึงโรงงาน" จนได้รับการยืนยัน); การแก้ฝั่ง cloud ไม่แก้ข้อเท็จจริง — เพิ่ม event ใหม่ไหลลงสายเดิม และเส้นทางข้อพิพาทคงเป็นการแก้เดียวหลังออกเอกสาร

Decided (client, 19 Jul 2026):ตัดสินแล้ว (ลูกค้า 19 ก.ค. 2569): Both halves adopted — effective-from-acknowledgement, and corrections only ever append. (1) Config: a portal-side change takes effect at a factory only from the moment its gateway has received and acknowledged the new version — never backwards, even though the edit (or the rule behind it) was made earlier in cloud time. Everything processed before acknowledgement stands under the version the gateway held; the portal shows the change as "pending at factory" until the acknowledgement arrives, so which rule was in force at any moment is never ambiguous. (2) Corrections: the cloud never edits synced facts — a void or dispute is a new event appended to the same downstream stream, applied on top of the untouched original; the dispute path remains the only post-issuance correction. Underlying principle: nothing is ever retroactively rewritten — config takes effect on acknowledgement, corrections arrive as new events.รับทั้งสองส่วน — มีผลตั้งแต่การยืนยันรับ และการแก้ไขทำได้เพียงการเพิ่ม event เท่านั้น (1) config: การแก้ฝั่ง portal มีผลที่โรงงานตั้งแต่เวลาที่ gateway ของโรงงานได้รับและยืนยันรับเวอร์ชันใหม่เท่านั้น — ไม่ย้อนหลัง แม้การแก้ (หรือกติกาเบื้องหลัง) เกิดขึ้นก่อนหน้านั้นในเวลาฝั่ง cloud ทุกอย่างที่ดำเนินก่อนการยืนยันรับคงอยู่ภายใต้เวอร์ชันที่ gateway ถืออยู่; portal แสดง "รอถึงโรงงาน" จนการยืนยันรับมาถึง กติกาที่ใช้อยู่ ณ ขณะใด ๆ จึงไม่กำกวม (2) การแก้ไข: cloud ไม่แก้ข้อเท็จจริงที่ sync แล้ว — การ void หรือข้อพิพาทเป็น event ใหม่ที่เพิ่มลงสายขาลงเดิม ใช้ซ้อนบนข้อเท็จจริงเดิมที่ไม่ถูกแตะ; เส้นทางข้อพิพาทคงเป็นการแก้เดียวหลังออกเอกสาร หลักที่อยู่เบื้องหลัง: ไม่มีสิ่งใดถูกเขียนย้อนหลัง — config มีผลเมื่อยืนยันรับ การแก้ไขมาเป็น event ใหม่

OQ-4 Gateway availability — the new single point of failure on the LAN.ความพร้อมใช้ของ gateway — จุดล้มเหลวเดียวตัวใหม่บน LAN

If the gateway itself dies mid-shift, do stations hold a short store-and-forward buffer, or does intake hard-stop like the Q-37 scale-down posture? Is an HA pair offered for large mills, and what recovery-time target do we commit to?

ถ้า gateway ล่มกลางกะ สถานีถือ buffer แบบเก็บ-แล้ว-ส่งสั้น ๆ หรือการรับอ้อยหยุดแข็งแบบท่าเครื่องชั่งล่มของ Q-37? มี HA คู่ให้โรงงานใหญ่ไหม และเราผูกพันเป้าเวลากู้คืนเท่าไร?

Recommendation:ข้อเสนอแนะ: hard-stop for allocation (G2 must not fork — no station-side dispensing), stations keep read-only context to dispose trucks gracefully; optional HA pair as a premium line item; RTO target set with the appliance decision (OQ-1).หยุดแข็งสำหรับการจ่ายเลข (G2 ห้ามแตกแขนง — สถานีห้ามจ่ายเอง) สถานีคง context อ่านอย่างเดียวเพื่อจัดการรถอย่างนุ่มนวล; HA คู่เป็นรายการ premium; เป้า RTO กำหนดพร้อมการตัดสิน appliance (OQ-1)

Consistency flag (17 Jul 2026):ธงความสอดคล้อง (17 ก.ค. 2569): PROP-031 OQ-5 (decided) gives the ST-WB MAUI app a built-in offline queue in standalone mode and offline-pre-gateway sync-up in factory mode — reconcile with the hard-stop recommended here: readings may buffer, but number allocation must never fork (G2). The verdict should state, per station type, what buffers and what hard-stops when the GATEWAY (not the internet) is down.PROP-031 OQ-5 (ตัดสินแล้ว) ให้แอป ST-WB MAUI มีคิว offline ในตัวโหมด standalone และ sync-up แบบ offline ก่อนถึง gateway ในโหมดโรงงาน — ต้องปรับให้เข้ากับข้อเสนอหยุดแข็งที่นี่: ค่าชั่ง buffer ได้ แต่การจ่ายเลขห้ามแตกแขนง (G2) คำวินิจฉัยควรระบุรายประเภทสถานีว่าอะไร buffer อะไรหยุดแข็ง เมื่อ GATEWAY ล่ม (ไม่ใช่อินเทอร์เน็ต)

Study (19 Jul 2026):การศึกษา (19 ก.ค. 2569): EXH-028-A answers the now-or-later half of this question: HA-ready, not HA-now — six near-free foundations go into the initial spec (F-1 stable LAN service identity, F-2 single-writer WAL store with in-transaction allocation, F-3 allocator epoch as the structural anti-split-brain guard, F-4 deterministic recovery with stated RPO/RTO, F-5 heartbeat + per-station-type gateway-down posture, F-6 sealed datastore — encrypted at rest, platform-held keys, gateway-only DB access), while the HA pair itself defers safely as tier A-2 of an availability ladder A-0…A-3 (warm standby, operator-attended two-act promotion — no fencing hardware), priced in OQ-6. The hard-stop recommendation is validated: readings buffer, numbers never fork; automatic failover (A-3) stays out of scope until a mill demands it.EXH-028-A ตอบครึ่งคำถาม "ตอนนี้หรือทีหลัง": HA-ready ไม่ใช่ HA-now — ฐานรากเกือบฟรีหกข้อเข้าสเปกฉบับแรก (F-1 ตัวตนบริการคงที่บน LAN, F-2 ฐานข้อมูลผู้เขียนเดียวแบบ WAL จ่ายเลขในทรานแซกชัน, F-3 allocator epoch ตัวกัน split-brain เชิงโครงสร้าง, F-4 การกู้คืนกำหนดได้พร้อม RPO/RTO ระบุชัด, F-5 heartbeat + ท่าเมื่อ gateway ล่มรายประเภทสถานี, F-6 ฐานข้อมูลผนึก — เข้ารหัสขณะจัดเก็บ กุญแจอยู่กับ platform เข้าถึงฐานข้อมูลได้เฉพาะ gateway) ส่วน HA pair เลื่อนได้ปลอดภัยเป็นชั้น A-2 ของบันไดความพร้อมใช้ A-0…A-3 (warm standby เลื่อนขั้นแบบ two-act มีคนกด — ไม่ต้องใช้ฮาร์ดแวร์ fencing) ตั้งราคาใน OQ-6 ข้อเสนอหยุดแข็งได้รับการยืนยัน: ค่าชั่ง buffer เลขไม่มีวันแตกแขนง; failover อัตโนมัติ (A-3) อยู่นอกขอบเขตจนกว่าโรงงานต้องการ

Decided (client, 19 Jul 2026):ตัดสินแล้ว (ลูกค้า 19 ก.ค. 2569): The EXH-028-A path is adopted: HA-ready, not HA-now. The initial gateway spec ships all six foundations F-1…F-6 (stable LAN service identity; single-writer WAL store with in-transaction allocation; allocator epoch; deterministic recovery with stated RPO/RTO; heartbeat + per-station-type gateway-down posture; sealed datastore) — on the OQ-1 managed appliance these are platform build choices, no factory dependency. Gateway-down behavior per the validated hard-stop line: number allocation hard-stops (G2 never forks — no station-side dispensing), stations buffer readings and keep read-only context to dispose trucks gracefully, per-station-type postures via F-5 — reconciling the PROP-031 OQ-5 flag: the ST-WB offline queue buffers readings, never allocates. The HA pair lands as tier A-2 of the availability ladder A-0…A-3 — a warm-standby second appliance with operator-attended two-act promotion, offered as a premium option for large mills, priced in OQ-6; automatic failover (A-3) stays out of scope until a mill demands it. Concrete RPO/RTO numbers are set with the appliance hardware spec (PROP-035 OQ-1) and stated in the ops SLA.รับเส้นทางของ EXH-028-A: HA-ready ไม่ใช่ HA-now สเปก gateway ฉบับแรกส่งมอบฐานรากครบหกข้อ F-1…F-6 (ตัวตนบริการคงที่บน LAN; ฐานข้อมูลผู้เขียนเดียวแบบ WAL จ่ายเลขในทรานแซกชัน; allocator epoch; การกู้คืนกำหนดได้พร้อม RPO/RTO ระบุชัด; heartbeat + ท่าเมื่อ gateway ล่มรายประเภทสถานี; ฐานข้อมูลผนึก) — บน appliance ที่ platform ดูแลตาม OQ-1 ทั้งหมดเป็นทางเลือกการสร้างของ platform เอง ไม่พึ่งโรงงาน พฤติกรรมเมื่อ gateway ล่มตามแนวหยุดแข็งที่ยืนยันแล้ว: การจ่ายเลขหยุดแข็ง (G2 ไม่มีวันแตกแขนง — สถานีห้ามจ่ายเอง) สถานี buffer ค่าชั่งและคง context อ่านอย่างเดียวเพื่อจัดการรถอย่างนุ่มนวล ท่ารายประเภทสถานีผ่าน F-5 — ปรับธง PROP-031 OQ-5 ให้สอดคล้อง: คิว offline ของ ST-WB buffer ค่าชั่ง ไม่จ่ายเลข ส่วน HA pair ลงเป็นชั้น A-2 ของบันไดความพร้อมใช้ A-0…A-3 — appliance ตัวที่สองแบบ warm standby เลื่อนขั้นแบบ two-act มีคนกด เสนอเป็นตัวเลือก premium สำหรับโรงงานใหญ่ ตั้งราคาใน OQ-6; failover อัตโนมัติ (A-3) อยู่นอกขอบเขตจนกว่าโรงงานต้องการ ตัวเลข RPO/RTO จริงกำหนดพร้อมสเปกฮาร์ดแวร์ appliance (PROP-035 OQ-1) และระบุใน SLA การดูแล

OQ-5 Station identity & offline auth on the LAN.ตัวตนสถานีและ auth แบบ offline บน LAN

How do stations register with the gateway, and how do operators log in when the platform's identity service is unreachable — cached credentials, expiry, revocation, and the audit identity on offline-recorded events?

สถานีลงทะเบียนกับ gateway อย่างไร และ operator เข้าระบบอย่างไรเมื่อบริการตัวตนของ platform ติดต่อไม่ได้ — credential แบบ cache วันหมดอายุ การเพิกถอน และตัวตน audit บน event ที่บันทึกตอน offline?

Recommendation:ข้อเสนอแนะ: gateway-issued station certificates + platform-signed user credentials cached with a bounded offline validity; every offline event carries the station cert + user identity so the upstream audit chain is seamless.ใบรับรองสถานีที่ gateway ออก + credential ผู้ใช้ที่ platform ลงนาม cache พร้อมอายุ offline จำกัด; ทุก event ตอน offline ถือใบรับรองสถานี + ตัวตนผู้ใช้ ให้สาย audit ขึ้นบนไร้รอยต่อ

Cross-reference (17 Jul 2026, OQ pass 2):อ้างโยง (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-021 OQ-7’s lockdown/tamper posture (vendor-controlled login, locked-down deployment, encryption doubling as on-prem tamper resistance) is a decided input to station identity & offline auth.ท่าทีการล็อกดาวน์/กันดัดแปลงจาก OQ-7 ของ PROP-021 (ล็อกอินที่ผู้พัฒนาควบคุม, การติดตั้งแบบล็อกดาวน์, การเข้ารหัสทำหน้าที่กันดัดแปลงในสถานที่) เป็นข้อมูลตั้งต้นที่ตัดสินแล้วของเรื่องตัวตนสถานีและ auth แบบ offline

Decided (client, 19 Jul 2026):ตัดสินแล้ว (ลูกค้า 19 ก.ค. 2569): Recommendation adopted, plus a signed-binary mandate. (1) Identity & offline auth as recommended: gateway-issued station certificates + platform-signed user credentials cached with a bounded offline validity; every offline event carries the station cert + user identity, so the upstream audit chain is seamless — built on the PROP-021 OQ-7 lockdown/tamper posture. (2) Code signing (new): every on-site deployable binary — gateway services and station apps alike — is digitally signed with a platform code-signing certificate that no third party can tamper with. No unsigned binary or executable is allowed or executed on platform-managed hosts (the OQ-1 appliance enforces this at the OS level; locked-down station terminals verify signatures at install and launch), and only signed binaries can communicate with the platform — signature validation is part of the gateway/cloud handshake, so a tampered or foreign executable is refused at the connection, not just at install. Signing keys are platform-held (never on-site), and fleet updates ship only through the signed channel. Residual: signing infrastructure and key-custody details → the architecture spec at application.รับข้อเสนอแนะ พร้อมเพิ่มข้อบังคับ binary ต้องลงนาม (1) ตัวตนและ auth แบบ offline ตามข้อเสนอ: ใบรับรองสถานีที่ gateway ออก + credential ผู้ใช้ที่ platform ลงนาม cache พร้อมอายุ offline จำกัด; ทุก event ตอน offline ถือใบรับรองสถานี + ตัวตนผู้ใช้ ให้สาย audit ขึ้นบนไร้รอยต่อ — ต่อยอดจากท่าล็อกดาวน์/กันดัดแปลงของ PROP-021 OQ-7 (2) การลงนามโค้ด (ใหม่): binary ที่ติดตั้งในโรงงานทุกตัว — ทั้งบริการบน gateway และแอปสถานี — ลงนามดิจิทัลด้วยใบรับรอง code-signing ของ platform ที่บุคคลที่สามดัดแปลงไม่ได้ ห้ามอนุญาตหรือรัน binary/executable ที่ไม่ลงนามบนเครื่องที่ platform ดูแล (appliance ตาม OQ-1 บังคับที่ระดับ OS; เครื่องสถานีแบบล็อกดาวน์ตรวจลายเซ็นตอนติดตั้งและตอนเปิด) และเฉพาะ binary ที่ลงนามเท่านั้นสื่อสารกับ platform ได้ — การตรวจลายเซ็นเป็นส่วนหนึ่งของ handshake กับ gateway/cloud ดังนั้น executable ที่ถูกดัดแปลงหรือแปลกปลอมถูกปฏิเสธตั้งแต่การเชื่อมต่อ ไม่ใช่แค่ตอนติดตั้ง กุญแจลงนามอยู่กับ platform (ไม่อยู่ในโรงงาน) และการอัปเดต fleet ส่งผ่านช่องทางที่ลงนามเท่านั้น ค้าง: โครงสร้างการลงนามและการเก็บรักษากุญแจ → spec สถาปัตยกรรมตอน apply

OQ-6 Packaging & pricing — what exactly is the SKU (PROP-016)?แพ็กเกจและราคา — SKU คืออะไรกันแน่ (PROP-016)?

Is the gateway the on-site tier's base unit with stations licensed per type on top, or does PROP-021's suite bundle absorb the gateway silently? And does the gateway alignment change PROP-021's SKU structure?

gateway เป็นหน่วยฐานของชั้นติดตั้งในโรงงานโดยสถานี license รายประเภทซ้อนบน หรือชุด PROP-021 กลืน gateway ไว้เงียบ ๆ? และการจัดแนวกับ gateway เปลี่ยนโครง SKU ของ PROP-021 ไหม?

Recommendation:ข้อเสนอแนะ: gateway = the base unit of the on-site tier (it is the thing with hardware and an SLA); stations are per-type feature licenses on it; PROP-021's suite becomes the curated full-chain bundle of those licenses.gateway = หน่วยฐานของชั้นติดตั้งในโรงงาน (คือสิ่งที่มีฮาร์ดแวร์และ SLA); สถานีเป็น license ฟีเจอร์รายประเภทบนมัน; ชุด PROP-021 กลายเป็น bundle เต็มสายที่จัดไว้ของ license เหล่านั้น

Scope grown (17 Jul 2026):ขอบเขตโตขึ้น (17 ก.ค. 2569): PROP-031 OQ-3 assigned adapter-box pricing here, and PROP-021 OQ-6 / PROP-020 Q-10 (starter kit) converge here too: this OQ is now the single mill-side hardware + SKU pricing decision.PROP-031 OQ-3 มอบราคากล่อง adapter มาที่นี่ และ PROP-021 OQ-6 / PROP-020 Q-10 (ชุดเริ่มต้น) มารวมที่นี่ด้วย: OQ นี้เป็นจุดตัดสินราคาฮาร์ดแวร์ + SKU ฝั่งโรงงานจุดเดียวแล้ว

Spun out (client, 19 Jul 2026):แยกออก (ลูกค้า 19 ก.ค. 2569): Valid question — too big for an OQ verdict; relocated to a dedicated proposal, PROP-039. With the gateway specification now solidified (OQ-1…5 decided: managed appliance, cache-not-archive local slice, effective-from-acknowledgement sync, HA-ready foundations + the A-2 ladder, signed-binary identity posture), packaging, pricing, business strategy and project feasibility get their own full-depth draft. PROP-039 inherits this OQ's consolidation duty in whole — PROP-031 OQ-3 adapter-box pricing, PROP-021 OQ-6 suite pricing, PROP-020 Q-10 starter kit, PROP-035 kit SKUs, and the OQ-4 HA-pair (A-2) premium all land there. This document's architecture no longer waits on pricing; no OQ remains open in PROP-028.คำถามถูกต้อง — ใหญ่เกินกว่าคำวินิจฉัย OQ; ย้ายไปข้อเสนอเฉพาะ PROP-039 เมื่อสเปก gateway นิ่งแล้ว (OQ-1…5 ตัดสินครบ: appliance ที่ platform ดูแล, slice ท้องถิ่นแบบ cache, sync มีผลเมื่อยืนยันรับ, ฐานราก HA-ready + บันได A-2, ท่า binary ลงนาม) แพ็กเกจ ราคา กลยุทธ์ธุรกิจ และความเป็นไปได้ของโครงการได้ร่างเต็มความลึกของตัวเอง PROP-039 รับหน้าที่รวมจุดของ OQ นี้ทั้งหมด — ราคากล่อง adapter (PROP-031 OQ-3), ราคาชุดสถานี (PROP-021 OQ-6), ชุดเริ่มต้น (PROP-020 Q-10), SKU ชุด PROP-035 และ premium HA คู่ (A-2) ของ OQ-4 ไปลงที่นั่น สถาปัตยกรรมของเอกสารนี้ไม่รอราคาอีกต่อไป; PROP-028 ไม่มี OQ ค้างเปิด

OQ-7 Does the gateway resolve the adjacent gate blockers — Q-38 in particular?gateway ช่วยปิดตัวกั้นข้างเคียงของ gate ไหม — โดยเฉพาะ Q-38?

On gateway factories, same-day CCS capture (ST-LAB) makes A-11's day-close finality natural. But Q-38's question is about the default path — does the two-posture ruling of A-35 shrink that path to online-only mills whose CCS answer can differ, or is Q-38 still open exactly as asked?

ที่โรงงานใช้ gateway การเก็บ CCS ภายในวัน (ST-LAB) ทำให้การจบเมื่อปิดวันของ A-11 เป็นธรรมชาติ แต่คำถาม Q-38 ว่าด้วยเส้นทางเริ่มต้น — คำวินิจฉัยสองท่าของ A-35 หดเส้นทางนั้นเหลือโรงงาน online เท่านั้นซึ่งคำตอบ CCS อาจต่างได้ หรือ Q-38 ยังเปิดตามที่ถามเดิม?

Recommendation:ข้อเสนอแนะ: treat Q-38 (and the Q-36/Q-37 residuals) as still owned by the gate — this proposal supplies architecture they can cite, not verdicts.ถือว่า Q-38 (และสิ่งตกค้าง Q-36/Q-37) ยังเป็นของ gate — ข้อเสนอนี้ให้สถาปัตยกรรมที่พวกมันอ้างได้ ไม่ใช่คำวินิจฉัย

Closed de facto (17 Jul 2026):ปิดโดยพฤตินัย (17 ก.ค. 2569): The gate has since answered its own questions and closed — Q-36 by A-36, Q-37 by PROP-031’s acceptance (spec v0.8.0), Q-38 by A-38’s T+3 window plus the Rev 2.18 zero-measurement addendum with A-39’s daily average. Nothing is owed from this proposal; the architecture stands cited.ด่านตอบคำถามของตนและปิดแล้ว — Q-36 ด้วย A-36, Q-37 ด้วยการรับ PROP-031 (spec v0.8.0), Q-38 ด้วยหน้าต่าง T+3 ของ A-38 + ภาคผนวกวันไร้ผลวัด (Rev 2.18) กับค่าเฉลี่ยรายวันของ A-39 ข้อเสนอนี้ไม่ค้างคำตอบใด; สถาปัตยกรรมคงถูกอ้างต่อไป

OQ-8 Sequencing.ลำดับ

The gateway is the substrate PROP-021's stations run on and the delivery vehicle for PROP-020's booth and PROP-027's pump. Does the architecture spec ride one train with PROP-021, and does the NFR-03 rewrite land in the Q1 amendment pass?

gateway คือฐานที่สถานีของ PROP-021 ทำงานบน และพาหนะส่งมอบของบูธ PROP-020 กับปั๊ม PROP-027 spec สถาปัตยกรรมไปขบวนเดียวกับ PROP-021 ไหม และการเขียน NFR-03 ใหม่ลงในรอบแก้ไข Q1 ไหม?

Recommendation:ข้อเสนอแนะ: one train with PROP-021 (the suite is the gateway's first client set); the NFR-03 rewrite and the online-only clarification of the cloud mill-wb path ride the Q1 amendment pass on A-35's acceptance.ขบวนเดียวกับ PROP-021 (ชุดสถานีคือชุด client แรกของ gateway); การเขียน NFR-03 ใหม่และการระบุชัด online เท่านั้นของเส้นทาง mill-wb บน cloud ลงรอบแก้ไข Q1 เมื่อรับ A-35

Part-closed (17 Jul 2026):ปิดบางส่วน (17 ก.ค. 2569): The NFR-03 re-read landed in the Q1 amendment pass (v0.7.0), and PROP-031 OQ-5 superseded the online-only cloud weighing screen (mill-wb web → monitoring/back-office; the weighing surface is the MAUI station app in both modes) — fold that re-read of the cloud-path wording into the next body revision. Remaining: confirm the one-train sequencing with PROP-021.การอ่าน NFR-03 ใหม่ลงในรอบแก้ Q1 แล้ว (v0.7.0) และ PROP-031 OQ-5 แทนที่จอชั่งบน cloud แบบ online เท่านั้น (mill-wb web → งานเฝ้าดู/หลังบ้าน; surface การชั่งคือแอปสถานี MAUI ทั้งสองโหมด) — พับการอ่านถ้อยคำเส้นทาง cloud ใหม่เข้า revision ถัดไปของตัวเอกสาร ที่เหลือ: ยืนยันขบวนเดียวกับ PROP-021

Closed (17 Jul 2026, OQ pass 2):ปิดแล้ว (17 ก.ค. 2569, ทบทวน OQ รอบ 2): PROP-021 was APPROVED 17 Jul 2026 with its OQ-8 resolved the same way — one train, the suite on the gateway; both apply in a single later pass. Consequence: this proposal’s OQ-1…OQ-6 are now the blocking set for applying the approved PROP-021.PROP-021 ได้รับการอนุมัติ 17 ก.ค. 2569 โดย OQ-8 ของมันตัดสินทางเดียวกัน — ขบวนเดียว ชุดสถานีวิ่งบน gateway; ทั้งสองฉบับ apply ในรอบเดียวภายหลัง ผลที่ตาม: OQ-1…OQ-6 ของฉบับนี้กลายเป็นชุดคำถามที่ขวางการ apply ของ PROP-021 ที่อนุมัติแล้ว

8. Revision history8. ประวัติการแก้ไข

Revรุ่นDateวันที่Changesการเปลี่ยนแปลง
0.12026-07-15Initial draft, spun out of gate verdict A-35 — on-site topology (GW + ST-QUEUE/ST-WB/ST-TIP + optional stations), principles G1–G5, allocation & offline mechanics, adoption-ladder business case, 8 open questions with recommendations.ร่างแรก แยกออกจากคำวินิจฉัย A-35 ของ gate — ผังระบบในโรงงาน (GW + ST-QUEUE/ST-WB/ST-TIP + สถานีเสริม) หลักการ G1–G5 กลไกการจ่ายเลขและ offline กรณีธุรกิจแบบบันไดการรับใช้งาน และคำถามเปิด 8 ข้อพร้อมข้อเสนอแนะ
0.22026-07-17Open-question cross-reference pass (client request): OQ-7 closed de facto (Q-36/Q-37/Q-38 all answered; Q1 gate closed); OQ-8 part-closed (NFR-03 re-read applied v0.7.0; PROP-031 supersedes the cloud weighing screen — body wording to fold in next revision); OQ-4 consistency flag vs PROP-031 OQ-5’s offline modes; OQ-1 inherits the PROP-031 lease precedent; OQ-6 confirmed as the single hardware/SKU pricing home (adapter boxes + PROP-021 OQ-6 + PROP-020 Q-10 converge).รอบอ้างโยงคำถามเปิด (ตามคำขอลูกค้า): OQ-7 ปิดโดยพฤตินัย (Q-36/Q-37/Q-38 ตอบครบ; ด่าน Q1 ปิด); OQ-8 ปิดบางส่วน (NFR-03 ใช้แล้ว v0.7.0; PROP-031 แทนจอชั่ง cloud — ถ้อยคำตัวเอกสารพับใน revision ถัดไป); OQ-4 ธงความสอดคล้องกับโหมด offline ของ PROP-031 OQ-5; OQ-1 สืบทอดแบบอย่างเช่าของ PROP-031; OQ-6 ยืนยันเป็นบ้านราคาฮาร์ดแวร์/SKU จุดเดียว
0.32026-07-17OQ review pass 2: OQ-8 CLOSED (PROP-021 approved — one train confirmed; OQ-1…6 now gate the approved PROP-021’s application); OQ-1 premise refreshed (PROP-021 OQ-1: gateway ships as an installable image — appliance-default recommendation overtaken); OQ-2/OQ-5 gain the PROP-021 OQ-7 decided inputs (journal PDPA class, encryption at rest, purge window, lockdown).ทบทวน OQ รอบ 2: ปิด OQ-8 (PROP-021 อนุมัติแล้ว — ยืนยันขบวนเดียว; OQ-1…6 กลายเป็นตัวขวางการ apply); ปรับข้อตั้ง OQ-1 (OQ-1 ของ PROP-021: gateway เป็น image ติดตั้งได้ — ข้อแนะนำ appliance เป็นค่าเริ่มต้นถูกแซง); OQ-2/OQ-5 ได้ข้อมูลตั้งต้นจาก OQ-7 ของ PROP-021
0.42026-07-19HA-foundations study attached as exhibit EXH-028-A (client request): OQ-4 gains the study note — HA-ready, not HA-now; foundations F-1…F-5 recommended for the body/NFR set at acceptance, HA pair defers as availability-ladder tier A-2 (OQ-6 pricing); no body change yet.แนบการศึกษาฐานราก HA เป็นเอกสารประกอบ EXH-028-A (ตามคำขอลูกค้า): OQ-4 ได้บันทึกการศึกษา — HA-ready ไม่ใช่ HA-now; เสนอฐานราก F-1…F-5 เข้าตัวเอกสาร/ชุด NFR เมื่อรับ HA pair เลื่อนเป็นชั้น A-2 ของบันไดความพร้อมใช้ (ราคาใน OQ-6); ยังไม่แก้ตัวเอกสาร
0.52026-07-19OQ-1 DECIDED (client): managed appliance — platform-controlled down to the hardware; supersedes the PROP-021 OQ-1 installable-image posture for the gateway node; no VM option; lease/bundle ownership per PROP-031 OQ-3; appliance = PROP-035 H-2 gateway core kit; motivated by the EXH-028-A F-6 sealed-datastore posture (exhibit bumped to Rev 0.2 — adds F-6, appliance wording).OQ-1 ตัดสินแล้ว (ลูกค้า): appliance ที่ platform ดูแล — ควบคุมถึงระดับฮาร์ดแวร์; แทนท่า image ติดตั้งได้ของ PROP-021 OQ-1 สำหรับโหนด gateway; ไม่มีทางเลือก VM; กรรมสิทธิ์เช่า/bundle ตาม PROP-031 OQ-3; appliance = ชุด gateway core ใน H-2 ของ PROP-035; เหตุจากท่าฐานข้อมูลผนึก F-6 ของ EXH-028-A (ขยับเป็น Rev 0.2)
0.62026-07-19OQ-2 DECIDED (client): cache-not-archive local slice — first season requires caching only; after full cloud sync the gateway keeps just the workable current-season operating set; nothing PDPA-sensitive left on the gateway (quota-chain identity minimum in, bank/financing and wider farmer PII out; synced facts + closed seasons purge per the PROP-021 OQ-7 window); retention lengths and per-entity slice list → architecture spec at application.OQ-2 ตัดสินแล้ว (ลูกค้า): slice ท้องถิ่นแบบ cache ไม่ใช่คลังถาวร — ฤดูกาลแรกต้องการเพียงการ cache; หลัง sync ขึ้น cloud ครบ gateway คงเฉพาะชุดข้อมูลใช้งานฤดูกาลปัจจุบัน; ไม่ทิ้งข้อมูลอ่อนไหว PDPA บน gateway (ตัวตนสายโควตาขั้นต่ำเข้า ธนาคาร/สินเชื่อและข้อมูลส่วนบุคคลกว้างกว่านั้นไม่; ข้อเท็จจริงที่ sync + ฤดูกาลปิดถูกล้างตามช่วงของ PROP-021 OQ-7); ความยาวช่วงเก็บและรายการ slice รายเอนทิตี → spec สถาปัตยกรรมตอน apply
0.72026-07-19OQ-3 DECIDED (client): config is effective-from-acknowledgement — a portal change binds a factory only once its gateway has received and acknowledged it, never retroactively (portal shows "pending at factory" until then); cloud-side corrections never edit synced facts — void/dispute append as new events down the same stream; dispute path stays the only post-issuance correction.OQ-3 ตัดสินแล้ว (ลูกค้า): config มีผลตั้งแต่การยืนยันรับ — การแก้บน portal ผูกพันโรงงานเมื่อ gateway รับและยืนยันแล้วเท่านั้น ไม่ย้อนหลัง (portal แสดง "รอถึงโรงงาน" จนกว่านั้น); การแก้ฝั่ง cloud ไม่แก้ข้อเท็จจริงที่ sync — void/ข้อพิพาทเพิ่มเป็น event ใหม่ลงสายเดิม; เส้นทางข้อพิพาทคงเป็นการแก้เดียวหลังออกเอกสาร
0.82026-07-19OQ-4 DECIDED (client): EXH-028-A path adopted — HA-ready, not HA-now; foundations F-1…F-6 in the initial spec; gateway-down = allocation hard-stops, readings buffer (reconciles PROP-031 OQ-5), per-station-type postures via F-5; HA pair = ladder tier A-2 warm standby, premium option priced in OQ-6; A-3 out of scope; RPO/RTO numbers set with the PROP-035 OQ-1 hardware spec.OQ-4 ตัดสินแล้ว (ลูกค้า): รับเส้นทาง EXH-028-A — HA-ready ไม่ใช่ HA-now; ฐานราก F-1…F-6 เข้าสเปกฉบับแรก; gateway ล่ม = การจ่ายเลขหยุดแข็ง ค่าชั่ง buffer (สอดคล้อง PROP-031 OQ-5) ท่ารายประเภทสถานีผ่าน F-5; HA pair = ชั้น A-2 warm standby ตัวเลือก premium ตั้งราคาใน OQ-6; A-3 นอกขอบเขต; ตัวเลข RPO/RTO กำหนดพร้อมสเปกฮาร์ดแวร์ PROP-035 OQ-1
0.92026-07-19OQ-5 DECIDED (client): identity/offline-auth recommendation adopted (gateway-issued station certs, platform-signed cached user credentials, offline events carry cert + user identity), plus a new signed-binary mandate — all on-site deployables platform-code-signed, unsigned binaries never installed or executed, and only signed binaries may talk to the platform (signature validation in the handshake); signing keys platform-held; signing infra details → architecture spec at application.OQ-5 ตัดสินแล้ว (ลูกค้า): รับข้อเสนอตัวตน/auth offline (ใบรับรองสถานีจาก gateway, credential ผู้ใช้ที่ platform ลงนามแบบ cache, event offline ถือใบรับรอง + ตัวตน) พร้อมข้อบังคับใหม่ binary ต้องลงนาม — ทุก deployable ในโรงงานลงนามด้วยใบรับรอง platform, binary ไม่ลงนามห้ามติดตั้งหรือรัน และเฉพาะ binary ที่ลงนามสื่อสารกับ platform ได้ (ตรวจลายเซ็นใน handshake); กุญแจอยู่กับ platform; รายละเอียดโครงสร้างการลงนาม → spec สถาปัตยกรรมตอน apply
0.102026-07-19OQ-6 SPUN OUT → PROP-039 (client): packaging, pricing, business strategy & project feasibility relocated to a dedicated full-depth draft; the consolidation duty (PROP-031 OQ-3 adapter boxes, PROP-021 OQ-6, PROP-020 Q-10 starter kit, PROP-035 kit SKUs, the OQ-4 A-2 premium) transfers with it. With OQ-1…5 decided, no OQ remains open — the gateway specification is solidified.OQ-6 แยกออก → PROP-039 (ลูกค้า): แพ็กเกจ ราคา กลยุทธ์ธุรกิจ และความเป็นไปได้ย้ายไปร่างเฉพาะเต็มความลึก; หน้าที่รวมจุดโอนตามไปด้วย เมื่อ OQ-1…5 ตัดสินครบ ไม่มี OQ ค้างเปิด — สเปก gateway นิ่งแล้ว
0.112026-07-19APPROVED (client) together with exhibit EXH-028-A (Rev 0.3): all 8 OQs resolved (OQ-1…5 decided, OQ-6 spun out → PROP-039, OQ-7/OQ-8 closed earlier); status DRAFT → APPROVED. Application (graph + spec docs, incl. the F-1…F-6 foundations into the NFR set and the body's cloud-path re-wording) is a separate later pass, riding one train with the approved PROP-021.อนุมัติแล้ว (ลูกค้า) พร้อมเอกสารประกอบ EXH-028-A (Rev 0.3): OQ ทั้ง 8 ข้อคลี่คลายแล้ว (OQ-1…5 ตัดสิน, OQ-6 แยกออก → PROP-039, OQ-7/OQ-8 ปิดก่อนหน้า); สถานะ ฉบับร่าง → อนุมัติ การ apply (graph + เอกสาร spec รวมฐานราก F-1…F-6 เข้าชุด NFR และการแก้ถ้อยคำเส้นทาง cloud ในตัวเอกสาร) เป็นรอบหลังแยกต่างหาก ไปขบวนเดียวกับ PROP-021 ที่อนุมัติแล้ว
0.122026-07-19APPLIED (spec v0.13.0), one train with PROP-021: graph-first — contexts on_site_gateway (GatewayNode · StationClient · SyncCheckpoint) + mill_stations (CcsMeasurement · IntakeMatchSet · StationJournal), 10 events, WF-54…58, FR-134…142, NFR-44…47 (the F-1…F-6 foundations land in the NFR set), 7 uix screens + gw/st/mm copy namespaces, 7 glossary terms; Section 2's cloud-path wording folded per PROP-031 OQ-5. Mirrored: SPEC-APP 0.3.0 + SPEC-PRD/PWF-MILL 0.6.0 + SPEC-UIX/ERD/DDD-MILL 0.5.0 + SPEC-INDEX. Status APPROVED → APPLIED.ปรับใช้แล้ว (spec v0.13.0) ขบวนเดียวกับ PROP-021: graph ก่อน — context on_site_gateway (GatewayNode · StationClient · SyncCheckpoint) + mill_stations (CcsMeasurement · IntakeMatchSet · StationJournal), 10 event, WF-54…58, FR-134…142, NFR-44…47 (ฐานราก F-1…F-6 เข้าชุด NFR), 7 หน้าจอ uix + namespace gw/st/mm, 7 คำ glossary; พับถ้อยคำเส้นทาง cloud ของข้อ 2 ตาม PROP-031 OQ-5 สะท้อนเข้า SPEC-APP + เอกสาร MILL ห้าฉบับ + SPEC-INDEX สถานะ อนุมัติ → ปรับใช้แล้ว