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,31 @@
{
"name": "@novelpad/outreach-worker",
"packageManager": "yarn@4.5.0",
"type": "module",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "node --env-file=.env --env-file-if-exists=.env.local --import tsx/esm ./src/main.ts",
"build": "esbuild src/main.ts --bundle --platform=node --format=esm --outfile=build/main.js --packages=external",
"start": "node ./build/main.js",
"typecheck": "tsc --noEmit"
},
"imports": {
"#~/*": "./src/*"
},
"dependencies": {
"@dbos-inc/dbos-sdk": "4.17.6",
"@dbos-inc/drizzle-datasource": "4.17.6",
"@novelpad/outreach-core": "workspace:^",
"drizzle-orm": "0.44.6",
"pg": "8.20.0",
"tsx": "^4.19.2"
},
"devDependencies": {
"@novelpad/config": "workspace:^",
"@types/node": "^22",
"@types/pg": "8.20.0",
"esbuild": "^0.24.0",
"typescript": "^5.9.3"
}
}