feat: scaffold outreach engine monorepo on the novelpad-desktop stack

Workspaces: config (copied), outreach-core (schema + actions/queries +
hard gates), outreach-ai (Gemini client + embeddings copies, profiler and
mission-fit-judge agent stubs), outreach-worker (DBOS executor with
nightly ingest + hourly expiry workflows), outreach-review (RR7 review
queue v0). Initial drizzle migration incl. pgvector extension.

Stack contract: Yarn 4.5.0 + Turbo, Node 22.16, Drizzle 0.44.6 +
pgvector, DBOS 4.17.6, @google/genai on Vertex, gemini-embedding-001
@1536, React Router v7. Files copied from novelpad-desktop carry
provenance headers @ 62c56b87.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Croissant Le Doux
2026-07-16 11:08:24 -04:00
commit 14200edb60
80 changed files with 11637 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Copied/adapted from novelpad-desktop packages/core/bin/create-migration @ 62c56b87
# Deviation: no client schema in this package, so only the single (server)
# drizzle config is generated against, and there is no separate
# build:migration-files bundling step to run afterward.
if [ "$#" -ne 1 ]; then
echo "Usage: create-migration <migration-name>"
echo "Or: yarn create:migration <migration-name>"
echo "Or: npm run create:migration -- <migration-name>"
exit 9
fi
echo "Creating migration: ${1}"
yarn build
yarn drizzle-kit generate --config drizzle.config.ts --name "${1}"