Cane Agency · APP Seriesสถาบันอ้อย · ชุดเอกสาร APP
This is the Sugar factory (mill) perspective of SPEC-APP — the application design requirements slice for the mill capacity (portal surface). Cross-cutting content lives in the master; the single source of truth is the graph (docs/graph/spec-graph.json). Created by PROP-014 (v0.1.0) as part of the APP perspective split.
นี่คือมุมมอง โรงงานน้ำตาล ของ SPEC-APP — ส่วนข้อกำหนดการออกแบบแอปพลิเคชันสำหรับ capacity mill (ช่องทางใช้งาน portal) เนื้อหาข้ามมุมมองอยู่ในเอกสารหลัก แหล่งความจริงเดียวคือ graph (docs/graph/spec-graph.json) สร้างโดย PROP-014 (v0.1.0) เป็นส่วนหนึ่งของการแยกมุมมอง APP
Rendered from the graph (v0.4.0, PROP-018 P3 — federation.entitlementMatrix · roles · requirements). A tenant's surface entitlement is the UNION over its active capacities and the compiled srf claim must equal it (NFR-15); the roles below are the role set grantable on this capacity's surfaces (one role per surface per membership), and the requirement index lists every functional requirement whose surfaces intersect this capacity's entitlement.
Render จาก graph (v0.4.0, PROP-018 P3 — federation.entitlementMatrix · roles · requirements) สิทธิ์ surface ของ tenant คือ UNION ของ capacity ที่ active และ claim srf ที่คอมไพล์ต้องเท่ากันเสมอ (NFR-15); role ด้านล่างคือชุด role ที่ให้ได้บน surface ของ capacity นี้ (หนึ่ง role ต่อ surface ต่อ membership) และดัชนีข้อกำหนดแสดง functional requirement ทุกข้อที่ surface ตัดกับสิทธิ์ของ capacity นี้
| Role id | Nameชื่อ | SurfacesSurface | Noteหมายเหตุ |
|---|---|---|---|
| owner | Owner (fixed-full role) · เจ้าของ | every entitled surfaceทุก surface ที่มีสิทธิ์ | Fixed-full role — holds every permission, undeletable.Role เต็มแบบตรึง — ถือทุกสิทธิ์ ลบไม่ได้ |
| field_agent | Field agent | mobile · portal | — |
| weighbridge_operator | Weighbridge operator · พนักงานชั่ง | portal | — |
| checkpoint_staff | Checkpoint staff (mill-employed) · เจ้าหน้าที่ checkpoint | checkpoint | v0.24.0 (PROP-043 OQ-20): register / stamp / print + on-the-spot Truck creation; ZERO strategic keys — no rate, band or premium ever renders.v0.24.0 (PROP-043 OQ-20): ลงทะเบียน/ประทับ/พิมพ์ + สร้างรถทันที; ไม่มี key กลยุทธ์ |
| mill_manager | Mill manager | portal | — |
| finance_officer | Finance officer (credit & settlement) · เจ้าหน้าที่สินเชื่อ | portal | — |
| lab_analyst | Quality officer (CCS re-note intake & matching) · เจ้าหน้าที่คุณภาพ (รับและจับคู่ re-note CCS) | portal | — |
| FR | Requirementข้อกำหนด | SurfacesSurface | Priorityลำดับ |
|---|---|---|---|
| FR-01 | Farmer registration & identity verification | website · portal | P0 |
| FR-02 | Field registry — land facts only (area, GPS boundary) | mobile · portal | P0 |
| FR-03 | Season setup & quota allocation | portal | P0 |
| FR-05 | Weighbridge ticketing (immutable record, statutory 4-ply delivery note — A-36) | portal | P0 |
| FR-06 | Net tonnage captured at the weighbridge and surfaced to the farmer in real time; CCS captured from the government (สอน.) re-note, auto-matched to the delivery — not an on-site same-day lab | portal · mobile | P0 |
| FR-07 | Statutory two-installment settlement on the initial price: 50% in the mill's next payment cycle after delivery, remaining 50% 30 days later; both installments computed, scheduled and shown at acceptance with itemized deductions; เงินเกี๊ยว / loan offsets deduct from installment 1, spread across multiple cycles | portal · mobile | P0 |
| FR-08 | Sub-farmer network management (CRM) | portal · mobile | P1 |
| FR-10 | Reports & exports (CSV/PDF) | portal · ocsb | P1 |
| FR-11 | Bilingual UI (Thai default, English secondary) | website · portal · mobile · ocsb | P0 |
| FR-12 | Dark theme for night operations | mobile · portal | P1 |
| FR-14 | Tenant provisioning & membership linking (org tenants + individual tenants, invitation/linking) — v6.0: superseded in substance by FR-60…63; retained for traceability | account · portal · website | P0 |
| FR-15 | Credit lines & contract-farming items (inputs, services; credit or direct purchase) | portal · mobile | P0 |
| FR-16 | Credit request & approval flow (cane farmer → quota farmer / factory) | mobile · portal | P0 |
| FR-17 | Repayment offset at settlement (deduction → repayment ledger) | portal | P0 |
| FR-18 | Cane type (burnt/green) recording & per-mill purchase policy | mobile · portal | P0 |
| FR-21 | In-app messaging & announcements (quota farmer ↔ sub-farmers) | mobile · portal | P1 |
| FR-22 | Season crop registry (field × season; plant/ratoon class; variety; expected yield; carry-forward wizard) | mobile · portal | P0 |
| FR-23 | Crop ownership transfer & outright purchase (บาท/ไร่) with append-only deed trail | mobile · portal | P0 |
| FR-24 | Virtual cane farmer lifecycle (create, debt ledger, invite, claim with history intact) | portal · mobile | P0 |
| FR-25 | Variety & soil reference catalogues (seed + admin curation) | portal · mobile | P1 |
| FR-26 | Farm activity log per crop incl. credit-item linkage, offline capture | mobile · portal | P0 |
| FR-27 | Weather per field/zone — manual observation (P1) + external feed adapter (P2) | mobile · portal | P1 |
| FR-28 | Yield estimation — declared (P1); model-assisted from variety × soil × rain (P2) | mobile · portal | P1 |
| FR-29 | Truck registry & assignment at queue entry | portal · mobile | P1 |
| FR-30 | Crushing-day schedule: capacity, booking drawdown (QL-2+), burnt-share cap enforcement | portal | P0 |
| FR-32 | Burnt-cane compliance reporting per mill per day (sliding deduction, breach flags) | ocsb · portal | P1 |
| FR-35 | Data-sharing consent (PDPA): scoped, time-boxed, revocable; enforced on every cross-tenant read | finance · account · mobile · portal | P0 |
| FR-41 | Disbursement & repayment incl. settlement-offset on assigned delivery receivables | finance · portal | P0 |
| FR-44 | Contractor onboarding: contractor capacity on an tenant, registered or not (WF-24/25 branch); verification; capacity move keeps the record | dispatch · account · website | P0 |
| FR-46 | Contractor directory & search by service, area, price range, rating, endorsement; ranking never sold (NFR-12); mill/quota capacity disclosed on the profile (PROP-005 Section 8.3) | mobile · portal · website | P0 |
| FR-47 | Service request → quote → award (RFQ + direct booking) anchored to fields, crops and harvest windows | mobile · portal · dispatch | P0 |
| FR-49 | Field progress logging (photos, GPS, quantities), completion hand-off, requester verification incl. weigh-ticket-assisted for harvest/haulage | crew · mobile · portal | P0 |
| FR-51 | Service payments on four rails: escrow lifecycle (fund/hold/release/refund), cash recording, เงินเกี๊ยว-financed items, settlement offset; commission on escrow orders only | dispatch · mobile · portal | P0 (escrow P1) |
| FR-52 | Verified ratings & reviews: three dimensions + overall stars, one per verified order, public replies, endorsements, moderation | mobile · portal · dispatch · website | P0 |
| FR-55 | Dispute & mediation flow on work orders; escrow funds held until resolution | dispatch · mobile · portal | P1 |
| FR-60 | One federated sign-in per person (phone OTP + external OIDC providers); tenant-context switcher; exactly one active tenant per token; re-issue on switch | account · all | P0 |
| FR-61 | Tenant & capacity management: found tenant, request/grant/suspend/revoke capacities, per-capacity verification levels, exclusivity enforcement | account | P0 |
| FR-62 | Entitlement compiler: srf = union of the entitlement matrix over active capacities; surface switcher renders exactly the claim | account · all | P0 |
| FR-63 | Memberships & surface-role grants: invite by phone, one role per surface per membership, owner fixed-full, template role sets per capacity | account | P0 |
| FR-64 | Permission catalogs & role × permission matrix authoring per surface, owner column locked, locked chips for unreachable surfaces | account | P1 |
| FR-65 | Scope overrides: province / district / mill_zone / quota_network / field_set, equal-or-narrower enforced | account | P1 |
| FR-66 | ConsentGrant generalized to tenant↔tenant with capacity-aware scopes; grant/revoke UI on account surface | account · finance | P0 |
| FR-68 | Platform view-as sessions: permission-gated start, persistent banner, dual logging, session record | account · portal · dispatch | P1 |
| FR-69 | Migration & merge tooling: tenant→party and user→person mapping, phone-verified assisted person merge, full audit of every merge | account | P0 |
| FR-70 | Admission classes: capacities carry `admission` (self_serve | invitation); invitation-only capacities (mill, bank, government, operator) grantable ONLY against an open operator-issued Invitation; self-requests rejected with an explain-and-redirect state (WF-25/28) | admin · account | P0 |
| FR-72 | Representative mills: operator creates & stewards representative mill tenants with preliminary facts; growers/quota may designate one as a delivery destination (Quota.mill_id) for planning | admin · mobile · portal | P0 |
| FR-73 | Representative → active conversion preserves mill_id, tenant_id and every quota/designation/plan link (continuity promise, WF-29) | admin · account | P0 |
| FR-78 | Checkpoint registry (mill- or platform-operated) with per-farmer, volume-tiered extra rates | portal · admin | P1 |
| FR-79 | Checkpoint stamp capture — register a long-haul truck into the factory system and match it to a delivery (v0.24.0 PROP-043: actor rewritten — mill-employed checkpoint staffer on the checkpoint surface; stamp wrapped in a CheckpointRegistration) | checkpoint · portal | obileP1 |
| FR-80 | Strategic agreement authoring — checkpoint or fixed_price (เหมาจ่าย) mode, benefit treatment, upfront step 25/50/75, confidential by default | portal | P0 |
| FR-81 | Per-delivery premium accrual off net weight + resolved rate, held OFF the statutory PaymentItem | portal | P0 |
| FR-82 | Step release — upfront % per delivery at payment due; withheld balance on contract-volume fulfilment; cash / settlement-offset / ledger | portal · mobile | P0 |
| FR-83 | Quota→cane-farmer onward relay recorded against the factory delivery receipt (cash / ledger) | portal · mobile | P1 |
| FR-84 | Confidentiality controls — hard wall from the government surface + ConsentGrant scope strategic_terms for private cross-tenant sharing | portal · account | P0 |
| FR-85 | Strategic-pricing statements & exports per agreement / season, visible only to the mill and its counterparty | portal · mobile | P1 |
| FR-86 | Agreement renegotiation — new revision effective the next day, non-retroactive to posted accruals; and multiple concurrent per-season agreements per counterparty | portal · mobile | P1 |
| FR-87 | Preset chart of accounts per tenant capacity (mill / quota / grower / contractor); seed system_flag accounts + user-added custom accounts | portal · mobile · dispatch | P0 |
| FR-88 | Auto-posting from settlement, เงินเกี๊ยว, service payment, loan & PROP-009 strategic events — balanced, idempotent, source-attributed | portal · mobile | P0 |
| FR-89 | Receivables & payables — auto/manual invoices, receipts, payment vouchers, partial settlement, aging | portal · mobile | P1 |
| FR-90 | Cash/bank accounts + bank reconciliation (import or hand-entered lines, match, difference, close balanced) | portal | P1 |
| FR-91 | Fiscal-period management: open → closing → closed → locked; cash or accrual basis | portal · dispatch | P1 |
| FR-92 | Statements — P&L, balance sheet, trial balance, cash flow; per period/season; append-only frozen snapshots | portal · mobile · finance | P1 |
| FR-93 | Statement sharing to a bank via ConsentGrant scope books; accountant-ready export (CSV / PDF) | portal · finance | P1 |
| FR-94 | Confidential inheritance — PROP-009 strategic postings visible in the owner's books but excluded from any statement shared to the government capacity | portal · account | P0 |
| FR-95 | Statutory due-date engine: compute each installment's due_date from MillPaymentSchedule (cycle_days, first_pct, second_offset_days); the platform must not post earlier than the statutory schedule | portal · mobile | P0 |
| FR-96 | Mill payment-schedule configuration: a mill sets its cycle_days (e.g. 7th & 22nd) per season; statutory 50 / +30d defaults are pre-seeded | portal | P1 |
| FR-97 | Instant tonnage: the delivered net weight is visible to the farmer (mobile) and quota farmer (portal) at weigh-out, before CCS or payment | mobile · portal | P0 |
| FR-98 | CCS re-note ingestion & auto-match: ingest the government re-note (MVP: mill upload of the สอน. paper/Excel), auto-match each row to its delivery on the %N-### tag, surface CCS online on received_at; a manual-match fallback with an audit trail | portal · mobile | P0 |
| FR-99 | Final-price true-up: at season end, settle (final − initial price) × tonnage per farmer; the factory pays the farmer when positive; when negative the Cane & Sugar Fund (CSF) reimburses the factory, subject to fund availability | portal · mobile | P1 |
| FR-100 | CCS match-tag capture: record crushing_line, tipper_slot and the queue coin_no per delivery to form the %N-### tag used to auto-match re-note rows | portal | P0 |
| FR-103 | Article 56 compensation ledger: accrue a FundCompensation per mill per zone when the Cabinet final price < initial price; schedule and pay, or flag a shortfall and manage it both ways — age the mill's receivable AND roll into next season's initial price (Q2c; resolves PROP-012 R1) | ocsf · portal | P1 |
| FR-105 | Per-tenant accounting basis: BooksProfile.default_basis seeds each new FiscalPeriod (cash | accrual), editable by the books owner; a change applies to the next open period only, never a closed or in-flight one (reproducibility, NFR-25) | portal · mobile · account | P1 |
| FR-106 | Simplified single-column cash-book view (ledger_view = cash_book) showing money-in / money-out while the platform posts full balanced double-entry underneath; default for growers, toggleable to double_entry | mobile · portal | P1 |
| FR-107 | Books editions — unified vs split AR/AP + cash surfaces: mill fixed split, grower fixed unified, quota & contractor upgradeable to split via the operator-granted books_split entitlement; books_edition is a derived read, not a data fork | portal · admin · account | P2 |
| FR-108 | Full-statement sharing to a bank — a consent-gated (ConsentGrant scope books) statement is sent in full with no per-line redaction; the only exclusion in the system is the government-capacity strategic wall (FR-94) | portal · finance | P1 |
| FR-188 | Checkpoint registration — identity resolution, on-the-spot Truck creation, distance-cane binding; both rig plates first-class (PROP-043, OQ-30) | checkpoint | P1 |
| FR-189 | EV-1…EV-5 evidence completeness & accrual grade (C-1) | checkpoint · portal | P1 |
| FR-190 | Location integrity, anti-tampering & geofenced operation (C-2/C-2a, NFR-59) | checkpoint · portal | P0 |
| FR-191 | Thermal QR ticket — A-59 signed envelope, same-terminal reprint, zero strategic figures (OQ-29) | checkpoint | P1 |
| FR-192 | Terminal enrollment, device binding & the checkpoint kit — platform sole supplier, buy or lease (OQ-26) | checkpoint · admin · portal | P1 |
| FR-193 | Offline journal & deterministic sync (C-5) | checkpoint | P1 |
| FR-194 | Registration lifecycle & downstream reads — farmer app, ST-QB, ST-WB; 48 h expiry (OQ-31) | checkpoint · mobile · portal | P1 |
| FR-195 | In-bound trip intelligence — consented TripTrace, tonnage/ETA readings, advisory abandonment (D-8, OQ-32) | mobile · portal | P2 |
| The NFC reusable queue coin — spec v0.80.0 (PROP-033 approved & applied 20 Aug 2026). Factory yard only: no transfer-station workflow and no transfer-station object.เหรียญคิว NFC ใช้ซ้ำได้ — spec v0.80.0 (PROP-033 อนุมัติและ apply 20 ส.ค. 2569) ลานโรงงานเท่านั้น: ไม่มี workflow และไม่มี object ของสถานีขนถ่าย | |||
| FR-568 | Coin identity: token_id permanent, the chip replaceable | station · portal | P1 |
| FR-569 | A UID is never an identity and never an authenticator | station · portal | P1 |
| FR-570 | Custody is a binding, with both invariants in the database | station | P0 |
| FR-571 | The binding lifecycle, in full | station · portal | P1 |
| FR-572 | A tap carries the tenants in force | station | P1 |
| FR-573 | The tipper tap writes the route from station configuration | station | P1 |
| FR-574 | Weigh-out runs the declared saga | station | P1 |
| FR-575 | Checkpoint sequence is checked at every tap | station | P1 |
| FR-576 | Mill-scoped, group-blind, and unrepresentable across the wall | station · portal · group | P0 |
| FR-577 | One ordering authority, idempotent ingestion | station | P0 |
| FR-578 | Clock drift is measured, recorded and bounded | station | P1 |
| FR-579 | Partition conflicts resolve by one declared rule | station · portal | P1 |
| FR-580 | The driver capability is binding-scoped and expiring | station · website | P0 |
| FR-581 | The access controls are requirements, not advice | website | P1 |
| FR-582 | Status-only driver access | website | P1 |
| FR-583 | Three operational levels, and only the third is degraded | station | P0 |
| FR-584 | Wrong binding is refused, never edited | station | P1 |
| FR-585 | Duplicate taps: one inside the window, a repeat outside it | station | P2 |
| FR-586 | An out-of-order tap is recorded and surfaced | station · portal | P2 |
| FR-587 | A missing checkpoint never holds the yard | station · portal | P1 |
| FR-588 | A route change keeps both facts | station | P2 |
| FR-589 | A misconfigured or moved reader may not assert route | station · portal | P1 |
| FR-590 | Cancelled or diverted delivery | station | P1 |
| FR-591 | A reweigh does not disturb custody | station | P2 |
| FR-592 | Re-tip and partial load are legal and counted once | station · portal | P2 |
| FR-593 | Print failure holds the coin, not the binding | station | P1 |
| FR-594 | Gateway node or power loss is normal recovery | station | P1 |
| FR-595 | A plain coin at an NFC mill | station | P2 |
| FR-596 | A weigh-out tap is not proof the coin reached the box | station · portal | P1 |
| FR-597 | The tower assigns; the tipper observes | station · portal | P1 |
| FR-598 | Chip class and authenticity | station | P1 |
| FR-599 | Who authorizes a degraded event, and how the record reads | station · portal | P0 |
| FR-600 | What a degraded event holds up, and what it does not | station · portal · mobile | P0 |
| FR-601 | The minimum deployable site package | station · portal | P1 |
| FR-602 | Two hardware postures, one behaviour | station · portal | P1 |
| FR-603 | The coin face: information design and privacy rule | station | P1 |
| FR-604 | The printed mark grants nothing | station · website | P1 |
| FR-605 | Central provisioning and permanent marking | station · portal · admin | P0 |
| FR-606 | The cryptographic key regime: owner, scope and lifecycle | station · admin | P0 |
| FR-607 | The supported gateway topology, and who may certify an equivalent | station · portal · admin | P0 |
Full requirement definitions and the non-functional set live in SPEC-APP Sections 4–6 (unchanged addresses). v0.80.0 (PROP-033): the coin capability adds NFR-217…NFR-232 — commercial posture on the applied L-1 rung with both hardware postures; local tap latency p95 ≤ 1.0 s / p99 ≤ 2.0 s independent of WAN state; the proposed A-118 environment and read-distance matrix; app-less phone compatibility proved in the AUTHENTICATING configuration; power and ride-through; two-tone operator feedback where an unknown result reads as a failure; one coin at a time; enrolment and keying at a controlled station and never in the yard; signed station configuration with seal state; listing and BOM discipline; spares and cadence as owed figures; recovery without loss of history; the PDPA classes and their owed retention; face legibility and marking permanence; and the Cane-controlled provisioning capability with no key material on any mill-held device.
นิยามข้อกำหนดฉบับเต็มและชุด non-functional อยู่ใน SPEC-APP ข้อ 4–6 (ตำแหน่งเดิม) v0.80.0 (PROP-033): ความสามารถเหรียญเพิ่ม NFR-217…NFR-232 — ท่าทีเชิงพาณิชย์บนขั้น L-1 ที่ใช้จริงพร้อมท่าทีฮาร์ดแวร์ทั้งสอง; เวลาตอบสนองการแตะในเครื่อง p95 ≤ 1.0 วินาที / p99 ≤ 2.0 วินาที โดยไม่ขึ้นกับสถานะ WAN; เมทริกซ์สภาพแวดล้อมและระยะอ่านที่เสนอต่อ A-118; ความเข้ากันได้กับมือถือโดยไม่ต้องมีแอป พิสูจน์ในโหมดที่ยืนยันตัวตน; ไฟและการรอดช่วงไฟตก; การตอบสนองสองเสียงที่ผลไม่ทราบอ่านเป็นความล้มเหลว; ทีละเหรียญ; การลงทะเบียนและใส่กุญแจที่สถานีที่ควบคุมและไม่ใช่ในลาน; config สถานีที่ลงลายเซ็นพร้อมสถานะซีล; วินัยด้านบัญชีและ BOM; อะไหล่และรอบการตรวจเป็นตัวเลขค่าที่ค้าง; การกู้คืนโดยไม่เสียประวัติ; ชั้น PDPA และระยะเก็บรักษาที่ค้าง; ความอ่านออกของหน้าเหรียญและความถาวรของเครื่องหมาย; และความสามารถการเตรียมใช้งานที่ Cane ควบคุม โดยไม่มีสาระกุญแจบนอุปกรณ์ที่โรงงานถือ
| Revฉบับ | Dateวันที่ | Changeการเปลี่ยนแปลง |
|---|---|---|
| 0.1.0 | 2026-07-11 | Initial split from the area master (PROP-014, spec v0.1.0). Semantic versioning restarted at 0.1.0; the legacy master line reached v12.0. States its scope and defers depth to the graph, to deepen in later patches.แยกจากเอกสารหลัก (PROP-014, spec v0.1.0) รีสตาร์ท semantic versioning ที่ 0.1.0 (สายเดิมถึง v12.0) ระบุขอบเขตและอ้างอิงรายละเอียดจาก graph จะลงลึกในแพตช์ถัดไป |
| 0.1.1 | 2026-07-12 | PROP-016 (spec v0.2.1): mill admission presented as invitation-only — added an admission note on the mill onboarding requirement (WF-28, FR-70). Editorial/presentation correction; no model change (mill.admission was already invitation since PROP-006).PROP-016 (spec v0.2.1): นำเสนอการรับเข้าโรงงานเป็นเข้าโดยการเชิญ — เพิ่มหมายเหตุการรับเข้าบนข้อกำหนดการเริ่มใช้ของโรงงาน (WF-28, FR-70) แก้เชิงบรรณาธิการ/การนำเสนอ ไม่แก้โมเดล (mill.admission เป็น invitation ตั้งแต่ PROP-006) |
| 0.2.0 | 2026-07-13 | PROP-018 P3 (spec v0.4.0): generated Access contract (Section 3) — entitled surfaces, grantable role set and the functional-requirement index binding this capacity, rendered from the graph (federation.entitlementMatrix · roles · requirements).PROP-018 P3 (spec v0.4.0): เพิ่มสัญญาการเข้าถึงที่ generate (ข้อ 3) — surface ที่มีสิทธิ์ ชุด role ที่ให้ได้ และดัชนี functional requirement ที่ผูกพัน render จาก graph (federation.entitlementMatrix · roles · requirements) |
| 0.2.1 | 2026-07-13 | PROP-012 conformance (spec v0.4.1, patch): role lab_analyst retitled Quality officer (CCS re-note intake & matching) in the Access contract — the mill has no on-site lab (role id unchanged).ปรับตาม PROP-012 (spec v0.4.1, patch): role lab_analyst เปลี่ยนชื่อแสดงเป็น เจ้าหน้าที่คุณภาพ (รับและจับคู่ re-note CCS) ในสัญญาการเข้าถึง — โรงงานไม่มีแล็บ (id ของ role คงเดิม) |
| 0.2.2 | 2026-07-16 | PROP-029 (spec v0.6.0): FR-05 renamed — statutory 4-ply delivery note (แบบ อ. 1) on an impact printer replaces thermal print (A-36).PROP-029 (spec v0.6.0): เปลี่ยนชื่อ FR-05 — ใบรับอ้อย 4 สำเนาตามกฎหมาย (แบบ อ. 1) บนเครื่องพิมพ์ impact แทนพิมพ์ความร้อน (A-36) |
| 0.3.0 | 2026-07-24 | PROP-043 approved & applied (spec v0.24.0): the mill capacity gains the checkpoint surface (dedicated evidence-capture app on enrolled handheld print terminals) — entitled-surfaces line + entitlement column updated; +role checkpoint_staff (mill-employed, zero strategic keys, OQ-20); FR index +FR-188…195, FR-79 actor rewritten.PROP-043 อนุมัติและปรับใช้ (spec v0.24.0): capacity โรงงานได้ surface checkpoint; +role checkpoint_staff (พนักงานโรงงาน ไม่มี key กลยุทธ์, OQ-20); ดัชนี FR +FR-188…195 และแก้ actor ของ FR-79 |
| 0.4.0 | 2026-07-28 | PROP-060 applied — spec v0.32.0. FR-29 re-worded to "at queue entry" (the truck binds at ticket issuance in V1, at booking in v2) and FR-30 to "booking drawdown (QL-2+)": at QL-0 the daily cap is enforced reactively by QueueFrozen, with new NFR-111 (V1 capacity honesty) carrying the duty to publish capacity, headroom and freeze before a farmer cuts.apply PROP-060 — spec v0.32.0 แก้ถ้อยคำ FR-29 เป็น "ตอนเข้าคิว" และ FR-30 เป็น "การตัดยอดจากการจอง (QL-2+)"; ที่ QL-0 บังคับเพดานแบบตั้งรับด้วย QueueFrozen พร้อม NFR-111 ใหม่ |
| 0.5.0 | 2026-07-29 | PROP-063 applied — spec v0.34.0; PROP-034 abandoned in the same change set. The mill surface gains five binding requirements over out-of-turn release: FR-323 (V1 — a recorded reason category, a published daily ceiling, the release control blocked at the ceiling) and FR-324…FR-327 plus NFR-114 (V1) and NFR-115. Two constraints are new for the capacity: granting is a shift-level permission while publishing or raising a ceiling is a factory-settings permission with a second signature, never in the same session (PROP-063 D-6); and the mill product sells no place in the yard — QueuePolicy.priority_classes[] and QueueTicket.priority_class are retired, so no paid, earned or granted class may qualify a truck for an express release. Access contract and the binding FR index render from the graph, which is canonical.apply PROP-063 — spec v0.34.0 และยกเลิก PROP-034 surface โรงงานได้ FR-323…FR-327 กับ NFR-114/115 แยกสิทธิ์การให้สิทธิ์จากสิทธิ์ประกาศเพดาน (D-6) และ ไม่ขายที่ยืนในลาน — เลิกใช้ priority_classes[] และ priority_class |
| 0.6.0 | 2026-08-03 | PROP-075 approved & applied — spec v0.46.0. Editorial: the customer-profile line stops calling a tenant “an individual or organization tenant” — a tenant is a container (A-81, R-CONTAINER) and the registered legal body is a Department carrying a legal_form. department_id / department_path → department_* where cited.PROP-075 อนุมัติและ apply — spec v0.46.0 เชิงบรรณาธิการ: เลิกเรียก tenant ว่า tenant แบบบุคคลหรือองค์กร |
| 0.7.0 | 2026-08-03 | PROP-073 (spec v0.47.0): one word — Tenant. Party → Tenant, party_id (and every prefixed form) → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, party context/switcher → tenant context/switcher, cross-party → cross-tenant, organisation → organization, and ผู้เล่น retired as the Thai gloss (the Latin word tenant instead, R-THAI). Hold list untouched: counterparty · third party · tripartite working group · Person*/person_id; display codes and token claims were held by R-NULL for one release and then MOVED at v0.47.1 on client decision (C-1), because no token has ever been SIGNED — no auth exists in the built ocsb/ocsf prototypes — and the only printed codes were eight fixture strings in apps/ocsf/fund-shell.jsx, swept in the same pass: PTY- → TNT-, TCA- → TCA-, TQL- → TQL-, claim tnt → tnt, claim dep → dep. Carried in the same pass: the PROP-075 rectification — the retired directory noun domain becomes department (A-82 R-ONETREE), so one tree has one name.PROP-073 (spec v0.47.0): คำเดียว — Tenant Party → Tenant, party_id ทุกรูป → tenant_id, PartyCapacity/PartyQualification/PartyFounded → Tenant*, cross-party → cross-tenant และเลิกใช้ ผู้เล่น เป็นคำแทนวัตถุนี้ในภาษาไทย (ใช้คำละติน tenant ตาม R-THAI) รายการห้ามแตะไม่ถูกแตะ: คู่สัญญา · third party · คณะทำงานไตรภาคี · Person*/person_id; รหัสแสดงผลและ claim ถูก R-NULL คงไว้หนึ่งรุ่น แล้วย้ายที่ v0.47.1 ตามการตัดสินของลูกค้า (C-1) เพราะยังไม่มีโทเคนใดถูกลงนาม (ต้นแบบ ocsb/ocsf ที่สร้างแล้วไม่มีระบบ auth) และรหัสที่พิมพ์มีเพียงแปดสายใน apps/ocsf/fund-shell.jsx ซึ่งถูกกวาดในรอบเดียวกัน: PTY- → TNT-, TCA- → TCA-, TQL- → TQL-, claim tnt → tnt, claim dep → dep รอบเดียวกันแก้ค้างจาก PROP-075: คำนามไดเรกทอรีที่เลิกใช้ domain เปลี่ยนเป็น department (A-82 R-ONETREE) |
| 0.7.1 | 2026-08-03 | PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 as applicable): the identifiers v0.47.0 had held, moved on client decision. PTY-######## → TNT-######## · PCA-######## → TCA-######## · PQL-######## → TQL-######## · token claim pty → tnt · token claim dom → dep (v0.47.1, C-1 — R-NULL had held them as a stored VALUE and a wire format; reversed because no token has ever been signed and the only printed codes were fixture strings). quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2 — org is organization abbreviated, not a resemblance). The retired role LABEL swept as a phrase family and quota organization naming the tenant → quota group / กลุ่มโควตา (v0.47.3). All retired forms are in the FR-396 crosswalk and refused in new text by NFR-142.PROP-073 PATCH 1 (spec v0.47.1 / v0.47.2 / v0.47.3 ตามที่เกี่ยวข้อง): ตัวระบุที่ v0.47.0 คงไว้ ถูกย้ายตามการตัดสินของลูกค้า PTY- → TNT- · PCA- → TCA- · PQL- → TQL- · claim pty → tnt · claim dom → dep (v0.47.1, C-1) · quota_org_officer → quota_officer · lead_org_officer → lead_officer (v0.47.2, C-2) · ป้ายชื่อบทบาทที่เลิกใช้และ องค์กรโควตา ที่เรียก tenant → กลุ่มโควตา (v0.47.3) ทุกรูปที่เลิกใช้อยู่ในตารางแปลง FR-396 |
| 0.8.0 | 2026-08-20 | The NFC reusable queue coin — spec v0.80.0 (PROP-033 approved & applied 20 Aug 2026, MINOR MARKED BREAKING under A-120). Forty functional requirements land in the mill perspective (FR-568…FR-607) and sixteen non-functional ones are named (NFR-217…NFR-232): coin identity and the replaceable chip; custody as a binding with BOTH invariants in the database; the append-only tap carrying the tenants in force; the four checkpoints with an ASSIGNING coin tower; one ordering authority with idempotent ingestion, bounded clock drift and a declared partition-merge rule; the status-only binding-scoped driver page; the three-level degraded-mode rules with their authorizer and their consequences; the site package and the two hardware postures; the coin face and the rule that a printed mark grants nothing; and — from the 20 Aug 2026 decisions — CENTRAL Cane provisioning and permanent marking (FR-605), the Cane-operated tenant-scoped key regime (FR-606) and the certified-topology rule for the applied A-2 gateway posture (FR-607). Scope: the factory yard only — no transfer-station workflow and no transfer-station object. The application authorizes the product design only: no purchase order, marking run, site enrolment, procurement, pilot launch or production rollout.เหรียญคิว NFC ใช้ซ้ำได้ — spec v0.80.0 (PROP-033 อนุมัติและ apply 20 ส.ค. 2569, MINOR MARKED BREAKING ตาม A-120) ข้อกำหนดเชิงหน้าที่สี่สิบข้อลงในมุมมองโรงงาน (FR-568…FR-607) และเชิงคุณภาพสิบหกข้อถูกระบุ (NFR-217…NFR-232): อัตลักษณ์เหรียญและชิปที่เปลี่ยนได้; การครอบครองเป็นการผูกโดยข้อคงที่ทั้งสองอยู่ที่ฐานข้อมูล; การแตะแบบ append-only ที่พ่วงคู่กรณีที่มีผล; จุดตรวจสี่จุดโดยหอเหรียญกำหนดช่องเท; ผู้จัดลำดับหนึ่งเดียวพร้อมการรับเข้าแบบกันซ้ำ ความคลาดเคลื่อนนาฬิกาที่มีขอบเขต และกฎ merge ที่ประกาศไว้; หน้าจอคนขับแบบสถานะเท่านั้นที่จำกัดการผูก; กฎโหมดเสื่อมสามระดับพร้อมผู้อนุญาตและผลของมัน; ชุดติดตั้งต่อจุดและท่าทีฮาร์ดแวร์ทั้งสอง; หน้าเหรียญและกฎว่าเครื่องหมายที่พิมพ์ไม่ให้สิทธิ์ใด; และจากคำตัดสิน 20 ส.ค. 2569 — การเตรียมใช้งานและการทำเครื่องหมายถาวรที่ศูนย์กลางโดย Cane (FR-605) ระบบกุญแจที่ Cane ดำเนินการและผูกกับ tenant (FR-606) และกฎโครงสร้างที่ต้องรับรองสำหรับท่าที gateway A-2 ที่ใช้จริง (FR-607) ขอบเขต: ลานโรงงานเท่านั้น — ไม่มี workflow และไม่มี object ของสถานีขนถ่าย การ apply อนุญาตเฉพาะการออกแบบผลิตภัณฑ์: ไม่ใช่การสั่งซื้อ การเดินสายทำเครื่องหมาย การรับจุดติดตั้งเข้าใช้งาน การจัดซื้อ การเริ่มนำร่อง หรือการขยายสู่การผลิตจริง |