forked from bchanot/claude
feat(effort): xhigh on the vendored brainstorming and writing-plans, re-applied at resync
This commit is contained in:
@@ -934,6 +934,17 @@ for _ext_skill in "${EXT_SKILL_NAMES[@]}"; do
|
|||||||
done
|
done
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# Effort tiering (BDR-NEXT): the vendored brainstorming/writing-plans carry an
|
||||||
|
# effort pin upstream lacks; re-apply after every resync (census lock in
|
||||||
|
# lib/tests/effort-routing.test.sh alarms if this ever stops working).
|
||||||
|
for _s in brainstorming writing-plans; do
|
||||||
|
_f="$(cd "$(dirname "$0")" && pwd)/skills-external/$_s/SKILL.md"
|
||||||
|
if [ -f "$_f" ] && ! grep -q '^effort:' "$_f"; then
|
||||||
|
sed -i "0,/^name: $_s\$/s//&\neffort: xhigh/" "$_f"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset _s _f
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# STEP 8.5 — EXTERNAL SKILLS (npx skills add …)
|
# STEP 8.5 — EXTERNAL SKILLS (npx skills add …)
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|||||||
@@ -47,6 +47,15 @@ for s in gitflow prune-memory find-docs; do fm_has_effort "skills/$s/SKILL.md" m
|
|||||||
for s in feat hotfix bugfix refactor web-validate harden seo geo; do fm_has_effort "skills/$s/SKILL.md" high; done
|
for s in feat hotfix bugfix refactor web-validate harden seo geo; do fm_has_effort "skills/$s/SKILL.md" high; done
|
||||||
for s in ship-feature init-project onboard tour audit-delta analyze code-clean client-handover; do fm_has_effort "skills/$s/SKILL.md" xhigh; done
|
for s in ship-feature init-project onboard tour audit-delta analyze code-clean client-handover; do fm_has_effort "skills/$s/SKILL.md" xhigh; done
|
||||||
|
|
||||||
|
# ── 9) vendored superpowers carry xhigh (spec D3). The files live in skills-external/ (gitignored,
|
||||||
|
# machine-owned), so the durable artifact is the install-plugins.sh re-apply; the frontmatter
|
||||||
|
# check skips VISIBLY when the skill is not vendored yet (fresh clone before make plugin).
|
||||||
|
for s in brainstorming writing-plans; do
|
||||||
|
if [ -f "$R/skills-external/$s/SKILL.md" ]; then fm_has_effort "skills-external/$s/SKILL.md" xhigh
|
||||||
|
else printf 'SKIP skills-external/%s/SKILL.md not vendored yet (run make plugin)\n' "$s"; fi
|
||||||
|
done
|
||||||
|
has "install-plugins.sh" 'effort: xhigh'
|
||||||
|
|
||||||
# ── summary (later tasks insert their locks ABOVE this line)
|
# ── summary (later tasks insert their locks ABOVE this line)
|
||||||
printf 'effort-routing census: %d pass, %d fail\n' "$pass" "$fail"
|
printf 'effort-routing census: %d pass, %d fail\n' "$pass" "$fail"
|
||||||
[ "$fail" -eq 0 ]
|
[ "$fail" -eq 0 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user