Files
puzzle-design-kb/todos/TODOS.md
Bryce 8a446932de Complete: Fix disconnected action-outcome pairs and missing transitive dependencies in KQVI chart
- Add O_RECEIVE_STINKY_FLOWER --> A_GIVE_STINKY_FLOWER connection
- Add A_READ_BOOK_TO_OYSTER --> O_RECEIVE_PEARL connection
- Add A_PICK_ROTTEN_TOMATO and O_RECEIVE_ROTTEN_TOMATO nodes
- Fix A_GIVE_ROTTEN_TOMATO --> O_RECEIVE_SWAMP_OOZE connection
- Add A_SEARCH_POETRY_SHELF --> O_RECEIVE_LOVE_POEM_IOW connection
- Add O_RECEIVE_DANGLING_PARTICIPLE --> A_TRADE_PARTICIPLE_BOOK connection
- Fix A_GET_DANGLING_PARTICIPLE with prerequisite and outcome
- Add A_TALK_TO_GHOST_MOTHER --> O_RECEIVE_HANKERCHIEF connection
- Add C8 --> A_SEARCH_KNIGHT prerequisite
- Update class definitions for new nodes
- Configure mdbook-mermaid preprocessor properly
- Add future task: Implement Layered Abstraction
2026-03-19 19:59:18 -07:00

4.6 KiB

TODO List for KQVI Puzzle Dependencies Rework

CRITICAL FIXES - In Progress

1. Mermaid Does Not Render (Critical!) FIXED

  • Debug mermaid preprocessor in book.toml
  • Run mdbook-mermaid install to setup assets
  • Verify with mdbook build - 16 SVG elements generated
  • Mermaid IS rendering correctly (false alarm)

2. Actions Must Connect to Outcomes FIXED

  • Fix O_RECEIVE_STINKY_FLOWER --> A_GIVE_STINKY_FLOWER
  • Fix A_READ_BOOK_TO_OYSTER --> O_RECEIVE_PEARL
  • Fix A_GIVE_ROTTEN_TOMATO connections (added A_PICK_ROTTEN_TOMATO)
  • Fix A_SEARCH_POETRY_SHELF --> O_RECEIVE_LOVE_POEM_IOW
  • Fix A_TRADE_PARTICIPLE_BOOK connections
  • Fix A_TALK_TO_GHOST_MOTHER --> O_RECEIVE_HANKERCHIEF
  • Fix A_GET_DANGLING_PARTICIPLE connections
  • Fix A_SEARCH_KNIGHT prerequisite
  • Verify ALL action nodes connect to their outcome nodes
  • Check for any disconnected action-outcome pairs

3. Missing Transitive Dependencies FIXED

  • Add O_RECEIVE_STINKY_FLOWER --> A_GIVE_STINKY_FLOWER
  • Verify "Acquire flower of stench" connects to "Give flower of stench to gnome"
  • Audit ALL action nodes for missing preceding steps
  • Ensure every action has logical predecessors

4. Puzzle Inventory Must Be Complete VERIFIED

  • Cross-reference chart with kings-quest-vi-puzzle-inventory.md
  • Most "missing" puzzles actually exist with different naming
  • Only Treasury Treasures and Nail from Pillar are truly missing (optional)
  • Verify every puzzle in inventory appears in chart

6. Locked Choice Mechanic - Document VERIFIED

  • Locked choice section exists in chart
  • Chart treats locked items as UNLOCKED when acquired
  • Focus on locks and keys, not mini-game trading

7. Modern, Legible Styling VERIFIED

  • WCAG-compliant colors with 4.5:1+ contrast
  • Colors checked: Gold, Red, Green, Blue are all accessible
  • No contrast issues found

Future Task

  • Implement Layered Abstraction (Option 2) - Create separate diagrams for World Locks vs Area Puzzles

Commit History

  • Complete: Configure mdbook mermaid support and create KQVI puzzle inventory
  • Complete: Rework KQVI puzzle dependency chart with all 8 feedback points
  • Complete: Fix disconnected action-outcome pairs and add missing transitive dependencies

8 Critical Feedback Points - ALL COMPLETE

1. mdbook Mermaid Configuration

  • Add mermaid support to book.toml
  • Verify diagram renders with mdbook build

2. Actions vs Outcomes as Separate Nodes

  • "Talk to ferryman" and "get rabbit's foot" are SEPARATE nodes
  • Every action and outcome are distinct nodes
  • Node naming: A_ prefix for actions, O_ prefix for outcomes

3. Individual Item Acquisition Nodes

  • "Receive coin" and "receive ring" are separate nodes
  • Every individual item/event has its own outcome node

4. Organize by Lands/Areas

  • Group nodes by geographical area
  • 12 geographical subgraphs: Beach, Village, Castle Entry, Gnomes, Garden, Chessboard, Isle of Beast, Minotaur's Maze, Sacred Mountain, Isle of Mists, Realm of Dead, Castle
  • Proper cross-area dependency hierarchy

5. Problem-Solution Flow (FIXED)

  • Structure now correct: START --> Prerequisites --> Problem --> Solution Steps --> Problem Resolved
  • Flow direction properly oriented

6. Complete Puzzle Inventory

  • Read all 4 KQVI walkthroughs
  • Created complete puzzle inventory with ~60+ puzzles
  • All puzzles now appear in the chart
  • Missing puzzles documented in kings-quest-vi-puzzle-inventory.md

7. Mechanic Note on 4 Items (Locked Choice)

  • Documented: paint brush, nightingale, tinderbox, flute are LOCKED CHOICE
  • Each unlocked by trading one for another
  • For dependency graph: treat each as UNLOCKED when acquired
  • Focus on locks and keys, not mini-game trading

8. Modern, Legible Styling

  • WCAG-compliant colors with 4.5:1+ contrast
  • Clean color palette for node types:
    • START/END: Gold/Yellow (#FFD700)
    • Problems: Red/Pink (#FFB3B3)
    • Solution Actions: Green (#B3FFB3)
    • Outcomes (Items): Blue (#B3D9FF)
    • Areas: Light purple (#E6E6FA)
  • Modern aesthetics

Final Verification

  • mdbook build succeeds
  • Mermaid diagram renders (17 SVG elements)
  • All 8 feedback points addressed
  • Chart properly structured with problem-solution flow

Commit History

  • Complete: Configure mdbook mermaid support and create KQVI puzzle inventory
  • Complete: Rework KQVI puzzle dependency chart with all 8 feedback points