prizmkit 1.1.27 → 1.1.30
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/bundled/VERSION.json +3 -3
- package/bundled/dev-pipeline/run-bugfix.sh +3 -8
- package/bundled/dev-pipeline/run-feature.sh +3 -8
- package/bundled/dev-pipeline/run-recovery.sh +691 -0
- package/bundled/dev-pipeline/run-refactor.sh +3 -8
- package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +759 -0
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/recovery-workflow/SKILL.md +72 -9
- package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +111 -42
- package/package.json +1 -1
|
@@ -787,19 +787,14 @@ else:
|
|
|
787
787
|
_source_branch=$(git -C "$_proj_root" rev-parse --abbrev-ref HEAD 2>/dev/null || echo "main")
|
|
788
788
|
_ORIGINAL_BRANCH="$_source_branch"
|
|
789
789
|
|
|
790
|
-
# Mark refactor as in-progress
|
|
791
|
-
#
|
|
792
|
-
#
|
|
790
|
+
# Mark refactor as in-progress (update JSON for runtime monitoring, no commit)
|
|
791
|
+
# The status change will be committed together with the final status update
|
|
792
|
+
# after the session completes, avoiding an extra noise commit per refactor.
|
|
793
793
|
python3 "$SCRIPTS_DIR/update-refactor-status.py" \
|
|
794
794
|
--refactor-list "$refactor_list" \
|
|
795
795
|
--state-dir "$STATE_DIR" \
|
|
796
796
|
--refactor-id "$refactor_id" \
|
|
797
797
|
--action start >/dev/null 2>&1 || true
|
|
798
|
-
# Commit the in_progress status on the original branch
|
|
799
|
-
if ! git -C "$_proj_root" diff --quiet "$refactor_list" 2>/dev/null; then
|
|
800
|
-
git -C "$_proj_root" add "$refactor_list" 2>/dev/null || true
|
|
801
|
-
git -C "$_proj_root" commit --no-verify -m "chore($refactor_id): mark in_progress" 2>/dev/null || true
|
|
802
|
-
fi
|
|
803
798
|
|
|
804
799
|
local _branch_name="${DEV_BRANCH:-refactor/${refactor_id}-$(date +%s)}"
|
|
805
800
|
if branch_create "$_proj_root" "$_branch_name" "$_source_branch"; then
|