fix(update): pass the source before --agent

Every scheduled Update run since 2026-10-31 failed with 'Missing required argument: source': --agent takes several values and swallowed the source that followed it. update.sh now passes the source first. test_update.py had pinned the source as the last argument and so encoded the bug; it now requires the source right after add and claude-code as the only agent (negative control against the old order fails).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-03 17:57:07 +01:00
1 parent d9ea175a17
commit e2157998d7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -30,6 +30,6 @@ fi
log "skills: updating from ${lockfile}..."
jq -r '.skills[].source' "${lockfile}" | sort -u | while read -r source; do
log "skills: updating ${source}..."
npx --yes skills add --yes --agent claude-code "${source}" </dev/null
npx --yes skills add "${source}" --yes --agent claude-code </dev/null
done
log "skills: update complete."