@v11g/agents-rock 1.0.7 → 1.0.9

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 (215) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/plugins/reasoning/.claude-plugin/plugin.json +1 -1
  4. package/plugins/reasoning/evals/format-handoff-folder/graders/folder-named.md +8 -0
  5. package/plugins/reasoning/evals/format-handoff-folder/graders/skill-fired.md +7 -0
  6. package/plugins/reasoning/evals/format-handoff-folder/prompt.md +9 -0
  7. package/plugins/reasoning/evals/format-ids-and-supports/graders/ids-in-chat.md +8 -0
  8. package/plugins/reasoning/evals/format-ids-and-supports/graders/skill-fired.md +7 -0
  9. package/plugins/reasoning/evals/format-ids-and-supports/graders/supports-resolve.md +11 -0
  10. package/plugins/reasoning/evals/format-ids-and-supports/prompt.md +8 -0
  11. package/plugins/reasoning/evals/format-root-candidate-status/graders/candidate-status.md +11 -0
  12. package/plugins/reasoning/evals/format-root-candidate-status/graders/skill-fired.md +7 -0
  13. package/plugins/reasoning/evals/format-root-candidate-status/prompt.md +8 -0
  14. package/plugins/reasoning/evals/format-unsaved-continues/graders/analysis-completes.md +9 -0
  15. package/plugins/reasoning/evals/format-unsaved-continues/graders/not-saved-stated.md +9 -0
  16. package/plugins/reasoning/evals/format-unsaved-continues/graders/skill-fired.md +7 -0
  17. package/plugins/reasoning/evals/format-unsaved-continues/prompt.md +8 -0
  18. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +5 -6
  19. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +4 -6
  20. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +1 -1
  21. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +4 -5
  22. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
  23. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +2 -2
  24. package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
  25. package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
  26. package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
  27. package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
  28. package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
  29. package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
  30. package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
  31. package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
  32. package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
  33. package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
  34. package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
  35. package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
  36. package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
  37. package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
  38. package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
  39. package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
  40. package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
  41. package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
  42. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
  43. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
  44. package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
  45. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
  46. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
  47. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
  48. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
  49. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
  50. package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
  51. package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
  52. package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
  53. package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
  54. package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
  55. package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
  56. package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
  57. package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
  58. package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
  59. package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
  60. package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
  61. package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
  62. package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
  63. package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
  64. package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
  65. package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
  66. package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
  67. package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
  68. package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
  69. package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
  70. package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
  71. package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
  72. package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
  73. package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
  74. package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
  75. package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
  76. package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
  77. package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
  78. package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
  79. package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
  80. package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
  81. package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
  82. package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
  83. package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
  84. package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
  85. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +2 -2
  86. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +7 -4
  87. package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
  88. package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
  89. package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
  90. package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
  91. package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
  92. package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
  93. package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
  94. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -6
  95. package/plugins/reasoning/skills/problem-router/README.md +6 -0
  96. package/plugins/reasoning/skills/problem-router/SKILL.md +11 -11
  97. package/plugins/reasoning/skills/problem-router/references/contract.md +117 -16
  98. package/plugins/reasoning/skills/problem-solving/README.md +10 -0
  99. package/plugins/reasoning/skills/problem-solving/SKILL.md +15 -3
  100. package/plugins/reasoning/skills/problem-solving/references/contract.md +117 -16
  101. package/plugins/reasoning/skills/problem-solving/references/interview.md +68 -0
  102. package/plugins/reasoning/skills/systemic-design/README.md +45 -0
  103. package/plugins/reasoning/skills/systemic-design/SKILL.md +184 -0
  104. package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
  105. package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
  106. package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
  107. package/plugins/reasoning/skills/systemic-design/references/contract.md +205 -0
  108. package/plugins/reasoning/skills/systemic-design/references/interview.md +68 -0
  109. package/plugins/reasoning/skills/systems-thinking/README.md +13 -6
  110. package/plugins/reasoning/skills/systems-thinking/SKILL.md +18 -6
  111. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +5 -2
  112. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +16 -7
  113. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +4 -5
  114. package/plugins/reasoning/skills/systems-thinking/references/contract.md +117 -16
  115. package/plugins/reasoning/skills/systems-thinking/references/interview.md +68 -0
  116. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  117. package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
  118. package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
  119. package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
  120. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +4 -1
  121. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
  122. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
  123. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +16 -1
  124. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
  125. package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
  126. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
  127. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
  128. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
  129. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +9 -0
  130. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
  131. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
  132. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
  133. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
  134. package/plugins/solution-architect/skills/estimate/README.md +20 -15
  135. package/plugins/solution-architect/skills/estimate/SKILL.md +10 -6
  136. package/plugins/solution-architect/skills/estimate/assets/estimate-template-agentic.html +111 -138
  137. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +361 -247
  138. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +5 -4
  139. package/plugins/solution-architect/skills/estimate/evals/evals.json +7 -7
  140. package/plugins/solution-architect/skills/estimate/references/agentic-estimation.md +4 -2
  141. package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +38 -82
  142. package/plugins/solution-architect/skills/estimate/references/interview.md +56 -35
  143. package/plugins/solution-architect/skills/estimate/references/scoring-guide.md +40 -4
  144. package/plugins/solution-architect/skills/estimate/references/techniques.md +29 -21
  145. package/plugins/solution-architect/skills/estimate/references/writing.md +75 -43
  146. package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +37 -5
  147. package/plugins/solution-architect/skills/estimate/scripts/lib/context-schema.mjs +35 -0
  148. package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +17 -75
  149. package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +5 -5
  150. package/plugins/solution-architect/skills/estimate/scripts/lib/pricing.mjs +78 -0
  151. package/plugins/solution-architect/skills/estimate/scripts/lib/project-price.mjs +96 -0
  152. package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +67 -19
  153. package/plugins/solution-architect/skills/estimate/scripts/lib/roadmap.mjs +4 -5
  154. package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +48 -73
  155. package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +28 -13
  156. package/plugins/solution-architect/skills/estimate/scripts/lib/score-csv.mjs +2 -2
  157. package/plugins/solution-architect/skills/estimate/scripts/lib/score-html.mjs +1 -1
  158. package/plugins/solution-architect/skills/estimate/scripts/lib/scoring.mjs +2 -2
  159. package/plugins/solution-architect/skills/estimate/scripts/render.mjs +1 -1
  160. package/plugins/solution-architect/skills/estimate/scripts/score-review.mjs +1 -1
  161. package/plugins/solution-architect/skills/estimate/scripts/test/browser-agentic.test.mjs +143 -0
  162. package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +209 -50
  163. package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +57 -32
  164. package/plugins/solution-architect/skills/estimate/scripts/test/e2e.test.mjs +52 -0
  165. package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +25 -112
  166. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-fail.md +0 -10
  167. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-pass.md +0 -10
  168. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-inputs.json +1 -7
  169. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +11 -10
  170. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +6 -0
  171. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +17 -21
  172. package/plugins/solution-architect/skills/estimate/scripts/test/pricing.test.mjs +88 -0
  173. package/plugins/solution-architect/skills/estimate/scripts/test/project-price.test.mjs +93 -0
  174. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +86 -24
  175. package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +185 -31
  176. package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +114 -61
  177. package/plugins/solution-architect/skills/estimate/scripts/test/score-review.test.mjs +34 -1
  178. package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +103 -9
  179. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +292 -71
  180. package/plugins/solution-architect/skills/new-lead/SKILL.md +4 -3
  181. package/plugins/solution-architect/skills/proposal/README.md +9 -7
  182. package/plugins/solution-architect/skills/proposal/SKILL.md +10 -7
  183. package/plugins/solution-architect/skills/proposal/evals/evals.json +29 -11
  184. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +65 -0
  185. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +21 -0
  186. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +126 -0
  187. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +215 -0
  188. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +224 -34
  189. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +103 -114
  190. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +48 -22
  191. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +211 -33
  192. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +102 -117
  193. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +48 -25
  194. package/plugins/solution-architect/skills/proposal/references/interview.md +3 -6
  195. package/plugins/solution-architect/skills/proposal/references/review.md +5 -4
  196. package/plugins/solution-architect/skills/proposal/references/writing.md +33 -31
  197. package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +1 -1
  198. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +5 -22
  199. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +18 -8
  200. package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +6 -2
  201. package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +24 -33
  202. package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +1 -1
  203. package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +50 -47
  204. package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +99 -40
  205. package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +11 -5
  206. package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +1 -1
  207. package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +39 -0
  208. package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +67 -54
  209. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +6 -1
  210. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +8 -12
  211. package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +1 -1
  212. package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +3 -2
  213. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +0 -9
  214. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +0 -15
  215. package/plugins/solution-architect/skills/estimate/scripts/lib/scenario-schema.mjs +0 -39
@@ -3,15 +3,83 @@
3
3
  "currency": "USD",
4
4
  "technique": "three-point-pert",
5
5
  "depth": "STANDARD",
6
- "calibration": { "S": [20, 60], "M": [60, 160], "L": [160, 400], "XL": [400, 800] },
7
- "overheadPct": 0.35,
6
+ "calibration": {
7
+ "S": [
8
+ 20,
9
+ 60
10
+ ],
11
+ "M": [
12
+ 60,
13
+ 160
14
+ ],
15
+ "L": [
16
+ 160,
17
+ 400
18
+ ],
19
+ "XL": [
20
+ 400,
21
+ 800
22
+ ]
23
+ },
8
24
  "verificationPct": 0.12,
9
25
  "exposeRatesToClient": false,
26
+ "contextLevels": {
27
+ "codebaseMaturity": 1,
28
+ "stackFamiliarity": 1,
29
+ "specQuality": 2,
30
+ "compliance": 2,
31
+ "clientDecisions": 3
32
+ },
33
+ "contextProvenance": {
34
+ "codebaseMaturity": {
35
+ "level": 1,
36
+ "anchor": "Greenfield",
37
+ "cite": "ARCHITECTURE.md §2: new portal reading a nightly export",
38
+ "source": "derived"
39
+ },
40
+ "stackFamiliarity": {
41
+ "level": 1,
42
+ "anchor": "Core stack, done before",
43
+ "cite": "interview",
44
+ "source": "stated"
45
+ },
46
+ "specQuality": {
47
+ "level": 2,
48
+ "anchor": "clear written brief",
49
+ "cite": "ARCHITECTURE.md §1-§8 plus brief.md, guardian access still open",
50
+ "source": "derived"
51
+ },
52
+ "compliance": {
53
+ "level": 2,
54
+ "anchor": "handles PII",
55
+ "cite": "ARCHITECTURE.md §2/§12: patient records, audited access, no named regulation",
56
+ "source": "derived"
57
+ },
58
+ "clientDecisions": {
59
+ "level": 3,
60
+ "anchor": "committee sign-off",
61
+ "cite": "brief.md: three partners sign off together",
62
+ "source": "derived"
63
+ }
64
+ },
10
65
  "components": [
11
- { "id": "portal", "name": "Patient Portal" },
12
- { "id": "records", "name": "Records Store" },
13
- { "id": "recall", "name": "Recall Reminders" },
14
- { "id": "insurance", "name": "Insurance Claims", "notEstimated": "phase 2, practice keeps its current claims desk" }
66
+ {
67
+ "id": "portal",
68
+ "name": "Patient Portal"
69
+ },
70
+ {
71
+ "id": "records",
72
+ "name": "Records Store"
73
+ },
74
+ {
75
+ "id": "recall",
76
+ "name": "Recall Reminders"
77
+ },
78
+ {
79
+ "id": "insurance",
80
+ "name": "Insurance Claims",
81
+ "notEstimated": "phase 2, practice keeps its current claims desk"
82
+ }
15
83
  ],
16
84
  "features": [
17
85
  {
@@ -21,17 +89,61 @@
21
89
  "component": "portal",
22
90
  "milestone": "M1 - Secure portal",
23
91
  "scores": {
24
- "tech": { "n": 3, "anchor": "Custom business logic, moderate algorithm complexity, multiple states", "cite": "identity checks plus consent states" },
25
- "size": { "n": 3, "anchor": "Medium feature with multiple components and backend logic", "cite": "sign-in screens plus access rules" },
26
- "deps": { "n": 2, "anchor": "One internal dependency (e.g. auth check)", "cite": "reads the practice staff directory" },
27
- "unc": { "n": 2, "anchor": "Minor ambiguities, can be resolved with one clarifying question", "cite": "guardian access rule to confirm" },
28
- "risk": { "n": 4, "anchor": "Payments, auth, data migrations, or PII — high business impact", "cite": "patient health records are protected data" }
92
+ "tech": {
93
+ "n": 3,
94
+ "anchor": "Custom business logic, moderate algorithm complexity, multiple states",
95
+ "cite": "identity checks plus consent states"
96
+ },
97
+ "size": {
98
+ "n": 3,
99
+ "anchor": "Medium feature with multiple components and backend logic",
100
+ "cite": "sign-in screens plus access rules"
101
+ },
102
+ "deps": {
103
+ "n": 2,
104
+ "anchor": "One internal dependency (e.g. auth check)",
105
+ "cite": "reads the practice staff directory"
106
+ },
107
+ "unc": {
108
+ "n": 2,
109
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
110
+ "cite": "guardian access rule to confirm"
111
+ },
112
+ "risk": {
113
+ "n": 4,
114
+ "anchor": "Payments, auth, data migrations, or PII — high business impact",
115
+ "cite": "patient health records are protected data"
116
+ }
29
117
  },
30
118
  "scoreNote": "The sign-in that keeps each patient's records visible only to them.",
31
119
  "scoreProvenance": "stated",
32
120
  "tasks": [
33
- { "id": "login-identity", "name": "Patient sign-in and identity checks", "category": "boilerplate", "o": 40, "m": 60, "p": 100, "confidence": "HIGH", "assumptions": ["email and date of birth identify a patient"], "provenance": "stated" },
34
- { "id": "login-access-rules", "name": "Record access and audit rules", "category": "logic", "o": 55, "m": 88, "p": 150, "confidence": "MED", "assumptions": ["every record view is logged for seven years"], "provenance": "stated" }
121
+ {
122
+ "id": "login-identity",
123
+ "name": "Patient sign-in and identity checks",
124
+ "category": "boilerplate",
125
+ "o": 40,
126
+ "m": 60,
127
+ "p": 100,
128
+ "confidence": "HIGH",
129
+ "assumptions": [
130
+ "email and date of birth identify a patient"
131
+ ],
132
+ "provenance": "stated"
133
+ },
134
+ {
135
+ "id": "login-access-rules",
136
+ "name": "Record access and audit rules",
137
+ "category": "logic",
138
+ "o": 55,
139
+ "m": 88,
140
+ "p": 150,
141
+ "confidence": "MED",
142
+ "assumptions": [
143
+ "every record view is logged for seven years"
144
+ ],
145
+ "provenance": "stated"
146
+ }
35
147
  ]
36
148
  },
37
149
  {
@@ -41,16 +153,48 @@
41
153
  "component": "records",
42
154
  "milestone": "M1 - Secure portal",
43
155
  "scores": {
44
- "tech": { "n": 2, "anchor": "Minor customisation of standard patterns, simple state management", "cite": "read-only screens over existing data" },
45
- "size": { "n": 2, "anchor": "Small self-contained feature, simple form or display component", "cite": "two display screens" },
46
- "deps": { "n": 3, "anchor": "2–3 internal services or one third-party API", "cite": "reads the existing practice management export" },
47
- "unc": { "n": 2, "anchor": "Minor ambiguities, can be resolved with one clarifying question", "cite": "export refresh frequency to confirm" },
48
- "risk": { "n": 3, "anchor": "Moderate impact if broken, requires testing, affects multiple users", "cite": "a wrong record shown to a patient is a reportable incident" }
156
+ "tech": {
157
+ "n": 2,
158
+ "anchor": "Minor customisation of standard patterns, simple state management",
159
+ "cite": "read-only screens over existing data"
160
+ },
161
+ "size": {
162
+ "n": 2,
163
+ "anchor": "Small self-contained feature, simple form or display component",
164
+ "cite": "two display screens"
165
+ },
166
+ "deps": {
167
+ "n": 3,
168
+ "anchor": "2–3 internal services or one third-party API",
169
+ "cite": "reads the existing practice management export"
170
+ },
171
+ "unc": {
172
+ "n": 2,
173
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
174
+ "cite": "export refresh frequency to confirm"
175
+ },
176
+ "risk": {
177
+ "n": 3,
178
+ "anchor": "Moderate impact if broken, requires testing, affects multiple users",
179
+ "cite": "a wrong record shown to a patient is a reportable incident"
180
+ }
49
181
  },
50
182
  "scoreNote": "The screens where a patient reads their own treatment history.",
51
183
  "scoreProvenance": "stated",
52
184
  "tasks": [
53
- { "id": "records-screens", "name": "Treatment history and billing screens", "category": "logic", "o": 42, "m": 64, "p": 105, "confidence": "MED", "assumptions": ["nightly export from the practice system"], "provenance": "stated" }
185
+ {
186
+ "id": "records-screens",
187
+ "name": "Treatment history and billing screens",
188
+ "category": "logic",
189
+ "o": 42,
190
+ "m": 64,
191
+ "p": 105,
192
+ "confidence": "MED",
193
+ "assumptions": [
194
+ "nightly export from the practice system"
195
+ ],
196
+ "provenance": "stated"
197
+ }
54
198
  ]
55
199
  },
56
200
  {
@@ -60,28 +204,62 @@
60
204
  "component": "recall",
61
205
  "milestone": "M2 - Recall reminders",
62
206
  "scores": {
63
- "tech": { "n": 2, "anchor": "Minor customisation of standard patterns, simple state management", "cite": "scheduled job plus message template" },
64
- "size": { "n": 2, "anchor": "Small self-contained feature, simple form or display component", "cite": "one job, two templates" },
65
- "deps": { "n": 3, "anchor": "2–3 internal services or one third-party API", "cite": "email and text message provider" },
66
- "unc": { "n": 2, "anchor": "Minor ambiguities, can be resolved with one clarifying question", "cite": "opt-out wording to confirm" },
67
- "risk": { "n": 2, "anchor": "Low stakes, easy rollback, minimal user impact", "cite": "a missed reminder is recoverable" }
207
+ "tech": {
208
+ "n": 2,
209
+ "anchor": "Minor customisation of standard patterns, simple state management",
210
+ "cite": "scheduled job plus message template"
211
+ },
212
+ "size": {
213
+ "n": 2,
214
+ "anchor": "Small self-contained feature, simple form or display component",
215
+ "cite": "one job, two templates"
216
+ },
217
+ "deps": {
218
+ "n": 3,
219
+ "anchor": "2–3 internal services or one third-party API",
220
+ "cite": "email and text message provider"
221
+ },
222
+ "unc": {
223
+ "n": 2,
224
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
225
+ "cite": "opt-out wording to confirm"
226
+ },
227
+ "risk": {
228
+ "n": 2,
229
+ "anchor": "Low stakes, easy rollback, minimal user impact",
230
+ "cite": "a missed reminder is recoverable"
231
+ }
68
232
  },
69
233
  "scoreNote": "The automatic six-month reminder that brings patients back in.",
70
234
  "scoreProvenance": "proposed",
71
235
  "tasks": [
72
- { "id": "recall-jobs", "name": "Scheduled recall messages", "category": "logic", "o": 25, "m": 40, "p": 70, "confidence": "MED", "assumptions": ["messaging provider already chosen"], "provenance": "proposed" }
236
+ {
237
+ "id": "recall-jobs",
238
+ "name": "Scheduled recall messages",
239
+ "category": "logic",
240
+ "o": 25,
241
+ "m": 40,
242
+ "p": 70,
243
+ "confidence": "MED",
244
+ "assumptions": [
245
+ "messaging provider already chosen"
246
+ ],
247
+ "provenance": "proposed"
248
+ }
73
249
  ]
74
250
  }
75
251
  ],
76
252
  "risks": [
77
- { "name": "practice management export format is undocumented", "probability": 0.4, "impactHours": 32 }
253
+ {
254
+ "name": "practice management export format is undocumented",
255
+ "probability": 0.4,
256
+ "impactHours": 32
257
+ }
78
258
  ],
79
259
  "assumptions": [
80
- { "text": "nightly export from the practice system", "impactIfWrong": "recompute records-screens at logic category, +40%" }
81
- ],
82
- "scenarios": [
83
- { "id": "lean-2eng", "aiAssisted": true, "toolingCostPerSeat": 100, "team": [{ "seniority": "senior", "rate": 60 }, { "seniority": "mid", "rate": 45 }] },
84
- { "id": "full-4eng", "aiAssisted": false, "toolingCostPerSeat": null, "team": [{ "seniority": "senior", "rate": 60 }, { "seniority": "mid", "rate": 45 }, { "seniority": "mid", "rate": 45 }, { "seniority": "junior", "rate": 30 }] }
85
- ],
86
- "recommendedScenario": "lean-2eng"
260
+ {
261
+ "text": "nightly export from the practice system",
262
+ "impactIfWrong": "recompute records-screens at logic category, +40%"
263
+ }
264
+ ]
87
265
  }
@@ -22,9 +22,47 @@
22
22
  800
23
23
  ]
24
24
  },
25
- "overheadPct": 0.35,
26
25
  "verificationPct": 0.12,
27
26
  "exposeRatesToClient": false,
27
+ "contextLevels": {
28
+ "codebaseMaturity": 1,
29
+ "stackFamiliarity": 1,
30
+ "specQuality": 2,
31
+ "compliance": 2,
32
+ "clientDecisions": 3
33
+ },
34
+ "contextProvenance": {
35
+ "codebaseMaturity": {
36
+ "level": 1,
37
+ "anchor": "Greenfield",
38
+ "cite": "ARCHITECTURE.md §2: new portal reading a nightly export",
39
+ "source": "derived"
40
+ },
41
+ "stackFamiliarity": {
42
+ "level": 1,
43
+ "anchor": "Core stack, done before",
44
+ "cite": "interview",
45
+ "source": "stated"
46
+ },
47
+ "specQuality": {
48
+ "level": 2,
49
+ "anchor": "clear written brief",
50
+ "cite": "ARCHITECTURE.md §1-§8 plus brief.md, guardian access still open",
51
+ "source": "derived"
52
+ },
53
+ "compliance": {
54
+ "level": 2,
55
+ "anchor": "handles PII",
56
+ "cite": "ARCHITECTURE.md §2/§12: patient records, audited access, no named regulation",
57
+ "source": "derived"
58
+ },
59
+ "clientDecisions": {
60
+ "level": 3,
61
+ "anchor": "committee sign-off",
62
+ "cite": "brief.md: three partners sign off together",
63
+ "source": "derived"
64
+ }
65
+ },
28
66
  "components": [
29
67
  {
30
68
  "id": "portal",
@@ -224,48 +262,7 @@
224
262
  "text": "nightly export from the practice system",
225
263
  "impactIfWrong": "recompute records-screens at logic category, +40%"
226
264
  }
227
- ],
228
- "scenarios": [
229
- {
230
- "id": "lean-2eng",
231
- "aiAssisted": true,
232
- "toolingCostPerSeat": 100,
233
- "team": [
234
- {
235
- "seniority": "senior",
236
- "rate": 60
237
- },
238
- {
239
- "seniority": "mid",
240
- "rate": 45
241
- }
242
- ]
243
- },
244
- {
245
- "id": "full-4eng",
246
- "aiAssisted": false,
247
- "toolingCostPerSeat": null,
248
- "team": [
249
- {
250
- "seniority": "senior",
251
- "rate": 60
252
- },
253
- {
254
- "seniority": "mid",
255
- "rate": 45
256
- },
257
- {
258
- "seniority": "mid",
259
- "rate": 45
260
- },
261
- {
262
- "seniority": "junior",
263
- "rate": 30
264
- }
265
- ]
266
- }
267
- ],
268
- "recommendedScenario": "lean-2eng"
265
+ ]
269
266
  },
270
267
  "computed": {
271
268
  "tasks": {
@@ -291,22 +288,37 @@
291
288
  "hours": 156.17,
292
289
  "low": 95,
293
290
  "high": 250,
294
- "scoreTotal": 14,
295
- "tier": "M"
291
+ "scoreTotal": 13.5,
292
+ "tier": "M",
293
+ "point": 2333.33,
294
+ "spread": 0.31,
295
+ "priceLow": 1610,
296
+ "priceHigh": 3056.67,
297
+ "flag": ""
296
298
  },
297
299
  "recall-reminders": {
298
300
  "hours": 42.5,
299
301
  "low": 25,
300
302
  "high": 70,
301
303
  "scoreTotal": 11,
302
- "tier": "S"
304
+ "tier": "S",
305
+ "point": 1423.08,
306
+ "spread": 0.25,
307
+ "priceLow": 1067.31,
308
+ "priceHigh": 1778.85,
309
+ "flag": ""
303
310
  },
304
311
  "records-view": {
305
312
  "hours": 67.17,
306
313
  "low": 42,
307
314
  "high": 105,
308
315
  "scoreTotal": 12,
309
- "tier": "M"
316
+ "tier": "M",
317
+ "point": 1708.33,
318
+ "spread": 0.28,
319
+ "priceLow": 1230,
320
+ "priceHigh": 2186.67,
321
+ "flag": ""
310
322
  }
311
323
  },
312
324
  "components": {
@@ -315,79 +327,52 @@
315
327
  "recall": 42.5,
316
328
  "records": 67.17
317
329
  },
318
- "devHours": 265.83,
319
- "overheadHours": 93.04,
320
- "spreadBufferHours": 22.74,
321
- "riskBufferHours": 12.8,
322
- "scenarios": {
323
- "full-4eng": {
324
- "taskHours": {
325
- "login-access-rules": 92.83,
326
- "login-identity": 63.33,
327
- "recall-jobs": 42.5,
328
- "records-screens": 67.17
329
- },
330
- "hours": 394.42,
331
- "months": 1.01,
332
- "laborCost": 25355.37,
333
- "toolingCost": 0,
334
- "totalCost": 25355.37,
335
- "notes": [
336
- "coordination overhead grows past 3 engineers"
330
+ "roadmap": [
331
+ {
332
+ "milestone": "M1 - Secure portal",
333
+ "features": [
334
+ "patient-login",
335
+ "records-view"
337
336
  ],
338
- "roadmap": [
339
- {
340
- "milestone": "M1 - Secure portal",
341
- "features": [
342
- "patient-login",
343
- "records-view"
344
- ],
345
- "startMonths": 0,
346
- "endMonths": 0.85
347
- },
348
- {
349
- "milestone": "M2 - Recall reminders",
350
- "features": [
351
- "recall-reminders"
352
- ],
353
- "startMonths": 0.85,
354
- "endMonths": 1.01
355
- }
356
- ]
337
+ "share": 0.84
357
338
  },
358
- "lean-2eng": {
359
- "taskHours": {
360
- "login-access-rules": 66.28,
361
- "login-identity": 28.64,
362
- "recall-jobs": 30.35,
363
- "records-screens": 47.96
364
- },
365
- "hours": 269.39,
366
- "months": 1.07,
367
- "laborCost": 15714.69,
368
- "toolingCost": 213.81,
369
- "totalCost": 15928.5,
370
- "notes": [],
371
- "roadmap": [
372
- {
373
- "milestone": "M1 - Secure portal",
374
- "features": [
375
- "patient-login",
376
- "records-view"
377
- ],
378
- "startMonths": 0,
379
- "endMonths": 0.88
380
- },
381
- {
382
- "milestone": "M2 - Recall reminders",
383
- "features": [
384
- "recall-reminders"
385
- ],
386
- "startMonths": 0.88,
387
- "endMonths": 1.07
388
- }
389
- ]
339
+ {
340
+ "milestone": "M2 - Recall reminders",
341
+ "features": [
342
+ "recall-reminders"
343
+ ],
344
+ "share": 0.16
390
345
  }
346
+ ],
347
+ "price": {
348
+ "featurePoints": 5464.74,
349
+ "contextMultiplier": 1.4,
350
+ "adjustedBase": 7650.64,
351
+ "overheads": {
352
+ "lines": {
353
+ "foundation": 0.12,
354
+ "discovery": 0.06,
355
+ "ux": 0.08,
356
+ "qa": 0.08,
357
+ "devops": 0.05,
358
+ "docs": 0.03,
359
+ "pm": 0.1,
360
+ "integration": 0.06
361
+ },
362
+ "totalPct": 0.5800000000000001,
363
+ "amount": 4437.37
364
+ },
365
+ "contingencyRate": 0.15,
366
+ "contingencyAmount": 1813.2,
367
+ "p50": 13901.21,
368
+ "sigma": 2384.38,
369
+ "p20": 11898.34,
370
+ "p80": 15904.09,
371
+ "p95": 17823.52,
372
+ "presentLow": 14000,
373
+ "presentHigh": 18000,
374
+ "singleNumber": 16000,
375
+ "impliedAccuracy": 0.17
391
376
  },
392
377
  "projectConfidence": "MED"
393
378
  }
@@ -1,44 +1,67 @@
1
- # Meridian Dental Patient Portal — Estimation (internal)
1
+ # Meridian Dental Patient Portal — Estimation
2
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.
3
+ ## Summary
5
4
 
6
- ## Scenarios
5
+ | Feature | Tier | Range (h) | src |
6
+ | --- | --- | --- | --- |
7
+ | Patients sign in to see their own records | M | 95–250 | stated |
8
+ | Patients read treatment history and bills | M | 42–105 | stated |
9
+ | Patients get their six-month check-up reminder | S | 25–70 | proposed |
7
10
 
8
- | Scenario | Team | Hours | Months | Total cost |
9
- |---|---|---|---|---|
10
- | `lean-2eng` | senior + mid, AI-assisted | 269.39 | 1.07 | $15,928.50 |
11
- | `full-4eng` | senior + mid + mid + junior | 394.42 | 1.01 | $25,355.37 |
11
+ ### Roadmap
12
12
 
13
- Recommended: `lean-2eng` — `full-4eng` buys back less than a week of calendar
14
- time for roughly $9,400 more.
13
+ | Milestone | Features | Share |
14
+ | --- | --- | --- |
15
+ | M1 - Secure portal | Patients sign in to see their own records, Patients read treatment history and bills | 84% |
16
+ | M2 - Recall reminders | Patients get their six-month check-up reminder | 16% |
15
17
 
16
- ## Milestones (lean-2eng)
18
+ Bands are relative shares of total effort, not durations. This estimate
19
+ produces no timeline. Ordering: stated.
17
20
 
18
- | Milestone | Features | Start → end (months) |
19
- |---|---|---|
20
- | M1 - Secure portal | patient-login, records-view | 0 → 0.88 |
21
- | M2 - Recall reminders | recall-reminders | 0.88 → 1.07 |
21
+ ### Assumptions
22
22
 
23
- ## Exclusions
23
+ | Assumption | Impact if wrong |
24
+ | --- | --- |
25
+ | nightly export from the practice system | recompute records-screens at logic category, +40% |
26
+ | email and date of birth are enough to identify a patient | a stronger identity check adds work to patient-login |
27
+ | every record view is logged and kept for seven years | a different retention rule changes the audit store, not the screens |
28
+ | the messaging provider for recall reminders is already chosen and paid for | recompute recall-reminders at logic category, +20% |
29
+
30
+ ### Out of scope
24
31
 
25
32
  - Insurance claims submission or tracking — phase 2.
26
33
  - Online appointment booking — the practice keeps its phone book-in.
27
34
  - Writing back to the practice management system — the portal is read-only.
28
35
  - Card payments in the portal — patients pay at reception.
29
36
 
30
- ## Assumptions
37
+ ## Estimation detail
38
+
39
+ Technique: three-point PERT — detailed requirements and architecture available.
40
+
41
+ | Task | Category | O/M/P | E (h) | Confidence | Assumptions | src |
42
+ | --- | --- | --- | --- | --- | --- | --- |
43
+ | Patient sign-in and identity checks | boilerplate | 40/60/100 | 63.33 | HIGH | email and date of birth identify a patient | stated |
44
+ | Record access and audit rules | logic | 55/88/150 | 92.83 | MED | every record view is logged for seven years | stated |
45
+ | Treatment history and billing screens | logic | 42/64/105 | 67.17 | MED | nightly export from the practice system | stated |
46
+ | Scheduled recall messages | logic | 25/40/70 | 42.5 | MED | messaging provider already chosen | proposed |
31
47
 
32
- - The practice management system produces a nightly export. If wrong: recompute
33
- `records-screens` at logic category, +40%.
34
- - Email and date of birth are enough to identify a patient.
35
- - Every record view is logged and kept for seven years.
36
- - The messaging provider for recall reminders is already chosen and paid for.
48
+ ### Price
37
49
 
38
- ## Risk register (internal)
50
+ | Figure | Value |
51
+ | --- | --- |
52
+ | Presented range | $14,000 – $18,000 |
53
+ | If a single number is required | $16,000 |
54
+ | Contingency rate | 15% |
55
+ | Implied accuracy | 17% |
56
+
57
+ ### Risk register (internal)
39
58
 
40
59
  | Risk | Probability | Impact (hours) |
41
- |---|---|---|
60
+ | --- | --- | --- |
42
61
  | practice management export format is undocumented | 0.4 | 32 |
43
62
 
44
- Project confidence: MED.
63
+ ### Calibration
64
+
65
+ No delivery history was supplied, so the bands are the defaults;
66
+ recalibrate them against actuals roughly twice a year. Whatever AI leverage
67
+ the team has is priced into the bands already and stays as margin.
@@ -12,8 +12,8 @@ Both files must exist or the skill stops:
12
12
 
13
13
  Read ARCHITECTURE.md, estimation.json, and estimation.md. Load the firm
14
14
  profile (see §3). Then state what is already known: scope, milestones,
15
- scenarios with cost/duration, risks, tech stack. The user corrects anything
16
- stale before questions begin.
15
+ cost, risks, tech stack. The user corrects anything stale before questions
16
+ begin.
17
17
 
18
18
  ## 1. Client context — the only-human-knows questions
19
19
 
@@ -26,10 +26,7 @@ stale before questions begin.
26
26
  Objectives.
27
27
  4. What the client cares about most: price, speed, or reliability — shapes
28
28
  the Executive Summary's emphasis.
29
- 5. Which scenario to offer. List every scenario from estimation.json with
30
- its cost and duration; the user picks exactly one. Only that one appears
31
- in the proposal.
32
- 6. Validity period — default 30 days from today; compute the date for
29
+ 5. Validity period — default 30 days from today; compute the date for
33
30
  `valid_until`.
34
31
 
35
32
  ## 2. Gaps + confirmation