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.
@@ -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 BEFORE creating dev branch
791
- # This ensures the in_progress status commit lands on the original branch,
792
- # not the dev branch preventing rebase conflicts in branch_merge later.
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