@contextium/cli 1.0.61 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/ium/workflow.md +7 -2
package/package.json
CHANGED
package/skills/ium/workflow.md
CHANGED
|
@@ -104,7 +104,7 @@ Workflow loaded. What would you like to do?
|
|
|
104
104
|
|
|
105
105
|
- If there are **in_progress** tasks: note the first one as the active task and ask if the user wants to resume it.
|
|
106
106
|
- If there are only **not_started** tasks: note the first one as the suggested next action. Do not auto-start — let the user direct the session.
|
|
107
|
-
- If you create new action items during the session: call `add_task` to record them for the team.
|
|
107
|
+
- If you create new action items during the session: call `add_task` to record them for the team. For project workflows these are stored as phase files in the Project Library — no separate "plan" step needed.
|
|
108
108
|
- When a task is complete: call `update_task_status(taskId, 'done')`.
|
|
109
109
|
- Do not work on multiple tasks simultaneously.
|
|
110
110
|
|
|
@@ -117,7 +117,12 @@ If no workspace is specified, use the default from .contextiumrc or ask the user
|
|
|
117
117
|
|
|
118
118
|
Once the workflow is loaded and the user states what they want to do, apply this logic **before starting any work**:
|
|
119
119
|
|
|
120
|
-
**
|
|
120
|
+
**First check: does this workflow have a Project Library?**
|
|
121
|
+
- Look for `projectConfig.contextLibraryId` in the loaded workflow data.
|
|
122
|
+
- If it is missing or null: this is a legacy knowledge workflow with no project tracking. **Skip all auto-planning entirely** — just help the user with their request directly as you normally would.
|
|
123
|
+
- Only proceed with auto-planning if `contextLibraryId` is set.
|
|
124
|
+
|
|
125
|
+
**If `phaseCount === 0` (no phases set up yet) AND `contextLibraryId` exists:**
|
|
121
126
|
|
|
122
127
|
Assess the scope of the request silently, then act accordingly:
|
|
123
128
|
|