@mindfoldhq/trellis 0.2.10 → 0.2.11
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/README.md
CHANGED
|
@@ -78,7 +78,7 @@ Spawn multiple Claude sessions in isolated worktrees with `/trellis:parallel`. W
|
|
|
78
78
|
<img src="assets/usecase2.png" alt="Parallel Work - Multiple features developing simultaneously" />
|
|
79
79
|
</p>
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
While coding, each worker runs in its own worktree (physically isolated directory), no blocking, no interference. Review and merge completed features while others are still in progress.
|
|
82
82
|
|
|
83
83
|
### Custom Workflows
|
|
84
84
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# 1. Stages and commits all changes (excluding workspace/)
|
|
10
10
|
# 2. Pushes to origin
|
|
11
11
|
# 3. Creates a Draft PR using `gh pr create`
|
|
12
|
-
# 4. Updates task.json with status="
|
|
12
|
+
# 4. Updates task.json with status="completed", pr_url, and current_phase
|
|
13
13
|
#
|
|
14
14
|
# Note: This is the only action that performs git commit, as it's the final
|
|
15
15
|
# step after all implementation and checks are complete.
|
|
@@ -215,7 +215,7 @@ fi
|
|
|
215
215
|
echo -e "${YELLOW}Updating task status...${NC}"
|
|
216
216
|
if [[ "$DRY_RUN" == "true" ]]; then
|
|
217
217
|
echo -e "[DRY-RUN] Would update task.json:"
|
|
218
|
-
echo -e " status:
|
|
218
|
+
echo -e " status: completed"
|
|
219
219
|
echo -e " pr_url: ${PR_URL}"
|
|
220
220
|
echo -e " current_phase: (set to create-pr phase)"
|
|
221
221
|
else
|
|
@@ -226,9 +226,9 @@ else
|
|
|
226
226
|
fi
|
|
227
227
|
|
|
228
228
|
jq --arg url "$PR_URL" --argjson phase "$CREATE_PR_PHASE" \
|
|
229
|
-
'.status = "
|
|
229
|
+
'.status = "completed" | .pr_url = $url | .current_phase = $phase' "$TASK_JSON" > "${TASK_JSON}.tmp"
|
|
230
230
|
mv "${TASK_JSON}.tmp" "$TASK_JSON"
|
|
231
|
-
echo -e "${GREEN}Task status updated to '
|
|
231
|
+
echo -e "${GREEN}Task status updated to 'completed', phase ${CREATE_PR_PHASE}${NC}"
|
|
232
232
|
fi
|
|
233
233
|
|
|
234
234
|
# In dry-run, reset the staging area
|
package/package.json
CHANGED