name: 'step-01-init' description: 'Initialize the architecture workflow, validate readiness, and discover input documents'
workflow_path: '{installed_path}'
thisStepFile: './step-01-init.md' continueStepFile: './step-01b-continue.md' nextStepFile: './step-02-context.md' workflowFile: '{workflow_path}/workflow.md' outputFile: '{output_folder}/game-architecture.md' templateFile: '{workflow_path}/templates/architecture-template.md'
decisionCatalog: '{workflow_path}/decision-catalog.yaml' architecturePatterns: '{workflow_path}/architecture-patterns.yaml'
Progress: Step 1 of 9 - Next: Project Context
Validate workflow readiness, check for existing architecture work, discover input documents (GDD, Epics), and initialize the output document with proper frontmatter.
{communication_language}stepsCompleted: [1] before loading next stepSearch for existing architecture document:
Look for existing architecture files in {output_folder}:
*architecture*.md*arch*.mdIf existing architecture found:
"I found an existing architecture document: {{existing_file}}
Options:
Which would you like to do?"
Handle user selection:
{continueStepFile}Search for GDD:
Look for GDD files using patterns:
{output_folder}/*gdd*.md{output_folder}/*game-design*.mdIf GDD not found:
"GDD Not Found
The Architecture workflow works from your Game Design Document (GDD).
The GDD provides:
Please run the GDD workflow first: create-gdd"
Exit workflow - GDD required
If GDD found:
"Input Document Found:
{{gdd_file}}I'll analyze this to understand your game's technical requirements."
Search for additional documents:
{output_folder}/*epic*.md{output_folder}/*brief*.md{output_folder}/*narrative*.mdReport findings:
"Additional Documents Found: {{list_of_found_documents}}
These will provide additional context for architectural decisions."
Present start confirmation:
"Ready to Start Architecture Workflow
{{user_name}}, I'm ready to help you create the game architecture for your project.
What we'll cover:
Input documents:
{{gdd_file}}
{{additional_documents_list}}The goal: Create an architecture document that ensures all AI agents implement your game consistently.
Ready to begin? [Y/N]"
If user confirms, create the initial document:
Create {outputFile} with frontmatter:
---
title: 'Game Architecture'
project: '{{project_name}}'
date: '{{date}}'
author: '{{user_name}}'
version: '1.0'
stepsCompleted: [1]
status: 'in-progress'
# Source Documents
gdd: '{{gdd_file}}'
epics: '{{epics_file_or_null}}'
brief: '{{brief_file_or_null}}'
---
# Game Architecture
## Document Status
This architecture document is being created through the GDS Architecture Workflow.
**Steps Completed:** 1 of 9 (Initialize)
---
_Content will be added as we progress through the workflow._
After initialization:
stepsCompleted: [1]{nextStepFile}Master Rule: Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.