REW is a P1 module — currently in planned/design phase and not yet generally available. Full EU AI Act Annex III §4 conformity documentation is planned for the P2 release. Features described here reflect the planned P1 design.
The 3P compensation structure
REW decomposes every member’s cash compensation into three components, each governed by distinct rules.P1 Base
Contractually protected base salary. Paid monthly in cash. REW enforces a hard floor: no evaluation outcome, parameter change, or agent action can result in a P1 value smaller than the prior period’s P1. This protection is enforced at multiple system layers — any attempt to reduce P1 is rejected outright. Violation = sev-0.
P2 Allowance
Role-tier cash allowance. Tied to position and level (e.g. mentorship allowance for L3+, leadership allowance for managers). P2 can be adjusted upward or downward when a member’s tier changes, subject to CHRO approval. Unlike P1, P2 is not contractually floored.
P3 Performance
Quarterly performance distribution from the BP fund. Variable; can be zero in any period without violating the P1 invariant. Distributed via
POOL_DISTRIBUTION rows weighted by each member’s Voting Power (VP), computed by LEARN. CEO + CFO sign-off is required before any P3 distribution is committed.BP (bonus points) ledger
BP is an inflation-indexed unit of account that accumulates over time and converts to P3 cash at designated windows.- What BP Is
- How BP Accrues
- How BP Is Distributed
BP is a synthetic unit pegged to the ACB savings rate for inflation protection. Every member with an active grant earns BP credits monthly. Unlike salary, BP accrues interest automatically — the ACB rate is a versioned parameter, so historical accrual is always replayable.
Monthly payroll cycle
The close cycle runs from D-3 (three days before month end) through D+3 (publish day). Each stage has a defined owner and gate.1
Timesheet Approval (D-1)
TIME enforces a hard freeze. All hours for the period must be approved by the member’s manager before the freeze deadline. Late timesheet entries are rejected until the next cycle.
2
3P Computation (D)
REW’s pure-function compute kernel ingests the approved timesheet, leave records, current BP balance, and the parameter version effective at period end. It produces P1, P2, P3, SI, PIT, and net values. No I/O, no clock, no randomness — the same inputs always produce the same output.
3
Vietnamese Statutory Deductions (D)
REW applies versioned statutory deductions per Decree 152/2020 and Circular 111/2013:
- BHXH (employee): 10.5% of capped base
- BHYT (employee): 1.5%
- BHTN (employee): 1%
- PIT: progressive schedule per Circular 111/2013
4
Anomaly Surface (D)
REW surfaces any payslip where the net value moved more than ±20% versus the prior month. HR/Ops reviews and either confirms or adjusts inputs before proceeding.
5
CFO + CHRO Co-Sign (D+2)
Both the CFO and CHRO must submit WebAuthn assertions within a 5-minute window to commit the cycle. A single-signer commit is rejected. If either signature lapses, both must re-authenticate.
6
CEO Publish + Payslip Archive (D+2 → D+3)
CEO gives final approval. REW renders deterministic PDF payslips with fixed fonts and frozen timestamp metadata to ensure byte-identical reproducibility. Each PDF’s SHA-256 is stored alongside the payslip row. PDFs are archived to S3 with a 10-year object-lock. Members receive a notification; the payslip portal shows the new entry.
7
VietQR Payroll Batch (D+3)
REW dispatches the payroll batch to Vietnamese banks via VietQR. Multi-currency support covers VND and USD. CFO confirms the batch before wires are sent.
Payslip immutability
Every published payslip is reproducible byte-for-byte from its inputs. REW’s replay-check CI job recomputes the full retained payslip history against the historical parameter versions on every parameter change. If any historical payslip’s SHA-256 drifts, the parameter change is rejected and rolled back.How Anti-Retroactive Versioning Works
How Anti-Retroactive Versioning Works
Parameter rows carry
effective_from, effective_to, superseded_by, and a version_hash. The database application role has no UPDATE or DELETE grant on parameter tables — only INSERT. When a new rate schedule is published, the prior row receives an effective_to timestamp; it is never overwritten. A payslip computed for January 2024 will always reproduce against the parameters effective on 2024-01-31 23:59:59 UTC, regardless of what rate changes have been published since.Compensation privacy
REW maintains strict structural isolation from all other modules.Quarterly bonus orchestration
1
BP Fund Lock
At quarter close, the bonus-pool balance is locked. REW reads each member’s current VP score from LEARN.
2
P3 Distribution Proposal
The compute kernel allocates the fund proportionally to VP scores, applying any performance factors from HR’s calibration signals. The result is a draft
POOL_DISTRIBUTION for each member.3
CEO + CFO Sign-Off
Both the CEO and CFO review the proposal and co-sign. Neither can approve individually — the same 5-minute WebAuthn window predicate applies.
4
P3 Commits to Payslips
Once signed, the P3 amounts append to the current period’s payslip rows and flow through the normal publish cycle.
EU AI Act classification
REW is classified as high-risk under EU AI Act Annex III §4 (employment and worker management). A full conformity pack — covering risk management, data governance, transparency documentation, and human oversight evidence — is planned for the P2 release. Members retain the right to a human review of any automated computation via the CEO-adjudicated dispute path (SLO: 5 working days).