@v11g/agents-rock 1.0.5 → 1.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 (168) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
  4. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
  5. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
  6. package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
  7. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
  8. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
  9. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
  10. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
  11. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
  12. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
  13. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
  14. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
  15. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
  16. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
  17. package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
  18. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
  19. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
  20. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
  21. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
  22. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
  23. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
  24. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
  25. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +11 -0
  26. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +9 -0
  27. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +11 -0
  28. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
  29. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +10 -0
  30. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
  31. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
  32. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
  33. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
  34. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
  35. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
  36. package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
  37. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
  38. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
  39. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
  40. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
  41. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
  42. package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
  43. package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
  44. package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
  45. package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
  46. package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
  47. package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
  48. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
  49. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
  50. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
  51. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
  52. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +15 -0
  53. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
  54. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
  55. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
  56. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
  57. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
  58. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
  59. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
  60. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
  61. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
  62. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
  63. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
  64. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
  65. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
  66. package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
  67. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
  68. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
  69. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
  70. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
  71. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
  72. package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
  73. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
  74. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
  75. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +10 -0
  76. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
  77. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
  78. package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
  79. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
  80. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
  81. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
  82. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
  83. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
  84. package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
  85. package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
  86. package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
  87. package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
  88. package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
  89. package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
  90. package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
  91. package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
  92. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -0
  93. package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
  94. package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
  95. package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
  96. package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
  97. package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
  98. package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
  99. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
  100. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
  101. package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
  102. package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
  103. package/plugins/reasoning/skills/problem-router/README.md +46 -0
  104. package/plugins/reasoning/skills/problem-router/SKILL.md +225 -0
  105. package/plugins/reasoning/skills/problem-router/references/contract.md +104 -0
  106. package/plugins/reasoning/skills/problem-solving/README.md +47 -0
  107. package/plugins/reasoning/skills/problem-solving/SKILL.md +194 -0
  108. package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
  109. package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
  110. package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
  111. package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
  112. package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
  113. package/plugins/reasoning/skills/problem-solving/references/contract.md +104 -0
  114. package/plugins/reasoning/skills/systems-thinking/README.md +39 -0
  115. package/plugins/reasoning/skills/systems-thinking/SKILL.md +206 -0
  116. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +58 -0
  117. package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
  118. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
  119. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +46 -0
  120. package/plugins/reasoning/skills/systems-thinking/references/contract.md +104 -0
  121. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  122. package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
  123. package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
  124. package/plugins/solution-architect/skills/estimate/SKILL.md +4 -2
  125. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +11 -2
  126. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +304 -59
  127. package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
  128. package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
  129. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
  130. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
  131. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
  132. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
  133. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
  134. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
  135. package/plugins/solution-architect/skills/estimate/references/interview.md +19 -10
  136. package/plugins/solution-architect/skills/estimate/references/writing.md +7 -0
  137. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +4 -1
  138. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +26 -5
  139. package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
  140. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
  141. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
  142. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
  143. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
  144. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
  145. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
  146. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
  147. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
  148. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
  149. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
  150. package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
  151. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
  152. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
  153. package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
  154. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
  155. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
  156. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
  157. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
  158. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
  159. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
  160. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
  161. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
  162. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
  163. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
  164. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
  165. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
  166. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
  167. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
  168. package/src/cli/install.mjs +7 -1
@@ -0,0 +1,88 @@
1
+ {
2
+ "project": "Harborline Dispatch Portal",
3
+ "currency": "USD",
4
+ "technique": "three-point-pert",
5
+ "depth": "STANDARD",
6
+ "calibration": { "S": [20, 60], "M": [60, 160], "L": [160, 400], "XL": [400, 800] },
7
+ "overheadPct": 0.35,
8
+ "verificationPct": 0.12,
9
+ "exposeRatesToClient": false,
10
+ "components": [
11
+ { "id": "dispatch", "name": "Dispatch Service" },
12
+ { "id": "driver", "name": "Driver App" },
13
+ { "id": "tracking", "name": "Customer Tracking" },
14
+ { "id": "billing", "name": "Billing Integration", "notEstimated": "phase 2, client keeps current invoicing" }
15
+ ],
16
+ "features": [
17
+ {
18
+ "id": "dispatch-board",
19
+ "name": "Dispatcher assigns jobs on a live board",
20
+ "provenance": "stated",
21
+ "component": "dispatch",
22
+ "milestone": "M1 - Dispatch core",
23
+ "scores": {
24
+ "tech": { "n": 3, "anchor": "Custom business logic, moderate algorithm complexity, multiple states", "cite": "job states plus reassignment rules" },
25
+ "size": { "n": 3, "anchor": "Medium feature with multiple components and backend logic", "cite": "board UI plus assignment service" },
26
+ "deps": { "n": 2, "anchor": "One internal dependency (e.g. auth check)", "cite": "reads the dispatcher session" },
27
+ "unc": { "n": 3, "anchor": "Some open questions, design decisions to be made during build", "cite": "overnight shift handover undecided" },
28
+ "risk": { "n": 3, "anchor": "Moderate impact if broken, requires testing, affects multiple users", "cite": "a stuck board stops every route" }
29
+ },
30
+ "scoreNote": "The live assignment board every dispatcher works from all day.",
31
+ "scoreProvenance": "stated",
32
+ "tasks": [
33
+ { "id": "board-api", "name": "Job and assignment service", "category": "boilerplate", "o": 70, "m": 105, "p": 170, "confidence": "HIGH", "assumptions": ["one depot, one timezone"], "provenance": "stated" },
34
+ { "id": "board-ui", "name": "Live dispatch board screen", "category": "logic", "o": 100, "m": 150, "p": 240, "confidence": "MED", "assumptions": ["desktop browser only"], "provenance": "stated" }
35
+ ]
36
+ },
37
+ {
38
+ "id": "driver-checkin",
39
+ "name": "Drivers check in and out from their phone",
40
+ "provenance": "stated",
41
+ "component": "driver",
42
+ "milestone": "M1 - Dispatch core",
43
+ "scores": {
44
+ "tech": { "n": 2, "anchor": "Minor customisation of standard patterns, simple state management", "cite": "form plus photo upload" },
45
+ "size": { "n": 3, "anchor": "Medium feature with multiple components and backend logic", "cite": "mobile screens plus upload service" },
46
+ "deps": { "n": 2, "anchor": "One internal dependency (e.g. auth check)", "cite": "reads the driver session" },
47
+ "unc": { "n": 2, "anchor": "Minor ambiguities, can be resolved with one clarifying question", "cite": "offline behaviour to confirm" },
48
+ "risk": { "n": 3, "anchor": "Moderate impact if broken, requires testing, affects multiple users", "cite": "a missed check-in loses proof of delivery" }
49
+ },
50
+ "scoreNote": "The phone screen drivers use at every pickup and drop-off.",
51
+ "scoreProvenance": "stated",
52
+ "tasks": [
53
+ { "id": "checkin-mobile", "name": "Driver check-in screens", "category": "logic", "o": 60, "m": 95, "p": 150, "confidence": "MED", "assumptions": ["company-issued phones only"], "provenance": "stated" },
54
+ { "id": "checkin-photos", "name": "Proof-of-delivery photo upload", "category": "boilerplate", "o": 30, "m": 45, "p": 70, "confidence": "HIGH", "assumptions": ["photos kept for 12 months"], "provenance": "stated" }
55
+ ]
56
+ },
57
+ {
58
+ "id": "customer-tracking",
59
+ "name": "Customers see where their delivery is",
60
+ "provenance": "proposed",
61
+ "component": "tracking",
62
+ "milestone": "M2 - Customer tracking",
63
+ "scores": {
64
+ "tech": { "n": 2, "anchor": "Minor customisation of standard patterns, simple state management", "cite": "status page plus email link" },
65
+ "size": { "n": 2, "anchor": "Small self-contained feature, simple form or display component", "cite": "one public page" },
66
+ "deps": { "n": 3, "anchor": "2–3 internal services or one third-party API", "cite": "map provider plus email provider" },
67
+ "unc": { "n": 2, "anchor": "Minor ambiguities, can be resolved with one clarifying question", "cite": "refresh frequency to confirm" },
68
+ "risk": { "n": 2, "anchor": "Low stakes, easy rollback, minimal user impact", "cite": "a stale status is recoverable" }
69
+ },
70
+ "scoreNote": "A tracking page customers open from the delivery email.",
71
+ "scoreProvenance": "proposed",
72
+ "tasks": [
73
+ { "id": "tracking-page", "name": "Public delivery tracking page", "category": "logic", "o": 50, "m": 75, "p": 125, "confidence": "MED", "assumptions": ["map provider already chosen"], "provenance": "proposed" }
74
+ ]
75
+ }
76
+ ],
77
+ "risks": [
78
+ { "name": "depot wifi blackspots delay driver rollout", "probability": 0.3, "impactHours": 40 }
79
+ ],
80
+ "assumptions": [
81
+ { "text": "one depot, one timezone", "impactIfWrong": "recompute board-api at logic category, +30%" }
82
+ ],
83
+ "scenarios": [
84
+ { "id": "3eng-classic", "aiAssisted": false, "toolingCostPerSeat": null, "team": [{ "seniority": "mid", "rate": 45 }, { "seniority": "mid", "rate": 45 }, { "seniority": "junior", "rate": 30 }] },
85
+ { "id": "2eng-agentic", "aiAssisted": true, "toolingCostPerSeat": 100, "team": [{ "seniority": "senior", "rate": 60 }, { "seniority": "mid", "rate": 45 }] }
86
+ ],
87
+ "recommendedScenario": "2eng-agentic"
88
+ }
@@ -0,0 +1,407 @@
1
+ {
2
+ "inputs": {
3
+ "project": "Harborline Dispatch Portal",
4
+ "currency": "USD",
5
+ "technique": "three-point-pert",
6
+ "depth": "STANDARD",
7
+ "calibration": {
8
+ "S": [
9
+ 20,
10
+ 60
11
+ ],
12
+ "M": [
13
+ 60,
14
+ 160
15
+ ],
16
+ "L": [
17
+ 160,
18
+ 400
19
+ ],
20
+ "XL": [
21
+ 400,
22
+ 800
23
+ ]
24
+ },
25
+ "overheadPct": 0.35,
26
+ "verificationPct": 0.12,
27
+ "exposeRatesToClient": false,
28
+ "components": [
29
+ {
30
+ "id": "dispatch",
31
+ "name": "Dispatch Service"
32
+ },
33
+ {
34
+ "id": "driver",
35
+ "name": "Driver App"
36
+ },
37
+ {
38
+ "id": "tracking",
39
+ "name": "Customer Tracking"
40
+ },
41
+ {
42
+ "id": "billing",
43
+ "name": "Billing Integration",
44
+ "notEstimated": "phase 2, client keeps current invoicing"
45
+ }
46
+ ],
47
+ "features": [
48
+ {
49
+ "id": "dispatch-board",
50
+ "name": "Dispatcher assigns jobs on a live board",
51
+ "provenance": "stated",
52
+ "component": "dispatch",
53
+ "milestone": "M1 - Dispatch core",
54
+ "scores": {
55
+ "tech": {
56
+ "n": 3,
57
+ "anchor": "Custom business logic, moderate algorithm complexity, multiple states",
58
+ "cite": "job states plus reassignment rules"
59
+ },
60
+ "size": {
61
+ "n": 3,
62
+ "anchor": "Medium feature with multiple components and backend logic",
63
+ "cite": "board UI plus assignment service"
64
+ },
65
+ "deps": {
66
+ "n": 2,
67
+ "anchor": "One internal dependency (e.g. auth check)",
68
+ "cite": "reads the dispatcher session"
69
+ },
70
+ "unc": {
71
+ "n": 3,
72
+ "anchor": "Some open questions, design decisions to be made during build",
73
+ "cite": "overnight shift handover undecided"
74
+ },
75
+ "risk": {
76
+ "n": 3,
77
+ "anchor": "Moderate impact if broken, requires testing, affects multiple users",
78
+ "cite": "a stuck board stops every route"
79
+ }
80
+ },
81
+ "scoreNote": "The live assignment board every dispatcher works from all day.",
82
+ "scoreProvenance": "stated",
83
+ "tasks": [
84
+ {
85
+ "id": "board-api",
86
+ "name": "Job and assignment service",
87
+ "category": "boilerplate",
88
+ "o": 70,
89
+ "m": 105,
90
+ "p": 170,
91
+ "confidence": "HIGH",
92
+ "assumptions": [
93
+ "one depot, one timezone"
94
+ ],
95
+ "provenance": "stated"
96
+ },
97
+ {
98
+ "id": "board-ui",
99
+ "name": "Live dispatch board screen",
100
+ "category": "logic",
101
+ "o": 100,
102
+ "m": 150,
103
+ "p": 240,
104
+ "confidence": "MED",
105
+ "assumptions": [
106
+ "desktop browser only"
107
+ ],
108
+ "provenance": "stated"
109
+ }
110
+ ]
111
+ },
112
+ {
113
+ "id": "driver-checkin",
114
+ "name": "Drivers check in and out from their phone",
115
+ "provenance": "stated",
116
+ "component": "driver",
117
+ "milestone": "M1 - Dispatch core",
118
+ "scores": {
119
+ "tech": {
120
+ "n": 2,
121
+ "anchor": "Minor customisation of standard patterns, simple state management",
122
+ "cite": "form plus photo upload"
123
+ },
124
+ "size": {
125
+ "n": 3,
126
+ "anchor": "Medium feature with multiple components and backend logic",
127
+ "cite": "mobile screens plus upload service"
128
+ },
129
+ "deps": {
130
+ "n": 2,
131
+ "anchor": "One internal dependency (e.g. auth check)",
132
+ "cite": "reads the driver session"
133
+ },
134
+ "unc": {
135
+ "n": 2,
136
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
137
+ "cite": "offline behaviour to confirm"
138
+ },
139
+ "risk": {
140
+ "n": 3,
141
+ "anchor": "Moderate impact if broken, requires testing, affects multiple users",
142
+ "cite": "a missed check-in loses proof of delivery"
143
+ }
144
+ },
145
+ "scoreNote": "The phone screen drivers use at every pickup and drop-off.",
146
+ "scoreProvenance": "stated",
147
+ "tasks": [
148
+ {
149
+ "id": "checkin-mobile",
150
+ "name": "Driver check-in screens",
151
+ "category": "logic",
152
+ "o": 60,
153
+ "m": 95,
154
+ "p": 150,
155
+ "confidence": "MED",
156
+ "assumptions": [
157
+ "company-issued phones only"
158
+ ],
159
+ "provenance": "stated"
160
+ },
161
+ {
162
+ "id": "checkin-photos",
163
+ "name": "Proof-of-delivery photo upload",
164
+ "category": "boilerplate",
165
+ "o": 30,
166
+ "m": 45,
167
+ "p": 70,
168
+ "confidence": "HIGH",
169
+ "assumptions": [
170
+ "photos kept for 12 months"
171
+ ],
172
+ "provenance": "stated"
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ "id": "customer-tracking",
178
+ "name": "Customers see where their delivery is",
179
+ "provenance": "proposed",
180
+ "component": "tracking",
181
+ "milestone": "M2 - Customer tracking",
182
+ "scores": {
183
+ "tech": {
184
+ "n": 2,
185
+ "anchor": "Minor customisation of standard patterns, simple state management",
186
+ "cite": "status page plus email link"
187
+ },
188
+ "size": {
189
+ "n": 2,
190
+ "anchor": "Small self-contained feature, simple form or display component",
191
+ "cite": "one public page"
192
+ },
193
+ "deps": {
194
+ "n": 3,
195
+ "anchor": "2–3 internal services or one third-party API",
196
+ "cite": "map provider plus email provider"
197
+ },
198
+ "unc": {
199
+ "n": 2,
200
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
201
+ "cite": "refresh frequency to confirm"
202
+ },
203
+ "risk": {
204
+ "n": 2,
205
+ "anchor": "Low stakes, easy rollback, minimal user impact",
206
+ "cite": "a stale status is recoverable"
207
+ }
208
+ },
209
+ "scoreNote": "A tracking page customers open from the delivery email.",
210
+ "scoreProvenance": "proposed",
211
+ "tasks": [
212
+ {
213
+ "id": "tracking-page",
214
+ "name": "Public delivery tracking page",
215
+ "category": "logic",
216
+ "o": 50,
217
+ "m": 75,
218
+ "p": 125,
219
+ "confidence": "MED",
220
+ "assumptions": [
221
+ "map provider already chosen"
222
+ ],
223
+ "provenance": "proposed"
224
+ }
225
+ ]
226
+ }
227
+ ],
228
+ "risks": [
229
+ {
230
+ "name": "depot wifi blackspots delay driver rollout",
231
+ "probability": 0.3,
232
+ "impactHours": 40
233
+ }
234
+ ],
235
+ "assumptions": [
236
+ {
237
+ "text": "one depot, one timezone",
238
+ "impactIfWrong": "recompute board-api at logic category, +30%"
239
+ }
240
+ ],
241
+ "scenarios": [
242
+ {
243
+ "id": "3eng-classic",
244
+ "aiAssisted": false,
245
+ "toolingCostPerSeat": null,
246
+ "team": [
247
+ {
248
+ "seniority": "mid",
249
+ "rate": 45
250
+ },
251
+ {
252
+ "seniority": "mid",
253
+ "rate": 45
254
+ },
255
+ {
256
+ "seniority": "junior",
257
+ "rate": 30
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "id": "2eng-agentic",
263
+ "aiAssisted": true,
264
+ "toolingCostPerSeat": 100,
265
+ "team": [
266
+ {
267
+ "seniority": "senior",
268
+ "rate": 60
269
+ },
270
+ {
271
+ "seniority": "mid",
272
+ "rate": 45
273
+ }
274
+ ]
275
+ }
276
+ ],
277
+ "recommendedScenario": "2eng-agentic"
278
+ },
279
+ "computed": {
280
+ "tasks": {
281
+ "board-api": {
282
+ "e": 110,
283
+ "sigma": 16.67
284
+ },
285
+ "board-ui": {
286
+ "e": 156.67,
287
+ "sigma": 23.33
288
+ },
289
+ "checkin-mobile": {
290
+ "e": 98.33,
291
+ "sigma": 15
292
+ },
293
+ "checkin-photos": {
294
+ "e": 46.67,
295
+ "sigma": 6.67
296
+ },
297
+ "tracking-page": {
298
+ "e": 79.17,
299
+ "sigma": 12.5
300
+ }
301
+ },
302
+ "features": {
303
+ "customer-tracking": {
304
+ "hours": 79.17,
305
+ "low": 50,
306
+ "high": 125,
307
+ "scoreTotal": 11,
308
+ "tier": "S"
309
+ },
310
+ "dispatch-board": {
311
+ "hours": 266.67,
312
+ "low": 170,
313
+ "high": 410,
314
+ "scoreTotal": 14,
315
+ "tier": "M"
316
+ },
317
+ "driver-checkin": {
318
+ "hours": 145,
319
+ "low": 90,
320
+ "high": 220,
321
+ "scoreTotal": 12,
322
+ "tier": "M"
323
+ }
324
+ },
325
+ "components": {
326
+ "billing": 0,
327
+ "dispatch": 266.67,
328
+ "driver": 145,
329
+ "tracking": 79.17
330
+ },
331
+ "devHours": 490.83,
332
+ "overheadHours": 171.79,
333
+ "spreadBufferHours": 35.33,
334
+ "riskBufferHours": 12,
335
+ "scenarios": {
336
+ "2eng-agentic": {
337
+ "taskHours": {
338
+ "board-api": 49.74,
339
+ "board-ui": 111.86,
340
+ "checkin-mobile": 70.21,
341
+ "checkin-photos": 21.1,
342
+ "tracking-page": 56.53
343
+ },
344
+ "hours": 465.07,
345
+ "months": 1.85,
346
+ "laborCost": 27129.05,
347
+ "toolingCost": 369.1,
348
+ "totalCost": 27498.15,
349
+ "notes": [],
350
+ "roadmap": [
351
+ {
352
+ "milestone": "M1 - Dispatch core",
353
+ "features": [
354
+ "dispatch-board",
355
+ "driver-checkin"
356
+ ],
357
+ "startMonths": 0,
358
+ "endMonths": 1.51
359
+ },
360
+ {
361
+ "milestone": "M2 - Customer tracking",
362
+ "features": [
363
+ "customer-tracking"
364
+ ],
365
+ "startMonths": 1.51,
366
+ "endMonths": 1.85
367
+ }
368
+ ]
369
+ },
370
+ "3eng-classic": {
371
+ "taskHours": {
372
+ "board-api": 110,
373
+ "board-ui": 156.67,
374
+ "checkin-mobile": 98.33,
375
+ "checkin-photos": 46.67,
376
+ "tracking-page": 79.17
377
+ },
378
+ "hours": 709.95,
379
+ "months": 2.11,
380
+ "laborCost": 35497.54,
381
+ "toolingCost": 0,
382
+ "totalCost": 35497.54,
383
+ "notes": [],
384
+ "roadmap": [
385
+ {
386
+ "milestone": "M1 - Dispatch core",
387
+ "features": [
388
+ "dispatch-board",
389
+ "driver-checkin"
390
+ ],
391
+ "startMonths": 0,
392
+ "endMonths": 1.77
393
+ },
394
+ {
395
+ "milestone": "M2 - Customer tracking",
396
+ "features": [
397
+ "customer-tracking"
398
+ ],
399
+ "startMonths": 1.77,
400
+ "endMonths": 2.11
401
+ }
402
+ ]
403
+ }
404
+ },
405
+ "projectConfidence": "MED"
406
+ }
407
+ }
@@ -0,0 +1,41 @@
1
+ # Harborline Dispatch Portal — Estimation (internal)
2
+
3
+ Computed from `estimation-inputs.json` by the estimate skill. Internal document:
4
+ rates, scenario comparison and the risk register never reach the client.
5
+
6
+ ## Scenarios
7
+
8
+ | Scenario | Team | Hours | Months | Total cost |
9
+ |---|---|---|---|---|
10
+ | `2eng-agentic` | senior + mid, AI-assisted | 465.07 | 1.85 | $27,498.15 |
11
+ | `3eng-classic` | mid + mid + junior | 709.95 | 2.11 | $35,497.54 |
12
+
13
+ Recommended: `2eng-agentic`.
14
+
15
+ ## Milestones (2eng-agentic)
16
+
17
+ | Milestone | Features | Start → end (months) |
18
+ |---|---|---|
19
+ | M1 - Dispatch core | dispatch-board, driver-checkin | 0 → 1.51 |
20
+ | M2 - Customer tracking | customer-tracking | 1.51 → 1.85 |
21
+
22
+ ## Exclusions
23
+
24
+ - Billing and invoicing integration — phase 2, the client keeps its current desk.
25
+ - iOS support for the driver screen — company phones are Android.
26
+ - Route optimisation or automatic job assignment — dispatchers assign by hand.
27
+ - Multi-depot support — one depot in v1.
28
+
29
+ ## Assumptions
30
+
31
+ - One depot, one timezone. If wrong: recompute `board-api` at logic category, +30%.
32
+ - Proof-of-delivery photos are retained 12 months.
33
+ - The map provider for the tracking page is already chosen.
34
+
35
+ ## Risk register (internal)
36
+
37
+ | Risk | Probability | Impact (hours) |
38
+ |---|---|---|
39
+ | depot wifi blackspots delay driver rollout | 0.3 | 40 |
40
+
41
+ Project confidence: MED.
@@ -0,0 +1,68 @@
1
+ # Meridian Dental Patient Portal — Architecture
2
+
3
+ ## 1. Goals & Scope
4
+
5
+ Meridian Dental Group is a four-chair practice. Patients phone reception to ask
6
+ what treatment they had and what they owe, and the six-month check-up recall is
7
+ a receptionist working through a paper list. The portal lets a patient sign in,
8
+ read their own treatment history and bills, and receive their recall reminder
9
+ automatically.
10
+
11
+ | Goal | Measure | src |
12
+ |---|---|---|
13
+ | Patients self-serve their history and bills | 40% of records enquiries handled without a call | stated |
14
+ | Recall stops being manual | 100% of six-month recalls sent automatically | stated |
15
+ | Every record view is accountable | an audit entry for every record opened | stated |
16
+
17
+ ## 2. Constraints
18
+
19
+ | Constraint | src |
20
+ |---|---|
21
+ | Patient health records are protected data; access must be logged and retained seven years | stated |
22
+ | The practice management system stays the system of record; the portal reads a nightly export | stated |
23
+ | No insurance claims handling in v1 — the practice keeps its claims desk | stated |
24
+ | Hard budget ceiling set by the partners; scope is cut before the ceiling moves | stated |
25
+
26
+ ## 4. Solution Strategy
27
+
28
+ A read-mostly patient portal in front of a nightly export from the practice
29
+ management system. Identity is email plus date of birth, verified at first
30
+ sign-in. Every record view writes an audit entry. Recall messages are scheduled
31
+ jobs sending through the practice's existing messaging provider.
32
+
33
+ ## 6. Core Components
34
+
35
+ | Component | Responsibility | src |
36
+ |---|---|---|
37
+ | `portal` | Patient sign-in, session, consent and access rules | proposed |
38
+ | `records` | Treatment history and billing screens over the nightly export | proposed |
39
+ | `recall` | Scheduled six-month recall messages and opt-out handling | proposed |
40
+ | `insurance` | Not estimated — phase 2, practice keeps its current claims desk | stated |
41
+
42
+ ## 7. Runtime Behaviour
43
+
44
+ A patient signs in with email and date of birth; first sign-in verifies against
45
+ the exported patient list. Record screens read the last nightly export and write
46
+ an audit entry per view. A daily job selects patients due a six-month recall and
47
+ sends the reminder, honouring opt-outs.
48
+
49
+ ## 8. Data Stores
50
+
51
+ | Store | Holds | src |
52
+ |---|---|---|
53
+ | Primary relational database | portal accounts, consent, audit log (7-year retention) | stated |
54
+ | Nightly export snapshot | treatment history and balances, read-only | stated |
55
+
56
+ ## 12. Security
57
+
58
+ Patient records are protected data. Access is per-patient: a signed-in patient
59
+ can read only their own record. Every view is written to an append-only audit
60
+ log retained seven years. Guardian access for under-16 patients is an open
61
+ question the practice must answer before build.
62
+
63
+ ## 15. Risks & Technical Debt
64
+
65
+ | Risk | Impact | src |
66
+ |---|---|---|
67
+ | Practice management export format is undocumented | records screens may need rework after first export | observed |
68
+ | Guardian access rule undecided | affects the access rules in M1 | stated |
@@ -0,0 +1,24 @@
1
+ # Meridian Dental Group — Brief
2
+
3
+ Contact: Dr. Alina Vogt, managing partner (she and two other partners sign off
4
+ together; there is no IT manager).
5
+
6
+ Four chairs, two receptionists, roughly 3,100 active patients. Reception spends
7
+ most of Monday morning on the paper recall list and fielding "what did I have
8
+ done and what do I owe" calls.
9
+
10
+ Discovery call 2026-09-08. Alina is comfortable with everyday software words —
11
+ website, app, database, login — but not infrastructure. She runs the practice
12
+ management system herself and exports from it weekly.
13
+
14
+ What she said, in her words:
15
+
16
+ - "Patients should be able to look up their own history without ringing us."
17
+ - "The six-month recall has to send itself."
18
+ - "It is patient health data. I need to be able to show who looked at what."
19
+
20
+ Money: the partners agreed a ceiling before the call. Alina's line was "if it
21
+ comes in over that, cut the scope, do not come back with a bigger number."
22
+
23
+ Already ruled out: insurance claims (phase 2), online booking (they like the
24
+ phone), and anything that writes back into the practice management system.
@@ -0,0 +1,5 @@
1
+ // Stand-in for the mermaid bundle the analyze-requirements viewer step builds
2
+ // (analyze-requirements references/viewer.md §1). Shipped with the fixture so a
3
+ // proposal render never has to shell out to `npx likec4` / the network.
4
+ // render.mjs only requires that the bundle carries no literal closing script tag.
5
+ globalThis.mermaid = { initialize() {}, run() {} };