Cane Agency · Change Proposal (ACCEPTED & APPLIED — spec v0.25.0)สถาบันอ้อย · ข้อเสนอการเปลี่ยนแปลง (รับและ apply แล้ว — spec v0.25.0)
A FactoryGroup is a platform-verified container of mill tenants under common control. It is not a tenant that produces anything: it holds no quota, signs no delivery, posts no journal entry. It exists to be read from. Membership is a dated relationship, so the group's own history is always reconstructible (G5).
FactoryGroup คือภาชนะของ tenant โรงงานภายใต้อำนาจควบคุมเดียวกัน ที่ platform ตรวจยืนยัน มันไม่ใช่ tenant ที่ผลิตอะไร: ไม่ถือโควตา ไม่ลงนามการส่งมอบ ไม่บันทึกรายการบัญชี มันมีไว้เพื่อถูกอ่านจาก สมาชิกภาพเป็นความสัมพันธ์ที่มีวันที่ ทำให้ประวัติของกลุ่มสร้างย้อนได้เสมอ (G5)
| Elementองค์ประกอบ | Shape & ruleรูปทรงและกติกา |
|---|---|
| FactoryGroup | group_id · legal_name · brand_name? · ubo_ref (ultimate beneficial owner) · control_basis (shareholding | contract | same_ubo) · status (pending | verified | suspended | dissolved) · verified_by · verified_at · entitlement_state. Verified by the platform operator, two-act (WF-30 family).group_id · legal_name · brand_name? · ubo_ref · control_basis · status · verified_by · verified_at · entitlement_state ตรวจยืนยันโดย operator ของ platform แบบสอง act (ตระกูล WF-30) |
| GroupMembership | group_id · mill_id · effective_from · effective_to? · admission_evidence_ref · admitted_by · exit_reason?. UNIQUE (mill_id) over open intervals — a mill belongs to at most one group at a time; overlapping memberships are rejected, not merged.group_id · mill_id · effective_from · effective_to? · admission_evidence_ref · admitted_by · exit_reason? UNIQUE (mill_id) บนช่วงที่เปิด — โรงงานอยู่ได้ หนึ่ง กลุ่มในเวลาหนึ่ง; สมาชิกภาพทับซ้อนถูกปฏิเสธ ไม่ใช่รวมกัน |
| Tenant & root domain (D-3)tenant และโดเมนราก (D-3) | The verified group is the tenant, and its root domain is the group head office: FactoryGroup gains root_domain_path + directory_state. The tenant root is the isolation boundary (G6) and the only place a group-wide grant may originate (Section 7).กลุ่มที่ตรวจยืนยันแล้วคือ tenant และโดเมนรากคือสำนักงานใหญ่ของกลุ่ม: FactoryGroup เพิ่ม root_domain_path + directory_state รากของ tenant เป็นขอบการแยก (G6) และเป็นที่เดียวที่ grant ระดับกลุ่มเกิดได้ (ข้อ 7) |
| Domain | domain_id · tenant_id · parent_domain_id? · domain_path · kind (root | site) · mill_id? · status. A site domain is one factory (mill_id 1:1); the root domain holds no factory. Depth beyond root → site is allowed only to mirror a real holding chain or declared region (OQ-14). Joining a group re-parents a domain — no data moves (DR-6).domain_id · tenant_id · parent_domain_id? · domain_path · kind (root | site) · mill_id? · status โดเมนไซต์คือโรงงานหนึ่งแห่ง (mill_id 1:1); โดเมนรากไม่มีโรงงาน ความลึกเกินราก → ไซต์ ทำได้เฉพาะเพื่อสะท้อนห่วงโซ่การถือหุ้นจริงหรือภูมิภาคที่ประกาศไว้ (OQ-14) การเข้ากลุ่มคือการย้ายรากของโดเมน — ไม่มีการย้ายข้อมูล (DR-6) |
| LegalEntity | entity_id · legal_name · registration_no (DBD) · tax_id · entity_role (operating | holding | parent) · status. The company, distinct from the factory: one entity may own several mill tenants (L-1 branches), or each mill may be its own entity (L-2/L-3). Mill gains legal_entity_id + optional branch_code (Thai tax branch numbering) — the operational tenant is unchanged, it simply now declares whose books it belongs to.entity_id · legal_name · registration_no (DBD) · tax_id · entity_role · status คือบริษัท ต่างจากโรงงาน: หนึ่งนิติบุคคลเป็นเจ้าของ tenant โรงงานหลายแห่งได้ (L-1 สาขา) หรือแต่ละโรงเป็นนิติบุคคลของตน (L-2/L-3) Mill เพิ่ม legal_entity_id และ branch_code (เลขสาขาทางภาษี) — tenant เชิงปฏิบัติการไม่เปลี่ยน เพียงประกาศว่าอยู่ในสมุดบัญชีของใคร |
| OwnershipEdge | from_entity · to_entity · pct_voting · pct_economic? · effective_from · effective_to? · evidence_ref. A dated directed graph — it expresses a parent's holdings, a subsidiary chain, and cross-holdings between factories. Control is derived from this graph, never typed in by hand (OQ-10).from_entity · to_entity · pct_voting · pct_economic? · effective_from · effective_to? · evidence_ref กราฟทิศทางที่มีวันที่ — แสดงการถือหุ้นของบริษัทแม่ ห่วงโซ่บริษัทลูก และการถือหุ้นไขว้ระหว่างโรงงาน อำนาจควบคุม คำนวณ จากกราฟนี้ ไม่ใช่กรอกมือ (OQ-10) |
| Control testบททดสอบอำนาจควบคุม | Control, evidenced — >50% of voting rights, or a documented same-ultimate-beneficial-owner relation, or a control contract. Evidence: DBD company extract + shareholder list per member, dated within 12 months, re-attested each season. Minority stakes and alliances fail the test (G1). OQ-1อำนาจควบคุมที่มีหลักฐาน — สิทธิออกเสียง >50% หรือความสัมพันธ์เจ้าของผู้รับประโยชน์สูงสุดเดียวกันที่มีเอกสาร หรือสัญญาควบคุม หลักฐาน: หนังสือรับรอง DBD + บัญชีผู้ถือหุ้นรายสมาชิก อายุไม่เกิน 12 เดือน ยืนยันซ้ำทุกฤดูกาล การถือหุ้นข้างน้อยและพันธมิตรไม่ผ่าน (G1) OQ-1 |
| Formationการตั้งกลุ่ม | WF-76: the owner applies (from any member mill's portal, by its owner-grade role) → operator verifies evidence → two-act approval → FactoryGroupVerified. Every member mill's admin sees a notice; nothing is consolidated before verification.WF-76: เจ้าของยื่นคำขอ (จาก portal ของโรงงานสมาชิกใดก็ได้ โดย role ระดับเจ้าของ) → operator ตรวจหลักฐาน → อนุมัติสอง act → FactoryGroupVerified ผู้ดูแลของทุกโรงงานสมาชิกเห็นการแจ้ง; ไม่มีการรวมก่อนการตรวจยืนยัน |
| Admission / divestmentการรับเข้า / การขายออก | WF-77, two-act, evidence-bearing: admission opens a membership interval from a stated date (never retro past an already-published group statement); divestment closes it. Mid-season restructuring is allowed and is always a dated interval change — the consolidation re-cuts forward only (G5).WF-77 สอง act พร้อมหลักฐาน: การรับเข้าเปิดช่วงสมาชิกจากวันที่ระบุ (ไม่ย้อนหลังงบกลุ่มที่เผยแพร่แล้ว); การขายออกปิดช่วง การปรับโครงสร้างกลางฤดูทำได้ และเสมอเป็นการเปลี่ยนช่วงวันที่ — การรวมตัดใหม่เฉพาะไปข้างหน้า (G5) |
| Group typeชนิดของกลุ่ม | group_type is derived from the topology of its members, not chosen: single_entity (all member mills share one legal_entity_id) · parent_subsidiary (distinct entities under a controlling parent) · mixed (both, incl. cross-holdings). The type changes what consolidation means (Section 5) and what the group may sign (Section 11).group_type คำนวณจากโครงสร้างของสมาชิก ไม่ใช่เลือก: single_entity (โรงงานสมาชิกใช้ legal_entity_id เดียวกัน) · parent_subsidiary (นิติบุคคลต่างกันใต้บริษัทแม่ที่ควบคุม) · mixed (ทั้งสองแบบ รวมการถือหุ้นไขว้) ชนิดนี้เปลี่ยนความหมายของการรวมบัญชี (ข้อ 5) และสิ่งที่กลุ่มลงนามได้ (ข้อ 11) |
| Dissolutionการเลิกกลุ่ม | Group status → dissolved; the read model is retired and its published statement PDFs are retained per the books retention rule. Member mills are untouched (G4).สถานะกลุ่ม → dissolved; read model ถูกปลด และ PDF งบที่เผยแพร่เก็บตามกติกาการเก็บรักษาสมุดบัญชี โรงงานสมาชิกไม่ถูกแตะ (G4) |
Three legal topologies, one platform shape (D-2). The operational tenant is always the factory — a weighbridge, a quota register and a queue do not care about company law. What company law decides is whose books a factory posts into, who signs a contract, and whether a movement between two factories is an internal transfer or a taxable sale. So the platform keeps one tenant model and carries the legal shape in the LegalEntity + OwnershipEdge layer above it.
สามโครงสร้างกฎหมาย หนึ่งรูปทรง platform (D-2) tenant เชิงปฏิบัติการคือโรงงานเสมอ — เครื่องชั่ง ทะเบียนโควตา และคิว ไม่สนใจกฎหมายบริษัท สิ่งที่กฎหมายบริษัทตัดสินคือสมุดบัญชีของใครที่โรงงานลงบัญชี ใครลงนามสัญญา และการเคลื่อนย้ายระหว่างสองโรงงานเป็นการโอนภายในหรือการขายที่มีภาษี ดังนั้น platform คงโมเดล tenant เดียว และเก็บรูปทางกฎหมายไว้ในชั้น LegalEntity + OwnershipEdge เหนือมัน
| Topologyโครงสร้าง | Realityความเป็นจริง | Platform consequenceผลต่อ platform |
|---|---|---|
| L-1 Branches of one companyสาขาของบริษัทเดียว | Several factories are branches (สาขา) of a single juristic person: one registration, one tax id with branch codes, one set of statutory books, one VAT filer.หลายโรงงานเป็นสาขาของนิติบุคคลเดียว: จดทะเบียนเดียว เลขภาษีเดียวพร้อมเลขสาขา สมุดบัญชีตามกฎหมายชุดเดียว ผู้ยื่น VAT รายเดียว | Each factory stays its own mill tenant (own weighbridge, quota, queue), but all point at one LegalEntity. Control is definitional — no shareholding evidence needed beyond the DBD branch record. Combination is internal aggregation, not consolidation: cane or funds moving between branches is an internal transfer at cost with no tax invoice, eliminated as a transfer; documents carry the branch code (OQ-9).แต่ละโรงงานยังเป็น tenant ของตน (เครื่องชั่ง โควตา คิวของตน) แต่ชี้ไปที่ LegalEntity เดียว อำนาจควบคุมเป็นไปโดยนิยาม — ไม่ต้องมีหลักฐานการถือหุ้นเกินกว่าทะเบียนสาขา DBD การรวมเป็นการรวมภายใน ไม่ใช่งบรวม: อ้อยหรือเงินที่เคลื่อนระหว่างสาขาเป็นการโอนภายในตามราคาทุน ไม่มีใบกำกับภาษี ตัดออกเป็นการโอน; เอกสารระบุเลขสาขา (OQ-9) |
| L-2 Parent + subsidiariesบริษัทแม่ + บริษัทลูก | Each factory is its own company; a parent (often a holding company) controls them. Separate registrations, separate tax ids, separate statutory books, real invoices between them.แต่ละโรงงานเป็นบริษัทของตน; บริษัทแม่ (มักเป็น holding) ควบคุม จดทะเบียนแยก เลขภาษีแยก สมุดบัญชีแยก และมีใบกำกับภาษีจริงระหว่างกัน | The classic FactoryGroup: control derived from the OwnershipEdge chain (direct and indirect), consolidation is true elimination of intercompany sales/balances at their invoiced amounts, and the group's counterparty for contracts is the parent (Section 11).FactoryGroup แบบคลาสสิก: อำนาจควบคุมคำนวณจากห่วงโซ่ OwnershipEdge (ทางตรงและทางอ้อม) การรวมคือการตัดรายการระหว่างบริษัทตามยอดในใบกำกับ และคู่สัญญาของกลุ่มคือบริษัทแม่ (ข้อ 11) |
| L-3 Cross-holdingsการถือหุ้นไขว้ | Factories hold shares in each other, sometimes circularly, sometimes with no single parent — the messy real case, often mixed with L-1 branches inside one member.โรงงานถือหุ้นกันเอง บางครั้งเป็นวง บางครั้งไม่มีบริษัทแม่รายเดียว — กรณีจริงที่ยุ่ง และมักผสมกับสาขาแบบ L-1 ภายในสมาชิกหนึ่ง | Resolved by computing control over the dated graph: direct votes plus indirect chains (multiplied), circular self-holdings excluded from the denominator; a group forms only where one controlling apex (an entity or a natural-person UBO) emerges. Where none does — a true 50/50 or a ring with no apex — the platform declines the group and says so; that is an alliance, and G1 keeps the wall (OQ-10).แก้ด้วยการคำนวณอำนาจควบคุมบนกราฟที่มีวันที่: เสียงทางตรงบวกห่วงโซ่ทางอ้อม (คูณกัน) ตัดการถือหุ้นวนในตัวเองออกจากตัวหาร; กลุ่มก่อตัวเฉพาะเมื่อมียอดควบคุมหนึ่งเดียว (นิติบุคคลหรือบุคคลธรรมดาที่เป็น UBO) หากไม่มี — 50/50 จริง หรือวงที่ไม่มียอด — platform ปฏิเสธการตั้งกลุ่มและแจ้งเหตุผล; นั่นคือพันธมิตร และ G1 คงกำแพงไว้ (OQ-10) |
Recommendation, taken as the design basis: a dedicated surface group rather than a mode of the mill portal. The reasons are structural, not cosmetic — its data comes from a derived read model rather than one tenant (G4); its roles are group-scoped and must never inherit a mill role's write powers (G2); and a "mode" inside the portal would put group facts one CSS mistake away from a mill screen. It reuses the portal shell chrome (AppShell, dense tables) so it is familiar, and it is the twelfth surface's sibling, not its variant. OQ-2
ข้อเสนอแนะที่ใช้เป็นฐานออกแบบ: surface เฉพาะ group ไม่ใช่โหมดของ portal โรงงาน เหตุผลเป็นเชิงโครงสร้าง ไม่ใช่ความสวยงาม — ข้อมูลมาจาก read model อนุพันธ์ ไม่ใช่ tenant เดียว (G4); role เป็นขอบเขตกลุ่มและต้องไม่สืบอำนาจเขียนของ role โรงงาน (G2); และ "โหมด" ใน portal จะทำให้ข้อเท็จจริงของกลุ่มห่างจากหน้าจอโรงงานเพียงความผิดพลาด CSS เดียว มันใช้เปลือก portal เดิม (AppShell ตารางหนาแน่น) เพื่อความคุ้นเคย และเป็นพี่น้องของ surface ที่สิบสอง ไม่ใช่ตัวแปรของมัน OQ-2
| Rolerole | Seesเห็น | Screensหน้าจอ |
|---|---|---|
| group_owner | Everything the group is entitled to; the only role that may apply for admission/divestment and grant group roles. Never a write path into a mill.ทุกสิ่งที่กลุ่มมีสิทธิ; role เดียวที่ยื่นรับเข้า/ขายออกและให้ role กลุ่มได้ ไม่มีเส้นทางเขียนเข้าโรงงาน | grp-01 group overview (KPI wall)ภาพรวมกลุ่ม (ผนัง KPI) |
| group_finance | Consolidated management statements, per-factory books summaries, eliminations, period status. Amount-bearing.งบบริหารรวม สรุปสมุดบัญชีรายโรงงาน การตัดรายการ สถานะงวด มีตัวเลขเงิน | grp-02 consolidated statements ·งบรวม · grp-03 eliminations & mappingการตัดรายการและ mapping |
| group_analyst | Performance, intake, queue health, fleet exposure — aggregates only, no amounts unless separately keyed.ผลงาน การรับอ้อย สุขภาพคิว ภาระกองรถ — ค่ารวมเท่านั้น ไม่เห็นตัวเงินหากไม่ได้รับกุญแจแยก | grp-04 performance ·ผลงาน · grp-05 group fleetกองรถกลุ่ม |
| group_admin | The tenant's federation administrator (D-3): the domain tree, directory groups, delegated grants, membership evidence, audit log. No business data.ผู้ดูแล federation ของ tenant (D-3): ต้นไม้โดเมน กลุ่มไดเรกทอรี grant ที่มอบอำนาจ หลักฐานสมาชิกภาพ บันทึกตรวจสอบ ไม่เห็นข้อมูลธุรกิจ | grp-06 group & membership admin ·ผู้ดูแลกลุ่มและสมาชิกภาพ · grp-07 directory & delegationไดเรกทอรีและการมอบอำนาจ |
Identity: one Person, an additional Membership in the group capacity — the same federation machinery as every other capacity (PROP-005). A head-office CFO who also holds a mill finance role holds two memberships and switches capacity explicitly; the group capacity never silently escalates a mill session. Drill-down from a group KPI opens a read-only group-rendered factory slice, never a mill portal session. Under D-3 the token additionally carries the active domain: one account, one tenant, exactly one active domain path, and a permission set compiled for that domain from the account's own grants unioned with its directory groups' (Section 7).
อัตลักษณ์: Person เดียว มี Membership เพิ่มใน capacity กลุ่ม — กลไก federation เดียวกับทุก capacity (PROP-005) CFO สำนักงานใหญ่ที่ถือ role การเงินโรงงานด้วยจะมีสองสมาชิกภาพและสลับ capacity อย่างชัดแจ้ง; capacity กลุ่มไม่ยกระดับ session โรงงานโดยเงียบ การเจาะลงจาก KPI กลุ่มเปิดส่วนของโรงงานที่กลุ่ม render แบบอ่านอย่างเดียว ไม่ใช่ session ของ portal โรงงาน ตาม D-3 token ยังบรรทุกโดเมนที่ใช้งานอยู่ด้วย: หนึ่งบัญชี หนึ่ง tenant หนึ่ง domain path ที่ใช้งาน และชุดสิทธิ์ที่คอมไพล์สำหรับโดเมนนั้นจาก grant ของบัญชีเองรวมกับ grant ของกลุ่มไดเรกทอรีที่บัญชีอยู่ (ข้อ 7)
Each member mill keeps its own chart of accounts, its own posting map and its own period lifecycle (PROP-023, applied v0.16.0). The group does not get a fourth book. Consolidation is a management view, produced by a deterministic run over member trial balances: map → eliminate → aggregate → present. It is explicitly not a book of record and does not claim TFRS-compliant statutory consolidation; what the platform provides for the auditor is a reproducible export pack (mapping, eliminations, source trial balances, run manifest). OQ-3
โรงงานสมาชิกแต่ละแห่งคงผังบัญชี posting map และวงจรงวดของตน (PROP-023 ใช้แล้ว v0.16.0) กลุ่มไม่ได้สมุดเล่มที่สี่ การรวมเป็นมุมมองบริหาร ที่ผลิตจากการรัน deterministic บนงบทดลองของสมาชิก: map → ตัดรายการ → รวม → นำเสนอ มันไม่ใช่สมุดทางการและไม่อ้างการจัดทำงบรวมตามมาตรฐาน สิ่งที่ platform ให้ผู้สอบบัญชีคือชุด export ที่ทำซ้ำได้ (mapping การตัดรายการ งบทดลองต้นทาง manifest ของการรัน) OQ-3
| Mechanismกลไก | Designการออกแบบ |
|---|---|
| GroupChartMap | Member account → group reporting line, versioned and dated. Charts are not forced into alignment (a member's chart is its own governance); unmapped accounts land in a visible "unmapped" line and block publication until resolved.บัญชีสมาชิก → บรรทัดรายงานของกลุ่ม มีเวอร์ชันและวันที่ ผังบัญชีไม่ถูกบังคับให้เหมือนกัน (ผังของสมาชิกเป็นการกำกับของเขาเอง); บัญชีที่ไม่ได้ map ลงบรรทัด "ยังไม่ map" ที่มองเห็นได้ และ block การเผยแพร่จนแก้ไข |
| Topology rule (D-2)กติกาตามโครงสร้าง (D-2) | What a run produces depends on group_type. L-1 single entity: the member mills are branches of one book — the run is a combined branch report (per-branch columns + entity total), internal transfers eliminated at cost, and the result is closer to a book of record because the legal entity really does report that total. L-2/L-3: a management consolidation across separate books, intercompany transactions eliminated at invoiced amounts, non-controlling interests disclosed but not accounted (OQ-3, OQ-11). A mixed group runs L-1 combination inside each entity first, then consolidates the entities.ผลของการรันขึ้นกับ group_type L-1 นิติบุคคลเดียว: โรงงานสมาชิกเป็นสาขาของสมุดเล่มเดียว — การรันคือรายงานรวมสาขา (คอลัมน์รายสาขา + ยอดนิติบุคคล) ตัดการโอนภายในตามราคาทุน และผลใกล้เคียงสมุดทางการ เพราะนิติบุคคลรายงานยอดนั้นจริง L-2/L-3: การรวมเชิงบริหารข้ามสมุดที่แยกกัน ตัดรายการระหว่างบริษัทตามยอดใบกำกับ เปิดเผยส่วนได้เสียที่ไม่มีอำนาจควบคุมแต่ไม่บันทึกบัญชี (OQ-3, OQ-11) กลุ่ม mixed รวมสาขาในแต่ละนิติบุคคลก่อน แล้วจึงรวมระหว่างนิติบุคคล |
| InterCompanyRule | Declared elimination pairs between member mills (cane sold between group factories, shared services, intra-group funding). Matching is by counterparty party_id + document reference; unmatched pairs surface as a reconciliation exception, never a silent plug.คู่การตัดรายการที่ประกาศไว้ระหว่างโรงงานสมาชิก (อ้อยที่ขายระหว่างโรงงานกลุ่ม บริการร่วม เงินทุนภายในกลุ่ม) จับคู่ด้วย party_id คู่สัญญา + เลขที่เอกสาร; คู่ที่ไม่จับได้แสดงเป็นข้อยกเว้นกระทบยอด ไม่ใช่การอุดเงียบ |
| GroupPeriod | A group period is the union of member fiscal periods with the same calendar bounds. A run over any open member period is stamped provisional; a final run requires every member period closed (PROP-023 lifecycle). Provisional and final are visually distinct and separately audited.งวดกลุ่มคือการรวมงวดบัญชีของสมาชิกที่มีขอบปฏิทินเดียวกัน การรันบนงวดสมาชิกที่ยังเปิดถูกประทับ provisional; การรัน final ต้องปิดทุกงวดสมาชิก (วงจรของ PROP-023) provisional และ final แยกกันชัดเจนทั้งการแสดงและการตรวจสอบ |
| GroupConsolidation | One immutable run: inputs snapshot (member trial balances + map version + rule version), outputs the consolidated P&L, balance sheet and cash view, plus per-factory columns. Re-running identical inputs must produce byte-identical output (NFR). Money in baht, 2 dp (A-43).หนึ่งการรันที่เปลี่ยนไม่ได้: snapshot ปัจจัยนำเข้า (งบทดลองสมาชิก + เวอร์ชัน map + เวอร์ชันกติกา) ให้ผลเป็นงบกำไรขาดทุน ฐานะการเงิน และมุมมองเงินสดแบบรวม พร้อมคอลัมน์รายโรงงาน การรันซ้ำด้วยปัจจัยเดิมต้องได้ผลเหมือนกันทุก byte (NFR) เงินเป็นบาท ทศนิยม 2 ตำแหน่ง (A-43) |
Every group metric is an aggregate of member facts, computed per factory and rolled up — never a row about a farmer, a truck's owner or a single delivery (G3). The dataset list below is the day-one set; each cell is membership-period-clipped (G5).
ทุกตัวชี้วัดของกลุ่มเป็นค่ารวมของข้อเท็จจริงสมาชิก คำนวณรายโรงงานแล้วรวมขึ้น — ไม่ใช่แถวเกี่ยวกับชาวไร่ เจ้าของรถ หรือการส่งมอบรายการเดียว (G3) รายการชุดข้อมูลด้านล่างคือชุดวันแรก แต่ละช่องถูกตัดตามช่วงสมาชิกภาพ (G5)
| Datasetชุดข้อมูล | Content & sourceเนื้อหาและแหล่ง |
|---|---|
| grp.production | Crushing throughput per line/day/season, downtime and utilisation, CCS distribution by factory (PROP-032 capacity + quality context).กำลังหีบรายไลน์/วัน/ฤดู downtime และการใช้กำลัง การกระจาย CCS รายโรงงาน (กำลังหีบ PROP-032 + context คุณภาพ) |
| grp.intake | Tonnes received, queue health (wait times, no-show rate, walk-in share), checkpoint registration volume (PROP-043) — factory-level aggregates.ตันที่รับ สุขภาพคิว (เวลารอ อัตราไม่มาตามนัด สัดส่วน walk-in) ปริมาณการลงทะเบียน checkpoint (PROP-043) — ค่ารวมระดับโรงงาน |
| grp.payments | Settlement discipline against NFR-27, payout run status, outstanding payables, credit exposure (financing context) — amounts, so amount-keyed.วินัยการชำระเทียบ NFR-27 สถานะรอบจ่าย เจ้าหนี้คงค้าง ภาระสินเชื่อ (context financing) — เป็นตัวเงิน จึงต้องมีกุญแจตัวเงิน |
| grp.strategic | Strategic-payment cost and secured volume per factory (PROP-022/044 datasets) — behind the NFR-21 wall and the applied str_* keys; aggregated by default under grp_amounts. Per-farmer agreement detail is a separate, explicitly keyed drill-through (grp_str_agreements), one member factory at a time, membership-period clipped, audited per read and never joined across factories — the client's OQ-5 amendment.ต้นทุนค่าอ้อยกลยุทธ์และปริมาณที่ล็อกได้รายโรงงาน (ชุดข้อมูล PROP-022/044) — อยู่หลังกำแพง NFR-21 และกุญแจ str_* ที่ใช้แล้ว; โดยปริยายเป็นค่ารวมภายใต้ grp_amounts รายละเอียดข้อตกลงรายชาวไร่เป็นการเจาะดูแยกที่ต้องมีกุญแจเฉพาะ (grp_str_agreements) ทีละโรงงานสมาชิก ตัดตามช่วงสมาชิกภาพ บันทึกตรวจสอบทุกการอ่าน และไม่รวมข้ามโรงงาน — การแก้ไข OQ-5 ของลูกค้า |
| grp.fleet | Group-scoped fleet exposure over PROP-025's master layer: trucks with at least one delivery to a member mill inside its membership period, duplicate/merge health, plate-change declarations. No master-level finding about any non-member factory ever appears (PROP-025 OQ-2).ภาระกองรถขอบเขตกลุ่มบนชั้น master ของ PROP-025: รถที่มีการส่งมอบอย่างน้อยหนึ่งครั้งกับโรงงานสมาชิกภายในช่วงสมาชิกภาพ สุขภาพการซ้ำ/ควบรวม การแจ้งเปลี่ยนทะเบียน ไม่มีสิ่งที่พบระดับ master เกี่ยวกับโรงงานที่ไม่ใช่สมาชิกปรากฏเลย (OQ-2 ของ PROP-025) |
Client direction D-3 fixes the shape of the group, and D-4 fixes its relationship to the existing specification. A factory group is not a container read from outside: it is a single tenant that operates as a directory. The root domain is the group head office; each factory is a site domain beneath it; the tenant's federation administrator is group management; an account in the parent domain may hold rights over several child domains, each equivalent to one factory; and an account's effective permission is what it holds directly plus what the directory groups it is assigned to hold. The reference model is Microsoft Windows Active Directory — the platform adopts its authorization structure (domain tree, security groups, delegated administration, inheritance with deny-override) and none of its protocols.
คำสั่งลูกค้า D-3 ตรึงรูปของกลุ่ม และ D-4 ตรึงความสัมพันธ์ของมันกับข้อกำหนดที่มีอยู่ กลุ่มโรงงานไม่ใช่ภาชนะที่ถูกอ่านจากภายนอก แต่คือ tenant เดียวที่ทำงานเป็นไดเรกทอรี โดเมนรากคือสำนักงานใหญ่ของกลุ่ม แต่ละโรงงานเป็นโดเมนไซต์ใต้ลงไป ผู้ดูแล federation ของ tenant คือฝ่ายบริหารกลุ่ม บัญชีในโดเมนแม่ถือสิทธิ์เหนือโดเมนลูกหลายโดเมนได้ ซึ่งแต่ละโดเมนเท่ากับหนึ่งโรงงาน และสิทธิ์ที่บัญชีใช้ได้จริงคือสิ่งที่บัญชีถือโดยตรง บวก สิ่งที่กลุ่มไดเรกทอรีที่บัญชีอยู่ถือไว้ ต้นแบบคือ Microsoft Windows Active Directory — platform รับโครงสร้างการให้สิทธิ์ (ต้นไม้โดเมน กลุ่มความปลอดภัย การมอบอำนาจดูแล การสืบทอดที่การปฏิเสธชนะ) และไม่รับ protocol ใดของมัน
Per D-4 this is an expansion of PROP-005, not a parallel model: Person · Membership · Party · SurfaceRoleGrant · PermissionCatalog · RolePermission all stay exactly as applied; the directory adds the relationships they were missing — a place (domain) for a grant to point at, and a set (directory group) for a grant to be inherited from. The subsections below give the reference model (7.1), the binding rules (7.2), the identity extension (7.3), per-tenant permission authority (7.4), resolution (7.5), the amended six-layer model and token (7.6), delegation and audit (7.7) and migration (7.8).
ตาม D-4 นี่คือการขยาย PROP-005 ไม่ใช่ model ขนาน: Person · Membership · Party · SurfaceRoleGrant · PermissionCatalog · RolePermission คงเดิมทั้งหมดตามที่ใช้แล้ว; ไดเรกทอรีเพิ่มความสัมพันธ์ที่ยังขาด — ที่ (โดเมน) ให้ grant ชี้ไป และชุด (กลุ่มไดเรกทอรี) ให้ grant ถูกสืบทอดมา หัวข้อย่อยด้านล่างให้ต้นแบบอ้างอิง (7.1) กติกาที่ผูกพัน (7.2) การขยายอัตลักษณ์ (7.3) อำนาจกำหนดสิทธิ์ราย tenant (7.4) การตัดสินสิทธิ์ (7.5) model หกชั้นและ token ที่แก้แล้ว (7.6) การมอบอำนาจและการตรวจสอบ (7.7) และการย้ายเข้าสู่ model (7.8)
| Active DirectoryActive Directory | Cane Agency federationfederation ของสถาบันอ้อย | Rule it carriesกติกาที่มันแบก |
|---|---|---|
| Forest / schema | The platform federation — one schema, every tenantfederation ของ platform — schema เดียว ทุก tenant | No cross-forest trust exists: tenants never trust each other (NFR-65).ไม่มีความเชื่อถือข้าม forest: tenant ไม่เชื่อถือกัน (NFR-65) |
| Domain tree root | Tenant root domain = group head office (FactoryGroup.root_domain_path)โดเมนรากของ tenant = สำนักงานใหญ่กลุ่ม (FactoryGroup.root_domain_path) | The isolation boundary, and the only place a group-wide grant may originate.ขอบการแยก และเป็นที่เดียวที่ grant ระดับกลุ่มเกิดได้ |
| Child domain | Site domain = one factory (Domain.kind = site, 1:1 with the mill Party)โดเมนไซต์ = หนึ่งโรงงาน (Domain.kind = site 1:1 กับ Party ของโรงงาน) | Operational data stays in the domain that produced it (DR-6).ข้อมูลปฏิบัติการอยู่ในโดเมนที่ผลิตมัน (DR-6) |
| Organizational unit | The factory's internal structure — stations, departments, zonesโครงสร้างภายในโรงงาน — สถานี แผนก โซน | Modelled by the existing scope axes (FR-65), not as an OU tree. We do not rebuild a second hierarchy.ใช้แกนขอบเขตที่มีอยู่ (FR-65) ไม่ใช่ต้นไม้ OU ไม่สร้างลำดับชั้นที่สอง |
| Security group | DirectoryGroup — a permission-bearing set of memberships, scoped to named domain pathsDirectoryGroup — ชุดสมาชิกภาพที่ถือสิทธิ์ ผูกกับ domain path ที่ระบุ | This is the client's "permissions the account is associated with through the group it is assigned to" (DR-3, OQ-16).นี่คือ "สิทธิ์ที่บัญชีได้จากกลุ่มที่ถูกกำหนดให้อยู่" ตามที่ลูกค้าระบุ (DR-3, OQ-16) |
| User account | Person + Membership — PROP-005, unchangedPerson + Membership — PROP-005 ไม่เปลี่ยน | Federated once at tenant level; resolves per domain, exactly one active domain per token.federate ครั้งเดียวระดับ tenant; resolve รายโดเมน หนึ่งโดเมนที่ใช้งานต่อ token |
| Domain Admins / Enterprise Admins | mill_admin at a site domain, versus the root group grp_enterprise_adminmill_admin ที่โดเมนไซต์ เทียบกับกลุ่มระดับราก grp_enterprise_admin | Only the root group is inherited into every child domain — and it is disclosed there (DR-2, OQ-13).มีเพียงกลุ่มระดับรากที่สืบทอดเข้าทุกโดเมนลูก และต้องเปิดเผยที่นั่น (DR-2, OQ-13) |
| Group Policy (GPO) | Policy & permission-set templates the root publishes for factories to adoptต้นแบบนโยบายและชุดสิทธิ์ที่รากเผยแพร่ให้โรงงานรับไปใช้ | Adoption is the factory's act, never a push (the PROP-034 template precedent, X-2).การรับไปใช้เป็นการกระทำของโรงงาน ไม่ใช่การ push (บรรทัดฐานต้นแบบของ PROP-034, X-2) |
| Trust relationship | The X1–X4 cross-party mechanisms of SPEC-PWF-FEDกลไกข้ามผู้เล่น X1–X4 ของ SPEC-PWF-FED | Unchanged, and never transitive — a group is not a trust broker for its factories' counterparties.ไม่เปลี่ยน และไม่ส่งต่อ — กลุ่มไม่ใช่นายหน้าความเชื่อถือให้คู่ค้าของโรงงาน |
| distinguishedName / SID | domain_path (DNS-shaped, human-readable) + immutable domain_iddomain_path (รูปแบบ DNS อ่านได้) + domain_id ที่เปลี่ยนไม่ได้ | Renaming or rebranding a factory never changes its identity, its grants or its history.การเปลี่ยนชื่อหรือแบรนด์ของโรงงานไม่เปลี่ยนอัตลักษณ์ grant หรือประวัติของมัน |
Deliberately not taken: LDAP and Kerberos wire protocols, GPO file/registry distribution, machine accounts, forest trusts, replication topology, customer schema extension. Authentication stays OIDC + OTP with JWE tokens exactly as PROP-005 Section 7 specifies. We take the authorization shape, not the operating system.
สิ่งที่ไม่รับโดยเจตนา: protocol LDAP และ Kerberos การกระจายไฟล์/registry ของ GPO บัญชีเครื่อง ความเชื่อถือข้าม forest โครงสร้างการทำสำเนา และการขยาย schema โดยลูกค้า การพิสูจน์ตัวตนยังเป็น OIDC + OTP พร้อม token JWE ตามข้อ 7 ของ PROP-005 เรารับรูปทรงการให้สิทธิ์ ไม่ใช่ระบบปฏิบัติการ
The federation service already answers "who are you, for whom are you acting, and what may you do there". What it cannot express today is where — a grant has no place to point at other than the whole party — and through what — a grant can only be held by one membership, never by a set. The directory adds exactly those two relationships and nothing else.
บริการ federation ตอบได้แล้วว่า "คุณเป็นใคร ทำหน้าที่แทนใคร และทำอะไรได้ที่นั่น" สิ่งที่ยังบอกไม่ได้วันนี้คือที่ไหน — grant ไม่มีที่ชี้ไปนอกจากทั้งผู้เล่น — และผ่านอะไร — grant ถือได้โดยสมาชิกภาพเดียว ไม่ใช่โดยชุด ไดเรกทอรีเพิ่มความสัมพันธ์สองอย่างนี้เท่านั้น
| PROP-005 element (applied)องค์ประกอบ PROP-005 (ใช้แล้ว) | Extensionการขยาย |
|---|---|
| Party | Unchanged as the unit of legal identity. A factory keeps its own Party (it signs its own contracts, holds its own quota); the group is also a Party — with the new group capacity — and its Party is the tenant root. Party is not collapsed: D-3's "single tenant" is a directory statement, not a merger of legal persons (Section 3, L-1…L-3).ไม่เปลี่ยน ยังเป็นหน่วยอัตลักษณ์ทางกฎหมาย โรงงานคง Party ของตน (ลงนามสัญญาเอง ถือโควตาเอง); กลุ่มก็เป็น Party — ด้วย capacity group ใหม่ — และ Party ของกลุ่มคือรากของ tenant ไม่มีการยุบ Party: "tenant เดียว" ตาม D-3 เป็นคำกล่าวเรื่องไดเรกทอรี ไม่ใช่การรวมนิติบุคคล (ข้อ 3, L-1…L-3) |
| Person · Membership | Unchanged. One verified human, memberships in the parties they serve (NFR-14). A head-office CFO who also works a factory finance desk holds two memberships and switches explicitly; the group membership never silently escalates a factory session.ไม่เปลี่ยน หนึ่งคนที่ยืนยันตัวตน มีสมาชิกภาพในผู้เล่นที่ตนทำงานให้ (NFR-14) CFO สำนักงานใหญ่ที่ทำงานการเงินโรงงานด้วยถือสองสมาชิกภาพและสลับอย่างชัดแจ้ง; สมาชิกภาพกลุ่มไม่ยกระดับ session โรงงานโดยเงียบ |
| NEW · Domainใหม่ · Domain | The directory node that gives a Party a position: domain_id · tenant_id · parent_domain_id? · domain_path · kind (root | site) · party_id · status. Site domain 1:1 with a mill Party; root domain 1:1 with the group Party. The tree is the tenant.โหนดไดเรกทอรีที่ให้ตำแหน่งแก่ Party: domain_id · tenant_id · parent_domain_id? · domain_path · kind (root | site) · party_id · status โดเมนไซต์ 1:1 กับ Party โรงงาน; โดเมนราก 1:1 กับ Party กลุ่ม ต้นไม้คือ tenant |
| SurfaceRoleGrant | Gains domain_id. The applied uniqueness UNIQUE (membership_id, surface) becomes UNIQUE (membership_id, surface, domain_id) — the same person may be mill_finance at one factory and nothing at another. Existing rows migrate with their party's own domain id (7.8).เพิ่ม domain_id ความไม่ซ้ำที่ใช้แล้ว UNIQUE (membership_id, surface) กลายเป็น UNIQUE (membership_id, surface, domain_id) — คนเดียวเป็น mill_finance ที่โรงงานหนึ่งและไม่มีสิทธิ์ที่อีกโรงงานได้ แถวเดิมย้ายพร้อม domain id ของผู้เล่นตน (7.8) |
| NEW · DirectoryGroup + DirectoryGroupMemberใหม่ · DirectoryGroup + DirectoryGroupMember | A named, tenant-owned set of memberships (group_dir_id · tenant_id · name · owner_domain_id · nested_in? · status) — the Active Directory security group. Nesting one level (OQ-16); membership rows may carry effective_to for seasonal staff.ชุดสมาชิกภาพที่มีชื่อและ tenant เป็นเจ้าของ (group_dir_id · tenant_id · name · owner_domain_id · nested_in? · status) — คือกลุ่มความปลอดภัยแบบ Active Directory ซ้อนได้หนึ่งชั้น (OQ-16); แถวสมาชิกใส่ effective_to ได้สำหรับพนักงานตามฤดู |
| NEW · DirectoryGrantใหม่ · DirectoryGrant | What a directory group may do, and where: grant_id · group_dir_id · surface · role_id · domain_id (or path pattern) · allowed (allow | deny) · granted_by · granted_at · four_eyes_ref? · status. This is the object the client's "parent account with permission over multiple child domains" is written into.สิ่งที่กลุ่มไดเรกทอรีทำได้และที่ไหน: grant_id · group_dir_id · surface · role_id · domain_id (หรือรูปแบบ path) · allowed (allow | deny) · granted_by · granted_at · four_eyes_ref? · status นี่คือ object ที่ "บัญชีแม่มีสิทธิ์เหนือโดเมนลูกหลายโดเมน" ถูกเขียนลงไป |
| PermissionCatalog | Platform-authored, global, unchanged in shape. Gains the grp_* group (five keys, 7.4) and a domain_delegable flag stating whether a key may be granted across domains at all — the switch that keeps transactional keys inside their factory (G2, OQ-15).platform เป็นผู้เขียน ระดับ global รูปทรงไม่เปลี่ยน เพิ่มกลุ่ม grp_* (ห้ากุญแจ 7.4) และ flag domain_delegable ระบุว่ากุญแจนั้นมอบข้ามโดเมนได้หรือไม่ — สวิตช์ที่คงกุญแจเชิงรายการไว้ในโรงงาน (G2, OQ-15) |
| RolePermission | Already party-authored — that is the per-tenant permission authority D-4 asks for. Its scope_type enum gains domain_path, so a tenant authors one role library at the root and a domain may narrow a role but never widen it (equal-or-narrower, FR-65 precedent).ผู้เล่นเป็นผู้เขียนอยู่แล้ว — นั่นคืออำนาจกำหนดสิทธิ์ราย tenant ที่ D-4 ต้องการ enum scope_type เพิ่ม domain_path ทำให้ tenant เขียนคลัง role หนึ่งชุดที่ราก และโดเมนบีบ role ให้แคบลงได้ แต่ขยายไม่ได้ (เท่าหรือแคบกว่า ตามบรรทัดฐาน FR-65) |
| ViewAsSession | Unchanged and explicitly not a directory feature: platform support entering a tenant stays an audited, banner-announced, dual-logged operator act (PROP-006). A group admin is not support staff and gets no view-as.ไม่เปลี่ยน และไม่ใช่ฟีเจอร์ของไดเรกทอรี: การที่ทีมสนับสนุนของ platform เข้า tenant ยังเป็นการกระทำของ operator ที่ถูกบันทึก มีแบนเนอร์แจ้ง และบันทึกสองฝั่ง (PROP-006) ผู้ดูแลกลุ่มไม่ใช่ทีมสนับสนุนและไม่ได้ view-as |
D-4 asks for a permission model that is comprehensive per tenant: one place where the group defines what its roles mean, applied consistently across every factory it owns, without the platform hard-coding a group's internal politics. Five authoring layers, in order — each may narrow what the previous allows, never widen it.
D-4 ต้องการ model สิทธิ์ที่ครอบคลุมราย tenant: ที่เดียวที่กลุ่มนิยามความหมายของ role ของตน แล้วใช้อย่างสอดคล้องกับทุกโรงงานที่เป็นเจ้าของ โดย platform ไม่ต้องฝังการเมืองภายในของกลุ่มไว้ในโค้ด ห้าชั้นการกำหนด ตามลำดับ — แต่ละชั้นบีบสิ่งที่ชั้นก่อนอนุญาตได้ แต่ขยายไม่ได้
| Layerชั้น | Authored byผู้กำหนด | Contractสัญญา |
|---|---|---|
| A1 Vocabularyคำศัพท์ PermissionCatalog | Platformplatform | Every key that exists, per surface, with its domain_delegable flag. Tenants choose from it; they never invent keys.ทุกกุญแจที่มีอยู่ รายช่องทาง พร้อม flag domain_delegable tenant เลือกจากรายการนี้ ไม่คิดกุญแจใหม่เอง |
| A2 Role libraryคลัง role RolePermission | The tenant, at its root domaintenant ที่โดเมนราก | One library for the whole group: "shift supervisor" means the same thing at every factory. A domain may narrow a role for local reasons; widening is refused, not merged.คลังเดียวสำหรับทั้งกลุ่ม: "หัวหน้ากะ" มีความหมายเดียวกันทุกโรงงาน โดเมนบีบ role ให้แคบลงตามเหตุผลท้องถิ่นได้; การขยายถูกปฏิเสธ ไม่ใช่รวมกัน |
| A3 Assignmentการมอบ role SurfaceRoleGrant | The domain's own admin — or a delegated root admin (DR-2)ผู้ดูแลของโดเมนเอง — หรือผู้ดูแลรากที่ได้รับมอบอำนาจ (DR-2) | One role per surface per domain per membership. This is where "who works here" is stated.หนึ่ง role ต่อช่องทางต่อโดเมนต่อสมาชิกภาพ ที่นี่คือที่ระบุ "ใครทำงานที่นี่" |
| A4 Directory groupsกลุ่มไดเรกทอรี DirectoryGrant | Root, or a delegated admin, under four-eyes for amount-bearing keysราก หรือผู้ดูแลที่ได้รับมอบอำนาจ ใช้สี่ตาสำหรับกุญแจที่มีตัวเงิน | A set of accounts × named domain paths × role. Union with A3 (DR-3) — this is the parent-over-child-domains mechanism.ชุดบัญชี × domain path ที่ระบุ × role รวมกับ A3 (DR-3) — นี่คือกลไกแม่เหนือโดเมนลูก |
| A5 Denialsการปฏิเสธ | Any levelชั้นใดก็ได้ | An explicit deny always wins — the only way to carve an exception out of an inherited grant, and the reason A4 can be broad without being dangerous.การปฏิเสธที่ระบุชัดชนะเสมอ — เป็นวิธีเดียวที่จะเจาะข้อยกเว้นออกจาก grant ที่สืบทอดมา และเป็นเหตุที่ A4 กว้างได้โดยไม่อันตราย |
The group surface mints six keys: grp_view (implied floor) · grp_books · grp_amounts · grp_fleet · grp_admin · grp_str_agreements (per-farmer strategic agreement detail, four-eyes to grant, requires grp_amounts + the member factory's live strategic entitlement — the OQ-5 amendment) — deny-all baseline, minted once here and inventoried (not re-specified) by PROP-040. PROP-042's applied A-20 redaction mapping extends by amendment: no key = absent · grp_view = masked · + grp_amounts = full. Transactional keys stay domain_delegable = false: the directory can hand over administration of a factory, never its signature (G2).
surface group ออกหกกุญแจ: grp_view (พื้นโดยนัย) · grp_books · grp_amounts · grp_fleet · grp_admin · grp_str_agreements (รายละเอียดข้อตกลงกลยุทธ์รายชาวไร่ ให้ด้วยสี่ตา ต้องมี grp_amounts + entitlement กลยุทธ์ของโรงงานสมาชิกที่ใช้งานอยู่ — การแก้ไข OQ-5) — ตั้งต้นปฏิเสธทั้งหมด ออกที่นี่ครั้งเดียว และ PROP-040 เพียงบันทึกในบัญชีรายการ (ไม่ระบุใหม่) การปิดบัง A-20 ของ PROP-042 ที่ใช้แล้วขยายด้วยการแก้ไข: ไม่มีกุญแจ = ไม่เห็น · grp_view = ปิดบัง · + grp_amounts = เต็ม กุญแจเชิงรายการคง domain_delegable = false: ไดเรกทอรีส่งมอบการดูแลโรงงานได้ แต่ไม่ส่งมอบลายมือชื่อของมัน (G2)
Worked example. Khun Ratri is group finance at head office and also runs the finance desk at Danchang. Her account carries one membership in the group Party and one in the Danchang mill Party; a site grant (mill_finance @ danchang.caneco); and two directory groups — Group Finance at the root (grp_books, grp_amounts) and Chart Mapping Editors scoped to Danchang only. Signing in at the root she sees consolidated statements and no factory screens. Switching to danchang.caneco recompiles her token: factory finance screens plus the delegated chart-mapping key — and nothing at all at phukhieo.caneco, because no grant names it. When she approves a settlement at Danchang it runs through Danchang's own four-eyes; her root membership adds nothing to that approval (G2), and the act is written to both domains' audit trails (DR-5).
ตัวอย่างจริง คุณราตรีเป็นฝ่ายการเงินกลุ่มที่สำนักงานใหญ่ และดูแลโต๊ะการเงินที่โรงงานด่านช้างด้วย บัญชีของเธอมีสมาชิกภาพหนึ่งใน Party กลุ่มและหนึ่งใน Party โรงงานด่านช้าง; grant ระดับไซต์ (mill_finance @ danchang.caneco); และกลุ่มไดเรกทอรีสองกลุ่ม — Group Finance ที่ราก (grp_books, grp_amounts) และ Chart Mapping Editors ที่ผูกกับด่านช้างเท่านั้น เมื่อลงชื่อที่ราก เธอเห็นงบรวมและไม่เห็นหน้าจอโรงงาน เมื่อสลับไป danchang.caneco token คอมไพล์ใหม่: เห็นหน้าจอการเงินโรงงาน บวกกุญแจ map ผังบัญชีที่ได้รับมอบ — และไม่เห็นอะไรเลยที่ phukhieo.caneco เพราะไม่มี grant ระบุถึง เมื่อเธออนุมัติการชำระที่ด่านช้าง มันผ่านการอนุมัติสี่ตาของด่านช้างเอง; สมาชิกภาพระดับรากไม่เพิ่มอำนาจให้การอนุมัตินั้น (G2) และการกระทำถูกบันทึกในร่องรอยตรวจสอบของทั้งสองโดเมน (DR-5)
| Token claimclaim บน token | Carriesบรรทุก | Statusสถานะ |
|---|---|---|
| pty | The party context — the tenant and the party being acted forบริบทผู้เล่น — tenant และผู้เล่นที่ทำหน้าที่แทน | applied, unchangedใช้แล้ว ไม่เปลี่ยน |
| dom | The active domain path, e.g. danchang.caneco — exactly one per tokendomain path ที่ใช้งานอยู่ เช่น danchang.caneco — หนึ่งเดียวต่อ token | new (D-3)ใหม่ (D-3) |
| srf | Entitled surfaces for this domainช่องทางที่มีสิทธิ์ในโดเมนนี้ | applied; compiled per domainใช้แล้ว; คอมไพล์รายโดเมน |
| perm | The effective permission set of Figure 3 — already unioned and deny-resolvedชุดสิทธิ์ที่ใช้ได้จริงตามรูปที่ 3 — รวมและตัดด้วยการปฏิเสธแล้ว | applied; amended (FR-64)ใช้แล้ว; แก้ (FR-64) |
| scp | Scope narrowing inside the domainการบีบขอบเขตภายในโดเมน | applied; domain_path added (FR-65)ใช้แล้ว; เพิ่ม domain_path (FR-65) |
The token carries the compiled result for one domain — never the transitive directory-group closure, which would blow the 4 KB JWE budget of NFR-17 on a twelve-factory group. Switching domain is a re-issue, not a widening (NFR-67), and directory-group or grant changes invalidate cached tokens through the domain events of Section 9.
token บรรทุกผลที่คอมไพล์แล้วของหนึ่งโดเมน — ไม่ใช่ closure ของกลุ่มไดเรกทอรีทั้งหมด ซึ่งจะทำให้เกินงบ JWE 4 KB ตาม NFR-17 ในกลุ่มสิบสองโรงงาน การสลับโดเมนคือการออก token ใหม่ ไม่ใช่การขยายสิทธิ์ (NFR-67) และการเปลี่ยนกลุ่มไดเรกทอรีหรือ grant ทำให้ token ที่ cache ไว้ใช้ไม่ได้ผ่านเหตุการณ์โดเมนในข้อ 9
Two disclosures carry the trust. Each member factory's admin screen shows a standing notice — "this factory is the site domain danchang.caneco of group X; these group accounts administer it; the group can see the following aggregates" — with the delegation list inside the notice, because staff being surprised by what head office can change is how confidence in the directory dies. And every amount-bearing group read is audited with principal, dataset, period and membership set (NFR-62), on top of DR-5's two-domain act audit. Revocation is immediate and, like the grant, a two-act at the root.
การเปิดเผยสองอย่างแบกความเชื่อมั่นไว้ หน้าจอผู้ดูแลของโรงงานสมาชิกแสดงประกาศประจำ — "โรงงานนี้คือโดเมนไซต์ danchang.caneco ของกลุ่ม X; บัญชีกลุ่มเหล่านี้ดูแลอยู่; กลุ่มเห็นค่ารวมต่อไปนี้" — โดยมีรายการการมอบอำนาจอยู่ในประกาศนั้น เพราะการที่เจ้าหน้าที่ตกใจกับสิ่งที่สำนักงานใหญ่แก้ได้ คือจุดที่ความเชื่อมั่นในไดเรกทอรีตายลง และทุกการอ่านข้อมูลที่มีตัวเงินระดับกลุ่มถูกบันทึกพร้อม principal ชุดข้อมูล งวด และชุดสมาชิก (NFR-62) เพิ่มจากการบันทึกสองโดเมนตาม DR-5 การเพิกถอนมีผลทันที และเป็นการกระทำสอง act ที่รากเช่นเดียวกับการให้
Grouping is a corporate fact, not a consent. A farmer who delivers to two mills of one group has two relationships and did not agree to be seen as one customer of a conglomerate. Day-one rule: no farmer-level record crosses a member boundary — no unified farmer profile, no cross-mill quota view, no pooled reliability, no linked movement graph (PROP-025 OQ-7 classified that graph personal, and PROP-046 keeps it platform-side). Group reads are aggregates with an anonymity floor: any cell resolving to fewer than k farmers is masked, k = 5, decided OQ-6. The client decided one named exception to the day-one rule (OQ-5): a group holding grp_str_agreements may read the strategic agreements of its own member factories per farmer — the factory it owns is the contracting party, so the basis is the owner's own contract, not a new pooling of a farmer's life. It is bounded to one factory at a time inside its membership period, carries only agreement facts (parties, scope, rate, volume, amounts), is never joined across factories into a unified farmer profile, and every row-set read is audited with principal, factory, period and basis (NFR-62, NFR-68). On competition: the group sees only its own factories' own facts — never a platform-wide benchmark, never another group's numbers — so grouping confers no informational advantage that ownership does not already confer offline. A standing group register (who is grouped with whom, verified when) is available to the platform operator and, if the regulator relationship of PROP-038 asks for it, to OCSB.
การจัดกลุ่มเป็นข้อเท็จจริงเชิงองค์กร ไม่ใช่ความยินยอม ชาวไร่ที่ส่งอ้อยให้สองโรงงานในกลุ่มเดียวมีสองความสัมพันธ์ และไม่ได้ตกลงให้ถูกมองเป็นลูกค้ารายเดียวของเครือ กติกาวันแรก: ไม่มีระเบียนระดับชาวไร่ข้ามขอบสมาชิก — ไม่มีโปรไฟล์ชาวไร่รวม ไม่มีมุมมองโควตาข้ามโรงงาน ไม่มีคะแนนความน่าเชื่อถือรวมกอง ไม่มีกราฟการเคลื่อนที่เชื่อมโยง (OQ-7 ของ PROP-025 จัดกราฟนั้นเป็นข้อมูลส่วนบุคคล และ PROP-046 คงไว้ฝั่ง platform) การอ่านของกลุ่มเป็นค่ารวมพร้อมเกณฑ์ปิดบังตัวตน: ช่องใดที่ลดรูปเป็นชาวไร่น้อยกว่า k ราย ถูกปิดบัง k = 5 ตัดสินแล้ว OQ-6 ลูกค้าตัดสินให้มีข้อยกเว้นที่ระบุชื่อหนึ่งข้อต่อกติกาวันแรก (OQ-5): กลุ่มที่ถือ grp_str_agreements อ่านข้อตกลงกลยุทธ์รายชาวไร่ของโรงงานสมาชิกของตนได้ — โรงงานที่ตนเป็นเจ้าของคือคู่สัญญา ฐานจึงเป็นสัญญาของเจ้าของเอง ไม่ใช่การรวมกองชีวิตชาวไร่ใหม่ ถูกจำกัดทีละโรงงานภายในช่วงสมาชิกภาพ มีเฉพาะข้อเท็จจริงของข้อตกลง (คู่สัญญา ขอบเขต อัตรา ปริมาณ ตัวเงิน) ไม่รวมข้ามโรงงานเป็นโปรไฟล์ชาวไร่เดียว และทุกการอ่านชุดแถวถูกบันทึกตรวจสอบพร้อม principal โรงงาน งวด และฐาน (NFR-62, NFR-68) ด้านการแข่งขัน: กลุ่มเห็นเฉพาะข้อเท็จจริงของโรงงานตนเอง — ไม่ใช่ค่าเทียบระดับ platform ไม่ใช่ตัวเลขของกลุ่มอื่น — การจัดกลุ่มจึงไม่ให้ความได้เปรียบทางข้อมูลเกินกว่าที่ความเป็นเจ้าของให้อยู่แล้วนอกระบบ ทะเบียนกลุ่มประจำ (ใครอยู่กลุ่มใด ตรวจยืนยันเมื่อใด) เปิดให้ operator ของ platform และให้ สอน. ได้หากความสัมพันธ์ตาม PROP-038 ขอ
This is the largest structural delta since the PLT family. Draft ids below renumber at application per convention (next free as of spec v0.24.0: FR-196 · NFR-61 · WF-76).
นี่คือ delta เชิงโครงสร้างที่ใหญ่ที่สุดตั้งแต่ตระกูล PLT id ในร่างจะเรียงใหม่ตอน apply ตามธรรมเนียม (ว่างถัดไป ณ spec v0.24.0: FR-196 · NFR-61 · WF-76)
| Blockบล็อก | Deltaการเปลี่ยนแปลง |
|---|---|
| perspectives · documents | +group (market family, code GRP) → six registry docs SPEC-{APP,PRD,ERD,DDD,PWF,UIX}-GRP, placed with the market capacities (not beside FED/OPS/PLT — the group is a customer, not infrastructure; PROP-046's homing test fails on all three legs). SPEC-INDEX cards + docnav.+group (ตระกูลฝั่งตลาด รหัส GRP) → เอกสารทะเบียนหกฉบับ SPEC-{APP,PRD,ERD,DDD,PWF,UIX}-GRP วางกับ capacity ฝั่งตลาด (ไม่ใช่ข้าง FED/OPS/PLT — กลุ่มเป็นลูกค้า ไม่ใช่โครงสร้างพื้นฐาน; บททดสอบของ PROP-046 ไม่ผ่านทั้งสามข้อ) พร้อมการ์ด SPEC-INDEX และ docnav |
| capacities · surfaces · roles | +capacity group (class market) · +surface group (thirteenth) · +4 roles (group_owner, group_finance, group_analyst, group_admin) · +6 PermissionCatalog entries (grp_*, incl. grp_str_agreements per OQ-5) · entitlement group_console.+capacity group (class market) · +surface group (ที่สิบสาม) · +4 role · +6 รายการ PermissionCatalog (grp_* รวม grp_str_agreements ตาม OQ-5) · entitlement group_console |
| contexts · entities | +context factory_group (grp) with 13 entities: LegalEntity · OwnershipEdge · FactoryGroup · GroupMembership · GroupChartMap · InterCompanyRule · GroupPeriod · GroupConsolidation · ConsolidationLine · Domain · DirectoryGroup · DirectoryGroupMember · DirectoryGrant (the last four are the D-3 directory, Section 7). Amendments to applied entities: Mill gains legal_entity_id + branch_code? (D-2); SurfaceRoleGrant +domain_id (uniqueness becomes membership × surface × domain), RolePermission.scope_type +domain_path, PermissionCatalog +domain_delegable (D-3, 7.3).+context factory_group (grp) พร้อม 13 entity: LegalEntity · OwnershipEdge · FactoryGroup · GroupMembership · GroupChartMap · InterCompanyRule · GroupPeriod · GroupConsolidation · ConsolidationLine · Domain · DirectoryGroup · DirectoryGroupMember · DirectoryGrant (สี่รายการท้ายคือไดเรกทอรีตาม D-3 ข้อ 7) แก้ entity ที่ใช้แล้ว: Mill เพิ่ม legal_entity_id + branch_code? (D-2); SurfaceRoleGrant +domain_id (ความไม่ซ้ำเป็น สมาชิกภาพ × ช่องทาง × โดเมน), RolePermission.scope_type +domain_path, PermissionCatalog +domain_delegable (D-3, 7.3) |
| relationshipsความสัมพันธ์ | 18: entity→mill (1:n, branches); entity→ownership edge→entity (dated graph); group→apex entity; group→membership→mill; group→chart map→member account; group→rule→(mill,mill); group→period; period→consolidation→lines; consolidation→source FiscalPeriod (snapshot ref); group→Party (the owning legal entity); Person→Membership in the group capacity. D-3 (Section 7.3): tenant→root Domain; Domain→parent Domain (tree, ≤ 3 tiers); Domain→Party (1:1); DirectoryGroup→DirectoryGrant→(role, surface, Domain); Membership→DirectoryGroupMember→DirectoryGroup (nested one level); SurfaceRoleGrant→Domain.18 ความสัมพันธ์: กลุ่ม→สมาชิกภาพ→โรงงาน; กลุ่ม→chart map→บัญชีสมาชิก; กลุ่ม→กติกา→(โรงงาน,โรงงาน); กลุ่ม→งวด; งวด→การรวม→บรรทัด; การรวม→FiscalPeriod ต้นทาง; กลุ่ม→Party; Person→Membership ใน capacity กลุ่ม D-3 (ข้อ 7.3): tenant→Domain ราก; Domain→Domain แม่ (ต้นไม้ ≤ 3 ชั้น); Domain→Party (1:1); DirectoryGroup→DirectoryGrant→(role, ช่องทาง, Domain); Membership→DirectoryGroupMember→DirectoryGroup (ซ้อนหนึ่งชั้น); SurfaceRoleGrant→Domain |
| eventsเหตุการณ์ | 10: FactoryGroupVerified · MillAdmittedToGroup · MillDivestedFromGroup · GroupConsolidationRun · GroupConsolidationPublished · GroupDisclosureAcknowledged · DomainCreated · DomainReparented · DirectoryGrantIssued · DirectoryGrantRevoked (D-3 — the last two invalidate cached tokens).10 เหตุการณ์: FactoryGroupVerified · MillAdmittedToGroup · MillDivestedFromGroup · GroupConsolidationRun · GroupConsolidationPublished · GroupDisclosureAcknowledged · DomainCreated · DomainReparented · DirectoryGrantIssued · DirectoryGrantRevoked (D-3 — สองรายการท้ายทำให้ token ที่ cache ไว้ใช้ไม่ได้) |
| workflows | WF-76 group formation & ownership verification (two-act, operator) · WF-77 admission / divestment with dated intervals · WF-78 consolidation run → review exceptions → publish (provisional | final) · WF-79 directory delegation grant / revocation (two-act at the root, disclosed at the target domain, 7.7) · WF-80 domain creation & re-parenting on admission / divestment (7.8).WF-76 การตั้งกลุ่มและตรวจความเป็นเจ้าของ (สอง act, operator) · WF-77 การรับเข้า/ขายออกพร้อมช่วงวันที่ · WF-78 รันการรวม → ทบทวนข้อยกเว้น → เผยแพร่ (provisional | final) · WF-79 การให้/เพิกถอน grant มอบอำนาจไดเรกทอรี (สอง act ที่ราก เปิดเผยที่โดเมนเป้าหมาย 7.7) · WF-80 การสร้างและย้ายรากโดเมนตอนรับเข้า/ขายออก (7.8) |
| FR (draft, D-2) | FR-209 legal-entity registry with tax id + branch codes · FR-210 dated ownership graph with evidence per edge · FR-211 derived control resolution (direct + indirect, circular holdings excluded; no apex = no group) · FR-212 topology-dependent run semantics (L-1 branch combination at cost · L-2/L-3 intercompany elimination at invoiced amounts · mixed = combine then consolidate).FR-209 ทะเบียนนิติบุคคลพร้อมเลขภาษีและเลขสาขา · FR-210 กราฟการถือหุ้นที่มีวันที่และหลักฐานรายเส้น · FR-211 การคำนวณอำนาจควบคุม (ทางตรง+ทางอ้อม ตัดการถือวน; ไม่มียอด = ไม่มีกลุ่ม) · FR-212 semantics ของการรันตามโครงสร้าง (L-1 รวมสาขาตามราคาทุน · L-2/L-3 ตัดรายการตามใบกำกับ · mixed รวมแล้วจึงรวมอีกชั้น) |
| FR (draft) | FR-196 group formation with evidence · FR-197 single active membership · FR-198 dated admission/divestment · FR-199 membership-period clipping of every group read · FR-200 chart mapping with blocking unmapped line · FR-201 declared inter-company eliminations with exception surfacing · FR-202 provisional vs final runs · FR-203 immutable run with inputs snapshot · FR-204 consolidated statement set + auditor export pack · FR-205 group performance datasets · FR-206 group-scoped fleet read · FR-207 member-mill standing disclosure · FR-208 group role grants by group_owner only · FR-221 keyed per-farmer strategic-agreement drill-through at group level (one member factory, membership-period clipped, no cross-factory join, audited) — the OQ-5 amendment.FR-196 ตั้งกลุ่มพร้อมหลักฐาน · FR-197 สมาชิกภาพเปิดหนึ่งเดียว · FR-198 รับเข้า/ขายออกตามวันที่ · FR-199 ตัดทุกการอ่านตามช่วงสมาชิกภาพ · FR-200 mapping ผังบัญชีพร้อมบรรทัดที่ block · FR-201 การตัดรายการที่ประกาศไว้พร้อมแสดงข้อยกเว้น · FR-202 provisional เทียบ final · FR-203 การรันที่เปลี่ยนไม่ได้พร้อม snapshot · FR-204 ชุดงบรวม + ชุด export ผู้สอบบัญชี · FR-205 ชุดข้อมูลผลงานกลุ่ม · FR-206 การอ่านกองรถขอบเขตกลุ่ม · FR-207 การเปิดเผยประจำที่โรงงานสมาชิก · FR-208 การให้ role กลุ่มโดย group_owner เท่านั้น · FR-221 การเจาะดูข้อตกลงกลยุทธ์รายชาวไร่ระดับกลุ่มที่ต้องมีกุญแจ (ทีละโรงงานสมาชิก ตัดตามช่วงสมาชิกภาพ ไม่รวมข้ามโรงงาน มีบันทึกตรวจสอบ) — การแก้ไขตาม OQ-5 |
| FR (draft, D-3/D-4) | FR-213 a domain tree per tenant (one root, site domains, depth cap) · FR-214 every mill Party resolves to exactly one domain; an ungrouped mill is a single-domain tenant · FR-215 directory groups with one level of nesting and time-boundable membership · FR-216 effective permission = account grants ∪ directory-group grants, compiled per domain, deny-overrides · FR-217 domain-scoped grants with no implicit inheritance except the built-in root administrators group · FR-218 delegated-act stamping (domain, directory group, grant, granting principal) · FR-219 admission / divestment re-parents a domain without moving data · FR-220 exactly one active domain per session with an explicit switcher.FR-213 ต้นไม้โดเมนต่อ tenant (หนึ่งราก โดเมนไซต์ จำกัดความลึก) · FR-214 Party โรงงานทุกรายชี้ไปโดเมนเดียว; โรงงานที่ไม่อยู่กลุ่มคือ tenant โดเมนเดียว · FR-215 กลุ่มไดเรกทอรีซ้อนหนึ่งชั้น สมาชิกกำหนดช่วงเวลาได้ · FR-216 สิทธิ์ที่ใช้ได้จริง = grant บัญชี ∪ grant กลุ่มไดเรกทอรี คอมไพล์รายโดเมน การปฏิเสธชนะ · FR-217 grant ผูกโดเมน ไม่มีการสืบทอดโดยนัย ยกเว้นกลุ่มผู้ดูแลระดับรากในตัว · FR-218 การประทับการกระทำที่ได้รับมอบ (โดเมน กลุ่มไดเรกทอรี grant ผู้ให้สิทธิ์) · FR-219 การรับเข้า/ขายออกย้ายรากโดเมนโดยไม่ย้ายข้อมูล · FR-220 หนึ่งโดเมนที่ใช้งานต่อ session พร้อมตัวสลับที่ชัดแจ้ง |
| NFR (draft) | NFR-61 group isolation wall — a group principal's token never resolves inside a member tenant; no cross-tenant query path exists · NFR-62 every amount-bearing group read audited (principal · dataset · period · membership set) · NFR-63 anonymity floor k enforced server-side before rendering or export · NFR-64 consolidation determinism — identical inputs, byte-identical output · NFR-65 no transitive trust — nothing resolves between tenants and no directory grant crosses a tenant root · NFR-66 two-domain audit of every delegated act, with the full delegation path · NFR-67 token carries tenant + active domain + the per-domain compiled permission set, never the transitive directory-group closure (NFR-17, 4 KB) · NFR-68 every farmer-level detail read at group level is audited per row-set (principal · factory · period · legal basis) and is technically incapable of a cross-factory join.NFR-61 กำแพงแยกกลุ่ม — token ของ principal กลุ่มไม่ resolve ใน tenant สมาชิก ไม่มีเส้นทาง query ข้าม tenant · NFR-62 บันทึกตรวจสอบทุกการอ่านที่มีตัวเงิน · NFR-63 บังคับเกณฑ์ k ฝั่ง server ก่อน render หรือ export · NFR-64 ความ deterministic ของการรวม · NFR-65 ไม่มีความเชื่อถือส่งต่อ — ไม่มีสิ่งใด resolve ระหว่าง tenant และ grant ไดเรกทอรีไม่ข้ามรากของ tenant · NFR-66 บันทึกสองโดเมนสำหรับทุกการกระทำที่ได้รับมอบ พร้อมเส้นทางการมอบอำนาจครบ · NFR-67 token บรรทุก tenant + โดเมนที่ใช้งาน + ชุดสิทธิ์ที่คอมไพล์รายโดเมน ไม่ใช่ closure ของกลุ่มไดเรกทอรี (NFR-17, 4 KB) · NFR-68 ทุกการอ่านรายละเอียดระดับชาวไร่ที่ระดับกลุ่มถูกบันทึกตรวจสอบรายชุดแถว (principal · โรงงาน · งวด · ฐานทางกฎหมาย) และรวมข้ามโรงงานไม่ได้ในทางเทคนิค |
| amendmentsการแก้ไขที่มีอยู่ | PROP-042 A-20 mapping extended with the grp_* rows (incl. grp_str_agreements — agreement rows absent without it, never masked-partial) · PROP-025 OQ-2 note gains its sanctioned exception pointer · PROP-046 boundary note records why GRP is market, not PLT · SPEC-APP surfaces table (13) · SPEC-*-FED entitlement matrix + six-layer resolution gains the group capacity · SPEC-INDEX rev bumps. uix: grp-01…grp-06 + grp.* copy keys; glossary: กลุ่มโรงงาน · เจ้าของผู้รับประโยชน์สูงสุด · งบบริหารแบบรวม · โดเมนไซต์ · กลุ่มไดเรกทอรี. D-3/D-4 FED amendments (Section 7): SPEC-PRD-FED Section 5 six-layer model (layer 1 gains the active domain; layers 3–5 amended) + Section 7 claim contract gains dom; SPEC-ERD-FED entity & relationship tables gain the four directory entities and the three added columns; SPEC-DDD-FED gains the resolution and delegation invariants; SPEC-PWF-FED gains WF-79/80. FR-60 · FR-63 · FR-64 · FR-65 are amended in place — none is superseded (D-4).ขยาย mapping A-20 ของ PROP-042 ด้วยแถว grp_* · หมายเหตุ OQ-2 ของ PROP-025 ชี้ข้อยกเว้นที่อนุญาต · หมายเหตุเขตของ PROP-046 บันทึกเหตุที่ GRP เป็นฝั่งตลาด ไม่ใช่ PLT · ตาราง surface ของ SPEC-APP (13) · entitlement matrix และการ resolve หกชั้นใน SPEC-*-FED เพิ่ม capacity กลุ่ม · bump rev ของ SPEC-INDEX; uix: grp-01…grp-06 + คีย์คำ grp.*; glossary: กลุ่มโรงงาน · เจ้าของผู้รับประโยชน์สูงสุด · งบบริหารแบบรวม · โดเมนไซต์ · กลุ่มไดเรกทอรี การแก้ FED ตาม D-3/D-4 (ข้อ 7): SPEC-PRD-FED ข้อ 5 model หกชั้น (ชั้น 1 เพิ่มโดเมนที่ใช้งาน; ชั้น 3–5 แก้) และข้อ 7 สัญญา claim เพิ่ม dom; ตาราง entity และความสัมพันธ์ของ SPEC-ERD-FED เพิ่มสี่ entity ไดเรกทอรีและสามคอลัมน์; SPEC-DDD-FED เพิ่มกฎคงที่ของการตัดสินและการมอบอำนาจ; SPEC-PWF-FED เพิ่ม WF-79/80 FR-60 · FR-63 · FR-64 · FR-65 แก้ในที่ — ไม่มีฉบับใดถูกแทนที่ (D-4) |
Because Section 9 moves entities, relationships, a capacity family and a surface, no pending draft may keep describing a group-free platform. The client directed that applying PROP-026 also updates every remaining pending draft proposal — nine of them (PROP-033…041) as of this revision — in the same change set. Rules first, then the per-draft register.
เนื่องจากข้อ 9 ขยับ entity ความสัมพันธ์ ตระกูล capacity และ surface จึงไม่มีร่างที่ค้างใดคงคำบรรยาย platform ที่ไม่มีกลุ่มได้ ลูกค้ากำหนดว่าการ apply PROP-026 ต้องปรับทุกข้อเสนอร่างที่ยังค้าง — เก้าฉบับ (PROP-033…041) ณ revision นี้ — ในชุดการเปลี่ยนแปลงเดียวกัน กติกาก่อน แล้วจึงเป็นทะเบียนรายฉบับ
| Pending draftร่างที่ค้าง | What PROP-026 changes for itPROP-026 เปลี่ยนอะไรกับมัน | Mechanismกลไก |
|---|---|---|
| PROP-033 NFC queue coinเหรียญคิว NFC | Coin identity, tower and tap events stay mill-scoped and never resolve at a sibling factory (X-2). The group console reads coin/queue KPIs as factory aggregates (grp.intake) only. Coin kits may be procured group-wide with per-factory installation (X-3).อัตลักษณ์เหรียญ ตู้ และเหตุการณ์แตะ คงขอบเขตโรงงาน และไม่ resolve ที่โรงงานพี่น้อง (X-2) console กลุ่มอ่าน KPI เหรียญ/คิวเป็นค่ารวมรายโรงงาน (grp.intake) เท่านั้น ชุดเหรียญจัดซื้อระดับกลุ่มได้ ติดตั้งรายโรงงาน (X-3) | Premise refresh + one non-propagation rule + procurement noteปรับ premise + กติกาไม่ส่งผลข้าม + หมายเหตุจัดซื้อ |
| PROP-034 Priority classesชั้นลำดับพิเศษ | Class catalogs remain per-mill, published and signed off per mill; a group may hold a template catalog its factories adopt, never a group-wide class. Group-wide priority is prohibited outright. Group console sees per-class KPIs read-only.แคตาล็อกชั้นคงรายโรงงาน ประกาศและลงนามรายโรงงาน; กลุ่มถือแคตาล็อกต้นแบบให้โรงงานรับไปใช้ได้ แต่ไม่มีชั้นระดับกลุ่ม ห้ามลำดับพิเศษระดับกลุ่มโดยเด็ดขาด console กลุ่มเห็น KPI รายชั้นแบบอ่าน | New C-principle + OQ premise refreshหลักการ C ใหม่ + ปรับ premise ของ OQ |
| PROP-035 Hardware programโปรแกรมฮาร์ดแวร์ | H-1/H-2 gain a group tier: one lease/HCL agreement, group-level fleet operations and spares pooling, DeviceInstallation rollup in the group console; certification authority and per-site SLA unchanged (X-3).H-1/H-2 เพิ่มชั้นกลุ่ม: สัญญาเช่า/HCL ฉบับเดียว การดำเนินการกองอุปกรณ์และอะไหล่ระดับกลุ่ม รวมยอด DeviceInstallation ใน console กลุ่ม; ผู้รับรองและ SLA รายจุดไม่เปลี่ยน (X-3) | Kit/SKU scope note + new OQ on group leasingหมายเหตุขอบเขตชุด/SKU + OQ ใหม่เรื่องการเช่าระดับกลุ่ม |
| PROP-036 Suspension & rehabพักสิทธิ์และฟื้นฟู | SuspensionSpell stays mill-scoped and never propagates inside a group — its rule R3 (binds only the scored booking party) extends to "and only at the mill that scored it". Rehab ladders are per-mill; the group sees spell counts, never a farmer's spell.SuspensionSpell คงขอบเขตโรงงานและไม่ส่งผลข้ามในกลุ่ม — กติกา R3 ขยายเป็น "และเฉพาะที่โรงงานที่ให้คะแนนนั้น" บันไดฟื้นฟูเป็นรายโรงงาน; กลุ่มเห็นจำนวนครั้ง ไม่เห็นของชาวไร่รายคน | R3 extension + axis-D wordingขยาย R3 + ปรับถ้อยคำแกน D |
| PROP-037 Reliability credit consentยินยอมใช้คะแนนเครดิต | The Reliability Extract is a farmer→bank artifact; a factory group is never a recipient and grouping creates no new consent basis. Group reads stay banded aggregates above the k floor (G3, NFR-63).Reliability Extract เป็นสิ่งส่งจากชาวไร่→ธนาคาร; กลุ่มโรงงานไม่เคยเป็นผู้รับ และการจัดกลุ่มไม่สร้างฐานความยินยอมใหม่ การอ่านของกลุ่มคงเป็นค่ารวมแบบช่วงเหนือเกณฑ์ k (G3, NFR-63) | C1–C4 scope note (no new OQ)หมายเหตุขอบเขต C1–C4 (ไม่มี OQ ใหม่) |
| PROP-038 OCSB partnershipความร่วมมือ สอน. | The land-and-expand counterparty is often a group, not a mill: adds a group onboarding path (one commercial conversation, per-factory activation) and offers the verified group register as regulator-grade structure data. Free-tier boundary unchanged.คู่สัญญาแบบ land-and-expand มักเป็นกลุ่ม ไม่ใช่โรงงานเดียว: เพิ่มเส้นทาง onboarding ระดับกลุ่ม (เจรจาครั้งเดียว เปิดใช้รายโรงงาน) และเสนอทะเบียนกลุ่มที่ตรวจยืนยันเป็นข้อมูลโครงสร้างระดับผู้กำกับ ขอบเขตชั้นฟรีไม่เปลี่ยน | Phase P1/P2 amendment + OQ-1 agenda itemแก้เฟส P1/P2 + เพิ่มวาระใน OQ-1 |
| PROP-039 Gateway commercial packageแพ็กเกจเชิงพาณิชย์ | W-1's SKU tree gains the group console as its own SKU and a group price metric (per member factory, group-tier discount, one invoice); W-4's feasibility model gains group-account economics (multi-factory landing, one sales motion).ต้นไม้ SKU ของ W-1 เพิ่ม console กลุ่ม เป็น SKU ของตน และเมตริกราคาระดับกลุ่ม (รายโรงงานสมาชิก ส่วนลดชั้นกลุ่ม ใบแจ้งหนี้เดียว); โมเดลความเป็นไปได้ W-4 เพิ่มเศรษฐศาสตร์บัญชีกลุ่ม | W-1/W-2/W-4 additions + new OQ on the metricเพิ่มใน W-1/W-2/W-4 + OQ ใหม่เรื่องเมตริก |
| PROP-040 Fine-grained mill permissionsสิทธิ์ละเอียดของโรงงาน | Inventory gains the grp_* family and the group surface dimension (a second tenant-shaped scope above the mill); trigger list gains "PROP-026 verdicts decided". Direction D-1…D-4 must now cover group-above-mill scoping, not just mill roles (X-4) — and, after D-3/D-4, the domain dimension itself: PROP-040's depth pass runs on the directory substrate of Section 7 (domain-scoped grants, directory groups, domain_delegable), not on a flat per-mill catalog.บัญชีรายการเพิ่มตระกูล grp_* และมิติ surface group (ขอบเขตรูป tenant ที่สองเหนือโรงงาน); รายการ trigger เพิ่ม "คำวินิจฉัย PROP-026 ตัดสินแล้ว" ทิศทาง D-1…D-4 ต้องครอบคลุมการกำหนดขอบเขตเหนือโรงงาน ไม่ใช่แค่ role โรงงาน (X-4) — และหลัง D-3/D-4 ต้องครอบคลุมมิติโดเมนเอง: การเจาะลึกของ PROP-040 ทำบนพื้นไดเรกทอรีในข้อ 7 (grant ผูกโดเมน กลุ่มไดเรกทอรี domain_delegable) ไม่ใช่บน catalog แบนรายโรงงาน | Inventory + trigger + direction updateปรับบัญชีรายการ trigger และทิศทาง |
| PROP-041 Forecast & scenario tierชั้นพยากรณ์และสถานการณ์ | Adds a group scope to the premium tier: portfolio exposure across member factories, a group-owned AssumptionSet, and cross-factory sensitivity — still advisory, still behind the NFR-21 wall and now also grp_amounts. Base tier unchanged.เพิ่มขอบเขตกลุ่มให้ชั้นพรีเมียม: exposure ระดับพอร์ตข้ามโรงงานสมาชิก AssumptionSet ที่กลุ่มเป็นเจ้าของ และ sensitivity ข้ามโรงงาน — ยังเป็นคำแนะนำ ยังอยู่หลังกำแพง NFR-21 และตอนนี้ต้องมี grp_amounts ด้วย ชั้นพื้นฐานไม่เปลี่ยน | Tier-boundary amendment + new OQ on group scenariosแก้ขอบชั้น + OQ ใหม่เรื่องสถานการณ์ระดับกลุ่ม |
Two drafts are deliberately not in the sweep because they are already applied and therefore amended through Section 9 instead: PROP-042 (A-20 mapping) and PROP-025 (OQ-2 exception pointer). If a new proposal is drafted between this revision and application, it joins the register by the same rules — the sweep is defined by "pending at application", not by this list. D-3/D-4 add one further class of touched document that is likewise outside the sweep: the applied FED family (SPEC-PRD/ERD/DDD/PWF-FED), amended directly by Section 9 because the directory changes the federation service itself.
สองฉบับไม่อยู่ในการกวาดโดยเจตนา เพราะ apply แล้วและถูกแก้ผ่านข้อ 9 แทน: PROP-042 (mapping A-20) และ PROP-025 (ตัวชี้ข้อยกเว้นของ OQ-2) หากมีข้อเสนอใหม่ร่างขึ้นระหว่าง revision นี้ถึงการ apply ให้เข้าทะเบียนด้วยกติกาเดียวกัน — การกวาดนิยามด้วย "ค้างอยู่ ณ วัน apply" ไม่ใช่ด้วยรายชื่อนี้ D-3/D-4 เพิ่มเอกสารอีกกลุ่มที่ถูกแตะแต่อยู่นอกการกวาดเช่นกัน: ตระกูล FED ที่ใช้แล้ว (SPEC-PRD/ERD/DDD/PWF-FED) ซึ่งแก้โดยตรงผ่านข้อ 9 เพราะไดเรกทอรีเปลี่ยนบริการ federation เอง
The group console is a paid tier under the PROP-016 framework: a group entitlement purchased once at group level, requiring at least two verified member tenants live on the platform; pricing consolidates in PROP-039 with the other tiers (OQ-7). Delivery in three slices: P1 group model + performance overview + fleet read (no accounting) · P2 consolidated management statements (mapping, eliminations, provisional/final) · P3 auditor export pack + group scenarios (PROP-041). P1 depends on nothing unapplied; P2 needs no PROP-023 change (it reads what is already there). The Section 7 directory is not a slice — it is the substrate P1 stands on: domain tree, directory groups and delegation ship with P1, and the migration backfill (7.8) runs before it. Persistence profiles for the thirteen new entities ride the standing dataModeling back-audit rather than blocking application.
console กลุ่มเป็นชั้นเสียเงินตามกรอบ PROP-016: entitlement ของกลุ่มซื้อครั้งเดียวระดับกลุ่ม ต้องมี tenant สมาชิกที่ตรวจยืนยันแล้วอย่างน้อยสองรายใช้งานจริง; ราคาไปรวมใน PROP-039 กับชั้นอื่น (OQ-7) ส่งมอบสามช่วง: P1 โมเดลกลุ่ม + ภาพรวมผลงาน + การอ่านกองรถ (ยังไม่มีบัญชี) · P2 งบบริหารรวม (mapping การตัดรายการ provisional/final) · P3 ชุด export ผู้สอบบัญชี + สถานการณ์ระดับกลุ่ม (PROP-041) P1 ไม่พึ่งสิ่งที่ยังไม่ apply; P2 ไม่ต้องแก้ PROP-023 (อ่านของที่มีอยู่) ไดเรกทอรีในข้อ 7 ไม่ใช่ช่วงส่งมอบ แต่เป็นพื้นที่ P1 ยืนอยู่: ต้นไม้โดเมน กลุ่มไดเรกทอรี และการมอบอำนาจ ไปพร้อม P1 และการเติมข้อมูลย้าย (7.8) ทำก่อน profile การจัดเก็บของ 13 entity ใหม่ไปกับการ back-audit dataModeling ที่ค้างอยู่ ไม่ block การ apply
Is the door opened by control (>50% voting rights or same ultimate beneficial owner), by a stricter wholly-owned test, or by a looser significant-influence test? What evidence does the operator demand, how fresh must it be, and what happens to a group whose re-attestation lapses mid-season?
ประตูเปิดด้วยอำนาจควบคุม (สิทธิออกเสียง >50% หรือเจ้าของผู้รับประโยชน์สูงสุดเดียวกัน) ด้วยบททดสอบถือหุ้นทั้งหมดที่เข้มกว่า หรือด้วยอิทธิพลอย่างมีนัยสำคัญที่หลวมกว่า? operator ขอหลักฐานอะไร ต้องใหม่เพียงใด และกลุ่มที่ยืนยันซ้ำขาดกลางฤดูจะเป็นอย่างไร?
Recommendation:ข้อเสนอแนะ: the control test, evidenced by a DBD extract + shareholder list per member dated within 12 months, re-attested at season open. A lapsed attestation suspends the group (read model frozen, no new runs) but never touches member mills; 60 days lapsed = dissolve. Significant influence is rejected — it is exactly the alliance case G1 excludes.ใช้บททดสอบอำนาจควบคุม พร้อมหนังสือรับรอง DBD + บัญชีผู้ถือหุ้นรายสมาชิกอายุไม่เกิน 12 เดือน ยืนยันซ้ำเมื่อเปิดฤดู การยืนยันขาดทำให้กลุ่มถูกพัก (แช่ read model ไม่รันใหม่) แต่ไม่แตะโรงงานสมาชิก; ขาดเกิน 60 วัน = เลิกกลุ่ม ปฏิเสธเกณฑ์อิทธิพลอย่างมีนัยสำคัญ เพราะเป็นกรณีพันธมิตรที่ G1 กันไว้
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — the control test, evidenced by a DBD extract + shareholder list per member dated within 12 months and re-attested at season open; a lapsed attestation suspends the group (read model frozen, members untouched), 60 days lapsed dissolves it; the significant-influence test is rejected.รับข้อเสนอแนะทั้งหมด — ใช้บททดสอบอำนาจควบคุม หลักฐานหนังสือรับรอง DBD + บัญชีผู้ถือหุ้นรายสมาชิกอายุไม่เกิน 12 เดือน ยืนยันซ้ำเมื่อเปิดฤดู; การยืนยันขาดทำให้กลุ่มถูกพัก (แช่ read model ไม่แตะสมาชิก) ขาดเกิน 60 วันเลิกกลุ่ม; ปฏิเสธเกณฑ์อิทธิพลอย่างมีนัยสำคัญ
A dedicated group surface with its own GRP perspective family (six docs, +1 capacity, +4 roles) is a large structural commitment. The cheaper alternative is a group-scoped mode inside the mill portal, gated by an entitlement and a capacity switch.
surface group เฉพาะพร้อมตระกูล perspective GRP (หกเอกสาร +1 capacity +4 role) เป็นการผูกมัดเชิงโครงสร้างขนาดใหญ่ ทางเลือกที่ถูกกว่าคือโหมดขอบเขตกลุ่มใน portal โรงงาน ควบคุมด้วย entitlement และการสลับ capacity
Recommendation:ข้อเสนอแนะ: the dedicated surface + GRP family. The mode option saves documents and costs a wall: group facts one render path away from mill screens, group roles tempted to inherit mill powers, and a permission model with no place to put grp_*. Precedent: the checkpoint terminal became the twelfth surface for the same reason.เลือก surface เฉพาะ + ตระกูล GRP ทางเลือกแบบโหมดประหยัดเอกสารแต่จ่ายด้วยกำแพง: ข้อเท็จจริงกลุ่มห่างจากหน้าจอโรงงานเพียงเส้นทาง render เดียว role กลุ่มถูกยั่วให้สืบอำนาจโรงงาน และ model สิทธิ์ไม่มีที่วาง grp_* บรรทัดฐาน: เทอร์มินัล checkpoint เป็น surface ที่สิบสองด้วยเหตุผลเดียวกัน
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — the dedicated thirteenth group surface with its own GRP perspective family (six docs). The portal-mode alternative is closed.รับข้อเสนอแนะทั้งหมด — surface group เฉพาะเป็นที่สิบสาม พร้อมตระกูล perspective GRP ของตนเอง (หกเอกสาร) ปิดทางเลือกแบบโหมดใน portal
Are consolidated statements management information only, or does the platform aim at statutory consolidated financial statements (TFRS, audit-signable) — which brings goodwill, non-controlling interests, acquisition accounting and an auditor's opinion into scope?
งบรวมเป็นข้อมูลเพื่อการบริหารเท่านั้น หรือ platform มุ่งงบการเงินรวมตามกฎหมาย (TFRS ลงนามสอบบัญชีได้) ซึ่งจะลากค่าความนิยม ส่วนได้เสียที่ไม่มีอำนาจควบคุม การบัญชีการซื้อธุรกิจ และความเห็นผู้สอบบัญชีเข้ามาในขอบเขต?
Recommendation:ข้อเสนอแนะ: management view, stated on the face of every statement, plus a reproducible auditor export pack. Statutory consolidation is a different product with a different liability profile; earn it later on real usage, do not promise it at day one.เลือกมุมมองบริหาร ระบุไว้บนหน้างบทุกฉบับ พร้อมชุด export ให้ผู้สอบบัญชีที่ทำซ้ำได้ งบรวมตามกฎหมายเป็นผลิตภัณฑ์อีกชิ้นที่มีความรับผิดต่างกัน ควรไปถึงภายหลังจากการใช้งานจริง ไม่สัญญาในวันแรก
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — management view, stated on the face of every statement, plus a reproducible auditor export pack. Statutory (TFRS) consolidation is out of scope at day one.รับข้อเสนอแนะทั้งหมด — มุมมองบริหาร ระบุบนหน้างบทุกฉบับ พร้อมชุด export ให้ผู้สอบบัญชีที่ทำซ้ำได้ งบรวมตามกฎหมาย (TFRS) อยู่นอกขอบเขตวันแรก
When a factory leaves, does the group keep its historical periods in the consolidated view (G5), or is history re-cut to today's membership? And when one is bought, may the group back-consolidate prior seasons for comparison?
เมื่อโรงงานออกจากกลุ่ม กลุ่มยังเก็บงวดในอดีตไว้ในมุมมองรวม (G5) หรือประวัติถูกตัดใหม่ตามสมาชิกภาพวันนี้? และเมื่อซื้อเข้ามา กลุ่มย้อนรวมฤดูก่อนเพื่อเปรียบเทียบได้ไหม?
Recommendation:ข้อเสนอแนะ: membership-period truth both ways — past periods stay as held, published statements are immutable, and no back-consolidation of pre-membership periods (the group did not own that business then; a labelled pro-forma comparison view is the acceptable substitute, clearly marked, never in the statement set).ยึดความจริงตามช่วงสมาชิกภาพทั้งสองทาง — งวดในอดีตคงอยู่ตามที่ถือครอง งบที่เผยแพร่เปลี่ยนไม่ได้ และไม่ย้อนรวมงวดก่อนเป็นสมาชิก (ตอนนั้นกลุ่มยังไม่ได้เป็นเจ้าของ; มุมมองเปรียบเทียบ pro-forma ที่ติดป้ายชัดเจนเป็นตัวแทนที่ยอมรับได้ และไม่อยู่ในชุดงบ)
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — membership-period truth both ways; published statements immutable; no back-consolidation of pre-membership periods; a clearly labelled pro-forma comparison view is the only substitute and never joins the statement set.รับข้อเสนอแนะทั้งหมด — ยึดความจริงตามช่วงสมาชิกภาพทั้งสองทาง; งบที่เผยแพร่เปลี่ยนไม่ได้; ไม่ย้อนรวมงวดก่อนเป็นสมาชิก; มุมมองเปรียบเทียบ pro-forma ที่ติดป้ายชัดเจนเป็นตัวแทนเดียวและไม่เข้าชุดงบ
Strategic-payment cost is the most sensitive number the platform holds (NFR-21, the str_* family). May a group see it consolidated across its factories, and does a member mill's strategic entitlement have to be live for its numbers to appear?
ต้นทุนค่าอ้อยกลยุทธ์เป็นตัวเลขที่อ่อนไหวที่สุดที่ platform ถือ (NFR-21 ตระกูล str_*) กลุ่มเห็นค่ารวมข้ามโรงงานได้ไหม และ entitlement กลยุทธ์ของโรงงานสมาชิกต้องใช้งานอยู่หรือไม่ตัวเลขจึงปรากฏ?
Recommendation:ข้อเสนอแนะ: yes, aggregated only, and only for factories whose own strategic entitlement is live — the owner may see its own cost, never a per-farmer agreement, and never a factory it has not paid to run the strategic suite for. Requires grp_amounts plus the group's strategic entitlement; four-eyes on granting it, mirroring PROP-042's posture on amount-bearing keys.ได้ แบบรวมเท่านั้น และเฉพาะโรงงานที่ entitlement กลยุทธ์ของตนใช้งานอยู่ — เจ้าของเห็นต้นทุนของตัวเองได้ แต่ไม่เห็นข้อตกลงรายชาวไร่ และไม่เห็นโรงงานที่ยังไม่ได้จ่ายค่าชุดกลยุทธ์ ต้องมี grp_amounts ร่วมกับ entitlement กลยุทธ์ของกลุ่ม; การให้กุญแจใช้สี่ตา ตามท่าทีของ PROP-042
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted with one client amendment. Accepted: consolidated strategic amounts are visible aggregated, only for factories whose own strategic entitlement is live, requiring grp_amounts + the group's strategic entitlement, four-eyes on the grant. Amended: the client also permits per-farmer agreement detail — the owner may read its own factories' StrategicAgreement rows (parties, scope, rate, volume, amounts) under a new sixth key grp_str_agreements, granted four-eyes, one member factory at a time and only inside its membership period. Bounds that survive: rows are never joined across factories into a unified farmer profile (G3 holds), no other farmer personal data rides along (no quota history, credit or reliability), and every row-set read is audited with principal, factory, period and legal basis (NFR-62, NFR-68). The OQ-6 floor is untouched — it governs aggregate cells; this is an explicit, keyed, audited detail route, not an unmasked aggregate.รับข้อเสนอแนะ พร้อมการแก้ไขจากลูกค้าหนึ่งข้อ ที่รับ: ตัวเงินกลยุทธ์แบบรวมเห็นได้แบบรวมเท่านั้น เฉพาะโรงงานที่ entitlement กลยุทธ์ของตนใช้งานอยู่ ต้องมี grp_amounts + entitlement กลยุทธ์ของกลุ่ม และให้กุญแจด้วยสี่ตา ที่แก้: ลูกค้าอนุญาตรายละเอียดข้อตกลงรายชาวไร่ ด้วย — เจ้าของอ่านแถว StrategicAgreement ของโรงงานตนได้ (คู่สัญญา ขอบเขต อัตรา ปริมาณ ตัวเงิน) ด้วยกุญแจที่หก grp_str_agreements ให้ด้วยสี่ตา ทีละโรงงานสมาชิก และเฉพาะภายในช่วงสมาชิกภาพ ขอบที่ยังคงอยู่: ไม่รวมแถวข้ามโรงงานเป็นโปรไฟล์ชาวไร่เดียว (G3 คงอยู่) ไม่มีข้อมูลส่วนบุคคลอื่นของชาวไร่ติดมา (ไม่มีประวัติโควตา สินเชื่อ หรือคะแนน) และทุกการอ่านชุดแถวถูกบันทึกตรวจสอบพร้อม principal โรงงาน งวด และฐานทางกฎหมาย (NFR-62, NFR-68) เกณฑ์ OQ-6 ไม่ถูกลด — ใช้กับช่องค่ารวม; ส่วนนี้เป็นเส้นทางรายละเอียดที่ชัดแจ้ง มีกุญแจ และมีบันทึกตรวจสอบ
G3 forbids farmer-level pooling, but aggregates leak: "quota farmers with unpaid balances at factory B: 2" is nearly a name. What is k, does it apply to every farmer-derived cell or only personal-data-derived ones, and who may see suppressed cells (nobody, or a keyed exception)?
G3 ห้ามรวมกองระดับชาวไร่ แต่ค่ารวมรั่วได้: "ชาวไร่โควตาที่มียอดค้างที่โรงงาน B: 2" แทบเท่ากับชื่อ k เท่าใด ใช้กับทุกช่องที่มาจากชาวไร่หรือเฉพาะที่มาจากข้อมูลส่วนบุคคล และใครเห็นช่องที่ถูกกดได้ (ไม่มีใคร หรือข้อยกเว้นที่มีกุญแจ)?
Recommendation:ข้อเสนอแนะ: k = 5 on every farmer-derived cell, enforced server-side before render and export (NFR-63), with no keyed override — a group that needs the name has a factory-level route through its own mill's roles. Masked cells show the floor, not a blank, so users learn the rule instead of suspecting a bug.ใช้ k = 5 กับทุกช่องที่มาจากชาวไร่ บังคับฝั่ง server ก่อน render และ export (NFR-63) ไม่มีการ override ด้วยกุญแจ — กลุ่มที่ต้องรู้ชื่อมีเส้นทางระดับโรงงานผ่าน role ของโรงงานตน ช่องที่ปิดบังแสดงเกณฑ์ ไม่ใช่ค่าว่าง เพื่อให้ผู้ใช้เข้าใจกติกาแทนที่จะคิดว่าระบบพัง
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — k = 5 on every farmer-derived aggregate cell, enforced server-side before render and export (NFR-63), no keyed override, and masked cells display the floor rather than a blank. (The OQ-5 amendment is the one named-detail route and does not weaken this floor.)รับข้อเสนอแนะทั้งหมด — k = 5 กับทุกช่องค่ารวมที่มาจากชาวไร่ บังคับฝั่ง server ก่อน render และ export (NFR-63) ไม่มีการ override ด้วยกุญแจ และช่องที่ปิดบังแสดงเกณฑ์ ไม่ใช่ค่าว่าง (การแก้ไขใน OQ-5 เป็นเส้นทางรายละเอียดที่ระบุชื่อเพียงเส้นทางเดียวและไม่ลดเกณฑ์นี้)
Is the console a paid tier, and if so priced per member factory, per group, or on consolidated throughput? Does the group's purchase also unlock anything inside member mills (it should not), and who signs — the group entity or each mill?
console เป็นชั้นเสียเงินไหม และคิดราคารายโรงงานสมาชิก รายกลุ่ม หรือตาม throughput รวม? การซื้อของกลุ่มปลดล็อกอะไรในโรงงานสมาชิกด้วยไหม (ไม่ควร) และใครลงนาม — นิติบุคคลกลุ่มหรือแต่ละโรงงาน?
Recommendation:ข้อเสนอแนะ: paid, signed by the group entity, priced per member factory on the usage-scaled principle already decided for PROP-039 (never flat), with a group-tier discount; it unlocks nothing inside a mill (G2). Consolidate the number in PROP-039's SKU tree rather than pricing it here.เป็นชั้นเสียเงิน ลงนามโดยนิติบุคคลกลุ่ม คิดราคารายโรงงานสมาชิกตามหลักการปรับตามการใช้งานที่ตัดสินไว้แล้วใน PROP-039 (ไม่ใช่ราคาเหมา) พร้อมส่วนลดชั้นกลุ่ม; ไม่ปลดล็อกสิ่งใดในโรงงาน (G2) ให้ตัวเลขไปรวมในต้นไม้ SKU ของ PROP-039 ไม่กำหนดราคาที่นี่
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — paid, signed by the group entity, priced per member factory on the usage-scaled principle with a group-tier discount, unlocking nothing inside a member mill (G2); the number itself consolidates in PROP-039's SKU tree.รับข้อเสนอแนะทั้งหมด — เป็นชั้นเสียเงิน ลงนามโดยนิติบุคคลกลุ่ม คิดราคารายโรงงานสมาชิกตามหลักปรับตามการใช้งาน พร้อมส่วนลดชั้นกลุ่ม ไม่ปลดล็อกสิ่งใดในโรงงานสมาชิก (G2); ตัวเลขไปรวมในต้นไม้ SKU ของ PROP-039
Does the Section 10 sweep run in the same change set as application (nine drafts rev-bumped at once), or as a separate pass afterwards? And are the sweep's new OQs (group leasing, group price metric, group scenarios) raised now for one decision session, or left to each host proposal's own review?
การกวาดในข้อ 10 ทำในชุดการเปลี่ยนแปลงเดียวกับการ apply (bump rev เก้าฉบับพร้อมกัน) หรือทำเป็นรอบแยกภายหลัง? และ OQ ใหม่จากการกวาด (การเช่าระดับกลุ่ม เมตริกราคากลุ่ม สถานการณ์ระดับกลุ่ม) ยกขึ้นตอนนี้เพื่อประชุมตัดสินครั้งเดียว หรือปล่อยไปตามรอบทบทวนของแต่ละฉบับ?
Recommendation:ข้อเสนอแนะ: one pass, same change set (X-1) — a half-swept series is worse than an unswept one, because a reader cannot tell which premise is current. The sweep's new OQs stay with their host proposals for that proposal's own review; only their existence is recorded here, so PROP-026's own decision session is not overloaded.ทำรอบเดียว ชุดเดียวกัน (X-1) — ชุดร่างที่กวาดครึ่งเดียวแย่กว่าไม่กวาดเลย เพราะผู้อ่านแยกไม่ออกว่า premise ใดเป็นปัจจุบัน OQ ใหม่จากการกวาดอยู่กับฉบับเจ้าของเรื่องเพื่อรอบทบทวนของฉบับนั้น บันทึกไว้ที่นี่เพียงว่ามีอยู่ เพื่อไม่ให้ประชุมตัดสินของ PROP-026 หนักเกินไป
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — one pass, same change set (X-1): the nine pending drafts are rev-bumped in the change set that applies PROP-026. The sweep's new OQs stay with their host proposals for those proposals' own reviews.รับข้อเสนอแนะทั้งหมด — ทำรอบเดียว ชุดเดียวกัน (X-1): ร่างที่ค้างเก้าฉบับ bump rev ในชุดการเปลี่ยนแปลงที่ apply PROP-026 OQ ใหม่จากการกวาดอยู่กับฉบับเจ้าของเรื่องเพื่อรอบทบทวนของฉบับนั้น
When factories are branches of one company, statutory documents belong to the entity, not the factory. Does the delivery note, tax invoice and payment voucher carry the branch code alongside one tax id? Does each branch keep its own PROP-023 chart and period (closed per branch, combined by the entity), or does the entity own one chart with a branch dimension? And does the platform offer the entity's combined report as its book of record — since legally it is one book?
เมื่อโรงงานเป็นสาขาของบริษัทเดียว เอกสารตามกฎหมายเป็นของนิติบุคคล ไม่ใช่ของโรงงาน ใบส่งอ้อย ใบกำกับภาษี และใบสำคัญจ่าย ระบุเลขสาขาคู่กับเลขภาษีเดียวหรือไม่? แต่ละสาขาคงผังบัญชีและงวดของตนตาม PROP-023 (ปิดรายสาขา แล้วนิติบุคคลรวม) หรือให้นิติบุคคลถือผังเดียวที่มีมิติสาขา? และ platform เสนอรายงานรวมของนิติบุคคลเป็นสมุดทางการไหม เพราะตามกฎหมายมันคือสมุดเล่มเดียว?
Recommendation:ข้อเสนอแนะ: branch code on every statutory document beside the single tax id (Revenue Department practice); each branch keeps its own chart and closes its own period — the entity's combined report is a first-class combination of those closes rather than a separate ledger; and yes, an L-1 combined report may be labelled the entity's own management report (not "consolidated"), because no consolidation is happening. Statutory filing stays the accountant's act outside the platform.ใส่เลขสาขาบนเอกสารตามกฎหมายทุกฉบับคู่กับเลขภาษีเดียว (แนวปฏิบัติกรมสรรพากร); แต่ละสาขาคงผังบัญชีและปิดงวดของตน — รายงานรวมของนิติบุคคลคือการรวมของการปิดเหล่านั้น ไม่ใช่บัญชีแยกอีกเล่ม; และรายงานรวมแบบ L-1 ติดป้ายเป็นรายงานบริหารของนิติบุคคลได้ (ไม่ใช่ "งบรวม") เพราะไม่มีการ consolidate เกิดขึ้น การยื่นตามกฎหมายยังเป็นงานของผู้ทำบัญชีนอก platform
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — branch code on every statutory document beside the single tax id; each branch keeps its own chart and closes its own period; the entity's combined report is a first-class combination of those closes and may be labelled the entity's own management report (never "consolidated"); statutory filing stays the accountant's act outside the platform.รับข้อเสนอแนะทั้งหมด — ใส่เลขสาขาบนเอกสารตามกฎหมายทุกฉบับคู่กับเลขภาษีเดียว; แต่ละสาขาคงผังบัญชีและปิดงวดของตน; รายงานรวมของนิติบุคคลคือการรวมของการปิดเหล่านั้นในฐานะสิ่งชั้นหนึ่ง และติดป้ายเป็นรายงานบริหารของนิติบุคคลได้ (ไม่ใช่ "งบรวม"); การยื่นตามกฎหมายยังเป็นงานของผู้ทำบัญชีนอก platform
How is control computed — direct votes only, or indirect chains multiplied (A owns 60% of B, B owns 60% of C → A controls C)? Do circular holdings get excluded from the denominator? What happens to a genuine 50/50 factory, or a ring of mutual holdings with no apex? And must every edge carry evidence, or only the edges that decide control?
คำนวณอำนาจควบคุมอย่างไร — เฉพาะเสียงทางตรง หรือคูณห่วงโซ่ทางอ้อม (A ถือ B 60% B ถือ C 60% → A ควบคุม C)? การถือหุ้นวนตัดออกจากตัวหารไหม? โรงงาน 50/50 แท้ ๆ หรือวงถือหุ้นกันที่ไม่มียอด จะเป็นอย่างไร? และทุกเส้นต้องมีหลักฐาน หรือเฉพาะเส้นที่ตัดสินอำนาจควบคุม?
Recommendation:ข้อเสนอแนะ: control = majority of voting rights held directly or through a chain of controlled entities (the TFRS-style control notion, computed on the dated graph, not a raw percentage multiplication); treasury/circular self-holdings excluded from the denominator; no apex → no group, stated as a refusal reason on the application (a 50/50 JV is an alliance, and G1 holds). Evidence required on every edge used in the control path; other edges may be declared for completeness without gating verification.อำนาจควบคุม = เสียงข้างมากที่ถือทางตรงหรือผ่านห่วงโซ่ของนิติบุคคลที่ควบคุมอยู่ (แนวคิดอำนาจควบคุมแบบ TFRS คำนวณบนกราฟที่มีวันที่ ไม่ใช่การคูณเปอร์เซ็นต์ดิบ); การถือหุ้นวน/หุ้นทุนซื้อคืนตัดออกจากตัวหาร; ไม่มียอด → ไม่มีกลุ่ม โดยแจ้งเหตุผลการปฏิเสธในคำขอ (JV 50/50 คือพันธมิตร และ G1 คงอยู่) ต้องมีหลักฐานทุกเส้นที่ใช้ในเส้นทางควบคุม; เส้นอื่นประกาศไว้เพื่อความครบถ้วนได้โดยไม่กั้นการตรวจยืนยัน
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — control = majority of voting rights held directly or through a chain of controlled entities, computed on the dated graph; treasury and circular self-holdings excluded from the denominator; no apex = no group, with the refusal reason stated on the application; evidence required on every edge in the control path, other edges declarable without gating verification.รับข้อเสนอแนะทั้งหมด — อำนาจควบคุม = เสียงข้างมากที่ถือทางตรงหรือผ่านห่วงโซ่ของนิติบุคคลที่ควบคุมอยู่ คำนวณบนกราฟที่มีวันที่; ตัดหุ้นทุนซื้อคืนและการถือหุ้นวนออกจากตัวหาร; ไม่มียอด = ไม่มีกลุ่ม พร้อมแจ้งเหตุผลการปฏิเสธในคำขอ; ต้องมีหลักฐานทุกเส้นในเส้นทางควบคุม เส้นอื่นประกาศได้โดยไม่กั้นการตรวจยืนยัน
In L-2/L-3 a member may be 70%-owned. Does the group console show that factory at 100% (control view) or at 70% (economic view)? Are non-controlling interests disclosed, and may a minority partner in one member mill see anything at group level (it is not their group)?
ใน L-2/L-3 สมาชิกอาจถือหุ้น 70% console กลุ่มแสดงโรงงานนั้นที่ 100% (มุมอำนาจควบคุม) หรือ 70% (มุมส่วนได้เสีย)? เปิดเผยส่วนได้เสียที่ไม่มีอำนาจควบคุมไหม และหุ้นส่วนข้างน้อยในโรงงานสมาชิกเห็นอะไรระดับกลุ่มได้ไหม (ไม่ใช่กลุ่มของเขา)?
Recommendation:ข้อเสนอแนะ: consolidate at 100% with the ownership percentage shown per factory column and a disclosed non-controlling share line — control is what the console is for; an economic (share-of-profit) view is a later toggle, not day one. A minority partner gets nothing at group level: it is a shareholder of a member, not a member of the group (G1/G2).รวมที่ 100% พร้อมแสดงสัดส่วนการถือหุ้นในคอลัมน์รายโรงงานและบรรทัดเปิดเผยส่วนของผู้ถือหุ้นข้างน้อย — console มีไว้เพื่อมุมอำนาจควบคุม; มุมส่วนได้เสีย (สัดส่วนกำไร) เป็น toggle ภายหลัง ไม่ใช่วันแรก หุ้นส่วนข้างน้อยไม่ได้อะไรระดับกลุ่ม: เขาเป็นผู้ถือหุ้นของสมาชิก ไม่ใช่สมาชิกของกลุ่ม (G1/G2)
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — consolidate at 100% (control view) with the ownership percentage per factory column and a disclosed non-controlling share line; the economic view is a later toggle; a minority partner in a member mill sees nothing at group level.รับข้อเสนอแนะทั้งหมด — รวมที่ 100% (มุมอำนาจควบคุม) พร้อมสัดส่วนการถือหุ้นในคอลัมน์รายโรงงานและบรรทัดเปิดเผยส่วนของผู้ถือหุ้นข้างน้อย; มุมส่วนได้เสียเป็น toggle ภายหลัง; หุ้นส่วนข้างน้อยในโรงงานสมาชิกไม่เห็นอะไรระดับกลุ่ม
D-3 makes the group the tenant and the factory a domain. The applied model treats each mill as the tenant, and this proposal's own draft NFR-61 (Rev 0.2) forbade a group principal from resolving inside a mill at all. Do we re-cut the boundary platform-wide, or keep mill-as-tenant and bolt the directory on as an overlay?
D-3 ทำให้กลุ่มเป็น tenant และโรงงานเป็นโดเมน model ที่ใช้แล้วถือว่าแต่ละโรงงานเป็น tenant และ NFR-61 ในร่าง Rev 0.2 ของข้อเสนอนี้ห้าม principal ของกลุ่ม resolve ในโรงงานโดยสิ้นเชิง เราจะตัดขอบใหม่ทั้ง platform หรือคงโรงงานเป็น tenant แล้วต่อไดเรกทอรีเป็นชั้นคลุม?
Recommendation:ข้อเสนอแนะ: re-cut once, platform-wide — one model beats two. Every existing mill becomes a single-domain tenant (no data move, no re-keying, 7.8), and NFR-61 is rewritten from "never resolves" to "resolves only through a recorded, disclosed delegation". PROP-025 OQ-2's absolute isolation survives verbatim — it now bites at the tenant root, which is exactly where competitors are separated.ตัดใหม่ครั้งเดียวทั้ง platform — model เดียวดีกว่าสอง โรงงานที่มีอยู่ทุกแห่งกลายเป็น tenant โดเมนเดียว (ไม่ย้ายข้อมูล ไม่เปลี่ยนคีย์ 7.8) และเขียน NFR-61 ใหม่จาก "ไม่ resolve เลย" เป็น "resolve ได้เฉพาะผ่านการมอบอำนาจที่บันทึกและเปิดเผย" การแยกเด็ดขาดตาม OQ-2 ของ PROP-025 ยังอยู่ครบถ้อยคำ — เพียงบังคับที่รากของ tenant ซึ่งเป็นที่ที่คู่แข่งถูกแยกจริง
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — re-cut the boundary once, platform-wide: every existing mill becomes a single-domain tenant (no data move, no re-keying, 7.8), and NFR-61 is rewritten from "never resolves" to "resolves only through a recorded, disclosed delegation". PROP-025 OQ-2's absolute isolation survives verbatim, now biting at the tenant root.รับข้อเสนอแนะทั้งหมด — ตัดขอบใหม่ครั้งเดียวทั้ง platform: โรงงานที่มีอยู่ทุกแห่งกลายเป็น tenant โดเมนเดียว (ไม่ย้ายข้อมูล ไม่เปลี่ยนคีย์ 7.8) และเขียน NFR-61 ใหม่จาก "ไม่ resolve เลย" เป็น "resolve ได้เฉพาะผ่านการมอบอำนาจที่บันทึกและเปิดเผย" การแยกเด็ดขาดตาม OQ-2 ของ PROP-025 ยังอยู่ครบถ้อยคำ โดยบังคับที่รากของ tenant
Active Directory's Enterprise Admins group lands in every child domain by construction. Do we copy that (one root group with reach everywhere), or require an explicit named grant per factory — safer, but unmanageable for a twelve-factory group and an invitation to shared credentials?
กลุ่ม Enterprise Admins ของ Active Directory ปรากฏในทุกโดเมนลูกโดยการออกแบบ เราจะลอกแบบนั้น (กลุ่มรากหนึ่งกลุ่มที่เอื้อมได้ทุกที่) หรือบังคับให้ต้องมี grant ระบุชื่อรายโรงงาน — ปลอดภัยกว่า แต่บริหารไม่ได้ในกลุ่มสิบสองโรงงาน และเชิญชวนให้ใช้รหัสร่วมกัน?
Recommendation:ข้อเสนอแนะ: exactly one built-in inherited group, grp_enterprise_admin, and no other implicit inheritance (DR-2): four-eyes to add a member, listed by name on every member factory's admin screen, revocable only at the root, and barred from transactional keys (OQ-15). Visible power is safer than convenient power.มีกลุ่มสืบทอดในตัวเพียงกลุ่มเดียว grp_enterprise_admin และไม่มีการสืบทอดโดยนัยอื่น (DR-2): เพิ่มสมาชิกด้วยสี่ตา แสดงรายชื่อบนหน้าจอผู้ดูแลของโรงงานสมาชิกทุกแห่ง เพิกถอนได้ที่รากเท่านั้น และห้ามถือกุญแจเชิงรายการ (OQ-15) อำนาจที่มองเห็นปลอดภัยกว่าอำนาจที่สะดวก
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — exactly one built-in inherited group, grp_enterprise_admin, and no other implicit inheritance (DR-2): four-eyes to add a member, listed by name on every member factory's admin screen, revocable only at the root, and barred from transactional keys.รับข้อเสนอแนะทั้งหมด — มีกลุ่มสืบทอดในตัวเพียงกลุ่มเดียว grp_enterprise_admin และไม่มีการสืบทอดโดยนัยอื่น (DR-2): เพิ่มสมาชิกด้วยสี่ตา แสดงรายชื่อบนหน้าจอผู้ดูแลของโรงงานสมาชิกทุกแห่ง เพิกถอนได้ที่รากเท่านั้น และห้ามถือกุญแจเชิงรายการ
May the tree be deeper than root → site — a regional tier, or an L-1 entity domain holding its branch factories? Deeper trees model reality better and make delegation subtler; they also multiply the ways a grant can surprise someone.
ต้นไม้ลึกกว่าราก → ไซต์ ได้ไหม — ชั้นภูมิภาค หรือโดเมนนิติบุคคลแบบ L-1 ที่ถือโรงงานสาขาของตน? ต้นไม้ที่ลึกกว่าสะท้อนความจริงดีกว่าและมอบอำนาจได้ละเอียดกว่า แต่ก็เพิ่มทางที่ grant จะทำให้คนตกใจ
Recommendation:ข้อเสนอแนะ: one optional intermediate tier, three tiers maximum (root → entity or region → site), created only where a LegalEntity or a declared region justifies it; a site domain never holds children, and arbitrary depth is refused. Deep trees are how directories become unauditable.ให้มีชั้นกลางเสริมได้หนึ่งชั้น สูงสุดสามชั้น (ราก → นิติบุคคลหรือภูมิภาค → ไซต์) สร้างได้เฉพาะเมื่อมี LegalEntity หรือภูมิภาคที่ประกาศไว้รองรับ; โดเมนไซต์ไม่มีลูก และความลึกตามอำเภอใจถูกปฏิเสธ ต้นไม้ลึกคือทางที่ไดเรกทอรีกลายเป็นสิ่งที่ตรวจสอบไม่ได้
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — one optional intermediate tier, three tiers maximum (root → entity or region → site), created only where a LegalEntity or a declared region justifies it; a site domain never holds children and arbitrary depth is refused.รับข้อเสนอแนะทั้งหมด — มีชั้นกลางเสริมได้หนึ่งชั้น สูงสุดสามชั้น (ราก → นิติบุคคลหรือภูมิภาค → ไซต์) สร้างได้เฉพาะเมื่อมี LegalEntity หรือภูมิภาคที่ประกาศไว้รองรับ; โดเมนไซต์ไม่มีลูก และความลึกตามอำเภอใจถูกปฏิเสธ
May a delegated root account approve a settlement, void a weighing, sign a strategic agreement, or release a payout run at a member factory? The owner will argue it owns the company; the factory's staff, the regulator and the farmer all rely on the factory's own chain.
บัญชีรากที่ได้รับมอบอำนาจ อนุมัติการชำระ ยกเลิกการชั่ง ลงนามข้อตกลงกลยุทธ์ หรือปล่อยรอบจ่ายเงินที่โรงงานสมาชิกได้ไหม? เจ้าของจะอ้างว่าเป็นเจ้าของบริษัท; แต่เจ้าหน้าที่โรงงาน ผู้กำกับ และชาวไร่ พึ่งสายอนุมัติของโรงงานเอง
Recommendation:ข้อเสนอแนะ: administrative writes yes (configuration, chart mapping, master data, role grants, report publishing); transactional and approval acts no — those keys ship domain_delegable = false. Where a head-office person genuinely must approve at a factory, they hold a site-domain role there under that factory's four-eyes, not inherited authority. Ownership buys the seat, not the signature.การเขียนเชิงบริหารได้ (การตั้งค่า map ผังบัญชี ข้อมูลหลัก การให้ role การเผยแพร่รายงาน); การทำรายการและการอนุมัติไม่ได้ — กุญแจเหล่านั้นออกด้วย domain_delegable = false หากคนของสำนักงานใหญ่ต้องอนุมัติที่โรงงานจริง ให้ถือ role ระดับโดเมนไซต์ที่นั่นภายใต้สี่ตาของโรงงาน ไม่ใช่อำนาจที่สืบทอดมา ความเป็นเจ้าของซื้อที่นั่งได้ ไม่ใช่ลายมือชื่อ
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — administrative writes are delegable (configuration, chart mapping, master data, role grants, report publishing); transactional and approval acts are not — those keys ship domain_delegable = false, and a head-office person who must approve at a factory holds a site-domain role there under that factory's four-eyes.รับข้อเสนอแนะทั้งหมด — การเขียนเชิงบริหารมอบอำนาจได้ (การตั้งค่า map ผังบัญชี ข้อมูลหลัก การให้ role การเผยแพร่รายงาน); การทำรายการและการอนุมัติมอบไม่ได้ — กุญแจเหล่านั้นออกด้วย domain_delegable = false และคนของสำนักงานใหญ่ที่ต้องอนุมัติที่โรงงานให้ถือ role โดเมนไซต์ที่นั่นภายใต้สี่ตาของโรงงาน
Do we mint DirectoryGroup + DirectoryGrant, or express everything through the applied roles and PermissionCatalog with a domain column? And if we mint it: how deep may nesting go, and may a group span domains of different tiers?
เราจะออก DirectoryGroup + DirectoryGrant หรือแสดงทุกอย่างผ่าน role ที่ใช้แล้วและ PermissionCatalog ที่เพิ่มคอลัมน์โดเมน? และหากออก: ซ้อนได้ลึกเท่าใด และกลุ่มครอบโดเมนต่างชั้นได้ไหม?
Recommendation:ข้อเสนอแนะ: mint both. The client's requirement — permission held "through the group the user is assigned to" — is a security group, and roles alone cannot express one account carrying different bundles in different domains. Nesting one level only, groups may span tiers, membership rows are time-boundable, and every group is owned by exactly one domain so revocation always has an address.ออกทั้งสอง ความต้องการของลูกค้า — สิทธิ์ที่ถือ "ผ่านกลุ่มที่ผู้ใช้ถูกกำหนดให้อยู่" — คือกลุ่มความปลอดภัย และ role เพียงอย่างเดียวแสดงไม่ได้ว่าบัญชีหนึ่งถือชุดสิทธิ์ต่างกันในต่างโดเมน ซ้อนได้ชั้นเดียว กลุ่มครอบต่างชั้นได้ แถวสมาชิกกำหนดช่วงเวลาได้ และทุกกลุ่มมีโดเมนเจ้าของหนึ่งเดียว การเพิกถอนจึงมีที่อยู่เสมอ
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — mint DirectoryGroup + DirectoryGrant: nesting one level only, groups may span tiers, membership rows are time-boundable, and every group is owned by exactly one domain so revocation always has an address.รับข้อเสนอแนะทั้งหมด — ออก DirectoryGroup + DirectoryGrant: ซ้อนได้ชั้นเดียว กลุ่มครอบต่างชั้นได้ แถวสมาชิกกำหนดช่วงเวลาได้ และทุกกลุ่มมีโดเมนเจ้าของหนึ่งเดียว การเพิกถอนจึงมีที่อยู่เสมอ
Does an account sign in domain-qualified (user@danchang.caneco, the AD habit), or once as a person who then picks a domain? Does the party switcher become a domain switcher, and what does a delegated account see in it — every domain it may touch, or only the ones it has opened before?
บัญชีลงชื่อเข้าแบบระบุโดเมน (user@danchang.caneco ตามธรรมเนียม AD) หรือลงชื่อครั้งเดียวในฐานะบุคคลแล้วเลือกโดเมน? ตัวสลับผู้เล่นกลายเป็นตัวสลับโดเมนไหม และบัญชีที่ได้รับมอบอำนาจเห็นอะไรในนั้น — ทุกโดเมนที่แตะได้ หรือเฉพาะที่เคยเปิด?
Recommendation:ข้อเสนอแนะ: one identity, no domain-qualified logins — PROP-005's verified phone / OIDC stays the only credential (NFR-14). The existing party switcher gains a domain picker inside the tenant, listing every domain the account may open with the role it holds there, defaulting to the last used; each pick re-issues the token (FR-220). One human, one login, an explicit answer to "where am I right now" on every screen.อัตลักษณ์เดียว ไม่มีการลงชื่อแบบระบุโดเมน — เบอร์ที่ยืนยันแล้ว/OIDC ของ PROP-005 ยังเป็นข้อมูลรับรองเดียว (NFR-14) ตัวสลับผู้เล่นที่มีอยู่เพิ่มตัวเลือกโดเมนภายใน tenant แสดงทุกโดเมนที่บัญชีเปิดได้พร้อม role ที่ถือที่นั่น ค่าเริ่มต้นคือที่ใช้ล่าสุด; ทุกการเลือกออก token ใหม่ (FR-220) หนึ่งคน หนึ่งการลงชื่อ และคำตอบชัดแจ้งบนทุกหน้าจอว่า "ตอนนี้ฉันอยู่ที่ไหน"
DECIDED (client, 25 Jul 2026):ตัดสินแล้ว (ลูกค้า, 25 ก.ค. 2569): recommendation accepted in full — one identity, no domain-qualified logins (NFR-14 stands); the existing party switcher gains a domain picker listing every domain the account may open with the role it holds there, defaulting to the last used, and each pick re-issues the token (FR-220).รับข้อเสนอแนะทั้งหมด — อัตลักษณ์เดียว ไม่มีการลงชื่อแบบระบุโดเมน (NFR-14 คงอยู่); ตัวสลับผู้เล่นที่มีอยู่เพิ่มตัวเลือกโดเมน แสดงทุกโดเมนที่บัญชีเปิดได้พร้อม role ที่ถือที่นั่น ค่าเริ่มต้นคือที่ใช้ล่าสุด และทุกการเลือกออก token ใหม่ (FR-220)
| Rev | Dateวันที่ | Changesการเปลี่ยนแปลง |
|---|---|---|
| 0.6 | 2026-07-25 | ACCEPTED & APPLIED as spec v0.25.0. Draft ids landed unchanged: FR-196…221 · NFR-61…68 · WF-76…80. Graph: +perspective grp · +capacity group (class market, exclusive, operator-verified admission) · +surface group (thirteenth) · +4 roles · +6 grp_* catalog keys · +context factory_group with 13 entities · 21 relationship edges · 10 events · 5 glossary terms · 7 uix screens (grp-01…grp-07) + the grp.* copy namespace · new federation.directory block (DR-1…DR-6, authoring layers A1…A5, resolution, disclosure) · entitlementMatrix +group · claims +dom · A-20 mapping extended; amendments in place to Mill, SurfaceRoleGrant, RolePermission, PermissionCatalog and FR-60/63/64/65. Documents: six SPEC-*-GRP created (Rev 0.1.0); SPEC-APP 0.5.0 (surfaces 13 + entitlement matrix column/row); SPEC-PRD/ERD/DDD/PWF/UIX 0.3.0; SPEC-PRD-FED 0.4.0 (new Section 12 — the tenant directory), SPEC-ERD-FED 0.4.0, SPEC-DDD-FED 0.3.0, SPEC-PWF-FED 0.3.0; SPEC-INDEX 0.2.13 (new Section 2.4); shared/spec-nav.js docnav +GRP. The Section 10 sweep applied in the same change set per OQ-8: PROP-033…041 rev-bumped with a Group context callout each, mirrored in drafts/index.html + drafts/CLAUDE.md. Persistence profiles for the 13 new entities ride the standing dataModeling back-audit.รับและ apply แล้วเป็น spec v0.25.0 id ในร่างลงตามเดิม: FR-196…221 · NFR-61…68 · WF-76…80 graph: +perspective grp · +capacity group (class market เอกสิทธิ์ รับเข้าโดย operator ตรวจยืนยัน) · +surface group (ที่สิบสาม) · +4 role · +6 กุญแจ grp_* · +context factory_group พร้อม 13 entity · 21 เส้นความสัมพันธ์ · 10 เหตุการณ์ · 5 คำในอภิธานศัพท์ · 7 หน้าจอ uix (grp-01…grp-07) + namespace คำ grp.* · บล็อกใหม่ federation.directory (DR-1…DR-6 ชั้น A1…A5 การตัดสินสิทธิ์ การเปิดเผย) · entitlementMatrix +group · claims +dom · ขยาย mapping A-20; แก้ในที่ที่ Mill, SurfaceRoleGrant, RolePermission, PermissionCatalog และ FR-60/63/64/65 เอกสาร: สร้าง SPEC-*-GRP หกฉบับ (Rev 0.1.0); SPEC-APP 0.5.0 (surface 13 + คอลัมน์/แถวในตารางสิทธิ์); SPEC-PRD/ERD/DDD/PWF/UIX 0.3.0; SPEC-PRD-FED 0.4.0 (เพิ่มข้อ 12 — ไดเรกทอรีของ tenant), SPEC-ERD-FED 0.4.0, SPEC-DDD-FED 0.3.0, SPEC-PWF-FED 0.3.0; SPEC-INDEX 0.2.13 (เพิ่มข้อ 2.4); docnav shared/spec-nav.js +GRP การกวาดตามข้อ 10 ทำในชุดเดียวกันตาม OQ-8: PROP-033…041 bump rev พร้อมกล่องบริบทกลุ่มทุกฉบับ mirror ใน drafts/index.html + drafts/CLAUDE.md profile การจัดเก็บของ 13 entity ใหม่ไปกับการ back-audit dataModeling ที่ค้างอยู่ |
| 0.5 | 2026-07-25 | All 17 open questions DECIDED by the client (25 Jul 2026). OQ-1…OQ-4 and OQ-6…OQ-17 accepted exactly as recommended: control test with DBD evidence and season re-attestation · the dedicated thirteenth group surface + GRP family · management view, not a book of record · membership-period truth both ways · k = 5 with no override · paid group tier signed by the group entity, priced in PROP-039 · one sweep in one change set · branch codes and per-branch closes with a first-class entity combination · TFRS-style derived control, no apex no group · consolidation at 100% with disclosed non-controlling share · the tenant boundary re-cut platform-wide (NFR-61 rewritten to "recorded, disclosed delegation") · one built-in grp_enterprise_admin · three tiers maximum · administrative writes delegable, transactional acts never · DirectoryGroup + DirectoryGrant minted · one identity with a domain picker. OQ-5 accepted with a client amendment: consolidated strategic amounts as recommended and per-farmer agreement detail permitted — a sixth key grp_str_agreements (four-eyes, requires grp_amounts + the member factory's live strategic entitlement), one factory at a time, membership-period clipped, no cross-factory farmer join, no other personal data, every row-set read audited. Consequential edits: G3 carve-out, Section 6 grp.strategic row, 7.4 key family (five → six), Section 8 PDPA basis, Section 9 delta (+FR-221, +NFR-68, 6 catalog entries, A-20 mapping row). Status: acceptance-shaped — nothing binds until accepted and applied (the Section 10 sweep rides that same change set per OQ-8).ลูกค้าตัดสินคำถามเปิดครบทั้ง 17 ข้อ (25 ก.ค. 2569) OQ-1…OQ-4 และ OQ-6…OQ-17 รับตามข้อเสนอแนะทั้งหมด: บททดสอบอำนาจควบคุมพร้อมหลักฐาน DBD และการยืนยันซ้ำเมื่อเปิดฤดู · surface group เฉพาะเป็นที่สิบสาม + ตระกูล GRP · มุมมองบริหาร ไม่ใช่สมุดทางการ · ความจริงตามช่วงสมาชิกภาพทั้งสองทาง · k = 5 ไม่มีการ override · ชั้นกลุ่มเสียเงินลงนามโดยนิติบุคคลกลุ่ม ราคาไปรวมใน PROP-039 · กวาดรอบเดียวในชุดเดียว · เลขสาขาและการปิดรายสาขาพร้อมการรวมของนิติบุคคลในฐานะสิ่งชั้นหนึ่ง · อำนาจควบคุมแบบ TFRS ไม่มียอดไม่มีกลุ่ม · รวมที่ 100% พร้อมเปิดเผยส่วนข้างน้อย · ตัดขอบ tenant ใหม่ทั้ง platform (เขียน NFR-61 ใหม่เป็น "การมอบอำนาจที่บันทึกและเปิดเผย") · grp_enterprise_admin ในตัวหนึ่งกลุ่ม · สูงสุดสามชั้น · การเขียนเชิงบริหารมอบได้ การทำรายการไม่ได้ · ออก DirectoryGroup + DirectoryGrant · อัตลักษณ์เดียวพร้อมตัวเลือกโดเมน OQ-5 รับพร้อมการแก้ไขจากลูกค้า: ตัวเงินกลยุทธ์แบบรวมตามข้อเสนอแนะ และอนุญาตรายละเอียดข้อตกลงรายชาวไร่ — กุญแจที่หก grp_str_agreements (สี่ตา ต้องมี grp_amounts + entitlement กลยุทธ์ของโรงงานสมาชิก) ทีละโรงงาน ตัดตามช่วงสมาชิกภาพ ไม่รวมชาวไร่ข้ามโรงงาน ไม่มีข้อมูลส่วนบุคคลอื่น และบันทึกตรวจสอบทุกการอ่าน แก้ตามผล: ข้อยกเว้นใน G3, แถว grp.strategic ข้อ 6, ตระกูลกุญแจ 7.4 (ห้า → หก), ฐาน PDPA ข้อ 8, delta ข้อ 9 (+FR-221, +NFR-68, 6 รายการ catalog, แถว mapping A-20) สถานะ: พร้อมรับหลักการ — ไม่ผูกพันจนกว่าจะอนุมัติและ apply (การกวาดในข้อ 10 ไปพร้อมชุดนั้นตาม OQ-8) |
| 0.4 | 2026-07-25 | Client directions D-3 and D-4 — the federation directory. The factory group is modelled as a single tenant operating as a directory (root domain = group head office, site domain = factory, federation admin = group management, parent accounts with rights over named child domains, permission = account grants ∪ directory-group grants), on the Microsoft Windows Active Directory structure; and per D-4 the whole thing is framed as an expansion of PROP-005, amending the applied FED model in place. New dedicated Section 7 (7.1–7.8) with six diagrams: the tenant directory tree, the identity graph (PROP-005 foundation + extension), the resolution funnel, the amended six-layer stack, the WF-79 delegation flow and the migration re-parent. Rules DR-1…DR-6; principle G2 revised (administers, does not transact), G4 revised, G6 added (the wall is at the tenant). Section 3 gains the tenant/root-domain and Domain rows; Section 4 gains grp-07 (directory & delegation) and the active-domain token note. Section 9 delta: 13 entities (+Domain, DirectoryGroup, DirectoryGroupMember, DirectoryGrant), 18 relationships, 10 events, +WF-79/80, +FR-213…220, +NFR-65…67, FED-family amendments. New OQ-12 (tenant boundary re-cut), OQ-13 (inherited enterprise-admin group), OQ-14 (tree depth), OQ-15 (where delegated writes stop), OQ-16 (directory groups as first-class), OQ-17 (sign-in and domain switching).คำสั่งลูกค้า D-3 และ D-4 — ไดเรกทอรีของ federation ทำ model กลุ่มโรงงานเป็น tenant เดียวที่ทำงานเป็นไดเรกทอรี (โดเมนราก = สำนักงานใหญ่กลุ่ม โดเมนไซต์ = โรงงาน ผู้ดูแล federation = ฝ่ายบริหารกลุ่ม บัญชีแม่มีสิทธิ์เหนือโดเมนลูกที่ระบุ สิทธิ์ = grant บัญชี ∪ grant กลุ่มไดเรกทอรี) บนโครงสร้าง Microsoft Windows Active Directory; และตาม D-4 วางกรอบทั้งหมดเป็นการขยาย PROP-005 โดยแก้ model FED ที่ใช้แล้วในที่ เพิ่มข้อ 7 เฉพาะ (7.1–7.8) พร้อมหกแผนภาพ: ต้นไม้ไดเรกทอรีของ tenant กราฟอัตลักษณ์ (รากฐาน PROP-005 + การขยาย) กรวยการตัดสินสิทธิ์ ชั้นหกชั้นฉบับแก้ flow การมอบอำนาจ WF-79 และการย้ายรากตอน migrate กติกา DR-1…DR-6; แก้หลักการ G2 (ดูแล ไม่ทำรายการ) แก้ G4 เพิ่ม G6 (กำแพงอยู่ที่ tenant) ข้อ 3 เพิ่มแถว tenant/โดเมนรากและ Domain; ข้อ 4 เพิ่ม grp-07 (ไดเรกทอรีและการมอบอำนาจ) และหมายเหตุโดเมนที่ใช้งานบน token delta ข้อ 9: 13 entity (+Domain, DirectoryGroup, DirectoryGroupMember, DirectoryGrant) 18 ความสัมพันธ์ 10 เหตุการณ์ +WF-79/80 +FR-213…220 +NFR-65…67 และการแก้ตระกูล FED เพิ่ม OQ-12 (ตัดขอบ tenant ใหม่) OQ-13 (กลุ่มผู้ดูแลระดับองค์กรที่สืบทอด) OQ-14 (ความลึกของต้นไม้) OQ-15 (การเขียนที่ได้รับมอบหยุดที่ไหน) OQ-16 (กลุ่มไดเรกทอรีเป็น object ชั้นหนึ่ง) OQ-17 (การลงชื่อเข้าและการสลับโดเมน) |
| 0.3 | 2026-07-25 | Client direction D-2 — legal-entity topologies. Thai factory ownership takes three shapes and the platform must carry all of them: Section 3 gains a LegalEntity registry (tax id + branch codes; Mill amended with legal_entity_id + branch_code?), a dated OwnershipEdge graph, a derived group_type, and the L-1 (branches of one company) · L-2 (parent + subsidiaries) · L-3 (cross-holdings) topology table with per-topology platform consequences. Section 5 gains the topology rule (L-1 branch combination at cost vs L-2/L-3 intercompany elimination at invoiced amounts; mixed = combine then consolidate). Section 9 delta: 9 entities (+LegalEntity, +OwnershipEdge), 11 relationships, +FR-209…212. New OQ-9 (branch identity in documents & books), OQ-10 (control resolution in chains and cross-holdings — no apex, no group), OQ-11 (partial ownership: control view at 100% with disclosed non-controlling share).คำสั่งลูกค้า D-2 — โครงสร้างนิติบุคคล ความเป็นเจ้าของโรงงานไทยมีสามรูป และ platform ต้องรองรับทั้งหมด: ข้อ 3 เพิ่มทะเบียน LegalEntity (เลขภาษี + เลขสาขา; แก้ Mill เพิ่ม legal_entity_id + branch_code?) กราฟ OwnershipEdge ที่มีวันที่ group_type ที่คำนวณได้ และตารางโครงสร้าง L-1 (สาขาของบริษัทเดียว) · L-2 (แม่ + ลูก) · L-3 (ถือหุ้นไขว้) พร้อมผลต่อ platform รายโครงสร้าง ข้อ 5 เพิ่มกติกาตามโครงสร้าง (L-1 รวมสาขาตามราคาทุน เทียบ L-2/L-3 ตัดรายการตามใบกำกับ; mixed รวมแล้วรวมอีกชั้น) delta ข้อ 9: 9 entity (+LegalEntity, +OwnershipEdge) 11 ความสัมพันธ์ +FR-209…212 เพิ่ม OQ-9 (อัตลักษณ์สาขาในเอกสารและสมุดบัญชี) OQ-10 (การคำนวณอำนาจควบคุมในห่วงโซ่และการถือหุ้นไขว้ — ไม่มียอด ไม่มีกลุ่ม) OQ-11 (การถือหุ้นบางส่วน: มุมอำนาจควบคุมที่ 100% พร้อมเปิดเผยส่วนข้างน้อย) |
| 0.2 | 2026-07-25 | Comprehensive deep dive. T-1…T-7 promoted to full sections 3–8 and 11 with design verdicts; principles G4 (derived layer — never open a tenant wall) and G5 (membership-period truth) added; Section 9 candidate delta (GRP perspective family + six docs · capacity/surface group · 4 roles · 5 grp_* keys · factory_group context with 7 entities, 8 relationships, 6 events · WF-76…78 · FR-196…208 · NFR-61…64 · uix grp-01…06); Section 10 added on client direction D-1 (25 Jul 2026) — rules X-1…X-4 and a per-draft register updating all nine remaining pending proposals (PROP-033…041) in the same change set as application; 8 open questions with recommendations.เจาะลึกครอบคลุม ยก T-1…T-7 เป็นข้อ 3–8 และ 11 เต็มพร้อมคำวินิจฉัยการออกแบบ; เพิ่มหลักการ G4 (ชั้นอนุพันธ์ — ไม่เปิดกำแพง tenant) และ G5 (ความจริงตามช่วงสมาชิกภาพ); ข้อ 9 delta ที่เสนอ (ตระกูล perspective GRP + หกเอกสาร · capacity/surface group · 4 role · 5 กุญแจ grp_* · context factory_group พร้อม 7 entity 8 ความสัมพันธ์ 6 เหตุการณ์ · WF-76…78 · FR-196…208 · NFR-61…64 · uix grp-01…06); เพิ่มข้อ 10 ตามคำสั่งลูกค้า D-1 (25 ก.ค. 2569) — กติกา X-1…X-4 และทะเบียนรายฉบับที่ปรับข้อเสนอที่ค้างทั้งเก้าฉบับ (PROP-033…041) ในชุดการเปลี่ยนแปลงเดียวกับการ apply; 8 คำถามเปิดพร้อมข้อเสนอแนะ |
| 0.1 | 2026-07-15 | Outline draft — created on the client's PROP-025 OQ-2 decision. Boundary principles G1–G3 fixed; topic agenda T-1…T-7 (group model, portal surface, consolidated accounting, performance overview, federation mechanics, PDPA/competition, commercials) seeded for the comprehensive deep dive in the next revision.ร่างโครงเรื่อง — สร้างตามการตัดสิน OQ-2 ของ PROP-025 โดยลูกค้า ตรึงหลักเขตแดน G1–G3; วางวาระหัวข้อ T-1…T-7 (โมเดลกลุ่ม, surface ของ portal, บัญชีรวม, ภาพรวมผลงาน, กลไก federation, PDPA/การแข่งขัน, เชิงพาณิชย์) สำหรับการเจาะลึกอย่างครอบคลุมใน revision ถัดไป |