Skip to content

[Bug]: git hooks are not being triggered. ((possible) FIX mentioned in "Additional Context") #2702

@user4302

Description

@user4302

Bug Description

NOTE: i am using zoo code, not roo code, roo code is being moved to zoo code

i try to auto commit but it doesnt, saying The after_tasks git hook is disabled in configuration, so no auto-commit occurred, but my hooks are all enabled

my .specify\extensions\git\git-config.yml :

# Git Branching Workflow Extension Configuration
# Copied to .specify/extensions/git/git-config.yml on install

# Branch numbering strategy: "sequential" (001, 002, ...) or "timestamp" (YYYYMMDD-HHMMSS)
branch_numbering: sequential

# Commit message used by `git commit` during repository initialization
init_commit_message: "[Spec Kit] Initial commit"

# Auto-commit before/after core commands.
# Set "default" to enable for all commands, then override per-command.
# Each key can be true/false. Message is customizable per-command.
auto_commit:
  default: true
  before_clarify:
    enabled: true
    message: "[Spec Kit] Save progress before clarification"
  before_plan:
    enabled: true
    message: "[Spec Kit] Save progress before planning"
  before_tasks:
    enabled: true
    message: "[Spec Kit] Save progress before task generation"
  before_implement:
    enabled: true
    message: "[Spec Kit] Save progress before implementation"
  before_checklist:
    enabled: true
    message: "[Spec Kit] Save progress before checklist"
  before_analyze:
    enabled: true
    message: "[Spec Kit] Save progress before analysis"
  before_taskstoissues:
    enabled: true
    message: "[Spec Kit] Save progress before issue sync"
  after_constitution:
    enabled: true
    message: "[Spec Kit] Add project constitution"
  after_specify:
    enabled: true
    message: "[Spec Kit] Add specification"
  after_clarify:
    enabled: true
    message: "[Spec Kit] Clarify specification"
  after_plan:
    enabled: true
    message: "[Spec Kit] Add implementation plan"
  after_tasks:
    enabled: true
    message: "[Spec Kit] Add tasks"
  after_implement:
    enabled: true
    message: "[Spec Kit] Implementation progress"
  after_checklist:
    enabled: true
    message: "[Spec Kit] Add checklist"
  after_analyze:
    enabled: true
    message: "[Spec Kit] Add analysis report"
  after_taskstoissues:
    enabled: true
    message: "[Spec Kit] Sync tasks to issues"

Steps to Reproduce

  1. Run command: /speckit.git.commit

Expected Behavior

changes to be committed

Actual Behavior

The after_tasks git hook is disabled in configuration, so no auto-commit occurred. Ready for implementation via /speckit.implement or manual task execution.

Specify CLI Version

0.8.14.dev0

AI Agent

Roo Code

Operating System

Windows 11

Python Version

3.14.0

Error Logs

The after_tasks git hook is disabled in configuration, so no auto-commit occurred. Ready for implementation via /speckit.implement or manual task execution.

Additional Context

Image Image

FIX:

/speckit.git.commit @.specify/extensions/git/git-config.yml I have updated the configuration file. Read the attached live file to confirm that `after_tasks.enabled` is `true`, and then execute the commit.
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions