Skip to content

Bug: fw vendor copies .sh files without execute permissions (1.3.0) #12

Description

@DimitriGeelen

Context

  • Framework version: 1.3.0
  • Project: 010-termlink (shared-tooling mode)
  • Reported: 2026-03-25T17:38:45Z

Description

fw vendor (called by fw init --force) copies all .sh files from the Cellar into .agentic-framework/ without preserving the +x permission bit. Found 51 non-executable .sh scripts after upgrading from 1.2.6 to 1.3.0. This breaks all hooks that reference vendored scripts (e.g. loop-detect.sh, check-project-boundary.sh, and all lib/.sh files). Workaround: find .agentic-framework -name '.sh' -exec chmod +x {} +

fw doctor output

�[1mfw doctor�[0m - Framework Health Check

  �[0;32mOK�[0m  Framework installation
  �[0;32mOK�[0m  .framework.yaml found
  �[0;32mOK�[0m  Task directories
  �[0;32mOK�[0m  Context directory
  �[0;32mOK�[0m  Git commit-msg hook
  �[0;32mOK�[0m  Git pre-push hook
  �[0;32mOK�[0m  Hook path validation: 13 hooks, all portable
  �[0;32mOK�[0m  All agent scripts executable
  �[0;32mOK�[0m  Plugin task-awareness
  �[0;36mSKIP�[0m  Test infrastructure (consumer project — tests live in framework repo)
  �[0;36mSKIP�[0m  ShellCheck linter (consumer project)
  �[0;32mOK�[0m  No orphaned MCP processes
  �[1;33mWARN�[0m  Hook config: Expected hook check-project-boundary.sh (PreToolUse) not found
  �[0;32mOK�[0m  TermLink (termlink 0.1.0)
  �[1;33mWARN�[0m  Node.js not found (TS hooks will use Python fallback)
  �[0;31mFAIL�[0m  Enforcement baseline CHANGED — settings.json hooks differ from baseline
         Run 'fw enforcement baseline' to update after review

�[0;31m1 failure(s), 2 warning(s)�[0m
fw doctor failed

Reported via fw upstream report from field installation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions