anti
0b9873982d
refactor(realism): move emailgen LLM/personas/prompt into shared library
Lift the format-agnostic pieces from decnet/orchestrator/emailgen/
into the new decnet/realism/ library so file-class content generation
(stage 3 of the realism migration) can reuse them. Email-specific
delivery (RFC 2822 EML, IMAP/POP3 spool, thread chains) stays in
orchestrator/.
Renames (history-preserving git mv):
emailgen/personas.py -> realism/personas.py
emailgen/prompt.py -> realism/prompts/email.py
emailgen/global_pool.py -> realism/personas_pool.py
emailgen/llm/ -> realism/llm/
Env-var clean break (pre-v1, no aliases):
DECNET_EMAILGEN_LLM -> DECNET_REALISM_LLM
DECNET_EMAILGEN_MODEL -> DECNET_REALISM_MODEL
DECNET_EMAILGEN_TIMEOUT -> DECNET_REALISM_TIMEOUT
DECNET_EMAILGEN_PERSONAS -> DECNET_REALISM_PERSONAS
DECNET_EMAILGEN_FAKE_OUTPUT -> DECNET_REALISM_FAKE_OUTPUT
Importers rewritten in: orchestrator/emailgen/scheduler.py,
orchestrator/drivers/email.py, web/router/{emailgen,topology}/
api_personas.py, cli/emailgen.py. Tests for moved modules relocated
to tests/realism/; tests for stay-put modules updated in place.
API URL `/api/v1/emailgen/personas` and CLI `decnet emailgen
import-personas` keep their public names until the service-collapse
commit (stage 5).
2026-04-27 16:05:43 -04:00
..
2026-04-24 13:24:34 -04:00
2026-04-23 13:25:28 -04:00
2026-04-09 18:32:46 -04:00
2026-04-26 09:20:17 -04:00
2026-04-27 13:37:19 -04:00
2026-04-19 20:24:29 -04:00
2026-04-26 03:40:08 -04:00
2026-04-25 07:51:20 -04:00
2026-04-27 16:05:43 -04:00
2026-04-19 17:57:45 -04:00
2026-04-17 17:48:42 -04:00
2026-04-26 08:36:17 -04:00
2026-04-12 08:01:21 -04:00
2026-04-26 22:56:48 -04:00
2026-04-10 01:50:08 -04:00
2026-04-15 15:47:02 -04:00
2026-04-19 22:42:52 -04:00
2026-04-19 01:01:09 -04:00
2026-04-25 03:26:19 -04:00
2026-04-24 01:18:40 -04:00
2026-04-24 16:24:33 -04:00
2026-04-22 14:12:29 -04:00
2026-04-09 12:24:09 -04:00
2026-04-24 15:01:20 -04:00
2026-04-23 14:07:32 -04:00
2026-04-24 14:00:12 -04:00
2026-04-15 12:51:38 -04:00
2026-04-17 16:23:09 -04:00
2026-04-20 01:27:39 -04:00
2026-04-20 01:27:39 -04:00
2026-04-17 14:52:22 -04:00
2026-04-24 15:01:20 -04:00