chore: switch CLAUDE_EFFORT env var to --effort alias, add task tracking
install-plugins.sh: replace 'export CLAUDE_EFFORT=max' with 'alias claude="claude --effort max"' (cleaner, uses CLI flag). Cleans up old env var from shell profile on re-run. Also adds tasks/ tracking files and fixes trailing whitespace in CLAUDE.md. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0bbb13f1f2
commit
3f69326c9a
@ -442,9 +442,9 @@ fi
|
||||
echo ""
|
||||
|
||||
# ============================================================
|
||||
# STEP 10 — SHELL ENV VARS (effort + thinking)
|
||||
# STEP 10 — SHELL CONFIG (alias + env vars)
|
||||
# ============================================================
|
||||
echo "── Step 10: Claude Code environment variables ──────────────"
|
||||
echo "── Step 10: Claude Code shell config (alias + env vars) ────"
|
||||
echo ""
|
||||
|
||||
# Detect shell profile
|
||||
@ -457,13 +457,21 @@ fi
|
||||
# Fallback to .profile (works with sh, dash, etc.)
|
||||
[ -z "$SHELL_PROFILE" ] && SHELL_PROFILE="$HOME/.profile"
|
||||
|
||||
CLAUDE_ENVS=(
|
||||
'export CLAUDE_EFFORT=max'
|
||||
CLAUDE_LINES=(
|
||||
"alias claude='claude --effort max'"
|
||||
'export CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1'
|
||||
)
|
||||
|
||||
# Clean up old CLAUDE_EFFORT env var if present (replaced by alias)
|
||||
if grep -qF 'export CLAUDE_EFFORT=max' "$SHELL_PROFILE" 2>/dev/null; then
|
||||
sed -i '/export CLAUDE_EFFORT=max/d' "$SHELL_PROFILE"
|
||||
# Also remove orphaned comment lines left by previous installs
|
||||
sed -i '/^# Claude Code — added by install-plugins.sh$/{ N; /^\n$/d; }' "$SHELL_PROFILE"
|
||||
info "Removed old CLAUDE_EFFORT=max from $SHELL_PROFILE (replaced by alias)"
|
||||
fi
|
||||
|
||||
ADDED=0
|
||||
for line in "${CLAUDE_ENVS[@]}"; do
|
||||
for line in "${CLAUDE_LINES[@]}"; do
|
||||
if grep -qF "$line" "$SHELL_PROFILE" 2>/dev/null; then
|
||||
ok "$line (already in $SHELL_PROFILE)"
|
||||
else
|
||||
|
||||
4
tasks/LESSONS.md
Normal file
4
tasks/LESSONS.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Lessons
|
||||
|
||||
| Date | What went wrong | Rule to avoid it |
|
||||
|------|----------------|-----------------|
|
||||
24
tasks/TODO.md
Normal file
24
tasks/TODO.md
Normal file
@ -0,0 +1,24 @@
|
||||
# TODO
|
||||
|
||||
## README.md overhaul
|
||||
- [x] Plan
|
||||
- [x] Corriger section install ctx7 (retirer MCP, clarifier CLI + API key)
|
||||
- [x] Marquer ruflo comme désactivé
|
||||
- [x] Supprimer section Troubleshooting/bugs courants
|
||||
- [x] Simplifier stacks tierces (gstack, ruflo, ctx7, GSD) — juste description + lien
|
||||
- [x] Ajouter section skills personnels (skills-perso)
|
||||
- [x] Ajouter section système d'autogestion (plugin-advisor, tokens, synergies)
|
||||
- [x] Nettoyer section Updating (retirer instructions manuelles par outil)
|
||||
- [x] Nettoyer section Maintenance (retirer doublon updating)
|
||||
- [x] Mettre à jour table Plugins reference (ctx7 row, ruflo OFF)
|
||||
- [x] Corriger lien USAGE.md dans l'intro (retirer mention cas/erreurs)
|
||||
|
||||
## USAGE.md cleanup
|
||||
- [x] Supprimer tous les "Cas de figure — corrections vX.X.X validées"
|
||||
- [x] Supprimer table "Erreurs fréquentes"
|
||||
- [x] Corriger `/readme` → `/doc` dans bonnes pratiques
|
||||
- [x] Supprimer séparateurs orphelins
|
||||
|
||||
## Skill /doc
|
||||
- [x] Mettre à jour doc-syncer.md pour gérer ajouts/suppressions de features
|
||||
- [x] Mettre à jour SKILL.md description pour mentionner feature delta
|
||||
Loading…
Reference in New Issue
Block a user