Files
character-browser/data/characters/buttercup_ppg.json
Aodhan Collins 29a6723b25 Code review fixes: wardrobe migration, response validation, path traversal guard, deduplication
- Migrate 11 character JSONs from old wardrobe keys to _BODY_GROUP_KEYS format
- Add is_favourite/is_nsfw columns to Preset model
- Add HTTP response validation and timeouts to ComfyUI client
- Add path traversal protection on replace cover route
- Deduplicate services/mcp.py (4 functions → 2 generic + 2 wrappers)
- Extract apply_library_filters() and clean_html_text() shared helpers
- Add named constants for 17 ComfyUI workflow node IDs
- Fix bare except clauses in services/llm.py
- Fix tags schema in ensure_default_outfit() (list → dict)
- Convert f-string logging to lazy % formatting
- Add 5-minute polling timeout to frontend waitForJob()
- Improve migration error handling (non-duplicate errors log at WARNING)
- Update CLAUDE.md to reflect all changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 00:31:27 +00:00

45 lines
1.1 KiB
JSON

{
"character_id": "buttercup_ppg",
"character_name": "Buttercup",
"identity": {
"base": "1girl, buttercup_(ppg), aged_up, tomboy",
"head": "black_hair, short_hair, bob_cut, flipped_hair, green_eyes",
"upper_body": "muscular_arms, athletic_figure, small_breasts",
"lower_body": "",
"hands": "",
"feet": "",
"additional": ""
},
"defaults": {
"expression": "smile, smirk",
"pose": "looking_at_viewer, crossed_arms",
"scene": ""
},
"wardrobe": {
"base": "",
"head": "",
"upper_body": "green_crop_top, sleeveless",
"lower_body": "black_belt, green_shorts",
"additional": "",
"feet": "white_thighhighs, black_boots",
"hands": "fingerless_gloves"
},
"styles": {
"aesthetic": "high_contrast, vibrant",
"primary_color": "green",
"secondary_color": "black",
"tertiary_color": "white"
},
"lora": {
"lora_name": "",
"lora_weight": 1.0,
"lora_weight_min": 0.7,
"lora_weight_max": 1.0,
"lora_triggers": ""
},
"tags": {
"origin_series": "The Powerpuff Girls",
"origin_type": "Cartoon",
"nsfw": false
}
}