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