crewforth 3.0.0-rc.3 → 3.0.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +94 -1
- package/VERSION +1 -1
- package/adopt.sh +186 -19
- package/kit/CLAUDE.md +5 -4
- package/kit/README.md +1 -1
- package/kit/agents/crew-frontend-expert.md +6 -6
- package/kit/agents/crew-session-manager.md +1 -1
- package/kit/eval/doctor.sh +72 -18
- package/kit/eval/golden-routing.txt +15 -0
- package/kit/eval/preflight.sh +2 -2
- package/kit/eval/smoke-test.sh +625 -29
- package/kit/hooks/board-sync.sh +1 -1
- package/kit/hooks/board.sh +4 -3
- package/kit/hooks/guard-bash.sh +195 -21
- package/kit/hooks/guard-commit-scan.sh +2 -2
- package/kit/hooks/guard-powershell.sh +328 -0
- package/kit/hooks/guard-write.sh +28 -3
- package/kit/hooks/route-hint.sh +5 -1
- package/kit/hooks/session-update-check.sh +2 -2
- package/kit/hooks/skill-trust.sh +22 -11
- package/kit/legacy-blobs.tsv +208 -0
- package/kit/settings.json +10 -0
- package/kit/skills/automode-policy/SKILL.md +1 -1
- package/kit/skills/automode-policy/scripts/check.sh +2 -2
- package/kit/skills/crew-board/SKILL.md +1 -1
- package/kit/skills/crew-doctor/SKILL.md +3 -3
- package/kit/skills/crew-gates/SKILL.md +2 -1
- package/kit/skills/crew-handoff/SKILL.md +1 -1
- package/kit/skills/crew-skill/SKILL.md +2 -2
- package/kit/skills/crew-studio/SKILL.md +3 -2
- package/kit/skills/crew-update/SKILL.md +3 -3
- package/kit/skills/frontend/SKILL.md +26 -2
- package/kit/skills/frontend-rn-expo/SKILL.md +3 -0
- package/kit/skills/handoff/SKILL.md +2 -2
- package/kit/skills/reflect/SKILL.md +2 -2
- package/kit/skills/teamboard/SKILL.md +1 -1
- package/kit/skills/token-budget/SKILL.md +2 -2
- package/kit/skills/trace-scan/SKILL.md +4 -3
- package/kit/studio/README.md +1 -1
- package/package.json +1 -1
- package/start.sh +15 -8
package/start.sh
CHANGED
|
@@ -23,7 +23,12 @@ done
|
|
|
23
23
|
|
|
24
24
|
SRC="$HERE/kit"
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
# --help (or -h) needs no payload either: it is answered by the argument parser further down, before anything reads
|
|
27
|
+
# kit/. Refusing it here made `start.sh --help` print "kit/ not found" and exit 1 on a copy without kit/ — which is
|
|
28
|
+
# also what smoke 14e reads, so on a machine without node the help text was never checked at all (3.0.1, PR 10).
|
|
29
|
+
_HELP_ONLY=0; for a in "$@"; do case "$a" in -h|--help) _HELP_ONLY=1 ;; esac; done
|
|
30
|
+
|
|
31
|
+
if [ "$_HELP_ONLY" = 0 ] && [ ! -d "$SRC" ]; then
|
|
27
32
|
echo "ERROR: 'kit/' folder not found."
|
|
28
33
|
echo "start.sh and kit/ must be in the SAME directory (both come together when you unzip)."
|
|
29
34
|
exit 1
|
|
@@ -131,7 +136,7 @@ _mt() { # $1 = English text (the key); further args fill %s; result in _M
|
|
|
131
136
|
"Next: 1) fill in the CLAUDE.md project section 2) open Claude Code at the repo root") s="Sıradaki adımlar: 1) CLAUDE.md'deki proje bölümünü doldurun 2) Claude Code'u deponun kökünde açın" ;;
|
|
132
137
|
"Note: if Claude Code is ALREADY running here, restart it — CLAUDE.md and the discipline load at session start.") s='Not: Claude Code bu klasörde ZATEN açıksa yeniden başlatın — CLAUDE.md ve disiplin oturum açılırken yüklenir.' ;;
|
|
133
138
|
"Panel: /crew-studio opens the Studio panel from this project (or: node .claude/studio/server/index.js --open).") s='Panel: /crew-studio komutu Studio panelini bu projeden açar (alternatif: node .claude/studio/server/index.js --open).' ;;
|
|
134
|
-
"— backend + web + mobile
|
|
139
|
+
"— backend + web + mobile, every agent and skill; the stack is read from the project") s="— backend, web ve mobil; tüm ajanlar ve skill'ler; yığın projeden okunur" ;;
|
|
135
140
|
"%s agents · %s skills · %s commands will be installed") s='%s ajan · %s skill · %s komut' ;;
|
|
136
141
|
"(shared: .claude/ and CLAUDE.md stay committable)") s="(paylaşımlı: .claude/ ve CLAUDE.md commit'lenebilir kalır)" ;;
|
|
137
142
|
"(default — pass --shared to commit .claude/ and CLAUDE.md)") s="(varsayılan — .claude/ ve CLAUDE.md'yi commit'lemek için --shared verin)" ;;
|
|
@@ -149,7 +154,7 @@ _mt() { # $1 = English text (the key); further args fill %s; result in _M
|
|
|
149
154
|
"%s eol pin(s) so shared hooks stay LF") s="%s eol kuralı eklendi; paylaşılan hook'lar LF olarak kalır" ;;
|
|
150
155
|
"NOTE: no git repository at this level; after %s run: %s") s='NOT: bu klasörde git deposu yok. %s yaptıktan sonra şunu çalıştırın: %s' ;;
|
|
151
156
|
"Panel: needs Node 18+, which is not on this machine — but that is no longer a dead end.") s='Panel: Node 18+ gerekiyor ve bu makinede yok — ama bunun da bir çözümü var.' ;;
|
|
152
|
-
"Crewforth fetches one for the panel: %s (asks first;") s='Crewforth, panel için Node indirebilir: %s (önce sorar;' ;;
|
|
157
|
+
"Crewforth fetches one for the panel (Bash tool, not PowerShell): %s (asks first;") s='Crewforth, panel için Node indirebilir (PowerShell değil, Bash aracıyla): %s (önce sorar;' ;;
|
|
153
158
|
"verified against the published checksum, into %s, nothing else touched).") s='yayımlanan checksum ile doğrular, yalnızca %s içine kurar, başka hiçbir şeye dokunmaz).' ;;
|
|
154
159
|
"Every gate still holds meanwhile; the panel is the only part that needs node.") s="Bu arada tüm kapılar çalışmaya devam eder; Node'a yalnızca panel ihtiyaç duyar." ;;
|
|
155
160
|
"ERROR: the %s sentinel line is missing from %s — refusing to guess the discipline/project split.") s='HATA: %s işaret satırı %s içinde bulunamadı — disiplinin nerede bitip proje bölümünün nerede başladığı tahmin edilmeyecek.' ;;
|
|
@@ -180,7 +185,8 @@ CLAUDE.md'deki ## Stack bölümüne yazılır.
|
|
|
180
185
|
--dotnet 3.0'da kaldırıldı; kabul edilir, uyarı basar ve yığından bağımsız kurulumu yapar
|
|
181
186
|
--generic kabul edilir, etkisi yok (artık tek kurulum biçimi bu)
|
|
182
187
|
|
|
183
|
-
Crewforth her zaman eksiksiz kurulur: tüm ajanlar ve skill'ler — backend, web ve mobil
|
|
188
|
+
Crewforth her zaman eksiksiz kurulur: tüm ajanlar ve skill'ler — backend, web ve mobil; yığın projeden okunur
|
|
189
|
+
(CLAUDE.md ## Stack ya da depo). React Native/Expo, hazır isteğe bağlı katmanlardan yalnız biridir.
|
|
184
190
|
--backend | --frontend | --mobile | --fullstack hâlâ kabul edilir ama etkisi yok (eski komutlar bozulmasın diye)
|
|
185
191
|
--private | --shared kurulum yalnızca sizin mi, yoksa ekiple paylaşılıp commit'lenecek mi? (varsayılan: private)
|
|
186
192
|
--lang tr|en kurulum dili (verilmezse sihirbaz sorar)
|
|
@@ -197,7 +203,8 @@ recorded in the ## Stack section of CLAUDE.md.
|
|
|
197
203
|
--dotnet removed in 3.0; accepted, prints a warning and installs the stack-agnostic setup
|
|
198
204
|
--generic accepted, no effect (this is the only install shape now)
|
|
199
205
|
|
|
200
|
-
Every install ships everything: all agents, all skills — backend, web and mobile
|
|
206
|
+
Every install ships everything: all agents, all skills — backend, web and mobile; the stack is read from the project
|
|
207
|
+
(CLAUDE.md ## Stack, or the repo). React Native/Expo is only one of the optional ready-made layers.
|
|
201
208
|
--backend | --frontend | --mobile | --fullstack accepted, no effect (kept so older commands still run)
|
|
202
209
|
--private | --shared is the install yours alone, or committed for the team? (default: private)
|
|
203
210
|
--lang tr|en installer language (asked interactively when not given)
|
|
@@ -567,7 +574,7 @@ count_showcase "$SRC/skills"
|
|
|
567
574
|
|
|
568
575
|
h1 '[2/2] Summary · see what will be installed before you confirm'
|
|
569
576
|
echo
|
|
570
|
-
_mt 'full install'; _a="$_M"; _mt '— backend + web + mobile
|
|
577
|
+
_mt 'full install'; _a="$_M"; _mt '— backend + web + mobile, every agent and skill; the stack is read from the project'
|
|
571
578
|
row 'Scope' "${B}${_a}${D} ${_M}${R}"
|
|
572
579
|
_mt '%s agents · %s skills · %s commands will be installed' "${MG}${B}${N_AG}${R}" "${MG}${B}${N_SKL}${R}" "${MG}${B}${N_CMD}${R}"
|
|
573
580
|
row 'Included' "$_M"
|
|
@@ -620,7 +627,7 @@ cp -R "$SRC/eval/." .claude/eval/ 2>/dev/null || true
|
|
|
620
627
|
# process spawns at 62-135 ms each. test/ is dropped because its assertions read the
|
|
621
628
|
# The panel's own suite is NOT here to delete: it lives in packaging/studio-test/,
|
|
622
629
|
# outside the payload, because kit/ ships whole and 104 KB of test code
|
|
623
|
-
# would travel through all
|
|
630
|
+
# would travel through all three channels only to be removed on arrival.
|
|
624
631
|
cp -R "$SRC/studio/." .claude/studio/ 2>/dev/null || true
|
|
625
632
|
count_showcase .claude/skills
|
|
626
633
|
{ _mt "%s agents, %s skills and %s commands installed." "$(ls .claude/agents/*.md 2>/dev/null | wc -l | tr -d ' ')" "$N_SKL" "$N_CMD"; echo " ${_M}"; }
|
|
@@ -751,7 +758,7 @@ if bash .claude/eval/preflight.sh --has node 2>/dev/null; then
|
|
|
751
758
|
{ _mt 'Panel: /crew-studio opens the Studio panel from this project (or: node .claude/studio/server/index.js --open).'; echo "${_M}"; }
|
|
752
759
|
else
|
|
753
760
|
{ _mt 'Panel: needs Node 18+, which is not on this machine — but that is no longer a dead end.'; echo "${_M}"; }
|
|
754
|
-
{ _mt 'Crewforth fetches one for the panel: %s (asks first;' 'bash .claude/studio/ensure-node.sh --plan'; echo " ${_M}"; }
|
|
761
|
+
{ _mt 'Crewforth fetches one for the panel (Bash tool, not PowerShell): %s (asks first;' 'bash .claude/studio/ensure-node.sh --plan'; echo " ${_M}"; }
|
|
755
762
|
{ _mt 'verified against the published checksum, into %s, nothing else touched).' '~/.claude/studio-runtime'; echo " ${_M}"; }
|
|
756
763
|
{ _mt 'Every gate still holds meanwhile; the panel is the only part that needs node.'; echo " ${_M}"; }
|
|
757
764
|
fi
|