From 0ef9fb7b9dc6810256a12affab4b81959fca71ca Mon Sep 17 00:00:00 2001 From: "Dolon (Agent)" Date: Tue, 28 Apr 2026 11:13:21 +0000 Subject: [PATCH] Document Anchor NPC and Location workflows --- SKILL.md | 20 +++++-- references/anchor-npc-location-workflow.md | 65 ++++++++++++++++++++++ references/craftsmen-progression-locks.md | 47 +++++++++++++++- references/wealth-tiers-10-70-signals.md | 2 +- references/workflow.md | 61 ++++++++++++++++++-- 5 files changed, 182 insertions(+), 13 deletions(-) create mode 100644 references/anchor-npc-location-workflow.md diff --git a/SKILL.md b/SKILL.md index 22d954f..6db69bc 100644 --- a/SKILL.md +++ b/SKILL.md @@ -1,6 +1,6 @@ --- name: npc-visualization -description: Generate non-nudity Norse-themed NPC visuals for both pool batches and named/specific NPCs. Use for reference-first identity locking, interaction-framed final renders, and profession/trade rerenders where goods-quality progression across wealth tiers must be visible (e.g., armorers, bladesmiths, bowyers, fletchers). +description: Generate non-nudity Norse-themed NPC visuals for pool batches, named/specific NPCs, and Anchor NPC/Anchor Location scene workflows. Use for reference-first identity locking, P1→P2→P3 promotion, people-free room-first Anchor Location packs, interaction-framed final renders, and profession/trade rerenders where goods-quality progression across wealth tiers must be visible. --- # NPC Visualization @@ -10,28 +10,40 @@ Create non-nudity, photorealistic medieval Norse NPC visuals with anti-modern co Use this skill for both: - **Pool NPC batches** (high-volume, retrieval-first production) - **Named/specific NPCs** (identity-lock/reference-first production) +- **Anchor NPC / Anchor Location scenes** (reference-conditioned character work in reusable rooms) ## Quick start 1) Read **references/workflow.md**. -2) If task is crafts/trade-oriented, read **references/craftsmen-progression-locks.md**. -3) Default render model: **grok-imagine-image** (user can override). -4) For named/specific NPC identity references (face/body): default to **grok-imagine-image-pro**. +2) If task mentions Anchor NPCs, P1/P2/P3 promotion, reusable scenes, reference packs, or Anchor Locations, read **references/anchor-npc-location-workflow.md**. +3) If task is crafts/trade-oriented, read **references/craftsmen-progression-locks.md**. +4) Default production render model: **grok-imagine-image** (user can override). +5) Default Anchor NPC packs and Anchor Locations to **grok-imagine-image-pro** unless there is a concrete reason not to; this renderer policy is provisional. ## Workflow summary 1) Choose mode: - **Named/specific NPC:** run full reference-first flow (face/body/outfit keepers before final renders). - **Pool batch:** prioritize in-shop readability, category/tier progression, and roster diversity. + - **Anchor scene:** build or confirm people-free Anchor Location truth before people-heavy scenes. 2) Enforce style defaults (Norse, medieval, photorealistic, anti-modern, 16:9). 3) For crafts/trades, make progression visible in the **goods themselves** (not only room quality). 4) Keep interaction framing for final player-facing portraits. +## NPC progression terminology (locked) +- **Pool NPC (P1):** generic roster visual, lowest commitment. +- **Scene NPC (P2):** named, in-context/location-bound visual. +- **Anchor NPC (P3):** fully portable reference pack (tri-face, body, outfit set) for reuse in many scenes. +- Promotion language: `promote P1→P2`, `promote P2→P3`, and optional `fast-track P1→P3` when party engagement jumps quickly. +- For continuity-sensitive scenes, do not overclaim a final keeper on model QA alone; send tight candidate sets when Rick needs to judge visual identity/character drift. + ## Style constraints (defaults) - Norse, medieval, photorealistic, 16:9. - No electric/fluorescent/modern artifacts. - No modern fabrics/cuts/signage/UI. +- For Food/Hospitality Recipe H work, prefer concise scene-first prompts (compact low-tier spaces, solo staffing at 10/20, practical flame-light cues) over long hard-lock blocks. ## Resources ### references/ - **references/workflow.md** — core workflow, mode selection, gates, storage layout. +- **references/anchor-npc-location-workflow.md** — Anchor NPC packs, Anchor Location room-first workflow, storage hygiene, renderer policy, multi-character QA, and gpt-image-2 caveats. - **references/wealth-tiers-10-70-signals.md** — wealth ladder + overlay system. - **references/craftsmen-progression-locks.md** — progression locks for craftsmen/trade rerenders plus service-category progression frameworks (crafting baselines, adornment ladders, and Food/Hospitality + Healthcare progression guidance). diff --git a/references/anchor-npc-location-workflow.md b/references/anchor-npc-location-workflow.md new file mode 100644 index 0000000..ea6862a --- /dev/null +++ b/references/anchor-npc-location-workflow.md @@ -0,0 +1,65 @@ +# Anchor NPC + Anchor Location Workflow + +Use this reference when a task mentions Anchor NPCs, Anchor Locations, reusable scenes, P1/P2/P3 promotion, reference packs, or continuity-sensitive character/location renders. + +## 1) Promotion model +- **Pool NPC (P1):** generic roster visual; good enough for retrieval and quick table use. +- **Scene NPC (P2):** named character in one location-bound context; useful but not portable. +- **Anchor NPC (P3):** portable reference pack for repeated scenes: tri-face, body, outfits, marks, metadata, and human-approved keeper images. +- Allowed promotion language: `promote P1→P2`, `promote P2→P3`, `fast-track P1→P3`. +- Fast-track only when player engagement or campaign importance justifies the extra reference work. + +## 2) Storage layout and hygiene +Root: `~/output/to-dnd-session-rclone/Reference Visuals/` + +- `Anchor NPCs///` + - `00-face.jpg` — left/front/right face reference stitched into one image. + - `01-body.jpg` — front/back neutral body reference. + - `02-marks/` — close-ups of scars, tattoos, missing fingers, unusual jewelry, etc. + - `Outfits/.jpg` — front/back outfit references. + - `Scenes/` — final scene renders and candidate sets. + - `Outtakes/` — replaced/failed visual attempts worth preserving. + - `npc.json` — identity, physical traits, keeper paths, and notes. +- `Anchor Locations///` + - people-free room packs, room sheets, scene grammars, prompts, and renders. +- Keep run logs/manifests in hidden `.manifest/` folders so parent folders stay browsable. +- Current top-level Anchor NPC buckets include campaign/location groupings such as `Djuprjarn`, `Grimhofn`, `Threelands`, `Family`, `Fox Guild`, `Others`, plus `Experiments` for non-canonical tests. Keep established foldering decisions unless Rick overrides them. + +## 3) Renderer policy +- Default **Anchor NPC packs** and **Anchor Locations** to `grok-imagine-image-pro` unless there is a concrete technical/workflow reason not to. +- Default high-volume/low-fidelity churn to `grok-imagine-image`. +- Treat this as provisional: Rick expects renderer preferences to change as models improve. +- `gpt-image-2` can be very strong for reference-conditioned character/expression scenes, but keep attempt counts outside the image prompt and explicitly avoid triptych, collage, contact-sheet, panel, storyboard, split-screen, or multi-frame wording. +- For `gpt-image-2` body references: adult male bare chest + boxers has passed; adult female bare chest + boxers has been rejected. For adult female body sheets, use clinical covered wording such as opaque white chest wrap with nipples/areolae covered and upper/lower breast contours visible. Avoid “upper and lower breast visible” without “contours.” + +## 4) Anchor NPC pack pipeline +1. Gather or infer the brief: name, age, role, social class, face/body traits, scars/marks, clothing, emotional baseline, campaign bucket, and current canonical refs. +2. Produce candidate references using reference-conditioned or descriptor-stable prompting, not free text alone when identity matters. +3. Human keeper gate: Rick chooses or confirms the keeper before overwriting canonical `00-face.jpg`, `01-body.jpg`, or key outfit refs. +4. Preserve asymmetry. Do not mirror scars, missing fingers, eye damage, hair parting, jewelry, or distinctive marks. +5. Store rejected-but-useful attempts under `Outtakes/`; keep manifests/logs under `.manifest/`. +6. Update `npc.json` with current keeper paths and brief notes when changing canonical refs. + +## 5) Anchor Location room-first rule +- For important location-bound scenes, create or confirm a **people-free Anchor Location** before rendering people-heavy scenes. +- Do not build character scenes from raw lore alone. Combine: + 1. establishment truth cues, + 2. room sheet truth, + 3. one scene grammar module, + 4. one shot-specific camera wrapper, + 5. relevant Anchor NPC references. +- If the room itself is wrong, stop character rendering and fix the room pack first. +- Use the `dnd-anchor-location` skill for establishment truth, room sheets, exits/sightlines, and scene grammar when the task is primarily location design. + +## 6) Scene prompting and QA +- Final player-facing scenes should be interaction-framed: the NPC is oriented to the viewer/camera, preferably with eye contact unless the shot intentionally says otherwise. +- Always include anti-text constraints: no text, labels, captions, logos, watermark, signage, letters, symbols, or UI overlays. +- Prefer reference/image-edit methods over text-only prompts for continuity-sensitive clothing, body, scars, or room identity. +- For multi-character important scenes, generate **24 variants labeled A–Z except I and O** by default. Grok can compose attractive scenes while omitting/duplicating named characters. +- QA exact roster first: one of each named character, no invented foreground replacement, no gender drift, no role drift. +- Model-assisted QA is not enough for final identity signoff. When character drift matters, send Rick a tight candidate set with caveats. + +## 7) Safety and scope +- This skill is for non-nudity NPC visualization. Explicit/intimate work belongs in the nudity workflow and never applies to minors. +- Minors (17 or younger) must remain fully clothed and never sexualized. +- For all outputs, enforce medieval/Norse plausibility and reject modern electric lights, modern furniture/materials, modern signage, UI artifacts, and anachronistic clothing cuts. diff --git a/references/craftsmen-progression-locks.md b/references/craftsmen-progression-locks.md index 6f8cbed..79b1fd8 100644 --- a/references/craftsmen-progression-locks.md +++ b/references/craftsmen-progression-locks.md @@ -11,15 +11,21 @@ Apply these to both pool batches and named/specific NPC scenes: - repair intake/queue visible - trade tools/materials visible -2. **Comfortable+ staffing lock** - - Comfortable: assistants/apprentices visible in background - - Wealthy/Elite: multiple assistants clearly in-frame +2. **Tiered staffing lock (crafting baseline, updated 2026-04-22)** + - Village (10), Poor (20), and Modest (30): solo-operated by named NPC; no assistants/apprentices/crew (optional single non-staff visitor only) + - Exception policy: Village (10) may be rendered as a communal workshop only when explicitly justified by scene context; keep communal headcount modest and do not imply formal assistant staffing for the named NPC + - Comfortable (40) and Prosperous (50): at least one assistant/apprentice visible in background + - Wealthy+ (60+): multiple assistants clearly in-frame 3. **Tools/stations progression lock** - rough/limited -> refined/redundant -> bespoke/master tools 4. **Display progression lock** - rough racks -> organized counters -> curated boutique/gallery presentation + - **10–40 (Village -> Comfortable):** customer should feel like they are walking directly into the real workshop; active making, tools, benches, and visible process are part of the trust signal and should be comfortably foregrounded + - **50+ (Prosperous and above):** customer-facing presentation begins to separate from fabrication; finished goods and curated selection space become more prominent + - at higher-end weapons/arms/luxury scenes, the customer-facing foreground should read as **shop / boutique / atelier / gallery-fronted workshop** more than a raw workbench + - finished goods, display stands, racks, plinths, and customer-comparison space belong in the foreground; fabrication benches/tools belong in the back or side zones 5. **Goods-first lock** - tier progression must be visible in the **goods themselves**, not only decor @@ -29,6 +35,15 @@ Apply these to both pool batches and named/specific NPC scenes: - Modest/Comfortable: whole, clean, practical garments - Prosperous+: visibly finer weaves, tailoring, trim, and premium materials +7. **Lighting / display realism lock (2026-04-03)** + - treat visible modern/electric lighting as a higher-priority failure than modest display-material mismatch + - default non-Food/Hospitality pool baseline: daylight-only feel, no visible electric-looking fixtures, no internal cabinet glow + - 50–60: hardwood-primary display furniture is acceptable + - 70+: stone/marble-primary display surfaces are preferred, with hardwood as framing/accent + - for atmosphere-heavy Food/Hospitality interiors, a separate medieval-fixture branch can be valid (wall lanterns, candle sconces, oil lamps), but only when explicitly QA-validated + - jewelers and jewelcutters remain an unresolved problem class: task-light / desk-lamp regressions are common, so keep them isolated until a recipe proves stable + - do not promote new luxury-display wording globally until it passes frontloaded visual QA + ## 2) Canonical progression sheets (Northlands) - Armorer: `progression/armorer-quality-progression.md` @@ -48,6 +63,12 @@ Apply these to both pool batches and named/specific NPC scenes: ## Armorer (goods progression emphasis) Default goods families: helmets, leather, chain, scale, shields, plate. +Front-of-house / back-of-house rule (2026-04-03): +- up through Comfortable, it is fine for the customer to walk straight into the forge/workshop and see active making up front +- from Prosperous upward, especially for higher-end and ceremonial armor, the foreground should increasingly show finished harnesses, helms, shields, crests, and regalia on stands/racks/plinths +- tools, benches, and active fabrication should read as secondary/background workshop support at higher tiers, not the first thing a customer sees +- high-end armorer scenes should read more like a showroom-fronted atelier than a forge-first workbench scene + Material add-ons currently in use: - Chain (Mithril), Plate (Mithril), Ceremonial (Mithril) at 60/70/80 - Chain (Adamantine), Plate (Adamantine), Ceremonial (Adamantine) at 60/70/80 @@ -89,6 +110,11 @@ Model adamantine as tungsten-carbide analog: - non-emissive, no magical glow, no full chrome mirror, avoid bright silver overall read ## Bladesmith +Front-of-house / back-of-house rule (2026-04-03): +- up through Comfortable, visible benches/tools and active making can remain comfortably foregrounded +- at Prosperous and higher, customer-facing foreground should increasingly emphasize finished blades, comparison-ready display, and premium presentation before fabrication clutter +- benches/tools remain present but should be background or side-zone support rather than dominating the scene at higher tiers + Category baseline: - Knife & Dagger - Axe (Battle) @@ -167,6 +193,13 @@ Rule: track progression across three axes simultaneously: 2) service process quality, 3) environment quality. +Hospitality prompt style lock (Recipe H-family, concise): +- Prefer compact action-first wording over long hard-lock paragraphs. +- Always show inventory for sale + repair/work queue + trade tools/materials. +- Village/Poor/Modest (10/20/30): keep scene visibly small-scale and solo-operated by named NPC (no assistants/crew; optional single non-staff visitor only). +- Avoid multi-staff drift at low tiers and avoid oversized hall/workshop framing. +- Lighting should read as practical medieval flame light + limited daylight spill (no electric-looking fixtures). + For tavern/bar/restaurant interiors, explicitly enforce four-axis progression: 1) food presentation, 2) drink presentation, @@ -184,6 +217,10 @@ Rule: track progression in: 4) patient experience environment. ## Bowyer +Front-of-house / back-of-house rule (2026-04-03): +- up through Comfortable, visible shaping benches, tillering, assembly, and active making can stay forward +- at Prosperous and higher, put finished bows/crossbows/emplacements and comparison-ready display forward; keep shaping benches and heavy tool zones secondary unless the request is explicitly workshop-first + Category baseline: - Bow - Crossbow (Handheld) @@ -200,6 +237,10 @@ Policy lock: - no default mithril bowyer categories (mithril archery/siege is exception-only) ## Fletcher +Front-of-house / back-of-house rule (2026-04-03): +- up through Comfortable, visible shaft-cutting, head-fitting, fletching, and binding work can stay naturally foregrounded +- at Prosperous and higher, present finished arrows/bolts/heavy bolts in organized customer-facing arrays first; work areas should sit behind or beside the selling space + Approved fletcher subskills / goods families: - Arrows - Bolts (handheld crossbows) diff --git a/references/wealth-tiers-10-70-signals.md b/references/wealth-tiers-10-70-signals.md index 6b66389..2babd03 100644 --- a/references/wealth-tiers-10-70-signals.md +++ b/references/wealth-tiers-10-70-signals.md @@ -500,7 +500,7 @@ Example: | Value | Primary read | Typical visual cues | |---|---|---| -| Village | small local footprint | compact shopfront, limited stock depth, few assistants, low traffic | +| Village | small local footprint | compact shopfront, limited stock depth, low traffic, typically solo-operated named NPC (communal workshop exception-only) | | Town | established local hub | multiple stations, moderate depth of stock, regular staff rotation | | City | high-throughput commercial node | larger floorplate, segmented displays, visible service lanes, denser traffic | | Capital | flagship/political center scale | grand frontage, multiple public/private zones, highest logistics throughput | diff --git a/references/workflow.md b/references/workflow.md index eb3c26c..43179bf 100644 --- a/references/workflow.md +++ b/references/workflow.md @@ -10,6 +10,9 @@ Example triggers: - “Create stable references for NPC X before scene renders.” - “Rerender this profession pool with clearer tier progression.” - “Fix in-flight prompts so higher tiers visibly look better.” +- “Promote this character to an Anchor NPC.” +- “Make an Anchor Location / room pack before rendering the scene.” +- “Render named NPCs in a reusable location without losing identity.” ## 2) Choose mode first ### Mode A — Named/specific NPC (reference-first) @@ -20,17 +23,31 @@ Use when breadth and retrieval speed matter most. - Focus on clear category/tier read, roster diversity, and in-shop player-facing utility. - Full face/body reference staging is optional unless the user asks. -## 3) Storage layout (current) -Root: `~/output/to-dnd-session/Reference Visuals/` +### Mode C — Anchor NPC / Anchor Location scene workflow +Use when a named character must survive repeated renders or when a room/venue must stage repeated scenes. +- If the room matters, confirm the people-free Anchor Location first. +- If the character matters, use Anchor NPC references and a human keeper gate. +- Read `references/anchor-npc-location-workflow.md`. -- `Reference Visuals/NPCs//` +### Locked progression terminology (2026-04-20) +- `Pool NPC` (P1): generic roster visual. +- `Scene NPC` (P2): named in-context/location-bound visual. +- `Anchor NPC` (P3): full portable reference pack (tri-face + body + outfits). +- Promotion language: `promote P1→P2`, `promote P2→P3`, and optional `fast-track P1→P3`. + +## 3) Storage layout (current) +Root: `~/output/to-dnd-session-rclone/Reference Visuals/` + +- `Reference Visuals/Anchor NPCs///` - `00-face.jpg` — neutral face reference (left/front/right stitched in one 16:9 image) - `01-body.jpg` — front/back neutral body reference (A-pose) - `02-marks/` — close-ups of unique marks - `npc.json` — profile metadata - `Outfits/.jpg` — front/back outfit reference -- `Reference Visuals/Locations/` (reserved for location workflows) +- `Reference Visuals/Anchor Locations/` (location workflows, side-by-side with Anchor NPCs) + +Keep run logs and manifest TSV/JSON/MD files in hidden `.manifest/` folders whenever possible. ## 4) Named/specific NPC pipeline (required when Mode A) 1) Collect brief (name, age, role, vibe, attire, setting). @@ -56,6 +73,15 @@ For craftsmanship-heavy renders, progression must be visible in: - **Staffing and space scaling**, - **Clothing/material progression**. +### Workshop-to-boutique progression rule (2026-04-03) +For craftsmanship-heavy scenes, composition should evolve with wealth tier: +- **10–40 (Village -> Comfortable):** customer should feel like they are walking directly into the real workshop; active making, benches, tools, materials, and visible process are part of the trust signal and can sit comfortably in the foreground +- **50+ (Prosperous and above):** customer-facing presentation begins to separate from fabrication; finished goods and curated selection space become increasingly prominent +- for higher-end **weapons/arms (including armor)** and many luxury-goods scenes, the customer-facing image should read more like a **shop / boutique / atelier / gallery-fronted workshop** than a raw workbench +- foreground priority at higher tiers: finished goods, display stands/racks/plinths, customer-facing comparison space +- background/side priority at higher tiers: fabrication benches, tools, repair clutter, active making zones +- this is a compositional default, not a replacement for trade-specific QA; still validate outputs visually before broad promotion + For service-heavy categories (e.g., Food & Drink, Hospitality; Healthcare), progression must be visible in: - **Goods/menu/remedy quality**, - **Service/process discipline**, @@ -70,6 +96,30 @@ Use: - No modern materials/furniture/signage/UI overlays. - Final portraits should be interaction-facing (subject oriented to viewer/camera). +### Lighting baseline policy (2026-04-03) +For **pool NPCs outside Food & Drink, Hospitality**, the current frozen baseline is the learned **Recipe F** lighting posture: +- prioritize strict medieval realism over decorative lighting, +- prefer **daylight-only** illumination, +- do **not** show visible ceiling lamps, wall sconces, pendants, chandeliers, desk lamps, shades, bulbs, or filaments, +- do **not** allow internal cabinet glow, backlit shelving, or under-shelf light, +- for 50–60, hardwood-primary display furniture is acceptable, +- for 70+, favor marble/stone-primary display surfaces with only sparse medieval leaded-glass framing. + +Use this as the default production baseline for non-Food/Hospitality pool rerenders. Do **not** keep tweaking it casually; probe first, then promote only after visual QA. + +For **Food & Drink, Hospitality** atmosphere-heavy interiors, use the **Recipe H-family concise branch**: +- keep prompts short and scene-first (avoid giant lock paragraphs), +- anchor on one clear action and one compact workspace description, +- always include: inventory-for-sale visible, repair/work queue visible, tools/materials visible, +- **10 Village + 20 Poor + 30 Modest:** compact/small-scale scene and named NPC solo (no assistants/crew; optional single non-staff visitor only). Village (10) communal workshop is exception-only when explicitly justified, +- lighting should be practical medieval sources (hearth/candle/oil + limited window spill), +- keep anti-modern negatives focused and concrete (no electric/fluorescent/modern fixtures). + +Do not rely on long “hard lock v2” text blocks for hospitality if outputs regress into oversized rooms, multi-staff drift, or electric-looking fixtures. + +For **specified people / named locations**, use a stricter QA-gated branch rather than editing the pool baseline in place. + +For **jewelers / jewelcutters**, treat the scene class as unresolved for now: current small-luxury-item recipes still attract task-light / desk-lamp regressions, so do not promote those recipes broadly until they pass QA. ## 8) Tier + overlay composition Use wealth tier as base and overlays as modifiers: - `Tier=<10-Village..70-Elite (optional 80/90)>` @@ -88,6 +138,7 @@ When user asks for progression fixes mid-run: 4) Report evidence paths and caveats for already-dispatched rows. ## 10) Model guidance -- Named/specific NPC references (face/body): default to **grok-imagine-image-pro**. +- Named/specific NPC references (face/body), Anchor NPC packs, and Anchor Locations: default to **grok-imagine-image-pro** unless a concrete reason says otherwise. - Most production renders: default to **grok-imagine-image**. +- `gpt-image-2` is promising for reference-conditioned scenes and expressions, but treat it as a QA-gated branch; keep attempt counts outside prompts and avoid triptych/contact-sheet wording. - Allow explicit user overrides.