Extract Insta pair builder orchestration
This commit is contained in:
@@ -275,13 +275,13 @@ Already isolated:
|
||||
|
||||
### Pair / Adapter Layer
|
||||
|
||||
Owner today: `build_insta_of_pair`.
|
||||
Owner today: `pair_builder.py`; `prompt_builder.build_insta_of_pair` is the
|
||||
public wrapper used by the node layer.
|
||||
|
||||
Keep here:
|
||||
|
||||
- pair route sequencing;
|
||||
- top-level continuity option handoff between row, camera, clothing, and output
|
||||
adapters.
|
||||
- the public wrapper signature and dependency bridge needed by existing nodes
|
||||
and tests.
|
||||
|
||||
Already isolated:
|
||||
|
||||
@@ -290,6 +290,10 @@ Already isolated:
|
||||
policy, plus hardcore detail-density directive text, live in
|
||||
`pair_options.py`; `prompt_builder.py` keeps public delegate wrappers for
|
||||
existing nodes and tests.
|
||||
- pair route sequencing now lives in `pair_builder.py` behind
|
||||
`InstaPairBuildRequest` and `InstaPairBuildDependencies`, covering
|
||||
option/filter/seed/cast parsing handoff, soft/hard row orchestration, cast
|
||||
context, camera route, clothing route, and final output assembly delegation.
|
||||
- soft/hard row creation lives in `pair_rows.py` behind `InstaPairRowsRoute`,
|
||||
including softcore expression override resolution, Woman A slot context
|
||||
application, soft outfit/pose overrides, POV row fields, hardcore row
|
||||
|
||||
@@ -96,6 +96,7 @@ Core helper ownership:
|
||||
| `row_prompt_axes.py` | Row scene/pose/expression/composition axis selection behind `PromptAxesRoute`, compatible-entry filtering, expression-disabled handling, per-character expression promotion, legacy dict compatibility, POV composition adaptation, and pose-category environment sanitizing. |
|
||||
| `hardcore_position_config.py` | Hardcore position/action-filter choices, selected-position normalization, config JSON builders/parsers, focus-policy toggles, subcategory allow-list policy, position-key detection, and category/template/axis filtering. |
|
||||
| `pair_options.py` | Insta/OF option schema/defaults, softcore category/outfit/pose pools, partner outfit pools, clothing-continuity labels, negatives, hardcore cast count policy, and hardcore detail-density directives. |
|
||||
| `pair_builder.py` | Insta/OF pair route sequencing behind `InstaPairBuildRequest` and `InstaPairBuildDependencies`, including option/filter/seed/cast parsing handoff, soft/hard row, cast, camera, clothing, and final output adapter orchestration. |
|
||||
| `pair_rows.py` | Insta/OF soft/hard row creation behind `InstaPairRowsRoute`, softcore expression override resolution, Woman A slot context application, soft outfit/pose overrides, POV row fields, and legacy dict compatibility. |
|
||||
| `pair_cast.py` | Insta/OF descriptor prose, descriptor-entry assembly, shared descriptors, cast-label cleanup, same-cast softcore descriptor text, partner styling selection, cast-summary wording, platform/level labels, softcore cast presence text, and hard cast summary text. |
|
||||
| `pair_camera.py` | Insta/OF soft/hard camera route resolution behind `InstaPairCameraRoute`, same-as-softcore camera mode, camera-detail override, camera-aware composition mutation, POV camera suppression, synchronized row/root camera metadata, and legacy dict compatibility. |
|
||||
@@ -420,13 +421,14 @@ Edit targets:
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
O[SxCP Insta/OF Options] --> P[build_insta_of_pair]
|
||||
O[SxCP Insta/OF Options] --> P[prompt_builder wrapper]
|
||||
C[character_cast] --> P
|
||||
S[seed_config] --> P
|
||||
L[location_config] --> P
|
||||
M[composition_config] --> P
|
||||
H[hardcore_position_config] --> P
|
||||
P --> R[pair_rows.py]
|
||||
P --> Q[pair_builder.py]
|
||||
Q --> R[pair_rows.py]
|
||||
R --> A[soft_row via build_prompt]
|
||||
R --> B[hard_row via build_prompt]
|
||||
A --> D[pair_cast.py]
|
||||
|
||||
Reference in New Issue
Block a user