@v11g/agents-rock 1.0.8 → 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 (117) 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/skills/problem-router/README.md +6 -0
  19. package/plugins/reasoning/skills/problem-router/SKILL.md +4 -0
  20. package/plugins/reasoning/skills/problem-router/references/contract.md +114 -19
  21. package/plugins/reasoning/skills/problem-solving/README.md +6 -0
  22. package/plugins/reasoning/skills/problem-solving/SKILL.md +2 -0
  23. package/plugins/reasoning/skills/problem-solving/references/contract.md +114 -19
  24. package/plugins/reasoning/skills/problem-solving/references/interview.md +2 -0
  25. package/plugins/reasoning/skills/systemic-design/README.md +3 -0
  26. package/plugins/reasoning/skills/systemic-design/SKILL.md +2 -0
  27. package/plugins/reasoning/skills/systemic-design/references/contract.md +114 -19
  28. package/plugins/reasoning/skills/systemic-design/references/interview.md +2 -0
  29. package/plugins/reasoning/skills/systems-thinking/README.md +3 -0
  30. package/plugins/reasoning/skills/systems-thinking/SKILL.md +2 -0
  31. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +15 -6
  32. package/plugins/reasoning/skills/systems-thinking/references/contract.md +114 -19
  33. package/plugins/reasoning/skills/systems-thinking/references/interview.md +2 -0
  34. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  35. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +4 -1
  36. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +16 -1
  37. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +9 -0
  38. package/plugins/solution-architect/skills/estimate/README.md +20 -15
  39. package/plugins/solution-architect/skills/estimate/SKILL.md +10 -6
  40. package/plugins/solution-architect/skills/estimate/assets/estimate-template-agentic.html +111 -138
  41. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +361 -247
  42. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +5 -4
  43. package/plugins/solution-architect/skills/estimate/evals/evals.json +7 -7
  44. package/plugins/solution-architect/skills/estimate/references/agentic-estimation.md +4 -2
  45. package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +38 -82
  46. package/plugins/solution-architect/skills/estimate/references/interview.md +56 -35
  47. package/plugins/solution-architect/skills/estimate/references/scoring-guide.md +40 -4
  48. package/plugins/solution-architect/skills/estimate/references/techniques.md +29 -21
  49. package/plugins/solution-architect/skills/estimate/references/writing.md +75 -43
  50. package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +37 -5
  51. package/plugins/solution-architect/skills/estimate/scripts/lib/context-schema.mjs +35 -0
  52. package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +17 -75
  53. package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +5 -5
  54. package/plugins/solution-architect/skills/estimate/scripts/lib/pricing.mjs +78 -0
  55. package/plugins/solution-architect/skills/estimate/scripts/lib/project-price.mjs +96 -0
  56. package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +67 -19
  57. package/plugins/solution-architect/skills/estimate/scripts/lib/roadmap.mjs +4 -5
  58. package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +48 -73
  59. package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +28 -13
  60. package/plugins/solution-architect/skills/estimate/scripts/lib/score-csv.mjs +2 -2
  61. package/plugins/solution-architect/skills/estimate/scripts/lib/score-html.mjs +1 -1
  62. package/plugins/solution-architect/skills/estimate/scripts/lib/scoring.mjs +2 -2
  63. package/plugins/solution-architect/skills/estimate/scripts/render.mjs +1 -1
  64. package/plugins/solution-architect/skills/estimate/scripts/score-review.mjs +1 -1
  65. package/plugins/solution-architect/skills/estimate/scripts/test/browser-agentic.test.mjs +143 -0
  66. package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +209 -50
  67. package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +57 -32
  68. package/plugins/solution-architect/skills/estimate/scripts/test/e2e.test.mjs +52 -0
  69. package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +25 -112
  70. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-fail.md +0 -10
  71. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-pass.md +0 -10
  72. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-inputs.json +1 -7
  73. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +11 -10
  74. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +6 -0
  75. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +17 -21
  76. package/plugins/solution-architect/skills/estimate/scripts/test/pricing.test.mjs +88 -0
  77. package/plugins/solution-architect/skills/estimate/scripts/test/project-price.test.mjs +93 -0
  78. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +86 -24
  79. package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +185 -31
  80. package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +114 -61
  81. package/plugins/solution-architect/skills/estimate/scripts/test/score-review.test.mjs +34 -1
  82. package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +103 -9
  83. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +292 -71
  84. package/plugins/solution-architect/skills/new-lead/SKILL.md +4 -3
  85. package/plugins/solution-architect/skills/proposal/README.md +9 -7
  86. package/plugins/solution-architect/skills/proposal/SKILL.md +10 -7
  87. package/plugins/solution-architect/skills/proposal/evals/evals.json +29 -11
  88. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +65 -0
  89. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +21 -0
  90. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +126 -0
  91. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +215 -0
  92. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +224 -34
  93. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +103 -114
  94. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +48 -22
  95. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +211 -33
  96. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +102 -117
  97. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +48 -25
  98. package/plugins/solution-architect/skills/proposal/references/interview.md +3 -6
  99. package/plugins/solution-architect/skills/proposal/references/review.md +5 -4
  100. package/plugins/solution-architect/skills/proposal/references/writing.md +33 -31
  101. package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +1 -1
  102. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +5 -22
  103. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +18 -8
  104. package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +6 -2
  105. package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +24 -33
  106. package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +1 -1
  107. package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +50 -47
  108. package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +99 -40
  109. package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +11 -5
  110. package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +1 -1
  111. package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +39 -0
  112. package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +67 -54
  113. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +6 -1
  114. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +8 -12
  115. package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +1 -1
  116. package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +3 -2
  117. 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": 1,
31
+ "clientDecisions": 2
32
+ },
33
+ "contextProvenance": {
34
+ "codebaseMaturity": {
35
+ "level": 1,
36
+ "anchor": "Greenfield",
37
+ "cite": "ARCHITECTURE.md §1: whiteboard and phone, no existing system",
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, no signed-off acceptance criteria",
50
+ "source": "derived"
51
+ },
52
+ "compliance": {
53
+ "level": 1,
54
+ "anchor": "None",
55
+ "cite": "ARCHITECTURE.md §12: tracking page exposes delivery status only",
56
+ "source": "derived"
57
+ },
58
+ "clientDecisions": {
59
+ "level": 2,
60
+ "anchor": "two or three",
61
+ "cite": "brief.md: Dale decides, the owner signs",
62
+ "source": "derived"
63
+ }
64
+ },
10
65
  "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" }
66
+ {
67
+ "id": "dispatch",
68
+ "name": "Dispatch Service"
69
+ },
70
+ {
71
+ "id": "driver",
72
+ "name": "Driver App"
73
+ },
74
+ {
75
+ "id": "tracking",
76
+ "name": "Customer Tracking"
77
+ },
78
+ {
79
+ "id": "billing",
80
+ "name": "Billing Integration",
81
+ "notEstimated": "phase 2, client keeps current invoicing"
82
+ }
15
83
  ],
16
84
  "features": [
17
85
  {
@@ -21,17 +89,61 @@
21
89
  "component": "dispatch",
22
90
  "milestone": "M1 - Dispatch core",
23
91
  "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" }
92
+ "tech": {
93
+ "n": 3,
94
+ "anchor": "Custom business logic, moderate algorithm complexity, multiple states",
95
+ "cite": "job states plus reassignment rules"
96
+ },
97
+ "size": {
98
+ "n": 3,
99
+ "anchor": "Medium feature with multiple components and backend logic",
100
+ "cite": "board UI plus assignment service"
101
+ },
102
+ "deps": {
103
+ "n": 2,
104
+ "anchor": "One internal dependency (e.g. auth check)",
105
+ "cite": "reads the dispatcher session"
106
+ },
107
+ "unc": {
108
+ "n": 3,
109
+ "anchor": "Some open questions, design decisions to be made during build",
110
+ "cite": "overnight shift handover undecided"
111
+ },
112
+ "risk": {
113
+ "n": 3,
114
+ "anchor": "Moderate impact if broken, requires testing, affects multiple users",
115
+ "cite": "a stuck board stops every route"
116
+ }
29
117
  },
30
118
  "scoreNote": "The live assignment board every dispatcher works from all day.",
31
119
  "scoreProvenance": "stated",
32
120
  "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" }
121
+ {
122
+ "id": "board-api",
123
+ "name": "Job and assignment service",
124
+ "category": "boilerplate",
125
+ "o": 70,
126
+ "m": 105,
127
+ "p": 170,
128
+ "confidence": "HIGH",
129
+ "assumptions": [
130
+ "one depot, one timezone"
131
+ ],
132
+ "provenance": "stated"
133
+ },
134
+ {
135
+ "id": "board-ui",
136
+ "name": "Live dispatch board screen",
137
+ "category": "logic",
138
+ "o": 100,
139
+ "m": 150,
140
+ "p": 240,
141
+ "confidence": "MED",
142
+ "assumptions": [
143
+ "desktop browser only"
144
+ ],
145
+ "provenance": "stated"
146
+ }
35
147
  ]
36
148
  },
37
149
  {
@@ -41,17 +153,61 @@
41
153
  "component": "driver",
42
154
  "milestone": "M1 - Dispatch core",
43
155
  "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" }
156
+ "tech": {
157
+ "n": 2,
158
+ "anchor": "Minor customisation of standard patterns, simple state management",
159
+ "cite": "form plus photo upload"
160
+ },
161
+ "size": {
162
+ "n": 3,
163
+ "anchor": "Medium feature with multiple components and backend logic",
164
+ "cite": "mobile screens plus upload service"
165
+ },
166
+ "deps": {
167
+ "n": 2,
168
+ "anchor": "One internal dependency (e.g. auth check)",
169
+ "cite": "reads the driver session"
170
+ },
171
+ "unc": {
172
+ "n": 2,
173
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
174
+ "cite": "offline behaviour to confirm"
175
+ },
176
+ "risk": {
177
+ "n": 3,
178
+ "anchor": "Moderate impact if broken, requires testing, affects multiple users",
179
+ "cite": "a missed check-in loses proof of delivery"
180
+ }
49
181
  },
50
182
  "scoreNote": "The phone screen drivers use at every pickup and drop-off.",
51
183
  "scoreProvenance": "stated",
52
184
  "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" }
185
+ {
186
+ "id": "checkin-mobile",
187
+ "name": "Driver check-in screens",
188
+ "category": "logic",
189
+ "o": 60,
190
+ "m": 95,
191
+ "p": 150,
192
+ "confidence": "MED",
193
+ "assumptions": [
194
+ "company-issued phones only"
195
+ ],
196
+ "provenance": "stated"
197
+ },
198
+ {
199
+ "id": "checkin-photos",
200
+ "name": "Proof-of-delivery photo upload",
201
+ "category": "boilerplate",
202
+ "o": 30,
203
+ "m": 45,
204
+ "p": 70,
205
+ "confidence": "HIGH",
206
+ "assumptions": [
207
+ "photos kept for 12 months"
208
+ ],
209
+ "provenance": "stated"
210
+ }
55
211
  ]
56
212
  },
57
213
  {
@@ -61,28 +217,62 @@
61
217
  "component": "tracking",
62
218
  "milestone": "M2 - Customer tracking",
63
219
  "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" }
220
+ "tech": {
221
+ "n": 2,
222
+ "anchor": "Minor customisation of standard patterns, simple state management",
223
+ "cite": "status page plus email link"
224
+ },
225
+ "size": {
226
+ "n": 2,
227
+ "anchor": "Small self-contained feature, simple form or display component",
228
+ "cite": "one public page"
229
+ },
230
+ "deps": {
231
+ "n": 3,
232
+ "anchor": "2–3 internal services or one third-party API",
233
+ "cite": "map provider plus email provider"
234
+ },
235
+ "unc": {
236
+ "n": 2,
237
+ "anchor": "Minor ambiguities, can be resolved with one clarifying question",
238
+ "cite": "refresh frequency to confirm"
239
+ },
240
+ "risk": {
241
+ "n": 2,
242
+ "anchor": "Low stakes, easy rollback, minimal user impact",
243
+ "cite": "a stale status is recoverable"
244
+ }
69
245
  },
70
246
  "scoreNote": "A tracking page customers open from the delivery email.",
71
247
  "scoreProvenance": "proposed",
72
248
  "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" }
249
+ {
250
+ "id": "tracking-page",
251
+ "name": "Public delivery tracking page",
252
+ "category": "logic",
253
+ "o": 50,
254
+ "m": 75,
255
+ "p": 125,
256
+ "confidence": "MED",
257
+ "assumptions": [
258
+ "map provider already chosen"
259
+ ],
260
+ "provenance": "proposed"
261
+ }
74
262
  ]
75
263
  }
76
264
  ],
77
265
  "risks": [
78
- { "name": "depot wifi blackspots delay driver rollout", "probability": 0.3, "impactHours": 40 }
266
+ {
267
+ "name": "depot wifi blackspots delay driver rollout",
268
+ "probability": 0.3,
269
+ "impactHours": 40
270
+ }
79
271
  ],
80
272
  "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"
273
+ {
274
+ "text": "one depot, one timezone",
275
+ "impactIfWrong": "recompute board-api at logic category, +30%"
276
+ }
277
+ ]
88
278
  }
@@ -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": 1,
32
+ "clientDecisions": 2
33
+ },
34
+ "contextProvenance": {
35
+ "codebaseMaturity": {
36
+ "level": 1,
37
+ "anchor": "Greenfield",
38
+ "cite": "ARCHITECTURE.md §1: whiteboard and phone, no existing system",
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, no signed-off acceptance criteria",
51
+ "source": "derived"
52
+ },
53
+ "compliance": {
54
+ "level": 1,
55
+ "anchor": "None",
56
+ "cite": "ARCHITECTURE.md §12: tracking page exposes delivery status only",
57
+ "source": "derived"
58
+ },
59
+ "clientDecisions": {
60
+ "level": 2,
61
+ "anchor": "two or three",
62
+ "cite": "brief.md: Dale decides, the owner signs",
63
+ "source": "derived"
64
+ }
65
+ },
28
66
  "components": [
29
67
  {
30
68
  "id": "dispatch",
@@ -237,44 +275,7 @@
237
275
  "text": "one depot, one timezone",
238
276
  "impactIfWrong": "recompute board-api at logic category, +30%"
239
277
  }
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
+ ]
278
279
  },
279
280
  "computed": {
280
281
  "tasks": {
@@ -305,21 +306,36 @@
305
306
  "low": 50,
306
307
  "high": 125,
307
308
  "scoreTotal": 11,
308
- "tier": "S"
309
+ "tier": "S",
310
+ "point": 1423.08,
311
+ "spread": 0.25,
312
+ "priceLow": 1067.31,
313
+ "priceHigh": 1778.85,
314
+ "flag": ""
309
315
  },
310
316
  "dispatch-board": {
311
317
  "hours": 266.67,
312
318
  "low": 170,
313
319
  "high": 410,
314
320
  "scoreTotal": 14,
315
- "tier": "M"
321
+ "tier": "M",
322
+ "point": 2541.67,
323
+ "spread": 0.35,
324
+ "priceLow": 1652.08,
325
+ "priceHigh": 3431.25,
326
+ "flag": ""
316
327
  },
317
328
  "driver-checkin": {
318
329
  "hours": 145,
319
330
  "low": 90,
320
331
  "high": 220,
321
- "scoreTotal": 12,
322
- "tier": "M"
332
+ "scoreTotal": 11.5,
333
+ "tier": "M",
334
+ "point": 1500,
335
+ "spread": 0.28,
336
+ "priceLow": 1080,
337
+ "priceHigh": 1920,
338
+ "flag": ""
323
339
  }
324
340
  },
325
341
  "components": {
@@ -328,79 +344,52 @@
328
344
  "driver": 145,
329
345
  "tracking": 79.17
330
346
  },
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
- ]
347
+ "roadmap": [
348
+ {
349
+ "milestone": "M1 - Dispatch core",
350
+ "features": [
351
+ "dispatch-board",
352
+ "driver-checkin"
353
+ ],
354
+ "share": 0.84
369
355
  },
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
- ]
356
+ {
357
+ "milestone": "M2 - Customer tracking",
358
+ "features": [
359
+ "customer-tracking"
360
+ ],
361
+ "share": 0.16
403
362
  }
363
+ ],
364
+ "price": {
365
+ "featurePoints": 5464.74,
366
+ "contextMultiplier": 1.1,
367
+ "adjustedBase": 6011.22,
368
+ "overheads": {
369
+ "lines": {
370
+ "foundation": 0.12,
371
+ "discovery": 0.06,
372
+ "ux": 0.08,
373
+ "qa": 0.08,
374
+ "devops": 0.05,
375
+ "docs": 0.03,
376
+ "pm": 0.1,
377
+ "integration": 0.06
378
+ },
379
+ "totalPct": 0.5800000000000001,
380
+ "amount": 3486.51
381
+ },
382
+ "contingencyRate": 0.15,
383
+ "contingencyAmount": 1424.66,
384
+ "p50": 10922.38,
385
+ "sigma": 2090.84,
386
+ "p20": 9166.07,
387
+ "p80": 12678.69,
388
+ "p95": 14361.82,
389
+ "presentLow": 11000,
390
+ "presentHigh": 14500,
391
+ "singleNumber": 13000,
392
+ "impliedAccuracy": 0.19
404
393
  },
405
394
  "projectConfidence": "MED"
406
395
  }
@@ -1,41 +1,67 @@
1
- # Harborline Dispatch Portal — Estimation (internal)
1
+ # Harborline Dispatch 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
+ | Dispatcher assigns jobs on a live board | M | 170–410 | stated |
8
+ | Drivers check in and out from their phone | M | 90–220 | stated |
9
+ | Customers see where their delivery is | S | 50–125 | proposed |
7
10
 
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 |
11
+ ### Roadmap
12
12
 
13
- Recommended: `2eng-agentic`.
13
+ | Milestone | Features | Share |
14
+ | --- | --- | --- |
15
+ | M1 - Dispatch core | Dispatcher assigns jobs on a live board, Drivers check in and out from their phone | 84% |
16
+ | M2 - Customer tracking | Customers see where their delivery is | 16% |
14
17
 
15
- ## Milestones (2eng-agentic)
18
+ Bands are relative shares of total effort, not durations. This estimate
19
+ produces no timeline. Ordering: stated.
16
20
 
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
+ ### Assumptions
21
22
 
22
- ## Exclusions
23
+ | Assumption | Impact if wrong |
24
+ | --- | --- |
25
+ | one depot, one timezone | recompute board-api at logic category, +30% |
26
+ | proof-of-delivery photos are kept for 12 months | longer retention adds storage cost, not build effort |
27
+ | the map provider for the tracking page is already chosen | recompute tracking-page at logic category, +20% |
28
+
29
+ ### Out of scope
23
30
 
24
31
  - Billing and invoicing integration — phase 2, the client keeps its current desk.
25
32
  - iOS support for the driver screen — company phones are Android.
26
33
  - Route optimisation or automatic job assignment — dispatchers assign by hand.
27
34
  - Multi-depot support — one depot in v1.
28
35
 
29
- ## Assumptions
36
+ ## Estimation detail
37
+
38
+ Technique: three-point PERT — detailed requirements and architecture available.
39
+
40
+ | Task | Category | O/M/P | E (h) | Confidence | Assumptions | src |
41
+ | --- | --- | --- | --- | --- | --- | --- |
42
+ | Job and assignment service | boilerplate | 70/105/170 | 110 | HIGH | one depot, one timezone | stated |
43
+ | Live dispatch board screen | logic | 100/150/240 | 156.67 | MED | desktop browser only | stated |
44
+ | Driver check-in screens | logic | 60/95/150 | 98.33 | MED | company-issued phones only | stated |
45
+ | Proof-of-delivery photo upload | boilerplate | 30/45/70 | 46.67 | HIGH | photos kept for 12 months | stated |
46
+ | Public delivery tracking page | logic | 50/75/125 | 79.17 | MED | map provider already chosen | proposed |
30
47
 
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.
48
+ ### Price
34
49
 
35
- ## Risk register (internal)
50
+ | Figure | Value |
51
+ | --- | --- |
52
+ | Presented range | $11,000 – $14,500 |
53
+ | If a single number is required | $13,000 |
54
+ | Contingency rate | 15% |
55
+ | Implied accuracy | 19% |
56
+
57
+ ### Risk register (internal)
36
58
 
37
59
  | Risk | Probability | Impact (hours) |
38
- |---|---|---|
60
+ | --- | --- | --- |
39
61
  | depot wifi blackspots delay driver rollout | 0.3 | 40 |
40
62
 
41
- 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.