fix: update execution-plan.md status on stage completion#69
Open
inariku wants to merge 4 commits intoawslabs:mainfrom
Open
fix: update execution-plan.md status on stage completion#69inariku wants to merge 4 commits intoawslabs:mainfrom
inariku wants to merge 4 commits intoawslabs:mainfrom
Conversation
added 4 commits
February 8, 2026 00:02
Each stage's completion instructions update aidlc-state.md but not execution-plan.md, leaving the execution plan with stale status values. Add instructions to update the corresponding stage status to COMPLETED in execution-plan.md at every stage completion point. Affected files (12): - inception: workflow-planning, reverse-engineering, requirements-analysis, user-stories, application-design, units-generation - construction: functional-design, nfr-requirements, nfr-design, infrastructure-design, code-generation, build-and-test Closes awslabs#23
…aid flowchart and checklist Testing revealed that the AI only updated the checklist section but not the Mermaid diagram. Add explicit '(both Mermaid flowchart and checklist)' to all update instructions, and add a note in the execution-plan.md template in workflow-planning.md.
Testing showed that AI agents skip the execution-plan.md update despite instructions in individual stage files. This is an attention problem - the AI focuses on aidlc-state.md and audit.md updates but misses the execution-plan.md instruction. Changes: - Add MANDATORY execution-plan tracking as a Key Principle in core-workflow.md (loaded first, highest attention) - Make workflow-planning.md approval step a numbered sub-list for better visibility
The execution-plan.md contains three representations of stage status: Mermaid flowchart, text alternative (required by content-validation.md), and checklist. Previous instructions only mentioned flowchart and checklist, leaving the text alternative stale. Update all 15 occurrences to specify 'Mermaid flowchart, text alternative, and checklist'.
Contributor
Author
|
Hey @raj-jain-aws 👋 Same ask as #68 — would appreciate a merge commit instead of squash so the contribution shows up. Thanks! |
Member
|
Hi @inariku. You are already a contributor. We squash commits that show contribution, this PR shows your participation (no commits). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When stages complete,
aidlc-state.mdis updated correctly, butexecution-plan.mdis never updated. This leaves the execution plan with stale status values (e.g.,IN PROGRESSorEXECUTE) even after stages have finished.Solution
aidlc-docs/inception/plans/execution-plan.mdat every stage completion point across all rule-details files(Mermaid flowchart, text alternative, and checklist)to ensure all three representations are updatedcore-workflow.mdto ensure AI agents prioritize this updateChanges
core-workflow.md(1 file):Execution Plan Trackingas a MANDATORY Key PrincipleInception phase (7 files):
workflow-planning.md— update on user approval (numbered sub-list for visibility) + note in execution-plan templatereverse-engineering.md— Step 10: Update State Trackingrequirements-analysis.md— approval handlinguser-stories.md— Step 23: Update Progressapplication-design.md— Step 15: Update Progressunits-generation.md— Step 11 (Units Planning) and Step 19 (Units Generation)Construction phase (6 files):
functional-design.md— approval handlingnfr-requirements.md— approval handlingnfr-design.md— approval handlinginfrastructure-design.md— approval handlingcode-generation.md— Code Planning (Step 9) and Code Generation completionbuild-and-test.md— Step 8: Update State TrackingTest Evidence
Tested by running a full AI-DLC workflow (simple TODO CLI app in Python) with the modified rules in Kiro CLI.
Test Setup
.kiro/steering/and.kiro/aws-aidlc-rule-details/Using AI-DLC, create a simple TODO list CLI app in PythonResults —
execution-plan.mdstatus updatesIN PROGRESS→COMPLETEDEXECUTE→COMPLETEDEXECUTE→COMPLETEDBefore (Workflow Planning created, before approve)
After (Code Generation completed)
Key Findings
core-workflow.mdwas essential for making the AI consistently perform the updates. Without it (tested in earlier iterations), the AI skipped theexecution-plan.mdupdates despite instructions in individual stage files.Closes #23
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.