takt 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +98 -24
  2. package/dist/claude/client.d.ts +2 -0
  3. package/dist/claude/client.d.ts.map +1 -1
  4. package/dist/claude/client.js +3 -0
  5. package/dist/claude/client.js.map +1 -1
  6. package/dist/claude/executor.d.ts +2 -0
  7. package/dist/claude/executor.d.ts.map +1 -1
  8. package/dist/claude/executor.js +6 -0
  9. package/dist/claude/executor.js.map +1 -1
  10. package/dist/claude/process.d.ts +2 -0
  11. package/dist/claude/process.d.ts.map +1 -1
  12. package/dist/claude/process.js.map +1 -1
  13. package/dist/claude/stream-converter.d.ts.map +1 -1
  14. package/dist/claude/stream-converter.js +4 -0
  15. package/dist/claude/stream-converter.js.map +1 -1
  16. package/dist/claude/types.d.ts +1 -0
  17. package/dist/claude/types.d.ts.map +1 -1
  18. package/dist/cli.d.ts +5 -0
  19. package/dist/cli.d.ts.map +1 -1
  20. package/dist/cli.js +83 -9
  21. package/dist/cli.js.map +1 -1
  22. package/dist/codex/client.d.ts +2 -0
  23. package/dist/codex/client.d.ts.map +1 -1
  24. package/dist/codex/client.js +2 -1
  25. package/dist/codex/client.js.map +1 -1
  26. package/dist/commands/addTask.js +1 -1
  27. package/dist/commands/addTask.js.map +1 -1
  28. package/dist/commands/index.d.ts +1 -0
  29. package/dist/commands/index.d.ts.map +1 -1
  30. package/dist/commands/index.js +1 -0
  31. package/dist/commands/index.js.map +1 -1
  32. package/dist/commands/interactive.d.ts.map +1 -1
  33. package/dist/commands/interactive.js +37 -24
  34. package/dist/commands/interactive.js.map +1 -1
  35. package/dist/commands/pipelineExecution.d.ts +33 -0
  36. package/dist/commands/pipelineExecution.d.ts.map +1 -0
  37. package/dist/commands/pipelineExecution.js +191 -0
  38. package/dist/commands/pipelineExecution.js.map +1 -0
  39. package/dist/commands/session.d.ts +1 -1
  40. package/dist/commands/session.d.ts.map +1 -1
  41. package/dist/commands/session.js +5 -3
  42. package/dist/commands/session.js.map +1 -1
  43. package/dist/commands/workflowExecution.d.ts.map +1 -1
  44. package/dist/commands/workflowExecution.js +13 -20
  45. package/dist/commands/workflowExecution.js.map +1 -1
  46. package/dist/config/globalConfig.d.ts +10 -0
  47. package/dist/config/globalConfig.d.ts.map +1 -1
  48. package/dist/config/globalConfig.js +68 -2
  49. package/dist/config/globalConfig.js.map +1 -1
  50. package/dist/config/initialization.d.ts +9 -1
  51. package/dist/config/initialization.d.ts.map +1 -1
  52. package/dist/config/initialization.js +9 -1
  53. package/dist/config/initialization.js.map +1 -1
  54. package/dist/config/sessionStore.d.ts +9 -7
  55. package/dist/config/sessionStore.d.ts.map +1 -1
  56. package/dist/config/sessionStore.js +34 -9
  57. package/dist/config/sessionStore.js.map +1 -1
  58. package/dist/exitCodes.d.ts +13 -0
  59. package/dist/exitCodes.d.ts.map +1 -0
  60. package/dist/exitCodes.js +13 -0
  61. package/dist/exitCodes.js.map +1 -0
  62. package/dist/github/issue.d.ts.map +1 -1
  63. package/dist/github/issue.js +4 -4
  64. package/dist/github/issue.js.map +1 -1
  65. package/dist/github/pr.d.ts +39 -0
  66. package/dist/github/pr.d.ts.map +1 -0
  67. package/dist/github/pr.js +78 -0
  68. package/dist/github/pr.js.map +1 -0
  69. package/dist/models/schemas.d.ts +13 -0
  70. package/dist/models/schemas.d.ts.map +1 -1
  71. package/dist/models/schemas.js +12 -0
  72. package/dist/models/schemas.js.map +1 -1
  73. package/dist/models/types.d.ts +15 -0
  74. package/dist/models/types.d.ts.map +1 -1
  75. package/dist/providers/claude.d.ts.map +1 -1
  76. package/dist/providers/claude.js +3 -0
  77. package/dist/providers/claude.js.map +1 -1
  78. package/dist/providers/codex.d.ts.map +1 -1
  79. package/dist/providers/codex.js +3 -0
  80. package/dist/providers/codex.js.map +1 -1
  81. package/dist/providers/index.d.ts +4 -0
  82. package/dist/providers/index.d.ts.map +1 -1
  83. package/dist/providers/index.js.map +1 -1
  84. package/dist/task/clone.d.ts.map +1 -1
  85. package/dist/task/clone.js +18 -0
  86. package/dist/task/clone.js.map +1 -1
  87. package/dist/utils/session.d.ts +3 -9
  88. package/dist/utils/session.d.ts.map +1 -1
  89. package/dist/utils/session.js +1 -1
  90. package/dist/utils/session.js.map +1 -1
  91. package/dist/utils/ui.d.ts +1 -1
  92. package/dist/utils/ui.d.ts.map +1 -1
  93. package/dist/utils/ui.js +5 -2
  94. package/dist/utils/ui.js.map +1 -1
  95. package/dist/workflow/engine.d.ts.map +1 -1
  96. package/dist/workflow/engine.js +18 -9
  97. package/dist/workflow/engine.js.map +1 -1
  98. package/dist/workflow/types.d.ts +1 -1
  99. package/dist/workflow/types.d.ts.map +1 -1
  100. package/package.json +1 -1
  101. package/resources/global/en/config.yaml +16 -0
  102. package/resources/global/en/workflows/expert-cqrs.yaml +227 -357
  103. package/resources/global/en/workflows/expert.yaml +231 -359
  104. package/resources/global/ja/config.yaml +16 -0
  105. package/resources/global/ja/workflows/expert-cqrs.yaml +226 -356
  106. package/resources/global/ja/workflows/expert.yaml +230 -358
@@ -2,17 +2,16 @@
2
2
  # Review workflow with Architecture, Frontend, Security, and QA experts
3
3
  #
4
4
  # Flow:
5
- # plan -> implement -> ai_review -> architect_review -> frontend_review -> security_review -> qa_review -> supervise -> COMPLETE
6
- # ↓ ↓ ↓ ↓ ↓ ↓
7
- # ai_fix fix_architect fix_frontend fix_security fix_qa fix_supervisor
5
+ # plan -> implement -> ai_review -> reviewers (parallel) -> supervise -> COMPLETE
6
+ # ↓ ├─ arch-review
7
+ # ai_fix ├─ frontend-review fix_supervisor
8
+ # ├─ security-review
9
+ # └─ qa-review
10
+ # any("needs_fix") → fix → reviewers
8
11
  #
9
12
  # AI review runs immediately after implementation to catch AI-specific issues early,
10
13
  # before expert reviews begin.
11
14
  #
12
- # Fix destination is determined by Coder based on change impact:
13
- # - fix_security: MINOR->security_review, MAJOR->architect_review
14
- # - fix_qa: MINOR->qa_review, SECURITY->security_review, MAJOR->architect_review
15
- #
16
15
  # Boilerplate sections (Workflow Context, User Request, Previous Response,
17
16
  # Additional User Inputs, Instructions heading) are auto-injected by buildInstruction().
18
17
  # Only step-specific content belongs in instruction_template.
@@ -202,7 +201,7 @@ steps:
202
201
  - Scope creep detection
203
202
  rules:
204
203
  - condition: No AI-specific issues found
205
- next: architect_review
204
+ next: reviewers
206
205
  - condition: AI-specific issues detected
207
206
  next: ai_fix
208
207
 
@@ -236,238 +235,224 @@ steps:
236
235
  next: plan
237
236
 
238
237
  # ===========================================
239
- # Phase 3: Architecture Review
240
- # ===========================================
241
- - name: architect_review
242
- edit: false
243
- agent: ../agents/default/architecture-reviewer.md
244
- report:
245
- name: 04-architect-review.md
246
- format: |
247
- ```markdown
248
- # Architecture Review
249
-
250
- ## Result: APPROVE / IMPROVE / REJECT
251
-
252
- ## Summary
253
- {1-2 sentences summarizing result}
254
-
255
- ## Reviewed Aspects
256
- - [x] Structure/Design
257
- - [x] Code Quality
258
- - [x] Change Scope
259
- - [x] Test Coverage
260
- - [x] Dead Code
261
- - [x] Call Chain Verification
262
-
263
- ## Issues (if REJECT)
264
- | # | Location | Issue | Fix |
265
- |---|----------|-------|-----|
266
- | 1 | `src/file.ts:42` | Issue description | Fix method |
267
-
268
- ## Improvement Suggestions (optional - non-blocking)
269
- - {Future improvement suggestions}
270
- ```
271
-
272
- **Cognitive load reduction rules:**
273
- - APPROVE + no issues -> Summary only (5 lines or less)
274
- - APPROVE + minor suggestions -> Summary + suggestions (15 lines or less)
275
- - REJECT -> Issues in table format (30 lines or less)
276
- allowed_tools:
277
- - Read
278
- - Glob
279
- - Grep
280
- - Write
281
- - WebSearch
282
- - WebFetch
283
- instruction_template: |
284
- Focus on **architecture and design** review.
285
-
286
- **Review Criteria:**
287
- - Structure/design validity
288
- - Code quality
289
- - Change scope appropriateness
290
- - Test coverage
291
- - Dead code
292
- - Call chain verification
293
- rules:
294
- - condition: No architecture or design issues found
295
- next: frontend_review
296
- - condition: Minor improvements needed but no structural issues
297
- next: fix_architect
298
- - condition: Structural issues found that require fixes
299
- next: fix_architect
300
-
301
- - name: fix_architect
302
- edit: true
303
- agent: ../agents/default/coder.md
304
- allowed_tools:
305
- - Read
306
- - Glob
307
- - Grep
308
- - Edit
309
- - Write
310
- - Bash
311
- - WebSearch
312
- - WebFetch
313
- permission_mode: acceptEdits
314
- instruction_template: |
315
- ## Architect Feedback (This is the latest instruction - prioritize this)
316
- {previous_response}
317
-
318
- **Important**: Address the Architect's feedback.
319
- "Original User Request" is for reference; it's not the latest instruction.
320
- Review the session conversation history and fix the Architect's issues.
321
- pass_previous_response: true
322
- rules:
323
- - condition: Architect's issues have been fixed
324
- next: architect_review
325
- - condition: Unable to proceed with fixes
326
- next: plan
327
-
328
- # ===========================================
329
- # Phase 4: Frontend Review
330
- # ===========================================
331
- - name: frontend_review
332
- edit: false
333
- agent: ../agents/expert/frontend-reviewer.md
334
- report:
335
- name: 05-frontend-review.md
336
- format: |
337
- ```markdown
338
- # Frontend Review
339
-
340
- ## Result: APPROVE / REJECT
341
-
342
- ## Summary
343
- {1-2 sentences summarizing result}
344
-
345
- ## Reviewed Perspectives
346
- | Perspective | Result | Notes |
347
- |-------------|--------|-------|
348
- | Component Design | ✅ | - |
349
- | State Management | ✅ | - |
350
- | Performance | ✅ | - |
351
- | Accessibility | ✅ | - |
352
- | Type Safety | ✅ | - |
353
-
354
- ## Issues (if REJECT)
355
- | # | Location | Issue | Fix |
356
- |---|----------|-------|-----|
357
- | 1 | `src/file.tsx:42` | Issue description | Fix method |
358
- ```
359
- allowed_tools:
360
- - Read
361
- - Glob
362
- - Grep
363
- - Write
364
- - WebSearch
365
- - WebFetch
366
- instruction_template: |
367
- Review the changes from the frontend development perspective.
368
-
369
- **Review Criteria:**
370
- - Component design (separation of concerns, granularity)
371
- - State management (local/global decisions)
372
- - Performance (re-rendering, memoization)
373
- - Accessibility (keyboard support, ARIA)
374
- - Data fetching patterns
375
- - TypeScript type safety
376
-
377
- **Note**: If this project does not include frontend code,
378
- approve and proceed to the next step.
379
- rules:
380
- - condition: Frontend design is sound with no issues
381
- next: security_review
382
- - condition: Frontend design issues found
383
- next: fix_frontend
384
-
385
- - name: fix_frontend
386
- edit: true
387
- agent: ../agents/default/coder.md
388
- allowed_tools:
389
- - Read
390
- - Glob
391
- - Grep
392
- - Edit
393
- - Write
394
- - Bash
395
- - WebSearch
396
- - WebFetch
397
- instruction_template: |
398
- ## Frontend Review Feedback (This is the latest instruction - prioritize this)
399
- {previous_response}
400
-
401
- **Important**: Fix the issues pointed out by the frontend expert.
402
-
403
- Areas of concern:
404
- - Component design
405
- - State management
406
- - Performance
407
- - Accessibility
408
- - Type safety
409
- pass_previous_response: true
410
- rules:
411
- - condition: Frontend issues have been fixed
412
- next: frontend_review
413
- - condition: Unable to proceed with fixes
414
- next: plan
415
-
416
- # ===========================================
417
- # Phase 5: Security Review
238
+ # Phase 3: Expert Reviews (Parallel)
418
239
  # ===========================================
419
- - name: security_review
420
- edit: false
421
- agent: ../agents/expert/security-reviewer.md
422
- report:
423
- name: 06-security-review.md
424
- format: |
425
- ```markdown
426
- # Security Review
427
-
428
- ## Result: APPROVE / REJECT
429
-
430
- ## Severity: None / Low / Medium / High / Critical
431
-
432
- ## Check Results
433
- | Category | Result | Notes |
434
- |----------|--------|-------|
435
- | Injection | ✅ | - |
436
- | Auth/Authz | ✅ | - |
437
- | Data Protection | ✅ | - |
438
- | Dependencies | ✅ | - |
439
-
440
- ## Vulnerabilities (if REJECT)
441
- | # | Severity | Type | Location | Fix |
442
- |---|----------|------|----------|-----|
443
- | 1 | High | SQLi | `src/db.ts:42` | Use parameterized query |
444
-
445
- ## Warnings (non-blocking)
446
- - {Security recommendations}
447
- ```
448
- allowed_tools:
449
- - Read
450
- - Glob
451
- - Grep
452
- - Write
453
- - WebSearch
454
- - WebFetch
455
- instruction_template: |
456
- Review the changes from the security perspective.
457
-
458
- **Review Criteria:**
459
- - Injection attacks (SQL, command, XSS)
460
- - Authentication/authorization flaws
461
- - Sensitive information handling
462
- - Encryption appropriateness
463
- - OWASP Top 10
240
+ - name: reviewers
241
+ parallel:
242
+ - name: arch-review
243
+ edit: false
244
+ agent: ../agents/default/architecture-reviewer.md
245
+ report:
246
+ name: 04-architect-review.md
247
+ format: |
248
+ ```markdown
249
+ # Architecture Review
250
+
251
+ ## Result: APPROVE / IMPROVE / REJECT
252
+
253
+ ## Summary
254
+ {1-2 sentences summarizing result}
255
+
256
+ ## Reviewed Aspects
257
+ - [x] Structure/Design
258
+ - [x] Code Quality
259
+ - [x] Change Scope
260
+ - [x] Test Coverage
261
+ - [x] Dead Code
262
+ - [x] Call Chain Verification
263
+
264
+ ## Issues (if REJECT)
265
+ | # | Location | Issue | Fix |
266
+ |---|----------|-------|-----|
267
+ | 1 | `src/file.ts:42` | Issue description | Fix method |
268
+
269
+ ## Improvement Suggestions (optional - non-blocking)
270
+ - {Future improvement suggestions}
271
+ ```
272
+
273
+ **Cognitive load reduction rules:**
274
+ - APPROVE + no issues -> Summary only (5 lines or less)
275
+ - APPROVE + minor suggestions -> Summary + suggestions (15 lines or less)
276
+ - REJECT -> Issues in table format (30 lines or less)
277
+ allowed_tools:
278
+ - Read
279
+ - Glob
280
+ - Grep
281
+ - Write
282
+ - WebSearch
283
+ - WebFetch
284
+ rules:
285
+ - condition: approved
286
+ - condition: needs_fix
287
+ instruction_template: |
288
+ Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review step).
289
+
290
+ **Review Criteria:**
291
+ - Structure/design validity
292
+ - Code quality
293
+ - Change scope appropriateness
294
+ - Test coverage
295
+ - Dead code
296
+ - Call chain verification
297
+
298
+ - name: frontend-review
299
+ edit: false
300
+ agent: ../agents/expert/frontend-reviewer.md
301
+ report:
302
+ name: 05-frontend-review.md
303
+ format: |
304
+ ```markdown
305
+ # Frontend Review
306
+
307
+ ## Result: APPROVE / REJECT
308
+
309
+ ## Summary
310
+ {1-2 sentences summarizing result}
311
+
312
+ ## Reviewed Perspectives
313
+ | Perspective | Result | Notes |
314
+ |-------------|--------|-------|
315
+ | Component Design | ✅ | - |
316
+ | State Management | ✅ | - |
317
+ | Performance | ✅ | - |
318
+ | Accessibility | ✅ | - |
319
+ | Type Safety | ✅ | - |
320
+
321
+ ## Issues (if REJECT)
322
+ | # | Location | Issue | Fix |
323
+ |---|----------|-------|-----|
324
+ | 1 | `src/file.tsx:42` | Issue description | Fix method |
325
+ ```
326
+ allowed_tools:
327
+ - Read
328
+ - Glob
329
+ - Grep
330
+ - Write
331
+ - WebSearch
332
+ - WebFetch
333
+ rules:
334
+ - condition: approved
335
+ - condition: needs_fix
336
+ instruction_template: |
337
+ Review the changes from the frontend development perspective.
338
+
339
+ **Review Criteria:**
340
+ - Component design (separation of concerns, granularity)
341
+ - State management (local/global decisions)
342
+ - Performance (re-rendering, memoization)
343
+ - Accessibility (keyboard support, ARIA)
344
+ - Data fetching patterns
345
+ - TypeScript type safety
346
+
347
+ **Note**: If this project does not include frontend code,
348
+ approve and proceed to the next step.
349
+
350
+ - name: security-review
351
+ edit: false
352
+ agent: ../agents/expert/security-reviewer.md
353
+ report:
354
+ name: 06-security-review.md
355
+ format: |
356
+ ```markdown
357
+ # Security Review
358
+
359
+ ## Result: APPROVE / REJECT
360
+
361
+ ## Severity: None / Low / Medium / High / Critical
362
+
363
+ ## Check Results
364
+ | Category | Result | Notes |
365
+ |----------|--------|-------|
366
+ | Injection | ✅ | - |
367
+ | Auth/Authz | ✅ | - |
368
+ | Data Protection | ✅ | - |
369
+ | Dependencies | ✅ | - |
370
+
371
+ ## Vulnerabilities (if REJECT)
372
+ | # | Severity | Type | Location | Fix |
373
+ |---|----------|------|----------|-----|
374
+ | 1 | High | SQLi | `src/db.ts:42` | Use parameterized query |
375
+
376
+ ## Warnings (non-blocking)
377
+ - {Security recommendations}
378
+ ```
379
+
380
+ **Cognitive load reduction rules:**
381
+ - No issues -> Check table only (10 lines or less)
382
+ - Warnings -> + Warnings 1-2 lines (15 lines or less)
383
+ - Vulnerabilities -> + Table format (30 lines or less)
384
+ allowed_tools:
385
+ - Read
386
+ - Glob
387
+ - Grep
388
+ - Write
389
+ - WebSearch
390
+ - WebFetch
391
+ rules:
392
+ - condition: approved
393
+ - condition: needs_fix
394
+ instruction_template: |
395
+ Perform security review on the changes. Check for vulnerabilities including:
396
+ - Injection attacks (SQL, Command, XSS)
397
+ - Authentication/Authorization issues
398
+ - Data exposure risks
399
+ - Cryptographic weaknesses
400
+
401
+ - name: qa-review
402
+ edit: false
403
+ agent: ../agents/expert/qa-reviewer.md
404
+ report:
405
+ name: 07-qa-review.md
406
+ format: |
407
+ ```markdown
408
+ # QA Review
409
+
410
+ ## Result: APPROVE / REJECT
411
+
412
+ ## Summary
413
+ {1-2 sentences summarizing result}
414
+
415
+ ## Reviewed Perspectives
416
+ | Perspective | Result | Notes |
417
+ |-------------|--------|-------|
418
+ | Test Coverage | ✅ | - |
419
+ | Test Quality | ✅ | - |
420
+ | Error Handling | ✅ | - |
421
+ | Documentation | ✅ | - |
422
+ | Maintainability | ✅ | - |
423
+
424
+ ## Issues (if REJECT)
425
+ | # | Category | Issue | Fix |
426
+ |---|----------|-------|-----|
427
+ | 1 | Testing | Issue description | Fix method |
428
+ ```
429
+ allowed_tools:
430
+ - Read
431
+ - Glob
432
+ - Grep
433
+ - Write
434
+ - WebSearch
435
+ - WebFetch
436
+ rules:
437
+ - condition: approved
438
+ - condition: needs_fix
439
+ instruction_template: |
440
+ Review the changes from the quality assurance perspective.
441
+
442
+ **Review Criteria:**
443
+ - Test coverage and quality
444
+ - Test strategy (unit/integration/E2E)
445
+ - Documentation (in-code and external)
446
+ - Error handling
447
+ - Logging and monitoring
448
+ - Maintainability
464
449
  rules:
465
- - condition: No security issues found
466
- next: qa_review
467
- - condition: Security vulnerabilities detected
468
- next: fix_security
450
+ - condition: all("approved")
451
+ next: supervise
452
+ - condition: any("needs_fix")
453
+ next: fix
469
454
 
470
- - name: fix_security
455
+ - name: fix
471
456
  edit: true
472
457
  agent: ../agents/default/coder.md
473
458
  allowed_tools:
@@ -479,136 +464,23 @@ steps:
479
464
  - Bash
480
465
  - WebSearch
481
466
  - WebFetch
482
- instruction_template: |
483
- ## Security Review Feedback (This is the latest instruction - prioritize this)
484
- {previous_response}
485
-
486
- **Important**: Fix the issues pointed out by the security expert.
487
- Security issues should be addressed with highest priority.
488
-
489
- Areas of concern:
490
- - Injection vulnerabilities
491
- - Authentication/authorization flaws
492
- - Sensitive information exposure
493
- - Encryption issues
494
-
495
- ## Completion: Determine Change Impact
496
- When fix is complete, judge the **impact scope of changes**:
497
-
498
- - Minor fix (re-run security review only)
499
- - Examples: Add validation, add escaping, configuration changes
500
- - Major fix (restart from Architecture review)
501
- - Examples: Data flow changes, API design changes, auth method changes, domain model changes
502
- pass_previous_response: true
467
+ permission_mode: acceptEdits
503
468
  rules:
504
- - condition: Minor security fix is complete
505
- next: security_review
506
- - condition: Major fix applied requiring architecture re-review
507
- next: architect_review
508
- - condition: Unable to proceed with fixes
469
+ - condition: Fix complete
470
+ next: reviewers
471
+ - condition: Cannot proceed, insufficient info
509
472
  next: plan
510
-
511
- # ===========================================
512
- # Phase 6: QA Review
513
- # ===========================================
514
- - name: qa_review
515
- edit: false
516
- agent: ../agents/expert/qa-reviewer.md
517
- report:
518
- name: 07-qa-review.md
519
- format: |
520
- ```markdown
521
- # QA Review
522
-
523
- ## Result: APPROVE / REJECT
524
-
525
- ## Summary
526
- {1-2 sentences summarizing result}
527
-
528
- ## Reviewed Perspectives
529
- | Perspective | Result | Notes |
530
- |-------------|--------|-------|
531
- | Test Coverage | ✅ | - |
532
- | Test Quality | ✅ | - |
533
- | Error Handling | ✅ | - |
534
- | Documentation | ✅ | - |
535
- | Maintainability | ✅ | - |
536
-
537
- ## Issues (if REJECT)
538
- | # | Category | Issue | Fix |
539
- |---|----------|-------|-----|
540
- | 1 | Testing | Issue description | Fix method |
541
- ```
542
- allowed_tools:
543
- - Read
544
- - Glob
545
- - Grep
546
- - Write
547
- - WebSearch
548
- - WebFetch
549
- instruction_template: |
550
- Review the changes from the quality assurance perspective.
551
-
552
- **Review Criteria:**
553
- - Test coverage and quality
554
- - Test strategy (unit/integration/E2E)
555
- - Documentation (in-code and external)
556
- - Error handling
557
- - Logging and monitoring
558
- - Maintainability
559
- rules:
560
- - condition: Quality standards are met
561
- next: supervise
562
- - condition: Quality issues found
563
- next: fix_qa
564
-
565
- - name: fix_qa
566
- edit: true
567
- agent: ../agents/default/coder.md
568
- allowed_tools:
569
- - Read
570
- - Glob
571
- - Grep
572
- - Edit
573
- - Write
574
- - Bash
575
- - WebSearch
576
- - WebFetch
577
473
  instruction_template: |
578
- ## QA Review Feedback (This is the latest instruction - prioritize this)
474
+ ## Review Feedback (This is the latest instruction - prioritize this)
579
475
  {previous_response}
580
476
 
581
- **Important**: Fix the issues pointed out by the QA expert.
582
-
583
- Areas of concern:
584
- - Adding/improving tests
585
- - Adding/fixing documentation
586
- - Error handling
587
- - Log output
588
- - Code quality
589
-
590
- ## Completion: Determine Change Impact
591
- When fix is complete, judge the **impact scope of changes**:
592
-
593
- - Minor fix (re-run QA review only)
594
- - Examples: Add tests, add documentation, add logs, add comments
595
- - Security-impacting fix (restart from security review)
596
- - Examples: Error handling changes (error message content changes), input validation changes
597
- - Major fix (restart from Architecture review)
598
- - Examples: Business logic changes, data model changes, API changes
477
+ **Important**: Address the feedback from the reviewers.
478
+ The "Original User Request" is reference information, not the latest instruction.
479
+ Review the session conversation history and fix the issues raised by the reviewers.
599
480
  pass_previous_response: true
600
- rules:
601
- - condition: Minor QA fix is complete
602
- next: qa_review
603
- - condition: Security-impacting fix applied
604
- next: security_review
605
- - condition: Major fix applied requiring architecture re-review
606
- next: architect_review
607
- - condition: Unable to proceed with fixes
608
- next: plan
609
481
 
610
482
  # ===========================================
611
- # Phase 7: Supervision
483
+ # Phase 4: Supervision
612
484
  # ===========================================
613
485
  - name: supervise
614
486
  edit: false
@@ -21,6 +21,22 @@ provider: claude
21
21
  # Codex: gpt-5.2-codex, gpt-5.1-codex など
22
22
  # model: sonnet
23
23
 
24
+ # Anthropic APIキー (オプション、環境変数 TAKT_ANTHROPIC_API_KEY で上書き可能)
25
+ # anthropic_api_key: ""
26
+
27
+ # OpenAI APIキー (オプション、環境変数 TAKT_OPENAI_API_KEY で上書き可能)
28
+ # openai_api_key: ""
29
+
30
+ # パイプライン実行設定 (オプション)
31
+ # パイプラインモード (--task) のブランチ名、コミットメッセージ、PRの本文をカスタマイズできます。
32
+ # pipeline:
33
+ # default_branch_prefix: "takt/"
34
+ # commit_message_template: "feat: {title} (#{issue})"
35
+ # pr_body_template: |
36
+ # ## Summary
37
+ # {issue_body}
38
+ # Closes #{issue}
39
+
24
40
  # デバッグ設定 (オプション)
25
41
  # debug:
26
42
  # enabled: false