Form I-9 — Employment Eligibility Verification (Sections 1 & 2, Tightened 1-Day SLA)
federal_i9- 8 USC 1324a
- 8 CFR 274a.2(b)(1)(i)(A)
- 8 CFR 274a.2(b)(1)(ii)(B)
- 8 CFR 274a.2(c)(1)
- Warehouse Staffing Policy OPS-104 (1-business-day I-9 SLA)
Synthetic warehouse staffing binding pack: maps light-industrial, us-il, us-nj, us-federal, screening-core, and staffing-core concepts onto an associate/client_site/shift entity graph, binds site orientation from the client site, defaults blank forklift flags to false, tightens Form I-9 deadlines, and adds a client-specific pre-shift drug screen.
pnpm ir check packs/example-warehouse-staffing/pack.jsonpnpm ir test packs/example-warehouse-staffing/pack.jsonCompliance and operational rules declared in this pack's policies, with authority classification, legal citations, and due/renewal schedules.
federal_i9client_drug_screenTyped domain facts introduced by this pack that policies evaluate against.
| Concept | Type | Choices / Description |
|---|---|---|
warehouse/client_code | string | Short identifier for the third-party client operating the warehouse site |
Mappings from abstract library concepts to concrete entity graph paths.
| Concept | Entity Path | Default & Notes |
|---|---|---|
work/location_state | shift.client_site->client_site.state | Work state from the shift's linked client warehouse site |
work/location_country | shift.client_site->client_site.country | Work country from the shift's linked client warehouse site |
work/is_remote | shift.is_remote | Whether the shift is performed remotely |
engagement/start_date | shift.starts_on | First scheduled day of the warehouse shift assignment |
engagement/classification | shift.employment_type | W-2 or 1099 classification on the shift |
engagement/reviewer | shift.safety_reviewer | Operations or safety lead completing employer verification and PIT evaluations |
engagement/employer_id | shift.legal_entity_id | Staffing agency legal entity identifier for document reuse scoping |
engagement/everify_enrolled | shift.client_site->client_site.everify_participating | Whether the linked client site participates in DHS/USCIS E-Verify |
engagement/site_requires_orientation | shift.client_site->client_site.requires_orientation | Whether the linked client site requires a site-specific safety orientation |
engagement/is_temporary_laborer | shift.is_temporary_placement | Whether the shift is a day or temporary labor placement under Illinois DTLSA |
engagement/is_temporary_worker | shift.is_temporary_placement | Whether the shift is a temporary worker placement under New Jersey Temporary Workers' Bill of Rights |
principal/is_rehire | shift.associate->associate.is_rehire | Whether the linked associate was previously employed by the staffing agency |
principal/residence_state | shift.associate->associate.home_state | Primary state of residence on the linked associate entity |
principal/work_authorized_us | shift.associate->associate.us_work_authorized | US work authorization flag on the linked associate entity |
principal/preferred_language | shift.associate->associate.preferred_language | Primary language code on the linked associate entity for statutory notices |
role/operates_powered_industrial_truck | shift.operates_forklift | default: falseWhether the shift operates a powered industrial truck; blank shift flags default to false |
role/exposed_to_hazardous_chemicals | shift.hazardous_chemicals | Whether the shift involves potential exposure to hazardous chemicals |
role/requires_ppe | shift.requires_ppe | Whether the shift requires personal protective equipment |
screening/background_required | shift.client_site->client_site.requires_background_check | Whether the linked client site requires a pre-shift consumer background report |
screening/drug_screen_required | shift.client_site->client_site.requires_drug_screen | Whether the linked client site requires the standard library drug screen |
screening/adverse_action_stage | shift.adverse_action_stage | Current FCRA adverse action stage on the shift |
warehouse/client_code | shift.client_site->client_site.client_code | Client code on the linked warehouse site used for client-specific requirements |
JSON Schema object definitions and typed x-ref edges shipped in this pack.
associatev1full_name*stringemail*stringhome_state*stringpreferred_language*stringis_rehire*booleanus_work_authorizedbooleanstatusstringclient_sitev1name*stringclient_code*stringstate*stringcountry*stringeverify_participating*booleanrequires_orientation*booleanrequires_background_check*booleanrequires_drug_screen*booleanshiftv1legal_entity_id*stringemployment_type*stringstarts_on*stringis_remotebooleansafety_reviewerstringis_temporary_placementbooleanoperates_forkliftbooleanhazardous_chemicalsbooleanrequires_ppebooleanadverse_action_stagestringstatusstringExecutable compliance test cases verified against this pack by pnpm ir test.
il-shift-pit-orientation-and-client-drug-screenNew W-2 temporary laborer assigned to an Illinois Northstar Cold Storage shift with forklift operation, hazardous chemicals, PPE, and site orientation triggers federal, IL, light-industrial, and client drug screen requirements; completing I-9 unlocks E-Verify.
shift (shift_il_01)=legal_entity_id=emp_midwest_staffing, employment_type=w2, starts_on=2026-12-10, is_remote=falseassociate (assoc_il_01)=full_name=Jordan Rivera, email=jordan.rivera@example.test, home_state=IL, preferred_language=enclient_site (site_il_northstar)=name=Northstar Cold Storage — Joliet Hub, client_code=northstar_cold_storage, state=IL, country=USnj-shift-blank-forklift-default-falseNew W-2 temporary worker placed at a New Jersey fulfillment site with a blank operates_forklift flag resolves role/operates_powered_industrial_truck to false via default: false (not tentative) while requiring the NJ bilingual temporary worker notice, NJ-W4, federal forms, and PPE training.
shift (shift_nj_01)=legal_entity_id=emp_eastcoast_staffing, employment_type=w2, starts_on=2026-12-14, is_remote=falseassociate (assoc_nj_01)=full_name=Samira Okafor, email=samira.okafor@example.test, home_state=NJ, preferred_language=esclient_site (site_nj_garden)=name=Garden State Fulfillment — Edison Annex, client_code=garden_state_fulfillment, state=NJ, country=USmissing-legal-fact-stays-tentativeWhen is_temporary_placement (no default) and operates_forklift (default: false) are both blank on an Illinois shift, PIT training cleanly resolves to not_required while the statutory IL temporary laborer notice stays tentative and blocked on engagement/is_temporary_laborer until supplied.
shift (shift_il_missing_01)=legal_entity_id=emp_midwest_staffing, employment_type=w2, starts_on=2026-12-10, is_remote=falseassociate (assoc_il_02)=full_name=Devon Kowalski, email=devon.kowalski@example.test, home_state=IL, preferred_language=enclient_site (site_il_midwest)=name=Midwest Logistics Hub — Aurora, client_code=midwest_logistics_hub, state=IL, country=USpit-3-year-renewal-and-expiryReturning Illinois warehouse forklift operator reuses prior PIT training within 3 years, opens a renewal within 30 days of 3-year expiry, and requires fresh training once past 3-year expiry.
shift (shift_il_rehire_01)=legal_entity_id=emp_midwest_staffing, employment_type=w2, starts_on=2027-01-15, is_remote=falseassociate (assoc_il_rehire_01)=full_name=Morgan Takahashi, email=morgan.takahashi@example.test, home_state=IL, preferred_language=enclient_site (site_il_midwest_02)=name=Midwest Logistics Hub — Aurora, client_code=midwest_logistics_hub, state=IL, country=USclient-drug-screen-and-tightened-i9-due-datesClient-specific drug screen is due 2 days before start (2026-12-08) and tightened Form I-9 subject section is due 1 day before start (2026-12-09), transitioning to overdue on 2026-12-09 and 2026-12-10 respectively.
shift (shift_il_due_01)=legal_entity_id=emp_midwest_staffing, employment_type=w2, starts_on=2026-12-10, is_remote=falseassociate (assoc_il_03)=full_name=Taylor Nguyen, email=taylor.nguyen@example.test, home_state=IL, preferred_language=enclient_site (site_il_northstar_02)=name=Northstar Cold Storage — Joliet Hub, client_code=northstar_cold_storage, state=IL, country=USsite-orientation-toggle-via-client-siteUpdating client_site.requires_orientation from false to true dynamically adds site_safety_orientation via the engagement/site_requires_orientation binding.
shift (shift_nj_orient_01)=legal_entity_id=emp_eastcoast_staffing, employment_type=w2, starts_on=2026-12-14, is_remote=falseassociate (assoc_nj_02)=full_name=Casey Mensah, email=casey.mensah@example.test, home_state=NJ, preferred_language=enclient_site (site_nj_orient)=name=Garden State Fulfillment — Newark Dock, client_code=garden_state_fulfillment, state=NJ, country=USpacks/example-warehouse-staffing/pack.json{
"format": 1,
"name": "example-warehouse-staffing",
"version": "2026.12.0",
"kind": "binding",
"description": "Synthetic warehouse staffing binding pack: maps light-industrial, us-il, us-nj, us-federal, screening-core, and staffing-core concepts onto an associate/client_site/shift entity graph, binds site orientation from the client site, defaults blank forklift flags to false, tightens Form I-9 deadlines, and adds a client-specific pre-shift drug screen.",
"requires": [
{
"name": "light-industrial",
"range": "^2026.12"
},
{
"name": "us-il",
"range": "^2026.12"
},
{
"name": "us-nj",
"range": "^2026.12"
}
],
"concepts": [
{
"key": "warehouse/client_code",
"type": "string",
"description": "Short identifier for the third-party client operating the warehouse site"
}
],
"bindings": [
{
"concept": "work/location_state",
"path": "shift.client_site->client_site.state",
"description": "Work state from the shift's linked client warehouse site"
},
{
"concept": "work/location_country",
"path": "shift.client_site->client_site.country",
"description": "Work country from the shift's linked client warehouse site"
},
{
"concept": "work/is_remote",
"path": "shift.is_remote",
"description": "Whether the shift is performed remotely"
},
{
"concept": "engagement/start_date",
"path": "shift.starts_on",
"description": "First scheduled day of the warehouse shift assignment"
},
{
"concept": "engagement/classification",
"path": "shift.employment_type",
"description": "W-2 or 1099 classification on the shift"
},
{
"concept": "engagement/reviewer",
"path": "shift.safety_reviewer",
"description": "Operations or safety lead completing employer verification and PIT evaluations"
},
{
"concept": "engagement/employer_id",
"path": "shift.legal_entity_id",
"description": "Staffing agency legal entity identifier for document reuse scoping"
},
{
"concept": "engagement/everify_enrolled",
"path": "shift.client_site->client_site.everify_participating",
"description": "Whether the linked client site participates in DHS/USCIS E-Verify"
},
{
"concept": "engagement/site_requires_orientation",
"path": "shift.client_site->client_site.requires_orientation",
"description": "Whether the linked client site requires a site-specific safety orientation"
},
{
"concept": "engagement/is_temporary_laborer",
"path": "shift.is_temporary_placement",
"description": "Whether the shift is a day or temporary labor placement under Illinois DTLSA"
},
{
"concept": "engagement/is_temporary_worker",
"path": "shift.is_temporary_placement",
"description": "Whether the shift is a temporary worker placement under New Jersey Temporary Workers' Bill of Rights"
},
{
"concept": "principal/is_rehire",
"path": "shift.associate->associate.is_rehire",
"description": "Whether the linked associate was previously employed by the staffing agency"
},
{
"concept": "principal/residence_state",
"path": "shift.associate->associate.home_state",
"description": "Primary state of residence on the linked associate entity"
},
{
"concept": "principal/work_authorized_us",
"path": "shift.associate->associate.us_work_authorized",
"description": "US work authorization flag on the linked associate entity"
},
{
"concept": "principal/preferred_language",
"path": "shift.associate->associate.preferred_language",
"description": "Primary language code on the linked associate entity for statutory notices"
},
{
"concept": "role/operates_powered_industrial_truck",
"path": "shift.operates_forklift",
"default": false,
"description": "Whether the shift operates a powered industrial truck; blank shift flags default to false"
},
{
"concept": "role/exposed_to_hazardous_chemicals",
"path": "shift.hazardous_chemicals",
"description": "Whether the shift involves potential exposure to hazardous chemicals"
},
{
"concept": "role/requires_ppe",
"path": "shift.requires_ppe",
"description": "Whether the shift requires personal protective equipment"
},
{
"concept": "screening/background_required",
"path": "shift.client_site->client_site.requires_background_check",
"description": "Whether the linked client site requires a pre-shift consumer background report"
},
{
"concept": "screening/drug_screen_required",
"path": "shift.client_site->client_site.requires_drug_screen",
"description": "Whether the linked client site requires the standard library drug screen"
},
{
"concept": "screening/adverse_action_stage",
"path": "shift.adverse_action_stage",
"description": "Current FCRA adverse action stage on the shift"
},
{
"concept": "warehouse/client_code",
"path": "shift.client_site->client_site.client_code",
"description": "Client code on the linked warehouse site used for client-specific requirements"
}
],
"entity_types": [
{
"kind": "associate",
"version": "1",
"schema": {
"type": "object",
"properties": {
"full_name": {
"type": "string",
"minLength": 1
},
"email": {
"type": "string",
"format": "email"
},
"home_state": {
"type": "string",
"enum": [
"AL",
"AK",
"AZ",
"AR",
"CA",
"CO",
"CT",
"DE",
"DC",
"FL",
"GA",
"HI",
"ID",
"IL",
"IN",
"IA",
"KS",
"KY",
"LA",
"ME",
"MD",
"MA",
"MI",
"MN",
"MS",
"MO",
"MT",
"NE",
"NV",
"NH",
"NJ",
"NM",
"NY",
"NC",
"ND",
"OH",
"OK",
"OR",
"PA",
"PR",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VT",
"VA",
"WA",
"WV",
"WI",
"WY"
]
},
"preferred_language": {
"type": "string",
"minLength": 2
},
"is_rehire": {
"type": "boolean"
},
"us_work_authorized": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"onboarding",
"active",
"inactive"
]
}
},
"required": [
"full_name",
"email",
"home_state",
"preferred_language",
"is_rehire"
],
"additionalProperties": false
}
},
{
"kind": "client_site",
"version": "1",
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"client_code": {
"type": "string",
"minLength": 1
},
"state": {
"type": "string",
"enum": [
"AL",
"AK",
"AZ",
"AR",
"CA",
"CO",
"CT",
"DE",
"DC",
"FL",
"GA",
"HI",
"ID",
"IL",
"IN",
"IA",
"KS",
"KY",
"LA",
"ME",
"MD",
"MA",
"MI",
"MN",
"MS",
"MO",
"MT",
"NE",
"NV",
"NH",
"NJ",
"NM",
"NY",
"NC",
"ND",
"OH",
"OK",
"OR",
"PA",
"PR",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VT",
"VA",
"WA",
"WV",
"WI",
"WY"
]
},
"country": {
"type": "string",
"enum": [
"US",
"CA",
"GB",
"MX",
"OTHER"
]
},
"everify_participating": {
"type": "boolean"
},
"requires_orientation": {
"type": "boolean"
},
"requires_background_check": {
"type": "boolean"
},
"requires_drug_screen": {
"type": "boolean"
}
},
"required": [
"name",
"client_code",
"state",
"country",
"everify_participating",
"requires_orientation",
"requires_background_check",
"requires_drug_screen"
],
"additionalProperties": false
}
},
{
"kind": "shift",
"version": "1",
"schema": {
"type": "object",
"properties": {
"legal_entity_id": {
"type": "string",
"minLength": 1
},
"employment_type": {
"type": "string",
"enum": [
"w2",
"1099"
]
},
"starts_on": {
"type": "string",
"format": "date"
},
"is_remote": {
"type": "boolean"
},
"safety_reviewer": {
"type": "string"
},
"is_temporary_placement": {
"type": "boolean"
},
"operates_forklift": {
"type": "boolean"
},
"hazardous_chemicals": {
"type": "boolean"
},
"requires_ppe": {
"type": "boolean"
},
"adverse_action_stage": {
"type": "string",
"enum": [
"none",
"pre_adverse",
"adverse"
]
},
"status": {
"type": "string",
"enum": [
"pending",
"active",
"completed",
"cancelled"
]
}
},
"required": [
"legal_entity_id",
"employment_type",
"starts_on"
],
"additionalProperties": false
}
}
],
"policies": [
{
"key": "warehouse-staffing-onboarding",
"version": "2026.12.0",
"extends": [
{
"key": "us-federal",
"version": "2026.12.0"
},
{
"key": "screening-core",
"version": "2026.12.0"
},
{
"key": "light-industrial",
"version": "2026.12.0"
},
{
"key": "us-il",
"version": "2026.12.0"
},
{
"key": "us-nj",
"version": "2026.12.0"
}
],
"facts": {
"work/location_country": {
"type": "choice",
"options": [
"US",
"CA",
"GB",
"MX",
"OTHER"
]
},
"engagement/classification": {
"type": "choice",
"options": [
"w2",
"1099"
]
},
"engagement/start_date": {
"type": "date"
},
"engagement/reviewer": {
"type": "string"
},
"engagement/employer_id": {
"type": "string"
},
"warehouse/client_code": {
"type": "string"
}
},
"stages": [
{
"id": "eligibility",
"title": "Employment Eligibility"
},
{
"id": "client_screening",
"title": "Client-Specific Screening"
}
],
"requirements": {
"federal_i9": {
"title": "Form I-9 — Employment Eligibility Verification (Sections 1 & 2, Tightened 1-Day SLA)",
"kind": "document",
"template": "us_uscis_i9",
"stage": "eligibility",
"parties": {
"subject": "subject",
"reviewer": "engagement/reviewer"
},
"due": {
"subject": {
"relative_to": "engagement/start_date",
"days": -1
},
"reviewer": {
"relative_to": "engagement/start_date",
"business_days": 1
}
},
"reuse": {
"same": [
"engagement/employer_id"
],
"max_age_days": 1095,
"outcome": "needs_update"
},
"on_unknown": "wait",
"cites": [
"8 USC 1324a",
"8 CFR 274a.2(b)(1)(i)(A)",
"8 CFR 274a.2(b)(1)(ii)(B)",
"8 CFR 274a.2(c)(1)",
"Warehouse Staffing Policy OPS-104 (1-business-day I-9 SLA)"
],
"authority": "statute"
},
"client_drug_screen": {
"title": "Client-Specific Pre-Shift Drug Screen",
"kind": "check",
"provider": "drug-screen",
"stage": "client_screening",
"parties": {
"provider": "system:drug-screen"
},
"due": {
"provider": {
"relative_to": "engagement/start_date",
"days": -2
}
},
"on_unknown": "wait",
"cites": [
"Client Warehouse Safety Addendum (Northstar Cold Storage)"
],
"authority": "practice"
}
},
"policies": [
{
"id": "us-federal-i9-w2",
"title": "Federal Form I-9 for U.S. W-2 associates (tightened 1-business-day SLA)",
"when": {
"all": [
{
"fact": "engagement/classification",
"operator": "equal",
"value": "w2"
},
{
"fact": "work/location_country",
"operator": "equal",
"value": "US"
}
]
},
"require": [
"federal_i9"
],
"optional": false,
"cites": [
"8 USC 1324a",
"8 CFR 274a.2",
"Warehouse Staffing Policy OPS-104"
]
},
{
"id": "warehouse-client-drug-screen",
"title": "Client-specific pre-shift drug screen required for Northstar Cold Storage shifts",
"when": {
"fact": "warehouse/client_code",
"operator": "equal",
"value": "northstar_cold_storage"
},
"require": [
"client_drug_screen"
],
"cites": [
"Client Warehouse Safety Addendum (Northstar Cold Storage)"
]
}
]
}
],
"views": [
{
"key": "warehouse-associates",
"title": "Warehouse Associates",
"description": "Roster of warehouse associates with home state, preferred language, and rehire status.",
"source": "entity",
"entity_kind": "associate",
"layout": "table",
"columns": [
{
"key": "full_name",
"label": "Associate"
},
{
"key": "home_state",
"label": "Home State"
},
{
"key": "preferred_language",
"label": "Language"
},
{
"key": "is_rehire",
"label": "Rehire"
},
{
"key": "status",
"label": "Status"
}
],
"actions": [
{
"id": "start_case",
"label": "Start Shift Onboarding",
"kind": "case.create"
}
]
},
{
"key": "warehouse-shifts",
"title": "Warehouse Shifts",
"description": "Board of scheduled warehouse shifts grouped by status.",
"source": "entity",
"entity_kind": "shift",
"layout": "board",
"group_by": "status",
"columns": [
{
"key": "legal_entity_id",
"label": "Legal Entity"
},
{
"key": "employment_type",
"label": "Type"
},
{
"key": "starts_on",
"label": "Start Date"
},
{
"key": "operates_forklift",
"label": "Forklift"
}
]
},
{
"key": "warehouse-client-sites",
"title": "Client Warehouse Sites",
"description": "Directory of client warehouse sites with state, orientation, and screening flags.",
"source": "entity",
"entity_kind": "client_site",
"layout": "table",
"columns": [
{
"key": "name",
"label": "Site"
},
{
"key": "client_code",
"label": "Client Code"
},
{
"key": "state",
"label": "State"
},
{
"key": "requires_orientation",
"label": "Orientation"
}
]
}
],
"scenarios": [
{
"name": "il-shift-pit-orientation-and-client-drug-screen",
"description": "New W-2 temporary laborer assigned to an Illinois Northstar Cold Storage shift with forklift operation, hazardous chemicals, PPE, and site orientation triggers federal, IL, light-industrial, and client drug screen requirements; completing I-9 unlocks E-Verify.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-01",
"snapshot": {
"subject": "shift_il_01",
"entities": [
{
"id": "shift_il_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_midwest_staffing",
"employment_type": "w2",
"starts_on": "2026-12-10",
"is_remote": false,
"safety_reviewer": "usr_safety_il_01",
"is_temporary_placement": true,
"operates_forklift": true,
"hazardous_chemicals": true,
"requires_ppe": true,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_il_01",
"kind": "associate",
"attributes": {
"full_name": "Jordan Rivera",
"email": "jordan.rivera@example.test",
"home_state": "IL",
"preferred_language": "en",
"is_rehire": false,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_il_northstar",
"kind": "client_site",
"attributes": {
"name": "Northstar Cold Storage — Joliet Hub",
"client_code": "northstar_cold_storage",
"state": "IL",
"country": "US",
"everify_participating": true,
"requires_orientation": true,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_il_01",
"to": "assoc_il_01",
"relation": "associate"
},
{
"from": "shift_il_01",
"to": "site_il_northstar",
"relation": "client_site"
}
]
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"federal_everify",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training",
"pit_operator_training",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"client_drug_screen"
],
"not_required": [
"nj_temp_worker_notice",
"nj_w4",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen"
],
"states": {
"federal_i9": "available",
"federal_w4": "available",
"federal_everify": "waiting",
"il_w4": "available",
"il_temp_laborer_notice": "available",
"il_harassment_training": "available",
"pit_operator_training": "available",
"hazcom_training": "available",
"ppe_training": "available",
"site_safety_orientation": "available",
"client_drug_screen": "available"
},
"missing_facts": []
},
"steps": [
{
"name": "complete-i9-unlocks-everify",
"progress": {
"federal_i9": {
"status": "completed",
"document": "doc_wh_i9_01",
"roles": {
"subject": "completed",
"reviewer": "completed"
}
}
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"federal_everify",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training",
"pit_operator_training",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"client_drug_screen"
],
"states": {
"federal_i9": "complete",
"federal_everify": "available"
},
"missing_facts": []
}
}
]
},
{
"name": "nj-shift-blank-forklift-default-false",
"description": "New W-2 temporary worker placed at a New Jersey fulfillment site with a blank operates_forklift flag resolves role/operates_powered_industrial_truck to false via default: false (not tentative) while requiring the NJ bilingual temporary worker notice, NJ-W4, federal forms, and PPE training.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-01",
"snapshot": {
"subject": "shift_nj_01",
"entities": [
{
"id": "shift_nj_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_eastcoast_staffing",
"employment_type": "w2",
"starts_on": "2026-12-14",
"is_remote": false,
"safety_reviewer": "usr_safety_nj_01",
"is_temporary_placement": true,
"hazardous_chemicals": false,
"requires_ppe": true,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_nj_01",
"kind": "associate",
"attributes": {
"full_name": "Samira Okafor",
"email": "samira.okafor@example.test",
"home_state": "NJ",
"preferred_language": "es",
"is_rehire": false,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_nj_garden",
"kind": "client_site",
"attributes": {
"name": "Garden State Fulfillment — Edison Annex",
"client_code": "garden_state_fulfillment",
"state": "NJ",
"country": "US",
"everify_participating": false,
"requires_orientation": false,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_nj_01",
"to": "assoc_nj_01",
"relation": "associate"
},
{
"from": "shift_nj_01",
"to": "site_nj_garden",
"relation": "client_site"
}
]
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"nj_temp_worker_notice",
"nj_w4",
"ppe_training"
],
"not_required": [
"federal_everify",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training",
"pit_operator_training",
"hazcom_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"federal_i9": "available",
"federal_w4": "available",
"nj_temp_worker_notice": "available",
"nj_w4": "available",
"ppe_training": "available"
},
"missing_facts": []
},
"steps": [
{
"name": "enable-forklift-on-shift",
"update_entity": {
"id": "shift_nj_01",
"attributes": {
"operates_forklift": true
}
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"nj_temp_worker_notice",
"nj_w4",
"ppe_training",
"pit_operator_training"
],
"not_required": [
"federal_everify",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training",
"hazcom_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"pit_operator_training": "available"
},
"missing_facts": []
}
}
]
},
{
"name": "missing-legal-fact-stays-tentative",
"description": "When is_temporary_placement (no default) and operates_forklift (default: false) are both blank on an Illinois shift, PIT training cleanly resolves to not_required while the statutory IL temporary laborer notice stays tentative and blocked on engagement/is_temporary_laborer until supplied.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-01",
"snapshot": {
"subject": "shift_il_missing_01",
"entities": [
{
"id": "shift_il_missing_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_midwest_staffing",
"employment_type": "w2",
"starts_on": "2026-12-10",
"is_remote": false,
"safety_reviewer": "usr_safety_il_01",
"hazardous_chemicals": false,
"requires_ppe": false,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_il_02",
"kind": "associate",
"attributes": {
"full_name": "Devon Kowalski",
"email": "devon.kowalski@example.test",
"home_state": "IL",
"preferred_language": "en",
"is_rehire": false,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_il_midwest",
"kind": "client_site",
"attributes": {
"name": "Midwest Logistics Hub — Aurora",
"client_code": "midwest_logistics_hub",
"state": "IL",
"country": "US",
"everify_participating": false,
"requires_orientation": false,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_il_missing_01",
"to": "assoc_il_02",
"relation": "associate"
},
{
"from": "shift_il_missing_01",
"to": "site_il_midwest",
"relation": "client_site"
}
]
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training"
],
"not_required": [
"federal_everify",
"nj_temp_worker_notice",
"nj_w4",
"pit_operator_training",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"federal_i9": "available",
"federal_w4": "available",
"il_w4": "available",
"il_temp_laborer_notice": "blocked_on_facts",
"il_harassment_training": "available"
},
"missing_facts": [
"engagement/is_temporary_laborer"
]
},
"steps": [
{
"name": "supply-temporary-placement-flag",
"update_entity": {
"id": "shift_il_missing_01",
"attributes": {
"is_temporary_placement": true
}
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_temp_laborer_notice",
"il_harassment_training"
],
"not_required": [
"federal_everify",
"nj_temp_worker_notice",
"nj_w4",
"pit_operator_training",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"il_temp_laborer_notice": "available"
},
"missing_facts": []
}
}
]
},
{
"name": "pit-3-year-renewal-and-expiry",
"description": "Returning Illinois warehouse forklift operator reuses prior PIT training within 3 years, opens a renewal within 30 days of 3-year expiry, and requires fresh training once past 3-year expiry.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-15",
"snapshot": {
"subject": "shift_il_rehire_01",
"entities": [
{
"id": "shift_il_rehire_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_midwest_staffing",
"employment_type": "w2",
"starts_on": "2027-01-15",
"is_remote": false,
"safety_reviewer": "usr_safety_il_01",
"is_temporary_placement": false,
"operates_forklift": true,
"hazardous_chemicals": false,
"requires_ppe": false,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_il_rehire_01",
"kind": "associate",
"attributes": {
"full_name": "Morgan Takahashi",
"email": "morgan.takahashi@example.test",
"home_state": "IL",
"preferred_language": "en",
"is_rehire": true,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_il_midwest_02",
"kind": "client_site",
"attributes": {
"name": "Midwest Logistics Hub — Aurora",
"client_code": "midwest_logistics_hub",
"state": "IL",
"country": "US",
"everify_participating": true,
"requires_orientation": false,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_il_rehire_01",
"to": "assoc_il_rehire_01",
"relation": "associate"
},
{
"from": "shift_il_rehire_01",
"to": "site_il_midwest_02",
"relation": "client_site"
}
]
},
"evidence": [
{
"id": "doc_prior_pit_wh_01",
"template": "light_industrial_pit_training",
"template_version": "2026.1.0",
"status": "completed",
"completed_at": "2024-01-10",
"facts": {
"engagement/employer_id": "emp_midwest_staffing"
}
}
],
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_harassment_training",
"pit_operator_training",
"pit_operator_training:renewal"
],
"not_required": [
"federal_everify",
"il_temp_laborer_notice",
"nj_temp_worker_notice",
"nj_w4",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"pit_operator_training": "complete",
"pit_operator_training:renewal": "available"
},
"missing_facts": []
},
"steps": [
{
"name": "advance-past-3-year-pit-expiry",
"as_of": "2027-01-11",
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_harassment_training",
"pit_operator_training"
],
"not_required": [
"pit_operator_training:renewal",
"federal_everify",
"il_temp_laborer_notice",
"nj_temp_worker_notice",
"nj_w4",
"hazcom_training",
"ppe_training",
"site_safety_orientation",
"background_disclosure",
"background_check",
"pre_adverse_action_notice",
"drug_screen",
"client_drug_screen"
],
"states": {
"pit_operator_training": "available"
},
"missing_facts": []
}
}
]
},
{
"name": "client-drug-screen-and-tightened-i9-due-dates",
"description": "Client-specific drug screen is due 2 days before start (2026-12-08) and tightened Form I-9 subject section is due 1 day before start (2026-12-09), transitioning to overdue on 2026-12-09 and 2026-12-10 respectively.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-08",
"snapshot": {
"subject": "shift_il_due_01",
"entities": [
{
"id": "shift_il_due_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_midwest_staffing",
"employment_type": "w2",
"starts_on": "2026-12-10",
"is_remote": false,
"safety_reviewer": "usr_safety_il_01",
"is_temporary_placement": false,
"hazardous_chemicals": false,
"requires_ppe": false,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_il_03",
"kind": "associate",
"attributes": {
"full_name": "Taylor Nguyen",
"email": "taylor.nguyen@example.test",
"home_state": "IL",
"preferred_language": "en",
"is_rehire": false,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_il_northstar_02",
"kind": "client_site",
"attributes": {
"name": "Northstar Cold Storage — Joliet Hub",
"client_code": "northstar_cold_storage",
"state": "IL",
"country": "US",
"everify_participating": false,
"requires_orientation": false,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_il_due_01",
"to": "assoc_il_03",
"relation": "associate"
},
{
"from": "shift_il_due_01",
"to": "site_il_northstar_02",
"relation": "client_site"
}
]
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_harassment_training",
"client_drug_screen"
],
"states": {
"client_drug_screen": "available",
"federal_i9": "available",
"federal_w4": "available",
"il_w4": "available",
"il_harassment_training": "available"
},
"missing_facts": []
},
"steps": [
{
"name": "advance-to-day-before-start-marks-client-drug-screen-overdue",
"as_of": "2026-12-09",
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_harassment_training",
"client_drug_screen"
],
"states": {
"client_drug_screen": "overdue",
"federal_i9": "available",
"federal_w4": "available",
"il_w4": "available"
},
"missing_facts": []
}
},
{
"name": "advance-to-start-date-marks-tightened-i9-overdue",
"as_of": "2026-12-10",
"expect": {
"required": [
"federal_i9",
"federal_w4",
"il_w4",
"il_harassment_training",
"client_drug_screen"
],
"states": {
"client_drug_screen": "overdue",
"federal_i9": "overdue",
"federal_w4": "available",
"il_w4": "available"
},
"missing_facts": []
}
}
]
},
{
"name": "site-orientation-toggle-via-client-site",
"description": "Updating client_site.requires_orientation from false to true dynamically adds site_safety_orientation via the engagement/site_requires_orientation binding.",
"policy_set": "warehouse-staffing-onboarding",
"as_of": "2026-12-01",
"snapshot": {
"subject": "shift_nj_orient_01",
"entities": [
{
"id": "shift_nj_orient_01",
"kind": "shift",
"attributes": {
"legal_entity_id": "emp_eastcoast_staffing",
"employment_type": "w2",
"starts_on": "2026-12-14",
"is_remote": false,
"safety_reviewer": "usr_safety_nj_01",
"is_temporary_placement": true,
"hazardous_chemicals": false,
"requires_ppe": false,
"adverse_action_stage": "none",
"status": "pending"
}
},
{
"id": "assoc_nj_02",
"kind": "associate",
"attributes": {
"full_name": "Casey Mensah",
"email": "casey.mensah@example.test",
"home_state": "NJ",
"preferred_language": "en",
"is_rehire": false,
"us_work_authorized": true,
"status": "onboarding"
}
},
{
"id": "site_nj_orient",
"kind": "client_site",
"attributes": {
"name": "Garden State Fulfillment — Newark Dock",
"client_code": "garden_state_fulfillment",
"state": "NJ",
"country": "US",
"everify_participating": false,
"requires_orientation": false,
"requires_background_check": false,
"requires_drug_screen": false
}
}
],
"links": [
{
"from": "shift_nj_orient_01",
"to": "assoc_nj_02",
"relation": "associate"
},
{
"from": "shift_nj_orient_01",
"to": "site_nj_orient",
"relation": "client_site"
}
]
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"nj_temp_worker_notice",
"nj_w4"
],
"not_required": [
"site_safety_orientation",
"pit_operator_training",
"hazcom_training",
"ppe_training",
"client_drug_screen"
],
"states": {
"federal_i9": "available",
"federal_w4": "available",
"nj_temp_worker_notice": "available",
"nj_w4": "available"
},
"missing_facts": []
},
"steps": [
{
"name": "client-site-enables-orientation",
"update_entity": {
"id": "site_nj_orient",
"attributes": {
"requires_orientation": true
}
},
"expect": {
"required": [
"federal_i9",
"federal_w4",
"nj_temp_worker_notice",
"nj_w4",
"site_safety_orientation"
],
"not_required": [
"pit_operator_training",
"hazcom_training",
"ppe_training",
"client_drug_screen"
],
"states": {
"site_safety_orientation": "available"
},
"missing_facts": []
}
}
]
}
]
}example-warehouse-staffing.forma(pack example-warehouse-staffing
:format 1
:version "2026.12.0"
:kind "binding"
:description "Synthetic warehouse staffing binding pack: maps light-industrial, us-il, us-nj, us-federal, screening-core, and staffing-core concepts onto an associate/client_site/shift entity graph, binds site orientation from the client site, defaults blank forklift flags to false, tightens Form I-9 deadlines, and adds a client-specific pre-shift drug screen.")
;; ── Pack Dependencies ──────────────────────────────────────────────────────
(require-pack light-industrial :range "^2026.12")
(require-pack us-il :range "^2026.12")
(require-pack us-nj :range "^2026.12")
;; ── Concepts ───────────────────────────────────────────────────────────────
(concept "warehouse/client_code"
:type "string"
:description "Short identifier for the third-party client operating the warehouse site")
;; ── Bindings ───────────────────────────────────────────────────────────────
(binding "work/location_state"
:path "shift.client_site->client_site.state"
:description "Work state from the shift's linked client warehouse site")
(binding "work/location_country"
:path "shift.client_site->client_site.country"
:description "Work country from the shift's linked client warehouse site")
(binding "work/is_remote"
:path "shift.is_remote"
:description "Whether the shift is performed remotely")
(binding "engagement/start_date"
:path "shift.starts_on"
:description "First scheduled day of the warehouse shift assignment")
(binding "engagement/classification"
:path "shift.employment_type"
:description "W-2 or 1099 classification on the shift")
(binding "engagement/reviewer"
:path "shift.safety_reviewer"
:description "Operations or safety lead completing employer verification and PIT evaluations")
(binding "engagement/employer_id"
:path "shift.legal_entity_id"
:description "Staffing agency legal entity identifier for document reuse scoping")
(binding "engagement/everify_enrolled"
:path "shift.client_site->client_site.everify_participating"
:description "Whether the linked client site participates in DHS/USCIS E-Verify")
(binding "engagement/site_requires_orientation"
:path "shift.client_site->client_site.requires_orientation"
:description "Whether the linked client site requires a site-specific safety orientation")
(binding "engagement/is_temporary_laborer"
:path "shift.is_temporary_placement"
:description "Whether the shift is a day or temporary labor placement under Illinois DTLSA")
(binding "engagement/is_temporary_worker"
:path "shift.is_temporary_placement"
:description "Whether the shift is a temporary worker placement under New Jersey Temporary Workers' Bill of Rights")
(binding "principal/is_rehire"
:path "shift.associate->associate.is_rehire"
:description "Whether the linked associate was previously employed by the staffing agency")
(binding "principal/residence_state"
:path "shift.associate->associate.home_state"
:description "Primary state of residence on the linked associate entity")
(binding "principal/work_authorized_us"
:path "shift.associate->associate.us_work_authorized"
:description "US work authorization flag on the linked associate entity")
(binding "principal/preferred_language"
:path "shift.associate->associate.preferred_language"
:description "Primary language code on the linked associate entity for statutory notices")
(binding "role/operates_powered_industrial_truck"
:path "shift.operates_forklift"
:default false
:description "Whether the shift operates a powered industrial truck; blank shift flags default to false")
(binding "role/exposed_to_hazardous_chemicals"
:path "shift.hazardous_chemicals"
:description "Whether the shift involves potential exposure to hazardous chemicals")
(binding "role/requires_ppe"
:path "shift.requires_ppe"
:description "Whether the shift requires personal protective equipment")
(binding "screening/background_required"
:path "shift.client_site->client_site.requires_background_check"
:description "Whether the linked client site requires a pre-shift consumer background report")
(binding "screening/drug_screen_required"
:path "shift.client_site->client_site.requires_drug_screen"
:description "Whether the linked client site requires the standard library drug screen")
(binding "screening/adverse_action_stage"
:path "shift.adverse_action_stage"
:description "Current FCRA adverse action stage on the shift")
(binding "warehouse/client_code"
:path "shift.client_site->client_site.client_code"
:description "Client code on the linked warehouse site used for client-specific requirements")
;; ── Entity Types ───────────────────────────────────────────────────────────
(entity associate :version "1"
{:full_name (meta String {:min-length 1})
:email (meta String {:format "email"})
:home_state (Union "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "DC" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "PR" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "WY")
:preferred_language (meta String {:min-length 2})
:is_rehire Bool
:us_work_authorized (Option Bool)
:status (Option (Union "onboarding" "active" "inactive"))})
(entity client_site :version "1"
{:name (meta String {:min-length 1})
:client_code (meta String {:min-length 1})
:state (Union "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "DC" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "PR" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "WY")
:country (Union "US" "CA" "GB" "MX" "OTHER")
:everify_participating Bool
:requires_orientation Bool
:requires_background_check Bool
:requires_drug_screen Bool})
(entity shift :version "1"
{:legal_entity_id (meta String {:min-length 1})
:employment_type (Union "w2" "1099")
:starts_on (meta String {:format "date"})
:is_remote (Option Bool)
:safety_reviewer (Option String)
:is_temporary_placement (Option Bool)
:operates_forklift (Option Bool)
:hazardous_chemicals (Option Bool)
:requires_ppe (Option Bool)
:adverse_action_stage (Option (Union "none" "pre_adverse" "adverse"))
:status (Option (Union "pending" "active" "completed" "cancelled"))})
;; ── Compliance Policy Sets ─────────────────────────────────────────────────
(policy-set warehouse-staffing-onboarding
:version "2026.12.0"
:extends
[{:key "us-federal" :version "2026.12.0"}
{:key "screening-core" :version "2026.12.0"}
{:key "light-industrial" :version "2026.12.0"}
{:key "us-il" :version "2026.12.0"}
{:key "us-nj" :version "2026.12.0"}]
:facts
{"work/location_country" {:type "choice" :options ["US" "CA" "GB" "MX" "OTHER"]}
"engagement/classification" {:type "choice" :options ["w2" "1099"]}
"engagement/start_date" {:type "date"}
"engagement/reviewer" {:type "string"}
"engagement/employer_id" {:type "string"}
"warehouse/client_code" {:type "string"}}
:stages
[{:id "eligibility" :title "Employment Eligibility"}
{:id "client_screening" :title "Client-Specific Screening"}]
:requirements
{:federal_i9
{:title "Form I-9 — Employment Eligibility Verification (Sections 1 & 2, Tightened 1-Day SLA)"
:kind "document"
:template "us_uscis_i9"
:stage "eligibility"
:parties {:subject "subject" :reviewer "engagement/reviewer"}
:due
{:subject {:relative_to "engagement/start_date" :days -1}
:reviewer {:relative_to "engagement/start_date" :business_days 1}}
:reuse {:same ["engagement/employer_id"] :max_age_days 1095 :outcome "needs_update"}
:on_unknown "wait"
:cites
["8 USC 1324a"
"8 CFR 274a.2(b)(1)(i)(A)"
"8 CFR 274a.2(b)(1)(ii)(B)"
"8 CFR 274a.2(c)(1)"
"Warehouse Staffing Policy OPS-104 (1-business-day I-9 SLA)"]
:authority "statute"}
:client_drug_screen
{:title "Client-Specific Pre-Shift Drug Screen"
:kind "check"
:provider "drug-screen"
:stage "client_screening"
:parties {:provider "system:drug-screen"}
:due {:provider {:relative_to "engagement/start_date" :days -2}}
:on_unknown "wait"
:cites ["Client Warehouse Safety Addendum (Northstar Cold Storage)"]
:authority "practice"}}
:policies
[{:id "us-federal-i9-w2"
:title "Federal Form I-9 for U.S. W-2 associates (tightened 1-business-day SLA)"
:when
{:all
[{:fact "engagement/classification" :operator "equal" :value "w2"}
{:fact "work/location_country" :operator "equal" :value "US"}]}
:require ["federal_i9"]
:optional false
:cites ["8 USC 1324a" "8 CFR 274a.2" "Warehouse Staffing Policy OPS-104"]}
{:id "warehouse-client-drug-screen"
:title "Client-specific pre-shift drug screen required for Northstar Cold Storage shifts"
:when
{:fact "warehouse/client_code"
:operator "equal"
:value "northstar_cold_storage"}
:require ["client_drug_screen"]
:cites ["Client Warehouse Safety Addendum (Northstar Cold Storage)"]}])
;; ── Saved Views ────────────────────────────────────────────────────────────
(saved-view warehouse-associates
:title "Warehouse Associates"
:description "Roster of warehouse associates with home state, preferred language, and rehire status."
:source "entity"
:entity associate
:layout "table"
:columns
[{:key "full_name" :label "Associate"}
{:key "home_state" :label "Home State"}
{:key "preferred_language" :label "Language"}
{:key "is_rehire" :label "Rehire"}
{:key "status" :label "Status"}]
:actions [{:id "start_case" :label "Start Shift Onboarding" :kind "case.create"}])
(saved-view warehouse-shifts
:title "Warehouse Shifts"
:description "Board of scheduled warehouse shifts grouped by status."
:source "entity"
:entity shift
:layout "board"
:group-by "status"
:columns
[{:key "legal_entity_id" :label "Legal Entity"}
{:key "employment_type" :label "Type"}
{:key "starts_on" :label "Start Date"}
{:key "operates_forklift" :label "Forklift"}])
(saved-view warehouse-client-sites
:title "Client Warehouse Sites"
:description "Directory of client warehouse sites with state, orientation, and screening flags."
:source "entity"
:entity client_site
:layout "table"
:columns
[{:key "name" :label "Site"}
{:key "client_code" :label "Client Code"}
{:key "state" :label "State"}
{:key "requires_orientation" :label "Orientation"}])
;; ── Declarative Scenarios ──────────────────────────────────────────────────
(scenario il-shift-pit-orientation-and-client-drug-screen
:description "New W-2 temporary laborer assigned to an Illinois Northstar Cold Storage shift with forklift operation, hazardous chemicals, PPE, and site orientation triggers federal, IL, light-industrial, and client drug screen requirements; completing I-9 unlocks E-Verify."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-01"
:snapshot
{:subject "shift_il_01"
:entities
[{:id "shift_il_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_midwest_staffing"
:employment_type "w2"
:starts_on "2026-12-10"
:is_remote false
:safety_reviewer "usr_safety_il_01"
:is_temporary_placement true
:operates_forklift true
:hazardous_chemicals true
:requires_ppe true
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_il_01"
:kind "associate"
:attributes
{:full_name "Jordan Rivera"
:email "jordan.rivera@example.test"
:home_state "IL"
:preferred_language "en"
:is_rehire false
:us_work_authorized true
:status "onboarding"}}
{:id "site_il_northstar"
:kind "client_site"
:attributes
{:name "Northstar Cold Storage — Joliet Hub"
:client_code "northstar_cold_storage"
:state "IL"
:country "US"
:everify_participating true
:requires_orientation true
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_il_01" :to "assoc_il_01" :relation "associate"}
{:from "shift_il_01" :to "site_il_northstar" :relation "client_site"}]}
:expect
{:required
["federal_i9"
"federal_w4"
"federal_everify"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"
"pit_operator_training"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"client_drug_screen"]
:not_required
["nj_temp_worker_notice"
"nj_w4"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"]
:states
{:federal_i9 "available"
:federal_w4 "available"
:federal_everify "waiting"
:il_w4 "available"
:il_temp_laborer_notice "available"
:il_harassment_training "available"
:pit_operator_training "available"
:hazcom_training "available"
:ppe_training "available"
:site_safety_orientation "available"
:client_drug_screen "available"}
:missing_facts []}
:steps
[{:name "complete-i9-unlocks-everify"
:progress
{:federal_i9
{:status "completed"
:document "doc_wh_i9_01"
:roles {:subject "completed" :reviewer "completed"}}}
:expect
{:required
["federal_i9"
"federal_w4"
"federal_everify"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"
"pit_operator_training"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"client_drug_screen"]
:states {:federal_i9 "complete" :federal_everify "available"}
:missing_facts []}}])
(scenario nj-shift-blank-forklift-default-false
:description "New W-2 temporary worker placed at a New Jersey fulfillment site with a blank operates_forklift flag resolves role/operates_powered_industrial_truck to false via default: false (not tentative) while requiring the NJ bilingual temporary worker notice, NJ-W4, federal forms, and PPE training."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-01"
:snapshot
{:subject "shift_nj_01"
:entities
[{:id "shift_nj_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_eastcoast_staffing"
:employment_type "w2"
:starts_on "2026-12-14"
:is_remote false
:safety_reviewer "usr_safety_nj_01"
:is_temporary_placement true
:hazardous_chemicals false
:requires_ppe true
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_nj_01"
:kind "associate"
:attributes
{:full_name "Samira Okafor"
:email "samira.okafor@example.test"
:home_state "NJ"
:preferred_language "es"
:is_rehire false
:us_work_authorized true
:status "onboarding"}}
{:id "site_nj_garden"
:kind "client_site"
:attributes
{:name "Garden State Fulfillment — Edison Annex"
:client_code "garden_state_fulfillment"
:state "NJ"
:country "US"
:everify_participating false
:requires_orientation false
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_nj_01" :to "assoc_nj_01" :relation "associate"}
{:from "shift_nj_01" :to "site_nj_garden" :relation "client_site"}]}
:expect
{:required ["federal_i9" "federal_w4" "nj_temp_worker_notice" "nj_w4" "ppe_training"]
:not_required
["federal_everify"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"
"pit_operator_training"
"hazcom_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states
{:federal_i9 "available"
:federal_w4 "available"
:nj_temp_worker_notice "available"
:nj_w4 "available"
:ppe_training "available"}
:missing_facts []}
:steps
[{:name "enable-forklift-on-shift"
:update_entity {:id "shift_nj_01" :attributes {:operates_forklift true}}
:expect
{:required
["federal_i9"
"federal_w4"
"nj_temp_worker_notice"
"nj_w4"
"ppe_training"
"pit_operator_training"]
:not_required
["federal_everify"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"
"hazcom_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states {:pit_operator_training "available"}
:missing_facts []}}])
(scenario missing-legal-fact-stays-tentative
:description "When is_temporary_placement (no default) and operates_forklift (default: false) are both blank on an Illinois shift, PIT training cleanly resolves to not_required while the statutory IL temporary laborer notice stays tentative and blocked on engagement/is_temporary_laborer until supplied."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-01"
:snapshot
{:subject "shift_il_missing_01"
:entities
[{:id "shift_il_missing_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_midwest_staffing"
:employment_type "w2"
:starts_on "2026-12-10"
:is_remote false
:safety_reviewer "usr_safety_il_01"
:hazardous_chemicals false
:requires_ppe false
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_il_02"
:kind "associate"
:attributes
{:full_name "Devon Kowalski"
:email "devon.kowalski@example.test"
:home_state "IL"
:preferred_language "en"
:is_rehire false
:us_work_authorized true
:status "onboarding"}}
{:id "site_il_midwest"
:kind "client_site"
:attributes
{:name "Midwest Logistics Hub — Aurora"
:client_code "midwest_logistics_hub"
:state "IL"
:country "US"
:everify_participating false
:requires_orientation false
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_il_missing_01" :to "assoc_il_02" :relation "associate"}
{:from "shift_il_missing_01" :to "site_il_midwest" :relation "client_site"}]}
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"]
:not_required
["federal_everify"
"nj_temp_worker_notice"
"nj_w4"
"pit_operator_training"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states
{:federal_i9 "available"
:federal_w4 "available"
:il_w4 "available"
:il_temp_laborer_notice "blocked_on_facts"
:il_harassment_training "available"}
:missing_facts ["engagement/is_temporary_laborer"]}
:steps
[{:name "supply-temporary-placement-flag"
:update_entity {:id "shift_il_missing_01" :attributes {:is_temporary_placement true}}
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_temp_laborer_notice"
"il_harassment_training"]
:not_required
["federal_everify"
"nj_temp_worker_notice"
"nj_w4"
"pit_operator_training"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states {:il_temp_laborer_notice "available"}
:missing_facts []}}])
(scenario pit-3-year-renewal-and-expiry
:description "Returning Illinois warehouse forklift operator reuses prior PIT training within 3 years, opens a renewal within 30 days of 3-year expiry, and requires fresh training once past 3-year expiry."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-15"
:snapshot
{:subject "shift_il_rehire_01"
:entities
[{:id "shift_il_rehire_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_midwest_staffing"
:employment_type "w2"
:starts_on "2027-01-15"
:is_remote false
:safety_reviewer "usr_safety_il_01"
:is_temporary_placement false
:operates_forklift true
:hazardous_chemicals false
:requires_ppe false
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_il_rehire_01"
:kind "associate"
:attributes
{:full_name "Morgan Takahashi"
:email "morgan.takahashi@example.test"
:home_state "IL"
:preferred_language "en"
:is_rehire true
:us_work_authorized true
:status "onboarding"}}
{:id "site_il_midwest_02"
:kind "client_site"
:attributes
{:name "Midwest Logistics Hub — Aurora"
:client_code "midwest_logistics_hub"
:state "IL"
:country "US"
:everify_participating true
:requires_orientation false
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_il_rehire_01" :to "assoc_il_rehire_01" :relation "associate"}
{:from "shift_il_rehire_01" :to "site_il_midwest_02" :relation "client_site"}]}
:evidence
[{:id "doc_prior_pit_wh_01"
:template "light_industrial_pit_training"
:template_version "2026.1.0"
:status "completed"
:completed_at "2024-01-10"
:facts {"engagement/employer_id" "emp_midwest_staffing"}}]
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_harassment_training"
"pit_operator_training"
"pit_operator_training:renewal"]
:not_required
["federal_everify"
"il_temp_laborer_notice"
"nj_temp_worker_notice"
"nj_w4"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states {:pit_operator_training "complete" "pit_operator_training:renewal" "available"}
:missing_facts []}
:steps
[{:name "advance-past-3-year-pit-expiry"
:as_of "2027-01-11"
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_harassment_training"
"pit_operator_training"]
:not_required
["pit_operator_training:renewal"
"federal_everify"
"il_temp_laborer_notice"
"nj_temp_worker_notice"
"nj_w4"
"hazcom_training"
"ppe_training"
"site_safety_orientation"
"background_disclosure"
"background_check"
"pre_adverse_action_notice"
"drug_screen"
"client_drug_screen"]
:states {:pit_operator_training "available"}
:missing_facts []}}])
(scenario client-drug-screen-and-tightened-i9-due-dates
:description "Client-specific drug screen is due 2 days before start (2026-12-08) and tightened Form I-9 subject section is due 1 day before start (2026-12-09), transitioning to overdue on 2026-12-09 and 2026-12-10 respectively."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-08"
:snapshot
{:subject "shift_il_due_01"
:entities
[{:id "shift_il_due_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_midwest_staffing"
:employment_type "w2"
:starts_on "2026-12-10"
:is_remote false
:safety_reviewer "usr_safety_il_01"
:is_temporary_placement false
:hazardous_chemicals false
:requires_ppe false
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_il_03"
:kind "associate"
:attributes
{:full_name "Taylor Nguyen"
:email "taylor.nguyen@example.test"
:home_state "IL"
:preferred_language "en"
:is_rehire false
:us_work_authorized true
:status "onboarding"}}
{:id "site_il_northstar_02"
:kind "client_site"
:attributes
{:name "Northstar Cold Storage — Joliet Hub"
:client_code "northstar_cold_storage"
:state "IL"
:country "US"
:everify_participating false
:requires_orientation false
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_il_due_01" :to "assoc_il_03" :relation "associate"}
{:from "shift_il_due_01" :to "site_il_northstar_02" :relation "client_site"}]}
:expect
{:required ["federal_i9" "federal_w4" "il_w4" "il_harassment_training" "client_drug_screen"]
:states
{:client_drug_screen "available"
:federal_i9 "available"
:federal_w4 "available"
:il_w4 "available"
:il_harassment_training "available"}
:missing_facts []}
:steps
[{:name "advance-to-day-before-start-marks-client-drug-screen-overdue"
:as_of "2026-12-09"
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_harassment_training"
"client_drug_screen"]
:states
{:client_drug_screen "overdue"
:federal_i9 "available"
:federal_w4 "available"
:il_w4 "available"}
:missing_facts []}}
{:name "advance-to-start-date-marks-tightened-i9-overdue"
:as_of "2026-12-10"
:expect
{:required
["federal_i9"
"federal_w4"
"il_w4"
"il_harassment_training"
"client_drug_screen"]
:states
{:client_drug_screen "overdue"
:federal_i9 "overdue"
:federal_w4 "available"
:il_w4 "available"}
:missing_facts []}}])
(scenario site-orientation-toggle-via-client-site
:description "Updating client_site.requires_orientation from false to true dynamically adds site_safety_orientation via the engagement/site_requires_orientation binding."
:policy-set "warehouse-staffing-onboarding"
:as-of "2026-12-01"
:snapshot
{:subject "shift_nj_orient_01"
:entities
[{:id "shift_nj_orient_01"
:kind "shift"
:attributes
{:legal_entity_id "emp_eastcoast_staffing"
:employment_type "w2"
:starts_on "2026-12-14"
:is_remote false
:safety_reviewer "usr_safety_nj_01"
:is_temporary_placement true
:hazardous_chemicals false
:requires_ppe false
:adverse_action_stage "none"
:status "pending"}}
{:id "assoc_nj_02"
:kind "associate"
:attributes
{:full_name "Casey Mensah"
:email "casey.mensah@example.test"
:home_state "NJ"
:preferred_language "en"
:is_rehire false
:us_work_authorized true
:status "onboarding"}}
{:id "site_nj_orient"
:kind "client_site"
:attributes
{:name "Garden State Fulfillment — Newark Dock"
:client_code "garden_state_fulfillment"
:state "NJ"
:country "US"
:everify_participating false
:requires_orientation false
:requires_background_check false
:requires_drug_screen false}}]
:links
[{:from "shift_nj_orient_01" :to "assoc_nj_02" :relation "associate"}
{:from "shift_nj_orient_01" :to "site_nj_orient" :relation "client_site"}]}
:expect
{:required ["federal_i9" "federal_w4" "nj_temp_worker_notice" "nj_w4"]
:not_required
["site_safety_orientation"
"pit_operator_training"
"hazcom_training"
"ppe_training"
"client_drug_screen"]
:states
{:federal_i9 "available"
:federal_w4 "available"
:nj_temp_worker_notice "available"
:nj_w4 "available"}
:missing_facts []}
:steps
[{:name "client-site-enables-orientation"
:update_entity {:id "site_nj_orient" :attributes {:requires_orientation true}}
:expect
{:required
["federal_i9"
"federal_w4"
"nj_temp_worker_notice"
"nj_w4"
"site_safety_orientation"]
:not_required
["pit_operator_training"
"hazcom_training"
"ppe_training"
"client_drug_screen"]
:states {:site_safety_orientation "available"}
:missing_facts []}}])