🔎 Existing issue check
🧭 Problem
comet-archive 中存在脚本进行归档文件的转移, 但是在 git 环境下, 会导致 实际上是删除旧文件/添加新文件的操作
mkdir -p "openspec/changes/archive"
--
mv "$CHANGE_DIR" "$ARCHIVE_DIR"
✨ Proposed solution
在脚本中添加感知分支, 当前代码库在 git 环境下, 将 mv 命令替换为 git mv
🎯 Primary area
Shell script
🪐 Workflow phase
Archive
🔀 Alternatives considered
No response
🧰 Compatibility notes
No response
🧩 Additional context
No response
🔎 Existing issue check
🧭 Problem
comet-archive 中存在脚本进行归档文件的转移, 但是在 git 环境下, 会导致 实际上是删除旧文件/添加新文件的操作
✨ Proposed solution
在脚本中添加感知分支, 当前代码库在 git 环境下, 将 mv 命令替换为 git mv
🎯 Primary area
Shell script
🪐 Workflow phase
Archive
🔀 Alternatives considered
No response
🧰 Compatibility notes
No response
🧩 Additional context
No response