Framework Dependency Installation Guide
Status: Active
Version: 1.0.0
Last Updated: 2025-12-06
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 install ai-dev-kit frameworks as dependencies in your project. Frameworks can be installed using three methods: Git submodules (Phase 1), the ai-dev-kit CLI tool (Phase 2), or package managers like npm/pip (Phase 3).
What you get: Frameworks installed as dependencies can be automatically updated when improvements are made, with notifications about available updates. This replaces the previous copy-paste approach.
Greenfield first-run scope (FR-080)
This guide now distinguishes the greenfield first-run path from brownfield adoption:
- Greenfield (this track): Start from a new/template repository and run installer-driven setup with explicit verification.
- Brownfield (separate track): Integrate into an existing architecture with modular surfaces and host-owned constraints.
For policy and boundaries:
- ADR-003 – Greenfield vs Brownfield adoption
- FR-081 – Brownfield modular adopter integration
- FR-080 implementing task (E6:S09:T01)
- IPW-E6S09T01 planning package
For the current canonical greenfield sequence (default RW-first with explicit override checkpoint), see:
Post-install validator commands, a synthetic reference transcript, and FR-078 / FR-079 telemetry boundaries are documented there under Wave 4 sections.
Prerequisites
Before installing frameworks, ensure you have:
- Git installed and configured
- Python 3.8+ (for CLI tool and some frameworks)
- Node.js 16+ (if using npm package manager)
- A Git repository for your project (frameworks are installed as Git dependencies)
System Requirements:
- Unix-like system (Linux, macOS) or Windows with Git Bash/WSL
- Terminal/command line access
- Write permissions to your project directory
Setting Up a Git Repository
If you don't have a Git repository yet, set one up first:
1. Initialize Local Git Repository:
# Navigate to your project directory
cd /path/to/your/project
# Initialize Git repository
git init
# Create initial commit (optional but recommended)
echo "# My Project" > README.md
git add README.md
git commit -m "Initial commit"
2. Create GitHub Repository (Optional but Recommended):
# Create repository on GitHub (via web interface or GitHub CLI)
# Then connect local repository to remote:
git remote add origin https://github.com/yourusername/your-project.git
# Or using SSH:
git remote add origin git@github.com:yourusername/your-project.git
# Push initial commit
git branch -M main
git push -u origin main
Note: You can install frameworks with just a local Git repository. A GitHub (or other remote) repository is optional but recommended for:
- Backup and collaboration
- CI/CD integration
- Framework update notifications (if using GitHub Actions)
3. Verify Git Setup:
# Check Git is working
git --version
# Check repository is initialized
git status
# Check remote (if configured)
git remote -v
Alternative: Use ai-dev-kit as a GitHub template
Instead of creating a repository from scratch, you can use ai-dev-kit as a template:
1. Create Repository from Template:
- Go to https://github.com/earlution/ai-dev-kit
- Click the "Use this template" button (if template is enabled)
- Select "Create a new repository"
- Choose your repository name and settings
- Click "Create repository"
2. Clone Your New Repository:
# Clone your new repository (replace with your username and repo name)
git clone https://github.com/yourusername/your-project.git
cd your-project
3. Post-Template Setup:
After creating from template, you'll have:
- ✅ Complete
docs/structure - ✅ Framework directories (
packages/frameworks/) - ✅ Configuration files
- ✅ Example workflows and templates
Next Steps:
- Follow the Post-Template Setup Guide for detailed customization steps
- Update
README.mdwith your project information - Review and customize
docs/structure for your needs - Configure Release Workflow (RW) for your project
Note: If the template option is not available, you can still manually clone and set up:
# Clone ai-dev-kit
git clone https://github.com/earlution/ai-dev-kit.git your-project
cd your-project
# Remove the original remote and set up your own
git remote remove origin
git remote add origin https://github.com/yourusername/your-project.git
# Push to your repository
git push -u origin main
Use Cases
Before installing, identify which use case matches your needs:
Use Case 1: Template → All Packages
New project from template with all frameworks included
- Create repository from ai-dev-kit template
- All frameworks pre-installed
- Complete KB structure included
- See Use Cases Guide for details
Use Case 2: Template → Some Packages
New project from template with selected frameworks
- Create repository from ai-dev-kit template
- Remove unused frameworks
- Keep only what you need
- See Use Cases Guide for details
Use Case 3: Existing Project → All Packages
Install all frameworks into existing project
- Add all frameworks to your existing repository
- Integrate with current structure
- See Use Cases Guide for details
Use Case 4: Existing Project → Some Packages
Install selected frameworks into existing project
- Add only the frameworks you need
- Incremental adoption
- See Use Cases Guide for details
📖 For complete use case details and additional scenarios, see the Use Cases Guide
Selective framework installation
Install only the packages you need (CLI, submodule copy, or template trim). See Use Case 2: Template → Some Packages and Use Case 4: Existing Project → Some Packages.
Monorepo setup
Share one ai-dev-kit installation across multiple packages. See Use Case 6: Monorepo/Multi-Project Setup.
Installation Methods
Method 1: Git Submodules (Phase 1 - Available Now)
Git submodules allow you to include the ai-dev-kit repository (or specific frameworks) as a subdirectory in your project, with version control via Git tags.
Installation Steps
1. Ensure Git repository is initialized:
# Navigate to your project root
cd /path/to/your/project
# If not already a Git repository, initialize it
git init # Only if needed
# Verify Git is set up
git status
2. Add the ai-dev-kit repository as a submodule:
# Add the entire ai-dev-kit repository as a submodule
git submodule add https://github.com/earlution/ai-dev-kit.git .ai-dev-kit
# Or add to a specific directory
git submodule add https://github.com/earlution/ai-dev-kit.git frameworks/ai-dev-kit
3. Checkout a specific framework version (recommended):
# Navigate to the submodule
cd .ai-dev-kit
# List available framework tags
git tag | grep framework
# Checkout a specific framework version (e.g., workflow-mgmt-v2.0.0)
git checkout workflow-mgmt-v2.0.0
# Return to project root
cd ..
4. Copy the framework to your project structure:
# Copy the workflow management framework
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
# Or copy multiple frameworks
cp -r .ai-dev-kit/packages/frameworks/kanban/ ./frameworks/kanban
cp -r ".ai-dev-kit/packages/frameworks/numbering & versioning" ./frameworks/numbering-versioning
5. Commit the submodule reference:
git add .gitmodules .ai-dev-kit frameworks/
git commit -m "Add ai-dev-kit frameworks as Git submodule"
Updating Frameworks (Git Submodules)
Check for updates:
# Navigate to submodule
cd .ai-dev-kit
# Fetch latest changes
git fetch origin
# List new tags
git tag | grep framework
# Checkout new version
git checkout workflow-mgmt-v2.1.0
# Return to project root
cd ..
# Copy updated framework
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
# Commit update
git add frameworks/
git commit -m "Update workflow-mgmt framework to v2.1.0"
Automated update script:
Create scripts/update-frameworks.sh:
#!/bin/bash
# Update all frameworks from Git submodule
cd .ai-dev-kit
git fetch origin
git checkout workflow-mgmt-v2.1.0 # Update to desired version
cd ..
# Copy updated frameworks
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
cp -r .ai-dev-kit/packages/frameworks/kanban/ ./frameworks/kanban
echo "Frameworks updated. Review changes and commit."
Advantages of Git Submodules
- Version control: Pin frameworks to specific Git tags
- No external dependencies: Works with Git only
- Explicit updates: You control when to update
- Full access: Access to entire ai-dev-kit repository
Limitations of Git Submodules
- Manual updates: Requires manual copying after submodule update
- Git knowledge: Requires understanding of Git submodules
- Repository size: Includes entire ai-dev-kit repository
Method 2: CLI Tool (Phase 2 - Available Now)
The ai-dev-kit CLI tool provides a unified interface for installing and managing frameworks across all dependency backends (Git submodules, Git subtrees, npm, pip).
Installation Steps
1. Ensure Git repository is initialized:
# Navigate to your project
cd /path/to/your/project
# Initialize Git if needed
git init # Only if not already a Git repository
2. Install the CLI tool:
# Install from source (current method)
cd /path/to/ai-dev-kit
pip install -e .
# Or install CLI tool directly
cd /path/to/ai-dev-kit/cli
pip install -e .
# Future: Install via pip (when published to PyPI)
# pip install ai-dev-kit
3. Initialize ai-dev-kit in your project:
cd /path/to/your/project
ai-dev-kit init
This creates a .ai-dev-kit.yaml configuration file:
version: "1.0.0"
default_backend: "git-submodule"
frameworks: {}
4. Install a framework:
# Install workflow management framework (latest version)
ai-dev-kit install workflow-mgmt
# Install specific version
ai-dev-kit install workflow-mgmt@2.0.0
# Install with specific backend
ai-dev-kit install workflow-mgmt --backend git-submodule
# Install multiple frameworks
ai-dev-kit install workflow-mgmt kanban numbering-versioning
# Preview installation (dry-run)
ai-dev-kit install workflow-mgmt --dry-run
5. Check installed frameworks:
# Show status of all frameworks
ai-dev-kit status
# Show status of specific framework
ai-dev-kit status workflow-mgmt
# List all available frameworks
ai-dev-kit list
Output:
Installed Frameworks:
workflow-mgmt:
Version: 2.0.0
Backend: git-submodule
Path: frameworks/workflow-mgmt
Status: Up to date
kanban:
Version: 1.5.0
Backend: git-submodule
Path: frameworks/kanban
Status: Update available (1.6.0)
Updating Frameworks (CLI Tool)
Check for updates:
ai-dev-kit check
Output:
Available Updates:
workflow-mgmt: v2.0.0 → v2.1.0 (minor update)
kanban: v1.5.0 → v1.6.0 (patch update)
Update a framework:
# Update specific framework
ai-dev-kit update workflow-mgmt
# Update all frameworks
ai-dev-kit update --all
# Update to specific version
ai-dev-kit update workflow-mgmt@2.1.0
Automatic update notifications:
The CLI tool can be configured to check for updates and notify you:
# Enable automatic update checks
ai-dev-kit config set auto_check true
ai-dev-kit config set check_interval daily
# Run update check (can be added to CI/CD)
ai-dev-kit check --notify
Advantages of CLI Tool
- Unified interface: Same commands for all backends
- Automatic management: Handles submodule/package manager details
- Update notifications: Built-in update checking
- Version management: Easy version pinning and updates
Method 3: Package Managers (Phase 3 - Future)
Frameworks will be published as npm packages (for Node.js projects) and pip packages (for Python projects), enabling standard package manager workflows.
Installation Steps (npm - Future)
1. Ensure Git repository is initialized:
# Navigate to your project
cd /path/to/your/project
# Initialize Git if needed
git init # Only if not already a Git repository
2. Install workflow management framework:
# Install workflow management framework
npm install @ai-dev-kit/workflow-mgmt
# Install specific version
npm install @ai-dev-kit/workflow-mgmt@2.0.0
# Install multiple frameworks
npm install @ai-dev-kit/workflow-mgmt @ai-dev-kit/kanban
Installation Steps (pip - Future)
1. Ensure Git repository is initialized:
# Navigate to your project
cd /path/to/your/project
# Initialize Git if needed
git init # Only if not already a Git repository
2. Install workflow management framework:
# Install workflow management framework
pip install ai-dev-kit-workflow-mgmt
# Install specific version
pip install ai-dev-kit-workflow-mgmt==2.0.0
# Install multiple frameworks
pip install ai-dev-kit-workflow-mgmt ai-dev-kit-kanban
Note: While package managers (npm/pip) don't strictly require Git, having a Git repository is still recommended for:
- Version control of your project
- Tracking framework versions
- CI/CD integration
- Framework update workflows
Updating Frameworks (Package Managers)
npm:
# Check for updates
npm outdated
# Update to latest compatible version
npm update @ai-dev-kit/workflow-mgmt
# Update to specific version
npm install @ai-dev-kit/workflow-mgmt@2.1.0
pip:
# Check for updates
pip list --outdated
# Update to latest version
pip install --upgrade ai-dev-kit-workflow-mgmt
# Update to specific version
pip install --upgrade ai-dev-kit-workflow-mgmt==2.1.0
Advantages of Package Managers
- Standard workflow: Uses familiar package manager commands
- Dependency resolution: Automatic dependency management
- Version locking:
package.jsonorrequirements.txtpin versions - CI/CD integration: Standard package manager workflows
Post-Installation Setup
Enable RW Trigger in .cursorrules (Workflow Management Framework)
⚠️ IMPORTANT: If you installed the Workflow Management framework, add the RW trigger section to your .cursorrules so Cursor can run the Release Workflow. FR-060: You must send RW and a parseable Epic/Story/Task id in the same message (e.g. RW E5S01T01, RW E5:S01:T01). A bare RW is not sufficient—the agent must RW ABORTED before any version bump.
Option A: Use the RW Installer (Recommended)
The RW installer can automatically generate and add the .cursorrules section:
# Navigate to your project root
cd /path/to/your/project
# Run the RW installer
python frameworks/workflow-mgmt/scripts/install_release_workflow.py
# The installer will:
# - Generate rw-config.yaml (if it doesn't exist)
# - Create or update .cursorrules with the RW trigger section
# - Update workflow YAML files with correct paths
Option B: Manual Setup
If you prefer to set it up manually:
-
Open the cursorrules template:
# View the template
cat frameworks/workflow-mgmt/cursorrules-rw-trigger-section.md -
Copy the RW trigger section:
- Copy everything from
### 🚀 RELEASE WORKFLOW (RW) TRIGGERto the end of the file - This is the section that enables the RW trigger (always with a task id per FR-060)
- Copy everything from
-
Add to your
.cursorrulesfile:# Create .cursorrules if it doesn't exist
touch .cursorrules
# Add the RW trigger section (paste the copied content)
# You can add it in a "Version Control and Release Process" section -
Update file paths in the section:
- Replace
\{project\}with your project name - Update version file path:
src/\{project\}/version.py→src/yourproject/version.py - Update Kanban paths if using Kanban framework
- Update validator script paths to match your framework location
- Replace
-
Verify the trigger works:
- Restart Cursor to reload
.cursorrules - In chat, use the trigger plus a task id, e.g.
RW E5S01T01orRW E5:S01:T01(substitute a completed task from your Kanban). Short paths:RW -k E5S01T01,RW -d E5S01T01 - Full procedure and guardrails: Release Workflow (agent execution) (Step 1 branch safety; Steps 1.3–1.5: task token, releasable task, intent guard)
- If
rw-config.yamlsetsuse_kanban: true, validators (e.g.validate_rw_task_complete.py) expect a real task document matching the id you pass
- Restart Cursor to reload
What the RW Trigger Does:
When you send RW / rw with a mandatory task token in the same message, the AI assistant will:
- Execute the Release Workflow steps defined in your
.cursorrules(version bump, changelogs, validators, commit/tag/push as applicable) - Update Kanban documentation when configured
- Validate branch context and task alignment before mutating release files
Without .cursorrules: The RW trigger is not active—run workflow steps manually or add the excerpt.
With .cursorrules: The trigger runs agent-driven RW when the message includes a parseable E…S…T… id (FR-060).
Setup Kanban Board (Kanban Framework)
⚠️ IMPORTANT: If you installed the Kanban framework, you need to set up your Kanban board using the interactive installer. Do NOT manually copy epics from ai-dev-kit's actual Kanban board.
🚨 CRITICAL: Use the Installer (REQUIRED)
The Kanban installer is the ONLY supported method for setting up your Kanban board. It installs canonical epic templates (not ai-dev-kit's actual epics).
Option A: Use the Kanban Installer (Recommended)
# Navigate to your project root
cd /path/to/your/project
# Run the Kanban installer
python3 frameworks/kanban/scripts/install_kanban_framework.py --mode fresh
# The installer will:
# - Install canonical epic templates from templates/epics/ (NOT from ai-dev-kit's actual epics)
# - Contextualize Epic 1 with your project name
# - Only install canonical core epics (1-8, 10, 18, 22, 23)
# - Exclude ai-dev-kit project-specific epics
What You Get After Installation:
- ✅ Canonical epic templates installed in
docs/project-management/kanban/epics/Epic-\{N\}/ - ✅ Epic 1 contextualized with your project name (e.g., "MyProject Core", not "AI Dev Kit Core")
- ✅ Only canonical core epics (1-8, 10, 18, 22, 23) installed
- ✅ No ai-dev-kit project-specific epics
- ✅ Empty epic directories ready for you to create stories and tasks
Option B: Advanced Customization (Optional)
If you want to customize templates beyond the installer's automatic contextualization:
# Review the contextualization guide
cat frameworks/kanban/templates/CONTEXTUALIZATION_GUIDE.md
# The guide explains:
# - Placeholder replacement ({PROJECT_NAME}, {DOMAIN}, etc.)
# - Scalability guidance (tiny, small, medium, ambitious projects)
# - Customization guidelines (Epic, Story, Task levels)
# - Examples for different project types
Related Documentation:
- Contextualization Guide:
frameworks/kanban/templates/CONTEXTUALIZATION_GUIDE.md- Complete guide for customizing templates - Contextualization Examples:
frameworks/kanban/templates/examples/contextualized/- Examples for tiny, small, and ambitious projects - Kanban Installer:
frameworks/kanban/scripts/install_kanban_framework.py- Interactive installer script - Post-Template Setup Guide: See Post-Template Setup Guide Step 4 for detailed Kanban setup instructions
⚠️ What NOT to Do:
# ❌ WRONG - This copies ai-dev-kit's actual Kanban, not templates!
cp -r /path/to/ai-dev-kit/docs/project-management/kanban/epics/* docs/project-management/kanban/epics/
Why this is wrong:
- You'll get ai-dev-kit's project-specific epics (Epic 1: "AI Dev Kit Core", etc.)
- You'll get ai-dev-kit's actual stories and tasks with their specific content
- Epic 1 won't be contextualized with your project name
- You'll receive project-specific epics (like Epic 24 "Book Related Work") that are specific to ai-dev-kit
- CRITICAL: Epic Mashup Risk - You may get Epic 9 "Book Related Work" instead of canonical Epic 9 "User Management and Authentication"
Post-Installation Setup (Other Frameworks)
After installing frameworks, you need to configure them for your project:
1. Update File Paths
Frameworks contain example paths that need to be updated for your project structure:
# Example: Update paths in workflow management framework
cd frameworks/workflow-mgmt
# Search for example paths
grep -r "src/confidentia" .
# Replace with your project paths
find . -type f -name "*.md" -exec sed -i '' 's/src\/confidentia/src\/yourproject/g' {} \;
find . -type f -name "*.py" -exec sed -i '' 's/src\/confidentia/src\/yourproject/g' {} \;
2. Update Version Schema (if needed)
If your project uses a different versioning schema, update the version file:
# Edit version.py or equivalent
vim frameworks/workflow-mgmt/scripts/validation/validate_branch_context.py
# Update version schema parsing if needed
3. Configure Framework Settings
Each framework has configuration files that need customization:
# Example: Workflow management framework
vim frameworks/workflow-mgmt/rw-config.yaml
# Update:
# - Project name
# - Branch patterns
# - File paths
# - Validation settings
4. Enable RW Trigger in .cursorrules (Workflow Management Framework Only)
⚠️ IMPORTANT: If you installed the Workflow Management framework, add the RW trigger section to your .cursorrules so Cursor can run the Release Workflow. FR-060: You must send RW and a parseable Epic/Story/Task id in the same message (e.g. RW E5S01T01, RW E5:S01:T01). A bare RW is not sufficient—the agent must RW ABORTED before any version bump.
Option A: Use the RW Installer (Recommended)
The RW installer can automatically generate and add the .cursorrules section:
# Navigate to your project root
cd /path/to/your/project
# Run the RW installer
python frameworks/workflow-mgmt/scripts/install_release_workflow.py
# The installer will:
# - Generate rw-config.yaml (if it doesn't exist)
# - Create or update .cursorrules with the RW trigger section
# - Update workflow YAML files with correct paths
Option B: Manual Setup
If you prefer to set it up manually:
-
Open the cursorrules template:
# View the template
cat frameworks/workflow-mgmt/cursorrules-rw-trigger-section.md -
Copy the RW trigger section:
- Copy everything from
### 🚀 RELEASE WORKFLOW (RW) TRIGGERto the end of the file - This is the section that enables the RW trigger (always with a task id per FR-060)
- Copy everything from
-
Add to your
.cursorrulesfile:# Create .cursorrules if it doesn't exist
touch .cursorrules
# Add the RW trigger section (paste the copied content)
# You can add it in a "Version Control and Release Process" section -
Update file paths in the section:
- Replace
\{project\}with your project name - Update version file path:
src/\{project\}/version.py→src/yourproject/version.py - Update Kanban paths if using Kanban framework
- Update validator script paths to match your framework location
- Replace
-
Verify the trigger works:
- Restart Cursor to reload
.cursorrules - In chat, use the trigger plus a task id, e.g.
RW E5S01T01orRW E5:S01:T01(substitute a completed task from your Kanban). Short paths:RW -k E5S01T01,RW -d E5S01T01 - Full procedure and guardrails: Release Workflow (agent execution) (Step 1 branch safety; Steps 1.3–1.5: task token, releasable task, intent guard)
- If
rw-config.yamlsetsuse_kanban: true, validators (e.g.validate_rw_task_complete.py) expect a real task document matching the id you pass
- Restart Cursor to reload
What the RW Trigger Does:
When you send RW / rw with a mandatory task token in the same message, the AI assistant will:
- Execute the Release Workflow steps defined in your
.cursorrules(version bump, changelogs, validators, commit/tag/push as applicable) - Update Kanban documentation when configured
- Validate branch context and task alignment before mutating release files
Without .cursorrules: The RW trigger is not active—run workflow steps manually or add the excerpt.
With .cursorrules: The trigger runs agent-driven RW when the message includes a parseable E…S…T… id (FR-060).
Location of Template:
frameworks/workflow-mgmt/cursorrules-rw-trigger-section.md
5. Test Installation
Verify the framework is installed correctly:
# Example: Test workflow management framework
cd frameworks/workflow-mgmt
python3 scripts/validation/validate_branch_context.py --help
# Should show help text without errors
Verification
After installation, verify everything is set up correctly:
1. Check Framework Files
# Verify framework directory exists
ls -la frameworks/workflow-mgmt/
# Check for key files
test -f frameworks/workflow-mgmt/README.md && echo "✓ README exists"
test -f frameworks/workflow-mgmt/IMPLEMENTATION_GUIDE.md && echo "✓ Implementation guide exists"
2. Test Framework Commands
# Test validation scripts
cd frameworks/workflow-mgmt
python3 scripts/validation/validate_branch_context.py
# Should run without errors (may show warnings if not on correct branch)
3. Check Git Integration
# Verify Git repository is initialized
git status
# Should show repository status (not "not a git repository")
# Verify submodule is tracked (if using Git submodules)
git submodule status
# Should show submodule with commit hash
# Check remote (if configured)
git remote -v
# Shows remote repository URL if configured
4. Post-install sanity check (Kanban and install logs)
If you installed the Kanban framework, use this checklist to confirm a clean consumer install:
- Consumer Kanban location: Your working Kanban is at
docs/project-management/kanban/at your project root. Do not use or edit the framework’s internal Kanban under.ai-dev-kit/or the framework package path as your project board. - No ai-dev-kit–specific epics: Under
docs/project-management/kanban/epics/there should be no Epic 24 (or other ai-dev-kit–only epics). A fresh install only adds canonical epics (e.g. Epic 1–8, 10, 18, 22, 23). - Board file:
docs/project-management/kanban/kboard.mdshould mention your project name and, on first install, version placeholderv0.0.0.0+0. - Install logs: If install logging is enabled (default), check
logs/ai-dev-kit/install/for a timestamped log file. For Kanban installs, the log should contain lines with[KANBAN_FRESH_INSTALL](or other[KANBAN_*]phase markers) and any validation warnings. Use these logs for debugging if something goes wrong.
Troubleshooting
Issue: Not a Git repository
Problem: git status shows "not a git repository" error.
Solution:
# Initialize Git repository
git init
# Create initial commit
git add .
git commit -m "Initial commit"
# Then proceed with framework installation
Note: You can install frameworks without a remote repository (GitHub). A local Git repository is sufficient for framework installation.
Issue: Git submodule not updating
Problem: git submodule update doesn't pull latest changes.
Solution:
cd .ai-dev-kit
git fetch origin
git checkout <tag-name>
cd ..
git add .ai-dev-kit
git commit -m "Update submodule"
Issue: Framework files not found after installation
Problem: Framework files are in submodule but not copied to project.
Solution:
# Manually copy framework from submodule
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
# Or use CLI tool
ai-dev-kit install workflow-mgmt --force
Issue: Path errors in framework scripts
Problem: Framework scripts reference incorrect paths.
Solution:
# Update paths in framework configuration
vim frameworks/workflow-mgmt/rw-config.yaml
# Update all path references to match your project structure
Issue: Version conflicts
Problem: Multiple framework versions installed.
Solution:
# Remove old version
rm -rf frameworks/workflow-mgmt
# Install correct version
ai-dev-kit install workflow-mgmt@2.0.0
Uninstalling frameworks
If you need to remove a framework:
Using Uninstall Script (Recommended):
# Uninstall with auto-detected backend
python3 packages/frameworks/workflow\ mgt/scripts/uninstall_package.py <framework-name>
# Recovery mode (for failed installations)
python3 packages/frameworks/workflow\ mgt/scripts/uninstall_package.py <framework-name> --recover
# Rollback mode (for breaking changes)
python3 packages/frameworks/workflow\ mgt/scripts/uninstall_package.py <framework-name> --rollback
# Dry run (preview changes)
python3 packages/frameworks/workflow\ mgt/scripts/uninstall_package.py <framework-name> --dry-run
Safety Features:
- Creates backup before removal
- Validates dependencies
- Confirmation prompts
- Verifies cleanup
See the Troubleshooting Guide for detailed uninstall documentation.
Next Steps
After installation:
- Read the framework README:
frameworks/<framework-name>/README.md - Follow the implementation guide:
frameworks/<framework-name>/IMPLEMENTATION_GUIDE.md - Configure for your project: Update paths, version schema, and settings
- Set up
.cursorrulesfor RW trigger (Workflow Management Framework only):- If you installed the Workflow Management framework, add the RW trigger section to your
.cursorrulesfile - FR-060: After setup, invoke RW with a task id in the same message (e.g.
RW E5S01T01,RW E5:S01:T01); notRWalone - Location:
frameworks/workflow-mgmt/cursorrules-rw-trigger-section.md - Instructions: Copy the section from that file into your project's
.cursorrulesfile - Alternative: Use the RW installer script which can generate it automatically:
python frameworks/workflow-mgmt/scripts/install_release_workflow.py - Note: Without the
.cursorrulessection, the RW trigger is not active in Cursor
- If you installed the Workflow Management framework, add the RW trigger section to your
- Test the framework: Run validation scripts and test workflows
- Set up update notifications: Configure automatic update checking
See the Usage Guide for detailed usage instructions.