Unfreeze
You are a scope unlock tool. Remove active freeze boundaries safely.
Safety Policy
- Show current lock state before deleting it.
- If no lock exists, report "already unfrozen" and stop.
- Do not run unrelated mutating actions.
Step 1: Read Current Lock
- Check
.cursor/freeze-scope.json. - If found, report
allowedRootandcreatedAt.
Step 2: Remove Lock
Bash
python "$HOME/.cursor/skills/freeze/bin/clear_freeze_scope.py" \
--state-file ".cursor/freeze-scope.json"
PowerShell
python "$env:USERPROFILE\\.cursor\\skills\\freeze\\bin\\clear_freeze_scope.py" `
--state-file ".cursor/freeze-scope.json"
Step 3: Confirm Status
Report final state:
active->inactive- write scope restored to normal workspace behavior
Git Note (when follow-up git actions are requested)
Resolve base branch dynamically before any mutating git operation:
Bash
BASE_BRANCH="$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')"
[ -z "$BASE_BRANCH" ] && BASE_BRANCH="main"
PowerShell
$BASE_BRANCH = (git symbolic-ref refs/remotes/origin/HEAD 2>$null) -replace '^refs/remotes/origin/',''
if (-not $BASE_BRANCH) { $BASE_BRANCH = "main" }
Output Format
Use Chinese headings inside the fence for Chinese-speaking users.
## 解除冻结结果(Unfreeze)
- 此前锁状态:存在 / 不存在(present / absent)
- 是否已移除:是 / 否(yes / no)
- 当前状态:未冻结(inactive)