소스 정보
- 저장소
- catlog22/maestro-flow
- 최근 소스 활동
- 2026년 8월 31일 06:47
- 감지된 SKILL.md 언어
- 영어
- 스타
- 541
- 포크
- 66
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/catlog22/maestro-flow --skill maestro-update명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | maestro-update |
| disable-model-invocation | true |
| description | Detect version, preview changes, apply workflow upgrades |
| argument-hint | [--dry-run] [--force] [--setup-only] |
| allowed-tools | ["Bash","Edit","Glob","Grep","Read","Write","request_user_input"] |
| session-mode | none |
| version | 0.5.83 |
Flags:
--dry-run -- Preview migration plan without executing--force -- Skip confirmation prompts (intended for CI/automated contexts). Migration diff is still displayed even with --force to maintain audit visibility.--setup-only -- Skip schema migration, run only the setup for current versionVersion source: .workflow/state.json → version field
Workflow docs: ~/.maestro/workflows/updates/
update-v{TO}-setup.md — post-migration setup for version {TO}Schema registry: maestro update --migrate — handles all intermediate version bumps automatically
Output boundary: ALL file writes MUST target .workflow/state.json (version bump), .workflow/state.json.backup-* (backup), and .workflow/ config files touched by version-specific setup. NEVER modify source code or src/migrations/ files.
GATE 1: Detect → Check
.workflow/state.json.GATE 2: Check → Execute
--force).--dry-run short-circuit: execute GATE 1 (version detection) + dry-run migration check, display preview, EXIT before GATE 2 confirmation and GATE 3 execution.
GATE 3: Execute → Summary
.workflow/state.json.backup-v{current}-{timestamp}.1. Read .workflow/state.json → extract version (default "1.0" if missing)
2. Display:
=== Maestro Update ===
Current version: v{version}
IF --setup-only:
→ Glob: ~/.maestro/workflows/updates/update-v{version}-setup.md
→ IF exists: follow that document completely, then EXIT
→ IF not exists: display "No setup script for v{version}" → EXIT
1a. Check for active worktrees: read worktrees.json. If active entries exist, warn: 'Active worktrees detected ({N}). Schema migration may cause merge incompatibility. Consider merging active worktrees first.' (W003)
1. Run: maestro update --migrate "$(pwd)" --dry-run --json
2. Parse JSON output
3. IF status = "up-to-date":
Display "Already up to date (v{version})"
→ Glob: ~/.maestro/workflows/updates/update-v{version}-setup.md
→ IF exists: request_user_input "Run setup for v{version}?" → load and follow
→ EXIT
4. Display target:
Update available: v{current} → v{target}
Schema migrations: {N} step(s) (handled automatically)
IF --dry-run → display info and EXIT.
1. Display migration diff (always — even with --force):
Show schema changes that will be applied.
2. Confirm (unless --force):
request_user_input: "Upgrade v{current} → v{target}?"
Options: [执行 / 取消]
3. Create backup:
Bash: cp .workflow/state.json .workflow/state.json.backup-v{current}-{timestamp}
4. Run schema migration (handles all intermediate steps automatically):
Bash: maestro update --migrate "$(pwd)" --json
Parse result, display changes.
5. IF failed → display backup restore command → EXIT
6. Load version-specific setup:
Read: ~/.maestro/workflows/updates/update-v{target}-setup.md
IF exists → follow completely (hooks, deps, knowledge system config)
7. Display: "v{current} → v{target}: done"
=== Update Complete ===
Version: v{current} → v{target}
Backup: .workflow/state.json.backup-v{current}-{timestamp}
Next steps:
/maestro -- Continue workflow
<error_codes>
| Code | Severity | Condition | Recovery |
|---|---|---|---|
| E001 | error | .workflow/state.json not found or unreadable | Run /maestro-init first |
| E002 | error | Schema migration failed (npx tsx returned error) | Display backup restore command: cp .workflow/state.json.backup-* .workflow/state.json |
| E003 | error | Version-specific setup doc failed to execute | Manual setup: read ~/.maestro/workflows/updates/update-v{target}-setup.md |
| W001 | warning | No version-specific setup doc found for target version | Proceed without setup; schema migration alone is sufficient |
| W002 | warning | --setup-only but no setup script exists for current version | Display message and exit |
| W003 | warning | Active worktrees detected during update | Consider merging worktrees before migration |
| </error_codes> |
<success_criteria>