mirror of
https://github.com/OthmanAdi/planning-with-files.git
synced 2026-04-25 16:06:02 +03:00
[GH-ISSUE #50] How to handle multiple long-running tasks? #31
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/planning-with-files#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hzura on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/OthmanAdi/planning-with-files/issues/50
Great project! I'm wondering how to handle scenarios where multiple tasks are in progress simultaneously - for example, when one task is blocked waiting for external dependencies (PR review, API access, etc.) and I need to work on another task in the meantime.
Is there a recommended pattern for this?
@OthmanAdi commented on GitHub (Jan 22, 2026):
Recommended Pattern for Multiple Long-Running Tasks
Great question! Here's the pattern I recommend:
Option 1: Task-Specific Directories (Recommended)
Usage:
Option 2: Named Files (Simpler)
Context Switching Protocol
When switching between tasks:
Pause current task:
task_plan.mdwith current statusResume blocked task:
Example Workflow
.planning/feature-auth/*.planning/bugfix-login/*.planning/feature-auth/*Key Principle
The filesystem is your memory. Each task gets its own "memory space" so context is never lost.
This is exactly how Manus handles long-running tasks - they treat the filesystem as external memory that persists across sessions.
Hope this helps! Let me know if you need more details.