← back to the map where it actually runs →
Arise · engineering index

Script Registry

Every .mjs we've built, grouped by the system it belongs to. This is the detail behind the operating-system map — one place, no duplicates.

paths relative to D:\IMRAN_WORKSPACE\04_AUTOMATION\ unless noted

on a schedule / live built, dry-run verified has a manual step planned / not wired
Architecture & model economy
model-router.mjs — _shared/ · one entry point for every AI call; cost-ordered chain + auto-fallback + budget log. 31 role chains.
build-specialists-registry.mjs — command-center/scripts/ · NEW 6 Sep 2026 · generates managers/specialists.json — the machine-readable roster (department, manager, does, scripts, model chain, output files, Baserow tables, gate signals, whether a scheduler runs it). Managers already had managers.json; the 46 specialists had nothing. Daily via AriseSpecialistsRegistry → /api/specialists
collect-deployment-truth.mjs — command-center/scripts/ · NEW 6 Sep 2026 · answers "where does this actually run, and is my local code live?" by probing the PC (scheduled tasks + processes) AND the VPS (containers + NATIVE processes + cron) and diffing both source trees. Hourly via AriseDeploymentTruth → /managers/where/
backbone-api.mjs — command-center/ · live table registry + health
backbone-router.mjs — command-center/scripts/ · routes work to a manager, every 30 min
backbone-health-check.mjs — command-center/scripts/ · every 6 h
run-manager.mjs · managers.json — command-center/managers/ · the manager runtime (auto-injects memory)
claude-cli-client.mjs · hy3-client.mjs · gemini-key-pool.mjs · ollama-client.mjs — _shared/ · model clients
Institutional memory — Qdrant (1,942 records / 5 stores)
memory.mjs — _shared/ · embed (1024-dim) · store · search · context(role, task)
librarian.mjs — content-engine/scripts/ · the memory role; also runs all catalogs
catalog-{neev,content,outreach,jobs,ops}.mjs — memory/ · rebuild the 5 stores from Baserow + docs; nightly 05:00
stores = the 5 sides of the business: business 1070 · content 447 · operations 91 · jobs 73 · doctrine 261  (finance = #6, later). Design → NEEV_SEMANTIC_MEMORY.md
Managers — content-engine/scripts/ unless noted
content-manager.mjs · content-dispatch.mjs · pillars.json — weekly plan, no AI
writer-manager.mjs — scripts & dialogue; own model client + memory hook
creative-director.mjs — scene breakdown + image prompts
production-manager.mjs — render pipeline orchestrator
performance-manager.mjs — analytics → next actions
outreach-manager.mjs — outreach-engine/scripts/ · lead prioritisation
job-manager.mjs — job-engine/scripts/ · application prioritisation
Specialists — built, all verified (test harness 14/14)
hook-writer.mjs · script-editor.mjs · islamic-accuracy-check.mjs — Writer
content-strategist.mjs · topic-researcher.mjs · content-repurposer.mjs · trend-detector.mjs — Content Planner (trend-detector shared with Performance)
bindi-qa.mjs — Creative · prompt-text safety QA
strategic-reviewer.mjs — Performance · big-decision gate
speaker.mjs — Production · F5-Hindi voice clone + Resemble Enhance; role speaker. Was missing from this registry until 6 Sep.
gen-vo.mjs — Production · deterministic voice-over (row-agnostic; --run not yet proven)
personalize-outreach.mjs · follow-up.mjs — outreach-engine/scripts/ · Outreach
interview-researcher.mjs · interview-strategy.mjs — job-engine/scripts/ · Hiring
blog-drafter.mjs + blog-profiles.json — one blog drafter for every site (arisegulf + islamiczindagi); role blog-writer; → Baserow 761 draft
occasion-scanner.mjs · cluster-planner.mjs · linkedin-insight-writer.mjs — NEW 5 Sep 2026 · Content Planner · own .md docs next to each script
carousel-builder.mjs — NEW 5 Sep 2026 · Production · JSON-driven, supersedes the legacy D:\IMRAN_WORKSPACE\carousel\ hardcoded scripts
character-dialogue-writer.mjs — 5 Sep 2026 · Writer · Hook-Problem-Solution-Result-CTA with named speakers; the only script that auto-calls islamic-accuracy-check.mjs. Was missing from this registry until 6 Sep.
pillar-tagger.mjs — NEW 6 Sep 2026 · Content Planner · classifies 906 posts into pillars.json (445 of 470 were untagged, which emptied trend-detector for every channel)
inbox-triage.mjs — NEW 6 Sep 2026 · outreach-engine/scripts/ · Outreach · the general inbox reader; the other 3 mailbox scripts discard anything that is not a reply to something we sent
approval-nudge.mjs — NEW 6 Sep 2026 · job-engine/scripts/ · Hiring · deterministic; pings when drafts sit behind the Ready-to-Send gate, never ticks it
test-employees.mjs — the verification harness
Outreach pipeline — outreach-engine/scripts/
scrape-leads · scrape-agency-leads · family-office-registry-scraper · validate-leads · score-leads · draft-outreach · send-email · check-replies · ig-cold-dm · ig-login-setup · release-today-batch · inbox-triage · render-outreach-dashboard · sync-outreach-dashboard
Job pipeline — job-engine/scripts/
job-search · jobspy-import · match-jobs · find-recipient-email · tailor-and-draft · send-via-smtp · check-bounces · check-replies · approval-nudge · ats-collector · ats-detect · search-profiles · push-to-zoho · rollup-work-master · render-job-dashboard · render-work-dashboard · sync-job-dashboard · zoho-campaigns-sync · zoho-auth · zoho-mail · hermes_apply_agha · hermes_apply_firstjobgo · hermes_apply_firstjobgo_bdm
Reel / content pipeline — 04_AUTOMATION/ root + carousel/
derive-reel-from-script · apply-style-preset · gen-reel-images.py · sync-reel-specs · repair-reelspec-prompts · reel-image-rules · gen-vo · gen-vo-440 / -tagged / -v2 · upload-renders-to-baserow · create-shukr-reel-row · carousel/build_thumbnail
Visual Ops — Baserow-driven carousel → PDF + blog · content-engine/scripts/ · NEW 8–9 Sep 2026
visual-ops-runner.mjs — orchestrator; scans Baserow 906 and advances each actionable row one STATUS step by spawning the right --from-baserow script. --drain / --row / --dry / --plan-gate / --images-gate
vo-lib.mjs — shared: openBw(), STATUS vocab, rowArg(), intentFromRow(), cluster id/file helpers, failRow() (any step throws → row STATUS=error + error_msg)
content-matrix.mjs — chooseEngine() = selectEngine() + channel×slot eligibility fence + 7-day per-channel anti-repeat + light/dark alternation + pixar ≤2/wk; history in content-engine/visual-ops-history.json
cluster-planner.mjs — gained --from-baserow: queued row → cluster JSON + engine/theme pick + pre-built scene_prompts → planned / needs_muse_ok
gen-carousel-images.mjs — gained --from-baserow + --prompts-only + manual-image import; writes the text-free slide backgrounds + scene_prompts → images_done
linkedin-insight-writer.mjs — gained --from-baserow: images_done → caption_done (caption + hashtags in the owner's voice)
carousel-builder.mjs — gained --from-baserow: composes slides → pdf_file + real PNG thumbnail_image + final composed slides → drafted
blog-from-baserow.mjs — routes a 906 blog row (arisegulf.com / islamiczindagi.com · piller_/cluster_blog_table761) to blog-drafter.mjs → creates a 761 draft → writes blog_url + STATUS back
STATUS: queued → planned → [needs_muse_ok] → images_done → caption_done → drafted → ready_to_post → Published  ·  human gates: needs_muse_ok (paid MUSE image spend) · drafted (final review). Design → content-engine/VISUAL_OPS.md · NEEV_OPEN_THREADS #7c / #7c-C
Publishing + sync — growth-engine/scripts/
publish-scheduled · publish-facebook · publish-facebook-vod · sync-insights · sync-facebook-content · sync-daily-metrics · sync-websites · backfill-comment-replies · backfill-ig-media-ids · check-connectivity · telegram-listener · render-dashboard · google-auth
Command Center site — command-center/
server · data · content-api · task-api · shift-api · backbone-api · nigrani-run · scripts/refresh-all-dashboards · scripts/render-{brand,team}-profiles · scripts/render-{drafting,job-hunting,lead-gen}-engine · scripts/render-leads-dashboard
Shared libraries — _shared/
baserow-client · claude-cli-client · env-loader · gemini-key-pool · hy3-client · imap-reader · job-channels · log · memory · model-router · muse-image · notify · ollama-client · outreach-channels · outreach-routing · pdf-gen · person-match · visual-engine · website-signals · zoho-mailer
visual-engine.mjs — the "prompt brain": 17 Master Visual Storytelling Engines × light/dark = 34, architecture FROZEN 8 Sep 2026. selectEngine() / composeVisual() / novelty + repetition checks. Doc: _shared/visual-engine.md. Driven by content-matrix.mjs + gen-carousel-images.mjs.
Dental Growth OS — dental-growth-os/scripts/
render-dental-dashboard · sync-dental-dashboard