Merge branch 'fix/queue-pressure-gate' into unify/skills-20261114
# Conflicts: # scripts/install.sh # skills/kvb-org-organize/scripts/watch.py
This commit is contained in:
commit
0046ab3a0a
27 files changed
+2794
-207
No files matched your search
@@ -48,6 +48,11 @@ if [[ "${TARGET}" == "${HOME}" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
watch="${REPO_ROOT}/skills/kvb-org-organize/scripts/watch.py"
|
||||
if [[ -f "${watch}" ]] && ! python3 -I "${watch}" preflight; then
|
||||
warn "skills: add the keys above to the agents council config first; the new hooks and queue.py refuse to run without them"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
cd "${REPO_ROOT}"
|
||||
src="${REPO_ROOT}/.agents/skills"
|
||||
@@ -120,6 +125,17 @@ if [[ "${TARGET}" == "${HOME}" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
config="${AGENTS_COUNCIL_CONFIG:-${HOME}/.claude/agents-council/config.json}"
|
||||
shipped="${REPO_ROOT}/skills/kvb-org-organize/config.default.json"
|
||||
if [[ -f "${shipped}" && ! -e "${config}" && ! -L "${config}" ]]; then
|
||||
[[ -d "$(dirname -- "${config}")" ]] || install -d -m 0700 "$(dirname -- "${config}")"
|
||||
if (umask 077 && set -o noclobber && cat -- "${shipped}" >"${config}") 2>/dev/null; then
|
||||
log "skills: wrote the shipped agents council config to ${config}"
|
||||
else
|
||||
warn "skills: kept ${config}, which appeared while the install wrote the shipped default"
|
||||
fi
|
||||
fi
|
||||
|
||||
settings="${TARGET}/.claude/settings.local.json"
|
||||
if command -v node &>/dev/null; then
|
||||
log "skills: auto-enabling caveman + ponytail plugins in ${settings}"
|
||||
|
||||
Reference in new issue
Block a user