Framework Dependency Usage Guide
Status: Active
Version: 1.0.0
Last Updated: 2025-12-07
Epic: Epic 5 - Documentation Management and Maintenance
Story: Story 4 - Framework Documentation Management
Task: E05:S04:T05 - Create comprehensive user documentation for Epic 6 framework dependency architecture
Overview
This guide explains how to use AI Dev Kit frameworks after installation. It covers configuration, basic usage, integration with your project, and best practices for managing framework dependencies.
Prerequisites: You should have completed the Installation Guide and have at least one framework installed.
Scope (greenfield vs brownfield)
- Greenfield / new-template first run (FR-080):
INSTALL_IN_YOUR_PROJECT.md· IPW-E6S09T01 - Policy: ADR-003 · Brownfield track: FR-081
Post-Installation Configuration
1. Update Project Paths
Frameworks contain example paths that reference the source project. You need to update these for your project structure.
Workflow Management Framework
cd frameworks/workflow-mgmt
# Find all references to example paths
grep -r "src/confidentia" . --include="*.md" --include="*.py" --include="*.yaml"
# Replace with your project structure
# Example: if your project uses src/myproject/
find . -type f \( -name "*.md" -o -name "*.py" -o -name "*.yaml" \) \
-exec sed -i '' 's|src/confidentia|src/myproject|g' {} \;
Key files to update:
rw-config.yaml- Main configuration filescripts/validation/validate_branch_context.py- Version file path- Documentation files - Example paths in guides
Kanban Framework
cd frameworks/kanban
# Update example project references
find . -type f -name "*.md" \
-exec sed -i '' 's|docs/project-management/epics/overview/Epic 4|docs/project-management/kanban/epics/Epic-4|g' {} \;
# Update example project names
find . -type f -name "*.md" \
-exec sed -i '' 's|Confidentia|YourProjectName|g' {} \;
Numbering & Versioning Framework
cd frameworks/numbering-versioning
# Update version file path
vim versioning-policy.md
# Update example paths to match your project structure
2. Configure Framework Settings
Each framework has configuration files that need customization.
Workflow Management: rw-config.yaml
# Location: frameworks/workflow-mgmt/rw-config.yaml
project:
name: "your-project-name"
root: "."
version:
file: "src/yourproject/version.py"
schema: "RC.EPIC.STORY.TASK+BUILD"
branches:
epic_pattern: "epic/{n}-{name}"
main_branch: "main"
changelog:
main_file: "CHANGELOG.md"
archive_dir: "docs/changelog-and-release-notes/changelog-archive/"
kanban:
epic_doc_pattern: "docs/project-management/kanban/epics/Epic-{epic}/Epic-{epic}.md"
story_doc_pattern: "docs/project-management/kanban/epics/Epic-{epic}/Story-{story}-*.md"
scripts:
scripts_path: "packages/frameworks/workflow mgt/scripts"
kanban_update_script: "packages/frameworks/kanban/scripts/update-kanban-docs.py"
validation:
strict_mode: true
validate_branch_context: true
validate_changelog_format: true
validate_version_bump: true
Kanban Framework: Update Epic/Story Templates
cd frameworks/kanban
# Review and customize templates
ls templates/
# Update template variables for your project
vim templates/epic-template.md
vim templates/story-template.md
3. Initialize Framework Components
Create Version File
# Create version file based on your project structure
mkdir -p src/yourproject
cp frameworks/numbering-versioning/templates/version.py src/yourproject/version.py
# Edit version file
vim src/yourproject/version.py
# Update:
# - Project name
# - Initial version (typically 0.1.1.1+1)
# - Version schema (if different)
Initialize Kanban Structure
# Create Kanban directory structure
mkdir -p docs/project-management/kanban/epics
# Copy Kanban board template
cp frameworks/kanban/templates/kboard.md docs/project-management/kanban/kboard.md
# Create first epic
mkdir -p docs/project-management/kanban/epics/Epic-1
cp frameworks/kanban/templates/epic-template.md docs/project-management/kanban/epics/Epic-1/Epic-1.md
Basic Usage
Workflow Management Framework
Using the Release Workflow (RW)
The Release Workflow is invoked in your AI assistant (Cursor, GitHub Copilot, etc.) with RW and a mandatory task id in the same message (FR-060), e.g. RW E5S01T01 or RW E5:S01:T01. A bare RW must RW ABORTED before any version bump.
Basic RW Execution:
-
Ensure you're on the correct branch:
git branch --show-current
# Should show: epic/{n}-{name} or main -
Update version file:
# Edit src/yourproject/version.py
# Set VERSION_TASK and VERSION_BUILD for current work -
Trigger RW:
- Send e.g.
RW E5S01T01orRW E5:S01:T01(your completed task id). Optional:RW -k …,RW -d … - The assistant runs the Release Workflow steps defined in your
.cursorrules
- Send e.g.
RW Steps (automated):
- Validate branch context
- Bump version (if needed)
- Create changelog archive
- Update main changelog
- Update README version badge
- Update Kanban documentation
- Update Epic/Story documentation
- Stage all changes
- Run validators
- Commit changes
- Create Git tag
- Push to remote
- Verify release
- Report completion
Manual RW Execution
If you need to run RW manually:
cd frameworks/workflow-mgmt
# Run RW script directly
python3 scripts/release-workflow.py
# Or use the agent execution guide
# Follow: docs/documentation/Developer_Docs/vwmp/release-workflow-agent-execution.md
Kanban Framework
Creating Work Items
Create an Epic:
# Create epic directory
mkdir -p docs/project-management/kanban/epics/Epic-1
# Create epic document
cp frameworks/kanban/templates/epic-template.md docs/project-management/kanban/epics/Epic-1/Epic-1.md
# Edit epic document
vim docs/project-management/kanban/epics/Epic-1/Epic-1.md
# Update:
# - Epic title and description
# - Story checklist
# - Dependencies and risks
Create a Story:
# Create story document
cp frameworks/kanban/templates/story-template.md \
docs/project-management/kanban/epics/Epic-1/Story-001-epic-title.md
# Edit story document
vim docs/project-management/kanban/epics/Epic-1/Story-001-epic-title.md
# Update:
# - Story title and description
# - Task checklist
# - Acceptance criteria
Update Kanban Board:
# Update main board view
vim docs/project-management/kanban/kboard.md
# Add new epic to board
# Update epic status
# Update story progress
Kanban Update Script
The Kanban framework includes a script to automatically update board views:
cd frameworks/kanban
# Run update script
python3 scripts/update-kanban-docs.py
# This updates:
# - kboard.md
# - _index.md (quick view)
# - Epic documents
Numbering & Versioning Framework
Version Management
Version Schema: RC.EPIC.STORY.TASK+BUILD
- RC: Release Candidate (0 = development, 1+ = release candidate)
- EPIC: Epic number (1, 2, 3, ...)
- STORY: Story number within epic
- TASK: Task number within story
- BUILD: Build number (increments per release within task)
Update Version:
# Edit src/yourproject/version.py
VERSION_RC = 0 # Release candidate
VERSION_EPIC = 1 # Current epic
VERSION_STORY = 1 # Current story
VERSION_TASK = 1 # Current task
VERSION_BUILD = 1 # Build number (increments per RW)
Version Validation:
cd frameworks/workflow-mgmt
# Validate version matches branch
python3 scripts/validation/validate_branch_context.py
# Validate changelog format
python3 scripts/validation/validate_changelog_format.py
# Validate version bump logic
python3 scripts/validation/validate_version_bump.py
Framework Integration
Using Multiple Frameworks Together
Frameworks are designed to work together. The recommended combination:
- Kanban - Organize work into Epics, Stories, and Tasks
- Numbering & Versioning - Version your work using
RC.EPIC.STORY.TASK+BUILD - Release Workflow - Automate releases with AI-driven workflows
Integration Workflow
1. Create work in Kanban:
# Create Epic 1
# Create Story 1
# Create Tasks
2. Set version for work:
# Update version.py to match Epic/Story/Task
VERSION_EPIC = 1
VERSION_STORY = 1
VERSION_TASK = 1
3. Execute Release Workflow:
# e.g. RW E1S01T01 or RW E1:S01:T01 in AI assistant (FR-060; same message as task id)
# RW automatically:
# - Updates Kanban docs
# - Updates version
# - Creates changelog entry
# - Commits and tags
Framework Dependencies
Some frameworks depend on others:
- Workflow Management depends on Numbering & Versioning (for version schema)
- Workflow Management depends on Kanban (for Kanban updates)
- Kanban can work standalone
Check Dependencies:
# Review framework README for dependencies
cat frameworks/workflow-mgmt/README.md | grep -A 10 "Dependencies"
# Check framework compatibility
cat frameworks/kanban/README.md | grep -A 5 "compatibility"
Configuration Management
Framework Configuration Files
Each framework has configuration files that control behavior:
.ai-dev-kit.yaml (if using CLI tool)
version: "1.0.0"
default_backend: "git-submodule"
frameworks:
workflow-mgmt:
version: "2.0.0"
backend: "git-submodule"
path: "frameworks/workflow-mgmt"
source: "https://github.com/earlution/ai-dev-kit.git"
tag: "workflow-mgmt-v2.0.0"
rw-config.yaml (Workflow Management)
Controls Release Workflow behavior. See configuration section above.
Environment Variables
Some frameworks support environment variables:
# Set in .env or shell
export VIBE_DEV_KIT_STRICT_MODE=true
export VIBE_DEV_KIT_AUTO_UPDATE=false
Best Practices
Version Management
-
Always update version before RW:
- Set
VERSION_TASKto current task - Set
VERSION_BUILDto 1 for new tasks, increment for same task
- Set
-
Use version validation:
- Run validators before committing
- Fix version mismatches immediately
-
Version consistency:
- Version in
version.pymust match branch context - Version in changelog must match
version.py
- Version in
Kanban Management
-
Keep Kanban docs updated:
- Update status when work progresses
- Run update script regularly
- Keep board view synchronized
-
Use templates:
- Always start from templates
- Maintain consistent structure
- Follow naming conventions
-
Track dependencies:
- Document epic/story dependencies
- Update dependency status
- Resolve blockers promptly
Framework Updates
-
Test updates before applying:
# Check for updates
ai-dev-kit check
# Review changelog
# Test in development branch
# Apply to main after testing -
Pin versions for stability:
# In .ai-dev-kit.yaml
frameworks:
workflow-mgmt:
version: "2.0.0" # Pin to specific version -
Review breaking changes:
- Check framework changelog
- Review migration guides
- Update configuration if needed
Troubleshooting
Common Issues
Issue: RW fails validation
# Check branch context
python3 frameworks/workflow-mgmt/scripts/validation/validate_branch_context.py
# Check changelog format
python3 frameworks/workflow-mgmt/scripts/validation/validate_changelog_format.py
# Fix issues and retry
Issue: Kanban docs out of sync
# Run update script
python3 frameworks/kanban/scripts/update-kanban-docs.py
# Manually update if needed
vim docs/project-management/kanban/kboard.md
Issue: Version mismatch
# Check current version
python3 -c "import sys; sys.path.insert(0, 'src'); from yourproject import version; print(version.VERSION_STRING)"
# Check branch
git branch --show-current
# Update version.py to match branch context
See the Troubleshooting Guide for more detailed solutions.
Next Steps
After configuring and using frameworks:
-
Read framework-specific guides:
- Workflow Management:
frameworks/workflow-mgmt/IMPLEMENTATION_GUIDE.md - Kanban:
frameworks/kanban/IMPLEMENTATION_GUIDE.md - Numbering & Versioning:
frameworks/numbering-versioning/IMPLEMENTATION_GUIDE.md
- Workflow Management:
-
Set up update notifications:
- See Update Guide
-
Integrate with CI/CD: