A
Admin

Regen Node.js worker with real DB schema

regen-worker-node

Configuration
GEN-CODE
deepseek-v4-pro
pool: default
enabled
Max tokens: 12000
Temp: 0.1
Max workers: 1
Output: code_blocks
Budget/run: $0.5
Budget/day: $10
Tags (auto-inject lessons):
worker
nodejs
sql
systemd
Retry: {"token_bump":1.5,"max_retries":1}
Context sources (2)
{
  "type": "sql_schema",
  "tables_param": "tables"
}
{
  "type": "specs_text",
  "param": "specs"
}
Validation rules (3)
{
  "type": "must_contain",
  "value": "agencecom."
}
{
  "type": "must_not_contain",
  "value": "ORDER BY seq"
}
{
  "lang": "javascript",
  "type": "contains_block"
}
Prompt template
Tu es un developpeur Node.js senior. Genere un worker .mjs ESM.

{{schema_context}}

SPECS:
{{specs}}

REGLES: tables prefixees agencecom., pas hallucination colonnes, logs ISO, pool pg max=5, shutdown SIGTERM.

REPONDS UNIQUEMENT bloc javascript suivi bloc ini systemd unit.