cellpycore 0.2.6__tar.gz → 0.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cellpycore-0.2.7/.cursor/rules/issueflow-rules.mdc +8 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/skills/caveman/SKILL.md +1 -1
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/skills/grill-me/SKILL.md +2 -2
- cellpycore-0.2.7/.cursor/skills/iflow/SKILL.md +93 -0
- {cellpycore-0.2.6/.cursor/skills/iflow-start → cellpycore-0.2.7/.cursor/skills/iflow-build}/SKILL.md +40 -26
- cellpycore-0.2.7/.cursor/skills/iflow-cleanup/SKILL.md +104 -0
- cellpycore-0.2.6/.cursor/skills/iflow-archive/SKILL.md → cellpycore-0.2.7/.cursor/skills/iflow-cleanup/archive.md +3 -32
- cellpycore-0.2.7/.cursor/skills/iflow-cleanup/classify.md +11 -0
- cellpycore-0.2.7/.cursor/skills/iflow-cleanup/github.md +30 -0
- cellpycore-0.2.7/.cursor/skills/iflow-cleanup/prs.md +60 -0
- cellpycore-0.2.7/.cursor/skills/iflow-cleanup/workspace.md +9 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/SKILL.md +124 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/changelog.md +82 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/ci.md +60 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/merge.md +21 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/ops.md +37 -0
- cellpycore-0.2.7/.cursor/skills/iflow-close/sync.md +8 -0
- cellpycore-0.2.6/.cursor/skills/iflow-version-bump/SKILL.md → cellpycore-0.2.7/.cursor/skills/iflow-close/version.md +14 -25
- cellpycore-0.2.7/.cursor/skills/iflow-issue/SKILL.md +57 -0
- cellpycore-0.2.7/.cursor/skills/iflow-issue/epic.md +144 -0
- cellpycore-0.2.7/.cursor/skills/iflow-issue/fix.md +75 -0
- cellpycore-0.2.7/.cursor/skills/iflow-issue/new.md +67 -0
- cellpycore-0.2.7/.cursor/skills/iflow-issue/review.md +83 -0
- cellpycore-0.2.7/.cursor/skills/iflow-issue/split.md +78 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/skills/iflow-pause/SKILL.md +4 -21
- cellpycore-0.2.7/.cursor/skills/iflow-pick/SKILL.md +137 -0
- cellpycore-0.2.6/.cursor/skills/iflow-init/SKILL.md → cellpycore-0.2.7/.cursor/skills/iflow-pick/capture.md +3 -53
- cellpycore-0.2.6/.cursor/skills/iflow-comments/SKILL.md → cellpycore-0.2.7/.cursor/skills/iflow-pick/comments.md +4 -27
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/skills/iflow-plan/SKILL.md +17 -24
- cellpycore-0.2.7/.cursor/skills/iflow-run/SKILL.md +58 -0
- cellpycore-0.2.7/.cursor/skills/iflow-run/auto.md +164 -0
- cellpycore-0.2.7/.cursor/skills/iflow-run/cycle.md +132 -0
- cellpycore-0.2.7/.cursor/skills/iflow-run/drive.md +173 -0
- cellpycore-0.2.7/.cursor/skills/iflow-run/yolo.md +36 -0
- cellpycore-0.2.7/.cursor/skills/iflow-setup/SKILL.md +104 -0
- cellpycore-0.2.7/.cursor/skills/iflow-setup/harness.md +90 -0
- cellpycore-0.2.7/.cursor/skills/iflow-status/SKILL.md +91 -0
- cellpycore-0.2.7/.cursor/skills/iflow-status/doctor.md +71 -0
- cellpycore-0.2.7/.cursor/skills/iflow-status/git.md +32 -0
- cellpycore-0.2.6/.cursor/skills/iflow-graphify/SKILL.md → cellpycore-0.2.7/.cursor/skills/iflow-status/graph.md +5 -32
- cellpycore-0.2.7/.issueflows/01-current-issues/issue359_original.md +25 -0
- cellpycore-0.2.7/.issueflows/01-current-issues/issue359_plan.md +189 -0
- cellpycore-0.2.7/.issueflows/01-current-issues/issue359_status.md +29 -0
- cellpycore-0.2.7/.issueflows/03-solved-issues/issue151_original.md +25 -0
- cellpycore-0.2.7/.issueflows/03-solved-issues/issue151_status.md +18 -0
- cellpycore-0.2.7/.issueflows/04-designs-and-guides/cycle-renumbering.md +52 -0
- cellpycore-0.2.7/.issueflows/04-designs-and-guides/essential-tests.md +70 -0
- cellpycore-0.2.7/.issueflows/04-designs-and-guides/test-registry.md +21 -0
- cellpycore-0.2.7/.issueflows/agent/skill-stamps.json +18 -0
- cellpycore-0.2.7/AGENTS.md +136 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/HISTORY.md +12 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/PKG-INFO +2 -2
- {cellpycore-0.2.6 → cellpycore-0.2.7}/README.md +1 -1
- cellpycore-0.2.7/cellpy-icon-bw.svg +1 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/pyproject.toml +1 -1
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/__init__.py +11 -3
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/config.py +23 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/meta_mapping.py +3 -2
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/metadata/models.py +6 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/summarizers.py +232 -16
- {cellpycore-0.2.6 → cellpycore-0.2.7}/uv.lock +1 -1
- cellpycore-0.2.6/.cursor/rules/issueflow-rules.mdc +0 -275
- cellpycore-0.2.6/.cursor/skills/iflow/SKILL.md +0 -98
- cellpycore-0.2.6/.cursor/skills/iflow-cleanup/SKILL.md +0 -83
- cellpycore-0.2.6/.cursor/skills/iflow-close/SKILL.md +0 -114
- cellpycore-0.2.6/.cursor/skills/iflow-cycle/SKILL.md +0 -131
- cellpycore-0.2.6/.cursor/skills/iflow-epic/SKILL.md +0 -137
- cellpycore-0.2.6/.cursor/skills/iflow-fix/SKILL.md +0 -98
- cellpycore-0.2.6/.cursor/skills/iflow-history-update/SKILL.md +0 -91
- cellpycore-0.2.6/.cursor/skills/iflow-pick/SKILL.md +0 -100
- cellpycore-0.2.6/.cursor/skills/iflow-status/SKILL.md +0 -89
- cellpycore-0.2.6/.cursor/skills/iflow-yolo/SKILL.md +0 -85
- cellpycore-0.2.6/AGENTS.md +0 -333
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.aliases +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/rules/cellpy-core-migration.mdc +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/rules/graphify.mdc +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/rules/kiss.mdc +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.cursor/rules/this-project.mdc +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.gitattributes +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.gitignore +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/00-tools/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/00-tools/README.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/01-current-issues/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/02-partly-solved-issues/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue100_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue100_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue100_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue10_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue10_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue10_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue110_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue110_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue110_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue112_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue112_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue112_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue114_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue114_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue114_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue115_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue115_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue115_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue116_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue116_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue116_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue117_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue117_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue117_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue118_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue118_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue118_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue121_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue121_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue121_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue12_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue12_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue12_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue136_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue136_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue136_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue138_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue138_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue138_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue139_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue139_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue139_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue13_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue13_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue13_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue142_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue142_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue142_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue147_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue147_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue147_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue148_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue148_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue148_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue21_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue21_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue21_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue22_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue22_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue22_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue23_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue23_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue23_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue24_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue24_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue29_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue29_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue29_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue30_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue30_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue30_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue32_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue32_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue32_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue34_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue34_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue36_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue36_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue39_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue39_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue39_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue40_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue40_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue40_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue41_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue41_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue41_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue42_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue42_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue42_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue43_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue43_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue43_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue44_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue44_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue45_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue45_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue45_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue50_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue50_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue50_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue54_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue54_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue54_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue55_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue55_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue55_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue56_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue56_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue56_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue62_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue62_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue62_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue64_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue64_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue64_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue66_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue66_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue66_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue67_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue67_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue67_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue68_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue68_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue68_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue69_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue69_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue69_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue70_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue70_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue70_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue72_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue72_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue77_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue77_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue77_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue82_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue82_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue84_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue84_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue84_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue86_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue86_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue86_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue91_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue91_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue91_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue95_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue95_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue95_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue96_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue96_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue96_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue97_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue97_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue97_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue98_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue98_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue98_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue99_original.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue99_plan.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/03-solved-issues/issue99_status.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/bdf-io-placement.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/cellpy-core-integration-into-cellpy.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/cellpy-core-integration-roadmap.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/cellpy-core-migration.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/code-review-2026-07.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/column-headers-review.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/legacy-bridge-test-id.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/legacy-raw-energy-mapping.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/metadata-scaffolding.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/nom-cap-naming.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/rawcols-dtype-map.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/release-procedure.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/selector-dead-code-deferral.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/step-c-rate-split.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/step-table-polars-migration.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/summary-extractors.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/test-data-and-fixtures.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/test-metadata-and-merging.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/this-project.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/04-designs-and-guides/zensical-docs.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/05-epics/.gitkeep +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.issueflows/config.toml +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.pre-commit-config.yaml +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.python-version +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.readthedocs.yaml +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/.vscode/settings.json +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/LICENSE +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/ROADMAP.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/SCRATCHPAD.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/.graphify_labels.json +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/.graphify_root +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/GRAPH_REPORT.md +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/graph.html +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/graph.json +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/graphify-out/manifest.json +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/cell_core.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/curves.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/exceptions.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/extractors.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/__init__.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/headers.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/limits.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/mapping.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/meta.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/mock_core.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/legacy/selectors.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/merge.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/metadata/__init__.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/metadata/io.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/py.typed +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/settings_base.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/testing/__init__.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/testing/mock_data.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/timestamps.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/units/__init__.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/units/converters.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/src/cellpycore/units/spec.py +0 -0
- {cellpycore-0.2.6 → cellpycore-0.2.7}/zensical.toml +0 -0
|
@@ -6,7 +6,7 @@ description: >-
|
|
|
6
6
|
caveman mode, token-greedy / terse answers, or says "be brief" / "stop
|
|
7
7
|
wasting tokens". Stays active across the session once on; off via "stop
|
|
8
8
|
caveman" / "normal mode".
|
|
9
|
-
issue-flow-version: 0.
|
|
9
|
+
issue-flow-version: 0.7.0
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Be token greedy - as a caveman
|
|
@@ -5,7 +5,7 @@ description: >-
|
|
|
5
5
|
the decision tree is resolved, then feed the conclusions into the issue plan.
|
|
6
6
|
Use when the user wants to stress-test a plan, asks to "grill me", or during
|
|
7
7
|
/iflow-plan when grilling is turned on. Off via "stop grilling" / "normal mode".
|
|
8
|
-
issue-flow-version: 0.
|
|
8
|
+
issue-flow-version: 0.7.0
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Grill me — relentless planning interview
|
|
@@ -54,4 +54,4 @@ project, set `grill_me_default = true` under `[issueflow]` in
|
|
|
54
54
|
|
|
55
55
|
- Grilling is a **planning** aid: it questions and aligns, it does not write code.
|
|
56
56
|
- Hand the agreed decisions to `/iflow-plan` so they land in `issue<N>_plan.md`;
|
|
57
|
-
implementation still goes through `/iflow-
|
|
57
|
+
implementation still goes through `/iflow-build`.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: iflow
|
|
3
|
+
description: >-
|
|
4
|
+
Smart dispatcher: detect where the focus issue stands and dispatch to
|
|
5
|
+
/iflow-pick <N> (capture), /iflow-plan, /iflow-build, or /iflow-close.
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
issue-flow-version: 0.7.0
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# issue-flow — iflow smart dispatcher (`/iflow`)
|
|
11
|
+
|
|
12
|
+
Run **the right next step**: detect state and route to `/iflow-pick <N>` (capture), `/iflow-plan`, `/iflow-build`, or `/iflow-close`, forwarding trailing args verbatim. Every other command is explicit-only; `/iflow` never dispatches to it.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
**Invoke:** type `iflow` in chat, or `/iflow` from the slash menu.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### MODEL & EXECUTION DIRECTIVE
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
**Profile: economy** — Prioritize speed and token economy over deep reasoning.
|
|
24
|
+
|
|
25
|
+
In Cursor: use **Auto** or a fast model before invoking this step.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Keep scope tight to what this step requires.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Resolve the project root first
|
|
35
|
+
|
|
36
|
+
Before any `git`, `gh`, or `.issueflows/` operation, settle `<project_root>` and `<owner/repo>`, stopping at the first unambiguous answer: explicit `root:<path>` / `repo:<name>` hints; `issue-flow agent resolve [--json]`; the one workspace repo on a `^\d+-` branch; the one `.issueflows/` scaffold in view; the `issueflow-workspace.toml` default (say you used it). Still ambiguous → **stop and ask**. Then use `git -C <project_root>` (or `issue-flow agent … -C <project_root>`) and pass `--repo <owner/repo>` to every `gh` call (`gh repo view` takes the repo positionally).
|
|
37
|
+
|
|
38
|
+
## Instructions
|
|
39
|
+
|
|
40
|
+
> **CLI fast path (optional).** If the `issue-flow` CLI is on `PATH`, run
|
|
41
|
+
> `issue-flow agent state --json` to resolve the focus issue, its lifecycle
|
|
42
|
+
> stage, the suggested `next_command`, and (when there is no focus)
|
|
43
|
+
> `epic_hint` / `epic_session` in one deterministic step (covers instructions 1–2), then
|
|
44
|
+
> dispatch — or stop for the epic gap. The CLI is optional: if it is not
|
|
45
|
+
> installed or it errors, fall back to the manual instructions below.
|
|
46
|
+
> (`issue-flow` is only present when the user installed it, e.g.
|
|
47
|
+
> `uv tool install issue-flow`.)
|
|
48
|
+
|
|
49
|
+
1. **Resolve the focus issue number `N`.**
|
|
50
|
+
- Prefer `issue-flow agent state --json` when the CLI is on `PATH` (fields `focus`, `next_command`, `epic_hint`, `epic_session`, `cli_version`, `skills_version`, `version_drift`).
|
|
51
|
+
- **Version drift.** If the payload reports `version_drift: true`, print one warning line before anything else — `skills stamped <skills_version>, CLI <cli_version> — run `issue-flow update`` — and keep going with the dispatch. Stale skill text is how a newer CLI ends up driven by old instructions; the warning is the fix, not a stop. Never run `issue-flow update` yourself from here.
|
|
52
|
+
- Manual fallback: `git branch --show-current`. If it matches `^(\d+)-.+`, the leading digits are the **authoritative** `N`.
|
|
53
|
+
- List `issue<n>_*` groups in `.issueflows/01-current-issues/`, and also check `.issueflows/02-partly-solved-issues/` and `.issueflows/03-solved-issues/` for archived groups matching `N`.
|
|
54
|
+
- Pick `N` by precedence:
|
|
55
|
+
1. **Branch-derived `N` wins**, regardless of whether a group for `N` exists in `01-current-issues/`. State **A** will apply when no `issue<N>_*` files are present yet. If `issue<N>_*` is archived under `02-partly-solved-issues/` or `03-solved-issues/`, warn the user that capture's archived-issue guard will ask for an explicit confirmation before re-opening.
|
|
56
|
+
2. No branch-derived `N`, exactly one group exists in `01-current-issues/` → use it.
|
|
57
|
+
3. No branch-derived `N`, no groups at all → **epic gap check** (step 1a), else state **A**.
|
|
58
|
+
4. No branch-derived `N`, multiple groups → **stop and ask**.
|
|
59
|
+
|
|
60
|
+
1a. **Epic gap (no focus)** — when step 1 finds no focus (`focus` is null / empty `01-current-issues/` and no `^\d+-.+` branch):
|
|
61
|
+
- Prefer `epic_hint` and `epic_session` from `issue-flow agent state --json` (lists epics with non-empty `next_candidates`). Fallback: scan `.issueflows/05-epics/epic*_plan.md` and run `issue-flow agent epic-status <N> --json` per plan. Read `.issueflows/01-current-issues/epic_session.md` if state omitted it (`epic:` / `mode: one-and-ask`; unknown mode → treat as missing).
|
|
62
|
+
- If the user's trailing text is already an explicit issue number `N`, then dispatch `/iflow-pick <N>` (capture) instead of stopping.
|
|
63
|
+
- **Session present** + that epic has `next_candidates`: **stop**. Ask: next `#<M>` (`<M>` = first `next_candidates` entry for the session epic) — **continue** / switch to cycle|auto|drive / **stop**. This turn writes nothing and creates no branch. Continue on a **later turn** follows `/iflow-pick` for `#<M>` (user said continue / `yes` / the number). Never silent-pick. `stop`/`abort` → `/iflow-issue epic stop`. cycle|auto|drive → name the handoff; do not run it until that confirm.
|
|
64
|
+
- Else if **any** `next_candidates` (no session): **stop**. Print epic + stage + candidate numbers/titles. Recommend **`/iflow-pick`**. Do **not** dispatch yet, even when there is only one candidate (never pick silently).
|
|
65
|
+
- If **no** epic candidates → continue to state **A** (`/iflow-pick`, which asks for a number).
|
|
66
|
+
|
|
67
|
+
2. **Detect state and choose the dispatch target** (first match wins):
|
|
68
|
+
|
|
69
|
+
- **A** — no `issue<N>_original.md` (or no focus issue, after the epic gap check) → dispatch to **`/iflow-pick <N>`** (capture only; with no `N` it asks). Reason: "no `*_original.md` yet".
|
|
70
|
+
- **B** — original exists, no `issue<N>_plan.md` → dispatch to **`/iflow-plan`**. Reason: "no plan file yet".
|
|
71
|
+
- **C** — plan exists, and status file is missing or its `- [x] Done` is unchecked → dispatch to **`/iflow-build`**. Reason: "plan is confirmed but status is not `- [x] Done`".
|
|
72
|
+
- **D** — status file contains `- [x] Done` (case-insensitive on `done`) → dispatch to **`/iflow-close`**. Reason: "status marks the issue `- [x] Done`".
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
3. **Announce and dispatch.** Print one line like `/iflow -> /iflow-plan (issue #N: no plan file yet)` and then follow the chosen command's playbook. Forward the user's trailing text verbatim.
|
|
76
|
+
|
|
77
|
+
4. **Respect downstream checkpoints.** Never suppress the downstream command's own prompts (plan confirmation, unrelated-changes prompt, etc.). `/iflow` adds no new confirmation layer of its own.
|
|
78
|
+
|
|
79
|
+
5. **Report.** Summarize: focus issue `N` and how it was resolved, which command was dispatched and why, the downstream output, and a one-line hint when an off-path command is the natural next step:
|
|
80
|
+
- state **D** + PR likely merged → "after the PR merges, run `/iflow-cleanup`"
|
|
81
|
+
- mid-stream context switch needed → "to park this work, run `/iflow-pause`"
|
|
82
|
+
- tiny fix that would benefit from a single-shot chain → "consider `/iflow-run yolo` next time"
|
|
83
|
+
- state **D** / between issues, and an active epic still has `next_candidates` → session present: "epic #<E> stage still has #<…> — run `/iflow`"; else "run `/iflow-pick` when ready"
|
|
84
|
+
- `graphify-out/GRAPH_REPORT.md` looks stale (large refactor, new modules) → "consider `/iflow-status graph` to refresh the graph"
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## Constraints
|
|
88
|
+
|
|
89
|
+
- Never auto-dispatch to any command other than the four above (pick-to-capture, plan, build, close).
|
|
90
|
+
- Epic gap (step 1a) without a session only **suggests** `/iflow-pick`; it never runs pick or silently picks a candidate. With a session it **asks** (one-and-ask) before the pick chain; it never silent-picks.
|
|
91
|
+
- If the focus issue cannot be resolved (multiple groups, branch ambiguous), stop and ask.
|
|
92
|
+
- Do not modify files beyond what the downstream command would normally modify. `/iflow` itself writes nothing — all file changes come from the dispatched command.
|
|
93
|
+
- Dispatch to at most one command per `/iflow` invocation.
|
{cellpycore-0.2.6/.cursor/skills/iflow-start → cellpycore-0.2.7/.cursor/skills/iflow-build}/SKILL.md
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: iflow-
|
|
2
|
+
name: iflow-build
|
|
3
3
|
description: >-
|
|
4
4
|
Implement the confirmed plan for the focus issue using the project's
|
|
5
5
|
documented conventions.
|
|
6
6
|
disable-model-invocation: true
|
|
7
|
-
issue-flow-version: 0.
|
|
7
|
+
issue-flow-version: 0.7.0
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
# issue-flow — issue
|
|
10
|
+
# issue-flow — issue build (`/iflow-build`)
|
|
11
11
|
|
|
12
12
|
Follow this skill to **begin implementation** from issue notes and project rules. Planning itself lives in `/iflow-plan`; this skill is implementation-only. Stay aligned with `.cursor/rules/issueflow-rules.mdc` when present.
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
**Invoke:** type `iflow
|
|
15
|
+
**Invoke:** type `iflow build` in chat, or `/iflow-build` from the slash menu (`iflow-build` also works).
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -31,26 +31,15 @@ Keep scope tight to what this step requires.
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
### Resolve project root
|
|
34
|
+
### Resolve the project root first
|
|
35
35
|
|
|
36
|
-
Before any `git`, `gh`, or `.issueflows/` path
|
|
36
|
+
Before any `git`, `gh`, or `.issueflows/` operation, settle `<project_root>` and `<owner/repo>`, stopping at the first unambiguous answer: explicit `root:<path>` / `repo:<name>` hints; `issue-flow agent resolve [--json]`; the one workspace repo on a `^\d+-` branch; the one `.issueflows/` scaffold in view; the `issueflow-workspace.toml` default (say you used it). Still ambiguous → **stop and ask**. Then use `git -C <project_root>` (or `issue-flow agent … -C <project_root>`) and pass `--repo <owner/repo>` to every `gh` call (`gh repo view` takes the repo positionally).
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
## Early PR tokens (command input)
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
4. **Single scaffold** — exactly one `.issueflows/` tree visible in the workspace → that root.
|
|
44
|
-
5. **Workspace default** — an `issueflow-workspace.toml` at the workspace root (created with `issue-flow workspace init`) may name a `default` member repo; use it when no scaffold matched above. Tell the user the default was used.
|
|
45
|
-
6. **Ambiguous** → **stop and ask**; never guess between sibling repos.
|
|
46
|
-
|
|
47
|
-
After resolution, treat the result as `<project_root>` and `<owner/repo>`:
|
|
48
|
-
|
|
49
|
-
- **Git:** `git -C <project_root> …` (or `issue-flow agent … -C <project_root>` for supported ops).
|
|
50
|
-
- **GitHub:** always `gh … --repo <owner/repo>` — never rely on `gh`'s implicit cwd default.
|
|
51
|
-
- **Paths:** all `.issueflows/…` paths are under `<project_root>`.
|
|
52
|
-
|
|
53
|
-
When `.issueflows/04-designs-and-guides/multi-repo-workspaces.md` exists, read it for layout and cross-repo guidance.
|
|
40
|
+
- **`early`** or **`pr`** → open a draft PR during this build after the first successful push (force on for this run).
|
|
41
|
+
- **`noearly`** → skip early PR for this run even when `[issueflow].early_pr` is true.
|
|
42
|
+
- Precedence: trailing token > baked `early_pr` (currently **False**) > default `false`.
|
|
54
43
|
|
|
55
44
|
## Instructions
|
|
56
45
|
|
|
@@ -63,7 +52,7 @@ When `.issueflows/04-designs-and-guides/multi-repo-workspaces.md` exists, read i
|
|
|
63
52
|
|
|
64
53
|
1. **Select the issue** — Read `.issueflows/01-current-issues/`. If there is no `*_original.md` (or multiple ambiguous groups), **stop** and ask which issue to use.
|
|
65
54
|
|
|
66
|
-
2. **Branch status preflight** (non-destructive) — Detect the default branch (prefer `gh repo view --json defaultBranchRef -q .defaultBranchRef.name`, else `git symbolic-ref --quiet --short refs/remotes/origin/HEAD`, else `main`). Run `git fetch --prune`. Report current branch, clean/dirty working tree, and ahead/behind counts vs `origin/<default>`. If on the default branch, propose creating an issue branch (`git switch -c <N>-<short-slug>`); ask before running. If the current branch matches `^(\d+)-.+` and files for that issue now live in `.issueflows/02-partly-solved-issues/` or `.issueflows/03-solved-issues/`, warn the branch looks stale and ask whether to switch back before continuing. If the branch is neither default nor an issue-style branch, warn and ask whether to continue. Never delete a branch from `/iflow-
|
|
55
|
+
2. **Branch status preflight** (non-destructive) — Detect the default branch (prefer `gh repo view --json defaultBranchRef -q .defaultBranchRef.name`, else `git symbolic-ref --quiet --short refs/remotes/origin/HEAD`, else `main`). Run `git fetch --prune`. Report current branch, clean/dirty working tree, and ahead/behind counts vs `origin/<default>`. If on the default branch, propose creating an issue branch (`git switch -c <N>-<short-slug>`); ask before running. If the current branch matches `^(\d+)-.+` and files for that issue now live in `.issueflows/02-partly-solved-issues/` or `.issueflows/03-solved-issues/`, warn the branch looks stale and ask whether to switch back before continuing. If the branch is neither default nor an issue-style branch, warn and ask whether to continue. Never delete a branch from `/iflow-build`.
|
|
67
56
|
|
|
68
57
|
3. **Sweep stale current issues** (auto-safe) — Group files in `.issueflows/01-current-issues/` by `issueNN_` prefix. For every group **other than the focus issue**, move the whole group to `.issueflows/03-solved-issues/` if any of its status files contains `- [x] Done` (case-insensitive on `done`), otherwise move it to `.issueflows/02-partly-solved-issues/`. Never move the focus issue's files. Report every move.
|
|
69
58
|
|
|
@@ -83,15 +72,40 @@ When `.issueflows/04-designs-and-guides/multi-repo-workspaces.md` exists, read i
|
|
|
83
72
|
- **Ruff (when present).** If the project uses ruff (`[tool.ruff]` in `pyproject.toml`, ruff in dev dependencies, or `.issueflows/04-designs-and-guides/python-quality-tools.md` exists), run auto-fix lint after substantive code changes — e.g. `uv run ruff check --fix …` then `uv run ruff format …` (match paths to what the project documents).
|
|
84
73
|
- **Toolbox** — Before writing a one-off helper script, check `.issueflows/00-tools/` (start with its `README.md` index) for an existing tool. If you build something reusable during this issue, save it into `.issueflows/00-tools/` and add a one-line entry to that README's index (name, what it does, when to use it) for the next agent.
|
|
85
74
|
- If `.issueflows/04-designs-and-guides/this-project.md` exists, read it for project-specific context before implementing; then skim relevant design docs under `.issueflows/04-designs-and-guides/`.
|
|
75
|
+
- **Knowledge graph (optional).** If `graphify-out/GRAPH_REPORT.md` exists, skim it before grepping — god-nodes and surprising connections often point at the files you'll touch. If structure changed materially since the last build, *suggest* `/iflow-status graph` (do not run it automatically). If `graphify-out/` is absent, ignore this bullet.
|
|
86
76
|
- As you iterate, re-read and keep `issue<N>_status.md` current — move items between **What's done** and **Remaining work**, leaving `- [ ] Done` unchecked until fully resolved.
|
|
87
77
|
|
|
88
|
-
8. **
|
|
78
|
+
8. **Early pull request (optional)** — After the **first successful push** of the issue branch (or when the branch already has a remote tip and no open PR), decide whether to open a PR now using the Early PR tokens above. When early PR is on:
|
|
79
|
+
- Require an issue-style branch matching `^\d+-.+` (never the default branch) with a remote tracking ref.
|
|
80
|
+
- Always pass `--repo <owner/repo>`. **List before create:** `gh pr list --repo <owner/repo> --head <branch> --state open --json number,url,title,isDraft`. If an open PR exists, note it and skip creating a second one.
|
|
81
|
+
- Otherwise create a **draft**: `gh pr create --draft --repo <owner/repo> …` with a WIP-friendly body and **`Refs #N`** (not `Closes #N` yet).
|
|
82
|
+
|
|
83
|
+
**Multi-line GitHub text (PowerShell-safe).** Bash `<<'EOF'` heredocs fail in Windows PowerShell (`Missing file specification after redirection operator`). Write the text to a file and pass that file:
|
|
84
|
+
|
|
85
|
+
- `gh issue create`, `gh issue edit`, and `gh pr create` take `--body-file <path>`.
|
|
86
|
+
- `git commit` takes `-F <path>`.
|
|
87
|
+
|
|
88
|
+
```powershell
|
|
89
|
+
@'
|
|
90
|
+
line one
|
|
91
|
+
|
|
92
|
+
line two
|
|
93
|
+
'@ | Set-Content -Encoding utf8 body.md
|
|
94
|
+
gh issue create --repo owner/repo --title "title" --body-file body.md
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Bash accepts the same `--body-file` / `-F` flags. Use that pattern for every multi-line body.
|
|
98
|
+
|
|
99
|
+
- Record `PR: <url> (#<n>, draft)` in `issue<N>_status.md`.
|
|
100
|
+
- Do **not** write `HISTORY.md` here — `/iflow-close` owns the changelog bullet (even while a draft PR exists).
|
|
101
|
+
|
|
102
|
+
9. **Hand off** — When the implementation is ready to ship: tell the user to run `/iflow-close` (optionally with `bump`/`patch`/`minor`/`major`). Parking work mid-stream goes through `/iflow-pause`.
|
|
89
103
|
|
|
90
|
-
|
|
104
|
+
10. **Reporting** — Summarize what changed, what remains, and where the issue docs live. Include any branch warnings from step 2, any group moves from step 3, whether an early PR was opened/reused, and whether the plan was followed or explicitly skipped.
|
|
91
105
|
|
|
92
106
|
## Constraints
|
|
93
107
|
|
|
94
108
|
- Do not invent issue text; treat `*_original.md` as a read-only source of requirements unless the user asks to edit it.
|
|
95
|
-
- The stale sweep in step 3 is the **only** automatic folder move `/iflow-
|
|
96
|
-
- Never delete or force-update git branches from `/iflow-
|
|
109
|
+
- The stale sweep in step 3 is the **only** automatic folder move `/iflow-build` performs, and it never touches the focus issue's own files.
|
|
110
|
+
- Never delete or force-update git branches from `/iflow-build`.
|
|
97
111
|
- Do not write or modify `issue<N>_plan.md` from here — changes to the plan go through `/iflow-plan`.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: iflow-cleanup
|
|
3
|
+
description: >-
|
|
4
|
+
Post-merge branch hygiene: switch to the default branch and delete landed
|
|
5
|
+
local branches (reachable via -d; squash-landed via -D behind its own
|
|
6
|
+
confirm). Optional GitHub remote audit (include github). Modes: all (workspace),
|
|
7
|
+
prs (refresh DIRTY PRs), archive (condense solved issues). Never --force.
|
|
8
|
+
disable-model-invocation: true
|
|
9
|
+
issue-flow-version: 0.7.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# issue-flow — cleanup (`/iflow-cleanup`)
|
|
13
|
+
|
|
14
|
+
Post-merge branch hygiene after a PR has landed.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
**Invoke:** type `iflow cleanup` in chat, or `/iflow-cleanup` from the slash menu (`iflow-cleanup` also works).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### MODEL & EXECUTION DIRECTIVE
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
**Profile: economy** — Prioritize speed and token economy over deep reasoning.
|
|
26
|
+
|
|
27
|
+
In Cursor: use **Auto** or a fast model before invoking this step.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Keep scope tight to what this step requires.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Resolve the project root first
|
|
37
|
+
|
|
38
|
+
Before any `git`, `gh`, or `.issueflows/` operation, settle `<project_root>` and `<owner/repo>`, stopping at the first unambiguous answer: explicit `root:<path>` / `repo:<name>` hints; `issue-flow agent resolve [--json]`; the one workspace repo on a `^\d+-` branch; the one `.issueflows/` scaffold in view; the `issueflow-workspace.toml` default (say you used it). Still ambiguous → **stop and ask**. Then use `git -C <project_root>` (or `issue-flow agent … -C <project_root>`) and pass `--repo <owner/repo>` to every `gh` call (`gh repo view` takes the repo positionally).
|
|
39
|
+
|
|
40
|
+
## Input
|
|
41
|
+
|
|
42
|
+
| Trailing text | Effect |
|
|
43
|
+
|---|---|
|
|
44
|
+
| nothing | Phase A: the current branch's PR plus every other local branch already landed on the default. |
|
|
45
|
+
| a branch name | Phase A targets that branch instead of the current one. |
|
|
46
|
+
| `include github` / `with github` / `github` | Also run Phase B, the remote audit (`github.md`). `no github` / `local only` skips it. |
|
|
47
|
+
| `self-update` / `bleeding edge` | Upgrade the tool after a successful pull. `skip self-update` / `no bleeding` skips it. |
|
|
48
|
+
| `ask a1` / `ask a2` | Force that phase's prompt even when its `cleanup_yes_*` knob is on. |
|
|
49
|
+
| `drive` / `landed` | Orchestrator token from `/iflow-run drive`: its earlier confirm already covered `-D` on landed branches, so A1/A2 run without re-asking. A2 narrows to `squash_landed`, plus `merged_pr_divergent` with no commit newer than the PR's `mergedAt`; never `unique_work` / `skipped`. A human never passes it. |
|
|
50
|
+
| `all` / `workspace` | Every scaffolded workspace member (step 4b, `workspace.md`). At most three confirms in total (A1, A2, Phase B). |
|
|
51
|
+
| `prs` | Refresh open PRs that went `DIRTY` after another merge: read `prs.md` instead of the steps below. |
|
|
52
|
+
| `archive` | Condense old solved issue groups: read `archive.md` instead of the steps below. |
|
|
53
|
+
|
|
54
|
+
**Ask rules.** Phase A1: ask yes/no first. Phase A2: a **separate** yes/no before any `git branch -D`. A1's yes never implies A2, and neither implies Phase B.
|
|
55
|
+
|
|
56
|
+
## Instructions
|
|
57
|
+
|
|
58
|
+
1. **Detect the default branch.** Prefer `gh repo view <owner/repo> --json defaultBranchRef -q .defaultBranchRef.name` (repo is **positional** on `gh repo view` — not `--repo`), else `git -C <project_root> symbolic-ref --quiet --short refs/remotes/origin/HEAD`, else `main`.
|
|
59
|
+
|
|
60
|
+
2. **Identify the target branch.** If the user named a branch after `/iflow-cleanup` (ignoring GitHub-audit / opt-out tokens), use it. Else use the current branch (`git branch --show-current`). If the current branch **is** the default, skip to step 7 (folder sweep only) for Phase A.
|
|
61
|
+
|
|
62
|
+
3. **Check PR / merge state.** `gh pr view <branch> --json state,mergedAt,mergeCommit,headRefName` (without `gh`: `git cherry origin/<default> <branch>`, all `-` means landed). Not merged → say so, suggest re-running after the merge, and **stop Phase A** (Phase B may still run). Merged → continue.
|
|
63
|
+
|
|
64
|
+
4. **Classify the local branches.** Prefer the CLI fast path; fall back to manual `git`/`gh` when it is missing.
|
|
65
|
+
- **CLI:** `issue-flow agent local-branches --json -C <project_root>` (add `--no-fetch` only if `git fetch --prune` just ran). Buckets: `reachable`, `squash_landed`, `merged_pr_divergent`, `unique_work`, `skipped`. Every entry carries a `tip` short SHA.
|
|
66
|
+
- **Manual fallback** (no CLI): read `classify.md` in this skill folder.
|
|
67
|
+
|
|
68
|
+
4b. **Workspace mode** (only with an `all` / `workspace` token): read `workspace.md` in this skill folder; it replaces steps 2–6 for every scaffolded workspace member.
|
|
69
|
+
|
|
70
|
+
5. **Consolidated confirm (Phase A1 — local)** — one yes/no prompt listing every action:
|
|
71
|
+
- `git switch <default>` (home only; skip if already on default)
|
|
72
|
+
- `git pull --ff-only` — if it fails, **stop** A1 steps that assume default is current (release tag, self-update) and recover via `default-sync` (see below).
|
|
73
|
+
- **Self-update (when enabled).** After a successful pull, on **home**: `issue-flow agent self-update --json -C <home>`. Report a skip or failure; never roll back branch deletes.
|
|
74
|
+
- `git fetch --prune`
|
|
75
|
+
- `issue-flow agent worktree-list --json`, then `issue-flow agent worktree-remove <path>` for each linked worktree on a **`reachable`** branch, **before** deleting the branch. Never remove a worktree whose branch is `unique_work`.
|
|
76
|
+
- `git branch -d <branch>` for each **`reachable`** branch, listed explicitly by name first. If `-d` still refuses, report that branch and move on.
|
|
77
|
+
- **Planned release.** When `/iflow-close` planned a tag or recorded a publish label (status file) and the tag or GitHub release is missing, create it **after** the pull: `gh release create "v<version>" --generate-notes`, or `git tag <planned>` + `git push origin <planned>` for tag-only projects. Never invent a release for an ordinary bump.
|
|
78
|
+
|
|
79
|
+
If `git pull --ff-only` fails on default (or home default is ahead of origin), run `issue-flow agent default-sync --json` (classify-only) and print ahead/behind, the unique commits, and its `action`: `even` / `ff_only` → retry the pull; `report_ahead` → show the commits, never silent-push; `tracking_pr` / `replay_tracking` → move the commits to a chore branch and open a small PR; `stop_product` → stop, the user decides. Never rebase default, force-push default, or push default to skip CI.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
6. **Force-delete confirm (Phase A2 — only when `squash_landed` or `merged_pr_divergent` is non-empty).** A **separate** yes/no; A1's yes never implies it. With `drive` / `landed`, the orchestrator's confirm replaces the prompt (narrowed scope; still print every `<name> <tip>`).
|
|
83
|
+
- Explain that a squash merge leaves no reachable tip, so these need `git branch -D`, which skips git's safety check.
|
|
84
|
+
- List `squash_landed` as `<name> <tip>` with the evidence, and `merged_pr_divergent` **separately** with tip, merged PR link, and unique-commit subjects for the user to eyeball.
|
|
85
|
+
- Print the recovery line: `git branch <name> <tip>` undoes a deletion.
|
|
86
|
+
- On yes, `worktree-remove` linked clean worktrees on these branches, then try `git branch -d <name>` and fall back to `-D` only when it refuses. Report each `<name> <tip>` and the flag used. On no, leave everything in place.
|
|
87
|
+
- **Never** include a `unique_work` or `skipped` branch, even when asked to "delete them all"; point at its unique commits instead.
|
|
88
|
+
|
|
89
|
+
7. **Optional folder sweep** (safe; no destructive git). In `.issueflows/01-current-issues/`, for each `issue<N>_*` group whose status file contains `- [x] Done` (case-insensitive on `done`), move the group to `.issueflows/03-solved-issues/`. Leave groups without a checked `Done` in place — routing them to `.issueflows/02-partly-solved-issues/` is `/iflow-pause`'s job.
|
|
90
|
+
|
|
91
|
+
8. **Epic stage gate (offer only).** If the merged issue is a `- Published: #<N>` child in an `epic<M>_plan.md` and `issue-flow agent epic-status <M> --json` shows its stage has no open issues left, **offer** a stage-summary comment on the anchor and `/iflow-issue epic <M> publish` for the next stage. Never do either automatically.
|
|
92
|
+
|
|
93
|
+
9. **Phase B — GitHub remote audit** (only when enabled per the Input rule): read `github.md` in this skill folder and follow it. It is read-only until its own confirm.
|
|
94
|
+
|
|
95
|
+
10. **Report.** Default branch, PR state, A1 commands and `-d` deletions, A2 `-D` deletions with tip SHAs, branches kept as unique work, folder sweep, epic offer, self-update result, and Phase B results when run. In workspace mode, report each member. Otherwise, when `issue-flow agent resolve --json` lists `sibling_roots`, remind the user that each repo needs its own cleanup; do not loop unless invoked with `all`. If other open PRs still show `DIRTY` / CONFLICTING (often `HISTORY.md`), **offer** `/iflow-cleanup prs` — do not auto-run it.
|
|
96
|
+
|
|
97
|
+
## Constraints
|
|
98
|
+
|
|
99
|
+
- Never `git push --force`; never rebase, force-push, or push the default branch; never delete the default branch.
|
|
100
|
+
- `git branch -D` only for `squash_landed` / `merged_pr_divergent`, only after the A2 confirm (or `cleanup_yes_a2`, or the `drive` / `landed` token), and only with tip SHAs reported. Never `-D` unique work, an unclassified branch, or the current branch. A `-d` refusal in A1 is reported, never a licence to force.
|
|
101
|
+
- `issue-flow workspace cleanup` classifies only: `--apply` only after the workspace A1 yes, `--apply --yes-delete-squash-landed` only after the A2 yes.
|
|
102
|
+
- Remote deletes and the findings issue need the Phase B confirm.
|
|
103
|
+
- Ambiguous state (detached HEAD, several remotes, missing tracking info) → report and stop.
|
|
104
|
+
- No PRs, no version bumps, no `HISTORY.md` edits here. The only version action is the release `/iflow-close` planned (step 5).
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Condense old solved issue groups into one dated summary file, then delete
|
|
5
|
-
the originals. Destructive, one consolidated confirm.
|
|
6
|
-
disable-model-invocation: true
|
|
7
|
-
issue-flow-version: 0.4.2a4
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# issue-flow — archive solved issues (`/iflow-archive`)
|
|
11
|
-
|
|
12
|
-
Follow this skill to **shrink the solved-issues archive**:
|
|
1
|
+
# Cleanup — archive solved issues (`/iflow-cleanup archive`)
|
|
2
|
+
|
|
3
|
+
Read this to **shrink the solved-issues archive**:
|
|
13
4
|
old `issue<N>_*` groups under `.issueflows/03-solved-issues/` are
|
|
14
5
|
summarised into one dated markdown file and the originals are deleted (they
|
|
15
6
|
stay recoverable through git history).
|
|
@@ -23,25 +14,6 @@ Do **not** use this to park or close an active issue — that is `/iflow-pause`
|
|
|
23
14
|
- **an explicit list** (e.g. `12 13 24`) — archive exactly those issues.
|
|
24
15
|
- **`all`** — archive every solved group.
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
**Invoke:** type `iflow archive` in chat, or `/iflow-archive` from the slash menu (`iflow-archive` also works).
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### MODEL & EXECUTION DIRECTIVE
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
**Profile: reasoning** — Prioritize deep thinking and careful trade-offs over speed or token economy.
|
|
36
|
-
|
|
37
|
-
In Cursor: switch to a thinking-capable model before invoking this step (not Auto-only).
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Keep scope tight to what this step requires.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
17
|
## Instructions
|
|
46
18
|
|
|
47
19
|
> **CLI fast path (optional).** If the `issue-flow` CLI is on `PATH`, the
|
|
@@ -85,7 +57,6 @@ Keep scope tight to what this step requires.
|
|
|
85
57
|
|
|
86
58
|
## Constraints
|
|
87
59
|
|
|
88
|
-
- **Off-path.** Never auto-dispatch from `/iflow`, `/iflow-start`, or `/iflow-close`. The user opts in explicitly.
|
|
89
60
|
- **Destructive, so gated.** Never delete anything before the consolidated confirm in step 3, and never delete files that were not summarised in step 4.
|
|
90
61
|
- Only `.issueflows/03-solved-issues/` is touched — never `01-current-issues/`, `02-partly-solved-issues/`, `00-tools/`, or `04-designs-and-guides/`.
|
|
91
62
|
- Requires a clean working tree; the deletion should land as its own commit so `git show <ref>:<path>` recovery always works.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Cleanup step 4 — classify local branches without the CLI
|
|
2
|
+
|
|
3
|
+
Per local branch (skipping the current branch and the default):
|
|
4
|
+
1. `git merge-base --is-ancestor <branch> origin/<default>` — exit 0 → **`reachable`**.
|
|
5
|
+
2. Else `git cherry origin/<default> <branch>` — no `+` lines → **`squash_landed`** (every commit has an equivalent patch upstream).
|
|
6
|
+
3. Else `gh pr list --repo <owner/repo> --state all --head <branch> --json number,state,mergedAt,url`. With a merged PR, compare `git log --no-merges --format=%cI origin/<default>..<branch>` against its `mergedAt`: no commit **newer** than the merge → **`merged_pr_divergent`** (the squash rewrote these commits); any newer commit → **`unique_work`** (real work pushed after the PR merged).
|
|
7
|
+
4. Anything else → **`unique_work`**.
|
|
8
|
+
5. Record `git rev-parse --short <branch>` for every branch you might delete.
|
|
9
|
+
|
|
10
|
+
> **Why the extra buckets:** this project merges PRs with **squash**, which lands a *new* commit on the default branch. A squash-merged branch tip is therefore never an ancestor of the default, so `git branch -d` refuses it forever — `-d` alone can never prune landed branches here.
|
|
11
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Cleanup — Phase B: GitHub remote audit
|
|
2
|
+
|
|
3
|
+
Runs only when Phase B is enabled (`include github` token, and no `no github` / `local only` token).
|
|
4
|
+
|
|
5
|
+
Prefer the CLI fast path; fall back to manual `git`/`gh` when the CLI is missing.
|
|
6
|
+
|
|
7
|
+
- **CLI:** `issue-flow agent branches --json -C <project_root>` (add `--no-fetch` only if `git fetch --prune` just ran). Payload buckets: `deletable`, `unique_work`, `skipped`.
|
|
8
|
+
- **Manual fallback:** `git fetch --prune`; list `refs/remotes/origin/*` (skip `HEAD` and the default); for each tip run `git cherry origin/<default> origin/<branch>` (`+` = unique); `git log --oneline origin/<default>..origin/<branch>` (cap ~20) + `git diff --shortstat`; `gh pr list --repo <owner/repo> --state all --head <branch> --json number,title,state,url,mergedAt`. Treat open-PR heads as unique work (never deletable). Protected branches (when `gh api …/branches/<name>` reports `protected: true`) go to skipped.
|
|
9
|
+
- **Report** the three buckets. For unique-work branches, summarise commit subjects (and open PR titles/URLs) in prose for the user.
|
|
10
|
+
- **Second consolidated confirm** (never folded into Phase A's yes): list every proposed action, then ask once:
|
|
11
|
+
- Optional: for each **deletable** name, `git push origin --delete <branch>` (or `gh api -X DELETE repos/<owner>/<repo>/git/refs/heads/<branch>`). Never `--force`. Never delete the default. On push failure (e.g. protection), report and continue.
|
|
12
|
+
- Optional: create a findings issue with `gh issue create --repo <owner/repo>` after showing the draft title/body (deletable list + unique-work summaries). Suggested title: `chore: remote branch audit (<YYYY-MM-DD>)`. Create only on yes.
|
|
13
|
+
|
|
14
|
+
**Multi-line GitHub text (PowerShell-safe).** Bash `<<'EOF'` heredocs fail in Windows PowerShell (`Missing file specification after redirection operator`). Write the text to a file and pass that file:
|
|
15
|
+
|
|
16
|
+
- `gh issue create`, `gh issue edit`, and `gh pr create` take `--body-file <path>`.
|
|
17
|
+
- `git commit` takes `-F <path>`.
|
|
18
|
+
|
|
19
|
+
```powershell
|
|
20
|
+
@'
|
|
21
|
+
line one
|
|
22
|
+
|
|
23
|
+
line two
|
|
24
|
+
'@ | Set-Content -Encoding utf8 body.md
|
|
25
|
+
gh issue create --repo owner/repo --title "title" --body-file body.md
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Bash accepts the same `--body-file` / `-F` flags. Use that pattern for every multi-line body.
|
|
29
|
+
|
|
30
|
+
- Phase B is **read-only until that second confirm**. Declining leaves remotes untouched.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Cleanup — PR queue sync (`/iflow-cleanup prs`)
|
|
2
|
+
|
|
3
|
+
Read this when **one or more open PRs need updating** after another PR
|
|
4
|
+
merged — typically `mergeable: CONFLICTING` / `mergeStateStatus: DIRTY` because
|
|
5
|
+
both sides edited `HISTORY.md`.
|
|
6
|
+
|
|
7
|
+
Sibling of the default cleanup (post-merge local hygiene) and of `issue-flow agent sync-branch` (single branch).
|
|
8
|
+
|
|
9
|
+
## Input
|
|
10
|
+
|
|
11
|
+
- **(nothing)** — refresh every open PR GitHub marks as needing update (DIRTY /
|
|
12
|
+
BEHIND / CONFLICTING).
|
|
13
|
+
- **PR numbers** — e.g. `/iflow-cleanup prs 259 261` — only those heads.
|
|
14
|
+
- **`dry-run` / `dryrun`** — list candidates; do not sync or push.
|
|
15
|
+
- **`nopush` / `no-push`** — sync locally but do not push.
|
|
16
|
+
- **`all`** — every open PR, not only dirty ones (rare).
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
|
|
20
|
+
1. **Preflight.** Resolve `<project_root>` / `<owner/repo>`. Prefer standing on
|
|
21
|
+
the **default** branch with a clean home tree (worktrees are used for each
|
|
22
|
+
head). `git fetch --prune`.
|
|
23
|
+
2. **List candidates.** Prefer CLI:
|
|
24
|
+
```bash
|
|
25
|
+
issue-flow agent pr-sync --dry-run --json -C <project_root>
|
|
26
|
+
# or with numbers:
|
|
27
|
+
issue-flow agent pr-sync 259 261 --dry-run --json -C <project_root>
|
|
28
|
+
```
|
|
29
|
+
Show the user: PR number, head branch, mergeable / mergeStateStatus, URL.
|
|
30
|
+
3. **Confirm once.** Consolidated yes/no listing every head that will be
|
|
31
|
+
rebased (or merged) onto `origin/<default>` and force-with-lease pushed.
|
|
32
|
+
Decline → stop; nothing rewritten.
|
|
33
|
+
4. **Run.** On yes:
|
|
34
|
+
```bash
|
|
35
|
+
issue-flow agent pr-sync [numbers…] --json -C <project_root>
|
|
36
|
+
```
|
|
37
|
+
Honour trailing `nopush` / `dry-run` / `all` as flags (`--no-push`,
|
|
38
|
+
`--dry-run`, `--all-open`). Default is `--fail-fast`: the first conflict the
|
|
39
|
+
keep-both resolvers cannot take (product code, headings, prose — anything
|
|
40
|
+
outside additive `HISTORY.md` bullets, `04-designs-and-guides/*.md`
|
|
41
|
+
bullets / table rows and `issue<N>_status.md`) stops the batch and leaves
|
|
42
|
+
later PRs untouched. A head stacked on a **squash-landed** sibling is
|
|
43
|
+
handled by the same `sync-branch` auto-detect (`base_detected`); for a
|
|
44
|
+
single head you can run `issue-flow agent sync-branch --base <parent> --json`
|
|
45
|
+
in its worktree yourself.
|
|
46
|
+
5. **Report.** Per PR: synced / pushed / `resolvers` (which file took which
|
|
47
|
+
keep-both) / `base_detected` / failure notes. Remind that CI must re-run on
|
|
48
|
+
rewritten heads. Do **not** auto-merge. A PR that GitHub reports as
|
|
49
|
+
**already merged** is dropped from the batch as success, not a failure.
|
|
50
|
+
6. **When to offer.** After `/iflow-cleanup` when other open PRs remain dirty;
|
|
51
|
+
after `/iflow-run yolo` / `/iflow-close` merge when siblings are open; whenever
|
|
52
|
+
the user says a PR “needs update” and the only conflict is changelog-shaped.
|
|
53
|
+
|
|
54
|
+
## Constraints
|
|
55
|
+
|
|
56
|
+
- Never bare `--force`; only `--force-with-lease` via the CLI.
|
|
57
|
+
- Never `--admin` merge; never skip required checks.
|
|
58
|
+
- Non-changelog / heading-promote conflicts → stop that head (and the batch
|
|
59
|
+
under fail-fast); human decides.
|
|
60
|
+
- New closes put the bullet in commit trailers instead of `HISTORY.md`. This skill still repairs a queue that went dirty on a leftover `[Unreleased]` section.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Cleanup — workspace mode (`/iflow-cleanup all`)
|
|
2
|
+
|
|
3
|
+
Replaces steps 2–6 of the cleanup skill for the whole workspace; steps 7–8 then run per member.
|
|
4
|
+
|
|
5
|
+
1. **Survey.** Resolve the workspace root (`issue-flow agent resolve --json` → `workspace_root`). Run `issue-flow workspace cleanup --json` from there (add `--extra-root <path>` per `root:` hint). It fetches, classifies `default-sync`, buckets local branches with the same code as `agent local-branches`, lists linked worktrees, and computes an A1 / A2 plan per member — **read-only**. Print the grouped table. Members it **refused** (`skipped: true` — dirty product-code tree, detached HEAD, missing `origin`, locked) are reported with their reason and left out of every confirm; the loop continues with the rest.
|
|
6
|
+
2. **Phase A1 (one confirm for all members).** List per member: `switch <default>` (or why it is blocked), `pull --ff-only`, worktree removes, and `branch -d <reachable…>` by name. Members whose `default_sync.action` is not `even` / `ff_only` are listed **with that action** and their pull is **skipped** — never pulled, rebased, or pushed; their `-d` deletes still run. Ask once. On yes: `issue-flow workspace cleanup --apply --json` (same `--extra-root` hints). Without the CLI, run the listed `git -C <member>` commands yourself. A1 never authorises A2.
|
|
7
|
+
3. **Phase A2 (second confirm, never implied by A1).** Only when any member's `plan.a2.branch_D` is non-empty. List per member every `<name> <tip>` with its bucket (`squash_landed` / `merged_pr_divergent`) and merged PR; show `merged_pr_divergent` unique-commit subjects; print the recovery line `git branch <name> <tip>`. **Never** list `unique_work` or `skipped` branches — the CLI never plans them either. Ask once, separately. On yes: `issue-flow workspace cleanup --apply --yes-delete-squash-landed --json`; report every `applied.a2.deleted` entry as `<name> <tip> <flag>` so the SHAs stay in the transcript. The `drive` / `landed` token replaces this prompt with the orchestrator's earlier confirm (same narrowed scope as step 6).
|
|
8
|
+
4. **Phase B (third confirm, only when enabled per the Input rule).** Run Phase B (`github.md`) per member and present **one** confirm grouped by member.
|
|
9
|
+
5. Steps 7 (folder sweep) and 8 (epic gate offer) run per member. Step 10 reports each member.
|