Framework Dependency FAQ
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
Frequently asked questions about installing, updating, and using AI Dev Kit frameworks as dependencies.
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
General Questions
What is the difference between copy-paste and dependency-based installation?
Copy-paste: Frameworks are manually copied into your project. Updates require manually copying new versions. No automatic update mechanism.
Dependency-based: Frameworks are installed as dependencies (Git submodules, CLI tool, or package managers). Updates can be automatic or semi-automatic with notifications.
Benefits of dependency-based:
- Automatic update notifications
- Version tracking
- Consistent framework versions
- Standard dependency management
Which installation method should I use?
Git Submodules (Phase 1): Use if you want immediate availability, full control, and don't mind manual update steps.
CLI Tool (Phase 2): Use if you want a unified interface, automated updates, and easier management. (Coming soon)
Package Managers (Phase 3): Use if you prefer standard npm/pip workflows and automatic dependency resolution. (Future)
Recommendation: Start with Git submodules, migrate to CLI tool when available.
Can I use frameworks without installing as dependencies?
Yes. You can still copy-paste frameworks manually. However, you won't get automatic update notifications or version tracking benefits.
Do I need to install all frameworks?
No. Frameworks are modular. Install only what you need:
- Workflow Management: For Release Workflow (RW) automation
- Kanban: For project management and work tracking
- Numbering & Versioning: For version management
You can use them standalone or together.
Use Case Questions
What are the different ways I can use ai-dev-kit frameworks?
There are 12 primary use cases for adopting ai-dev-kit frameworks:
Primary Use Cases:
- Template → All Packages: New project from template with all frameworks
- Template → Some Packages: New project from template with selected frameworks
- Existing Project → All Packages: Install all frameworks into existing project
- Existing Project → Some Packages: Install selected frameworks into existing project
Additional Use Cases: 5. Reference/Learning Only: Use documentation and examples without installing 6. Monorepo/Multi-Project: Single installation shared across multiple projects 7. Gradual/Migratory Adoption: Start with one framework, add more over time 8. Fork and Customize: Fork repository for heavy customization 9. Non-GitHub Git Repositories: Use with GitLab, Bitbucket, or self-hosted Git 10. Local-Only Projects: Use frameworks in local Git repository only 11. CI/CD Only Usage: Use frameworks in build/CI processes only 12. Educational/Training Context: Use for teaching, workshops, or training
See the Use Cases Guide for detailed information about each use case.
Which use case should I choose?
If you're starting a new project:
- Use Template → All Packages (Use Case 1) if you want everything
- Use Template → Some Packages (Use Case 2) if you want selective adoption
If you have an existing project:
- Use Existing Project → All Packages (Use Case 3) if you want all frameworks
- Use Existing Project → Some Packages (Use Case 4) if you want selective adoption
If you're just learning:
- Use Reference/Learning Only (Use Case 5) to study without installing
If you're managing multiple projects:
- Use Monorepo/Multi-Project (Use Case 6) for centralized management
See the Use Cases Guide for a selection matrix and detailed guidance.
Can I use frameworks with non-GitHub repositories?
Yes. Use Case 9: Non-GitHub Git Repositories covers this scenario.
Supported:
- GitLab repositories
- Bitbucket repositories
- Self-hosted Git servers
- Any Git-compatible repository
Limitations:
- Template feature may not be available (depends on your Git host)
- Manual setup required
- May need to adapt instructions for your Git host
Implementation:
- Use Git submodules (works with any Git host)
- Follow installation guide, adapting for your Git host
- Framework updates still work via Git tags
See Use Cases Guide - Non-GitHub Git Repositories for details.
Can I use frameworks in a local-only project (no remote repository)?
Yes. Use Case 10: Local-Only Projects covers this scenario.
Benefits:
- No remote repository required
- Local-only development
- Full framework functionality
- Privacy and security
Limitations:
- No remote backup
- No collaboration features
- Manual update process
- No CI/CD integration
Implementation:
- Initialize local Git repository
- Install frameworks using Git submodules
- Work locally
- Manual updates as needed
See Use Cases Guide - Local-Only Projects for details.
Can I use frameworks in a monorepo with multiple projects?
Yes. Use Case 6: Monorepo/Multi-Project Setup covers this scenario.
Benefits:
- Single installation point
- Centralized framework management
- Version consistency across projects
- Shared KB structure (optional)
Implementation:
- Install frameworks at monorepo root
- Projects reference shared frameworks
- Centralized update management
- All projects benefit from updates
See Use Cases Guide - Monorepo Setup for details.
Can I start with one framework and add more later?
Yes. Use Case 7: Gradual/Migratory Adoption covers this scenario.
Benefits:
- Low-risk adoption
- Test before committing
- Gradual workflow improvement
- Hybrid approach during transition
Implementation:
- Start with one framework (e.g., Kanban)
- Test and validate
- Add more frameworks incrementally
- Migrate from copy-paste as needed
See Use Cases Guide - Gradual Adoption for details.
Can I use frameworks for learning without installing?
Yes. Use Case 5: Reference/Learning Only covers this scenario.
Benefits:
- No dependency management overhead
- Study patterns without commitment
- Copy specific components as needed
- Educational and research purposes
Implementation:
- Browse documentation and examples
- Copy templates or code snippets manually
- Study patterns and best practices
- No installation required
See Use Cases Guide - Reference Only for details.
Installation Questions
How do I install frameworks in a new project?
- Initialize ai-dev-kit:
ai-dev-kit init - Install frameworks:
ai-dev-kit install workflow-mgmt@2.0.0 - Configure frameworks: Update paths and settings
- Test installation: Run validation scripts
See the Installation Guide for detailed steps.
Can I install frameworks in an existing project?
Yes. You can migrate from copy-paste to dependencies:
- Backup current frameworks
- Remove copied frameworks
- Install as dependencies
- Restore customizations
See the Integration Guide for migration steps.
What are the system requirements?
- Git (required for all methods)
- Python 3.8+ (for CLI tool and frameworks)
- Node.js 16+ (if using npm package manager)
- Unix-like system (Linux, macOS) or Windows with Git Bash/WSL
Do I need to update paths after installation?
Yes. Frameworks contain example paths that need to be updated for your project:
# Find example paths
grep -r "src/confidentia" frameworks/workflow-mgmt/
# Replace with your paths
find . -type f -exec sed -i '' 's/src\/confidentia/src\/yourproject/g' {} \;
See the Usage Guide for configuration steps.
Update Questions
How do I know when frameworks are updated?
CLI Tool:
ai-dev-kit check
Git Submodules:
cd .ai-dev-kit
git fetch origin --tags
git tag | grep workflow-mgmt
Package Managers:
npm outdated # npm
pip list --outdated # pip
You can also configure automatic checking and notifications.
Should I update immediately when notified?
PATCH updates (2.0.0 → 2.0.1): Usually safe to update immediately (bug fixes, security patches).
MINOR updates (2.0.0 → 2.1.0): Review changelog, test in development, then update (new features, improvements).
MAJOR updates (2.0.0 → 3.0.0): Review breaking changes, plan migration, test thoroughly before updating.
What if an update breaks my project?
Rollback:
ai-dev-kit update workflow-mgmt@2.0.0 # Previous version
Or:
cd .ai-dev-kit
git checkout workflow-mgmt-v2.0.0
cd ..
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
Always test updates in a development branch before applying to production.
Can I pin frameworks to specific versions?
Yes. In .ai-dev-kit.yaml:
frameworks:
workflow-mgmt:
version: "2.0.0"
pin: true # Prevents automatic updates
Or use Git tags to pin submodule versions.
Configuration Questions
Where is the configuration file?
Configuration file: .ai-dev-kit.yaml in your project root.
Framework-specific configuration:
- Workflow Management:
frameworks/workflow-mgmt/rw-config.yaml - Kanban: Framework-specific configs in
frameworks/kanban/
How do I configure update notifications?
# Enable automatic checking
ai-dev-kit config set auto_check true
ai-dev-kit config set check_interval daily
# Configure notification channel
ai-dev-kit config set notification_channel console
Can I use different backends for different frameworks?
Yes. Each framework can use a different backend:
frameworks:
workflow-mgmt:
backend: git-submodule
kanban:
backend: npm
Version Questions
What versioning scheme do frameworks use?
Frameworks use Semantic Versioning (SemVer): MAJOR.MINOR.PATCH
- MAJOR: Breaking changes (2.0.0 → 3.0.0)
- MINOR: New features, backward compatible (2.0.0 → 2.1.0)
- PATCH: Bug fixes, backward compatible (2.0.0 → 2.0.1)
How do I check framework versions?
# CLI tool
ai-dev-kit status
# Git submodules
cd .ai-dev-kit
git describe --tags
# Package managers
npm list @ai-dev-kit/workflow-mgmt # npm
pip show ai-dev-kit-workflow-mgmt # pip
What if frameworks have version conflicts?
# Check compatibility
ai-dev-kit check-compatibility
# Resolve conflicts
ai-dev-kit update --resolve-conflicts
# Or update specific framework
ai-dev-kit update workflow-mgmt@2.1.0
Git Submodule Questions
How do I update Git submodules?
Manual:
cd .ai-dev-kit
git fetch origin
git checkout workflow-mgmt-v2.1.0
cd ..
cp -r .ai-dev-kit/packages/frameworks/workflow\ mgt/ ./frameworks/workflow-mgmt
Automated:
./scripts/update-frameworks.sh workflow-mgmt 2.1.0
What if submodule is not initialized?
# Initialize submodules
git submodule update --init --recursive
# Or clone with submodules
git clone --recurse-submodules <repo-url>
Can I use Git subtrees instead of submodules?
Yes. The CLI tool supports Git subtrees:
ai-dev-kit install workflow-mgmt --backend git-subtree
Subtrees merge framework code directly into your repository (no separate submodule directory).
CLI Tool Questions
When will the CLI tool be available?
The CLI tool is planned for Phase 2 (short-term). Git submodules (Phase 1) are available now.
How do I install the CLI tool?
# Via pip (when available)
pip install ai-dev-kit
# From source
git clone https://github.com/earlution/ai-dev-kit.git
cd ai-dev-kit/cli
pip install -e .
What if CLI command is not found?
# Check installation
pip show ai-dev-kit
# Install if missing
pip install ai-dev-kit
# Check PATH
echo $PATH
# Use Python module
python3 -m vibe_dev_kit install workflow-mgmt
Framework Functionality Questions
How do I use the Release Workflow (RW)?
- Ensure you're on correct branch:
git branch --show-current - Update version file:
vim src/yourproject/version.py - In your AI assistant, send
RWwith a task id in the same message (FR-060), e.g.RW E5S01T01orRW E5:S01:T01(notRWalone) - RW runs its configured steps automatically (see your
.cursorrules/ agent execution guide)
See the Usage Guide for details.
What if RW fails validation?
# Check branch context
cd frameworks/workflow-mgmt
python3 scripts/validation/validate_branch_context.py
# Check changelog format
python3 scripts/validation/validate_changelog_format.py
# Fix issues and retry
How do I enable the "RW" trigger in Cursor?
Answer: You need to add the RW trigger section to your .cursorrules file.
Quick Setup:
-
Use the RW installer (recommended):
python frameworks/workflow-mgmt/scripts/install_release_workflow.pyThis automatically creates/updates
.cursorruleswith the RW trigger section. -
Or manually add the section:
- Open
frameworks/workflow-mgmt/cursorrules-rw-trigger-section.md - Copy the section from
### 🚀 RELEASE WORKFLOW (RW) TRIGGERto the end - Paste into your project's
.cursorrulesfile (create it if it doesn't exist) - Update file paths in the section to match your project structure
- Open
-
Restart Cursor to reload
.cursorrules -
Test: In Cursor chat, send e.g.
RW E5S01T01orRW E5:S01:T01— the agent should recognize the trigger (FR-060 requires a parseableE…S…T…in the same message asRW)
Without .cursorrules: The RW trigger is not active. You'll need to manually run workflow steps.
See: Installation Guide for detailed instructions.
How do I update Kanban documentation?
# Run update script
cd frameworks/kanban
python3 scripts/update-kanban-docs.py
# Or use RW (automatically updates Kanban when configured)
# e.g. RW E5S01T01 or RW E5:S01:T01 in AI assistant (FR-060)
Migration Questions
How do I migrate from copy-paste to dependencies?
- Backup current frameworks
- Document customizations
- Remove copied frameworks
- Install as dependencies
- Restore customizations
- Test functionality
See the Integration Guide for detailed migration steps.
Will my customizations be lost?
No. Document your customizations before migration, then restore them after installing as dependencies.
Common customizations:
- Path updates (src/confidentia → src/yourproject)
- Configuration changes (rw-config.yaml)
- Custom scripts
- Documentation updates
Can I migrate gradually?
Yes. You can migrate one framework at a time:
- Migrate workflow-mgmt first
- Test thoroughly
- Migrate kanban next
- Continue with other frameworks
CI/CD Questions
How do I integrate with CI/CD?
GitHub Actions:
- name: Check for updates
run: ai-dev-kit check --notify
GitLab CI:
check-updates:
script:
- ai-dev-kit check --notify
See the Integration Guide for complete examples.
Can I automate framework updates?
Yes, but use with caution:
- Check for updates automatically
- Create PR with update
- Require manual approval
- Test before merging
See the Update Guide for update automation.
Troubleshooting Questions
Framework installation fails. What do I do?
- Check framework name:
ai-dev-kit list - Verify version exists:
ai-dev-kit list --versions - Check network:
git ls-remote https://github.com/earlution/ai-dev-kit.git - Check permissions:
ls -la frameworks/ - Try different backend:
ai-dev-kit install workflow-mgmt --backend git-submodule
See the Troubleshooting Guide for detailed solutions.
Update doesn't work. How do I fix it?
- Check version availability:
ai-dev-kit list --versions - Check compatibility:
ai-dev-kit check --compatibility - Resolve Git conflicts:
git status - Force update:
ai-dev-kit update workflow-mgmt --force
See the Troubleshooting Guide for more solutions.
Configuration errors. How do I fix them?
# Validate configuration
ai-dev-kit validate-config
# Auto-fix if possible
ai-dev-kit validate-config --fix
# Or reinitialize
ai-dev-kit init
Best Practices Questions
Should I pin framework versions?
Development: Pin to specific versions for stability, update regularly for new features.
Production: Pin to stable versions, test updates in development first.
frameworks:
workflow-mgmt:
version: "2.0.0"
pin: true
How often should I check for updates?
Recommended:
- PATCH updates: Check weekly, apply immediately
- MINOR updates: Check monthly, review and apply quarterly
- MAJOR updates: Check quarterly, plan migration
# Set automatic checking
ai-dev-kit config set check_interval weekly
Should I commit framework files to Git?
Git Submodules: Commit submodule reference, not framework files (they're in submodule).
CLI Tool/Package Managers: Framework files are managed by dependency system, commit configuration only.
Customizations: Commit your customizations (path updates, config changes).
Support Questions
Where can I get help?
- Documentation: See guides in
docs/documentation/user-docs/ - Troubleshooting Guide: framework-dependency-troubleshooting-guide.md
- GitHub Issues: Create issue with diagnostic information
- CLI Help:
ai-dev-kit --helporai-dev-kit <command> --help
How do I report a bug?
# Use CLI to report
ai-dev-kit report-issue \
--framework workflow-mgmt \
--version 2.0.0 \
--description "Error description"
# Or create GitHub issue with:
# - Framework name and version
# - Error message
# - Steps to reproduce
# - Diagnostic information
Can I contribute improvements?
Yes. Contributions are welcome:
- Fork the repository
- Make changes
- Test thoroughly
- Submit pull request
References
- Use Cases Guide - Comprehensive use case overview
- Installation Guide
- Post-Template Setup Guide - Setup steps after creating from template
- Template Enablement Instructions - How to enable repository as template
- Usage Guide
- Update Guide
- Integration Guide
- CLI Reference
- Troubleshooting Guide