decomposer: generate deliverable files for Discover and structure the solution's functional requirements, non-functional requirements, constraints, assumptions, and open questions without selecting cloud products.; Select Google Cloud products from the confirmed requirements and produce the solution architecture, Mermaid diagram, architecture description, and Terraform infrastructure-as-code.; Validate the Terraform infrastructure and architecture artifacts without deploying resources by running formatting checks, Terraform validation, and a dry-run or plan-oriented deployment check.; Package the approved requirements, architecture, Mermaid diagram, Terraform IaC, and validation results into solution-architecture-guide.md in the gcp_solution_architecture_agent repository.; Verify that the gcp_solution_architecture_agent repository contains the packaged solution-architecture-guide.md with the approved workflow outputs.; Verify that the repository is derived from the workflow_agent template and implements the complete four-phase Google Cloud solution architecture workflow alongside the packaged guide.; Publish the verified gcp_solution_architecture_agent repository with its completed workflow implementation and solution architecture guide.; Verify that the published repository revision contains the completed workflow implementation and solution architecture guide.

This commit is contained in:
2026-09-01 19:47:05 +00:00
parent 43f0f5bc79
commit d73472eed4
15 changed files with 483 additions and 2 deletions

View File

@@ -0,0 +1,89 @@
# Plan Detail
## Step 0: Discover and structure the solution's functional requirements, non-functional requirements, constraints, assumptions, and open questions without selecting cloud products.
- **Capability:** Elicit and organize architecture requirements while explicitly deferring product selection.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** This is a deliverable phase in the requested GCP solution-architecture workflow, not an independently reusable registry capability.
- **Input schema:** `{'repository_name': 'string', 'template_url': 'string', 'workflow_request': 'string'}`
- **Output schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'open_questions': 'string[]', 'product_selection_deferred': 'boolean'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 1: Select Google Cloud products from the confirmed requirements and produce the solution architecture, Mermaid diagram, architecture description, and Terraform infrastructure-as-code.
- **Capability:** Translate confirmed functional and non-functional requirements into a Google Cloud product architecture and deployable Terraform artifacts.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** The architecture artifacts are specific to this workflow's requirements and belong in the requested deliverable repository rather than as a standalone registry agent.
- **Input schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'open_questions': 'string[]', 'product_selection_deferred': 'boolean'}`
- **Output schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'selected_products': 'string[]', 'architecture_diagram_mermaid': 'string', 'architecture_description': 'string', 'terraform_iac': 'string'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 2: Validate the Terraform infrastructure and architecture artifacts without deploying resources by running formatting checks, Terraform validation, and a dry-run or plan-oriented deployment check.
- **Capability:** Perform pre-deployment validation of Terraform and solution architecture outputs without provisioning cloud resources.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** Validation is a phase of this requested workflow and its checks are coupled to the Phase 2 Terraform output.
- **Input schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'selected_products': 'string[]', 'architecture_diagram_mermaid': 'string', 'architecture_description': 'string', 'terraform_iac': 'string'}`
- **Output schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'selected_products': 'string[]', 'architecture_diagram_mermaid': 'string', 'architecture_description': 'string', 'terraform_iac': 'string', 'terraform_format_valid': 'boolean', 'terraform_validation_valid': 'boolean', 'dry_run_valid': 'boolean', 'validation_findings': 'string[]'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 3: Package the approved requirements, architecture, Mermaid diagram, Terraform IaC, and validation results into solution-architecture-guide.md in the gcp_solution_architecture_agent repository.
- **Capability:** Consolidate validated solution architecture artifacts into a complete, reviewable solution architecture guide.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** The guide is the final deliverable for this repository and is not a standalone reusable capability.
- **Input schema:** `{'repository_name': 'string', 'template_url': 'string', 'functional_requirements': 'string[]', 'non_functional_requirements': 'string[]', 'constraints': 'string[]', 'assumptions': 'string[]', 'selected_products': 'string[]', 'architecture_diagram_mermaid': 'string', 'architecture_description': 'string', 'terraform_iac': 'string', 'terraform_format_valid': 'boolean', 'terraform_validation_valid': 'boolean', 'dry_run_valid': 'boolean', 'validation_findings': 'string[]'}`
- **Output schema:** `{'repository_name': 'string', 'solution_architecture_guide': 'string'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 4: Verify that the gcp_solution_architecture_agent repository contains the packaged solution-architecture-guide.md with the approved workflow outputs.
- **Capability:** Confirm repository delivery of the complete solution architecture guide.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** (none recorded)
- **Input schema:** `{'repository_name': 'string', 'solution_architecture_guide': 'string'}`
- **Output schema:** `{'repository_name': 'string', 'guide_path': 'string', 'guide_content': 'string', 'guide_persisted': 'boolean'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 5: Verify that the repository is derived from the workflow_agent template and implements the complete four-phase Google Cloud solution architecture workflow alongside the packaged guide.
- **Capability:** Inspect repository structure and workflow configuration to confirm template conformance, phase coverage, and delivery of the required architecture artifacts.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** (none recorded)
- **Input schema:** `{'repository_name': 'string', 'guide_path': 'string', 'guide_content': 'string', 'guide_persisted': 'boolean'}`
- **Output schema:** `{'repository_name': 'string', 'guide_path': 'string', 'guide_persisted': 'boolean', 'template_conformance_valid': 'boolean', 'phase_coverage_valid': 'boolean', 'required_artifacts_present': 'boolean', 'verification_findings': 'string[]'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 6: Publish the verified gcp_solution_architecture_agent repository with its completed workflow implementation and solution architecture guide.
- **Capability:** Persist and publish the verified repository contents to the configured source-control remote.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** (none recorded)
- **Input schema:** `{'repository_name': 'string', 'guide_path': 'string', 'guide_persisted': 'boolean', 'template_conformance_valid': 'boolean', 'phase_coverage_valid': 'boolean', 'required_artifacts_present': 'boolean', 'verification_findings': 'string[]'}`
- **Output schema:** `{'repository_name': 'string', 'published': 'boolean', 'published_revision': 'string', 'publication_findings': 'string[]'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)
## Step 7: Verify that the published repository revision contains the completed workflow implementation and solution architecture guide.
- **Capability:** Confirm the remote publication matches the verified repository contents at the reported revision.
- **Plan label:** gap
- **Reusable capability:** False
- **Rationale:** (none recorded)
- **Input schema:** `{'repository_name': 'string', 'published': 'boolean', 'published_revision': 'string', 'publication_findings': 'string[]'}`
- **Output schema:** `{'repository_name': 'string', 'published_revision': 'string', 'remote_revision_verified': 'boolean', 'published_content_verified': 'boolean', 'verification_findings': 'string[]'}`
- **Acceptance criteria:** (none)
- **Success conditions:** (none)

View File

@@ -0,0 +1,27 @@
# Plan Map
**Workflow:** wf-decompose-65ea49fc2d04
**Intent:** Build a KAB Workflow Agent repository named gcp_solution_architecture_agent using the workflow_agent template from https://gitea.kyndemo.live/agents/workflow_agent to implement the 4-phase Google Cloud Solution Architecture workflow (Phase 1: Requirements Discovery for functional and non-functional requirements without premature product selection; Phase 2: Solution Architecture including product selection, Mermaid architecture diagram generation, architecture description, and Terraform IaC; Phase 3: Pre-deployment dry-run validation; Phase 4: Solution packaging into solution-architecture-guide.md). The deliverable repository name is gcp_solution_architecture_agent.
**This repo covers:** step 0, step 1, step 2, step 3, step 4, step 5, step 6, step 7
## Dependency graph
- Step 0: no dependencies
- Step 1: depends on step 0
- Step 2: depends on step 0, step 1
- Step 3: depends on step 0, step 1, step 2
- Step 4: depends on step 0, step 1, step 2, step 3
- Step 5: depends on step 0, step 1, step 2, step 3, step 4
- Step 6: depends on step 0, step 1, step 2, step 3, step 4, step 5
- Step 7: depends on step 0, step 1, step 2, step 3, step 4, step 5, step 6
## Phase table
Phase 1: step 0
Phase 2: step 1
Phase 3: step 2
Phase 4: step 3
Phase 5: step 4
Phase 6: step 5
Phase 7: step 6
Phase 8: step 7