# Explanation

> How ASHR.work actually works under the hood — tenancy, roles, the payroll engine, leave accrual.

Canonical: https://www.ashr.work/docs/explanation
Publisher: ASHR.work is a product of Demystify Systems LLP.

How ASHR.work actually works under the hood — tenancy, roles, the payroll engine, leave accrual.

- [How tenancy and roles work](https://www.ashr.work/docs/explanation/tenancy-and-roles): Why one organisation can never see another's data, how a person's tenant is resolved from their session, and how the base roles combine with additive grants like finance and recruiter.
- [What is multi-tenancy in ASHR.work?](https://www.ashr.work/help/concepts/multi-tenancy): Many companies share one ASHR.work app, but each is a sealed space that only ever sees its own data.
- [How is my company's data kept private and separate?](https://www.ashr.work/help/concepts/data-isolation): Every record is tagged with your organisation and the database itself blocks any query from returning another company's data.
- [How the payroll engine models pay](https://www.ashr.work/docs/explanation/payroll-engine-model): What happens between an annual CTC and a locked payslip — the derivation order, the statutory rates, the run state machine, and the things the engine deliberately does not decide for you.
- [How leave accrual and balances work](https://www.ashr.work/docs/explanation/leave-accrual-model): Where a leave balance comes from — monthly earned-leave accrual, prorated sick leave, the carry-forward cap, and why a pending request already costs you days.
- [The public API and agent surfaces](https://www.ashr.work/docs/explanation/public-api-and-agents): Why the API is anonymous-first, how keys and scopes are shaped, what writes are allowed today, and which surfaces exist specifically so AI agents and crawlers can read the product.
