@v11g/agents-rock 1.0.6 → 1.0.8

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 (249) hide show
  1. package/package.json +1 -1
  2. package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
  3. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
  4. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
  5. package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
  6. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
  7. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
  8. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
  9. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
  10. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
  11. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
  12. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
  13. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
  14. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
  15. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
  16. package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
  17. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
  18. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
  19. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
  20. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
  21. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
  22. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
  23. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
  24. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +10 -0
  25. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +9 -0
  26. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
  27. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +9 -0
  28. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
  29. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
  30. package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
  31. package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
  32. package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
  33. package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
  34. package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
  35. package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
  36. package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
  37. package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
  38. package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
  39. package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
  40. package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
  41. package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
  42. package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
  43. package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
  44. package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
  45. package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
  46. package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
  47. package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
  48. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
  49. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
  50. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
  51. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
  52. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
  53. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
  54. package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
  55. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
  56. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
  57. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
  58. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
  59. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
  60. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
  61. package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
  62. package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
  63. package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
  64. package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
  65. package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
  66. package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
  67. package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
  68. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
  69. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
  70. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
  71. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
  72. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
  73. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
  74. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
  75. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
  76. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
  77. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
  78. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
  79. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
  80. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
  81. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
  82. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
  83. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
  84. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
  85. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
  86. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
  87. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
  88. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
  89. package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
  90. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
  91. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
  92. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
  93. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
  94. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
  95. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
  96. package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
  97. package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
  98. package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
  99. package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
  100. package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
  101. package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
  102. package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
  103. package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
  104. package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
  105. package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
  106. package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
  107. package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
  108. package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
  109. package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
  110. package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
  111. package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
  112. package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
  113. package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
  114. package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
  115. package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
  116. package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
  117. package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
  118. package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
  119. package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
  120. package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
  121. package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
  122. package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
  123. package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
  124. package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
  125. package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
  126. package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
  127. package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
  128. package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
  129. package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
  130. package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
  131. package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
  132. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
  133. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
  134. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +13 -0
  135. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
  136. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
  137. package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
  138. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
  139. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
  140. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
  141. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
  142. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
  143. package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
  144. package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
  145. package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
  146. package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
  147. package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
  148. package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
  149. package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
  150. package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
  151. package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
  152. package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
  153. package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
  154. package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
  155. package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
  156. package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
  157. package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
  158. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +12 -0
  159. package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
  160. package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
  161. package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
  162. package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
  163. package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
  164. package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
  165. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
  166. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
  167. package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
  168. package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
  169. package/plugins/reasoning/skills/problem-router/README.md +46 -0
  170. package/plugins/reasoning/skills/problem-router/SKILL.md +221 -0
  171. package/plugins/reasoning/skills/problem-router/references/contract.md +110 -0
  172. package/plugins/reasoning/skills/problem-solving/README.md +51 -0
  173. package/plugins/reasoning/skills/problem-solving/SKILL.md +204 -0
  174. package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
  175. package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
  176. package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
  177. package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
  178. package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
  179. package/plugins/reasoning/skills/problem-solving/references/contract.md +110 -0
  180. package/plugins/reasoning/skills/problem-solving/references/interview.md +66 -0
  181. package/plugins/reasoning/skills/systemic-design/README.md +42 -0
  182. package/plugins/reasoning/skills/systemic-design/SKILL.md +182 -0
  183. package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
  184. package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
  185. package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
  186. package/plugins/reasoning/skills/systemic-design/references/contract.md +110 -0
  187. package/plugins/reasoning/skills/systemic-design/references/interview.md +66 -0
  188. package/plugins/reasoning/skills/systems-thinking/README.md +43 -0
  189. package/plugins/reasoning/skills/systems-thinking/SKILL.md +216 -0
  190. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +61 -0
  191. package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
  192. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
  193. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +45 -0
  194. package/plugins/reasoning/skills/systems-thinking/references/contract.md +110 -0
  195. package/plugins/reasoning/skills/systems-thinking/references/interview.md +66 -0
  196. package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
  197. package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
  198. package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
  199. package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
  200. package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
  201. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
  202. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
  203. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
  204. package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
  205. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
  206. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
  207. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
  208. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
  209. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
  210. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
  211. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
  212. package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
  213. package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
  214. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
  215. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
  216. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
  217. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
  218. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
  219. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
  220. package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
  221. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
  222. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
  223. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
  224. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
  225. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
  226. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
  227. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
  228. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
  229. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
  230. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
  231. package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
  232. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
  233. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
  234. package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
  235. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
  236. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
  237. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
  238. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
  239. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
  240. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
  241. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
  242. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
  243. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
  244. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
  245. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
  246. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
  247. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
  248. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
  249. package/src/cli/install.mjs +7 -1
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: Trellis Wholesale Ordering Portal
3
+ repo: trellis-wholesale
4
+ team: Trellis in-house dev team (2) + vendor pair
5
+ updated: 2026-09-10
6
+ mode: greenfield
7
+ projectType: web-application
8
+ docVersion: 1
9
+ electedDocs: [{"name":"threat-model","elected":true},{"name":"interface-contract","elected":false,"reason":"no public API exposed to third parties in v1"},{"name":"estimation","elected":false,"reason":"not run yet"},{"name":"domain-overview","elected":true}]
10
+ ---
11
+
12
+ # Trellis Wholesale Ordering Portal — Architecture
13
+
14
+ ## 1 Goals and Scope
15
+
16
+ Trade buyers self-serve their reorders against contract pricing, and orders
17
+ land in Sage 200 without a human re-keying them (requirements G-001, G-002).
18
+ Consumer retail is out of scope.
19
+
20
+ ## 2 Constraints
21
+
22
+ | Constraint | src |
23
+ | --- | --- |
24
+ | Trellis's two in-house developers write and own the code | stated |
25
+ | Live before the spring buying season, 1 March 2027 | stated |
26
+ | Hosting stays on the client's existing Azure tenant | stated |
27
+
28
+ ## 5 Architecture Model
29
+
30
+ C1/C2 views live in `c4-src/`. Two containers: the buyer-facing web app and the
31
+ ordering API, with a scheduled sync worker between the API and Sage 200.
32
+
33
+ ## 6 Core Components
34
+
35
+ | Component | Responsibility | Tech | src |
36
+ | --- | --- | --- | --- |
37
+ | `trellis.web` | Renders catalogue, basket and order history for trade buyers | React + Vite | proposed |
38
+ | `trellis.api` | Order capture, account auth, contract-price resolution | Node + Fastify | proposed |
39
+ | `trellis.api.catalogue` | Search and browse over 14,000 SKUs with per-depot stock | Node + Postgres FTS | proposed |
40
+ | `trellis.sync` | Pushes orders to Sage 200 and pulls prices, stock and accounts | Node worker | proposed |
41
+ | `trellis.reporting` | Sales-desk order dashboards | — | proposed |
42
+
43
+ ## 8 Data Stores
44
+
45
+ | Store | Purpose | PII | src |
46
+ | --- | --- | --- | --- |
47
+ | Postgres `orders` | Orders, lines, submission state | commercial | proposed |
48
+ | Postgres `catalogue` | SKUs, contract prices, depot stock snapshots | none | proposed |
49
+
50
+ ## 9 External Integrations
51
+
52
+ | System | Method | Failure mode | src |
53
+ | --- | --- | --- | --- |
54
+ | Sage 200 ERP | REST, bidirectional | queue orders locally, retry with backoff | stated |
55
+ | Stripe | REST, card-on-account | orders still submit; payment marked pending | proposed |
56
+
57
+ ## 13 Quality Requirements and SLOs
58
+
59
+ | Requirement | Target | src |
60
+ | --- | --- | --- |
61
+ | Peak availability 07:00–09:00 | 99.9% in window | stated |
62
+ | Catalogue search latency | p95 under 2s on 14,000 SKUs | proposed |
63
+
64
+ ## 15 Risks and Technical Debt
65
+
66
+ | Risk | Impact | src |
67
+ | --- | --- | --- |
68
+ | Sage 200 REST API may not be enabled on the client's licence tier | Integration work re-planned around a nightly file exchange | stated |
69
+ | Contract pricing rules in Sage are undocumented and partly per-branch | Price resolution rework after first data pull | observed |
70
+ | Depot stock may come from the WMS rather than Sage (Q-001 open) | Second integration surface for live stock | stated |
71
+ | In-house developers are shared with a live ERP upgrade until December | Ramp is slower than a dedicated team | stated |
@@ -0,0 +1,68 @@
1
+ {
2
+ "schemaVersion": "1.0",
3
+ "lead": "trellis-wholesale",
4
+ "status": "READY_FOR_ARCHITECTURE",
5
+ "depth": "STANDARD",
6
+ "updated": "2026-09-08",
7
+ "mode": "existing",
8
+ "context": {
9
+ "problem": "Wholesale buyers order by phone and fax; two staff re-key every order into the ERP and stock levels are quoted from memory.",
10
+ "goals": [
11
+ { "id": "G-001", "goal": "Let trade customers place their own orders online", "metric": "60% of wholesale order lines self-served within 6 months", "source": "kickoff call 2026-09-02" },
12
+ { "id": "G-002", "goal": "Stop manual re-keying into the ERP", "metric": "zero re-keyed orders for online customers", "source": "kickoff call 2026-09-02" }
13
+ ],
14
+ "successMetrics": ["60% of wholesale order lines placed online within 6 months"]
15
+ },
16
+ "actors": [
17
+ { "id": "ACT-001", "name": "Trade buyer", "type": "human", "goal": "reorder stock without phoning the depot", "painPoints": ["depot phone line is busy at 8am", "no way to see their contract price"] },
18
+ { "id": "ACT-002", "name": "Sales desk staff", "type": "human", "goal": "stop re-keying phoned-in orders", "painPoints": ["double entry into the ERP", "typos on bulk lines"] }
19
+ ],
20
+ "workflows": [
21
+ { "id": "WF-001", "name": "Wholesale reorder", "state": "as-is", "trigger": "buyer phones the depot", "steps": ["buyer phones in a list", "sales desk writes it down", "desk checks stock in the ERP", "desk re-keys the order"], "exceptions": ["item out of stock: desk calls back later"] }
22
+ ],
23
+ "requirements": [
24
+ { "id": "FR-001", "text": "The system must let an authenticated trade customer build and submit an order from a product catalogue.", "label": "confirmed", "source": "kickoff call 2026-09-02", "traces": { "goal": "G-001", "workflow": "WF-001", "rules": ["BR-001"] }, "scope": "in", "acceptance": ["SC-001"] },
25
+ { "id": "FR-002", "text": "The system must show each customer their own contract pricing, not list price.", "label": "confirmed", "source": "kickoff call 2026-09-02", "traces": { "goal": "G-001", "workflow": "WF-001", "rules": ["BR-001"] }, "scope": "in", "acceptance": ["SC-002"] },
26
+ { "id": "FR-003", "text": "The system must push submitted orders into the Sage 200 ERP without manual re-entry.", "label": "confirmed", "source": "email from Dan Whitlock 2026-09-04", "traces": { "goal": "G-002", "workflow": "WF-001", "rules": [] }, "scope": "in", "acceptance": [] },
27
+ { "id": "FR-004", "text": "The system must show live stock availability per depot on the catalogue.", "label": "assumed", "source": "inferred from the out-of-stock call-back exception in WF-001", "traces": { "goal": "G-001", "workflow": "WF-001", "rules": [] }, "scope": "in", "acceptance": [] },
28
+ { "id": "FR-005", "text": "The system should let a buyer repeat a previous order in one action.", "label": "recommended", "source": "analyst recommendation — 70% of phoned orders repeat the prior month", "traces": { "goal": "G-001", "workflow": "WF-001", "rules": [] }, "scope": "in", "acceptance": [] }
29
+ ],
30
+ "businessRules": [
31
+ { "id": "BR-001", "rule": "Contract pricing is per customer account and overrides list price for every line.", "source": "kickoff call 2026-09-02", "examples": ["account 4471 pays 0.82 of list on compost", "walk-in accounts pay list"], "openQuestion": null }
32
+ ],
33
+ "scenarios": [
34
+ { "id": "SC-001", "requirement": "FR-001", "type": "happy", "given": "a logged-in trade buyer", "when": "they submit a basket of 12 lines", "then": "an order is created and acknowledged on screen" },
35
+ { "id": "SC-002", "requirement": "FR-002", "type": "edge", "given": "an account with no contract price for a product", "when": "they view that product", "then": "list price is shown and flagged as list" }
36
+ ],
37
+ "nfrs": [
38
+ { "id": "NFR-001", "area": "availability", "text": "The portal must be usable during the 7am-9am ordering peak.", "label": "confirmed" },
39
+ { "id": "NFR-002", "area": "performance", "text": "Catalogue search should return within 2 seconds on 14,000 SKUs.", "label": "assumed" }
40
+ ],
41
+ "integrations": [
42
+ { "id": "INT-001", "system": "Sage 200 ERP", "direction": "bidirectional", "label": "confirmed" },
43
+ { "id": "INT-002", "system": "Stripe (card-on-account payments)", "direction": "write", "label": "assumed" }
44
+ ],
45
+ "data": [
46
+ { "id": "DAT-001", "entity": "Product", "sensitivity": "public", "volume": "14,000 SKUs", "label": "confirmed" },
47
+ { "id": "DAT-002", "entity": "Customer account", "sensitivity": "commercial", "volume": "about 900 trade accounts", "label": "confirmed" }
48
+ ],
49
+ "constraints": [
50
+ { "id": "CON-001", "text": "Trellis's own two in-house developers write and own the code; the vendor pairs with them.", "source": "kickoff call 2026-09-02" },
51
+ { "id": "CON-002", "text": "Must go live before the spring buying season (1 March 2027).", "source": "kickoff call 2026-09-02" }
52
+ ],
53
+ "assumptions": [
54
+ { "id": "ASM-001", "text": "Sage 200 exposes its REST API on the client's current licence tier.", "impact": "high", "status": "unconfirmed" },
55
+ { "id": "ASM-002", "text": "Contract pricing is imported from Sage rather than re-modelled in the portal.", "impact": "medium", "status": "unconfirmed" }
56
+ ],
57
+ "openQuestions": [
58
+ { "id": "Q-001", "question": "Does live stock come from Sage or from the depot WMS?", "priority": "P2", "reason": "changes the integration surface for FR-004", "affects": ["FR-004", "INT-001"], "status": "open", "answer": null, "architectureBlocker": false }
59
+ ],
60
+ "conflicts": [],
61
+ "scope": { "out": ["consumer (retail) storefront", "route planning for depot vans"], "future": ["mobile app"], "unconfirmed": ["card-on-account payments"] },
62
+ "ai": null,
63
+ "readiness": {
64
+ "overall": 86,
65
+ "areas": { "businessContext": 95, "workflows": 90, "rules": 85, "integrations": 75, "data": 90, "nfrs": 80 },
66
+ "blockers": []
67
+ }
68
+ }
@@ -0,0 +1,43 @@
1
+ # Trellis Garden Supply — Wholesale Ordering Portal · Requirements
2
+
3
+ Status: READY_FOR_ARCHITECTURE · Depth: STANDARD · Updated: 2026-09-08
4
+
5
+ ## 1. Business context
6
+
7
+ Trade buyers order by phone and fax. Two sales desk staff re-key every order
8
+ into Sage 200 and quote stock from memory. Trellis wants trade customers
9
+ placing their own orders (G-001) and the re-keying gone (G-002).
10
+
11
+ ## 2. Requirements
12
+
13
+ | Id | Requirement | Label |
14
+ | --- | --- | --- |
15
+ | FR-001 | Authenticated trade customer builds and submits an order from a catalogue | confirmed |
16
+ | FR-002 | Each customer sees their own contract pricing, not list price | confirmed |
17
+ | FR-003 | Submitted orders push into Sage 200 with no manual re-entry | confirmed |
18
+ | FR-004 | Live stock availability per depot shows on the catalogue | assumed |
19
+ | FR-005 | A buyer can repeat a previous order in one action | recommended |
20
+
21
+ ## 3. Rules, integrations, data
22
+
23
+ - BR-001 — contract pricing is per customer account and overrides list price.
24
+ - INT-001 — Sage 200 ERP, bidirectional (confirmed).
25
+ - INT-002 — Stripe card-on-account payments (assumed, not yet confirmed).
26
+ - 14,000 SKUs, about 900 trade accounts.
27
+
28
+ ## 4. Constraints and assumptions
29
+
30
+ - CON-001 — Trellis's two in-house developers write and own the code; the
31
+ vendor pairs with them.
32
+ - CON-002 — live before the spring buying season, 1 March 2027.
33
+ - ASM-001 — Sage 200 REST API is available on the client's licence tier.
34
+ - ASM-002 — contract pricing is imported from Sage, not re-modelled.
35
+
36
+ ## 5. Open questions
37
+
38
+ - Q-001 (P2) — does live stock come from Sage or the depot WMS?
39
+
40
+ ## Out of scope
41
+
42
+ - Consumer (retail) storefront
43
+ - Route planning for depot vans
@@ -0,0 +1,66 @@
1
+ {
2
+ "skill_name": "new-lead",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "name": "skips-to-proposal",
7
+ "prompt": "ok so Meridian Freight came back to us and they want a proposal by Friday. their RFP is already sitting in leads/meridian-freight-portal/. can you just run new-lead and hand me the finished proposal out the other end? I really don't have time to sit through the interview stuff today - make reasonable assumptions wherever you need to and fill the gaps in.",
8
+ "expected_output": "The fixture is staged as the working directory (an existing leads root). The skill refuses to jump to /proposal: it reports that /proposal hard-requires both ARCHITECTURE.md and estimation.json, neither of which exists for this lead, names the ordered chain, and stops and hands control back rather than running the chain unattended or inventing scope to fill the gaps. No document is written.",
9
+ "files": [
10
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json",
11
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md"
12
+ ],
13
+ "assertions": [
14
+ "no-artifacts-written: after the turn, leads/meridian-freight-portal/ still contains only rfp.md - no proposal.md, proposal-figures.json, estimation.json, ARCHITECTURE.md, requirements.json or dist/ was created",
15
+ "proposal-prerequisites-named: the response states that /proposal requires both ARCHITECTURE.md and estimation.json and that neither exists for this lead yet",
16
+ "chain-order-stated: the response names the ordered chain - /business-analyst (when installed) then /analyze-requirements, /estimate, /proposal - instead of offering to draft a proposal directly",
17
+ "chain-not-run-unattended: the transcript shows at most one sub-skill invoked; /analyze-requirements, /estimate and /proposal are not run back-to-back in the same turn",
18
+ "no-fabricated-lead-facts: no fact absent from rfp.md (auth approach, TMS API, go-live date, budget, data ownership) is stated as a decision or assumption of record, and leads.json is byte-identical to the fixture - no invented client, title, value or scenario written",
19
+ "hands-back-to-human: the turn ends by asking the human to confirm the next step, not by reporting the proposal as produced or partially produced"
20
+ ]
21
+ },
22
+ {
23
+ "id": 1,
24
+ "name": "fresh-lead-northwind",
25
+ "prompt": "new lead - Northwind Analytics. came in through Priya on the AWS partner team, she intro'd us to their CTO Marcus Feld (marcus.feld@northwindanalytics.com). rough scope: they want to kill their nightly SFTP CSV drop and give their grocery customers a real web app for the forecasts - Okta SSO, CSV + Parquet export, audit log on exports. their RFP is at ./rfp-northwind.md. first call was 2026-09-15 and they want something back by 2026-10-02. set the workspace up for me, nothing exists in this folder yet, this is the first lead we're tracking here.",
26
+ "expected_output": "No leads.json exists anywhere up-tree, so the skill confirms the root with the user and runs `node scripts/init-root.mjs --root <dir>`, producing the exact workspace layout from SKILL.md (leads.json, start.sh at the root, leads/, scripts/ with serve.mjs, the dashboard pages, lib/ and vendor/). It creates leads/northwind-analytics-<project>/ in kebab-case, moves/copies the RFP in, registers the lead through scripts/lead-upsert.mjs with a created date, then stops and names /business-analyst as the next step. It does not run the chain.",
27
+ "files": [
28
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md"
29
+ ],
30
+ "assertions": [
31
+ "exact-workspace-layout: `scripts/init-root.mjs` was run and all of <root>/leads.json, <root>/start.sh, <root>/leads/, <root>/scripts/serve.mjs, <root>/scripts/index.html, <root>/scripts/detail.html, <root>/scripts/stats.mjs, <root>/scripts/vendor/reactflow-bundle.js and <root>/scripts/lib/registry.mjs exist; no index.html or serve.mjs sits flat at the root",
32
+ "lead-dir-under-leads: the lead directory is <root>/leads/<id>/ (not <root>/<id>/), <id> matches ^[a-z0-9]+(-[a-z0-9]+)*$, and the Northwind RFP file is inside that directory",
33
+ "registry-entry-fields: <root>/leads.json parses, has version 1, and holds exactly one lead whose id equals the leads/ folder name verbatim, with client \"Northwind Analytics\", a non-empty title, status \"active\", created matching ^\\d{4}-\\d{2}-\\d{2}$, closed null, value null and scenario null",
34
+ "registry-written-via-upsert: the transcript shows `scripts/lead-upsert.mjs --root <root> --id <id> --patch '{...}'` with created in the patch; leads.json is never authored or edited with a file-write tool",
35
+ "validate-passes: `node scripts/validate.mjs --file <root>/leads.json` exits 0 with no findings printed",
36
+ "next-skill-handoff-and-stop: the response names /business-analyst as the next step (or names /analyze-requirements plus a one-line recommendation to install the business-analyst plugin) and stops there - no ARCHITECTURE.md, estimation.json or proposal.md is produced in this turn"
37
+ ]
38
+ },
39
+ {
40
+ "id": 2,
41
+ "name": "existing-root-pipeline",
42
+ "prompt": "new lead: Sable Dental. our contact there is Naomi Okafor (naomi@sabledental.co.uk) - came off the back of the Harborline referral, their ops manager used to work at Sable. intro call was yesterday 2026-09-15 and my notes are already in leads/sable-dental-booking/rfp.md. 11 practices, online booking sitting on top of Dentally, circa 150k and they want it phased, first two practices live before the March recall season. add it and then show me where everything else stands - I've got a pipeline review with Dan tomorrow morning.",
43
+ "expected_output": "The fixture is staged as the working directory: an existing leads root with leads.json (3 entries) and leads/ folders. The skill finds that root via findLeadsRoot rather than creating a new one (refreshing scripts/ via init-root.mjs is fine), adopts leads/sable-dental-booking through lead-upsert.mjs, and prints the lead state table - zephyr-hr-portal is an orphan (entry, no folder) reported and not deleted, harborline-logistics-tms is done, vellum-books-checkout is WIP resuming at /estimate. It names the dashboard start command and the next skill for Sable, and stops.",
44
+ "files": [
45
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json",
46
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md",
47
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json",
48
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md",
49
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json",
50
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md",
51
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html",
52
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md",
53
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md",
54
+ "plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md"
55
+ ],
56
+ "assertions": [
57
+ "existing-root-reused: the fixture's own leads.json is the file that gets updated - no second leads.json is created in a subdirectory or a new root, and its version stays 1",
58
+ "prior-entries-untouched: harborline-logistics-tms, vellum-books-checkout and zephyr-hr-portal keep their exact prior values for client, title, status, created, closed, value and scenario; the zephyr-hr-portal entry is still present",
59
+ "new-entry-matches-folder: leads.json gains exactly one entry with id \"sable-dental-booking\" (the leads/ folder name verbatim, not a re-derived slug), client \"Sable Dental\", a non-empty title, status \"active\", closed null and created matching ^\\d{4}-\\d{2}-\\d{2}$, written via `scripts/lead-upsert.mjs --root ... --id ... --patch`",
60
+ "validate-passes: `node scripts/validate.mjs --file <root>/leads.json` exits 0 after the write",
61
+ "state-table-correct: the printed state table marks zephyr-hr-portal orphan (report only, entry not deleted), harborline-logistics-tms done, vellum-books-checkout WIP resuming at /estimate (ARCHITECTURE.md present, estimation.json and proposal.md missing), and sable-dental-booking new",
62
+ "dashboard-and-next-step: the response names the dashboard start command at the root (`sh <root>/start.sh` or `./start.sh`, 127.0.0.1:4600) and names the next skill for sable-dental-booking (/business-analyst, else /analyze-requirements), without running the chain or writing any artifact into a lead folder"
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,19 @@
1
+ # Harborline TMS — Architecture
2
+
3
+ ## 1. Introduction & Goals
4
+
5
+ Replace the in-house TMS with a modular system that keeps the existing EDI
6
+ gateway in place.
7
+
8
+ ## 6. Core Components
9
+
10
+ | Component | Responsibility |
11
+ |---|---|
12
+ | `harbor.dispatch` | Load planning and carrier tendering |
13
+ | `harbor.settle` | Carrier settlement and invoicing |
14
+ | `harbor.track` | Customer-facing track-and-trace |
15
+
16
+ ## 7. Runtime Behaviour
17
+
18
+ `harbor.dispatch` tenders a load, `harbor.settle` prices it once delivered,
19
+ and `harbor.track` reads status events from both.
@@ -0,0 +1,5 @@
1
+ # Brief
2
+
3
+ Harborline Logistics is replacing a 14-year-old in-house TMS. Dispatch,
4
+ carrier settlement and customer track-and-trace all move to the new system;
5
+ the EDI gateway stays where it is.
@@ -0,0 +1,3 @@
1
+ <!doctype html>
2
+ <title>Harborline TMS — Architecture</title>
3
+ <p>Rendered architecture page (stub for eval fixtures).</p>
@@ -0,0 +1,10 @@
1
+ {
2
+ "scenarios": [
3
+ { "id": "3eng-balanced", "label": "3 engineers, balanced" },
4
+ { "id": "5eng-fast", "label": "5 engineers, fast" }
5
+ ],
6
+ "risks": [
7
+ { "name": "EDI gateway contract is undocumented" },
8
+ { "name": "Carrier settlement rules vary per contract" }
9
+ ]
10
+ }
@@ -0,0 +1,8 @@
1
+ ---
2
+ client: Harborline Logistics
3
+ currency: USD
4
+ ---
5
+
6
+ # Proposal — TMS Replacement
7
+
8
+ Delivered in three phases: dispatch, settlement, then track-and-trace.
@@ -0,0 +1,38 @@
1
+ {
2
+ "schemaVersion": "1.0",
3
+ "lead": "harborline-logistics-tms",
4
+ "status": "READY",
5
+ "depth": "STANDARD",
6
+ "updated": "2026-07-20",
7
+ "mode": "existing",
8
+ "context": {
9
+ "problem": "The in-house TMS cannot be changed safely; dispatch works around it in spreadsheets.",
10
+ "goals": [
11
+ { "id": "G-001", "goal": "Retire the legacy TMS", "metric": "zero dispatch spreadsheets by go-live", "source": "kickoff 2026-07-05" }
12
+ ],
13
+ "successMetrics": ["all loads dispatched from the new system within 6 months of go-live"]
14
+ },
15
+ "actors": [
16
+ { "id": "ACT-001", "name": "Dispatcher", "type": "human", "goal": "tender loads to carriers", "painPoints": ["re-keys everything into spreadsheets"] }
17
+ ],
18
+ "workflows": [
19
+ { "id": "WF-001", "name": "Load tendering", "state": "as-is", "trigger": "customer books a load", "steps": ["dispatcher enters load", "calls carriers", "records acceptance"], "exceptions": ["no carrier accepts: load is re-priced"] }
20
+ ],
21
+ "requirements": [
22
+ { "id": "FR-001", "text": "The system must tender a load to a ranked carrier list.", "label": "confirmed", "source": "kickoff 2026-07-05", "traces": { "goal": "G-001", "workflow": "WF-001", "rules": [] }, "scope": "in", "acceptance": [] }
23
+ ],
24
+ "businessRules": [],
25
+ "scenarios": [],
26
+ "nfrs": [],
27
+ "integrations": [
28
+ { "id": "INT-001", "system": "EDI gateway", "direction": "both", "label": "confirmed" }
29
+ ],
30
+ "data": [],
31
+ "constraints": [],
32
+ "assumptions": [],
33
+ "openQuestions": [],
34
+ "conflicts": [],
35
+ "scope": { "out": ["EDI gateway replacement"], "future": ["driver mobile app"], "unconfirmed": [] },
36
+ "ai": null,
37
+ "readiness": { "overall": 86, "areas": { "businessContext": 90, "workflows": 90, "rules": 80, "integrations": 85, "data": 80, "nfrs": 85 }, "blockers": [] }
38
+ }
@@ -0,0 +1,14 @@
1
+ # Sable Dental — online booking (notes from the intro call, 2026-09-15)
2
+
3
+ Sable Dental runs 11 practices in the Midlands. Patients book by phone;
4
+ each practice keeps its own paper-ish diary inside their PMS (Dentally).
5
+
6
+ What they asked for:
7
+
8
+ - Patients book, reschedule and cancel online, per practice.
9
+ - Slots must respect each dentist's real availability in Dentally.
10
+ - SMS reminders 48h and 2h before an appointment.
11
+ - One admin view across all 11 practices for the ops manager.
12
+
13
+ Budget was described as "circa 150k, and we would rather phase it".
14
+ They want the first two practices live before the March recall season.
@@ -0,0 +1,18 @@
1
+ # Vellum Books — Architecture
2
+
3
+ ## 1. Introduction & Goals
4
+
5
+ Rebuild checkout as a separate service so payment failures are observable
6
+ without touching the catalogue.
7
+
8
+ ## 6. Core Components
9
+
10
+ | Component | Responsibility |
11
+ |---|---|
12
+ | `vellum.checkout` | Cart, payment intent and order creation |
13
+ | `vellum.catalogue` | Existing catalogue service, unchanged |
14
+
15
+ ## 7. Runtime Behaviour
16
+
17
+ `vellum.checkout` reads prices from `vellum.catalogue` and emits payment
18
+ events to the existing analytics pipeline.
@@ -0,0 +1,7 @@
1
+ # Vellum Books — checkout rebuild
2
+
3
+ Vellum Books runs a Shopify-adjacent storefront with a custom checkout that
4
+ was written in 2018. Card declines are high and the team cannot tell why.
5
+
6
+ Scope discussed on the intro call: rebuild checkout, keep the catalogue and
7
+ CMS as they are, add a proper payment-failure funnel.
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": 1,
3
+ "leads": [
4
+ {
5
+ "id": "harborline-logistics-tms",
6
+ "client": "Harborline Logistics",
7
+ "title": "TMS Replacement",
8
+ "status": "active",
9
+ "created": "2026-07-02",
10
+ "closed": null,
11
+ "value": { "low": 180000, "high": 240000, "currency": "USD" },
12
+ "scenario": "3eng-balanced"
13
+ },
14
+ {
15
+ "id": "vellum-books-checkout",
16
+ "client": "Vellum Books",
17
+ "title": "Checkout Rebuild",
18
+ "status": "active",
19
+ "created": "2026-08-19",
20
+ "closed": null,
21
+ "value": null,
22
+ "scenario": null
23
+ },
24
+ {
25
+ "id": "zephyr-hr-portal",
26
+ "client": "Zephyr Group",
27
+ "title": "HR Self-Service Portal",
28
+ "status": "won",
29
+ "created": "2026-05-11",
30
+ "closed": "2026-06-30",
31
+ "value": { "low": 90000, "high": 120000, "currency": "USD" },
32
+ "scenario": "2eng-max5x"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,28 @@
1
+ # Northwind Analytics — request for proposal
2
+
3
+ ## Background
4
+
5
+ Northwind Analytics sells a retail demand-forecasting product to grocery
6
+ chains. Their forecasting engine is a Python monolith on a single EC2 box;
7
+ customers pull results out of a nightly CSV drop on SFTP.
8
+
9
+ ## What they want built
10
+
11
+ A customer-facing web app that replaces the CSV drop:
12
+
13
+ 1. Per-store forecast dashboard, refreshed nightly.
14
+ 2. CSV and Parquet export, per store or per region.
15
+ 3. Role-based access — a chain's regional manager sees only their region.
16
+ 4. An audit log of who exported what (a grocery customer asked for this).
17
+
18
+ ## Constraints given
19
+
20
+ - Must stay on AWS; their security team has already reviewed the account.
21
+ - Customers authenticate with their own Okta tenants (SSO is mandatory).
22
+ - Peak load is nightly batch, not interactive — about 40 concurrent users.
23
+ - They want a first customer live before the 2027 holiday planning cycle.
24
+
25
+ ## Open
26
+
27
+ - Whether the forecasting engine itself is in scope or stays as-is.
28
+ - Whether Parquet export is v1 or can wait.
@@ -0,0 +1,14 @@
1
+ # Meridian Freight — RFP (carrier portal)
2
+
3
+ Meridian Freight books about 900 loads a week. Carriers currently confirm
4
+ pickups by phone and email; dispatch re-keys everything into the TMS.
5
+
6
+ They want a carrier-facing portal where a carrier can:
7
+
8
+ - see tendered loads and accept or decline them
9
+ - upload proof-of-delivery photos
10
+ - see settlement status for past loads
11
+
12
+ Not stated in the RFP: authentication approach, whether the existing TMS
13
+ exposes an API, expected go-live date, budget range, or who owns the
14
+ carrier master data.
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": 1,
3
+ "leads": [
4
+ {
5
+ "id": "meridian-freight-portal",
6
+ "client": "Meridian Freight",
7
+ "title": "Carrier Portal",
8
+ "status": "active",
9
+ "created": "2026-09-14",
10
+ "closed": null,
11
+ "value": null,
12
+ "scenario": null
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "skill_name": "proposal",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "name": "gate-check-no-estimate",
7
+ "prompt": "Marco from Rivet Gym is coming in tomorrow at 11 and he's already sat through two quotes he called \"a number on a page with nothing behind it\". Everything I've got is in plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ — the architecture doc from our call and my notes in brief.md. Just write me something I can send them today. Proper proposal, price on it, I'll read it tonight and sign it off in the morning. Don't overthink it — three sites, class booking, a door-check screen, we've built this shape twice already.",
8
+ "expected_output": "The skill stops at the prerequisite gate. It reports that ARCHITECTURE.md is present but estimation.json is missing from the lead workspace, and tells the user to run the `estimate` skill before a proposal can be assembled. No proposal.md, no proposal-figures.json and no proposal.html are written, and no price, duration, scenario or milestone split is stated anywhere in the reply — those numbers only exist downstream of estimation.json.",
9
+ "files": [
10
+ "plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md",
11
+ "plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md"
12
+ ],
13
+ "assertions": [
14
+ "stops-before-writing: after the turn, no proposal.md, proposal-figures.json, proposal.html or dist/ directory exists anywhere in or under the fixture lead directory - the skill stopped at the gate instead of producing a document",
15
+ "names-the-missing-upstream-input: the reply names estimation.json (or the `estimate` skill) specifically as the missing prerequisite, and does NOT claim analyze-requirements/ARCHITECTURE.md is missing - ARCHITECTURE.md is present in the fixture",
16
+ "no-invented-money: the reply contains zero currency amounts - no token matching [$€£] followed by digits, and no bare figure presented as a price, budget, day rate or total",
17
+ "no-invented-timeline: the reply states no delivery duration or date commitment (no 'N weeks', 'N months', milestone dates or a valid-until date) - the timeline is derived from estimation.json, which does not exist here",
18
+ "no-client-facing-document-emitted: the reply does not contain a proposal body in chat either - none of the section headings Executive Summary / Investment & Timeline / Next Steps appear, and nothing in the reply is framed as sendable to Marco as-is",
19
+ "no-invented-scenario: no staffing scenario, team composition, milestone list or per-milestone split is asserted - all four come from estimation.json"
20
+ ]
21
+ },
22
+ {
23
+ "id": 1,
24
+ "name": "pre-fed-non-tech-harborline",
25
+ "prompt": "Right, Harborline. Dale signs Friday and I'm on a plane Thursday so I want this done now. Everything's in plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ — ARCHITECTURE.md, estimation.json, estimation.md and Dale's brief.\n\nAnswering everything up front so you don't have to ask:\n\n- Client is Harborline Logistics. Dale Okonkwo, operations manager, decides; the owner countersigns.\n- He is completely non-technical. He asked me twice what an API was. Plain English, zero jargon, write it like you'd write it for my mum.\n- His problem in his own words: \"a screen that shows me where every van is supposed to be\" and \"customers stop ringing us\".\n- What he cares about most is reliability — the whiteboard got wiped once and he lost a whole day of routes.\n- Offer the 2eng-agentic scenario. That's the one I want on the table.\n- Valid 30 days from today.\n- Firm profile: Code Engine Studio, hello@codeenginestudio.com, https://codeenginestudio.com. Blurb: \"We build custom software for small operations teams and hand it over working.\" Relevant work: \"Clinic scheduler — replaced a paper diary for a six-site practice, live in seven weeks\" and \"Depot stock app — barcode stock counts for a regional wholesaler\". Save it project-level please, don't write anything into my home directory.\n- Nothing extra out of scope beyond what estimation.md already excludes.\n- The diagram bundle from the architecture viewer is already sitting in that folder at dist/mermaid.js, reuse it.\n\nWrite proposal.md, validate it, then render proposal.html into dist/. Don't start the local server — I just want the files on disk.",
26
+ "expected_output": "proposal.md beside the fixture's ARCHITECTURE.md carrying the ten named sections and the flat frontmatter contract (client: Harborline Logistics, client_tech_level: non-tech, scenario: 2eng-agentic, currency: USD, valid_until 30 days out, source_architecture, source_estimation), plus dist/proposal.html rendered from it. Exactly one scenario is offered and it is expressed as a range: $17,400 – $42,300 over 1.2–2.8 months, with the milestone table reading M1 - Dispatch core $14,200 – $34,500 over 1–2.3 months and M2 - Customer tracking $3,200 – $7,800 over 0.2–0.5 months. `node scripts/validate.mjs --md <fixture>/proposal.md --estimation <fixture>/estimation.json` exits 0. No server started, and .claude/proposal-profile.json is written project-level only.",
27
+ "files": [
28
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md",
29
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md",
30
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json",
31
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json",
32
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md",
33
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js"
34
+ ],
35
+ "assertions": [
36
+ "both-artifacts-exist: proposal.md exists beside the fixture's ARCHITECTURE.md AND dist/proposal.html exists, and proposal.html's headline figures match proposal.md's (the .md is the source, the .html is rendered from it)",
37
+ "validator-exits-zero: `node scripts/validate.mjs --md <fixture>/proposal.md --estimation <fixture>/estimation.json` run from the skill directory exits 0 and prints 'proposal deliverable valid'",
38
+ "every-number-traces-upstream: every money amount and every month figure in proposal.md is one of the values derive.mjs produces from the fixture estimation.json for scenario 2eng-agentic - {17400, 42300, 14200, 34500, 3200, 7800} and {1.2, 2.8, 1, 2.3, 0.2, 0.5} - with no other figure and no drift (not 17,500, not '~$40k', not 3 months)",
39
+ "exactly-one-scenario-as-a-range: the document offers one option only, stated as a price range ($17,400 – $42,300) - there is no second tier, no good/better/best table, no 'option A vs option B', and the string '3eng-classic' and its $35,497 total appear nowhere in proposal.md or proposal.html",
40
+ "html-is-self-contained: proposal.html contains no `<script src=`, no `<link ... href=` stylesheet and no `url(` referencing an http(s):// address or a relative path - the fonts are inline `data:font/woff2;base64` URIs and the diagram bundle is inlined - so the file still renders when emailed as a single attachment",
41
+ "non-tech-language-and-no-leaks: outside the About section, proposal.md uses none of the deny-list jargon terms (api, backend, frontend, middleware, kubernetes, docker, microservice, ci/cd, oauth, sql, nosql, webhook, endpoint, orm, latency, schema, refactor, devops), and carries no hourly rate, no provenance cell (observed/stated/researched/proposed), no `src` column and no internal risk-register entry"
42
+ ]
43
+ },
44
+ {
45
+ "id": 2,
46
+ "name": "pre-fed-budget-and-patient-data-meridian",
47
+ "prompt": "Meridian Dental — the partners meet in a fortnight and Dr Vogt told me flat out that if it comes in over their ceiling I should cut scope, not come back with a bigger number. Lead folder is plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ (architecture doc, estimation.json, estimation.md, her brief).\n\nPre-answering the interview:\n\n- Client: Meridian Dental Group. Dr Alina Vogt, managing partner — she and two other partners sign together, there's no IT person.\n- Tech level is low-tech. She's fine with website, app, database, login. Don't go past that.\n- Her words: \"patients should be able to look up their own history without ringing us\" and \"the six-month recall has to send itself\".\n- What she cares about most is price. Lead with that, and make it obvious what we've already cut out to hit it.\n- She also said, and this is the bit that will kill the deal if we fluff it: \"it is patient health data, I need to be able to show who looked at what\". Whatever we say about that has to be backed by what's actually in the architecture doc — do not promise her a certification.\n- Offer lean-2eng. Not the bigger team.\n- Valid two weeks from today.\n- Firm profile: Code Engine Studio, hello@codeenginestudio.com, https://codeenginestudio.com. Blurb: \"We build custom software for small practices and hand it over working.\" Relevant work: \"Clinic scheduler — replaced a paper diary for a six-site practice, live in seven weeks\" and \"Patient recall tool — automated six-month recalls for a two-site dental group\". Project-level, not my home dir.\n- Mermaid bundle is already at dist/mermaid.js in that folder.\n\nproposal.md first, validate, then render proposal.html into dist/. No local server.",
48
+ "expected_output": "proposal.md beside the fixture's ARCHITECTURE.md with client_tech_level: low-tech, scenario: lean-2eng and valid_until two weeks out, plus dist/proposal.html. One scenario offered as a range: $9,700 – $25,500 over 0.7–1.7 months, milestones M1 - Secure portal $8,000 – $20,900 over 0.5–1.4 months and M2 - Recall reminders $1,700 – $4,500 over 0.1–0.3 months. The Executive Summary leads on price; Out of Scope & Assumptions names the exclusions estimation.md already records (insurance claims, online booking, write-back to the practice management system, card payments). The audit/records-access commitment is stated only as far as ARCHITECTURE.md §12 and the inputs support it (per-patient access, audit entry per view, seven-year retention) with no compliance certification claimed. `node scripts/validate.mjs` exits 0.",
49
+ "files": [
50
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md",
51
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md",
52
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json",
53
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json",
54
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md",
55
+ "plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js"
56
+ ],
57
+ "assertions": [
58
+ "validator-exits-zero-and-both-artifacts-exist: proposal.md exists beside the fixture's ARCHITECTURE.md, dist/proposal.html exists, and `node scripts/validate.mjs --md <fixture>/proposal.md --estimation <fixture>/estimation.json` exits 0",
59
+ "every-number-traces-upstream: every money amount and month figure in proposal.md is one of derive.mjs's outputs for scenario lean-2eng from the fixture estimation.json - {9700, 25500, 8000, 20900, 1700, 4500} and {0.7, 1.7, 0.5, 1.4, 0.1, 0.3} - and in particular the internal totals $15,928 (lean-2eng) and $25,355 (full-4eng) from estimation.md appear nowhere",
60
+ "exactly-one-scenario-as-a-range: one option only, expressed as $9,700 – $25,500 - no second tier, no cheaper/fuller comparison, and the string 'full-4eng' appears in neither proposal.md nor proposal.html even though the budget conversation invites offering a contrast",
61
+ "exclusions-come-from-upstream: Out of Scope & Assumptions names the four exclusions estimation.md already records (insurance claims, online booking, write-back to the practice management system, card payments in the portal) rather than a freshly invented exclusion list",
62
+ "data-handling-claim-is-backed-not-certified: any statement about patient-data handling is traceable to ARCHITECTURE.md §12 or the inputs' assumptions (per-patient access, an audit entry per record view, seven-year retention) - the document does NOT claim HIPAA/GDPR/ISO compliance, certification, encryption standards or a security audit that no upstream artifact supports",
63
+ "html-is-self-contained: proposal.html contains no `<script src=`, no `<link ... href=` stylesheet and no `url(` referencing an http(s):// address or relative path - every font is an inline `data:font/woff2;base64` URI and the diagram bundle is inlined into the page"
64
+ ]
65
+ }
66
+ ]
67
+ }