--- name: 'step-01-load-story-and-changes' description: 'Load target story, gather git deltas, and establish review scope' nextStepFile: './step-02-build-attack-plan.md' --- Use provided {{story_path}} or ask user which story file to review Read COMPLETE story file Set {{story_key}} = extracted key from filename (e.g., "1-2-user-authentication.md" → "1-2-user-authentication") or story metadata Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Agent Record → File List, Change Log Check if git repository detected in current directory Run `git status --porcelain` to find uncommitted changes Run `git diff --name-only` to see modified files Run `git diff --cached --name-only` to see staged files Compile list of actually changed files from git output Compare story's Dev Agent Record → File List with actual git changes Note discrepancies: - Files in git but not in story File List - Files in story File List but no git changes - Missing documentation of what was actually changed Load {project_context} for coding standards (if exists) ## Next - Read fully and follow: `./step-02-build-attack-plan.md`.