Use hardcore family metadata in SDXL and captions

This commit is contained in:
2026-06-26 16:43:31 +02:00
parent 8668dfec9d
commit 2f7c359fab
5 changed files with 108 additions and 16 deletions
+8 -4
View File
@@ -110,6 +110,7 @@ Already isolated:
- shared hardcore action metadata lives in `hardcore_action_metadata.py`; custom
rows now emit `action_family`, `position_family`, `position_key`, and
`position_keys` so formatter routing and debugging do less keyword guessing.
Krea, SDXL, and training-caption routes consume these fields when present.
### Pair / Adapter Layer
@@ -186,6 +187,8 @@ Keep here:
- tag ordering;
- weighted explicit tags;
- negative-prompt assembly.
- metadata-family tag hints from `action_family`, `position_family`, and
`position_keys`.
Improve later:
@@ -203,6 +206,7 @@ Keep here:
- natural sentence caption assembly;
- training-caption trigger behavior;
- style-tail policy.
- metadata-family action labels from `action_family` and `position_family`.
Improve later:
@@ -351,9 +355,9 @@ Medium-term:
## Recommended Next Passes
1. Extend SDXL and caption routes to optionally consume `action_family` /
`position_family` when ordering tags or caption clauses.
2. Split `__init__.py` node classes by family after behavior is covered by smoke
1. Split `__init__.py` node classes by family after behavior is covered by smoke
checks.
3. Add route-level smoke fixtures for representative Krea/SDXL/caption metadata
2. Extract hardcore role graph generation from `prompt_builder.py` into a
dedicated `hardcore_role_graphs.py` module.
3. Add route-level smoke fixtures for more representative Krea/SDXL/caption metadata
rows.