Skip to main content

appmod-hooks

Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules.

소스 정보

저장소
microsoft/github-copilot-modernization
최근 소스 활동
2026년 7월 17일 03:11
감지된 SKILL.md 언어
영어
스타
49
포크
14

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
8 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
appmod-hooks
description
Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules.
# appmod-hooks Lifecycle hooks that fire at defined points during coordinator execution. Each hook point triggers registered actions in order. ## Hook Points | Point | When | Coordinator context | |---|---|---| | `before_all` | After DAG is generated, before first task dispatch | Full DAG available, no tasks started | | `before_task` | Before dispatching each worker | Task ID and role known, profile read for Progress | | `after_task` | After worker returns and verify passes | Task artifact available, status decided. If all tasks in the current phase are now ✅, also execute phase-completion actions (git commit, commit-pin, phase counter increment) | | `after_all` | After completion criteria met (§3.7) | All tasks resolved | ## Registered Actions See `references/actions.yml` for the action registry. Actions use dotted namespace: `appmod.<domain>.<verb>`. ## Execution Rules 1. Actions within a hook point execute **in order** (top to bottom in the registry) 2. An action that fails does NOT block subsequent actions — log the error and continue, unless the action explicitly declares itself a quality gate 3. `optional: false` actions MUST execute; `optional: true` actions execute only if their `condition` is met 4. The coordinator executes hook actions **itself** (shell commands for git, file writes for profile) — hooks are NOT delegated to workers 5. A quality-gate action failure blocks dependent dispatch: keep the task pending or create a remediation task, then re-run the hook after the artifact is updated
GitHub에서 보기