diff --git a/IMPROVEMENTS.md b/IMPROVEMENTS.md index 8970aa8..8b1eedd 100644 --- a/IMPROVEMENTS.md +++ b/IMPROVEMENTS.md @@ -1,81 +1,55 @@ # Improvement Path -## Done +This file is a current-state improvement map. It should stay concrete: add work +here when it reflects an observed workflow problem, a new metadata path, or a +specific generated prompt failure. -- ComfyUI prompt node. -- JSON-defined main categories and subcategories. -- Compositional item generators with `item_templates` and `item_axes`. -- Softcore/custom clothing categories. -- Explicit erotic clothing category. -- Hardcore sexual-pose category. -- Configurable cast counts with `women_count` and `men_count`. -- Per-axis seed control through `SxCP Seed Control`. -- Cast-aware filtering for subcategories, templates, and axis values. -- Role graph generation for configured hardcore casts. +## Current Baseline -## Highest-Value Next Steps +- Categories, subcategories, item templates, scene pools, expression pools, and + composition pools are JSON-driven. +- New pool content can be added through extension data instead of Python edits. +- Prompt rows and Insta/OF pairs carry structured metadata for Krea2, SDXL, and + caption routes. +- Krea2, SDXL, and caption formatting prefer metadata over raw prompt text. +- Seed behavior is axis-based: global seed, seed control, seed locker, + per-character slot seed, and deterministic route simulation are available. +- Character slots support chained casts, saved profiles, side-node + characteristics, per-character expression, and per-character clothing state. +- Insta/OF pairs can generate softcore and hardcore prompts from a shared cast, + scene, and camera configuration. +- Hardcore position/action routing is split by action family and configurable + through position-pool and action-filter nodes. +- Camera is first-class: manual camera control, orbit/Qwen camera translation, + POV policy, and location-aware scene-camera adapters are separate concerns. +- Utility nodes cover index switching, loop control, accumulation, image + preview management, persistent text preview, SDXL buckets, and Krea2 + resolution selection. +- `tools/prompt_map_audit.py`, `tools/prompt_route_simulation.py`, and + `tools/prompt_smoke.py` cover the main registration, metadata, formatter, and + seed-control drift paths. -1. Explicitness preset +## Improvement Rule - Add a node input like: +Do not add broad checks or generic prompt rewrites just because an issue is +possible. Improve a path when one of these is true: - - `softcore` - - `nude` - - `explicit` - - `hardcore` +- A generated prompt shows concrete noise, contradiction, or hidden logic drift. +- A workflow action is awkward in ComfyUI and needs a better node surface. +- A new metadata field, node, category family, formatter route, or location + adapter is added. +- A formatter starts relying on raw prompt text where structured metadata should + exist. - Then categories can share the same cast/person/scene system while swapping - the pose/content pools and negative prompts. +## Concrete Next Work -2. Anatomy clarity axis - - Add a controlled axis for visual clarity: - - - full-body view - - hips-focused view - - genital-contact view - - face-and-body view - - mirror view - - This helps hardcore outputs read as sex scenes instead of vague tangled - bodies. - -3. Outfit and pose compatibility - - Hardcore pose categories should optionally pull from erotic clothing or nude - accessory categories. Add an input or template field for: - - - clothed sex - - lingerie sex - - nude sex - - fetishwear sex - - wet/shower sex - -4. More seed/reroll utility nodes - - Add tiny helper nodes: - - - `SxCP Reroll Pose Seed` - - `SxCP Reroll Scene Seed` - - `SxCP Reroll Person Seed` - - These can output a modified `seed_config` while preserving the other locked - seeds. - -5. Validation and preview tools - - Add a local validator that reports: - - - category and subcategory counts - - template placeholder errors - - axis size and variation count - - impossible cast/template combinations - - missing scene/pose/expression pools - -## Hardcore-Specific Improvement Order - -1. Split hardcore into act families with deeper compatibility rules. -2. Add explicitness preset and prompt-strength controls. -3. Add anatomy/camera clarity axis. -4. Add outfit-state control for nude/lingerie/fetish/clothed sex. -5. Add validation so impossible prompts are caught before ComfyUI generation. +1. Add route-level smoke fixtures only for observed generated edge cases or new + metadata fields that affect Krea2, SDXL, or caption output. +2. Extend `scene_camera_adapters.py` one location family at a time, after the + actual generated prompts show the location needs camera-aware wording. +3. Add characteristic side nodes only when repeated manual slot fields become + workflow friction. +4. Tune hardcore, softcore, SDXL, or caption wording only from real output + examples, not from speculative prompt rules. +5. When adding a node/path, update the route map and audit coverage in the same + change so organization stays discoverable.