Skip to content

v1.1.0 — effort-aware skills, hardened settings, Windows support

Choose a tag to compare

@onurpolat05 onurpolat05 released this 30 Apr 11:50
· 9 commits to main since this release
3a0e259

Added

  • Windows compatibility: new .gitattributes forces *.sh / *.sh.template files to LF line endings on all platforms — closes the bad interpreter: bash\r failure that broke all 7 hooks under Windows' default core.autocrlf=true. New "Windows Setup" section in README (en/tr/de) covers Git for Windows + jq prerequisites; templates/hooks/README-hooks.md documents the bash/jq requirements and WSL2 alternative. ALBA now works on Windows native Claude Code (via Git Bash routing) without WSL.
  • effort frontmatter on 8 of 9 built-in skills: /start and /status → low; /end, /extend, /reflect, /setup, /create-skill → medium; /weekly-review → high. Pro/Max users on Opus 4.6 / Sonnet 4.6 default to high effort since CC v2.1.117 — explicit per-skill effort cuts ~3-5x token cost on lightweight skills. (/research deliberately left without static effort so the user's /effort slider applies.)
  • Two-layer security model for dangerous-command protection:
    • Layer 1 (CC native): permissions.deny and permissions.ask blocks in settings.json — picks up CC v2.1.113's wrapper-match (catches env FOO=bar rm, sudo rm, find -delete automatically) and v2.1.121's permission-prompt skip for skill/agent/command writes.
    • Layer 2 (bash-validator.sh): semantic intent detection for catastrophic patterns (fork bombs, pipe-to-shell, SQL drops, etc.).
  • New post-compact.sh hook (PostCompact event, CC v2.1.76+) — reminds Claude to re-load dashboard.md / todo.md / today's daily log after a compaction.
  • error-logger.sh extended to also fire on PostToolUseFailure (Edit/Write/MCP failures, not just Bash exit codes), with duration_ms capture (CC v2.1.119+) and tool_name field for cross-tool error pattern detection.
  • Agent template hardening: templates/agents/planner.md is now read-only by default (maxTurns: 20, disallowedTools: [Bash, Edit, Write]); templates/agents/researcher.md gets maxTurns: 30 and an initialPrompt that asks the user for topic + depth.
  • templates/hooks/README-hooks.md documents the two-layer security model and the role of each hook.
  • MEMORY.md 25KB / 200-line cap awareness in /end skill and memory-system.md (CC v2.1.83 limit). ALBA's own memory/ is unaffected — narrative content goes to ALBA, one-line tactical facts to CC auto-memory.

Changed

  • settings.json shape (5 examples + /setup Phase 2d):
    • Added permissions block: deny for Bash(sudo:*), Read(.env), Write(.env), AWS / SSH credentials; ask for git push, npm publish, env-file writes.
    • Added env: { CLAUDE_CODE_SUBPROCESS_ENV_SCRUB: "1" } (CC v2.1.83+) — strips Anthropic / cloud credentials from subprocesses.
    • Hook entries now use the modern {matcher, hooks: [{type, command, timeout}]} shape with explicit timeout values.
  • bash-validator.sh: catastrophic-pattern regexes now use [[:space:]]+ instead of literal spaces — closes a tab-character bypass. Existing pattern coverage preserved (rm /, mkfs, dd if=, fork bomb, chmod 777 /, DROP DATABASE/TABLE, curl|bash, eval $(, sudo rm -rf, etc.).
  • .claude/docs/loop-integration.md rewritten — covers dynamic (self-paced) mode, Esc-cancel (CC v2.1.113), Anthropic-Console /schedule for persistent recurring tasks.
  • README CC version badge: v2.1.71+ → v2.1.83+ (3 languages: en, tr, de).
  • README "Requirements" line: v2.1.50+ → v2.1.83+ (3 languages).
  • pre-compact.sh template: comment header documents the v2.1.105 block-decision option (exit 2 or {"decision":"block"} halts compaction).

Security

  • CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 now set in all example settings.json files (CC v2.1.83+).
  • bash-validator.sh [[:space:]]+ POSIX class closes tab-character pattern bypass (e.g., rm\t-rf\t/ was previously not matched by literal-space patterns).

Compatibility

  • Minimum Claude Code: v2.1.83 (was v2.1.71). Tested behavior reflects v2.1.123.
  • No breaking changes to memory layout, CLAUDE.md template, or /setup flow — existing v1.0.x repos can update by copying new templates over.