name: review-fix-takt-default
description: Workflow that gathers the review target, then injects TAKT-specific facets into the shared development flow.
max_steps: 52
initial_step: gather
steps:
  - name: gather
    uses: gather
    rules:
      - condition: Review target information gathered
        next: develop
      - condition: Cannot identify review target, insufficient info
        next: ABORT
        appendix: |
          Questions:
          - {question1}
          - {question2}
  - name: develop
    description: Apply TAKT-specific rules and carry out planning, tests, implementation, review, finding repairs, and final confirmation of requirement fulfillment.
    kind: workflow_call
    call: development-core
    args:
      plan_policy:
        - design-planning
        - architecture
        - takt
      plan_knowledge:
        - takt
        - architecture
      testing_policy:
        - coding
        - testing
        - takt-testing
        - architecture
        - takt
      testing_knowledge:
        - takt
        - architecture
        - unit-testing
        - e2e-testing
      development_policy:
        - coding
        - testing
        - takt-testing
        - ai-antipattern
        - architecture
        - implementation-semantics
        - takt
        - task-decomposition
      development_knowledge:
        - takt
        - architecture
        - task-decomposition
        - implementation-semantics
      implementation_instruction: development-implement-with-reports
      review_policy:
        - coding
        - testing
        - takt-testing-review
        - review
        - architecture
        - takt
      review_knowledge:
        - takt
        - architecture
        - unit-testing
        - e2e-testing
      security_review_pool: takt-security-review-facets
      security_review_knowledge_additions:
        - takt
    rules:
      - condition: COMPLETE
        next: COMPLETE
      - condition: ABORT
        next: ABORT
