sherpa-skill 2.0.6 → 2.0.7

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 (246) hide show
  1. package/.agents/plugins/marketplace.json +11 -0
  2. package/.agents/skills/sherpa/SKILL.md +161 -0
  3. package/.agents/skills/sherpa/commands/README.md +43 -0
  4. package/.agents/skills/sherpa/commands/manifest.json +589 -0
  5. package/.agents/skills/sherpa/commands/sherpa-research.md +147 -0
  6. package/.agents/skills/sherpa/core/commands/router.py +171 -0
  7. package/.agents/skills/sherpa/core/configuration/manager.py +504 -0
  8. package/.agents/skills/sherpa/core/ideas/engine.py +564 -0
  9. package/.agents/skills/sherpa/docs/commands/README.md +96 -0
  10. package/.agents/skills/sherpa/docs/configuration/runtime-verification.md +64 -0
  11. package/.agents/skills/sherpa/rules/demo-preparation-rules.md +543 -0
  12. package/.agents/skills/sherpa/rules/engineering-rules.md +221 -0
  13. package/.agents/skills/sherpa/rules/final-audit-rules.md +824 -0
  14. package/.agents/skills/sherpa/rules/implementation-rules.md +127 -0
  15. package/.agents/skills/sherpa/rules/judge-rules.md +443 -0
  16. package/.agents/skills/sherpa/rules/mentor-rules.md +109 -0
  17. package/.agents/skills/sherpa/rules/postmortem-rules.md +69 -0
  18. package/.agents/skills/sherpa/rules/presentation-rules.md +783 -0
  19. package/.agents/skills/sherpa/rules/red-team-rules.md +185 -0
  20. package/.agents/skills/sherpa/rules/research-rules.md +184 -0
  21. package/.agents/skills/sherpa/rules/score-optimization-rules.md +355 -0
  22. package/.agents/skills/sherpa/rules/scoring-rules.md +216 -0
  23. package/.agents/skills/sherpa/rules/submission-rules.md +41 -0
  24. package/.agents/skills/sherpa/rules/testing-security-rules.md +87 -0
  25. package/.agents/skills/sherpa/rules/ux-rules.md +89 -0
  26. package/.agents/skills/sherpa/src/config_manager.py +474 -0
  27. package/.agents/skills/sherpa/src/verification.py +458 -0
  28. package/.agents/skills/sherpa/templates/audit-finding.md +20 -0
  29. package/.agents/skills/sherpa/templates/claim-audit.md +15 -0
  30. package/.agents/skills/sherpa/templates/configuration/hackathon.json +21 -0
  31. package/.agents/skills/sherpa/templates/configuration/integrations.env.example +3 -0
  32. package/.agents/skills/sherpa/templates/configuration/project.env.example +12 -0
  33. package/.agents/skills/sherpa/templates/configuration/providers.env.example +4 -0
  34. package/.agents/skills/sherpa/templates/configuration/settings.json +22 -0
  35. package/.agents/skills/sherpa/templates/consistency-audit.md +17 -0
  36. package/.agents/skills/sherpa/templates/decision-log.md +18 -0
  37. package/.agents/skills/sherpa/templates/demo-checkpoint.md +42 -0
  38. package/.agents/skills/sherpa/templates/demo-evidence.md +32 -0
  39. package/.agents/skills/sherpa/templates/demo-finding.md +112 -0
  40. package/.agents/skills/sherpa/templates/demo-flow.md +52 -0
  41. package/.agents/skills/sherpa/templates/demo-plan.md +265 -0
  42. package/.agents/skills/sherpa/templates/demo-verification.md +57 -0
  43. package/.agents/skills/sherpa/templates/final-audit.md +387 -0
  44. package/.agents/skills/sherpa/templates/final-risk.md +17 -0
  45. package/.agents/skills/sherpa/templates/final-verification.md +57 -0
  46. package/.agents/skills/sherpa/templates/gap-analysis.md +113 -0
  47. package/.agents/skills/sherpa/templates/idea-comparison.md +129 -0
  48. package/.agents/skills/sherpa/templates/idea-evaluation.md +251 -0
  49. package/.agents/skills/sherpa/templates/implementation-plan.md +96 -0
  50. package/.agents/skills/sherpa/templates/implementation-task.md +57 -0
  51. package/.agents/skills/sherpa/templates/improvement-candidate.md +135 -0
  52. package/.agents/skills/sherpa/templates/improvement.md +18 -0
  53. package/.agents/skills/sherpa/templates/incident.md +20 -0
  54. package/.agents/skills/sherpa/templates/judge-criterion.md +41 -0
  55. package/.agents/skills/sherpa/templates/judge-question.md +41 -0
  56. package/.agents/skills/sherpa/templates/judge-session.md +125 -0
  57. package/.agents/skills/sherpa/templates/judge-simulation.md +264 -0
  58. package/.agents/skills/sherpa/templates/lesson.md +14 -0
  59. package/.agents/skills/sherpa/templates/postmortem.md +87 -0
  60. package/.agents/skills/sherpa/templates/presentation-evidence.md +33 -0
  61. package/.agents/skills/sherpa/templates/presentation-plan.md +349 -0
  62. package/.agents/skills/sherpa/templates/presentation-qna.md +29 -0
  63. package/.agents/skills/sherpa/templates/presentation-risk.md +42 -0
  64. package/.agents/skills/sherpa/templates/presentation-verification.md +57 -0
  65. package/.agents/skills/sherpa/templates/project-plan.md +242 -0
  66. package/.agents/skills/sherpa/templates/project-state.md +84 -0
  67. package/.agents/skills/sherpa/templates/red-team-finding.md +73 -0
  68. package/.agents/skills/sherpa/templates/red-team-review.md +105 -0
  69. package/.agents/skills/sherpa/templates/red-team-scenario.md +43 -0
  70. package/.agents/skills/sherpa/templates/red-team-verification.md +31 -0
  71. package/.agents/skills/sherpa/templates/repo-analysis.md +204 -0
  72. package/.agents/skills/sherpa/templates/requirement-audit.md +15 -0
  73. package/.agents/skills/sherpa/templates/research-comparison.md +124 -0
  74. package/.agents/skills/sherpa/templates/research-plan.md +93 -0
  75. package/.agents/skills/sherpa/templates/research-report.md +92 -0
  76. package/.agents/skills/sherpa/templates/research-source.md +77 -0
  77. package/.agents/skills/sherpa/templates/score-optimization-plan.md +197 -0
  78. package/.agents/skills/sherpa/templates/security-finding.md +45 -0
  79. package/.agents/skills/sherpa/templates/security-review.md +64 -0
  80. package/.agents/skills/sherpa/templates/slide-claim.md +47 -0
  81. package/.agents/skills/sherpa/templates/slide-plan.md +127 -0
  82. package/.agents/skills/sherpa/templates/submission-artifact.md +15 -0
  83. package/.agents/skills/sherpa/templates/submission-checklist.md +24 -0
  84. package/.agents/skills/sherpa/templates/submission-field.md +14 -0
  85. package/.agents/skills/sherpa/templates/submission-link.md +14 -0
  86. package/.agents/skills/sherpa/templates/submission-plan.md +31 -0
  87. package/.agents/skills/sherpa/templates/submission-readiness.md +18 -0
  88. package/.agents/skills/sherpa/templates/submission-requirement.md +12 -0
  89. package/.agents/skills/sherpa/templates/submission-risk.md +14 -0
  90. package/.agents/skills/sherpa/templates/submission-snapshot.md +20 -0
  91. package/.agents/skills/sherpa/templates/submission-verification.md +12 -0
  92. package/.agents/skills/sherpa/templates/test-plan.md +59 -0
  93. package/.agents/skills/sherpa/templates/test-result.md +46 -0
  94. package/.agents/skills/sherpa/templates/timeline.md +11 -0
  95. package/.agents/skills/sherpa/templates/ux-finding.md +56 -0
  96. package/.agents/skills/sherpa/templates/ux-flow.md +46 -0
  97. package/.agents/skills/sherpa/templates/ux-review.md +113 -0
  98. package/.agents/skills/sherpa/templates/ux-verification.md +32 -0
  99. package/.agents/skills/sherpa/workflows/configuration.md +23 -0
  100. package/.agents/skills/sherpa/workflows/demo-preparation.md +399 -0
  101. package/.agents/skills/sherpa/workflows/final-audit.md +713 -0
  102. package/.agents/skills/sherpa/workflows/idea-evaluation.md +239 -0
  103. package/.agents/skills/sherpa/workflows/idea-intelligence.md +69 -0
  104. package/.agents/skills/sherpa/workflows/implementation.md +42 -0
  105. package/.agents/skills/sherpa/workflows/init.md +102 -0
  106. package/.agents/skills/sherpa/workflows/judge-simulation.md +408 -0
  107. package/.agents/skills/sherpa/workflows/lifecycle.md +51 -0
  108. package/.agents/skills/sherpa/workflows/next.md +96 -0
  109. package/.agents/skills/sherpa/workflows/postmortem.md +76 -0
  110. package/.agents/skills/sherpa/workflows/presentation.md +522 -0
  111. package/.agents/skills/sherpa/workflows/project-planning.md +327 -0
  112. package/.agents/skills/sherpa/workflows/red-team.md +373 -0
  113. package/.agents/skills/sherpa/workflows/research.md +142 -0
  114. package/.agents/skills/sherpa/workflows/score-optimization.md +276 -0
  115. package/.agents/skills/sherpa/workflows/status.md +107 -0
  116. package/.agents/skills/sherpa/workflows/submission.md +46 -0
  117. package/.agents/skills/sherpa/workflows/testing-security.md +44 -0
  118. package/.agents/skills/sherpa/workflows/ux-review.md +59 -0
  119. package/.claude-plugin/marketplace.json +21 -0
  120. package/.claude-plugin/plugin.json +13 -0
  121. package/.codex-plugin/plugin.json +13 -0
  122. package/GEMINI.md +3 -0
  123. package/README.md +11 -7
  124. package/SKILL.md +161 -0
  125. package/distribution/cli/sherpa +1 -1
  126. package/gemini-extension.json +7 -0
  127. package/package.json +31 -3
  128. package/plugin.json +20 -0
  129. package/qwen-extension.json +6 -0
  130. package/skills/sherpa/SKILL.md +161 -0
  131. package/skills/sherpa/commands/README.md +43 -0
  132. package/skills/sherpa/commands/manifest.json +589 -0
  133. package/skills/sherpa/commands/sherpa-research.md +147 -0
  134. package/skills/sherpa/core/commands/router.py +171 -0
  135. package/skills/sherpa/core/configuration/manager.py +504 -0
  136. package/skills/sherpa/core/ideas/engine.py +564 -0
  137. package/skills/sherpa/docs/commands/README.md +96 -0
  138. package/skills/sherpa/docs/configuration/runtime-verification.md +64 -0
  139. package/skills/sherpa/rules/demo-preparation-rules.md +543 -0
  140. package/skills/sherpa/rules/engineering-rules.md +221 -0
  141. package/skills/sherpa/rules/final-audit-rules.md +824 -0
  142. package/skills/sherpa/rules/implementation-rules.md +127 -0
  143. package/skills/sherpa/rules/judge-rules.md +443 -0
  144. package/skills/sherpa/rules/mentor-rules.md +109 -0
  145. package/skills/sherpa/rules/postmortem-rules.md +69 -0
  146. package/skills/sherpa/rules/presentation-rules.md +783 -0
  147. package/skills/sherpa/rules/red-team-rules.md +185 -0
  148. package/skills/sherpa/rules/research-rules.md +184 -0
  149. package/skills/sherpa/rules/score-optimization-rules.md +355 -0
  150. package/skills/sherpa/rules/scoring-rules.md +216 -0
  151. package/skills/sherpa/rules/submission-rules.md +41 -0
  152. package/skills/sherpa/rules/testing-security-rules.md +87 -0
  153. package/skills/sherpa/rules/ux-rules.md +89 -0
  154. package/skills/sherpa/src/config_manager.py +474 -0
  155. package/skills/sherpa/src/verification.py +458 -0
  156. package/skills/sherpa/templates/audit-finding.md +20 -0
  157. package/skills/sherpa/templates/claim-audit.md +15 -0
  158. package/skills/sherpa/templates/configuration/hackathon.json +21 -0
  159. package/skills/sherpa/templates/configuration/integrations.env.example +3 -0
  160. package/skills/sherpa/templates/configuration/project.env.example +12 -0
  161. package/skills/sherpa/templates/configuration/providers.env.example +4 -0
  162. package/skills/sherpa/templates/configuration/settings.json +22 -0
  163. package/skills/sherpa/templates/consistency-audit.md +17 -0
  164. package/skills/sherpa/templates/decision-log.md +18 -0
  165. package/skills/sherpa/templates/demo-checkpoint.md +42 -0
  166. package/skills/sherpa/templates/demo-evidence.md +32 -0
  167. package/skills/sherpa/templates/demo-finding.md +112 -0
  168. package/skills/sherpa/templates/demo-flow.md +52 -0
  169. package/skills/sherpa/templates/demo-plan.md +265 -0
  170. package/skills/sherpa/templates/demo-verification.md +57 -0
  171. package/skills/sherpa/templates/final-audit.md +387 -0
  172. package/skills/sherpa/templates/final-risk.md +17 -0
  173. package/skills/sherpa/templates/final-verification.md +57 -0
  174. package/skills/sherpa/templates/gap-analysis.md +113 -0
  175. package/skills/sherpa/templates/idea-comparison.md +129 -0
  176. package/skills/sherpa/templates/idea-evaluation.md +251 -0
  177. package/skills/sherpa/templates/implementation-plan.md +96 -0
  178. package/skills/sherpa/templates/implementation-task.md +57 -0
  179. package/skills/sherpa/templates/improvement-candidate.md +135 -0
  180. package/skills/sherpa/templates/improvement.md +18 -0
  181. package/skills/sherpa/templates/incident.md +20 -0
  182. package/skills/sherpa/templates/judge-criterion.md +41 -0
  183. package/skills/sherpa/templates/judge-question.md +41 -0
  184. package/skills/sherpa/templates/judge-session.md +125 -0
  185. package/skills/sherpa/templates/judge-simulation.md +264 -0
  186. package/skills/sherpa/templates/lesson.md +14 -0
  187. package/skills/sherpa/templates/postmortem.md +87 -0
  188. package/skills/sherpa/templates/presentation-evidence.md +33 -0
  189. package/skills/sherpa/templates/presentation-plan.md +349 -0
  190. package/skills/sherpa/templates/presentation-qna.md +29 -0
  191. package/skills/sherpa/templates/presentation-risk.md +42 -0
  192. package/skills/sherpa/templates/presentation-verification.md +57 -0
  193. package/skills/sherpa/templates/project-plan.md +242 -0
  194. package/skills/sherpa/templates/project-state.md +84 -0
  195. package/skills/sherpa/templates/red-team-finding.md +73 -0
  196. package/skills/sherpa/templates/red-team-review.md +105 -0
  197. package/skills/sherpa/templates/red-team-scenario.md +43 -0
  198. package/skills/sherpa/templates/red-team-verification.md +31 -0
  199. package/skills/sherpa/templates/repo-analysis.md +204 -0
  200. package/skills/sherpa/templates/requirement-audit.md +15 -0
  201. package/skills/sherpa/templates/research-comparison.md +124 -0
  202. package/skills/sherpa/templates/research-plan.md +93 -0
  203. package/skills/sherpa/templates/research-report.md +92 -0
  204. package/skills/sherpa/templates/research-source.md +77 -0
  205. package/skills/sherpa/templates/score-optimization-plan.md +197 -0
  206. package/skills/sherpa/templates/security-finding.md +45 -0
  207. package/skills/sherpa/templates/security-review.md +64 -0
  208. package/skills/sherpa/templates/slide-claim.md +47 -0
  209. package/skills/sherpa/templates/slide-plan.md +127 -0
  210. package/skills/sherpa/templates/submission-artifact.md +15 -0
  211. package/skills/sherpa/templates/submission-checklist.md +24 -0
  212. package/skills/sherpa/templates/submission-field.md +14 -0
  213. package/skills/sherpa/templates/submission-link.md +14 -0
  214. package/skills/sherpa/templates/submission-plan.md +31 -0
  215. package/skills/sherpa/templates/submission-readiness.md +18 -0
  216. package/skills/sherpa/templates/submission-requirement.md +12 -0
  217. package/skills/sherpa/templates/submission-risk.md +14 -0
  218. package/skills/sherpa/templates/submission-snapshot.md +20 -0
  219. package/skills/sherpa/templates/submission-verification.md +12 -0
  220. package/skills/sherpa/templates/test-plan.md +59 -0
  221. package/skills/sherpa/templates/test-result.md +46 -0
  222. package/skills/sherpa/templates/timeline.md +11 -0
  223. package/skills/sherpa/templates/ux-finding.md +56 -0
  224. package/skills/sherpa/templates/ux-flow.md +46 -0
  225. package/skills/sherpa/templates/ux-review.md +113 -0
  226. package/skills/sherpa/templates/ux-verification.md +32 -0
  227. package/skills/sherpa/workflows/configuration.md +23 -0
  228. package/skills/sherpa/workflows/demo-preparation.md +399 -0
  229. package/skills/sherpa/workflows/final-audit.md +713 -0
  230. package/skills/sherpa/workflows/idea-evaluation.md +239 -0
  231. package/skills/sherpa/workflows/idea-intelligence.md +69 -0
  232. package/skills/sherpa/workflows/implementation.md +42 -0
  233. package/skills/sherpa/workflows/init.md +102 -0
  234. package/skills/sherpa/workflows/judge-simulation.md +408 -0
  235. package/skills/sherpa/workflows/lifecycle.md +51 -0
  236. package/skills/sherpa/workflows/next.md +96 -0
  237. package/skills/sherpa/workflows/postmortem.md +76 -0
  238. package/skills/sherpa/workflows/presentation.md +522 -0
  239. package/skills/sherpa/workflows/project-planning.md +327 -0
  240. package/skills/sherpa/workflows/red-team.md +373 -0
  241. package/skills/sherpa/workflows/research.md +142 -0
  242. package/skills/sherpa/workflows/score-optimization.md +276 -0
  243. package/skills/sherpa/workflows/status.md +107 -0
  244. package/skills/sherpa/workflows/submission.md +46 -0
  245. package/skills/sherpa/workflows/testing-security.md +44 -0
  246. package/skills/sherpa/workflows/ux-review.md +59 -0
@@ -0,0 +1,824 @@
1
+ # sherpa — Final Audit Rules
2
+
3
+ **Lifecycle Phase:** Phase 18 — Final Audit Intelligence
4
+ **Purpose:** Authoritative rules for final audit. Phase 18 performs verification and final readiness audit. It does not implement, replace prior phases, or modify locked artifacts. Phase 18 audits and recommends; it does not execute submission.
5
+
6
+ ---
7
+
8
+ ## 1. Purpose and Boundaries
9
+
10
+ Phase 18 converts validated project evidence into a final audit report and readiness determination. It answers:
11
+
12
+ > "Based on the available evidence, what is actually ready, what is not ready, and what must happen before submission?"
13
+
14
+ Phase 18 may inspect:
15
+
16
+ - All prior-phase evidence
17
+ - Official judging criteria and weights
18
+ - Project evidence
19
+ - Demo evidence
20
+ - Presentation evidence
21
+ - Repository evidence
22
+ - Deployment evidence
23
+ - Submission requirements
24
+
25
+ Phase 18 MUST NOT:
26
+
27
+ - Implement new product features
28
+ - Modify application source code
29
+ - Silently redesign architecture
30
+ - Change the selected idea
31
+ - Reselect the idea
32
+ - Perform final submission
33
+ - Perform post-mortem
34
+ - Create PPT
35
+ - Perform demo execution
36
+ - Replace Phase 11 testing/security
37
+ - Replace Phase 12 UX review
38
+ - Replace Phase 13 red-team
39
+ - Replace Phase 14 judge simulation
40
+ - Replace Phase 15 score optimization
41
+ - Replace Phase 16 demo preparation
42
+ - Claim submission readiness without evidence
43
+ - Fabricate judge feedback
44
+ - Present unsupported presentation claims
45
+ - Treat presentation readiness as official judging score
46
+ - Invent judging criteria
47
+ - Fabricate evidence
48
+ - Treat framework validation as live project validation
49
+
50
+ ---
51
+
52
+ ## 2. Evidence Model
53
+
54
+ Every important audit claim must identify its evidence status.
55
+
56
+ Allowed evidence labels:
57
+
58
+ | Label | Definition |
59
+ |-------|------------|
60
+ | FACT | Directly observed from repository inspection, verified execution, or external source |
61
+ | INFERENCE | Logical conclusion drawn from observed facts |
62
+ | ASSUMPTION | Not yet verified; requires confirmation |
63
+ | UNKNOWN | No information available; not observed |
64
+
65
+ Rules:
66
+
67
+ - Never convert UNKNOWN into FACT.
68
+ - A feature existing in code does not prove a slide claim.
69
+ - Generated documentation is not proof of runtime behavior.
70
+ - Code presence does not prove runtime behavior.
71
+ - A passing test does not prove unrelated functionality.
72
+ - A screenshot does not prove current live behavior.
73
+ - A demo rehearsal does not prove production reliability.
74
+ - Generated sherpa artifacts are not independent evidence.
75
+ - Evidence must trace back to repository inspection, actual execution, external verification, or explicit human-provided information.
76
+ - Do not treat previous AI-generated recommendations as facts.
77
+
78
+ Evidence types:
79
+
80
+ | Type | Definition |
81
+ |------|------------|
82
+ | source code | Application source code inspection |
83
+ | test result | Test execution result |
84
+ | runtime output | Program runtime output |
85
+ | log | Log or trace output |
86
+ | artifact | Generated file or artifact |
87
+ | screenshot | Static screenshot image |
88
+ | recording | Recorded video or demo |
89
+ | documentation | Documented claim |
90
+ | benchmark | Benchmark or measurement result |
91
+ | source/code inspection | Direct source code inspection |
92
+ | deployment | Deployment configuration or result |
93
+ | judge simulation | Judge simulation evidence |
94
+ | demo rehearsal | Demo rehearsal evidence |
95
+ | presentation artifact | Presentation artifact |
96
+ | security review | Security review finding |
97
+ | UX review | UX review finding |
98
+ | red-team result | Red-team finding |
99
+
100
+ ---
101
+
102
+ ## 3. Audit Status Model
103
+
104
+ Each audited item receives:
105
+
106
+ | Status | Definition |
107
+ |--------|------------|
108
+ | PASS | Evidence supports the requirement |
109
+ | PASS_WITH_LIMITATION | Requirement substantially satisfied but has documented limitation |
110
+ | FAIL | Evidence demonstrates requirement not satisfied |
111
+ | BLOCKED | Verification cannot proceed; dependency unavailable |
112
+ | UNKNOWN | Insufficient evidence to determine status |
113
+ | NOT_APPLICABLE | Requirement genuinely does not apply |
114
+
115
+ Rules:
116
+
117
+ - UNKNOWN never becomes PASS without new evidence.
118
+ - UNKNOWN never becomes PASS_WITH_LIMITATION.
119
+ - UNKNOWN never becomes FAIL.
120
+ - UNKNOWN never becomes BLOCKED.
121
+ - UNKNOWN never becomes NOT_APPLICABLE.
122
+ - An artifact existing does not prove its claims.
123
+ - Documentation does not automatically prove implementation.
124
+ - Code presence does not prove runtime behavior.
125
+ - A passing test does not prove unrelated functionality.
126
+ - A screenshot does not prove current live behavior.
127
+ - A demo rehearsal does not prove production reliability.
128
+ - A presentation claim does not prove product capability.
129
+
130
+ ---
131
+
132
+ ## 4. Final Audit Evidence Record
133
+
134
+ Each evidence record:
135
+
136
+ | Field | Description |
137
+ |-------|-------------|
138
+ | Evidence ID | Unique identifier |
139
+ | Source Phase | Phase that produced evidence |
140
+ | Artifact | Artifact name or path |
141
+ | Claim / Requirement | What is being evidenced |
142
+ | Evidence Type | Source type |
143
+ | Evidence Status | FACT / INFERENCE / ASSUMPTION / UNKNOWN |
144
+ | Verification Method | How verified |
145
+ | Observed Result | Observed result |
146
+ | Confidence | HIGH / MEDIUM / LOW / UNKNOWN |
147
+ | Related Finding | Related finding ID |
148
+
149
+ Evidence types may include:
150
+
151
+ - source code
152
+ - test result
153
+ - runtime output
154
+ - log
155
+ - artifact
156
+ - screenshot
157
+ - recording
158
+ - deployment
159
+ - configuration
160
+ - documentation
161
+ - judge simulation
162
+ - demo rehearsal
163
+ - presentation artifact
164
+ - security review
165
+ - UX review
166
+ - red-team result
167
+
168
+ ---
169
+
170
+ ## 5. Audit Domains
171
+
172
+ Audit domains:
173
+
174
+ | Domain | Description |
175
+ |--------|-------------|
176
+ | A | Lifecycle Integrity |
177
+ | B | Idea / Problem Alignment |
178
+ | C | Product / MVP Alignment |
179
+ | D | Architecture / Implementation Alignment |
180
+ | E | Testing |
181
+ | F | Security |
182
+ | G | UX / Accessibility |
183
+ | H | Red Team |
184
+ | I | Judge Simulation |
185
+ | J | Score Optimization |
186
+ | K | Demo |
187
+ | L | Presentation |
188
+ | M | Evidence Integrity |
189
+ | N | Documentation |
190
+ | O | Repository / Deployment |
191
+ | P | Submission Requirements |
192
+ | Q | Known Risks |
193
+ | R | Final Readiness |
194
+
195
+ Do not silently omit a domain.
196
+
197
+ If evidence is unavailable:
198
+
199
+ > UNKNOWN
200
+
201
+ ---
202
+
203
+ ## 6. Final Blocker Rule
204
+
205
+ A CRITICAL finding must prevent unconditional final readiness unless:
206
+
207
+ - VERIFIED_MITIGATED
208
+ - ACCEPTED_RISK with human authority
209
+ - NOT_APPLICABLE with evidence
210
+
211
+ Do not hide critical findings.
212
+ Do not silently downgrade them.
213
+
214
+ ---
215
+
216
+ # 7. Cross-Phase Consistency
217
+
218
+ Build consistency audit:
219
+
220
+ ```text
221
+ Selected Idea
222
+ → Problem
223
+ → MVP
224
+ → Architecture
225
+ → Implementation
226
+ → Testing
227
+ → UX
228
+ → Red Team
229
+ → Judge Simulation
230
+ → Score Optimization
231
+ → Demo
232
+ → Presentation
233
+ ```
234
+
235
+ Identify contradictions:
236
+
237
+ - Presentation claims feature not in implementation
238
+ - Demo shows functionality not supported by evidence
239
+ - Architecture claims components that do not exist
240
+ - Tests claim coverage never executed
241
+ - Security claims exceed actual controls
242
+ - UX claims contradict observed behavior
243
+ - Judge answers contradict implementation
244
+ - Score optimization references unsupported weaknesses
245
+ - Presentation metrics do not match test results
246
+
247
+ Every contradiction becomes an explicit finding.
248
+
249
+ ---
250
+
251
+ # 8. Selected Idea Stability
252
+
253
+ Verify selected idea remains stable. Do not silently reselect.
254
+
255
+ If material divergence exists:
256
+
257
+ > IDEA_ALIGNMENT = FAIL
258
+
259
+ Do not silently change idea.
260
+
261
+ ---
262
+
263
+ # 9. Requirement Coverage
264
+
265
+ Extract requirements from:
266
+
267
+ - Hackathon rules
268
+ - Judging criteria
269
+ - Project requirements
270
+ - Phase 1 outputs
271
+ - Selected idea
272
+ - MVP definition
273
+ - Implementation plan
274
+ - Testing/security requirements
275
+ - Demo requirements
276
+ - Presentation requirements
277
+
278
+ If official rules unavailable:
279
+
280
+ > RULES = UNKNOWN
281
+
282
+ Do not fabricate compliance.
283
+
284
+ ---
285
+
286
+ # 10. Judging Criteria Coverage
287
+
288
+ Use official criteria when available:
289
+
290
+ | Criterion | Weight | Evidence | Implementation Support | Demo Support | Presentation Support | Coverage | Confidence |
291
+
292
+ Use exact official terminology.
293
+
294
+ If weights unavailable:
295
+
296
+ > WEIGHT = UNKNOWN
297
+
298
+ Do not invent weights.
299
+
300
+ Do not calculate official score unless official judging mathematics known.
301
+
302
+ ---
303
+
304
+ # 11. Score Separation
305
+
306
+ Phase 18 summarizes prior internal estimates but keeps separate:
307
+
308
+ - OFFICIAL SCORE
309
+ - ESTIMATED SCORE
310
+ - PROVISIONAL SCORE
311
+ - SIMULATED JUDGE ASSESSMENT
312
+ - INTERNAL OPTIMIZATION HEURISTIC
313
+ - DEMO READINESS
314
+ - PRESENTATION READINESS
315
+ - FINAL AUDIT READINESS
316
+
317
+ Never combine into one misleading number.
318
+
319
+ Do not introduce hidden scoring multipliers or undisclosed transformations. A failed or blocked test is never represented as passed; PASS requires actual execution evidence.
320
+
321
+ If no official score:
322
+
323
+ > OFFICIAL SCORE = UNKNOWN
324
+
325
+ ---
326
+
327
+ # 12. Claim Audit
328
+
329
+ Audit claims from README, documentation, UI, demo, PPT, speaker notes, judge answers, project description, marketing text.
330
+
331
+ | Claim ID | Claim | Source | Evidence | Credibility | Risk | Action |
332
+
333
+ Credibility:
334
+
335
+ - VERIFIED
336
+ - SUPPORTED
337
+ - PARTIALLY_SUPPORTED
338
+ - UNSUPPORTED
339
+ - CONTRADICTED
340
+ - UNKNOWN
341
+
342
+ Rules:
343
+
344
+ - CONTRADICTED claims corrected or removed.
345
+ - UNSUPPORTED claims removed, weakened, or qualified.
346
+ - UNKNOWN claims not presented as facts.
347
+
348
+ ---
349
+
350
+ # 13. Metric Audit
351
+
352
+ Audit numerical claims:
353
+
354
+ | Metric | Value | Unit | Source | Measurement Method | Date | Evidence Status | Confidence |
355
+
356
+ Before using: user counts, accuracy, latency, revenue, savings, growth, adoption, performance, benchmark results, market size, percentage improvements — all require evidence.
357
+
358
+ Never fabricate precision.
359
+
360
+ If metric cannot be verified:
361
+
362
+ > UNKNOWN
363
+
364
+ ---
365
+
366
+ # 14. Testing Audit
367
+
368
+ Verify Phase 11 evidence:
369
+
370
+ - tests actually executed
371
+ - PASS has evidence
372
+ - critical paths tested
373
+ - failure cases addressed
374
+ - regression evidence exists
375
+ - blocked tests remain blocked
376
+ - UNKNOWN remains UNKNOWN
377
+
378
+ Do not infer full project quality from passing framework test.
379
+
380
+ Distinguish framework validation from live project validation.
381
+
382
+ ---
383
+
384
+ # 15. Security Audit
385
+
386
+ Verify:
387
+
388
+ - secrets not exposed
389
+ - environment configuration appropriate
390
+ - credentials not committed
391
+ - authentication claims accurate
392
+ - authorization claims accurate
393
+ - input handling claims supported
394
+ - privacy claims supported
395
+ - security findings tracked
396
+ - critical security findings resolved or explicitly accepted
397
+
398
+ Never claim "zero vulnerabilities" unless genuinely justified by verified scope.
399
+
400
+ Prefer bounded language.
401
+
402
+ ---
403
+
404
+ # 16. UX / Accessibility Audit
405
+
406
+ Verify Phase 12 findings:
407
+
408
+ - critical UX findings
409
+ - accessibility findings
410
+ - responsive behavior
411
+ - navigation
412
+ - forms
413
+ - error states
414
+ - loading states
415
+ - empty states
416
+ - success states
417
+ - demo flow
418
+
419
+ Do not claim accessibility compliance without evidence.
420
+
421
+ ---
422
+
423
+ # 17. Red Team Closure Audit
424
+
425
+ Review Phase 13 findings:
426
+
427
+ | Finding | Severity | Evidence | Status | Mitigation | Verification | Owner | Final Disposition |
428
+
429
+ Open CRITICAL finding blocks unconditional readiness.
430
+
431
+ ---
432
+
433
+ # 18. Judge Simulation Closure
434
+
435
+ Review Phase 14:
436
+
437
+ - critical judge questions
438
+ - skeptical follow-ups
439
+ - weak claims
440
+ - unsupported answers
441
+ - evidence gaps
442
+ - unresolved credibility concerns
443
+
444
+ Answer readiness:
445
+
446
+ - READY
447
+ - PARTIALLY_READY
448
+ - WEAK
449
+ - UNKNOWN
450
+ - NOT_APPLICABLE
451
+
452
+ Do not convert weak answers into READY without new evidence.
453
+
454
+ ---
455
+
456
+ # 19. Score Optimization Closure
457
+
458
+ Review Phase 15:
459
+
460
+ - P0 improvements
461
+ - P1 improvements
462
+ - unresolved evidence gaps
463
+ - reliability priorities
464
+ - differentiation priorities
465
+ - criterion gaps
466
+
467
+ For every unresolved P0:
468
+
469
+ | P0 Status | Owner | Reason | Impact | Verification | Final Disposition |
470
+
471
+ Do not silently delete unresolved P0 items.
472
+
473
+ ---
474
+
475
+ # 20. Demo Closure
476
+
477
+ Review Phase 16:
478
+
479
+ - primary flow
480
+ - critical demo steps
481
+ - demo evidence
482
+ - fallback
483
+ - rehearsal
484
+ - timing
485
+ - reliability
486
+ - judge-visible moments
487
+ - demo claims
488
+
489
+ Distinguish framework validation from live demo validation.
490
+
491
+ If no live project demo:
492
+
493
+ > LIVE DEMO READINESS = UNKNOWN / CONDITIONAL
494
+
495
+ Do not claim otherwise.
496
+
497
+ ---
498
+
499
+ # 21. Presentation Closure
500
+
501
+ Review Phase 17:
502
+
503
+ - essential slides
504
+ - judging criteria coverage
505
+ - claim evidence
506
+ - timing
507
+ - speaker guidance
508
+ - visual evidence
509
+ - Q&A readiness
510
+ - presentation risks
511
+
512
+ Distinguish presentation framework validated from live project presentation validated.
513
+
514
+ ---
515
+
516
+ # 22. Repository Audit
517
+
518
+ Inspect repository where available:
519
+
520
+ - source files
521
+ - manifests
522
+ - README
523
+ - configuration
524
+ - environment templates
525
+ - tests
526
+ - documentation
527
+ - deployment configuration
528
+ - unused critical files
529
+ - suspicious generated files
530
+ - accidental credentials
531
+ - temporary artifacts
532
+ - debug code
533
+ - broken references
534
+ - inconsistent project names
535
+
536
+ Do not modify repository during audit unless explicitly required and human-approved.
537
+
538
+ ---
539
+
540
+ # 23. Secret / Sensitive Data Audit
541
+
542
+ Search for likely secret indicators:
543
+
544
+ - API keys
545
+ - tokens
546
+ - passwords
547
+ - private keys
548
+ - credentials
549
+ - `.env`
550
+ - service account files
551
+ - OAuth secrets
552
+
553
+ Classify findings based on actual evidence.
554
+
555
+ Do not claim "no secrets exist anywhere" unless scope genuinely supports it.
556
+
557
+ Use bounded language:
558
+
559
+ > No secret indicators identified within inspected scope.
560
+
561
+ ---
562
+
563
+ # 24. Documentation Consistency
564
+
565
+ Check:
566
+
567
+ - README
568
+ - project description
569
+ - setup instructions
570
+ - environment variables
571
+ - architecture documentation
572
+ - demo instructions
573
+ - screenshots
574
+ - API documentation
575
+ - installation commands
576
+ - deployment URLs
577
+ - license
578
+
579
+ Identify stale or contradictory documentation.
580
+
581
+ ---
582
+
583
+ # 25. Deployment Audit
584
+
585
+ Where deployment evidence exists, verify:
586
+
587
+ - URL
588
+ - availability
589
+ - frontend
590
+ - backend
591
+ - API
592
+ - environment configuration
593
+ - expected routes
594
+ - critical flow
595
+
596
+ If live verification unavailable:
597
+
598
+ > DEPLOYMENT STATUS = UNKNOWN
599
+
600
+ Do not infer uptime.
601
+
602
+ ---
603
+
604
+ # 26. Submission Requirements Audit
605
+
606
+ Determine prerequisites for Phase 19:
607
+
608
+ - repository
609
+ - live URL
610
+ - PPT
611
+ - demo video
612
+ - documentation
613
+ - team information
614
+ - forms
615
+ - screenshots
616
+ - required files
617
+ - license
618
+ - README
619
+ - project description
620
+
621
+ For each:
622
+
623
+ | Requirement | Known? | Evidence | Status | Missing Item | Owner |
624
+
625
+ Phase 18 does not submit anything.
626
+
627
+ ---
628
+
629
+ # 27. Last-Minute Change Protection
630
+
631
+ Phase 18 explicitly warns against unnecessary changes.
632
+
633
+ Classify proposed changes:
634
+
635
+ - SAFE
636
+ - LOW_RISK
637
+ - MEDIUM_RISK
638
+ - HIGH_RISK
639
+ - IRREVERSIBLE
640
+
641
+ Near submission, default toward stability over feature expansion.
642
+
643
+ Do not recommend feature additions merely because possible.
644
+
645
+ ---
646
+
647
+ # 28. Final Risk Register
648
+
649
+ Each risk:
650
+
651
+ | Risk ID | Description | Source Phase | Severity | Likelihood | Confidence | Impact | Mitigation | Owner | Status | Final Disposition |
652
+
653
+ Confidence separate from severity.
654
+
655
+ ---
656
+
657
+ # 29. Final Readiness Gate
658
+
659
+ Gate values:
660
+
661
+ | Value | Meaning |
662
+ |-------|---------|
663
+ | NOT_READY | Insufficient evidence |
664
+ | READY | Critical items verified |
665
+ | BLOCKED | Critical dependency prevents validation |
666
+ | CONDITIONAL | Major unknowns remain |
667
+
668
+ READY requires:
669
+
670
+ - no unresolved critical blocker
671
+ - critical requirements verified
672
+ - critical claims supported
673
+ - judging criteria covered where known
674
+ - testing/security evidence sufficient
675
+ - demo evidence sufficient
676
+ - presentation evidence sufficient
677
+ - critical red-team findings resolved/accepted
678
+ - repository/submission prerequisites verified
679
+ - no known contradictory critical artifacts
680
+
681
+ CONDITIONAL when:
682
+
683
+ - no known critical blocker
684
+ - but important live verification still unavailable
685
+ - non-critical evidence incomplete
686
+
687
+ BLOCKED when critical requirement prevents progression.
688
+
689
+ NOT_READY when meaningful preparation remains.
690
+
691
+ Never mark READY simply because audit framework passed tests.
692
+
693
+ ---
694
+
695
+ # 30. Final Audit Score
696
+
697
+ Do not create misleading single project score.
698
+
699
+ If useful, report separate indicators:
700
+
701
+ - Evidence Completeness
702
+ - Requirement Coverage
703
+ - Claim Credibility
704
+ - Technical Readiness
705
+ - Demo Readiness
706
+ - Presentation Readiness
707
+ - Submission Readiness
708
+
709
+ Label as internal readiness indicators.
710
+
711
+ Not official judging scores.
712
+
713
+ ---
714
+
715
+ # 31. Final Audit Finding Model
716
+
717
+ Each finding:
718
+
719
+ | Field | Description |
720
+ |-------|-------------|
721
+ | Finding ID | Unique identifier |
722
+ | Domain | Audit domain |
723
+ | Severity | CRITICAL / HIGH / MEDIUM / LOW |
724
+ | Description | Finding description |
725
+ | Evidence | Evidence supporting finding |
726
+ | Evidence Status | FACT / INFERENCE / ASSUMPTION / UNKNOWN |
727
+ | Confidence | HIGH / MEDIUM / LOW / UNKNOWN |
728
+ | Impact | Impact description |
729
+ | Recommendation | Recommended remediation |
730
+ | Owner Phase | Owning phase |
731
+ | Human Approval Required | YES / NO |
732
+ | Status | OPEN / IN_PROGRESS / VERIFIED_MITIGATED / ACCEPTED_RISK / BLOCKED / UNKNOWN / NOT_APPLICABLE |
733
+ | Verification | Verification evidence |
734
+ | Final Disposition | Final disposition |
735
+
736
+ Confidence separate from severity.
737
+
738
+ ---
739
+
740
+ # 32. Human Authority
741
+
742
+ Human approval mandatory for:
743
+
744
+ - accepting critical risk
745
+ - changing selected idea
746
+ - changing project scope
747
+ - architecture changes
748
+ - destructive repository changes
749
+ - removing important evidence
750
+ - changing major claims
751
+ - removing judging-critical content
752
+ - submission decisions
753
+ - irreversible changes
754
+
755
+ AI recommends. Human decides.
756
+
757
+ ---
758
+
759
+ # 33. Project State Fields
760
+
761
+ Update ONLY these compact fields in `.sherpa/project-state.md`:
762
+
763
+ | Field | Allowed Values |
764
+ |-------|---------------|
765
+ | Final Audit Status | NOT_STARTED | IN_PROGRESS | BLOCKED | COMPLETE |
766
+ | Final Readiness | NOT_READY | CONDITIONAL | BLOCKED | READY |
767
+ | Critical Findings | UNKNOWN | NONE | IDENTIFIED |
768
+ | Requirement Coverage | UNKNOWN | PARTIAL | COMPLETE |
769
+ | Criterion Coverage | UNKNOWN | PARTIAL | COMPLETE |
770
+ | Claim Audit Status | UNKNOWN | PARTIAL | COMPLETE |
771
+ | Demo Closure Status | UNKNOWN | COMPLETE | INCOMPLETE |
772
+ | Presentation Closure Status | UNKNOWN | COMPLETE | INCOMPLETE |
773
+ | Submission Prerequisites | UNKNOWN | PARTIAL | COMPLETE |
774
+ | Repository Audit Status | UNKNOWN | PARTIAL | COMPLETE |
775
+ | Security Audit Status | UNKNOWN | PARTIAL | COMPLETE |
776
+ | Documentation Audit Status | UNKNOWN | PARTIAL | COMPLETE |
777
+ | Final Risk Level | UNKNOWN | LOW | MEDIUM | HIGH | CRITICAL |
778
+ | Current Blocker | UNKNOWN | <blocker description> |
779
+ | Primary Next Action | UNKNOWN | <action> |
780
+
781
+ Rules:
782
+
783
+ - Do NOT put detailed audit inside project-state.md.
784
+ - Detailed material goes to `.sherpa/final-audit.md` and `.sherpa/final-audit/`.
785
+ - Do not change `selected idea`.
786
+ - Do not silently change architecture.
787
+ - Human approval required for critical risk acceptance.
788
+
789
+ ---
790
+
791
+ # 34. Failure Cases
792
+
793
+ | Case | Behavior |
794
+ |------|----------|
795
+ | No selected idea | Stop and request confirmation |
796
+ | Missing Phase 17 evidence | Report FINAL-AUDIT = LIMITED; proceed with available evidence |
797
+ | Missing evidence | Mark UNKNOWN |
798
+ | Unsupported claim | Flag unsupported |
799
+ | Contradictory claims | Record contradiction; do not silently reconcile |
800
+ | Unknown deployment | DEPLOYMENT STATUS = UNKNOWN |
801
+ | Human approval required for critical risk | Route to HUMAN DECISION REQUIRED |
802
+
803
+ Phase 18 MUST NOT:
804
+
805
+ - Write application code
806
+ - Modify application source files
807
+ - Modify frontend/backend implementation
808
+ - Install dependencies
809
+ - Deploy application
810
+ - Change selected idea
811
+ - Silently redesign architecture
812
+ - Replace Phase 11–16 engines
813
+ - Perform final audit of live project without actual evidence
814
+ - Perform final submission
815
+ - Perform post-mortem
816
+ - Claim submission readiness without evidence
817
+ - Fabricate judge feedback
818
+ - Present unsupported claims
819
+
820
+ ---
821
+
822
+ # 35. Determinism
823
+
824
+ Same evidence, criteria, time remaining, and audit scope → same audit report and readiness determination every time. No randomness. No LLM-generated scores without explicit numeric input.