mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 23:50:48 +00:00
fix: Resolve REPO_ROOT in refactor.sh to actual repo root
Same bug as improve.sh — was cd'ing into the skills directory instead of the repo root. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8a7317d749
commit
5460cd6e1d
1 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ set -eo pipefail
|
|||
# Spawns a Claude Code agent team to maintain and improve the spawn codebase
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "${SCRIPT_DIR}"
|
||||
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
|
||||
cd "${REPO_ROOT}"
|
||||
|
||||
LOG_FILE="/home/sprite/spawn/.docs/refactor.log"
|
||||
TEAM_NAME="spawn-refactor"
|
||||
|
|
@ -19,7 +20,7 @@ log() {
|
|||
}
|
||||
|
||||
log "=== Starting Refactoring Cycle ==="
|
||||
log "Working directory: ${SCRIPT_DIR}"
|
||||
log "Working directory: ${REPO_ROOT}"
|
||||
log "Team name: ${TEAM_NAME}"
|
||||
log "Log file: ${LOG_FILE}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue