From 9b69cc85052e221495d2f7610fa20409b42a2f06 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 27 Jun 2026 21:12:43 +0200 Subject: [PATCH] Align architecture roadmap with current routes --- docs/prompt-architecture-improvement-plan.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/prompt-architecture-improvement-plan.md b/docs/prompt-architecture-improvement-plan.md index dcb877c..9829d8a 100644 --- a/docs/prompt-architecture-improvement-plan.md +++ b/docs/prompt-architecture-improvement-plan.md @@ -654,8 +654,11 @@ Near-term: Medium-term: -- Extract category loading and role graph logic. -- Convert keyword-heavy interaction filtering to template metadata. +- Keep category loading, prompt-row routing, and role-graph routing in their + extracted owner modules instead of rebuilding them inside + `prompt_builder.py`. +- Add new template metadata only when a generated route needs a concrete action, + position, or formatter hint that is not already expressible. ### Insta/OF Pair @@ -673,9 +676,10 @@ Near-term: Medium-term: -- Make pair camera and clothing phases explicit subfunctions. -- Add smoke fixtures for same-cast, POV man, explicit nude, and different-camera - modes. +- Keep camera and clothing phases in `pair_camera.py` and `pair_clothing.py`; + extend those modules when a pair output shows concrete camera/clothing drift. +- Add pair smoke fixtures only when a new pair option or observed output changes + soft/hard cast, POV, explicit-nude, or split-camera metadata behavior. ### Krea2 @@ -706,8 +710,10 @@ Near-term: Medium-term: -- Dispatch action rewriting by action family. -- Continue splitting remaining Krea semantic helpers into smaller modules. +- Keep action-family rewriting dispatched through `krea_action_dispatch.py` and + the existing `krea_action_*` / `krea_pov*` helpers. +- Add or split Krea helpers only for an observed route failure or a new + action-family metadata path. ### SDXL