fix(resume-work): detect non-phase continue-here checkpoints (#3451)
* fix(resume-work): detect non-phase continue-here checkpoints * docs(inbox): align changelog check with changeset policy * fix(resume-work): include sketch subdirectory checkpoints
This commit is contained in:
@@ -212,7 +212,7 @@ For each classified PR, review against its template requirements.
|
||||
- [ ] PR title is descriptive (not just "fix" or "update")
|
||||
- [ ] One concern per PR (not mixing fix + enhancement)
|
||||
- [ ] No unrelated formatting changes visible in diff
|
||||
- [ ] CHANGELOG.md updated
|
||||
- [ ] `.changeset/*.md` fragment added for user-facing changes (or `no-changelog` label applied)
|
||||
- [ ] Not using `--no-verify` or skipping hooks
|
||||
|
||||
**Scoring:** Same as issues — completeness percentage per PR.
|
||||
|
||||
@@ -66,8 +66,13 @@ Look for incomplete work that needs attention:
|
||||
# Check for structured handoff (preferred — machine-readable)
|
||||
cat .planning/HANDOFF.json 2>/dev/null || true
|
||||
|
||||
# Check for continue-here files (mid-plan resumption)
|
||||
ls .planning/phases/*/.continue-here*.md 2>/dev/null || true
|
||||
# Check for continue-here files (phase + non-phase + legacy fallback)
|
||||
ls .planning/phases/*/.continue-here*.md \
|
||||
.planning/spikes/*/.continue-here*.md \
|
||||
.planning/sketches/*/.continue-here*.md \
|
||||
.planning/deliberations/.continue-here*.md \
|
||||
.planning/.continue-here*.md \
|
||||
.continue-here*.md 2>/dev/null || true
|
||||
|
||||
# Check for plans without summaries (incomplete execution)
|
||||
for plan in .planning/phases/*/*-PLAN.md; do
|
||||
@@ -93,7 +98,7 @@ fi
|
||||
- Flag: "Found structured handoff — resuming from task {task}/{total_tasks}"
|
||||
- **After successful resumption, delete HANDOFF.json** (it's a one-shot artifact)
|
||||
|
||||
**If .continue-here file exists (fallback):**
|
||||
**If .continue-here file exists (phase/non-phase/legacy fallback):**
|
||||
|
||||
- This is a mid-plan resumption point
|
||||
- Read the file for specific resumption context
|
||||
|
||||
Reference in New Issue
Block a user