Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

Version: 1.1.0
Last Updated: 2026-03-25
Spec: HR-26 E-Verify Integration
Constitution Reference: Section 1.2 (Core Independence), Section 1.3 (Integration Patterns)

Overview

HR-26 integrates USCIS E-Verify web services for employment eligibility verification. Cases are created from HR-03 I-9 completion, consume employee context from HR-01, and use PF notifications and platform events for deadlines and status changes. All API traffic and credential use should run through PF-governed edge functions and secrets (no client-side USCIS credentials).

Integration Points

Platform Foundation (PF)

PF areaUse
PF-10 NotificationsDeadline, TNC, and status alerts (sanitized payloads)
PF-30 Permissionshr.everify.view, hr.everify.manage, hr.everify.config
Edge FunctionsUSCIS API client, credential resolution from vault/env
Integration type: Platform Integration Layer; events for case lifecycle (see Event Contracts).

HR (same core)

SpecRelationship
HR-03Publisher/trigger: I-9 Section 2 completion → case create or queue (clarified: domain event such as hr_i9_section2_completed; final name documented when HR-03 and HR-26 land)
HR-01Read employee demographics for case payloads

External

SystemUse
USCIS E-Verify APICase create, status, photo match, resolutions

Event Contracts

Define concrete payloads when implementing; names are illustrative. These events are registered in EVENT_CONTRACTS.md under the HR-26 section.
EventPublisherSubscribersTriggerContract Registration
hr_everify_case_createdHR-26PF-10, audithr_everify_cases insert after successful USCIS createRegistered in EVENT_CONTRACTS.md: hr_everify_case_created
hr_everify_status_changedHR-26PF-10, reportingStatus transition on poll or webhook (if used)Registered in EVENT_CONTRACTS.md: hr_everify_status_changed
hr_everify_tnc_openedHR-26PF-10Enter TNC stateRegistered in EVENT_CONTRACTS.md: hr_everify_tnc_opened
Note: Add corresponding entries to PLATFORM_INTEGRATION_LAYERS.md when event publishing is implemented.
EventPublisherSubscribersTriggerStatus
hr_everify_case_createdHR-26PF-10, audithr_everify_cases insert after successful USCIS create
hr_everify_status_changedHR-26PF-10, reportingStatus transition on poll or manual update
hr_everify_tnc_openedHR-26PF-10Enter TNC state

Edge Functions

FunctionPurposeStatus
hr-everify-orchestratorCreate case, poll status, close case; PII redaction; vault credential resolution✅ Deployed

Non-goals

  • I-9 data entry (HR-03)
  • Immigration legal case management
  • Storing USCIS credentials in DB columns (use vault references only)