Skip to content

Latest commit

 

History

History
453 lines (316 loc) · 21.4 KB

File metadata and controls

453 lines (316 loc) · 21.4 KB

WynIsBuff2 Documentation Index

Complete navigation hub for all WynIsBuff2 documentation.

Last Updated: July 14, 2026 Documentation Health: See DOC_ANALYSIS_SUMMARY.md Agentic System: See meta/doc_index.yaml for queryable cross-reference system

Current-work authority: PROJECT_STATUS.md. Older roadmaps, action plans, and generated status snapshots are historical input, not authorization to begin work. This index still contains broken legacy links; their repair is tracked in the current status ledger.


🤖 Agentic Development System (NEW)

AI-assisted development with automated validation and documentation

Document Purpose Audience
meta/AGENTIC_WORKFLOW.md Complete workflow guide AI assistants, Developers
meta/doc_index.yaml Cross-reference index (queryable) AI tools, Scripts
meta/IMPLEMENTATION_SUMMARY.md Implementation details Developers
reference/data/level_schema.md Level data schema v1.1.0 Level designers, AI

Quick Commands:

bun run docs:update        # Update documentation index
bun run validate:levels    # Validate all level data
bun run arch:health        # Check architecture compliance

Quick Start

New to WynIsBuff2? Start here:

  1. README.md - Game overview and installation
  2. PROJECT_STATUS.md - Current status and next work
  3. CLAUDE.md - Development guide for AI assistants
  4. meta/AGENTIC_WORKFLOW.md - AI-assisted development
  5. CONTRIBUTING.md - Contributing guidelines

Documentation Categories

Core Development

Essential guides for development workflow

Document Purpose Audience
CLAUDE.md AI assistant development guide Claude Code, AI assistants
CONTRIBUTING.md Contribution guidelines Contributors
ARCHITECTURE.md System architecture overview Developers
ASSET_MANAGEMENT.md Asset workflow and manifest system Developers, Artists
PERFORMANCE_OPTIMIZATION.md Performance optimization guide Developers

Architecture & Design

System design and architectural decisions

Document Purpose
ARCHITECTURE.md Complete system architecture
report-05122025.md Architecture assessment report (May 2025)
architecture/ArchitecturalOverview.md Detailed architectural vision
architecture/ModularArchitecture.md Modular design patterns
design/GameDesignPrinciples.md Core game design principles

Technical Stack

Technology documentation and integration guides

Technology Document Purpose
Phaser 3 technology/PhaserFramework.md Phaser 3 integration guide
Rapier Physics technology/RapierPhysics.md Physics engine integration (0.19+ API)
Rapier Physics technology/RAPIER_019_MIGRATION.md Migration guide for Rapier 0.19+ breaking changes
Rapier Physics design/rapier-updated-api-research.md Deep dive: API evolution and character controllers
Vite technology/ViteBuildTool.md Build system configuration

Note: Root Rapier.md is outdated template boilerplate (Rapier 0.14 API). Use docs above for current patterns.

Systems & Features

Individual system and feature documentation

Event System

Player & Movement

Level System

UI/UX Architecture

Core Documentation:

Design System:

  • DesignTokens (src/constants/DesignTokens.js) - Primary design system (spacing, colors, typography, components)
  • UIConfig (src/constants/UIConfig.js) - ⚠️ Legacy (deprecated in favor of DesignTokens)

Core Managers:

  • LoadingScreenManager (src/core/LoadingScreenManager.js) - Unified loading screens with progress/status
  • UIManager (src/modules/UIManager.js) - UI element creation and management

Implementation Guides:

Audio Systems

Known Issues

Debugging & Diagnostics

✅ Observability System - PRODUCTION READY (Phases 0-5 Complete)

📖 Navigation Guide:

Quick Start:

Implementation Guides:

Architecture & Reference:

Debugging Guide:

Key Features (Phase 5):

  • ✅ Structured logging with automatic context injection (DebugContext)
  • ✅ Crash dump generation on fatal errors (CrashDumpGenerator)
  • ✅ Automatic error pattern detection (ErrorPatternDetector)
  • ✅ Query API for AI agents
  • ✅ Circuit breakers with comprehensive state dumps
  • ✅ 95% migration complete (278/293 statements)

Assets & Art

Asset creation and management guides

Document Purpose
ASSET_MANAGEMENT.md Asset workflow and manifest system
assets.md Asset organization guide
design/ArtStyleAndAssetPlan.md Art style guide
design/AssetManagementStrategy.md Asset management strategy
design/pixelart-style.md Pixel art guidelines

Special Features

Unique game features and mechanics

Feature Document
Birthday Minigame birthday-minigame.md
Silly Mechanics design/SillyMechanicsIdeas.md

Agent System

Multi-agent orchestration for development

Document Purpose
AGENTS.md Agent system overview
.claude/CLAUDE.md Claude-specific agent configuration
.claude/agents/ Individual agent definitions
.claude/commands/ Agent slash commands

Available Agents:

  • architecture-guardian - Enforces architectural patterns
  • game-physics-expert - Phaser 3 and Rapier physics specialist
  • game-design-innovator - Creative game design expert

Implementation Plans

Historical implementation plans

Document Status Purpose
PROJECT_STATUS.md Current Sole current-work ledger
IMPLEMENTATION_PLAN_V2.md Historical Earlier implementation roadmap
IMPLEMENTATION_PLAN.md Historical Original implementation plan
WYNISBUFF2_ACTION_PLAN.md Historical Earlier action items
next-implementations.md Historical Unverified planning questionnaire

Project Management

Project status, planning, and coordination

Document Purpose
PROJECT_STATUS.md Current project status
STATUS_REPORT.md Historical status snapshot
EXECUTION_CHECKLIST.md Execution checklist
CHANGELOG.md Version history and changes
QUICK_TEST.md Quick test procedures

Codex System

Code quality and baseline management

Document Purpose
CODEX.md Codex system overview
codex-setup.md Codex setup guide
baseline-creating.md Creating baselines
baseline-grading.md Grading baselines

Documentation Maintenance

Meta-documentation for maintaining documentation

Document Purpose
DOC_ANALYSIS_SUMMARY.md Documentation health overview
DOCUMENTATION_QUALITY_STANDARDS.md Quality standards and gates
assets/ASSET_TRIAGE_PLAN.md Asset hygiene and cleanup plan
docs/archive/sessions/README.md Archived session documents
scripts/README.md Documentation analysis tools

Documentation by Audience

For Developers

Start here if you're coding:

  1. CLAUDE.md - Development patterns and conventions
  2. ARCHITECTURE.md - System architecture
  3. CONTRIBUTING.md - How to contribute
  4. ASSET_MANAGEMENT.md - Working with assets

For Game Designers

Start here if you're designing features:

  1. design/GameDesignPrinciples.md - Design principles
  2. design/SillyMechanicsIdeas.md - Creative ideas
  3. level-progression-plan.md - Level design

For Artists

Start here if you're creating assets:

  1. design/ArtStyleAndAssetPlan.md - Art style guide
  2. ASSET_MANAGEMENT.md - Asset workflow
  3. design/pixelart-style.md - Pixel art guidelines

For AI Assistants

Start here if you're an AI assistant:

  1. CLAUDE.md - Primary development guide
  2. .claude/CLAUDE.md - Claude-specific configuration
  3. AGENTS.md - Agent orchestration system
  4. DOCUMENTATION_QUALITY_STANDARDS.md - Quality standards

Documentation Structure Rationale

Organization Principles

  1. Audience-first: Documentation organized by who needs it
  2. Task-focused: Find what you need to do, not abstract theory
  3. Progressive disclosure: Quick Start → Core → Deep Dives
  4. Single source of truth: Canonical location for each topic
  5. Cross-referenced: Related docs linked bidirectionally

Directory Structure

WynIsBuff2/
├── README.md                  # Player-facing entry point
├── CLAUDE.md                  # Developer-facing entry point
├── docs/                      # Main documentation
│   ├── INDEX.md              # This file
│   ├── ARCHITECTURE.md       # System architecture
│   ├── architecture/         # Architecture docs
│   ├── technology/           # Tech stack docs
│   ├── systems/              # Core systems
│   ├── features/             # Feature implementations
│   ├── design/               # Game design & art
│   └── archive/              # Historical content
├── AIProjectDocs/            # Index only (content moved to docs/)
│   └── README.md             # Index with references to new locations
├── .claude/                  # Claude Code configuration
│   ├── agents/               # Agent definitions
│   └── commands/             # Slash commands
└── scripts/                  # Tooling and automation
    └── README.md             # Tool documentation

Consolidation Status

Current State (as of Oct 28, 2025 - Session 3 Complete):

  • ✅ Main docs: docs/ directory with topic-based subdirectories
  • ✅ AIProjectDocs consolidated: 31 files reorganized into docs/
    • architecture/ (4 files)
    • technology/ (4 files)
    • systems/ (7 files)
    • features/ (5 files)
    • design/ (6 files)
    • archive/aiprojectdocs-historical/ (5 files)
  • Meta docs: Root level (process and tooling)
  • Config: .claude/, .codex/

Organization Improvements:

  • Topic-based directory structure
  • README.md in each category directory
  • All cross-references updated
  • Git history preserved via git mv

Finding What You Need

Common Tasks

I want to... Go to...
Start developing CLAUDE.md
Understand the architecture ARCHITECTURE.md
Add a new feature CONTRIBUTING.md + CLAUDE.md
Work with assets ASSET_MANAGEMENT.md
Understand physics technology/RapierPhysics.md
Implement level select UI features/LEVEL_SELECT_SCREEN_IMPLEMENTATION.md
Design a level level-progression-plan.md
Use structured logging systems/ERROR_HANDLING_LOGGING.md - Section 5
Debug with observability systems/ERROR_HANDLING_LOGGING.md - Section 11
Debug "too many errors" systems/ERROR_HANDLING_LOGGING.md - Section 9
Query logs programmatically systems/ERROR_HANDLING_LOGGING.md - Section 5.4
Implement observability OBSERVABILITY_IMPLEMENTATION.md
Check observability status STATUS_OBSERVABILITY.json
Use the agent system AGENTS.md
Check documentation health DOC_ANALYSIS_SUMMARY.md

Search Strategies

By technology:

  • Phaser 3: Search "Technical Stack" section
  • Rapier: See Rapier.md and RapierPhysics.md
  • Vite: See ViteBuildTool.md

By system:

  • Events: EventSystem.md + EventSystemImplementationSteps.md
  • Player: ModularPlayerController.md + MovementSystem.md
  • Levels: LevelImplementation* docs
  • UI: UIManager.md + game-settings.md

By audience:

  • See "Documentation by Audience" section above

Documentation Quality

Current Health Score: 64/100 (see DOC_ANALYSIS_SUMMARY.md)

Active Improvements:

  • Session 1 ✅ Complete: Analysis tools deployed
  • Session 2 🔄 In Progress: Architecture & critical fixes
  • Session 3 ⏳ Planned: Consolidation
  • Session 4 ⏳ Planned: Rewrite & polish

Quality Standards: All documentation follows DOCUMENTATION_QUALITY_STANDARDS.md


Contributing to Documentation

See CONTRIBUTING.md for general guidelines.

Documentation-specific guidelines:

  1. Update this index when adding new documents
  2. Follow DOCUMENTATION_QUALITY_STANDARDS.md
  3. Run node scripts/doc-scanner.cjs before committing
  4. Link new docs from related existing docs
  5. Keep README and CLAUDE.md in sync with changes

Tools and Automation

Documentation analysis tools:

  • Quick scanner: node scripts/doc-scanner.cjs (2 sec)
  • Full analysis: ./scripts/doc-analysis.sh (60 sec)
  • Query tool: python3 scripts/query_docs.py --help

See scripts/README.md for tool documentation.


Index Maintained By: Documentation maintenance system Last Review: October 28, 2025 Next Review: After Session 3 consolidation