agnes-the-ai-analyst/cli
Vojtech 0c9e172ce1
fix(init): chmod +x workspace hooks in OVERRIDE mode too (#359)
`agnes init` ran `_chmod_workspace_hooks(workspace)` only in DEFAULT
mode (inside `if not override_active:`). The OVERRIDE path — used for
Initial-Workspace-Template seed-repo flows where the admin's template
repo is cloned into the workspace — silently skipped chmod.

When the seed repo's git checkout didn't preserve the +x bit
(filemode=false, archive extractions, FUSE/NFS mounts), hooks like
`.claude/hooks/skill-nudge/nudge.sh` and
`.claude/hooks/prompt-history/log-prompt.sh` landed non-executable
and every SessionStart fired `Permission denied`. The chmod helper
itself already recurses (`rglob`) so the subdir-scoped hook layouts
were covered — the bug was the call site.

Moved the call out of the override gate to a common step before the
first pull. Both DEFAULT and OVERRIDE paths now chmod hooks before
the first SessionStart can fire.
2026-05-19 18:45:45 +02:00
..
commands fix(init): chmod +x workspace hooks in OVERRIDE mode too (#359) 2026-05-19 18:45:45 +02:00
lib feat(stack): unified Browse + My Stack for Data Packages and Memory (v49 schema) (#333) 2026-05-19 15:00:15 +02:00
skills feat(stack): unified Browse + My Stack for Data Packages and Memory (v49 schema) (#333) 2026-05-19 15:00:15 +02:00
templates/commands Session capture queue, private session, and setup-prompt fixes (#242) 2026-05-11 13:31:16 +00:00
__init__.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
client.py release: 0.45.0 — easy-wins bundle (#84 #164 #177 #178 #203 #204) 2026-05-07 11:43:16 +02:00
config.py fix(devin-review): stale-token override + status sessions counter + lock comment 2026-05-04 21:26:30 +02:00
error_render.py address Devin Review on PR #264 2026-05-12 18:18:13 +02:00
main.py feat(stack): unified Browse + My Stack for Data Packages and Memory (v49 schema) (#333) 2026-05-19 15:00:15 +02:00
snapshot_meta.py chore(cli-rename): replace stale da verbs in active code paths 2026-05-04 21:10:43 +02:00
update_check.py chore: rename stale 'da' references to 'agnes' + CHANGELOG 2026-05-06 23:23:59 +02:00
v2_client.py feat(store): bundle export/import + agnes store update + agnes admin store push 2026-05-05 11:51:31 +02:00