claude-mpm 5.4.59__py3-none-any.whl → 5.4.64__py3-none-any.whl

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.

Potentially problematic release.


This version of claude-mpm might be problematic. Click here for more details.

Files changed (129) hide show
  1. claude_mpm/VERSION +1 -1
  2. claude_mpm/agents/CLAUDE_MPM_TEACHER_OUTPUT_STYLE.md +5 -0
  3. claude_mpm/cli/startup.py +14 -9
  4. claude_mpm/scripts/start_activity_logging.py +0 -0
  5. claude_mpm/services/agents/deployment/agent_template_builder.py +8 -0
  6. claude_mpm/skills/bundled/collaboration/brainstorming/SKILL.md +79 -0
  7. claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/SKILL.md +178 -0
  8. claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/agent-prompts.md +577 -0
  9. claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/coordination-patterns.md +467 -0
  10. claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/examples.md +537 -0
  11. claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/troubleshooting.md +730 -0
  12. claude_mpm/skills/bundled/collaboration/git-worktrees.md +317 -0
  13. claude_mpm/skills/bundled/collaboration/requesting-code-review/SKILL.md +112 -0
  14. claude_mpm/skills/bundled/collaboration/requesting-code-review/references/code-reviewer-template.md +146 -0
  15. claude_mpm/skills/bundled/collaboration/requesting-code-review/references/review-examples.md +412 -0
  16. claude_mpm/skills/bundled/collaboration/stacked-prs.md +251 -0
  17. claude_mpm/skills/bundled/collaboration/writing-plans/SKILL.md +81 -0
  18. claude_mpm/skills/bundled/collaboration/writing-plans/references/best-practices.md +362 -0
  19. claude_mpm/skills/bundled/collaboration/writing-plans/references/plan-structure-templates.md +312 -0
  20. claude_mpm/skills/bundled/debugging/root-cause-tracing/SKILL.md +152 -0
  21. claude_mpm/skills/bundled/debugging/root-cause-tracing/references/advanced-techniques.md +668 -0
  22. claude_mpm/skills/bundled/debugging/root-cause-tracing/references/examples.md +587 -0
  23. claude_mpm/skills/bundled/debugging/root-cause-tracing/references/integration.md +438 -0
  24. claude_mpm/skills/bundled/debugging/root-cause-tracing/references/tracing-techniques.md +391 -0
  25. claude_mpm/skills/bundled/debugging/systematic-debugging/CREATION-LOG.md +119 -0
  26. claude_mpm/skills/bundled/debugging/systematic-debugging/SKILL.md +148 -0
  27. claude_mpm/skills/bundled/debugging/systematic-debugging/references/anti-patterns.md +483 -0
  28. claude_mpm/skills/bundled/debugging/systematic-debugging/references/examples.md +452 -0
  29. claude_mpm/skills/bundled/debugging/systematic-debugging/references/troubleshooting.md +449 -0
  30. claude_mpm/skills/bundled/debugging/systematic-debugging/references/workflow.md +411 -0
  31. claude_mpm/skills/bundled/debugging/systematic-debugging/test-academic.md +14 -0
  32. claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-1.md +58 -0
  33. claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-2.md +68 -0
  34. claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-3.md +69 -0
  35. claude_mpm/skills/bundled/debugging/verification-before-completion/SKILL.md +131 -0
  36. claude_mpm/skills/bundled/debugging/verification-before-completion/references/gate-function.md +325 -0
  37. claude_mpm/skills/bundled/debugging/verification-before-completion/references/integration-and-workflows.md +490 -0
  38. claude_mpm/skills/bundled/debugging/verification-before-completion/references/red-flags-and-failures.md +425 -0
  39. claude_mpm/skills/bundled/debugging/verification-before-completion/references/verification-patterns.md +499 -0
  40. claude_mpm/skills/bundled/infrastructure/env-manager/INTEGRATION.md +611 -0
  41. claude_mpm/skills/bundled/infrastructure/env-manager/README.md +596 -0
  42. claude_mpm/skills/bundled/infrastructure/env-manager/SKILL.md +260 -0
  43. claude_mpm/skills/bundled/infrastructure/env-manager/examples/nextjs-env-structure.md +315 -0
  44. claude_mpm/skills/bundled/infrastructure/env-manager/references/frameworks.md +436 -0
  45. claude_mpm/skills/bundled/infrastructure/env-manager/references/security.md +433 -0
  46. claude_mpm/skills/bundled/infrastructure/env-manager/references/synchronization.md +452 -0
  47. claude_mpm/skills/bundled/infrastructure/env-manager/references/troubleshooting.md +404 -0
  48. claude_mpm/skills/bundled/infrastructure/env-manager/references/validation.md +420 -0
  49. claude_mpm/skills/bundled/main/artifacts-builder/SKILL.md +86 -0
  50. claude_mpm/skills/bundled/main/internal-comms/SKILL.md +43 -0
  51. claude_mpm/skills/bundled/main/internal-comms/examples/3p-updates.md +47 -0
  52. claude_mpm/skills/bundled/main/internal-comms/examples/company-newsletter.md +65 -0
  53. claude_mpm/skills/bundled/main/internal-comms/examples/faq-answers.md +30 -0
  54. claude_mpm/skills/bundled/main/internal-comms/examples/general-comms.md +16 -0
  55. claude_mpm/skills/bundled/main/mcp-builder/SKILL.md +160 -0
  56. claude_mpm/skills/bundled/main/mcp-builder/reference/design_principles.md +412 -0
  57. claude_mpm/skills/bundled/main/mcp-builder/reference/evaluation.md +602 -0
  58. claude_mpm/skills/bundled/main/mcp-builder/reference/mcp_best_practices.md +915 -0
  59. claude_mpm/skills/bundled/main/mcp-builder/reference/node_mcp_server.md +916 -0
  60. claude_mpm/skills/bundled/main/mcp-builder/reference/python_mcp_server.md +752 -0
  61. claude_mpm/skills/bundled/main/mcp-builder/reference/workflow.md +1237 -0
  62. claude_mpm/skills/bundled/main/skill-creator/SKILL.md +189 -0
  63. claude_mpm/skills/bundled/main/skill-creator/references/best-practices.md +500 -0
  64. claude_mpm/skills/bundled/main/skill-creator/references/creation-workflow.md +464 -0
  65. claude_mpm/skills/bundled/main/skill-creator/references/examples.md +619 -0
  66. claude_mpm/skills/bundled/main/skill-creator/references/progressive-disclosure.md +437 -0
  67. claude_mpm/skills/bundled/main/skill-creator/references/skill-structure.md +231 -0
  68. claude_mpm/skills/bundled/php/espocrm-development/SKILL.md +170 -0
  69. claude_mpm/skills/bundled/php/espocrm-development/references/architecture.md +602 -0
  70. claude_mpm/skills/bundled/php/espocrm-development/references/common-tasks.md +821 -0
  71. claude_mpm/skills/bundled/php/espocrm-development/references/development-workflow.md +742 -0
  72. claude_mpm/skills/bundled/php/espocrm-development/references/frontend-customization.md +726 -0
  73. claude_mpm/skills/bundled/php/espocrm-development/references/hooks-and-services.md +764 -0
  74. claude_mpm/skills/bundled/php/espocrm-development/references/testing-debugging.md +831 -0
  75. claude_mpm/skills/bundled/pm/pm-delegation-patterns/SKILL.md +167 -0
  76. claude_mpm/skills/bundled/pm/pm-git-file-tracking/SKILL.md +113 -0
  77. claude_mpm/skills/bundled/pm/pm-pr-workflow/SKILL.md +124 -0
  78. claude_mpm/skills/bundled/pm/pm-ticketing-integration/SKILL.md +154 -0
  79. claude_mpm/skills/bundled/pm/pm-verification-protocols/SKILL.md +198 -0
  80. claude_mpm/skills/bundled/react/flexlayout-react.md +742 -0
  81. claude_mpm/skills/bundled/rust/desktop-applications/SKILL.md +226 -0
  82. claude_mpm/skills/bundled/rust/desktop-applications/references/architecture-patterns.md +901 -0
  83. claude_mpm/skills/bundled/rust/desktop-applications/references/native-gui-frameworks.md +901 -0
  84. claude_mpm/skills/bundled/rust/desktop-applications/references/platform-integration.md +775 -0
  85. claude_mpm/skills/bundled/rust/desktop-applications/references/state-management.md +937 -0
  86. claude_mpm/skills/bundled/rust/desktop-applications/references/tauri-framework.md +770 -0
  87. claude_mpm/skills/bundled/rust/desktop-applications/references/testing-deployment.md +961 -0
  88. claude_mpm/skills/bundled/tauri/tauri-async-patterns.md +495 -0
  89. claude_mpm/skills/bundled/tauri/tauri-build-deploy.md +599 -0
  90. claude_mpm/skills/bundled/tauri/tauri-command-patterns.md +535 -0
  91. claude_mpm/skills/bundled/tauri/tauri-error-handling.md +613 -0
  92. claude_mpm/skills/bundled/tauri/tauri-event-system.md +648 -0
  93. claude_mpm/skills/bundled/tauri/tauri-file-system.md +673 -0
  94. claude_mpm/skills/bundled/tauri/tauri-frontend-integration.md +767 -0
  95. claude_mpm/skills/bundled/tauri/tauri-performance.md +669 -0
  96. claude_mpm/skills/bundled/tauri/tauri-state-management.md +573 -0
  97. claude_mpm/skills/bundled/tauri/tauri-testing.md +384 -0
  98. claude_mpm/skills/bundled/tauri/tauri-window-management.md +628 -0
  99. claude_mpm/skills/bundled/testing/condition-based-waiting/SKILL.md +119 -0
  100. claude_mpm/skills/bundled/testing/condition-based-waiting/references/patterns-and-implementation.md +253 -0
  101. claude_mpm/skills/bundled/testing/test-driven-development/SKILL.md +145 -0
  102. claude_mpm/skills/bundled/testing/test-driven-development/references/anti-patterns.md +543 -0
  103. claude_mpm/skills/bundled/testing/test-driven-development/references/examples.md +741 -0
  104. claude_mpm/skills/bundled/testing/test-driven-development/references/integration.md +470 -0
  105. claude_mpm/skills/bundled/testing/test-driven-development/references/philosophy.md +458 -0
  106. claude_mpm/skills/bundled/testing/test-driven-development/references/workflow.md +639 -0
  107. claude_mpm/skills/bundled/testing/test-quality-inspector/SKILL.md +458 -0
  108. claude_mpm/skills/bundled/testing/test-quality-inspector/examples/example-inspection-report.md +411 -0
  109. claude_mpm/skills/bundled/testing/test-quality-inspector/references/assertion-quality.md +317 -0
  110. claude_mpm/skills/bundled/testing/test-quality-inspector/references/inspection-checklist.md +270 -0
  111. claude_mpm/skills/bundled/testing/test-quality-inspector/references/red-flags.md +436 -0
  112. claude_mpm/skills/bundled/testing/testing-anti-patterns/SKILL.md +140 -0
  113. claude_mpm/skills/bundled/testing/testing-anti-patterns/references/completeness-anti-patterns.md +572 -0
  114. claude_mpm/skills/bundled/testing/testing-anti-patterns/references/core-anti-patterns.md +411 -0
  115. claude_mpm/skills/bundled/testing/testing-anti-patterns/references/detection-guide.md +569 -0
  116. claude_mpm/skills/bundled/testing/testing-anti-patterns/references/tdd-connection.md +695 -0
  117. claude_mpm/skills/bundled/testing/webapp-testing/SKILL.md +184 -0
  118. claude_mpm/skills/bundled/testing/webapp-testing/decision-tree.md +459 -0
  119. claude_mpm/skills/bundled/testing/webapp-testing/playwright-patterns.md +479 -0
  120. claude_mpm/skills/bundled/testing/webapp-testing/reconnaissance-pattern.md +687 -0
  121. claude_mpm/skills/bundled/testing/webapp-testing/server-management.md +758 -0
  122. claude_mpm/skills/bundled/testing/webapp-testing/troubleshooting.md +868 -0
  123. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/METADATA +1 -1
  124. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/RECORD +128 -11
  125. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/WHEEL +0 -0
  126. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/entry_points.txt +0 -0
  127. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/licenses/LICENSE +0 -0
  128. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/licenses/LICENSE-FAQ.md +0 -0
  129. {claude_mpm-5.4.59.dist-info → claude_mpm-5.4.64.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,131 @@
1
+ ---
2
+ name: verification-before-completion
3
+ description: Run verification commands and confirm output before claiming success
4
+ version: 2.0.0
5
+ category: debugging
6
+ author: Jesse Vincent
7
+ license: MIT
8
+ source: https://github.com/obra/superpowers-skills/tree/main/skills/debugging/verification-before-completion
9
+ progressive_disclosure:
10
+ entry_point:
11
+ summary: "Evidence before claims: mandatory verification before ANY completion claim"
12
+ when_to_use: "When about to claim work is complete, fixed, passing, or ready. ESPECIALLY before commits, PRs, or task completion."
13
+ quick_start: "1. Identify verification command 2. Run FULL command 3. Read complete output 4. Verify results 5. THEN claim with evidence"
14
+ references:
15
+ - gate-function.md
16
+ - verification-patterns.md
17
+ - red-flags-and-failures.md
18
+ - integration-and-workflows.md
19
+ context_limit: 800
20
+ tags:
21
+ - verification
22
+ - quality-assurance
23
+ - honesty
24
+ - evidence
25
+ requires_tools: []
26
+ ---
27
+
28
+ # Verification Before Completion
29
+
30
+ ## Overview
31
+
32
+ Claiming work is complete without verification is dishonesty, not efficiency.
33
+
34
+ **Core principle:** Evidence before claims, always.
35
+
36
+ **Violating the letter of this rule is violating the spirit of this rule.**
37
+
38
+ This skill enforces mandatory verification before ANY completion claim, preventing false positives, broken builds, and trust violations.
39
+
40
+ ## When to Use This Skill
41
+
42
+ Activate ALWAYS before claiming:
43
+ - Success, completion, or satisfaction ("Done!", "Fixed!", "Great!")
44
+ - Tests pass, linter clean, build succeeds
45
+ - Committing, pushing, creating PRs
46
+ - Marking tasks complete or delegating to agents
47
+
48
+ **Use this ESPECIALLY when:**
49
+ - Under time pressure or tired
50
+ - "Quick fix" seems obvious or you're confident
51
+ - Agent reports success or tests "should" pass
52
+
53
+ ## The Iron Law
54
+
55
+ ```
56
+ NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
57
+ ```
58
+
59
+ If you haven't run the verification command in this message, you cannot claim it passes.
60
+
61
+ ## Core Principles
62
+
63
+ 1. **Evidence Required**: Every claim needs supporting evidence
64
+ 2. **Fresh Verification**: Must verify now, not rely on previous runs
65
+ 3. **Complete Verification**: Full command, not partial checks
66
+ 4. **Honest Reporting**: Report actual state, not hoped-for state
67
+
68
+ ## Quick Start
69
+
70
+ The five-step gate function:
71
+
72
+ 1. **IDENTIFY**: What command proves this claim?
73
+ 2. **RUN**: Execute the FULL command (fresh, complete)
74
+ 3. **READ**: Full output, check exit code, count failures
75
+ 4. **VERIFY**: Does output confirm the claim?
76
+ - If NO: State actual status with evidence
77
+ - If YES: State claim WITH evidence
78
+ 5. **ONLY THEN**: Make the claim
79
+
80
+ Skip any step = lying, not verifying.
81
+
82
+ ## Key Patterns
83
+
84
+ **Correct Pattern:**
85
+ ```
86
+ ✅ [Run pytest] [Output: 34/34 passed] "All tests pass"
87
+ ```
88
+
89
+ **Incorrect Patterns:**
90
+ ```
91
+ ❌ "Should pass now"
92
+ ❌ "Looks correct"
93
+ ❌ "Tests were passing"
94
+ ❌ "I'm confident it works"
95
+ ```
96
+
97
+ ## Red Flags - STOP Immediately
98
+
99
+ If you catch yourself:
100
+ - Using "should", "probably", "seems to"
101
+ - Expressing satisfaction before verification
102
+ - About to commit/push/PR without verification
103
+ - Trusting agent success reports
104
+ - Relying on partial verification
105
+
106
+ **ALL of these mean: STOP. Run verification first.**
107
+
108
+ ## Why This Matters
109
+
110
+ **Statistics from real-world failures:**
111
+ - Verification cost: 2 minutes
112
+ - Recovery cost: 120+ minutes (60x more expensive)
113
+ - 40% of unverified "complete" claims required rework
114
+
115
+ **Core violation:** "If you lie, you'll be replaced"
116
+
117
+ ## Navigation
118
+
119
+ For detailed information:
120
+ - **[Gate Function](references/gate-function.md)**: Complete five-step verification process with decision trees
121
+ - **[Verification Patterns](references/verification-patterns.md)**: Correct verification patterns for tests, builds, deployments, and more
122
+ - **[Red Flags and Failures](references/red-flags-and-failures.md)**: Common failure modes, red flags, and real-world examples with time/cost data
123
+ - **[Integration and Workflows](references/integration-and-workflows.md)**: Integration with other skills, CI/CD patterns, and agent delegation workflows
124
+
125
+ ## The Bottom Line
126
+
127
+ **No shortcuts for verification.**
128
+
129
+ Run the command. Read the output. THEN claim the result.
130
+
131
+ This is non-negotiable.
@@ -0,0 +1,325 @@
1
+ # The Gate Function
2
+
3
+ The gate function is the mandatory checkpoint before ANY completion claim.
4
+
5
+ ## The Complete Gate Function
6
+
7
+ ```
8
+ BEFORE claiming any status or expressing satisfaction:
9
+
10
+ 1. IDENTIFY: What command proves this claim?
11
+ 2. RUN: Execute the FULL command (fresh, complete)
12
+ 3. READ: Full output, check exit code, count failures
13
+ 4. VERIFY: Does output confirm the claim?
14
+ - If NO: State actual status with evidence
15
+ - If YES: State claim WITH evidence
16
+ 5. ONLY THEN: Make the claim
17
+
18
+ Skip any step = lying, not verifying
19
+ ```
20
+
21
+ ## Step-by-Step Breakdown
22
+
23
+ ### Step 1: IDENTIFY
24
+
25
+ **What to identify:**
26
+ - The exact command that proves your claim
27
+ - Not a related command
28
+ - Not a partial command
29
+ - The FULL verification command
30
+
31
+ **Examples:**
32
+
33
+ | Claim | Verification Command |
34
+ |-------|---------------------|
35
+ | "Tests pass" | `pytest tests/` (full suite) |
36
+ | "Build succeeds" | `make build` (complete build) |
37
+ | "Linter clean" | `ruff check .` (all files) |
38
+ | "Bug fixed" | Reproduce original bug (full reproduction) |
39
+ | "Requirements met" | Line-by-line checklist (all requirements) |
40
+
41
+ **Common Mistakes:**
42
+ - ❌ Identifying related but insufficient command
43
+ - ❌ Identifying partial verification
44
+ - ❌ Identifying old verification results
45
+ - ❌ Can't identify verification → Claim invalid
46
+
47
+ ### Step 2: RUN
48
+
49
+ **How to run:**
50
+ - Execute the COMPLETE command
51
+ - Fresh execution (not cached results)
52
+ - Full scope (not subset)
53
+ - Right here, right now (not "I ran it earlier")
54
+
55
+ **Requirements:**
56
+ - Use exact command identified in Step 1
57
+ - Run in correct environment
58
+ - Include all parameters/flags
59
+ - Wait for complete execution
60
+
61
+ **Common Mistakes:**
62
+ - ❌ Running partial command
63
+ - ❌ Using cached/previous results
64
+ - ❌ Running related but different command
65
+ - ❌ Assuming results without running
66
+
67
+ **Examples:**
68
+
69
+ ✅ **Correct:**
70
+ ```bash
71
+ # Full test suite, right now
72
+ pytest tests/
73
+ ```
74
+
75
+ ❌ **Incorrect:**
76
+ ```bash
77
+ # Only one test file
78
+ pytest tests/test_auth.py
79
+
80
+ # Previous run (stale)
81
+ "I ran tests 10 minutes ago"
82
+
83
+ # Related but not sufficient
84
+ ruff check . # This is linter, not tests
85
+ ```
86
+
87
+ ### Step 3: READ
88
+
89
+ **What to read:**
90
+ - COMPLETE output, not just summary
91
+ - Exit code (0 = success, non-zero = failure)
92
+ - Count of passes/failures
93
+ - Error messages if any
94
+ - Warnings if any
95
+
96
+ **How to read:**
97
+ - Scroll through entire output
98
+ - Don't skip "boring" parts
99
+ - Check final status line
100
+ - Verify exit code
101
+ - Count specific numbers
102
+
103
+ **Common Mistakes:**
104
+ - ❌ Reading only summary
105
+ - ❌ Skipping error details
106
+ - ❌ Ignoring warnings
107
+ - ❌ Not checking exit code
108
+ - ❌ Assuming from first few lines
109
+
110
+ **Examples:**
111
+
112
+ ✅ **Correct Reading:**
113
+ ```
114
+ pytest tests/
115
+ ...
116
+ [complete output]
117
+ ...
118
+ ====== 34 passed in 2.45s ======
119
+ Exit code: 0
120
+
121
+ Conclusion: 34 tests, ALL passed, 0 failed
122
+ ```
123
+
124
+ ❌ **Incorrect Reading:**
125
+ ```
126
+ pytest tests/
127
+ [output appears...]
128
+ "Looks like tests are passing" ← Didn't read to end
129
+ ```
130
+
131
+ ### Step 4: VERIFY
132
+
133
+ **Verification questions:**
134
+ 1. Does output match claim exactly?
135
+ 2. Are there any failures/errors?
136
+ 3. Is exit code 0 (success)?
137
+ 4. Are counts what expected?
138
+ 5. Are there warnings to address?
139
+
140
+ **Decision tree:**
141
+ ```
142
+ Output confirms claim?
143
+ ├─ YES → Proceed to Step 5 (claim with evidence)
144
+ └─ NO → Report actual status with evidence
145
+ - Don't claim success
146
+ - Report what actually happened
147
+ - Include evidence of actual state
148
+ ```
149
+
150
+ **Examples:**
151
+
152
+ ✅ **Output Confirms Claim:**
153
+ ```
154
+ Claim: "All tests pass"
155
+ Output: "34 passed, 0 failed"
156
+ Exit Code: 0
157
+ Verification: YES → Safe to claim
158
+ ```
159
+
160
+ ❌ **Output Contradicts Claim:**
161
+ ```
162
+ Claim: "All tests pass"
163
+ Output: "31 passed, 3 failed"
164
+ Exit Code: 1
165
+ Verification: NO → Cannot claim
166
+ Correct response: "31/34 tests pass, 3 failing: test_auth, test_db, test_api"
167
+ ```
168
+
169
+ ### Step 5: CLAIM
170
+
171
+ **Only reach this step if:**
172
+ - ✅ Identified correct verification
173
+ - ✅ Ran complete command
174
+ - ✅ Read full output
175
+ - ✅ Output confirms claim
176
+
177
+ **How to claim:**
178
+ ```
179
+ [Evidence] + [Claim]
180
+
181
+ Example: "All 34 tests pass (pytest output: 34/34 passed, exit 0)"
182
+ ```
183
+
184
+ **Structure:**
185
+ 1. State the evidence first
186
+ 2. Then make the claim
187
+ 3. Include specific numbers
188
+ 4. Reference verification command
189
+
190
+ **Examples:**
191
+
192
+ ✅ **Correct Claims:**
193
+ ```
194
+ "pytest output: 34/34 passed → All tests pass"
195
+ "make build: exit 0, dist/ created → Build succeeds"
196
+ "ruff check: 0 errors, 0 warnings → Linter clean"
197
+ "curl https://api.example.com: 200 OK → Endpoint accessible"
198
+ ```
199
+
200
+ ❌ **Incorrect Claims:**
201
+ ```
202
+ "Should pass now" ← No evidence
203
+ "Tests pass" ← No evidence shown
204
+ "Looks good" ← Subjective, no evidence
205
+ "Fixed!" ← No verification
206
+ ```
207
+
208
+ ## Common Gate Function Violations
209
+
210
+ ### Violation 1: Skipping IDENTIFY
211
+ **Symptom:** Can't name verification command
212
+ **Fix:** If you can't identify verification, claim is invalid
213
+
214
+ ### Violation 2: Skipping RUN
215
+ **Symptom:** Using old results, assuming outcomes
216
+ **Fix:** Fresh execution required, every time
217
+
218
+ ### Violation 3: Skipping READ
219
+ **Symptom:** Making claims without reading output
220
+ **Fix:** Read COMPLETE output before claiming
221
+
222
+ ### Violation 4: Skipping VERIFY
223
+ **Symptom:** Claiming success despite failures in output
224
+ **Fix:** Match output to claim, report reality
225
+
226
+ ### Violation 5: Claiming Despite Failure
227
+ **Symptom:** Tests fail but claim "mostly works"
228
+ **Fix:** Report actual state: "31/34 pass, 3 failing"
229
+
230
+ ## Gate Function for Different Contexts
231
+
232
+ ### Before Committing
233
+
234
+ ```
235
+ GATE CHECK:
236
+ 1. IDENTIFY: git diff, test suite, linter
237
+ 2. RUN: git diff && pytest && ruff check .
238
+ 3. READ: Full output of all three
239
+ 4. VERIFY: No uncommitted junk, all tests pass, linter clean
240
+ 5. CLAIM: "Ready to commit" OR report issues found
241
+ ```
242
+
243
+ ### Before Creating PR
244
+
245
+ ```
246
+ GATE CHECK:
247
+ 1. IDENTIFY: Full test suite, requirements checklist, diff review
248
+ 2. RUN: pytest && git diff main...HEAD
249
+ 3. READ: Test results + all changes made
250
+ 4. VERIFY: Tests pass, changes match requirements
251
+ 5. CLAIM: "Ready for PR" OR report gaps
252
+ ```
253
+
254
+ ### Before Marking Task Complete
255
+
256
+ ```
257
+ GATE CHECK:
258
+ 1. IDENTIFY: Requirements list, verification commands
259
+ 2. RUN: Check each requirement individually
260
+ 3. READ: Results of each verification
261
+ 4. VERIFY: All requirements met
262
+ 5. CLAIM: "Task complete: 5/5 requirements met" OR "4/5 met, missing X"
263
+ ```
264
+
265
+ ### Before Delegating to Agent
266
+
267
+ ```
268
+ GATE CHECK:
269
+ 1. IDENTIFY: What agent should accomplish
270
+ 2. RUN: Agent execution
271
+ 3. READ: Agent report AND git diff
272
+ 4. VERIFY: Changes match task, no surprises
273
+ 5. CLAIM: "Agent completed X, verified by diff" OR "Agent attempted but Y issue found"
274
+ ```
275
+
276
+ ### Before Deployment
277
+
278
+ ```
279
+ GATE CHECK:
280
+ 1. IDENTIFY: Build, tests, smoke tests, health checks
281
+ 2. RUN: Full build + test suite
282
+ 3. READ: All outputs
283
+ 4. VERIFY: All pass, ready to deploy
284
+ 5. CLAIM: "Ready for deployment" OR report blockers
285
+ ```
286
+
287
+ ## The Iron Law Explained
288
+
289
+ ```
290
+ NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
291
+ ```
292
+
293
+ **"No completion claims"** = ANY variation:
294
+ - "Done", "Complete", "Finished", "Success"
295
+ - "Fixed", "Working", "Passing", "Clean"
296
+ - "Ready", "Good to go", "All set"
297
+ - ANY paraphrase or synonym
298
+
299
+ **"Without fresh verification"** = Must have:
300
+ - Run command in this session
301
+ - Read complete output
302
+ - Verified results match claim
303
+ - Evidence is current (not stale)
304
+
305
+ **"Evidence"** = Must include:
306
+ - Specific command run
307
+ - Specific output received
308
+ - Specific numbers/counts
309
+ - Exit codes where applicable
310
+
311
+ ## Why Every Step Matters
312
+
313
+ **Skip IDENTIFY:** Don't know what to verify → Can't verify → Can't claim
314
+ **Skip RUN:** No current evidence → Claiming based on hope → Lying
315
+ **Skip READ:** Don't know actual results → Assuming → Lying
316
+ **Skip VERIFY:** Results might contradict claim → Claiming anyway → Lying
317
+ **Skip any step:** Broke verification process → Cannot be trusted
318
+
319
+ ## The Bottom Line
320
+
321
+ The gate function is non-negotiable. Every completion claim must pass through it.
322
+
323
+ No shortcuts. No exceptions. No assumptions.
324
+
325
+ Run the command. Read the output. Verify the result. Then claim.