Pattern Check
建立:2026-05-25
· 最後編輯:2026-05-25
sequenceDiagram
participant Cron as ⏰ Cron (每週一)
participant PC as pattern-check
participant Kiro as Kiro CLI
participant GH as GitHub
participant IF as issue-fix
Cron->>PC: 觸發
PC->>Kiro: scan (pattern-scanner)
Kiro-->>PC: pattern catalog
par 9 shards 平行
PC->>Kiro: detect (inconsistency-detector)
Kiro-->>PC: 不一致報告
end
PC->>Kiro: validate (pattern-validator)
Kiro-->>PC: 驗證結果
PC->>GH: 建立 Issues (+ kiro-fix label)
Note over GH,IF: Issue 加上 kiro-fix label 觸發
GH->>IF: labeled event
IF->>Kiro: issue-triager (問題分類)
Kiro-->>IF: 分類結果
IF->>GH: 發佈分類 comment
IF->>Kiro: issue-fixer (自動修復)
Kiro-->>IF: 程式碼變更
IF->>GH: 建立 PR (kiro-fix/issue-N)