Skip to content

Commit 6db4d19

Browse files
committed
Update WPCC-AI-DDTK-INTEGRATION.md
1 parent aadf7d3 commit 6db4d19

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

ask_self/WPCC-AI-DDTK-INTEGRATION.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,20 @@ the current and planned architecture.
3636
│ │ │ ┌───────────────┐ │ │ ┌────────────────┐ │ │ │
3737
│ │ │ │ grep patterns │ │ │ │ Return shapes │ │ │ │
3838
│ │ │ │ (54 rules) │ │ │ │ Contract checks│ │ │ │
39-
│ │ │ └───────────────┘ │ │ │ Hook registr. │ │ │ │
40-
│ │ │ ┌───────────────┐ │ │ └────────────────┘ │ │ │
41-
│ │ │ │ Semgrep rules │ │ │ │ │ │
42-
│ │ │ │ (pilot, opt.) │ │ │ wpcc-ast-check.php │ │ │
43-
│ │ │ └───────────────┘ │ └──────────────────────┘ │ │
44-
│ │ │ │ │ │
45-
│ │ │ check-performance │ Findings: │ │
46-
│ │ │ .sh │ · missing return keys │ │
47-
│ │ └─────────────────────┘ · shape mismatches │ │
48-
│ │ · contract violations │ │
39+
│ │ │ └───────────────┘ │ │ │ Hook arg count │ │ │ │
40+
│ │ │ ┌───────────────┐ │ │ │ Priority clash │ │ │ │
41+
│ │ │ │ Semgrep rules │ │ │ │ Fire arg count │ │ │ │
42+
│ │ │ │ (pilot, opt.) │ │ │ │ Hook inventory │ │ │ │
43+
│ │ │ └───────────────┘ │ │ └────────────────┘ │ │ │
44+
│ │ │ │ │ │ │ │
45+
│ │ │ check-performance │ │ wpcc-ast-check.php │ │ │
46+
│ │ │ .sh │ └──────────────────────┘ │ │
47+
│ │ └─────────────────────┘ │ │
48+
│ │ Findings: │ │
49+
│ │ Findings: · missing return keys │ │
50+
│ │ · security patterns · shape mismatches │ │
51+
│ │ · performance anti-patterns · hook arg mismatches │ │
52+
│ │ · unbounded queries · priority conflicts │ │
4953
│ │ Findings: │ │
5054
│ │ · security patterns ◄── violations? → fix, loop to Step 1 │ │
5155
│ │ · performance anti-patterns │ │
@@ -523,7 +527,7 @@ Fix-Iterate Loop (AI-DDTK)
523527
"properties": {
524528
"rule": {
525529
"type": "string",
526-
"enum": ["return-array-shape"],
530+
"enum": ["return-array-shape", "hook-arg-mismatch", "hook-inventory"],
527531
"description": "Which AST rule to run"
528532
},
529533
"paths": {

0 commit comments

Comments
 (0)