Commit 556f79f
Fix recorded HRIS fixture: build it from the seed (13-person demo), not the trial
The committed fixture was a full trial-account capture (109 random people across
North America / Europe / Asia-Pacific) — so the RECORDED adapter showed a different,
messy org than the LIVE adapter (which scopes to the "LedgerLoop Demo" division of
~13). A recruiter running CI/no-key saw 109 strangers, not the demo.
- scripts/build-recorded-fixture.ts (+ `pnpm fixture:build`): renders SEED_ORG into
BambooHR's report shape, scoped to the demo division, reproducing the planted
issues (the orphan Morgan Vega, the blank-title root Dana Vance) via BambooHR's own
write-time behaviour. Deterministic, key-free.
- report.json is now the 13-person demo, all in "LedgerLoop Demo".
- recordedHris() scopes to DEMO_CLIENT_DIVISION like live, so recorded == live.
- corrected the module doc + fixture `_meta` to say it's seed-built, not a live
capture (the old "captured from the live API" claim was no longer true).
Verified live: recorded onboarding shows the clean 13-person tree + the right
flagged issues. All green: typecheck, lint (0/0), knip, build, 177 tests, prettier.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent b8e19fc commit 556f79f
5 files changed
Lines changed: 215 additions & 1316 deletions
File tree
- db/fixtures/bamboohr
- lib
- scripts
0 commit comments