forge
forge copied to clipboard
✨ Feature: Cross-Project Task Dependencies & Context Sharing
Feature Request
Priority: Low (backlog)
Summary
Enable tasks to reference and depend on tasks from other projects, with ability to share context across task boundaries.
Motivation
- Complex features often span multiple projects
- Tasks need context from related work in other projects
- Dependencies across projects currently invisible
- No way to express "Task Y depends on Task X from other project"
Proposed Solution
1. Task Dependencies
Task Y (Project A) depends on Task X (Project B)
Features:
- Cross-project dependency tracking
- Visual indicators for blocked/blocking tasks
- Dependency graph view
- Notifications when dependencies complete
2. Context Sharing
Task Z needs context from Task X, Y
Features:
- Reference other tasks in description/comments
- Auto-link task mentions (#project/task-id)
- Pull conversation/code context from referenced tasks
- Show related tasks in sidebar
Example Use Cases
Use Case 1: API + Frontend
Frontend Task: "Implement user profile page"
├─ Depends on: API Task "Create /users/:id endpoint"
└─ References: Design Task "User profile mockups"
Use Case 2: Multi-Repo Feature
Integration Task: "Connect payment gateway"
├─ Depends on: Backend "Payment service API"
├─ Depends on: Frontend "Checkout UI component"
└─ References: Infra "Payment provider credentials"
Technical Considerations
Data Model:
- Add
dependenciesarray to task schema - Support both
blocksandblocked_byrelationships - Store cross-project references with
project_id + task_id
UI/UX:
- Dependency picker (search across projects)
- Dependency graph visualization
- Task reference autocomplete
- Blocked task indicators in kanban
Constraints:
- Prevent circular dependencies
- Handle deleted/archived referenced tasks
- Performance with large dependency graphs
Future Enhancements
- Dependency templates ("API → Frontend" pattern)
- Auto-create dependent tasks
- Gantt chart view for dependencies
- Critical path analysis
- Slack/notification integrations for dependency updates
Related Issues
- #242 (Macro Kanban View) - complementary feature