Skip to content

Fix installer to properly update Claude hooks when needed #65

@carmandale

Description

@carmandale

Problem

The Agent OS CLI correctly detects when Claude hooks need updating but doesn't actually update them when running update commands.

Current Behavior

  • aos status shows: ⚠️ Claude hooks need update
  • aos update says: ✅ Agent OS is already up to date!
  • aos init (option 1) should fix project issues but may not be working

Expected Behavior

  • When hooks need updating, the update command should fix them
  • Or the init command should properly update hooks
  • Clear feedback about what was updated

Steps to Reproduce

  1. Run aos status - shows hooks need update
  2. Run aos update - says already up to date
  3. Run aos status again - still shows hooks need update

Impact

Users cannot easily update their Claude hooks when the system detects they're out of date, leading to potential workflow issues.

Suggested Solution

  • Enhance the update logic to include hook updates
  • Improve the init command to properly handle all project setup issues
  • Add specific hook update functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions