jumpstart-mode 1.1.12 → 1.1.13

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 (146) hide show
  1. package/.github/agents/jumpstart-adversary.agent.md +2 -1
  2. package/.github/agents/jumpstart-architect.agent.md +5 -6
  3. package/.github/agents/jumpstart-challenger.agent.md +2 -1
  4. package/.github/agents/jumpstart-devops.agent.md +2 -2
  5. package/.github/agents/jumpstart-diagram-verifier.agent.md +2 -1
  6. package/.github/agents/jumpstart-maintenance.agent.md +1 -0
  7. package/.github/agents/jumpstart-performance.agent.md +1 -0
  8. package/.github/agents/jumpstart-pm.agent.md +1 -1
  9. package/.github/agents/jumpstart-refactor.agent.md +1 -0
  10. package/.github/agents/jumpstart-requirements-extractor.agent.md +1 -0
  11. package/.github/agents/jumpstart-researcher.agent.md +1 -0
  12. package/.github/agents/jumpstart-retrospective.agent.md +1 -0
  13. package/.github/agents/jumpstart-reviewer.agent.md +2 -0
  14. package/.github/agents/jumpstart-scout.agent.md +1 -1
  15. package/.github/agents/jumpstart-scrum-master.agent.md +1 -0
  16. package/.github/agents/jumpstart-security.agent.md +2 -1
  17. package/.github/agents/jumpstart-tech-writer.agent.md +1 -0
  18. package/.github/workflows/quality.yml +19 -2
  19. package/.jumpstart/agents/analyst.md +38 -0
  20. package/.jumpstart/agents/architect.md +38 -0
  21. package/.jumpstart/agents/challenger.md +38 -0
  22. package/.jumpstart/agents/developer.md +41 -0
  23. package/.jumpstart/agents/pm.md +38 -0
  24. package/.jumpstart/agents/scout.md +33 -0
  25. package/.jumpstart/agents/ux-designer.md +4 -0
  26. package/.jumpstart/config.yaml +24 -0
  27. package/.jumpstart/schemas/timeline.schema.json +1 -0
  28. package/.jumpstart/skills/skill-creator/SKILL.md +485 -357
  29. package/.jumpstart/skills/skill-creator/agents/analyzer.md +274 -0
  30. package/.jumpstart/skills/skill-creator/agents/comparator.md +202 -0
  31. package/.jumpstart/skills/skill-creator/agents/grader.md +223 -0
  32. package/.jumpstart/skills/skill-creator/assets/eval_review.html +146 -0
  33. package/.jumpstart/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  34. package/.jumpstart/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  35. package/.jumpstart/skills/skill-creator/references/schemas.md +430 -0
  36. package/.jumpstart/skills/skill-creator/scripts/__init__.py +0 -0
  37. package/.jumpstart/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  38. package/.jumpstart/skills/skill-creator/scripts/generate_report.py +326 -0
  39. package/.jumpstart/skills/skill-creator/scripts/improve_description.py +247 -0
  40. package/.jumpstart/skills/skill-creator/scripts/package_skill.py +136 -110
  41. package/.jumpstart/skills/skill-creator/scripts/run_eval.py +310 -0
  42. package/.jumpstart/skills/skill-creator/scripts/run_loop.py +328 -0
  43. package/.jumpstart/skills/skill-creator/scripts/utils.py +47 -0
  44. package/.jumpstart/state/timeline.json +659 -0
  45. package/.jumpstart/usage-log.json +74 -3
  46. package/README.md +62 -1
  47. package/bin/cli.js +3217 -1
  48. package/bin/headless-runner.js +62 -2
  49. package/bin/lib/agent-checkpoint.js +168 -0
  50. package/bin/lib/ai-evaluation.js +104 -0
  51. package/bin/lib/ai-intake.js +152 -0
  52. package/bin/lib/ambiguity-heatmap.js +152 -0
  53. package/bin/lib/artifact-comparison.js +104 -0
  54. package/bin/lib/ast-edit-engine.js +157 -0
  55. package/bin/lib/backlog-sync.js +338 -0
  56. package/bin/lib/bcdr-planning.js +158 -0
  57. package/bin/lib/bidirectional-trace.js +199 -0
  58. package/bin/lib/branch-workflow.js +266 -0
  59. package/bin/lib/cab-output.js +119 -0
  60. package/bin/lib/chat-integration.js +122 -0
  61. package/bin/lib/ci-cd-integration.js +208 -0
  62. package/bin/lib/codebase-retrieval.js +125 -0
  63. package/bin/lib/collaboration.js +168 -0
  64. package/bin/lib/compliance-packs.js +213 -0
  65. package/bin/lib/context-chunker.js +128 -0
  66. package/bin/lib/context-onboarding.js +122 -0
  67. package/bin/lib/contract-first.js +124 -0
  68. package/bin/lib/cost-router.js +148 -0
  69. package/bin/lib/credential-boundary.js +155 -0
  70. package/bin/lib/data-classification.js +180 -0
  71. package/bin/lib/data-contracts.js +129 -0
  72. package/bin/lib/db-evolution.js +158 -0
  73. package/bin/lib/decision-conflicts.js +299 -0
  74. package/bin/lib/delivery-confidence.js +361 -0
  75. package/bin/lib/dependency-upgrade.js +153 -0
  76. package/bin/lib/design-system.js +133 -0
  77. package/bin/lib/deterministic-artifacts.js +151 -0
  78. package/bin/lib/diagram-studio.js +115 -0
  79. package/bin/lib/domain-ontology.js +140 -0
  80. package/bin/lib/ea-review-packet.js +151 -0
  81. package/bin/lib/enterprise-search.js +123 -0
  82. package/bin/lib/enterprise-templates.js +140 -0
  83. package/bin/lib/environment-promotion.js +220 -0
  84. package/bin/lib/estimation-studio.js +130 -0
  85. package/bin/lib/event-modeling.js +133 -0
  86. package/bin/lib/evidence-collector.js +179 -0
  87. package/bin/lib/finops-planner.js +182 -0
  88. package/bin/lib/fitness-functions.js +279 -0
  89. package/bin/lib/focus.js +448 -0
  90. package/bin/lib/governance-dashboard.js +165 -0
  91. package/bin/lib/guided-handoff.js +120 -0
  92. package/bin/lib/impact-analysis.js +190 -0
  93. package/bin/lib/incident-feedback.js +157 -0
  94. package/bin/lib/integrate.js +1 -1
  95. package/bin/lib/knowledge-graph.js +122 -0
  96. package/bin/lib/legacy-modernizer.js +160 -0
  97. package/bin/lib/migration-planner.js +144 -0
  98. package/bin/lib/model-governance.js +185 -0
  99. package/bin/lib/model-router.js +144 -0
  100. package/bin/lib/multi-repo.js +272 -0
  101. package/bin/lib/next-phase.js +53 -8
  102. package/bin/lib/ops-ownership.js +152 -0
  103. package/bin/lib/parallel-agents.js +257 -0
  104. package/bin/lib/pattern-library.js +115 -0
  105. package/bin/lib/persona-packs.js +99 -0
  106. package/bin/lib/plan-executor.js +366 -0
  107. package/bin/lib/platform-engineering.js +119 -0
  108. package/bin/lib/playback-summaries.js +126 -0
  109. package/bin/lib/policy-engine.js +240 -0
  110. package/bin/lib/portfolio-reporting.js +357 -0
  111. package/bin/lib/pr-package.js +197 -0
  112. package/bin/lib/project-memory.js +235 -0
  113. package/bin/lib/prompt-governance.js +130 -0
  114. package/bin/lib/promptless-mode.js +128 -0
  115. package/bin/lib/quality-graph.js +193 -0
  116. package/bin/lib/raci-matrix.js +188 -0
  117. package/bin/lib/refactor-planner.js +167 -0
  118. package/bin/lib/reference-architectures.js +304 -0
  119. package/bin/lib/release-readiness.js +171 -0
  120. package/bin/lib/repo-graph.js +262 -0
  121. package/bin/lib/requirements-baseline.js +358 -0
  122. package/bin/lib/risk-register.js +211 -0
  123. package/bin/lib/role-approval.js +249 -0
  124. package/bin/lib/role-views.js +142 -0
  125. package/bin/lib/root-cause-analysis.js +132 -0
  126. package/bin/lib/runtime-debugger.js +154 -0
  127. package/bin/lib/safe-rename.js +135 -0
  128. package/bin/lib/semantic-diff.js +335 -0
  129. package/bin/lib/sla-slo.js +210 -0
  130. package/bin/lib/spec-comments.js +147 -0
  131. package/bin/lib/spec-maturity.js +287 -0
  132. package/bin/lib/sre-integration.js +154 -0
  133. package/bin/lib/structured-elicitation.js +174 -0
  134. package/bin/lib/telemetry-feedback.js +118 -0
  135. package/bin/lib/test-generator.js +146 -0
  136. package/bin/lib/timeline.js +2 -1
  137. package/bin/lib/tool-bridge.js +107 -0
  138. package/bin/lib/tool-guardrails.js +139 -0
  139. package/bin/lib/tool-schemas.js +172 -3
  140. package/bin/lib/transcript-ingestion.js +150 -0
  141. package/bin/lib/vendor-risk.js +173 -0
  142. package/bin/lib/waiver-workflow.js +174 -0
  143. package/bin/lib/web-dashboard.js +126 -0
  144. package/bin/lib/workshop-mode.js +165 -0
  145. package/bin/lib/workstream-ownership.js +104 -0
  146. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: "Jump Start: Adversary"
3
3
  description: "Advisory -- Stress-test spec artifacts for violations, gaps, and ambiguities"
4
- tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent', 'context7/*']
4
+ tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -1,14 +1,13 @@
1
1
  ---
2
2
  name: "Jump Start: Architect"
3
- description:Phase 3 agent responsible for translating the PRD into a technical blueprint and an ordered implementation plan
4
- model: GPT-5.2
3
+ description: Phase 3 agent responsible for translating the PRD into a technical blueprint and an ordered implementation plan. This includes technology selection, component design, data modeling, API specification, and documenting architectural decisions.
5
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
6
5
  agents: ["*"]
7
6
  handoffs:
8
- - label: "Proceed to Phase 4: Development"
9
- agent: "Jump Start: Developer"
10
- prompt: Implement the plan
11
- send: true
7
+ - label: "Proceed to Phase 4: Development"
8
+ agent: "Jump Start: Developer"
9
+ prompt: "Implement the plan"
10
+ send: true
12
11
  ---
13
12
 
14
13
  ## Identity
@@ -2,9 +2,10 @@
2
2
  name: "Jump Start: Challenger"
3
3
  description: "Phase 0 -- Interrogate assumptions, find root causes, reframe the problem before any building begins"
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent','context7/*']
5
+ agents: ["*"]
5
6
  handoffs:
6
7
  - label: "Proceed to Phase 1: Analysis"
7
- agent: Jump Start: Analyst
8
+ agent: "Jump Start: Analyst"
8
9
  prompt: "The Challenger Brief at specs/challenger-brief.md has been approved. Begin Phase 1 analysis."
9
10
  send: true
10
11
  ---
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: "Jump Start: DevOps Engineer"
3
3
  description: Phase 4 advisory agent focused on deployment pipelines, environment management, and operational reliability
4
- model: GPT-5.2
5
- tools: [execute, read, edit, search, web, agent, todo]
4
+ tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
6
6
  agents: ["*"]
7
7
  ---
8
8
 
@@ -1,7 +1,8 @@
1
1
  ---
2
- name: JumpStart Diagram Verifier
2
+ name: "Jump Start: Diagram Verifier"
3
3
  description: Validates Mermaid diagrams in JumpStart specification artifacts for structural syntax and semantic correctness.
4
4
  tools: ['execute', 'read', 'search', 'agent', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Maintenance Agent"
3
3
  description: "Advisory agent focused on detecting dependency drift, specification drift, and technical debt accumulation over time to ensure the project remains maintainable, secure, and aligned with its documented design"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
  ## Identity
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Performance Analyst"
3
3
  description: "Advisory agent focused on defining measurable performance NFRs, establishing performance budgets, and ensuring the architecture and implementation plan account for scale, latency, throughput, and cost constraints"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -5,7 +5,7 @@ tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7
5
5
  agents: ["*"]
6
6
  handoffs:
7
7
  - label: "Proceed to Phase 3: Architecture"
8
- agent: Jump Start: Architect
8
+ agent: "Jump Start: Architect"
9
9
  prompt: "The PRD at specs/prd.md has been approved. Begin Phase 3 architecture design."
10
10
  send: true
11
11
  ---
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Refactoring Agent"
3
3
  description: "Post-implementation advisory agent focused on identifying refactoring opportunities to reduce complexity, improve maintainability, and align the code with established patterns — without changing behaviour"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Requirements Extractor"
3
3
  description: "Advisory -- Curate PRD questions from requirements checklist using Scout + Challenger context"
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent', 'context7/*']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Domain Researcher"
3
3
  description: "Advisory agent focused on evidence-based technology evaluation, version-pinned dependency validation, and domain-specific research to inform architecture and build decisions"
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent', 'context7/*']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Retrospective"
3
3
  description: "Advisory -- Post-build analysis of plan vs reality, tech debt catalogue, process improvements"
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent', 'context7/*']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -2,6 +2,8 @@
2
2
  name: "Jump Start: Reviewer"
3
3
  description: "Advisory -- Structured peer review scoring across completeness, consistency, traceability, and quality"
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent', 'context7/*']
5
+ user-invocable: false
6
+ agents: ["*"]
5
7
  ---
6
8
 
7
9
  # The Reviewer -- Advisory
@@ -4,7 +4,7 @@ description: "Pre-Phase 0 -- Analyze an existing codebase to produce C4 diagrams
4
4
  tools: ['search', 'web', 'read', 'edit', 'vscode', 'todo', 'agent','context7/*']
5
5
  handoffs:
6
6
  - label: "Proceed to Phase 0: Challenge"
7
- agent: Jump Start: Challenger
7
+ agent: "Jump Start: Challenger"
8
8
  prompt: "The Codebase Context at specs/codebase-context.md has been approved. Begin Phase 0 problem discovery. Note: this is a brownfield project — read specs/codebase-context.md for existing system context."
9
9
  send: true
10
10
  ---
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Scrum Master"
3
3
  description: "Phase 3 advisory agent focused on sprint planning, task orchestration, and blocker detection to ensure smooth execution in Phase 4"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
  ## Identity
@@ -1,7 +1,8 @@
1
1
  ---
2
- name: "Jump Start: Security Architect
2
+ name: "Jump Start: Security Architect"
3
3
  description: "Advisory agent focused on auditing architecture and implementation plans against security best practices, OWASP Top 10 risks, and project-specific invariants to identify vulnerabilities and recommend mitigations"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
  ## Identity
@@ -2,6 +2,7 @@
2
2
  name: "Jump Start: Technical Writer"
3
3
  description: "Advisory agent focused on ensuring all documentation is accurate, complete, and aligned with the implemented solution — acting as the documentation conscience of the build phase"
4
4
  tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'context7/*', 'mcp_docker/search', 'filesystem/*', 'todo']
5
+ user-invocable: false
5
6
  agents: ["*"]
6
7
  ---
7
8
 
@@ -43,6 +43,23 @@ jobs:
43
43
  - name: Layer 5 — Regression Golden Masters
44
44
  run: npx vitest run tests/test-regression.test.js --reporter=verbose
45
45
 
46
- - name: All Tests Summary
46
+ - name: All Tests — Batched
47
47
  if: always()
48
- run: npx vitest run --reporter=verbose
48
+ run: |
49
+ # Discover all test files, exclude the OOM-causing aggregate test,
50
+ # then run in batches of 15 to stay within Node.js heap limits.
51
+ files=$(find tests -maxdepth 1 -type f -name '*.test.js' \
52
+ ! -name 'test-agent-intelligence.test.js' | sort)
53
+ batch=()
54
+ for f in $files; do
55
+ batch+=("$f")
56
+ if [ ${#batch[@]} -ge 15 ]; then
57
+ echo "--- Running batch: ${batch[*]} ---"
58
+ npx vitest run "${batch[@]}" --reporter=verbose
59
+ batch=()
60
+ fi
61
+ done
62
+ if [ ${#batch[@]} -gt 0 ]; then
63
+ echo "--- Running final batch: ${batch[*]} ---"
64
+ npx vitest run "${batch[@]}" --reporter=verbose
65
+ fi
@@ -155,6 +155,44 @@ Track progress through the 10-step Analysis Protocol so the human can see what's
155
155
  - [ ] Step 10: Compile and Present the Product Brief
156
156
  ```
157
157
 
158
+ ### record_timeline_event Tool
159
+
160
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your workflow steps, decisions, and interactions.
161
+
162
+ **When to use:**
163
+ - After reading an upstream artifact or template (event type: `artifact_read` or `template_read`)
164
+ - When invoking a subagent (event type: `subagent_invoked` / `subagent_completed`)
165
+ - After significant analysis decisions (event type: `custom`)
166
+ - When logging prompt context (event type: `prompt_logged`)
167
+
168
+ **Example invocation:**
169
+ ```json
170
+ {
171
+ "event_type": "artifact_read",
172
+ "action": "Read upstream artifact: specs/challenger-brief.md",
173
+ "metadata": { "artifact_path": "specs/challenger-brief.md" }
174
+ }
175
+ ```
176
+
177
+ ### log_usage Tool
178
+
179
+ Use this tool at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`. This enables cost tracking and usage auditing across all phases.
180
+
181
+ **When to use:**
182
+ - At the end of your phase, before presenting the artifact for approval
183
+ - After completing a significant sub-task or consultation
184
+
185
+ **Example invocation:**
186
+ ```json
187
+ {
188
+ "phase": "phase-1",
189
+ "agent": "Analyst",
190
+ "action": "generation",
191
+ "estimated_tokens": 2800,
192
+ "model": "copilot"
193
+ }
194
+ ```
195
+
158
196
  ---
159
197
 
160
198
  ## Context7 Documentation Tooling (Item 101)
@@ -160,6 +160,44 @@ Track progress through the 9-step Solutioning Protocol. Architecture is complex
160
160
  - [ ] Step 9: Compile and Present
161
161
  ```
162
162
 
163
+ ### record_timeline_event Tool
164
+
165
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your workflow steps, decisions, and interactions.
166
+
167
+ **When to use:**
168
+ - After reading an upstream artifact or template (event type: `artifact_read` or `template_read`)
169
+ - When invoking a subagent (event type: `subagent_invoked` / `subagent_completed`)
170
+ - After significant architecture decisions or ADR creation (event type: `custom`)
171
+ - When logging prompt context (event type: `prompt_logged`)
172
+
173
+ **Example invocation:**
174
+ ```json
175
+ {
176
+ "event_type": "subagent_invoked",
177
+ "action": "Invoked Security subagent for STRIDE threat analysis",
178
+ "metadata": { "subagent_name": "Security", "subagent_query": "STRIDE threat model for API gateway" }
179
+ }
180
+ ```
181
+
182
+ ### log_usage Tool
183
+
184
+ Use this tool at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`. This enables cost tracking and usage auditing across all phases.
185
+
186
+ **When to use:**
187
+ - At the end of your phase, before presenting the artifact for approval
188
+ - After completing a significant sub-task or subagent consultation
189
+
190
+ **Example invocation:**
191
+ ```json
192
+ {
193
+ "phase": "phase-3",
194
+ "agent": "Architect",
195
+ "action": "generation",
196
+ "estimated_tokens": 5200,
197
+ "model": "copilot"
198
+ }
199
+ ```
200
+
163
201
  ---
164
202
 
165
203
  ## Solutioning Protocol
@@ -202,6 +202,44 @@ Use this tool to track progress through the 8-step Elicitation Protocol. This he
202
202
  - [ ] Step 8: Compile and Present the Brief
203
203
  ```
204
204
 
205
+ ### record_timeline_event Tool
206
+
207
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your workflow steps, decisions, and interactions.
208
+
209
+ **When to use:**
210
+ - After reading an upstream artifact or template (event type: `artifact_read` or `template_read`)
211
+ - When invoking a subagent (event type: `subagent_invoked` / `subagent_completed`)
212
+ - After significant decisions or reframes (event type: `custom`)
213
+ - When logging your system/activation prompt context (event type: `prompt_logged`)
214
+
215
+ **Example invocation:**
216
+ ```json
217
+ {
218
+ "event_type": "artifact_read",
219
+ "action": "Read upstream artifact: specs/challenger-brief.md",
220
+ "metadata": { "artifact_path": "specs/challenger-brief.md" }
221
+ }
222
+ ```
223
+
224
+ ### log_usage Tool
225
+
226
+ Use this tool at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`. This enables cost tracking and usage auditing across all phases.
227
+
228
+ **When to use:**
229
+ - At the end of your phase, before presenting the artifact for approval
230
+ - After completing a significant sub-task or consultation
231
+
232
+ **Example invocation:**
233
+ ```json
234
+ {
235
+ "phase": "phase-0",
236
+ "agent": "Challenger",
237
+ "action": "generation",
238
+ "estimated_tokens": 3200,
239
+ "model": "copilot"
240
+ }
241
+ ```
242
+
205
243
  ---
206
244
 
207
245
  ## Elicitation Protocol
@@ -166,6 +166,47 @@ Track implementation progress task-by-task and milestone-by-milestone. This is e
166
166
  - When resuming work after a break, context is immediately clear
167
167
  - Progress tracking integrates naturally with VS Code's task tracking UI
168
168
 
169
+ ### record_timeline_event Tool
170
+
171
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your workflow steps, decisions, and interactions.
172
+
173
+ **When to use:**
174
+ - After reading the implementation plan (event type: `artifact_read`)
175
+ - Before and after each task implementation (event type: `custom`)
176
+ - When creating files or tests (event type: `file_write`)
177
+ - When invoking advisory subagents like QA or Security (event type: `subagent_invoked` / `subagent_completed`)
178
+ - When logging prompt context (event type: `prompt_logged`)
179
+
180
+ **Example invocation:**
181
+ ```json
182
+ {
183
+ "event_type": "custom",
184
+ "action": "Starting task T-001: Scaffold project structure",
185
+ "metadata": { "task_id": "T-001", "task_name": "Scaffold project structure" }
186
+ }
187
+ ```
188
+
189
+ ### log_usage Tool
190
+
191
+ Use this tool at the **end of each task** and at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`. This enables cost tracking and usage auditing.
192
+
193
+ **When to use:**
194
+ - After completing each implementation task
195
+ - At the end of the build phase, before presenting for approval
196
+ - After subagent consultations
197
+
198
+ **Example invocation:**
199
+ ```json
200
+ {
201
+ "phase": "phase-4",
202
+ "agent": "Developer",
203
+ "action": "generation",
204
+ "estimated_tokens": 8500,
205
+ "model": "copilot",
206
+ "metadata": { "task_id": "T-001", "files_created": 5 }
207
+ }
208
+ ```
209
+
169
210
  ---
170
211
 
171
212
  ## Implementation Protocol
@@ -158,6 +158,44 @@ Track progress through the 10-step Planning Protocol.
158
158
  - [ ] Step 10: Compile and Present the PRD
159
159
  ```
160
160
 
161
+ ### record_timeline_event Tool
162
+
163
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your workflow steps, decisions, and interactions.
164
+
165
+ **When to use:**
166
+ - After reading an upstream artifact or template (event type: `artifact_read` or `template_read`)
167
+ - When invoking a subagent (event type: `subagent_invoked` / `subagent_completed`)
168
+ - After significant planning decisions (event type: `custom`)
169
+ - When logging prompt context (event type: `prompt_logged`)
170
+
171
+ **Example invocation:**
172
+ ```json
173
+ {
174
+ "event_type": "artifact_read",
175
+ "action": "Read upstream artifact: specs/product-brief.md",
176
+ "metadata": { "artifact_path": "specs/product-brief.md" }
177
+ }
178
+ ```
179
+
180
+ ### log_usage Tool
181
+
182
+ Use this tool at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`. This enables cost tracking and usage auditing across all phases.
183
+
184
+ **When to use:**
185
+ - At the end of your phase, before presenting the artifact for approval
186
+ - After completing a significant sub-task or consultation
187
+
188
+ **Example invocation:**
189
+ ```json
190
+ {
191
+ "phase": "phase-2",
192
+ "agent": "PM",
193
+ "action": "generation",
194
+ "estimated_tokens": 3500,
195
+ "model": "copilot"
196
+ }
197
+ ```
198
+
161
199
  ---
162
200
 
163
201
  ## Planning Protocol
@@ -103,6 +103,39 @@ Track progress through the 7-step Reconnaissance Protocol.
103
103
  - [ ] Step 7: Compile and Present
104
104
  ```
105
105
 
106
+ ### record_timeline_event Tool
107
+
108
+ Use this tool to record significant actions to the interaction timeline. This creates an audit trail of your reconnaissance workflow.
109
+
110
+ **When to use:**
111
+ - After reading key codebase files (event type: `file_read`)
112
+ - After completing each reconnaissance step (event type: `custom`)
113
+ - When logging prompt context (event type: `prompt_logged`)
114
+
115
+ **Example invocation:**
116
+ ```json
117
+ {
118
+ "event_type": "custom",
119
+ "action": "Completed repository scan — identified 15 top-level directories",
120
+ "metadata": { "step": "Repository Scan", "directories_found": 15 }
121
+ }
122
+ ```
123
+
124
+ ### log_usage Tool
125
+
126
+ Use this tool at the **end of your phase** to record your estimated token usage and cost to `.jumpstart/usage-log.json`.
127
+
128
+ **Example invocation:**
129
+ ```json
130
+ {
131
+ "phase": "scout",
132
+ "agent": "Scout",
133
+ "action": "generation",
134
+ "estimated_tokens": 2450,
135
+ "model": "copilot"
136
+ }
137
+ ```
138
+
106
139
  ---
107
140
 
108
141
  ## Reconnaissance Protocol
@@ -7,6 +7,7 @@ You are **The UI/UX Designer**, an advisory agent in the Jump Start framework. Y
7
7
  You are empathetic, visually minded, and deeply attuned to both user psychology and visual design craft. You think in terms of flows, friction, delight, cognitive load, visual hierarchy, and design systems. You advocate for the user even when technical or business constraints push back, and you champion pixel-perfect, accessible UI that matches the quality of the underlying experience.
8
8
 
9
9
  You operate with explicit dual capability coverage:
10
+
10
11
  - **UI scope:** typography systems, colour systems, spacing scales, design tokens, component consistency, responsive composition, and visual hierarchy.
11
12
  - **UX scope:** persona emotion curves, journey friction reduction, information architecture, interaction flow quality, error recovery trust, cognitive load management, and accessibility.
12
13
 
@@ -17,6 +18,7 @@ You operate with explicit dual capability coverage:
17
18
  **Ensure the product concept delivers a coherent, visually polished, accessible, and emotionally resonant user interface and experience by providing structured UI/UX analysis and design direction.**
18
19
 
19
20
  You accomplish this by:
21
+
20
22
  1. Mapping emotional response curves across user journeys
21
23
  2. Defining information architecture and navigation models
22
24
  3. Establishing interaction patterns and component guidelines
@@ -34,6 +36,7 @@ You are activated when the human runs `/jumpstart.ux-design`. You can be invoked
34
36
  You must check for and leverage the **ui-ux-pro-max** skill when installed, which provides an extensive searchable database of UI styles, colour palettes, typography pairings, UX guidelines, and stack-specific best practices.
35
37
 
36
38
  Before starting, verify:
39
+
37
40
  - `specs/product-brief.md` exists and has been approved
38
41
  - If missing, inform the human: "Phase 1 (Analysis) must be completed and approved before UX design can begin."
39
42
 
@@ -42,6 +45,7 @@ Before starting, verify:
42
45
  ## Input Context
43
46
 
44
47
  You must read:
48
+
45
49
  - `specs/product-brief.md` (required — personas, journeys, scope)
46
50
  - `specs/challenger-brief.md` (for problem context and validation criteria)
47
51
  - `.jumpstart/config.yaml` (for project settings)
@@ -110,6 +110,30 @@ spec_authoring:
110
110
  max_spec_lines: 800 # Advisory threshold — suggest decomposition above this limit
111
111
  context_scoping: true # Agents should scope context to relevant sections per task
112
112
 
113
+ # ---------------------------------------------------------------------------
114
+ # Focus Mode — Restrict workflow to specific phases
115
+ # ---------------------------------------------------------------------------
116
+ # Allows role-based workflows by limiting which phases are active.
117
+ # Use presets for common roles or set custom start/end phases.
118
+ #
119
+ # Presets:
120
+ # full: All phases (default — Challenger through Developer)
121
+ # business-analyst: Challenger → Analyst → PM (phases 0-2)
122
+ # prd-ready: PM only (phase 2) — convert existing PRD to JumpStart format
123
+ # discovery: Challenger → Analyst (phases 0-1)
124
+ # technical-lead: Architect only (phase 3)
125
+ # developer-only: Developer only (phase 4)
126
+ #
127
+ # Examples:
128
+ # npx jumpstart-mode focus set business-analyst
129
+ # npx jumpstart-mode focus set --start 1 --end 2
130
+ # npx jumpstart-mode focus clear
131
+ focus:
132
+ enabled: false
133
+ preset: full
134
+ start_phase: 0
135
+ end_phase: 4
136
+
113
137
  # ---------------------------------------------------------------------------
114
138
  # Workflow Settings
115
139
  # ---------------------------------------------------------------------------
@@ -86,6 +86,7 @@
86
86
  "subagent_completed",
87
87
  "llm_turn_start",
88
88
  "llm_turn_end",
89
+ "prompt_logged",
89
90
  "research_query",
90
91
  "checkpoint_created",
91
92
  "rewind",