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,23 @@
1
+ # sherpa — Configuration Workflow
2
+
3
+ **Operations:** CONFIG, CONFIG CHECK
4
+ **Purpose:** Inspect or validate project configuration without starting another lifecycle phase.
5
+
6
+ ## CONFIG
7
+
8
+ Run the repository's `core/configuration/manager.py` with the current project root and `config` subcommand. Treat output as a redacted overview. Do not fetch provider metadata, make network calls, or infer runtime capabilities from settings. If files are missing, explain that INIT creates only absent files.
9
+
10
+ ## CONFIG CHECK
11
+
12
+ Run the same utility with the `check` subcommand. Report its exit status, configuration status, errors, warnings, Git protection, and the bounded secret scan. Never print `.env` values, tokens, matched secret text, or command-line secret overrides. “No known secret patterns detected” applies only to scanned files and patterns; it is not proof that the repository contains no secrets. Do not claim provider connectivity, builds, tests, or deployments from this check.
13
+
14
+ ## INIT integration
15
+
16
+ When INIT creates a project, run the utility's `init` subcommand from the actual target repository root before collecting facts. It creates missing templates only, records the known project root, and preserves existing files. Collect information through the existing INIT workflow; update only fields that remain `UNKNOWN`, using values explicitly supplied or verified from evidence. Keep unknown facts as `UNKNOWN`. Create `.env` only when needed and only with explicit local action; never copy credential values into configuration JSON or project state. Verify `.env` ignore protection before any secret is added.
17
+
18
+ ## Boundaries
19
+
20
+ - This workflow does not add a lifecycle phase or change the selected idea.
21
+ - It does not write application source, install dependencies, contact an AI provider, or deploy.
22
+ - `.sherpa/` and `.env` belong to the consuming project, not the sherpa framework repository.
23
+ - Preserve all user data; never reset or overwrite existing configuration during INIT.
@@ -0,0 +1,399 @@
1
+ # sherpa — DEMO PREPARE Workflow
2
+
3
+ **Operation:** DEMO-PREPARE
4
+ **Lifecycle Phase:** Phase 16 — Demo Preparation Intelligence
5
+ **Purpose:** Convert validated project evidence into a reliable, judge-oriented, time-bounded demonstration plan. Phase 16 optimizes for reliable judge comprehension and credible proof under real demo constraints, not feature quantity.
6
+
7
+ ## Prerequisites
8
+
9
+ - `.sherpa/project-state.md` must exist
10
+ - `selected idea` must be known (not UNKNOWN)
11
+ - Phase 15 score optimization evidence must exist
12
+ - Phase 14 judge simulation evidence must exist
13
+ - Phase 13 red-team evidence must exist
14
+ - Phase 12 UX evidence must exist
15
+ - Phase 11 testing/security evidence must exist
16
+
17
+ If any prerequisite is missing, mark it UNKNOWN, report DEMO-PREPARE = BLOCKED or LIMITED, and do not invent criteria, evidence, or demo readiness.
18
+
19
+ ## Pipeline
20
+
21
+ ### Stage 1: Read Project State
22
+
23
+ Read `.sherpa/project-state.md` and capture:
24
+
25
+ - Hackathon name, deadline, time remaining
26
+ - Phase
27
+ - Selected idea
28
+ - Judging criteria and weights
29
+ - Current estimated score, potential score
30
+ - Demo objective
31
+ - Demo readiness gate
32
+ - Time-aware strategy category
33
+
34
+ ### Stage 2: Read Prior-Phase Evidence
35
+
36
+ Consume (do not duplicate or replace) the following evidence:
37
+
38
+ | Phase | Source | What to consume |
39
+ |-------|--------|-----------------|
40
+ | Phase 11 | `.sherpa/evidence/` testing/security artifacts | Verified tests, critical failures, security findings, quality gate, evidence |
41
+ | Phase 12 | `.sherpa/ux-review.md`, `.sherpa/ux/` artifacts | Critical UX issues, usability findings, accessibility findings, demo flow observations |
42
+ | Phase 13 | `.sherpa/red-team.md`, `.sherpa/red-team/` artifacts | Critical findings, adversarial failures, recoverability, unresolved risks |
43
+ | Phase 14 | `.sherpa/judge-simulation.md` | Judge questions, skeptical follow-ups, weak claims, evidence gaps, expected judge concerns |
44
+ | Phase 15 | `.sherpa/score-optimization.md` | P0/P1 improvements, judge-visible priorities, evidence weaknesses |
45
+
46
+ Do not re-run Phase 11–15 engines. Consume their evidence only.
47
+
48
+ Flag contradictory claims between phases:
49
+
50
+ ```text
51
+ Documentation says X
52
+ Repository does Y
53
+ Phase 14 simulation says Z
54
+ ```
55
+
56
+ Do not silently reconcile contradictions. Record them as separate findings.
57
+
58
+ ### Stage 3: Inspect Current Repository
59
+
60
+ Inspect the actual repository:
61
+
62
+ - Project metadata
63
+ - Dependency manifests
64
+ - Top-level project structure
65
+ - Application entry points
66
+ - Frontend/backend/database/AI components
67
+ - APIs
68
+ - Tests
69
+ - Deployment configuration
70
+ - Documentation
71
+ - Environment configuration
72
+
73
+ Classify every observation as FACT, INFERENCE, ASSUMPTION, or UNKNOWN. Cite repository path/line or execution result.
74
+
75
+ Rules:
76
+
77
+ - Never fabricate repository facts.
78
+ - Seeing a file does not mean it works during a demo.
79
+ - Generated sherpa artifacts are not independent evidence.
80
+
81
+ ### Stage 4: Build Demo Objective
82
+
83
+ Define the demo objective:
84
+
85
+ > "By the end of the demo, the judge should understand that [PROJECT] solves [PROBLEM] for [USER] by [CORE MECHANISM], producing [VERIFIABLE RESULT]."
86
+
87
+ Every demo step should contribute to this objective. Flag unnecessary steps.
88
+
89
+ ### Stage 5: Build Demo Narrative
90
+
91
+ Build the demo narrative from these sections:
92
+
93
+ 1. Problem
94
+ 2. User/context
95
+ 3. Solution
96
+ 4. Core interaction
97
+ 5. Differentiator
98
+ 6. Technical credibility
99
+ 7. Result
100
+ 8. Impact
101
+ 9. Closing takeaway
102
+
103
+ Use time-aware selection. Do not force all sections into the live demo.
104
+
105
+ ### Stage 6: Build Demo Flow
106
+
107
+ Construct demo steps:
108
+
109
+ | Step ID | Step Name | Purpose | Presenter Action | System Action | Expected Result | Evidence | Time Estimate | Reliability | Failure Risk | Recovery | Fallback | Status |
110
+
111
+ Every step must have a status: PLANNED / EXECUTED / PASSED / FAILED / BLOCKED / UNKNOWN / NOT_APPLICABLE.
112
+
113
+ Do not mark PASSED without evidence.
114
+
115
+ ### Stage 7: Map Demo Evidence
116
+
117
+ For every demo claim:
118
+
119
+ | Claim ID | Claim | Evidence | Evidence Type | Evidence Status | Verification | Demo Step | Confidence |
120
+
121
+ Evidence types: UI / output / test / log / artifact / live behavior / documentation
122
+
123
+ Evidence statuses: FACT / INFERENCE / ASSUMPTION / UNKNOWN
124
+
125
+ No evidence → UNKNOWN. Weak evidence cannot be upgraded merely because the feature exists.
126
+
127
+ ### Stage 8: Build Demo Claim Matrix
128
+
129
+ Map judging criteria to project claims to demo steps to evidence:
130
+
131
+ | Judging Criterion | Project Claim | Demo Step | Evidence | Mapping State | Expected Judge Takeaway |
132
+
133
+ Mapping states: SUPPORTED / PARTIALLY_SUPPORTED / UNKNOWN / CONTRADICTED / NOT_APPLICABLE
134
+
135
+ If judging criteria are unavailable:
136
+
137
+ ```
138
+ CRITERION = UNKNOWN
139
+ ```
140
+
141
+ ### Stage 9: Identify Judge-Visible Moments
142
+
143
+ Identify moments where the judge should clearly notice:
144
+
145
+ - Problem relevance
146
+ - Solution value
147
+ - Innovation
148
+ - Differentiation
149
+ - Technical sophistication
150
+ - Reliability
151
+ - UX quality
152
+ - Security/privacy
153
+ - Measurable result
154
+ - Real-world usefulness
155
+
156
+ Each moment: Moment ID / What judge should notice / How demonstrated / Evidence / Expected takeaway / Confidence / Time cost / Risk
157
+
158
+ ### Stage 10: Build Presenter Talking Points
159
+
160
+ For each major demo step:
161
+
162
+ ```text
163
+ ACTION: What the presenter does.
164
+ SAY: What the presenter says.
165
+ SHOW: What the judge sees.
166
+ PROVE: What evidence supports the claim.
167
+ TRANSITION: How to move to the next step.
168
+ ```
169
+
170
+ Phase 16 only prepares demo-specific speaking guidance. Phase 17 owns presentation construction.
171
+
172
+ ### Stage 11: Build Demo Timing Model
173
+
174
+ Create timing plan:
175
+
176
+ | Segment | Target Time | Priority |
177
+
178
+ Derive timing from competition constraints, available demo time, project complexity, reliability, judge attention, and number of critical steps.
179
+
180
+ If demo duration is UNKNOWN:
181
+
182
+ ```
183
+ DEMO DURATION = UNKNOWN
184
+ ```
185
+
186
+ ### Stage 12: Assess Demo Reliability
187
+
188
+ Every demo step receives:
189
+
190
+ | Dimension | Scale |
191
+ |-----------|-------|
192
+ | Reliability | HIGH / MEDIUM / LOW / UNKNOWN |
193
+ | Failure likelihood | LOW / MEDIUM / HIGH / UNKNOWN |
194
+ | Recoverability | IMMEDIATE / SIMPLE / MANUAL / DIFFICULT / NONE / UNKNOWN |
195
+
196
+ A low-reliability, high-importance step must receive remediation, simplification, fallback, or explicit human approval.
197
+
198
+ ### Stage 13: Build Failure and Recovery Model
199
+
200
+ Identify failure classes:
201
+
202
+ - Application fails to load
203
+ - API timeout
204
+ - Backend unavailable
205
+ - Authentication failure
206
+ - Database unavailable
207
+ - External service failure
208
+ - Invalid input
209
+ - Empty state
210
+ - Unexpected output
211
+ - Deployment issue
212
+ - Network interruption
213
+ - Browser issue
214
+ - Slow response
215
+ - Repeated action failure
216
+
217
+ For each failure: Failure ID / Trigger / Expected impact / Detection / Immediate action / Recovery path / Fallback / Presenter response / Evidence requirement / Severity / Status
218
+
219
+ Never instruct the presenter to fabricate successful output.
220
+
221
+ ### Stage 14: Build Fallback Strategy
222
+
223
+ Every critical demo flow must have a fallback where practical.
224
+
225
+ Fallback categories:
226
+
227
+ - Live retry
228
+ - Alternate route
229
+ - Preloaded demo data
230
+ - Local fallback
231
+ - Static evidence
232
+ - Recorded backup
233
+ - Screenshot evidence
234
+ - Test output
235
+ - Secondary environment
236
+
237
+ Clearly label fallback evidence. Never present a recording or screenshot as live runtime behavior.
238
+
239
+ ### Stage 15: Build Demo Checkpoints
240
+
241
+ Checkpoint categories:
242
+
243
+ - application loaded
244
+ - authentication ready
245
+ - database ready
246
+ - test data ready
247
+ - core action ready
248
+ - output verified
249
+ - differentiator ready
250
+ - evidence ready
251
+ - fallback ready
252
+ - final state ready
253
+
254
+ Each checkpoint: Checkpoint ID / Condition / Verification method / Expected result / Status / Evidence / Owner / Recovery action
255
+
256
+ ### Stage 16: Assign Demo Priorities
257
+
258
+ Priority system:
259
+
260
+ | Priority | Definition |
261
+ |----------|------------|
262
+ | DEMO-P0 | Demo blocker / critical |
263
+ | DEMO-P1 | Judge-visible high value |
264
+ | DEMO-P2 | Useful but non-critical |
265
+ | DEMO-P3 | Optional polish |
266
+ | DROP | Remove from demo |
267
+
268
+ Every demo item must receive exactly one priority.
269
+
270
+ ### Stage 17: Build Rehearsal Plan
271
+
272
+ Rehearsal statuses:
273
+
274
+ - NOT_STARTED
275
+ - PLANNED
276
+ - IN_PROGRESS
277
+ - PASSED
278
+ - FAILED
279
+ - BLOCKED
280
+ - UNKNOWN
281
+
282
+ Each rehearsal captures:
283
+
284
+ - Run ID / Timestamp / Duration / Steps completed / Failures / Recovery attempts / Observed delays / Unexpected behavior / Evidence / Final result
285
+
286
+ A rehearsal marked PASSED must have actual evidence.
287
+
288
+ ### Stage 18: Determine Demo Readiness Gate
289
+
290
+ Gate values:
291
+
292
+ | Value | Meaning |
293
+ |-------|---------|
294
+ | NOT_READY | Insufficient evidence for meaningful review |
295
+ | PREPARING | Review is actively incomplete |
296
+ | BLOCKED | Critical dependency prevents validation |
297
+ | CONDITIONAL | Major unknowns remain, but review produced useful results |
298
+ | READY | Critical demo surfaces reviewed sufficiently |
299
+
300
+ READY requires:
301
+
302
+ - Primary flow verified
303
+ - Core output verified
304
+ - Critical claims supported
305
+ - Critical failures understood
306
+ - Fallback available where needed
307
+ - Timing known or explicitly UNKNOWN
308
+ - Rehearsal completed
309
+ - No unresolved critical demo blocker
310
+
311
+ If any critical requirement is UNKNOWN, do not silently mark READY.
312
+
313
+ ### Stage 19: Apply Time-Aware Demo Strategy
314
+
315
+ | Time Remaining | Priority Focus |
316
+ |----------------|----------------|
317
+ | >24 hours | Full reliable demo, fallback infrastructure, multiple rehearsals, polished judge-visible flow, evidence capture |
318
+ | 12–24 hours | Complete happy path, reliability, one fallback, evidence mapping, rehearsal |
319
+ | 6–12 hours | Core demo, critical path, reliability, failure recovery, judge-visible differentiation, evidence |
320
+ | 2–6 hours | Freeze features, stabilize demo, remove fragile demo steps, rehearse, capture backup evidence |
321
+ | <2 hours | Freeze scope. Only demo-critical bug fixes, reliability fixes, deployment fixes, evidence verification, rehearsal, backup preparation |
322
+
323
+ If time is UNKNOWN:
324
+
325
+ ```
326
+ DEMO DURATION = UNKNOWN
327
+ ```
328
+
329
+ ### Stage 20: Update Project State
330
+
331
+ Update ONLY these compact fields in `.sherpa/project-state.md`:
332
+
333
+ | Field | Allowed Values |
334
+ |-------|---------------|
335
+ | Demo Preparation Status | NOT_STARTED | IN_PROGRESS | BLOCKED | COMPLETE |
336
+ | Demo Objective | UNKNOWN | DEFINED |
337
+ | Demo Flow Status | UNKNOWN | DEFINED | REVIEWED |
338
+ | Demo Checkpoints | UNKNOWN | IDENTIFIED | REVIEWED |
339
+ | Demo Readiness Gate | NOT_READY | PREPARING | BLOCKED | CONDITIONAL | READY |
340
+ | Demo Critical Findings | UNKNOWN | NONE | IDENTIFIED |
341
+
342
+ Rules:
343
+
344
+ - Do NOT put detailed demo analysis inside project-state.md.
345
+ - Detailed material goes to `.sherpa/demo-preparation.md` and `.sherpa/demo/`.
346
+ - Do not change `selected idea`.
347
+ - Do not silently change architecture.
348
+ - Human approval required for major demo scope changes.
349
+
350
+ ### Stage 21: Return Exactly One Primary Next Action
351
+
352
+ Output format:
353
+
354
+ ```
355
+ PRIMARY NEXT ACTION: <exactly one action>
356
+
357
+ WHY: <explanation based on impact, time, risk, and judging criteria>
358
+
359
+ DONE WHEN: <clear definition of done>
360
+
361
+ Time remaining: <hours or UNKNOWN>
362
+
363
+ Blocked by: <blocker or "None">
364
+ ```
365
+
366
+ Rule: Exactly one primary next action. Do not produce competing alternatives.
367
+
368
+ ## Validation Checklist
369
+
370
+ After DEMO-PREPARE completes:
371
+
372
+ - [ ] Project state read and verified
373
+ - [ ] Phase 11–15 evidence consumed (not duplicated)
374
+ - [ ] Repository inspected for evidence
375
+ - [ ] Demo objective defined
376
+ - [ ] Demo narrative built
377
+ - [ ] Demo flow constructed
378
+ - [ ] Demo evidence mapped
379
+ - [ ] Demo claim matrix created
380
+ - [ ] Judge-visible moments identified
381
+ - [ ] Presenter talking points prepared
382
+ - [ ] Demo timing model built
383
+ - [ ] Demo reliability assessed
384
+ - [ ] Failure and recovery model built
385
+ - [ ] Fallback strategy created
386
+ - [ ] Demo checkpoints defined
387
+ - [ ] Demo priorities assigned
388
+ - [ ] Rehearsal plan built
389
+ - [ ] Demo readiness gate evaluated
390
+ - [ ] Time-aware demo strategy applied
391
+ - [ ] Project state updated with compact fields only
392
+ - [ ] No Phase 1–15 artifacts modified
393
+ - [ ] No application source code modified
394
+ - [ ] No PPT created
395
+ - [ ] No final presentation performed
396
+ - [ ] No final submission performed
397
+ - [ ] No postmortem performed
398
+ - [ ] No demo claim fabricated
399
+ - [ ] Exactly ONE primary next action returned