Mechanically
Staff attendance and sales tracking feeding pay. A complete 330-LOC Convex payroll module exists and NOTHING CALLS IT: api.payroll.* consumers in src/ = 0, while 15 of 21 payroll components still import the Supabase client.
Staff attendance and sales tracking feeding pay. A complete 330-LOC Convex payroll module exists and NOTHING CALLS IT: api.payroll.* consumers in src/ = 0, while 15 of 21 payroll components still import the Supabase client.
Consumes attendance and salesTracker; should feed the payment log but currently does not.
src/pages/Payroll.tsxsrc/components/payroll/payroll.tsattendancesalesTrackersrc/**
convex/schema.ts:103,132,153,393,703
FIX+BUY — wire the orphaned Convex payroll module to the UI; BUY Trolley/Deel for contractor pay + 1099s.
Buy (don't build): Trolley/Deel for contractor pay + 1099s
Integer minor units + allocate() — kills the float/rounding bug across all money math.
HR/payroll reference — study the shape, GPL so don’t ship.
LIFT = copy the code into the fork · WRAP = run underneath as a service · STUDY = architecture only. Verdicts from the OFM sourcing campaign.
Research priority for this domain is high. Agent findings splice in below this line and survive regeneration.