Skip to main content
Superseded plan

Do not build from this document. It is kept as history of the previous approach. The current plan is Employer migration: the new plan.

Employer Sync — Epic Overview

The visual map of the migration. Use it to remember which phase you are in.

The full audit, decisions, and selection predicate live in the parent spec doc — jodgig-employer-sync.md. The full epic body and the 18 sub-issue drafts are in this folder.

All diagrams are top-to-bottom (portrait) so they stay readable in Docusaurus and the GitHub web UI on narrow screens.

What we are doing​

The seven-set partition​

SetDefinitionCountDecision
Glive — user enabled, company status = 11,616Migrate
SSUPER_HQ_EXTERNAL (company link via pivot)72Migrate ~66 valid
Ecompany disabled (status = 0)1,157Skip — 94% no gig job in 2+ years
Fuser disabled, company live348Skip
Cobsolete company (the 11)57Skip
Auser is_deleted = 11Skip
Bno company (company_id IS NULL, not super-HQ)1Skip
Dcompany deleted_at set0empty set

Phases and sub-issues​

Stacked top-to-bottom: A → B → C → D. Each phase is one box listing its sub-issues. In-phase dependencies live in each issue's "Depends on" — not on this diagram.

Where we are​

PhaseSub-issuesStatus
A — parallel start1.2, 2.1, 2.2, 5.4, 6.1, 6.2, 6.4Drafts on disk; not yet published
B — skeleton3.1 (depends on 2.1)Drafts on disk; not yet published
C — wished functions4.1, 4.2, 4.3, 4.4, 4.5, 5.3, 6.3, 6.5Drafts on disk; not yet published
D — JIT path5.1 → 5.2Drafts on disk; not yet published

Update this column as phases land. It is the single place engineers should look to see progress.

Decision flow per employer (sync runtime)​

Login flow with the new JIT path​

  • Parent spec — jodgig-employer-sync.md — historical analysis + the audit numbers.
  • Epic body — issue-00-epic.md — the full epic context, decisions, and task list.
  • 18 sub-issue drafts — issue-1-2-*.md through issue-6-5-*.md in this folder.
  • Audit CSVs — Result - *.csv in this folder.