[READ-ONLY] Mirror of https://github.com/ewanc26/tangled-sync. Move from GitHub to Tangled.org docs.ewancroft.uk/projects/tangled-sync

refactor: split god-file and deduplicate validation

Extracted lib/config.ts (shared config validation), lib/atproto.ts (shared agent setup), lib/utils.ts (TID generation, shell helpers), and lib/checks/{ssh,github,deps}.ts from the monolithic index.ts. Deleted validate-config.ts — replaced by lib/config.ts. Eliminated duplicated dotenv/env-var checking between check.ts and validate-config.ts.


Author Ewan Croft Date Commit Parent 3e6337e6