reassess-roadmap

After a slice completes, review whether the milestone roadmap still fits reality. Reads recent summaries, surfaces deviations, prompts for roadmap changes (add/split/reorder/remove slices). Run at sli

SKILL.md

GitHub

reassess-roadmap

Post-slice checkpoint. Looks at what was learned during the slice and asks whether the milestone roadmap still matches reality. Often the answer is yes -- but when it's no, catching it here is cheap; catching it at milestone-end is expensive.

When to run

  • After ytstack:summarize-task closes the last task of a slice
  • Before picking the next slice to plan/execute
  • NOT mid-slice -- in-flight changes scatter the plan

Anti-Pattern: "The plan was right, no need to reassess"

Run it anyway. It takes 2 minutes and either confirms the plan (good -- more confidence) or surfaces a gap the next slice would have hit blind (much better -- save a slice of wasted work). The value isn't in changing the plan -- it's in knowing whether to change it.

Checklist

  1. Run preamble -- detect milestone + just-completed slice
  2. HARD-GATE -- slice must be fully complete (all tasks [x])
  3. Summarize the slice -- show outcomes of the N task summaries; answer the spec drift report once per area (Step 3a); report closed-by-work and accepted, and put open gates and non-converging work to the human in one question (Step 3b)
  4. Ask: does the remaining roadmap still fit?
  5. If no, prompt for changes -- add / split / reorder / remove slices
  6. Update M###-ROADMAP.md with agreed changes
  7. Append decision to M###-CONTEXT.md if the change is non-trivial
  8. Update STATE.md -- flip completed slice, set next active_slice (guarded)
  9. Fold + backlog sweep (only if this was the last slice of the milestone) -- fold what still holds into the area files of .ytstack/spec/ and offer the archive through reconcile (Step 8a); then the backlog sweep -- per-item prompt from M###-CONTEXT.md scope
  10. Stale milestones (M018) -- for each STALE_MILESTONES entry ask dropped / shipped-informally / keep and write the state

Preamble

# ytstack resolver (M016): checkout = where this shell runs, via the shared lib.
_LIB="${CLAUDE_SKILL_DIR}/../../hooks/lib/git-ctx.sh"
if [ -f "$_LIB" ]; then
  . "$_LIB"; yt_git_ctx "$PWD"; yt_resolve_yt_dir >/dev/null
  _PROJECT_DIR="$YT_TOPLEVEL"; _YT_DIR="$YT_DIR"; _YT_SCOPE="$YT_SCOPE"; _IS_GIT="$YT_IS_GIT"; _PROJECT_KEY="$YT_REPO_KEY"
else
  # Host did not substitute CLAUDE_SKILL_DIR (e.g. Codex adapter): project scope only.
  _IS_GIT=$([ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = true ] && echo yes || echo no)
  _PROJECT_DIR=$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)
  _YT_DIR=""; _YT_SCOPE=none; _PROJECT_KEY=""
  [ -d "$_PROJECT_DIR/.ytstack" ] && { _YT_DIR="$_PROJECT_DIR/.ytstack"; _YT_SCOPE=project; }
fi
cd "$_PROJECT_DIR" 2>/dev/null || true
_PROJECT_SLUG=$(basename "$_PROJECT_DIR")
_HAS_YTSTACK=$([ -n "$_YT_DIR" ] && echo yes || echo no)

_NON_INTERACTIVE=false
if [ -n "$YTSTACK_NON_INTERACTIVE" ] || [ -n "$OPENCLAW_SESSION" ] || [ -n "$CLAUDE_AGENT_TEAM_MEMBER" ]; then
  _NON_INTERACTIVE=true
fi

_CURRENT_MILESTONE=none; _ACTIVE_SLICE=none; _TRACKER=none
if [ -f "$_YT_DIR/STATE.md" ]; then
  _CURRENT_MILESTONE=$(sed -n 's/^current_milestone: *//p' "$_YT_DIR/STATE.md" | head -1)
  _ACTIVE_SLICE=$(sed -n 's/^active_slice: *//p' "$_YT_DIR/STATE.md" | head -1)
  # External issue tracker (none | linear | github-projects | paperclip | jira)
  _TRACKER=$(sed -n 's/^tracker: *//p' "$_YT_DIR/STATE.md" | head -1)
  _TRACKER=${_TRACKER:-none}
fi

# Artifacts of the milestone: flat, or the directory it already lives in (issue #70)
if command -v yt_artifact_dir >/dev/null 2>&1; then _AD=$(yt_artifact_dir "$_YT_DIR" "$_CURRENT_MILESTONE"); else _AD="$_YT_DIR"; fi
# One file wherever it is; all files of a glob in every layout, one per name (a
# milestone moved after some of its files landed flat has files in both places).
_ap() { if command -v yt_artifact_path >/dev/null 2>&1; then yt_artifact_path "$_YT_DIR" "${1}"; else printf '%s\n' "$_YT_DIR/${1}"; fi; }
_fa() { if command -v yt_find_artifacts >/dev/null 2>&1; then yt_find_artifacts "$_YT_DIR" "${1}"; else ls "$_YT_DIR"/${1} 2>/dev/null; fi | awk -F/ 'NF && !s[$NF]++'; }

# Determine if the current slice is complete
_SLICE_PLAN=$(_ap "$_CURRENT_MILESTONE-$_ACTIVE_SLICE-PLAN.md")
_SLICE_COMPLETE=no
if [ -f "$_SLICE_PLAN" ]; then
  # Open TASK lines only: an open gate (`- [ ] G01 --`) does not keep a slice
  # from being complete. No `|| echo 0`: grep -c prints 0 and exits 1, which
  # would yield "0<newline>0" and break the integer test.
  _REMAINING=$(grep -c '^- \[ \] T[0-9]' "$_SLICE_PLAN" 2>/dev/null); _REMAINING=${_REMAINING:-0}
  [ "$_REMAINING" -eq 0 ] && _SLICE_COMPLETE=yes
fi

# Stale milestones (M018): planned/in-progress roadmaps with no summaries and no file newer than 14 days
_STALE_MILESTONES=""
if command -v yt_find_artifacts >/dev/null 2>&1; then _RMS=$(yt_find_artifacts "$_YT_DIR" 'M[0-9][0-9][0-9]-ROADMAP.md'); else _RMS=$(ls "$_YT_DIR"/M[0-9][0-9][0-9]-ROADMAP.md 2>/dev/null); fi
while IFS= read -r _rm; do
  [ -f "$_rm" ] || continue
  _m=$(basename "$_rm" -ROADMAP.md)
  _st=$(sed -n 's/^status: *//p' "$_rm" | head -1)
  case "$_st" in planned|in-progress) ;; *) continue ;; esac
  if command -v yt_find_artifacts >/dev/null 2>&1; then
    [ -n "$(yt_find_artifacts "$_YT_DIR" "$_m-*SUMMARY.md")" ] && continue
  else
    [ -n "$(ls "$_YT_DIR"/$_m-*SUMMARY.md 2>/dev/null)" ] && continue
  fi
  [ -n "$(find "$(dirname "$_rm")" -maxdepth 1 -name "$_m-*.md" -mtime -14 2>/dev/null)" ] && continue
  _STALE_MILESTONES="${_STALE_MILESTONES:+$_STALE_MILESTONES }$_m"
done <<_RMS_
$_RMS
_RMS_

echo "HAS_YTSTACK: $_HAS_YTSTACK"
echo "YTSTACK_NON_INTERACTIVE: $_NON_INTERACTIVE"
echo "CURRENT_MILESTONE: $_CURRENT_MILESTONE"
echo "ACTIVE_SLICE: $_ACTIVE_SLICE"
echo "SLICE_COMPLETE: $_SLICE_COMPLETE"
echo "ARTIFACT_DIR: $_AD"
echo "STALE_MILESTONES: ${_STALE_MILESTONES:-none}"
echo "TRACKER: $_TRACKER"
# Technical spec (M022): areas whose code moved on without their description.
_SPEC_TOOL="${CLAUDE_SKILL_DIR}/../../bin/ytstack-spec"
echo "SPEC_DRIFT_BEGIN"
if [ -f "$_YT_DIR/spec/SPEC.md" ] && [ -f "$_SPEC_TOOL" ]; then bash "$_SPEC_TOOL" drift 2>&1; else echo "(no technical spec, or script not reachable)"; fi
echo "SPEC_DRIFT_END"
# Bounded work (M023): gates that no work closes, reviews that do not converge,
# and the two progress numbers (closed by work, accepted).
_GATE_RE='^- \[ \] G[0-9]+ --'
echo "OPEN_GATES_BEGIN"
_fa "$_CURRENT_MILESTONE-*PLAN.md" | sort | while IFS= read -r _p; do
  grep -Hn -E "$_GATE_RE" "$_p" 2>/dev/null | sed "s|^$_YT_DIR/||"
done
echo "OPEN_GATES_END"
echo "REVIEW_ROUNDS_BEGIN"
_fa "$_CURRENT_MILESTONE-$_ACTIVE_SLICE-T[0-9][0-9]-PLAN.md" | sort | while IFS= read -r _p; do
  [ -f "$_p" ] || continue
  _r=$(grep -c -E '^- Round [0-9]+:' "$_p" 2>/dev/null); _r=${_r:-0}
  [ "$_r" -ge 3 ] && echo "$(basename "$_p" -PLAN.md): $_r review rounds"
done
echo "REVIEW_ROUNDS_END"
_SL_TOTAL=0; _SL_WORK=0; _SL_ACC=0
_RM=$(_ap "$_CURRENT_MILESTONE-ROADMAP.md")
[ -f "$_RM" ] && _SL_TOTAL=$(grep -c -E '^- \[.\] S[0-9][0-9] --' "$_RM" 2>/dev/null)
while IFS= read -r _sp; do
  [ -f "$_sp" ] || continue
  grep -q '^- \[ \] T[0-9]' "$_sp" && continue
  grep -q '^- \[[xX]\] T[0-9]' "$_sp" || continue
  _SL_WORK=$((_SL_WORK + 1))
  _s=$(basename "$_sp" -PLAN.md)
  { cat "$_sp"; _fa "$_s-T[0-9][0-9]-PLAN.md" | while IFS= read -r _tp; do cat "$_tp"; done; } 2>/dev/null | grep -E "$_GATE_RE" >/dev/null || _SL_ACC=$((_SL_ACC + 1))
done <<_SPS_
$(_fa "$_CURRENT_MILESTONE-S[0-9][0-9]-PLAN.md")
_SPS_
echo "SLICES_TOTAL: ${_SL_TOTAL:-0}"
echo "SLICES_CLOSED_BY_WORK: $_SL_WORK"
echo "SLICES_ACCEPTED: $_SL_ACC"

Procedure

The current milestone's files named below ({CURRENT_MILESTONE}-ROADMAP.md, -CONTEXT.md, slice and task files) are read and edited in {ARTIFACT_DIR}: .ytstack/ itself, or milestones/M###/ when the milestone lives there.

Step 2 HARD-GATE. If SLICE_COMPLETE=no: abort with "slice still has open tasks. Close them via summarize-task before reassessing."

Step 3. Collect recent summaries: read all {MILESTONE}-{SLICE}-T##-SUMMARY.md files. For each, extract Outcome + Deviations. Present to user:

Slice {CURRENT_MILESTONE}-{ACTIVE_SLICE} complete. Here's what shipped:

{For each task summary:}

  • T##: {OUTCOME_FIRST_LINE} (deviations: {DEVIATIONS_SHORT})

Step 3a -- Spec drift. Read the lines between SPEC_DRIFT_BEGIN and SPEC_DRIFT_END. Each <area>: possible documentation impact line names an area whose code changed after its description was last touched. That is a prompt to look, not a finding. Answer it here, once per area, for the whole slice:

  • Read .ytstack/spec/<area>.md (and the section of a sources document it points to) against the commits the line counts (git log --oneline <sha>..HEAD -- <the area's paths>).
  • A statement became false: correct the area file or its source now.
  • Nothing became false (refactoring, a fix that restored the described behaviour): set verified_at in the area file to the commit you checked. Do not edit a description to quiet the report.

List what you did per area in the Step 3 message. No line, or no technical spec: skip. Slice closure never waits on this step; an area you could not assess is named in the report as not checked.

Step 3b -- What no work can close: one question. Two numbers describe the milestone, and they are reported side by side, never as one: SLICES_CLOSED_BY_WORK of SLICES_TOTAL (every task done) and SLICES_ACCEPTED of SLICES_TOTAL (done, and no gate open). When they differ, more work does not close the gap. Find what does:

  1. Open gates. Each line between OPEN_GATES_BEGIN and OPEN_GATES_END is a gate (G## -- <what> | decides: <who> | how: <how> | lapses: <when>) in a plan of this milestone. Read the summaries and the plan's Notes for what happened since, then sort each gate into exactly one group:
    • Needs a verdict. A person or role decides it, and nothing in the remaining slices produces that verdict.
    • Lapsed. Its lapses: condition has occurred, or the step it was meant to guard has been made, so it can no longer be met as written. A lapsed gate is named as lapsed, never as passed. If a measurement behind it still matters, it continues as ordinary work with its threshold unchanged: propose a task for it in Step 5.
    • Work can still close it. A task that exists, or one you propose in Step 5, produces what the gate asks for. These are not put to the human.
  2. Work that repeats without advancing. A line between REVIEW_ROUNDS_BEGIN and REVIEW_ROUNDS_END (a task with three or more review rounds). In the summaries of this slice: the same check renewed on an unchanged commit, follow-up tasks that only verify again, the same finding reopened. For each: what repeats, how often, and what would end it (a decision on scope, a rule that conflicts with another, a different solution).

If both lists are empty, say so in one line with the two numbers and go on. Otherwise put everything into ONE AskUserQuestion; never one question per item, and never spread over several turns:

Slice {CURRENT_MILESTONE}-{ACTIVE_SLICE} is done. {SLICES_CLOSED_BY_WORK} of {SLICES_TOTAL} slices are closed by work, {SLICES_ACCEPTED} of {SLICES_TOTAL} are accepted. The difference is not work that is left: these {N} points need you.

{Numbered, one block per item:} {n}. {gate id or task ref} -- {what it is, in one plain sentence}. Decides: {who}. How: {how the verdict is obtained, with the file or link to look at}. {Lapses: {when} | Lapsed: {what happened, when}}. My recommendation: {give it | not yet, because ... | record it as lapsed | change the scope to ...}, because {one reason}.

RECOMMENDATION: Choose A. One reply settles all {N}; each one left open keeps its slice out of the accepted count.

A) Decide them now, in one reply ("1 yes, 2 lapsed, 3 no: ...") -- I record each answer where the gate is written Completeness: 10/10, effort: human: ~{N} min / CC: ~2 min, tier: task

B) Leave them open -- they stay as they are and come back at the next slice boundary, not before Completeness: 6/10, effort: human: 0 / CC: 0, tier: task

Record only what the human answered, in the plan file that holds the gate:

  • given: - [x] G## -- ... | given: {TODAY} {who}
  • lapsed: - [-] G## -- ... | lapsed: {TODAY} {what happened}
  • not given: the line stays - [ ]; what has to change becomes a task or a slice in Step 5.

The question queue. A project that keeps .ytstack/questions/ (format: docs/ux/coordinator-format.md) carries each gate that needs a verdict as one question file, so that it survives the session and is not asked twice. Before the question above is put: for a gate without a file, "${CLAUDE_SKILL_DIR}/../../bin/ytstack-questions" new --question "<the gate as a question>" --decides "<who>" --because reserved --blocks "<gate id>" (a gate reserves a person's verdict) and fill its Context, starting with Source: (the gate line and its plan) and Purpose: (what the verdict unblocks), Options and Recommendation; a gate whose file is already asked is listed as waiting since that time and is not put again unless something changed. When the question goes out: ytstack-questions ask <id> for each one in it. When the human answers: write the answer under ## Answer in the file, then ytstack-questions answer <id>, then the gate line as above. A project without the directory skips this paragraph; the gate lines alone carry the state.

A verdict that the plan reserves for a person is never recorded as given by you, by a dispatched agent or by a review. If YTSTACK_NON_INTERACTIVE is true, ask nothing and record nothing: list the items under "Waiting on a person" in the report, and when STATE.md has a progress: block set its waiting_on to the first item. A finding that the project's own policy rates non-blocking is not a gate and is not listed here; it is a follow-up.

Step 4. Use AskUserQuestion:

Given what actually shipped, does the remaining roadmap for {CURRENT_MILESTONE} still fit reality?

Look at the next slice in {CURRENT_MILESTONE}-ROADMAP.md. Does it still make sense given what you learned in this slice?

RECOMMENDATION: A if nothing surprised you. B if one or two surprises. C if you feel "we should reconsider the whole plan."

A) Yes, proceed as planned. (Completeness: 10/10) B) Partial changes needed -- add / split / reorder a slice. (Completeness: 8/10) C) Major rethink -- the milestone scope or goal shifted. (Completeness: 10/10 for doing the rethink honestly)

If A: jump to Step 8. If B: Step 5. If C: prompt "Should we go back to /ytstack:plan-milestone to re-define the milestone? The C option means the current roadmap is stale enough to rebuild." Ask user; if yes, STOP and recommend rerun. If they want to patch in place, proceed to Step 5.

Step 5. For B: use AskUserQuestion (open-ended):

What needs to change in the roadmap?

Describe changes in plain English. Examples:

  • "Add a new slice S04 between S02 and S03 for rate-limiting -- surfaced during S02."
  • "Remove S03 -- turns out what we did in S02 covered it."
  • "Split S03 into S03a (schema change) and S03b (UI update) -- too big for one slice."

Remember as _CHANGES.

Step 6. Apply changes to {CURRENT_MILESTONE}-ROADMAP.md via Edit tool. For each change:

  • Add: insert a new - [ ] S## -- {name} line at the correct position, increment total_slices frontmatter
  • Split: replace one slice line with two, increment total_slices
  • Remove: delete line, decrement total_slices
  • Reorder: move lines (preserve checkbox state)

If slices beyond the modified ones have placeholder task lists, leave them -- slice-milestone will handle re-planning.

Step 7. If the change was non-trivial (B or C): append to {CURRENT_MILESTONE}-CONTEXT.md:

## Reassessment {ISO_TIMESTAMP}

After **{ACTIVE_SLICE}**, changed the roadmap:

{CHANGES}

Reason: {USER_REASON_IF_PROVIDED}

Step 8. Update STATE.md:

If YTSTACK_NON_INTERACTIVE is false (i.e. CLAUDE_AGENT_TEAM_MEMBER is unset):

  • Flip active_slice from completed slice to the next unfinished slice (next - [ ] S## in ROADMAP), or active_slice: none if no unfinished slice remains
  • active_task: none

If YTSTACK_NON_INTERACTIVE is true (running as swarm teammate): skip frontmatter writes. Log:

[ytstack:reassess-roadmap] skipping STATE.md active_slice/active_task write -- running as swarm teammate (CLAUDE_AGENT_TEAM_MEMBER set)

Regardless of teammate mode:

  • Bump last_updated
  • Status line: **Status:** {CURRENT_MILESTONE} -- slice {OLD_SLICE} complete. Next slice: {NEW_ACTIVE_SLICE}. When the two numbers of Step 3b differ, append Closed by work {W}/{T}, accepted {A}/{T}; waiting on: {open gate ids}.

Also flip - [ ] {OLD_SLICE} → - [x] {OLD_SLICE} in {CURRENT_MILESTONE}-ROADMAP.md and bump completed_slices.

Step 8a. Fold the milestone into the spec (only if this was the last slice of the milestone -- no remaining - [ ] S## in ROADMAP -- and the project has .ytstack/spec/).

A finished milestone leaves its knowledge in plans, summaries and its context file. What still holds belongs where the next session looks for it: in the area files. Fold once, now, so that nobody has to read this milestone's history to work on its result.

  1. Which areas. The areas named under ## Spec in this milestone's summaries, plus the ones the drift report listed in Step 3a.
  2. Per area, read the area file against the milestone's outcome (summaries: Outcome, Deviations, Follow-ups; {CURRENT_MILESTONE}-CONTEXT.md: "Decisions locked"). Bring over only what applies from now on:
    • a behaviour or contract the milestone changed and the area file does not state yet: correct the section;
    • a decision that is in force and exists only in the milestone context: add an entry to DECISIONS.md and link it under "Decisions that apply now"; remove a link the milestone superseded;
    • a shortcut or limit that still holds (a shortcut: comment, an open follow-up): one line under "Known limits";
    • status: raise planned or partial only for what you read in the code now, and set verified_at to that commit. Do not copy narrative, dates or task refs into an area file. What happened stays in the summaries.
  3. Say what you folded in the report: per area the sections you changed, or "nothing to fold".
  4. Offer the archive, do not perform it. After the fold the milestone's slice and task files are history. Tell the user that ytstack:reconcile moves them to .ytstack/archive/ on request (its "closed milestones" class) and leaves {CURRENT_MILESTONE}-CONTEXT.md and {CURRENT_MILESTONE}-ROADMAP.md in place. Nothing moves from inside this skill, and nothing moves without that answer.

No technical spec: skip this step and say in the report that ytstack:adopt-brownfield adds one.

Step 9. Backlog sweep (only if this was the last slice of the milestone -- no remaining - [ ] S## in ROADMAP).

Read {CURRENT_MILESTONE}-CONTEXT.md. Extract any backlog items listed under a "Backlog" or "Deferred" heading (pattern: lines starting with - under such a heading). If none found, skip this step and report "no backlog items found." If TRACKER is not none, say once before the first item: "Issue-level work for this project is tracked in {TRACKER}; items that are BAU belong there, not in a new slice or milestone." (no extra question; the per-item A/B/C below is unchanged).

For each backlog item, use AskUserQuestion (multi-choice):

Wrapping up {CURRENT_MILESTONE} -- sweeping backlog item: "{ITEM_DESCRIPTION}"

This item was deferred into {CURRENT_MILESTONE} scope but not scheduled in any slice. Now that the milestone is done, decide its fate.

RECOMMENDATION: A if the item shipped as part of normal work. B if it is genuinely needed but needs more work. C if it no longer applies.

A) Fully shipped -- delete this item from the backlog. (Completeness: 10/10, tier: task) B) Still needed -- trim to what remains and carry forward to the next milestone's CONTEXT.md. (Completeness: 8/10, tier: task) C) Drop it -- not worth doing. Add a one-line DECISIONS.md note explaining why. (Completeness: 7/10, tier: task)

For A: remove the item from the backlog section in {CURRENT_MILESTONE}-CONTEXT.md. For B: prompt "What is still needed? (one sentence)" then update the item text in {CURRENT_MILESTONE}-CONTEXT.md and copy the trimmed item to the next milestone CONTEXT.md (append under a "Carried from {CURRENT_MILESTONE}" heading) once the next milestone exists. For C: remove the item from {CURRENT_MILESTONE}-CONTEXT.md and append to DECISIONS.md:

## {ISO_DATE}: Drop backlog item "{ITEM_DESCRIPTION}" from {CURRENT_MILESTONE}

**Context:** item was deferred into {CURRENT_MILESTONE} but not executed.
**Chose:** drop
**Reason:** {USER_REASON}

Report + return

Slice {OLD_SLICE} closed, roadmap reassessed: {A/B/C outcome}.

Closed by work: {SLICES_CLOSED_BY_WORK} of {SLICES_TOTAL} slices. Accepted: {SLICES_ACCEPTED} of {SLICES_TOTAL}. {Gates given / lapsed / still open, by id; or "no gates".}

{If B/C:} Changes logged to {CURRENT_MILESTONE}-CONTEXT.md under "Reassessment {TIMESTAMP}".

Next: slice {NEW_ACTIVE_SLICE}. Run /ytstack:plan-task to flesh out the first task, or use subagent dispatch if available.

If this was the last slice of the milestone: flip milestone status to done in .ytstack/ROADMAP.md (global) and consider /ytstack:plan-milestone for the next milestone.

Step 10 -- Stale milestones (M018 artifact states). For each milestone in STALE_MILESTONES (status planned or in-progress, no summaries, nothing touched for 14 days), use AskUserQuestion:

Milestone {M###} has plans on disk but no execution and no activity for two weeks. What is its real state?

Leaving it planned keeps it on every dashboard as if it were next. Writing the real state makes ROADMAP.md honest and lets session-start stop flagging it.

RECOMMENDATION: B if the work happened outside the ytstack loop (direct commits, another tracker); A if nobody intends to do it; C only if it really is next.

A) dropped -- plans stay on disk, status written, global row updated. (Completeness: 10/10, tier: core) B) shipped-informally -- status written + one-line note in {M###}-CONTEXT.md about where the work lives. (Completeness: 10/10, tier: core) C) keep -- leave planned; ask again in 14 days. (Completeness: 6/10, tier: core)

Write the chosen state into {M###}-ROADMAP.md frontmatter (status:) and the matching row in the global ROADMAP.md (Edit). Never delete plan files here (ytstack:reconcile owns archiving).

Terminal State

  • Return after ROADMAP + STATE + (optional) CONTEXT updates + (optional) backlog sweep
  • Abort if slice not complete (Step 2 HARD-GATE)
  • Abort + recommend rerun if user picks "major rethink, restart milestone"

Do NOT auto-invoke plan-task or plan-milestone.