Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/drift-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
check-drift:
name: Check skill/agent drift
name: Check skill/agent/hooks drift
runs-on: ubuntu-latest
timeout-minutes: 5

Expand Down
25 changes: 24 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile for Scenarios Directory Pattern Tools
# Provides easy access to production-ready scenario tools

.PHONY: help analyze-codebase scenarios-help list-scenarios docs-serve docs-build docs-deploy
.PHONY: help analyze-codebase scenarios-help list-scenarios docs-serve docs-build docs-deploy check-drift verify-hooks-symlink

# Default target - show help
help:
Expand Down Expand Up @@ -158,3 +158,26 @@ docs-deploy:
@echo "🚀 Deploying documentation to GitHub Pages..."
@mkdocs gh-deploy --force
@echo "✅ Documentation deployed successfully"

# Drift Detection
# ===============

# Run drift detection for skills, agents, and hooks
check-drift:
@python scripts/check_drift.py

# Verify hooks symlink is intact
verify-hooks-symlink:
@if [ -L "amplifier-bundle/tools/amplihack/hooks" ]; then \
target=$$(readlink amplifier-bundle/tools/amplihack/hooks); \
if [ "$$target" = "../../../.claude/tools/amplihack/hooks" ]; then \
echo "OK: hooks symlink is correct"; \
else \
echo "ERROR: hooks symlink points to $$target (expected ../../../.claude/tools/amplihack/hooks)"; \
exit 1; \
fi; \
else \
echo "ERROR: amplifier-bundle/tools/amplihack/hooks is not a symlink"; \
echo "Fix: rm -rf amplifier-bundle/tools/amplihack/hooks && ln -s ../../../.claude/tools/amplihack/hooks amplifier-bundle/tools/amplihack/hooks"; \
exit 1; \
fi
1 change: 1 addition & 0 deletions amplifier-bundle/tools/amplihack/hooks
254 changes: 0 additions & 254 deletions amplifier-bundle/tools/amplihack/hooks/README.md

This file was deleted.

Loading