@v11g/agents-rock 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/plugins/reasoning/.claude-plugin/plugin.json +1 -1
  4. package/plugins/reasoning/evals/format-handoff-folder/graders/folder-named.md +8 -0
  5. package/plugins/reasoning/evals/format-handoff-folder/graders/skill-fired.md +7 -0
  6. package/plugins/reasoning/evals/format-handoff-folder/prompt.md +9 -0
  7. package/plugins/reasoning/evals/format-ids-and-supports/graders/ids-in-chat.md +8 -0
  8. package/plugins/reasoning/evals/format-ids-and-supports/graders/skill-fired.md +7 -0
  9. package/plugins/reasoning/evals/format-ids-and-supports/graders/supports-resolve.md +11 -0
  10. package/plugins/reasoning/evals/format-ids-and-supports/prompt.md +8 -0
  11. package/plugins/reasoning/evals/format-root-candidate-status/graders/candidate-status.md +11 -0
  12. package/plugins/reasoning/evals/format-root-candidate-status/graders/skill-fired.md +7 -0
  13. package/plugins/reasoning/evals/format-root-candidate-status/prompt.md +8 -0
  14. package/plugins/reasoning/evals/format-unsaved-continues/graders/analysis-completes.md +9 -0
  15. package/plugins/reasoning/evals/format-unsaved-continues/graders/not-saved-stated.md +9 -0
  16. package/plugins/reasoning/evals/format-unsaved-continues/graders/skill-fired.md +7 -0
  17. package/plugins/reasoning/evals/format-unsaved-continues/prompt.md +8 -0
  18. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +5 -6
  19. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +4 -6
  20. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +1 -1
  21. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +4 -5
  22. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
  23. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +2 -2
  24. package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
  25. package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
  26. package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
  27. package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
  28. package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
  29. package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
  30. package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
  31. package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
  32. package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
  33. package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
  34. package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
  35. package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
  36. package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
  37. package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
  38. package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
  39. package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
  40. package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
  41. package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
  42. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
  43. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
  44. package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
  45. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
  46. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
  47. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
  48. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
  49. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
  50. package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
  51. package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
  52. package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
  53. package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
  54. package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
  55. package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
  56. package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
  57. package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
  58. package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
  59. package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
  60. package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
  61. package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
  62. package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
  63. package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
  64. package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
  65. package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
  66. package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
  67. package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
  68. package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
  69. package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
  70. package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
  71. package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
  72. package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
  73. package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
  74. package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
  75. package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
  76. package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
  77. package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
  78. package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
  79. package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
  80. package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
  81. package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
  82. package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
  83. package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
  84. package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
  85. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +2 -2
  86. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +7 -4
  87. package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
  88. package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
  89. package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
  90. package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
  91. package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
  92. package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
  93. package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
  94. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -6
  95. package/plugins/reasoning/skills/problem-router/README.md +6 -0
  96. package/plugins/reasoning/skills/problem-router/SKILL.md +11 -11
  97. package/plugins/reasoning/skills/problem-router/references/contract.md +117 -16
  98. package/plugins/reasoning/skills/problem-solving/README.md +10 -0
  99. package/plugins/reasoning/skills/problem-solving/SKILL.md +15 -3
  100. package/plugins/reasoning/skills/problem-solving/references/contract.md +117 -16
  101. package/plugins/reasoning/skills/problem-solving/references/interview.md +68 -0
  102. package/plugins/reasoning/skills/systemic-design/README.md +45 -0
  103. package/plugins/reasoning/skills/systemic-design/SKILL.md +184 -0
  104. package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
  105. package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
  106. package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
  107. package/plugins/reasoning/skills/systemic-design/references/contract.md +205 -0
  108. package/plugins/reasoning/skills/systemic-design/references/interview.md +68 -0
  109. package/plugins/reasoning/skills/systems-thinking/README.md +13 -6
  110. package/plugins/reasoning/skills/systems-thinking/SKILL.md +18 -6
  111. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +5 -2
  112. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +16 -7
  113. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +4 -5
  114. package/plugins/reasoning/skills/systems-thinking/references/contract.md +117 -16
  115. package/plugins/reasoning/skills/systems-thinking/references/interview.md +68 -0
  116. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  117. package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
  118. package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
  119. package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
  120. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +4 -1
  121. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
  122. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
  123. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +16 -1
  124. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
  125. package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
  126. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
  127. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
  128. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
  129. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +9 -0
  130. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
  131. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
  132. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
  133. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
  134. package/plugins/solution-architect/skills/estimate/README.md +20 -15
  135. package/plugins/solution-architect/skills/estimate/SKILL.md +10 -6
  136. package/plugins/solution-architect/skills/estimate/assets/estimate-template-agentic.html +111 -138
  137. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +361 -247
  138. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +5 -4
  139. package/plugins/solution-architect/skills/estimate/evals/evals.json +7 -7
  140. package/plugins/solution-architect/skills/estimate/references/agentic-estimation.md +4 -2
  141. package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +38 -82
  142. package/plugins/solution-architect/skills/estimate/references/interview.md +56 -35
  143. package/plugins/solution-architect/skills/estimate/references/scoring-guide.md +40 -4
  144. package/plugins/solution-architect/skills/estimate/references/techniques.md +29 -21
  145. package/plugins/solution-architect/skills/estimate/references/writing.md +75 -43
  146. package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +37 -5
  147. package/plugins/solution-architect/skills/estimate/scripts/lib/context-schema.mjs +35 -0
  148. package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +17 -75
  149. package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +5 -5
  150. package/plugins/solution-architect/skills/estimate/scripts/lib/pricing.mjs +78 -0
  151. package/plugins/solution-architect/skills/estimate/scripts/lib/project-price.mjs +96 -0
  152. package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +67 -19
  153. package/plugins/solution-architect/skills/estimate/scripts/lib/roadmap.mjs +4 -5
  154. package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +48 -73
  155. package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +28 -13
  156. package/plugins/solution-architect/skills/estimate/scripts/lib/score-csv.mjs +2 -2
  157. package/plugins/solution-architect/skills/estimate/scripts/lib/score-html.mjs +1 -1
  158. package/plugins/solution-architect/skills/estimate/scripts/lib/scoring.mjs +2 -2
  159. package/plugins/solution-architect/skills/estimate/scripts/render.mjs +1 -1
  160. package/plugins/solution-architect/skills/estimate/scripts/score-review.mjs +1 -1
  161. package/plugins/solution-architect/skills/estimate/scripts/test/browser-agentic.test.mjs +143 -0
  162. package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +209 -50
  163. package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +57 -32
  164. package/plugins/solution-architect/skills/estimate/scripts/test/e2e.test.mjs +52 -0
  165. package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +25 -112
  166. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-fail.md +0 -10
  167. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-pass.md +0 -10
  168. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-inputs.json +1 -7
  169. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +11 -10
  170. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +6 -0
  171. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +17 -21
  172. package/plugins/solution-architect/skills/estimate/scripts/test/pricing.test.mjs +88 -0
  173. package/plugins/solution-architect/skills/estimate/scripts/test/project-price.test.mjs +93 -0
  174. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +86 -24
  175. package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +185 -31
  176. package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +114 -61
  177. package/plugins/solution-architect/skills/estimate/scripts/test/score-review.test.mjs +34 -1
  178. package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +103 -9
  179. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +292 -71
  180. package/plugins/solution-architect/skills/new-lead/SKILL.md +4 -3
  181. package/plugins/solution-architect/skills/proposal/README.md +9 -7
  182. package/plugins/solution-architect/skills/proposal/SKILL.md +10 -7
  183. package/plugins/solution-architect/skills/proposal/evals/evals.json +29 -11
  184. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +65 -0
  185. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +21 -0
  186. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +126 -0
  187. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +215 -0
  188. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +224 -34
  189. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +103 -114
  190. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +48 -22
  191. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +211 -33
  192. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +102 -117
  193. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +48 -25
  194. package/plugins/solution-architect/skills/proposal/references/interview.md +3 -6
  195. package/plugins/solution-architect/skills/proposal/references/review.md +5 -4
  196. package/plugins/solution-architect/skills/proposal/references/writing.md +33 -31
  197. package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +1 -1
  198. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +5 -22
  199. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +18 -8
  200. package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +6 -2
  201. package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +24 -33
  202. package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +1 -1
  203. package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +50 -47
  204. package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +99 -40
  205. package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +11 -5
  206. package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +1 -1
  207. package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +39 -0
  208. package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +67 -54
  209. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +6 -1
  210. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +8 -12
  211. package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +1 -1
  212. package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +3 -2
  213. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +0 -9
  214. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +0 -15
  215. package/plugins/solution-architect/skills/estimate/scripts/lib/scenario-schema.mjs +0 -39
@@ -10,12 +10,13 @@ way the client will.
10
10
  1. **Comprehension** — would a reader at the stated tech level understand
11
11
  every sentence? Flag anything too technical; this catches jargon beyond
12
12
  the deny-list.
13
- 2. **Executive summary** — does page one answer what we build, what it
14
- costs, and how long it takes?
13
+ 2. **Executive summary** — does page one answer what we build and what it
14
+ costs?
15
15
  3. **Honesty** — persuasive is fine, hype is not. Flag any claim the
16
16
  document itself cannot back.
17
- 4. **Leaks** — anything internal: other scenarios, rates, provenance
18
- words, confidence internals.
17
+ 4. **Leaks** — anything internal: staffing detail, rates, provenance
18
+ words, confidence internals, a delivery duration or date (the estimate
19
+ produces no timeline).
19
20
  5. **Contradictions** — scope vs out-of-scope, price table vs summary,
20
21
  milestones vs delivery prose.
21
22
 
@@ -1,4 +1,4 @@
1
- # Writing — frontmatter contract, ten sections, language rules
1
+ # Writing — frontmatter contract, nine sections, language rules
2
2
 
3
3
  Read while writing proposal.md. The validator enforces everything below;
4
4
  a document that satisfies this file passes `validate.mjs` by construction.
@@ -9,7 +9,6 @@ a document that satisfies this file passes `validate.mjs` by construction.
9
9
  ---
10
10
  client: Acme Corp
11
11
  client_tech_level: non-tech # non-tech | low-tech | technical
12
- scenario: 2eng-max5x # must exist in estimation.json
13
12
  currency: USD
14
13
  valid_until: 2026-09-06 # ISO date, must be in the future
15
14
  jargon_allow: [] # optional, JSON array
@@ -22,21 +21,25 @@ source_estimation: ../estimation.json
22
21
 
23
22
  **Never write a number that `scripts/derive.mjs` did not output.** Run it
24
23
  first, keep proposal-figures.json open, and use only those values: the cost
25
- range, the duration range, and the per-milestone splits. Money is written
26
- `$8,000` (en-US grouping); durations are written `1.6–2.4 months`. The
27
- validator extracts every money amount and duration (ranges and single
28
- mentions) in the document and refuses any value the derivation didn't
29
- produce — and it recomputes the
30
- figures from estimation.json itself, so editing proposal-figures.json by
31
- hand changes nothing.
24
+ range, the single-number figure, and the per-milestone splits. Money is
25
+ written `$8,000` (en-US grouping). The validator extracts every money amount
26
+ in the document and refuses any value the derivation didn't produce — and it
27
+ recomputes the figures from estimation.json itself, so editing
28
+ proposal-figures.json by hand changes nothing.
32
29
 
33
- Rates never appear. Team members are described by role/seniority only.
30
+ The proposal carries no timeline: the estimate scores and prices features,
31
+ it does not schedule them, so there is no duration figure to quote — never
32
+ write a number of months or weeks, and the Investment & Timeline table never
33
+ carries a Duration column.
34
34
 
35
- ## 3. The ten sections, in order (all `##`, exact names)
35
+ Rates never appear — no staffing detail of any kind does; the estimate
36
+ prices a package, not rates or a team roster.
36
37
 
37
- 1. **Executive Summary** — problem, solution, headline cost range, headline
38
- duration range. One page. The headline ranges are mandatory: the
39
- validator requires cost low/high and months low/high to appear.
38
+ ## 3. The nine sections, in order (all `##`, exact names)
39
+
40
+ 1. **Executive Summary** — problem, solution, headline cost range. One page.
41
+ The headline range is mandatory: the validator requires cost low/high to
42
+ appear.
40
43
  2. **Background & Objectives** — the client's problem in their words, then
41
44
  measurable goals.
42
45
  3. **Proposed Solution** — what we build, in the client's language, plus
@@ -48,18 +51,16 @@ Rates never appear. Team members are described by role/seniority only.
48
51
  do not break section slicing; each table still validates on its own.
49
52
  5. **Out of Scope & Assumptions** — explicit exclusions (from estimation.md
50
53
  plus the interview) and the assumptions the estimate rests on.
51
- 6. **Delivery Approach** — milestones with their duration ranges, ways of
52
- working, QA, communication cadence, and the client-relevant risks with
53
- mitigations. The full risk register stays internal.
54
- 7. **Investment & Timeline** — the milestone table: Duration and Investment
55
- columns from the figures, then the bold total line and the sentence
56
- explaining the range reflects estimation confidence.
57
- 8. **Team** — roles from the chosen scenario's team (seniority, count),
58
- never rates.
59
- 9. **About <firm>** — blurb, relevant work, contact, from the profile. The
54
+ 6. **Delivery Approach** — milestones, ways of working, QA, communication
55
+ cadence, and the client-relevant risks with mitigations. The full risk
56
+ register stays internal.
57
+ 7. **Investment & Timeline** — the milestone table: an Investment column
58
+ from the figures, then the bold total line and the sentence explaining
59
+ the range reflects estimation confidence.
60
+ 8. **About <firm>** — blurb, relevant work, contact, from the profile. The
60
61
  jargon scan skips this section.
61
- 10. **Next Steps** — the valid_until date in prose, the acceptance path,
62
- and a call to action.
62
+ 9. **Next Steps** — the valid_until date in prose, the acceptance path,
63
+ and a call to action.
63
64
 
64
65
  ## 4. Tech-level language
65
66
 
@@ -74,11 +75,12 @@ Rates never appear. Team members are described by role/seniority only.
74
75
 
75
76
  ## 5. What must never appear
76
77
 
77
- Other scenarios (ids, names, or comparisons), provenance vocabulary
78
- (`observed`/`stated`/`researched`/`proposed` as table cells or a `src`
79
- column), `data-internal`, placeholder text of any spelling, empty tables,
80
- and any number the derivation didn't produce — all of these fail
81
- `validate.mjs`. Rates, internal risk ids, and confidence internals must
78
+ A `scenario` frontmatter key (removed — the estimate produces one price, not
79
+ a menu of staffing scenarios), a `## Team` section, a Duration column,
80
+ provenance vocabulary (`observed`/`stated`/`researched`/`proposed` as table
81
+ cells or a `src` column), `data-internal`, placeholder text of any spelling,
82
+ empty tables, and any number the derivation didn't produce — all of these
83
+ fail `validate.mjs`. Rates, internal risk ids, and confidence internals must
82
84
  never appear either, but no script can recognize them reliably: the
83
85
  fresh-eyes review (`references/review.md` charter item 4) and your own
84
86
  read before rendering are the gate for those. Unknowns are honest
@@ -91,7 +93,7 @@ proposal.md, proposal-figures.json beside ARCHITECTURE.md/estimation.md.
91
93
  Run from `plugins/solution-architect/skills/proposal/`:
92
94
 
93
95
  ```
94
- node scripts/derive.mjs --estimation <dir>/estimation.json --scenario <id> --out <dir>/proposal-figures.json
96
+ node scripts/derive.mjs --estimation <dir>/estimation.json --out <dir>/proposal-figures.json
95
97
  node scripts/validate.mjs --md <dir>/proposal.md --estimation <dir>/estimation.json
96
98
  node scripts/render.mjs --md <dir>/proposal.md --estimation <dir>/estimation.json --mermaid-bundle <path> --out <out-dir>
97
99
  node ../analyze-requirements/scripts/serve.mjs <out-dir>
@@ -13,7 +13,7 @@ const args = parseArgs(process.argv.slice(2));
13
13
  const estimation = JSON.parse(readFileSync(args.estimation, 'utf8'));
14
14
  let figures;
15
15
  try {
16
- figures = deriveFigures(estimation, args.scenario);
16
+ figures = deriveFigures(estimation);
17
17
  } catch (e) {
18
18
  console.error(e.message);
19
19
  process.exit(1);
@@ -6,8 +6,8 @@ import { sectionText, escapeRegExp } from './sections.mjs';
6
6
  import { JARGON } from './jargon.mjs';
7
7
 
8
8
  const flat = (f) => [
9
- f.cost.low, f.cost.high, f.months.low, f.months.high,
10
- ...f.milestones.flatMap((m) => [m.cost.low, m.cost.high, m.months.low, m.months.high]),
9
+ f.cost.low, f.cost.high, f.singleNumber,
10
+ ...f.milestones.flatMap((m) => [m.cost.low, m.cost.high]),
11
11
  ];
12
12
 
13
13
  function checkMoney(md, figures, out) {
@@ -16,15 +16,6 @@ function checkMoney(md, figures, out) {
16
16
  const n = Number(m[1].replaceAll(',', ''));
17
17
  if (!allowed.has(n)) out.push(`money amount ${m[0].trim()} not derived from estimation.json`);
18
18
  }
19
- for (const m of md.matchAll(/(\d+(?:\.\d+)?)\s*[–-]\s*(\d+(?:\.\d+)?)\s+months/g)) {
20
- for (const bound of [Number(m[1]), Number(m[2])]) {
21
- if (!allowed.has(bound)) out.push(`duration bound ${bound} months not derived from estimation.json`);
22
- }
23
- }
24
- for (const m of md.matchAll(/(\d+(?:\.\d+)?)\s+months\b/g)) {
25
- const n = Number(m[1]);
26
- if (!allowed.has(n)) out.push(`duration bound ${n} months not derived from estimation.json`);
27
- }
28
19
  }
29
20
 
30
21
  function checkHeadline(md, figures, out) {
@@ -34,17 +25,9 @@ function checkHeadline(md, figures, out) {
34
25
  out.push(`headline cost bound ${n.toLocaleString('en-US')} missing from Executive Summary`);
35
26
  }
36
27
  }
37
- for (const n of [figures.months.low, figures.months.high]) {
38
- if (!new RegExp(`\\b${escapeRegExp(String(n))}\\b`).test(summary)) {
39
- out.push(`headline duration bound ${n} missing from Executive Summary`);
40
- }
41
- }
42
28
  }
43
29
 
44
- function checkLeaks({ md, fm, estimation }, out) {
45
- for (const s of estimation.inputs.scenarios ?? []) {
46
- if (s.id !== fm.scenario && md.includes(s.id)) out.push(`leak: scenario id "${s.id}"`);
47
- }
30
+ function checkLeaks({ md }, out) {
48
31
  if (/\|\s*src\s*\|/i.test(md)) out.push('leak: provenance "src" column');
49
32
  if (/data-internal/.test(md)) out.push('leak: data-internal marker');
50
33
  for (const word of ['observed', 'stated', 'researched', 'proposed']) {
@@ -66,10 +49,10 @@ function checkJargon({ md, fm }, out) {
66
49
  }
67
50
 
68
51
  export function checkClient({ md, fm, estimation }, out = []) {
69
- const figures = deriveFigures(estimation, fm.scenario);
52
+ const figures = deriveFigures(estimation);
70
53
  checkMoney(md, figures, out);
71
54
  checkHeadline(md, figures, out);
72
- checkLeaks({ md, fm, estimation }, out);
55
+ checkLeaks({ md }, out);
73
56
  checkJargon({ md, fm }, out);
74
57
  return out;
75
58
  }
@@ -1,25 +1,34 @@
1
- // Structural half of the proposal gate: frontmatter contract, the ten
1
+ // Structural half of the proposal gate: frontmatter contract, the nine
2
2
  // sections, placeholder scan, future validity. Client-safety checks live
3
3
  // in checks-client.mjs.
4
4
  import { SECTIONS, sectionText, tables } from './sections.mjs';
5
5
 
6
- const FM_KEYS = ['client', 'client_tech_level', 'scenario', 'currency',
6
+ const FM_KEYS = ['client', 'client_tech_level', 'currency',
7
7
  'valid_until', 'source_architecture', 'source_estimation'];
8
8
  const TECH_LEVELS = ['non-tech', 'low-tech', 'technical'];
9
+ const DURATION_HEADER = /\|\s*Duration\s*\|/i;
9
10
 
10
- function checkFrontmatter({ fm, estimation, today }, out) {
11
+ function checkFrontmatter({ fm, today }, out) {
11
12
  for (const key of FM_KEYS) {
12
13
  if (!fm[key]) out.push(`frontmatter: missing "${key}"`);
13
14
  }
14
15
  if (fm.client_tech_level && !TECH_LEVELS.includes(fm.client_tech_level)) {
15
16
  out.push(`frontmatter: client_tech_level must be ${TECH_LEVELS.join('|')}`);
16
17
  }
17
- if (fm.scenario && !estimation.computed.scenarios[fm.scenario]) {
18
- out.push(`frontmatter: scenario "${fm.scenario}" not in estimation.json`);
19
- }
20
18
  checkValidUntil(fm.valid_until, today, out);
21
19
  }
22
20
 
21
+ // Both of these priced a team. The estimate prices a package now, so a
22
+ // document still carrying either is showing a number nothing computed.
23
+ function checkRemoved({ fm, md }, out) {
24
+ if ('scenario' in fm) out.push('frontmatter: "scenario" was removed — the estimate has one price');
25
+ if (/^##\s+Team\s*$/m.test(md)) out.push('the Team section was removed — this estimate prices a package, not a staffing plan');
26
+ const investment = sectionText(md, 'Investment & Timeline') ?? '';
27
+ if (DURATION_HEADER.test(investment)) {
28
+ out.push('Investment & Timeline must not carry a Duration column — the estimate produces no timeline');
29
+ }
30
+ }
31
+
23
32
  function checkValidUntil(raw, today, out) {
24
33
  if (!raw) return;
25
34
  const wellFormed = /^\d{4}-\d{2}-\d{2}$/.test(raw) && !Number.isNaN(Date.parse(raw));
@@ -46,8 +55,9 @@ function checkPlaceholders(md, out) {
46
55
  }
47
56
  }
48
57
 
49
- export function checkDoc({ fm, md, estimation, today }, out = []) {
50
- checkFrontmatter({ fm, estimation, today }, out);
58
+ export function checkDoc({ fm, md, today }, out = []) {
59
+ checkFrontmatter({ fm, today }, out);
60
+ checkRemoved({ fm, md }, out);
51
61
  checkSections(md, out);
52
62
  checkPlaceholders(md, out);
53
63
  return out;
@@ -9,9 +9,13 @@ import { checkClient } from './checks-client.mjs';
9
9
  export function checkProposal({ md, estimation, today = new Date() }) {
10
10
  const { data: fm, error } = parseFrontmatter(md);
11
11
  if (!fm) return [`frontmatter: ${error}`];
12
- const out = checkDoc({ fm, md, estimation, today });
13
- if (fm.scenario && estimation.computed.scenarios[fm.scenario]) {
12
+ const out = checkDoc({ fm, md, today });
13
+ // checkClient derives its figures from the estimate itself; an unpriced
14
+ // estimate can't quote a client, but that's a finding, not a crash.
15
+ try {
14
16
  checkClient({ md, fm, estimation }, out);
17
+ } catch (e) {
18
+ out.push(`cannot check client-facing figures: ${e.message}`);
15
19
  }
16
20
  return out;
17
21
  }
@@ -1,43 +1,34 @@
1
1
  // Client-facing figures derived from estimation.json — the proposal never
2
- // invents a number. Totals come from the chosen scenario; ranges scale by
3
- // the feature low/high spread; milestone splits follow the roadmap shares.
4
- export const round1 = (n) => Math.round(n * 10) / 10;
2
+ // invents a number. The range is the estimate's own presented range, so the
3
+ // proposal and the workbook always quote the same figures. Milestone splits
4
+ // follow the roadmap's effort shares; there are no durations, because the
5
+ // estimate produces none.
5
6
  export const round100 = (n) => Math.round(n / 100) * 100;
6
7
  export const formatMoney = (n) => `$${n.toLocaleString('en-US')}`;
7
8
 
8
- function spreadRatios(computed) {
9
- const feats = Object.values(computed.features);
10
- const hours = feats.reduce((s, f) => s + f.hours, 0);
11
- return {
12
- lo: feats.reduce((s, f) => s + f.low, 0) / hours,
13
- hi: feats.reduce((s, f) => s + f.high, 0) / hours,
14
- };
15
- }
16
-
17
- const range = (value, ratios, round) => ({ low: round(value * ratios.lo), high: round(value * ratios.hi) });
9
+ const split = (cost, share) => ({ low: round100(cost.low * share), high: round100(cost.high * share) });
18
10
 
19
- function milestoneFigures(scenario, ratios) {
20
- return (scenario.roadmap ?? []).map((band) => {
21
- const width = band.endMonths - band.startMonths;
22
- return {
23
- name: band.milestone,
24
- cost: range(scenario.totalCost * (width / scenario.months), ratios, round100),
25
- months: range(width, ratios, round1),
26
- };
27
- });
11
+ // The rows sit above a bold Total line the client reads against them, so
12
+ // they must add up to it exactly: every milestone but the last is its share
13
+ // rounded to $100, and the last takes whatever remains (R59).
14
+ function splitCosts(cost, roadmap) {
15
+ if (roadmap.length === 0) return [];
16
+ const heads = roadmap.slice(0, -1).map((b) => split(cost, b.share));
17
+ const taken = (bound) => heads.reduce((sum, c) => sum + c[bound], 0);
18
+ return [...heads, { low: cost.low - taken('low'), high: cost.high - taken('high') }];
28
19
  }
29
20
 
30
- export function deriveFigures(estimation, scenarioId) {
31
- const scenario = estimation.computed.scenarios[scenarioId];
32
- if (!scenario) throw new Error(`scenario "${scenarioId}" not in estimation.json`);
33
- const ratios = spreadRatios(estimation.computed);
34
- const team = (estimation.inputs.scenarios.find((s) => s.id === scenarioId)?.team ?? [])
35
- .map((m) => m.seniority);
21
+ export function deriveFigures(estimation) {
22
+ const { price, roadmap } = estimation.computed;
23
+ if (!price || price.p50 === 0) {
24
+ throw new Error('estimate is not priced (no scored features) — a proposal cannot quote it');
25
+ }
26
+ const cost = { low: price.presentLow, high: price.presentHigh };
27
+ const bands = roadmap ?? [];
28
+ const costs = splitCosts(cost, bands);
36
29
  return {
37
- scenario: scenarioId,
38
- cost: range(scenario.totalCost, ratios, round100),
39
- months: range(scenario.months, ratios, round1),
40
- milestones: milestoneFigures(scenario, ratios),
41
- team,
30
+ cost,
31
+ singleNumber: price.singleNumber,
32
+ milestones: bands.map((b, i) => ({ name: b.milestone, cost: costs[i], share: b.share })),
42
33
  };
43
34
  }
@@ -3,7 +3,7 @@
3
3
  export const SECTIONS = [
4
4
  'Executive Summary', 'Background & Objectives', 'Proposed Solution', 'Scope',
5
5
  'Out of Scope & Assumptions', 'Delivery Approach', 'Investment & Timeline',
6
- 'Team', 'About', 'Next Steps',
6
+ 'About', 'Next Steps',
7
7
  ];
8
8
 
9
9
  export const escapeRegExp = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
@@ -1,37 +1,27 @@
1
1
  import { test } from 'node:test';
2
2
  import assert from 'node:assert/strict';
3
+ import { checkClient } from '../lib/checks-client.mjs';
3
4
  import { checkProposal } from '../lib/checks.mjs';
5
+ import { parseFrontmatter } from '../../../analyze-requirements/scripts/lib/frontmatter.mjs';
4
6
  import { JARGON } from '../lib/jargon.mjs';
5
7
 
6
- // Same synthetic estimation as figures.test.mjs: figures are
7
- // cost 8000/12000, months 1.6/2.4, M1 6000/9000 1.2/1.8, M2 2000/3000 0.4/0.6.
8
+ // Synthetic estimation in the new price/roadmap shape (same as
9
+ // figures.test.mjs): figures are cost 8000/12000, singleNumber 10000,
10
+ // M1 6000/9000, M2 2000/3000.
8
11
  const estimation = {
9
- inputs: {
10
- scenarios: [
11
- { id: 's1', aiAssisted: true, toolingCostPerSeat: 100, team: [{ seniority: 'senior', rate: 50 }] },
12
- { id: 's2-secret', aiAssisted: false, toolingCostPerSeat: null, team: [{ seniority: 'mid', rate: 40 }] },
13
- ],
14
- },
12
+ inputs: { features: [] },
15
13
  computed: {
16
- features: { a: { hours: 100, low: 80, high: 120 }, b: { hours: 100, low: 80, high: 120 } },
17
- scenarios: {
18
- s1: {
19
- months: 2, totalCost: 10000,
20
- roadmap: [
21
- { name: 'M1', startMonths: 0, endMonths: 1.5 },
22
- { name: 'M2', startMonths: 1.5, endMonths: 2 },
23
- ],
24
- },
25
- 's2-secret': { months: 3, totalCost: 15000 },
26
- },
14
+ price: { presentLow: 8000, presentHigh: 12000, singleNumber: 10000, p50: 7998 },
15
+ roadmap: [
16
+ { milestone: 'M1', features: ['a'], share: 0.75 },
17
+ { milestone: 'M2', features: ['b'], share: 0.25 },
18
+ ],
27
19
  },
28
20
  };
29
- const TODAY = new Date('2026-08-06');
30
21
 
31
22
  const md = `---
32
23
  client: Acme Corp
33
24
  client_tech_level: non-tech
34
- scenario: s1
35
25
  currency: USD
36
26
  valid_until: 2099-12-31
37
27
  source_architecture: ../ARCHITECTURE.md
@@ -39,7 +29,7 @@ source_estimation: ../estimation.json
39
29
  ---
40
30
 
41
31
  ## Executive Summary
42
- New booking system for $8,000 – $12,000, delivered in 1.6–2.4 months.
32
+ New booking system for $8,000 – $12,000.
43
33
  ## Background & Objectives
44
34
  Bookings are manual today.
45
35
  ## Proposed Solution
@@ -53,23 +43,27 @@ graph LR; A[Your customers] --> B[New system]
53
43
  ## Out of Scope & Assumptions
54
44
  - Text-message reminders are out.
55
45
  ## Delivery Approach
56
- M1 runs 1.2–1.8 months; M2 runs 0.4–0.6 months. Weekly demos.
46
+ M1 covers booking; M2 covers notifications. Weekly demos.
57
47
  ## Investment & Timeline
58
- | Milestone | Duration | Investment |
59
- | --- | --- | --- |
60
- | M1 | 1.2–1.8 months | $6,000 – $9,000 |
61
- | M2 | 0.4–0.6 months | $2,000 – $3,000 |
62
-
63
- Total: $8,000 – $12,000 over 1.6–2.4 months.
64
- ## Team
65
- One senior engineer.
48
+ | Milestone | Investment |
49
+ | --- | --- |
50
+ | M1 | $6,000 – $9,000 |
51
+ | M2 | $2,000 – $3,000 |
52
+
53
+ Total: $8,000 – $12,000.
66
54
  ## About Code Engine Studio
67
55
  We build software. Contact: hello@example.com
68
56
  ## Next Steps
69
57
  Valid until 2099-12-31. Reply to accept.
70
58
  `;
71
59
 
72
- const run = (doc) => checkProposal({ md: doc, estimation, today: TODAY });
60
+ // checkClient takes already-parsed frontmatter — parse fresh for each
61
+ // variant so tests that edit the frontmatter block (jargon_allow, tech
62
+ // level) see their own change.
63
+ const run = (doc) => {
64
+ const { data: fm } = parseFrontmatter(doc);
65
+ return checkClient({ md: doc, fm, estimation }, []);
66
+ };
73
67
 
74
68
  test('a document whose numbers all trace to the figures passes', () => {
75
69
  assert.deepEqual(run(md), []);
@@ -79,30 +73,20 @@ test('an invented money amount is a finding', () => {
79
73
  assert.ok(run(md.replace('$6,000', '$6,500')).some((f) => f.includes('6,500') || f.includes('6500')));
80
74
  });
81
75
 
82
- test('an invented duration bound is a finding', () => {
83
- assert.ok(run(md.replace('1.6–2.4 months.\n## Team', '1.6–9.9 months.\n## Team'))
84
- .some((f) => f.includes('9.9')));
85
- });
86
-
87
76
  test('the headline cost range must be present', () => {
88
- const noTotals = md.replaceAll('$8,000 – $12,000', 'a fair price').replaceAll('1.6–2.4 months', 'a short time');
77
+ const noTotals = md.replace('New booking system for $8,000 – $12,000.', 'A fair price for a new booking system.');
89
78
  const findings = run(noTotals);
90
79
  assert.ok(findings.some((f) => f.includes('8,000')));
91
- assert.ok(findings.some((f) => f.includes('2.4')));
92
- });
93
-
94
- test('a lone invented duration is a finding', () => {
95
- assert.ok(run(md.replace('Weekly demos.', 'Live within 9 months.')).some((f) => f.includes('9')));
80
+ assert.ok(findings.some((f) => f.includes('12,000')));
96
81
  });
97
82
 
98
83
  test('headline ranges must live in the Executive Summary itself', () => {
99
- const buried = md.replace('New booking system for $8,000 – $12,000, delivered in 1.6–2.4 months.', 'A fair price, fast.');
84
+ const buried = md.replace('New booking system for $8,000 – $12,000.', 'A fair price, fast.');
100
85
  const findings = run(buried);
101
86
  assert.ok(findings.some((f) => /Executive Summary/.test(f)));
102
87
  });
103
88
 
104
- test('other scenario ids and provenance markup are leaks', () => {
105
- assert.ok(run(md.replace('Weekly demos.', 'Cheaper than s2-secret.')).some((f) => f.includes('s2-secret')));
89
+ test('provenance markup is a leak', () => {
106
90
  assert.ok(run(md.replace('| Feature | What you get |', '| Feature | src |')).some((f) => f.includes('src')));
107
91
  assert.ok(run(md.replace('Weekly demos.', '| observed |')).some((f) => f.includes('observed')));
108
92
  });
@@ -138,7 +122,26 @@ test('the deny-list is lowercase and non-trivial', () => {
138
122
  for (const term of JARGON) assert.equal(term, term.toLowerCase());
139
123
  });
140
124
 
125
+ // This one is about the whole pipeline's crash-safety on a document with no
126
+ // frontmatter at all, not about client-safety specifically — checkProposal
127
+ // returns early before ever touching estimation shape, so it stays safe
128
+ // regardless of the scenario-vs-price schema.
141
129
  test('a document with no frontmatter is a finding, not a crash', () => {
142
- assert.deepEqual(checkProposal({ md: '## Executive Summary\nHi.', estimation, today: TODAY }),
130
+ assert.deepEqual(checkProposal({ md: '## Executive Summary\nHi.', estimation, today: new Date('2026-08-06') }),
143
131
  ['frontmatter: no frontmatter block']);
144
132
  });
133
+
134
+ // R55/load-bearing: checkProposal must run the client-safety checks itself —
135
+ // frontmatter no longer carries a scenario key to gate on, so checkClient
136
+ // has to run whenever the estimate is priced. Break the gate in checks.mjs
137
+ // (e.g. restore the old `fm.scenario && estimation.computed.scenarios[...]`
138
+ // condition) and this test goes red because the invented figure below is
139
+ // never caught.
140
+ test('checkProposal refuses an invented money figure through the pipeline', () => {
141
+ const invented = md.replace(
142
+ 'New booking system for $8,000 – $12,000.',
143
+ 'New booking system for $8,000 – $12,000, plus a $6,500 setup fee.',
144
+ );
145
+ const findings = checkProposal({ md: invented, estimation, today: new Date('2026-08-06') });
146
+ assert.ok(findings.some((f) => f.includes('6,500')), findings.join('\n'));
147
+ });