Story 004 – Kanban Structure Refactoring
Status: COMPLETE ✅
Priority: HIGH
Estimated Effort: [TBD]
Created: 2025-12-05
Last updated: 2025-12-05 (v0.4.4.1+2 – Documentation maintenance: Updated all Kanban and docs/ docs to reflect completion)
Version: v0.4.4.1+2
Code: E4S04
Task Checklist
- E4:S04:T01 – Refactor Kanban file structure (Epic-X.md → Epic-X/Epic-X.md, remove stories/ subdirectory) ✅ COMPLETE (v0.4.4.1+1)
Overview
This story refactors the Kanban file structure to consolidate all Epic-related files into a single directory, reducing navigation depth and improving maintainability. The refactoring moves Epic overview files into their respective Epic directories and removes the stories/ subdirectory, placing Story files directly in the Epic directory.
Goal
Consolidate Kanban file structure to:
- Place Epic overview files (
Epic-X.md) inside their respective Epic directories (Epic-X/Epic-X.md) - Remove
stories/subdirectory, placing Story files directly in Epic directories - Update all documentation, validators, and configuration files to reflect the new structure
- Ensure all frameworks (Kanban, Workflow Management, Numbering & Versioning) are updated
Tasks
E4:S04:T01 – Refactor Kanban file structure (Epic-X.md → Epic-X/Epic-X.md, remove stories/ subdirectory)
Input: Current Kanban structure with epics/Epic-X.md and epics/Epic-X/stories/Story-XXX-*.md
Deliverable: Refactored structure with epics/Epic-X/Epic-X.md and epics/Epic-X/Story-XXX-*.md
Dependencies: None
Blocker: None
Approach:
- Move
Epic-X.mdfiles into their respectiveEpic-X/directories asEpic-X/Epic-X.md - Move Story files from
Epic-X/stories/directly intoEpic-X/ - Remove empty
stories/subdirectories - Update all path references across all documentation:
- Kanban board files (
_index.md,kboard.md) - Epic and Story documents
- Workflow Management Framework documentation
- Numbering & Versioning Framework integration docs
- Debug Path Framework integration docs
- All templates (BR, FR, Epic)
- All validators and scripts
- All RW configuration examples
- Kanban board files (
- Update
validate_version_bump.pyto support new structure (with legacy fallback) - Update RW config patterns in schema and examples
- Update policy documentation (
kanban-governance-policy.md,kanban/README.md)
Acceptance Criteria:
- All Epic files moved to
Epic-X/Epic-X.md - All Story files moved from
Epic-X/stories/toEpic-X/ - All empty
stories/directories removed - All path references updated across all frameworks
- Validators updated with legacy fallback support
- RW config patterns updated
- Policy documentation updated
- No remaining references to old structure (excluding historical changelog archives)
Dependencies
Blocks:
- None
Blocked By:
- None
Coordinates With:
- Epic 1: Core KB Structure (structural changes)
- Epic 2: Workflow Management Framework (RW path updates)
- Epic 3: Numbering & Versioning Framework (integration doc updates)
References
docs/project-management/rituals/policy/kanban-governance-policy.mddocs/project-management/kanban/README.mdpackages/frameworks/workflow mgt/config/rw-config-schema.mdpackages/frameworks/workflow mgt/scripts/validation/validate_version_bump.py
Notes
Rationale:
- Reduces navigation depth (one less directory level)
- Consolidates all Epic-related files in one location
- Improves maintainability and discoverability
- Aligns with user feedback on structure simplicity
Impact:
- Affects all frameworks that reference Kanban paths
- Requires comprehensive documentation updates
- Validators updated with legacy support for backward compatibility