# employee-directory

Keep an employee directory: add people, block duplicate emails, mark leavers, count by department, export

- **Space:** hr-and-people-public (https://github.com/Tech-Realm/space-hr-and-people-public/tree/main/employee-directory)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** stdlib-reference, frappe-hr; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use hr-and-people-public/employee-directory` or MCP `get_pack hr-and-people-public/employee-directory`
- **Files:** CHANGELOG.md, code/refflow.py, code/schema.json, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/scenario.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Keep an employee directory: add people, block duplicate emails, mark leavers, count by department, export. Our reference flow (`code/refflow.py`, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

## Steps

1. Fields: name, work email (unique), department, role, manager, start date, status active/leaver.
2. Run the scenario; then load the same CSV into Frappe HR (Data Import) or Horilla if the team needs the full app.

## Edge cases

- Rehires: move leaver -> active, keep the same record.
- Departments are a fixed list; change the schema, not free text.

## Don'ts

- Don't store CNIC/passport numbers, salaries or home addresses in the directory.
- Don't export the directory outside the company.

## Check

`lp pack check hr-and-people/employee-directory` runs outcome/checks.yaml.



---

Canonical URL: https://logicpacks.io/packs/hr-and-people-public/employee-directory

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
