docs: add hook points documentation and config template

This commit is contained in:
2026-04-04 08:37:30 +02:00
parent 008315b0c4
commit 92b56e714b
2 changed files with 111 additions and 0 deletions

View File

@@ -30,3 +30,26 @@ memory:
progress:
enabled: true
file: .archeflow/progress.md
# Hooks — commands to run at orchestration lifecycle events.
# Uncomment and customize as needed.
#
# hooks:
# run-start:
# command: "echo 'ArcheFlow run starting'"
# fail_action: warn # warn | abort
# phase-complete:
# command: "./scripts/on-phase-complete.sh"
# fail_action: warn
# agent-complete:
# command: "./scripts/on-agent-complete.sh"
# fail_action: warn
# pre-merge:
# command: "./scripts/pre-merge-checks.sh"
# fail_action: abort # abort recommended — blocks bad merges
# post-merge:
# command: "./scripts/post-merge-notify.sh"
# fail_action: warn
# run-complete:
# command: "./scripts/on-run-complete.sh"
# fail_action: warn