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-26 21:21:36 -04:00
2026-04-25 03:58:58 -04:00
2026-04-27 12:43:23 -04:00
2026-04-27 13:52:55 -04:00
2026-04-27 16:05:43 -04:00
2026-04-26 09:13:59 -04:00
2026-04-25 08:11:21 -04:00
2026-04-26 03:37:49 -04:00
2026-04-27 13:19:08 -04:00
2026-04-26 21:21:36 -04:00
2026-04-24 17:26:40 -04:00
2026-04-26 05:35:29 -04:00
2026-04-17 22:57:53 -04:00
2026-04-24 18:57:55 -04:00
2026-04-26 04:59:34 -04:00
2026-04-27 16:05:43 -04:00
2026-04-26 20:30:24 -04:00
2026-04-26 20:30:24 -04:00
2026-04-27 16:05:43 -04:00
2026-04-25 07:42:52 -04:00
2026-04-26 20:30:24 -04:00
2026-04-25 03:01:15 -04:00
2026-04-27 10:12:30 -04:00
2026-04-25 03:26:19 -04:00
2026-04-21 17:02:10 -04:00
2026-04-26 03:18:34 -04:00
2026-04-27 16:05:43 -04:00
2026-04-24 16:39:38 -04:00
2026-04-19 03:17:25 -04:00
2026-04-11 19:51:41 -04:00
2026-04-25 08:11:21 -04:00
2026-04-23 18:21:00 -04:00
2026-04-24 01:00:42 -04:00
2026-04-04 04:08:27 -03:00
2026-04-09 01:33:15 -04:00
2026-04-24 00:47:37 -04:00
2026-04-13 01:43:52 -04:00
2026-04-18 19:10:25 -04:00
2026-04-20 23:19:42 -04:00
2026-04-10 16:41:23 -04:00
2026-04-17 13:39:09 -04:00
2026-04-16 01:04:57 -04:00