@v11g/agents-rock 1.0.8 → 1.0.10
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.
- package/README.md +2 -1
- package/package.json +2 -2
- package/plugins/business-analyst/.claude-plugin/plugin.json +1 -1
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/conflict-quoted.md +15 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/no-internal-ids.md +9 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/one-question.md +15 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/prompt.md +31 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/no-internal-ids.md +9 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/no-setup-questions.md +16 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/one-scope-question.md +19 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/prompt.md +31 -0
- package/plugins/business-analyst/evals/ba-review-page/case.yaml +4 -0
- package/plugins/business-analyst/evals/ba-review-page/fixture.sh +12 -0
- package/plugins/business-analyst/evals/ba-review-page/graders/decide-in-interview.md +26 -0
- package/plugins/business-analyst/evals/ba-review-page/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-review-page/prompt.md +9 -0
- package/plugins/business-analyst/skills/business-analyst/README.md +8 -0
- package/plugins/business-analyst/skills/business-analyst/SKILL.md +47 -16
- package/plugins/business-analyst/skills/business-analyst/assets/review-page.html +68 -0
- package/plugins/business-analyst/skills/business-analyst/evals/evals.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/references/frameworks.md +3 -2
- package/plugins/business-analyst/skills/business-analyst/references/interview.md +156 -8
- package/plugins/business-analyst/skills/business-analyst/references/review.md +18 -4
- package/plugins/business-analyst/skills/business-analyst/references/writing.md +49 -8
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_data.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_layout.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_page.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_checks.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_render.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/validate.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/checks.mjs +12 -6
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-data.mjs +66 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-layout.mjs +53 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-page.mjs +78 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-checks.mjs +73 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-md.mjs +53 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-render.mjs +72 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-rules.mjs +90 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review.mjs +48 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review.py +60 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_data.py +81 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_layout.py +50 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_page.py +115 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope.mjs +24 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope.py +35 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope_checks.py +168 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope_render.py +140 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/checks.test.mjs +27 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/fixtures/requirements-workflow-pass.json +78 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/fixtures/requirements-workflow-pass.md +136 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/python-parity.test.mjs +88 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/quality-gates.test.mjs +26 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-browser.test.mjs +106 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-fixture.mjs +32 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-page.test.mjs +340 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-parity.test.mjs +79 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-cases.mjs +58 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-checks.test.mjs +31 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-md.test.mjs +140 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/validate.mjs +1 -1
- package/plugins/business-analyst/skills/business-analyst/scripts/validate.py +17 -8
- package/plugins/reasoning/.claude-plugin/plugin.json +1 -1
- package/plugins/reasoning/evals/format-handoff-folder/graders/folder-named.md +8 -0
- package/plugins/reasoning/evals/format-handoff-folder/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/format-handoff-folder/prompt.md +9 -0
- package/plugins/reasoning/evals/format-ids-and-supports/graders/ids-in-chat.md +8 -0
- package/plugins/reasoning/evals/format-ids-and-supports/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/format-ids-and-supports/graders/supports-resolve.md +11 -0
- package/plugins/reasoning/evals/format-ids-and-supports/prompt.md +8 -0
- package/plugins/reasoning/evals/format-root-candidate-status/graders/candidate-status.md +11 -0
- package/plugins/reasoning/evals/format-root-candidate-status/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/format-root-candidate-status/prompt.md +8 -0
- package/plugins/reasoning/evals/format-unsaved-continues/graders/analysis-completes.md +9 -0
- package/plugins/reasoning/evals/format-unsaved-continues/graders/not-saved-stated.md +9 -0
- package/plugins/reasoning/evals/format-unsaved-continues/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/format-unsaved-continues/prompt.md +8 -0
- package/plugins/reasoning/skills/problem-router/README.md +6 -0
- package/plugins/reasoning/skills/problem-router/SKILL.md +4 -0
- package/plugins/reasoning/skills/problem-router/references/contract.md +114 -19
- package/plugins/reasoning/skills/problem-solving/README.md +6 -0
- package/plugins/reasoning/skills/problem-solving/SKILL.md +2 -0
- package/plugins/reasoning/skills/problem-solving/references/contract.md +114 -19
- package/plugins/reasoning/skills/problem-solving/references/interview.md +2 -0
- package/plugins/reasoning/skills/systemic-design/README.md +3 -0
- package/plugins/reasoning/skills/systemic-design/SKILL.md +2 -0
- package/plugins/reasoning/skills/systemic-design/references/contract.md +114 -19
- package/plugins/reasoning/skills/systemic-design/references/interview.md +2 -0
- package/plugins/reasoning/skills/systems-thinking/README.md +3 -0
- package/plugins/reasoning/skills/systems-thinking/SKILL.md +2 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +15 -6
- package/plugins/reasoning/skills/systems-thinking/references/contract.md +114 -19
- package/plugins/reasoning/skills/systems-thinking/references/interview.md +2 -0
- package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
- package/plugins/solution-architect/evals/proposal-workflow/case.yaml +6 -0
- package/plugins/solution-architect/evals/proposal-workflow/fixture.sh +6 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/inputs-written.md +23 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/no-proposal-md.md +7 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/validate-then-render.md +16 -0
- package/plugins/solution-architect/evals/proposal-workflow/prompt.md +10 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/case.yaml +4 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/fixture.sh +6 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/no-classic-fallback.md +10 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/nothing-written.md +7 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/stops-at-gate.md +11 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/prompt.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/case.yaml +4 -0
- package/plugins/solution-architect/evals/workflow-happy-path/fixture.sh +6 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/no-estimation-md.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/pages-or-stop.md +16 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/routed-to-workflow.md +12 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/three-questions-max.md +14 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/workflow-or-exact-stop.md +15 -0
- package/plugins/solution-architect/evals/workflow-happy-path/prompt.md +9 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/viewer-template.html +11 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +4 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +16 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/browser.test.mjs +27 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +9 -0
- package/plugins/solution-architect/skills/estimate/README.md +38 -18
- package/plugins/solution-architect/skills/estimate/SKILL.md +16 -69
- package/plugins/solution-architect/skills/estimate/classic/FLOW.md +77 -0
- package/plugins/solution-architect/skills/estimate/{assets → classic/assets}/estimate-template-agentic.html +111 -138
- package/plugins/solution-architect/skills/estimate/{assets → classic/assets}/estimate-template.html +219 -445
- package/plugins/solution-architect/skills/estimate/{assets → classic/assets}/scores-review-template.html +5 -4
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/agentic-estimation.md +4 -2
- package/plugins/solution-architect/skills/estimate/classic/references/ai-multipliers.md +57 -0
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/interview.md +56 -35
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/scoring-guide.md +40 -4
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/task-shapes.md +1 -1
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/techniques.md +29 -21
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/writing.md +77 -45
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/compute.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/checks.mjs +38 -6
- package/plugins/solution-architect/skills/estimate/classic/scripts/lib/redact.mjs +112 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/roadmap.mjs +4 -5
- package/plugins/solution-architect/skills/estimate/classic/scripts/lib/rollup.mjs +129 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/schema.mjs +31 -38
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/score-csv.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/score-html.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/render.mjs +9 -8
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/score-review.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/baselines.test.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/browser-agentic.test.mjs +143 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/browser.test.mjs +211 -52
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/compute.test.mjs +58 -33
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/e2e.test.mjs +55 -3
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/estimate-math.test.mjs +44 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-estimation-fail.md +0 -10
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-estimation-pass.md +0 -10
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-inputs.json +1 -7
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/booking-inputs.json +11 -10
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/estimation-fail.md +6 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/estimation-pass.md +17 -21
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/measurements.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/pricing.test.mjs +88 -0
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/project-price.test.mjs +93 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/quality-gates.test.mjs +7 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/references.test.mjs +88 -26
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/render.test.mjs +405 -0
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/schema.test.mjs +114 -61
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/score-review.test.mjs +37 -4
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/scoring.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/url-state.test.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/validate.test.mjs +104 -10
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/xlsx-export.test.mjs +475 -0
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/zip-store.test.mjs +26 -0
- package/plugins/solution-architect/skills/estimate/evals/evals.json +44 -9
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +28 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.json +79 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.md +141 -0
- package/plugins/solution-architect/skills/estimate/shared/assets/xlsx-export.js +336 -0
- package/plugins/solution-architect/skills/estimate/shared/lib/agentic-task-schema.mjs +24 -0
- package/plugins/solution-architect/skills/estimate/shared/lib/context-schema.mjs +35 -0
- package/plugins/solution-architect/skills/estimate/shared/lib/estimate-math.mjs +31 -0
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/inline.mjs +13 -5
- package/plugins/solution-architect/skills/estimate/shared/lib/pricing.mjs +78 -0
- package/plugins/solution-architect/skills/estimate/shared/lib/project-price.mjs +96 -0
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/scoring-schema.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/scoring.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/shared/lib/zip.mjs +60 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/FLOW.md +91 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimate-components.html +994 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimate-template.html +440 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimator-system.xlsx +0 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/score-review.html +838 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/references/hidden-work-by-type.md +429 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/references/linking.md +59 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-components-template.mjs +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-template.mjs +60 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-workflow-template.mjs +51 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-xlsx-template.py +144 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/compute.mjs +32 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/page-html.mjs +44 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/page-view.mjs +71 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/pair-findings.mjs +19 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/requirements.mjs +33 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/rollup.mjs +66 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/schema-components.mjs +69 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/schema.mjs +70 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/score-diff.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/score-html.mjs +52 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/xlsx-rows.mjs +51 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/render.mjs +42 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/score-review.mjs +46 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/arch-link.js +9 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/click.js +28 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/prelude.js +4 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/view.js +63 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/browser.test.mjs +127 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/build-pages.test.mjs +43 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/build-template.test.mjs +18 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/cli.test.mjs +48 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/estimator-system.test.mjs +66 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/ARCHITECTURE-mini.md +31 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/feedback.json +19 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/inputs-pass.json +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/measurements.jsonl +0 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/requirements.json +79 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/page-view.test.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/pages-browser.test.mjs +209 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/quality-gates.test.mjs +25 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/render.test.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/requirements.test.mjs +33 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/rollup.test.mjs +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/schema.test.mjs +61 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/score-review.test.mjs +108 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/stage.mjs +32 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/workflow-script.test.mjs +24 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/xlsx-rows.test.mjs +58 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/validate.mjs +19 -0
- package/plugins/solution-architect/skills/new-lead/SKILL.md +4 -3
- package/plugins/solution-architect/skills/proposal/README.md +22 -7
- package/plugins/solution-architect/skills/proposal/SKILL.md +18 -7
- package/plugins/solution-architect/skills/proposal/assets/proposal-workflow.html +143 -0
- package/plugins/solution-architect/skills/proposal/evals/evals.json +29 -11
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +65 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +21 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +126 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +215 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +224 -34
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +103 -114
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +48 -22
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +211 -33
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +102 -117
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +48 -25
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +31 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation-inputs.json +468 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation.json +773 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/measurements.jsonl +0 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/requirements.json +79 -0
- package/plugins/solution-architect/skills/proposal/references/interview.md +3 -6
- package/plugins/solution-architect/skills/proposal/references/review.md +16 -4
- package/plugins/solution-architect/skills/proposal/references/workflow.md +88 -0
- package/plugins/solution-architect/skills/proposal/references/writing.md +33 -31
- package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +1 -1
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +5 -22
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +18 -8
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +6 -2
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-body.mjs +42 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-package.mjs +56 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-xml.mjs +44 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +24 -33
- package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +1 -1
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-checks.mjs +71 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-cli.mjs +46 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-html.mjs +39 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-lead.mjs +45 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-page.mjs +30 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-view.mjs +80 -0
- package/plugins/solution-architect/skills/proposal/scripts/render.mjs +5 -1
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +50 -47
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +99 -40
- package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +11 -5
- package/plugins/solution-architect/skills/proposal/scripts/test/docx.test.mjs +68 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +3 -3
- package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +46 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +67 -54
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +6 -1
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-inputs-pass.json +17 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +8 -12
- package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +3 -3
- package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +5 -4
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-browser.test.mjs +96 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-checks.test.mjs +98 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-docs.test.mjs +25 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-render.test.mjs +75 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-stage.mjs +15 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-view.test.mjs +78 -0
- package/plugins/solution-architect/skills/proposal/scripts/validate.mjs +4 -1
- package/plugins/solution-architect/workflows/review-links.js +61 -0
- package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +0 -101
- package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +0 -89
- package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +0 -64
- package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +0 -154
- package/plugins/solution-architect/skills/estimate/scripts/lib/scenario-schema.mjs +0 -39
- package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +0 -131
- package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +0 -251
- package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +0 -254
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/slicing.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/agentic-checks.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/components.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/md-tables.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/scoring-checks.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/measurements.jsonl +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/zip.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/validate.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/baselines.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/measurements.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/score-diff.mjs +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title><!-- slot:TITLE --></title>
|
|
7
|
+
<style>
|
|
8
|
+
<!-- slot:FONTS -->
|
|
9
|
+
:root {
|
|
10
|
+
--ink: #1a1d21; --muted: #5c6470; --line: #d9dde3;
|
|
11
|
+
--accent: #0f5c5a; --bg: #ffffff; --wash: #f6f7f9;
|
|
12
|
+
}
|
|
13
|
+
* { box-sizing: border-box; }
|
|
14
|
+
body {
|
|
15
|
+
margin: 0; background: var(--bg); color: var(--ink);
|
|
16
|
+
font: 16px/1.65 "IBM Plex Sans", system-ui, sans-serif;
|
|
17
|
+
}
|
|
18
|
+
nav {
|
|
19
|
+
position: fixed; top: 0; left: 0; bottom: 0; width: 230px;
|
|
20
|
+
padding: 2.5rem 1.5rem; border-right: 1px solid var(--line);
|
|
21
|
+
background: var(--wash); overflow-y: auto;
|
|
22
|
+
}
|
|
23
|
+
nav a {
|
|
24
|
+
display: block; color: var(--muted); text-decoration: none;
|
|
25
|
+
font-size: .85rem; padding: .3rem 0;
|
|
26
|
+
}
|
|
27
|
+
nav a:hover { color: var(--accent); }
|
|
28
|
+
main { max-width: 52rem; margin: 0 auto; padding: 3rem 2rem 5rem; }
|
|
29
|
+
@media (min-width: 980px) { main { margin-left: 270px; } }
|
|
30
|
+
@media (max-width: 979px) { nav { display: none; } }
|
|
31
|
+
.tools { display: flex; gap: .5rem; justify-content: flex-end; margin-bottom: 1rem; }
|
|
32
|
+
.tools button {
|
|
33
|
+
font: inherit; font-size: .85rem; color: var(--ink); background: var(--wash);
|
|
34
|
+
border: 1px solid var(--line); border-radius: .3rem; padding: .35rem .8rem; cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
.tools button:hover { border-color: var(--accent); color: var(--accent); }
|
|
37
|
+
h1 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .4rem; }
|
|
38
|
+
.byline { color: var(--muted); margin: 0 0 1.6rem; }
|
|
39
|
+
h2 {
|
|
40
|
+
font-size: 1.25rem; margin-top: 2.6rem; padding-top: 1.2rem;
|
|
41
|
+
border-top: 1px solid var(--line); color: var(--accent);
|
|
42
|
+
}
|
|
43
|
+
h2 .sysno { color: var(--muted); font-weight: 500; }
|
|
44
|
+
h3 {
|
|
45
|
+
font-size: .85rem; text-transform: uppercase; letter-spacing: .07em;
|
|
46
|
+
color: var(--muted); font-weight: 600; margin: 1.6rem 0 .3rem;
|
|
47
|
+
}
|
|
48
|
+
p { max-width: 68ch; }
|
|
49
|
+
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
|
|
50
|
+
th, td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
|
|
51
|
+
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
|
|
52
|
+
td:first-child { font-weight: 600; width: 34%; }
|
|
53
|
+
.flow-name { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 1.2rem 0 .3rem; }
|
|
54
|
+
.diagram-shell { margin: 0 0 1rem; padding: 1rem; background: var(--wash); border-radius: 8px; overflow-x: auto; }
|
|
55
|
+
.mermaid-canvas { white-space: pre; font-size: .8rem; color: var(--muted); }
|
|
56
|
+
.mermaid-canvas svg { max-width: 100%; height: auto; }
|
|
57
|
+
.price { display: flex; flex-wrap: wrap; gap: 1rem; margin: .8rem 0 1rem; }
|
|
58
|
+
.price > div { flex: 1 1 14rem; background: var(--wash); border: 1px solid var(--line); border-radius: .3rem; padding: .8rem 1rem; }
|
|
59
|
+
.price span { display: block; font-size: .8rem; color: var(--muted); }
|
|
60
|
+
.price b { display: block; font-size: 1.5rem; font-weight: 600; margin: .15rem 0; font-variant-numeric: tabular-nums; }
|
|
61
|
+
@media print {
|
|
62
|
+
nav, .tools { display: none; }
|
|
63
|
+
main { margin: 0 auto; padding: 0; max-width: none; }
|
|
64
|
+
section.system { break-before: page; }
|
|
65
|
+
h2, h3, .flow-name { break-after: avoid; }
|
|
66
|
+
table, .diagram-shell, .price { break-inside: avoid; }
|
|
67
|
+
@page { size: A4; margin: 22mm 18mm; }
|
|
68
|
+
}
|
|
69
|
+
</style>
|
|
70
|
+
</head>
|
|
71
|
+
<body>
|
|
72
|
+
<nav aria-label="Sections">
|
|
73
|
+
<!-- slot:NAV -->
|
|
74
|
+
</nav>
|
|
75
|
+
<main>
|
|
76
|
+
<div class="tools"><button id="pdf" type="button">Download PDF</button><button id="docx" type="button">Download DOCX</button></div>
|
|
77
|
+
<!-- slot:CONTENT -->
|
|
78
|
+
</main>
|
|
79
|
+
<script type="application/json" id="proposal-data"><!-- slot:DATA --></script>
|
|
80
|
+
<script>
|
|
81
|
+
<!-- slot:MERMAID_BUNDLE -->
|
|
82
|
+
</script>
|
|
83
|
+
<script type="module">
|
|
84
|
+
// A module, so the inlined writer's names stay out of the page's global scope.
|
|
85
|
+
<!-- slot:DOCX -->
|
|
86
|
+
const PROPOSAL = JSON.parse(document.getElementById('proposal-data').textContent);
|
|
87
|
+
// Plain SVG text labels: a canvas refuses to export a drawing with HTML labels.
|
|
88
|
+
// No error picture: a diagram that fails stays empty and shows its steps instead.
|
|
89
|
+
mermaid.initialize({ startOnLoad: false, theme: 'neutral', htmlLabels: false, flowchart: { htmlLabels: false }, fontFamily: '"IBM Plex Sans", sans-serif', suppressErrorRendering: true });
|
|
90
|
+
const drawn = mermaid.run({ querySelector: '.mermaid-canvas' }).catch(() => null).then(() => {
|
|
91
|
+
const flows = PROPOSAL.systems.flatMap((s) => s.flows);
|
|
92
|
+
document.querySelectorAll('.mermaid-canvas').forEach((c, i) => { if (!c.querySelector('svg')) c.textContent = flows[i].steps; });
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
async function svgPng(svg) {
|
|
96
|
+
const { width, height } = svg.getBoundingClientRect();
|
|
97
|
+
const copy = svg.cloneNode(true);
|
|
98
|
+
copy.setAttribute('width', width);
|
|
99
|
+
copy.setAttribute('height', height);
|
|
100
|
+
const img = new Image();
|
|
101
|
+
img.src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(copy))}`;
|
|
102
|
+
await img.decode();
|
|
103
|
+
const canvas = document.createElement('canvas');
|
|
104
|
+
canvas.width = Math.ceil(width * 2);
|
|
105
|
+
canvas.height = Math.ceil(height * 2);
|
|
106
|
+
const ctx = canvas.getContext('2d');
|
|
107
|
+
ctx.fillStyle = '#fff';
|
|
108
|
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
109
|
+
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
|
|
110
|
+
const blob = await new Promise((ok) => canvas.toBlob(ok, 'image/png'));
|
|
111
|
+
return { bytes: new Uint8Array(await blob.arrayBuffer()), width: Math.round(width), height: Math.round(height) };
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// One entry per workflow in page order; a diagram that did not draw is null
|
|
115
|
+
// and the DOCX writes its steps instead.
|
|
116
|
+
async function diagramImages() {
|
|
117
|
+
await drawn;
|
|
118
|
+
const canvases = [...document.querySelectorAll('.mermaid-canvas')];
|
|
119
|
+
return Promise.all(canvases.map((c) => {
|
|
120
|
+
const svg = c.querySelector('svg');
|
|
121
|
+
return svg ? svgPng(svg).catch(() => null) : null;
|
|
122
|
+
}));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const docxBytes = async () => buildDocx(PROPOSAL, await diagramImages());
|
|
126
|
+
window.__buildDocx = async () => {
|
|
127
|
+
const bytes = await docxBytes();
|
|
128
|
+
let s = '';
|
|
129
|
+
for (let i = 0; i < bytes.length; i += 0x8000) s += String.fromCharCode(...bytes.subarray(i, i + 0x8000));
|
|
130
|
+
return btoa(s);
|
|
131
|
+
};
|
|
132
|
+
document.getElementById('pdf').onclick = () => window.print();
|
|
133
|
+
document.getElementById('docx').onclick = async () => {
|
|
134
|
+
const blob = new Blob([await docxBytes()], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' });
|
|
135
|
+
const a = document.createElement('a');
|
|
136
|
+
a.href = URL.createObjectURL(blob);
|
|
137
|
+
a.download = PROPOSAL.file;
|
|
138
|
+
a.click();
|
|
139
|
+
URL.revokeObjectURL(a.href);
|
|
140
|
+
};
|
|
141
|
+
</script>
|
|
142
|
+
</body>
|
|
143
|
+
</html>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"id": 0,
|
|
6
6
|
"name": "gate-check-no-estimate",
|
|
7
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
|
|
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 or milestone split is stated anywhere in the reply — prices only exist downstream of estimation.json, and no duration exists anywhere in the pipeline.",
|
|
9
9
|
"files": [
|
|
10
10
|
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md",
|
|
11
11
|
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md"
|
|
@@ -14,16 +14,16 @@
|
|
|
14
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
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
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
|
|
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 estimate produces no timeline at all, so nothing downstream can source one",
|
|
18
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-
|
|
19
|
+
"no-invented-split: no team composition, staffing option, milestone list or per-milestone split is asserted - milestones and their splits come from estimation.json, and the estimate prices a package, not a team"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"id": 1,
|
|
24
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-
|
|
26
|
-
"expected_output": "proposal.md beside the fixture's ARCHITECTURE.md carrying the
|
|
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- 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 nine named sections (no Team section) and the flat frontmatter contract (client: Harborline Logistics, client_tech_level: non-tech, currency: USD, valid_until 30 days out, source_architecture, source_estimation — no scenario key), plus dist/proposal.html rendered from it. The price is the estimate's presented range, $11,000 – $14,500 (single number $13,000 if one is quoted), with the milestone table reading M1 - Dispatch core $9,200 – $12,200 and M2 - Customer tracking $1,800 – $2,300, rows summing exactly to the total, and no duration anywhere. `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
27
|
"files": [
|
|
28
28
|
"plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md",
|
|
29
29
|
"plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"assertions": [
|
|
36
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
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
|
|
39
|
-
"
|
|
38
|
+
"every-number-traces-upstream: every money amount in proposal.md is one of the values derive.mjs produces from the fixture estimation.json's computed.price and roadmap - {11000, 14500, 13000, 9200, 12200, 1800, 2300} - with no other figure and no drift (not 11,500, not '~$15k')",
|
|
39
|
+
"one-price-no-timeline: the document offers one price only, stated as the range $11,000 – $14,500 - no second tier, no good/better/best table, no 'option A vs option B', no team or staffing detail, no Team section and no `scenario:` frontmatter key; and it states no delivery duration anywhere - no 'N weeks' or 'N months' figure and no Duration column in Investment & Timeline",
|
|
40
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
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
42
|
]
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
{
|
|
45
45
|
"id": 2,
|
|
46
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-
|
|
48
|
-
"expected_output": "proposal.md beside the fixture's ARCHITECTURE.md with client_tech_level: low-tech,
|
|
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- 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, valid_until two weeks out and no scenario key, plus dist/proposal.html. One price offered as the estimate's presented range: $14,000 – $18,000, milestones M1 - Secure portal $11,800 – $15,100 and M2 - Recall reminders $2,200 – $2,900, and no duration anywhere. 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
49
|
"files": [
|
|
50
50
|
"plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md",
|
|
51
51
|
"plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md",
|
|
@@ -56,12 +56,30 @@
|
|
|
56
56
|
],
|
|
57
57
|
"assertions": [
|
|
58
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
|
|
60
|
-
"
|
|
59
|
+
"every-number-traces-upstream: every money amount in proposal.md is one of derive.mjs's outputs from the fixture estimation.json - {14000, 18000, 16000, 11800, 15100, 2200, 2900} - and in particular the internal feature subtotal ($5,464.74) and the unrounded P50 ($13,901.21) from estimation.json appear nowhere",
|
|
60
|
+
"one-price-no-timeline: one price only, expressed as $14,000 – $18,000 - no second tier, no cheaper/fuller comparison and no team or staffing detail even though the budget conversation invites offering a contrast; no `scenario:` frontmatter key, no Team section, and no delivery duration ('N weeks', 'N months' or a Duration column) anywhere",
|
|
61
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
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
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
64
|
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": 3,
|
|
68
|
+
"name": "gate-check-unpriced-estimate",
|
|
69
|
+
"prompt": "Harborline again — Dale wants something on paper before Friday. The lead folder is plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ — the architecture doc, his brief and the quick estimate we ran on the call. Client Harborline Logistics, non-tech, valid 30 days, Code Engine Studio profile as usual (project-level). Just write the proposal and render it, I'll check it tonight.",
|
|
70
|
+
"expected_output": "The skill refuses to quote. derive.mjs exits non-zero because the fixture estimation.json is a QUICK-depth estimate with no scored features (computed.price.p50 is 0), and the reply says the estimate is not priced and that the estimate skill must be re-run at STANDARD or DEEP depth with scored features before a proposal can carry a price. No proposal.md, proposal-figures.json or proposal.html is written, and no currency amount appears in the reply.",
|
|
71
|
+
"files": [
|
|
72
|
+
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md",
|
|
73
|
+
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md",
|
|
74
|
+
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json",
|
|
75
|
+
"plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json"
|
|
76
|
+
],
|
|
77
|
+
"assertions": [
|
|
78
|
+
"refuses-unpriced: the reply states the estimate is not priced (no scored features / QUICK depth) and points at re-running the estimate skill with scored features - it does not quote the estimate at $0 or invent a price",
|
|
79
|
+
"stops-before-writing: after the turn, no proposal.md, proposal-figures.json, proposal.html or dist/proposal.html exists in or under the fixture lead directory",
|
|
80
|
+
"no-invented-money: the reply contains zero currency amounts - no token matching [$€£] followed by digits, and no hour total presented as a price basis",
|
|
81
|
+
"no-invented-timeline: the reply states no delivery duration or date commitment"
|
|
82
|
+
]
|
|
65
83
|
}
|
|
66
84
|
]
|
|
67
85
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Harborline Dispatch Portal — Architecture
|
|
2
|
+
|
|
3
|
+
## 1. Goals & Scope
|
|
4
|
+
|
|
5
|
+
Harborline Logistics runs 18 vans out of one depot. Dispatchers assign jobs on a
|
|
6
|
+
whiteboard and phone the drivers; customers phone the office to ask where their
|
|
7
|
+
delivery is. The portal replaces the whiteboard with a live board, gives drivers
|
|
8
|
+
a phone screen for check-in and proof of delivery, and gives customers a
|
|
9
|
+
self-serve tracking page.
|
|
10
|
+
|
|
11
|
+
| Goal | Measure | src |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| Dispatchers stop re-keying job data | zero whiteboard-to-system double entry | stated |
|
|
14
|
+
| Every delivery carries proof | a photo attached to 100% of completed jobs | stated |
|
|
15
|
+
| Customers stop phoning for status | 50% fewer status calls in the first quarter | stated |
|
|
16
|
+
|
|
17
|
+
## 2. Constraints
|
|
18
|
+
|
|
19
|
+
| Constraint | src |
|
|
20
|
+
|---|---|
|
|
21
|
+
| One depot, one timezone — no multi-region work in v1 | stated |
|
|
22
|
+
| Drivers use company-issued Android phones only | stated |
|
|
23
|
+
| Existing invoicing stays as-is; no billing integration in v1 | stated |
|
|
24
|
+
|
|
25
|
+
## 4. Solution Strategy
|
|
26
|
+
|
|
27
|
+
One web application with a dispatcher board, a driver-facing mobile web screen,
|
|
28
|
+
and a public tracking page. Photos go to object storage. Reminders and tracking
|
|
29
|
+
links go out by email through the provider Harborline already pays for.
|
|
30
|
+
|
|
31
|
+
## 6. Core Components
|
|
32
|
+
|
|
33
|
+
| Component | Responsibility | src |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `dispatch` | Holds jobs, assignments and their state transitions | proposed |
|
|
36
|
+
| `driver` | Driver check-in, check-out and proof-of-delivery upload | proposed |
|
|
37
|
+
| `tracking` | Public delivery status page and its email links | proposed |
|
|
38
|
+
| `billing` | Not estimated — phase 2, client keeps current invoicing | stated |
|
|
39
|
+
|
|
40
|
+
## 7. Runtime Behaviour
|
|
41
|
+
|
|
42
|
+
A dispatcher assigns a job on the board; the assignment is pushed to the
|
|
43
|
+
driver's phone screen. The driver checks in at pickup and uploads a photo at
|
|
44
|
+
drop-off, which moves the job to complete. Completion sends the customer a
|
|
45
|
+
tracking link, and the public page reads the same job state.
|
|
46
|
+
|
|
47
|
+
## 8. Data Stores
|
|
48
|
+
|
|
49
|
+
| Store | Holds | src |
|
|
50
|
+
|---|---|---|
|
|
51
|
+
| Primary relational database | jobs, assignments, drivers, customers | proposed |
|
|
52
|
+
| Object storage | proof-of-delivery photos, retained 12 months | stated |
|
|
53
|
+
|
|
54
|
+
## 12. Security
|
|
55
|
+
|
|
56
|
+
Dispatcher and driver sessions are separate roles. The public tracking page is
|
|
57
|
+
reachable only through a single-use link in the delivery email; it exposes the
|
|
58
|
+
delivery status and nothing else about the customer.
|
|
59
|
+
|
|
60
|
+
## 15. Risks & Technical Debt
|
|
61
|
+
|
|
62
|
+
| Risk | Impact | src |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| Depot wifi blackspots delay driver rollout | check-ins queue until signal returns | observed |
|
|
65
|
+
| Overnight shift handover rules are undecided | board state at shift change is unspecified | stated |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Harborline Logistics — Brief
|
|
2
|
+
|
|
3
|
+
Contact: Dale Okonkwo, operations manager (he decides; the owner signs).
|
|
4
|
+
|
|
5
|
+
Harborline runs 18 vans out of a single depot doing same-day regional freight.
|
|
6
|
+
Dispatch is a whiteboard and a phone. Dale says the whiteboard is "fine until
|
|
7
|
+
someone wipes it", and that the office fields 30-40 "where is my delivery" calls
|
|
8
|
+
a day.
|
|
9
|
+
|
|
10
|
+
Discovery call 2026-09-02. Dale is not technical — he asked us twice what "an
|
|
11
|
+
API" was and told us to "write it like you'd write it for my mum". He has never
|
|
12
|
+
bought custom software before.
|
|
13
|
+
|
|
14
|
+
What he asked for, in his words:
|
|
15
|
+
|
|
16
|
+
- "A screen that shows me where every van is supposed to be."
|
|
17
|
+
- "The lads tick off a job on their phone and take a picture of the pallet."
|
|
18
|
+
- "Customers stop ringing us."
|
|
19
|
+
|
|
20
|
+
What he has already ruled out: anything touching invoicing ("the bookkeeper
|
|
21
|
+
would have my head"), and iPhones ("they're all on the company Androids").
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"project": "Harborline Dispatch Portal",
|
|
3
|
+
"currency": "USD",
|
|
4
|
+
"technique": "factor-scored-tiering",
|
|
5
|
+
"depth": "QUICK",
|
|
6
|
+
"calibration": {
|
|
7
|
+
"S": [
|
|
8
|
+
20,
|
|
9
|
+
60
|
|
10
|
+
],
|
|
11
|
+
"M": [
|
|
12
|
+
60,
|
|
13
|
+
160
|
|
14
|
+
],
|
|
15
|
+
"L": [
|
|
16
|
+
160,
|
|
17
|
+
400
|
|
18
|
+
],
|
|
19
|
+
"XL": [
|
|
20
|
+
400,
|
|
21
|
+
800
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"verificationPct": 0.12,
|
|
25
|
+
"exposeRatesToClient": false,
|
|
26
|
+
"components": [
|
|
27
|
+
{
|
|
28
|
+
"id": "dispatch",
|
|
29
|
+
"name": "Dispatch Service"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "driver",
|
|
33
|
+
"name": "Driver App"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "tracking",
|
|
37
|
+
"name": "Customer Tracking"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "billing",
|
|
41
|
+
"name": "Billing Integration",
|
|
42
|
+
"notEstimated": "phase 2, client keeps current invoicing"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"features": [
|
|
46
|
+
{
|
|
47
|
+
"id": "dispatch-board",
|
|
48
|
+
"name": "Dispatcher assigns jobs on a live board",
|
|
49
|
+
"provenance": "stated",
|
|
50
|
+
"component": "dispatch",
|
|
51
|
+
"milestone": "M1 - Dispatch core",
|
|
52
|
+
"tasks": [
|
|
53
|
+
{
|
|
54
|
+
"id": "dispatch-board-band",
|
|
55
|
+
"name": "Dispatcher assigns jobs on a live board",
|
|
56
|
+
"category": "boilerplate",
|
|
57
|
+
"o": 60,
|
|
58
|
+
"m": 110,
|
|
59
|
+
"p": 160,
|
|
60
|
+
"confidence": "LOW",
|
|
61
|
+
"assumptions": [
|
|
62
|
+
"sized from the tier band only"
|
|
63
|
+
],
|
|
64
|
+
"provenance": "proposed"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "driver-checkin",
|
|
70
|
+
"name": "Drivers check in and out from their phone",
|
|
71
|
+
"provenance": "stated",
|
|
72
|
+
"component": "driver",
|
|
73
|
+
"milestone": "M1 - Dispatch core",
|
|
74
|
+
"tasks": [
|
|
75
|
+
{
|
|
76
|
+
"id": "driver-checkin-band",
|
|
77
|
+
"name": "Drivers check in and out from their phone",
|
|
78
|
+
"category": "logic",
|
|
79
|
+
"o": 60,
|
|
80
|
+
"m": 110,
|
|
81
|
+
"p": 160,
|
|
82
|
+
"confidence": "LOW",
|
|
83
|
+
"assumptions": [
|
|
84
|
+
"sized from the tier band only"
|
|
85
|
+
],
|
|
86
|
+
"provenance": "proposed"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "customer-tracking",
|
|
92
|
+
"name": "Customers see where their delivery is",
|
|
93
|
+
"provenance": "proposed",
|
|
94
|
+
"component": "tracking",
|
|
95
|
+
"milestone": "M2 - Customer tracking",
|
|
96
|
+
"tasks": [
|
|
97
|
+
{
|
|
98
|
+
"id": "customer-tracking-band",
|
|
99
|
+
"name": "Customers see where their delivery is",
|
|
100
|
+
"category": "logic",
|
|
101
|
+
"o": 20,
|
|
102
|
+
"m": 40,
|
|
103
|
+
"p": 60,
|
|
104
|
+
"confidence": "LOW",
|
|
105
|
+
"assumptions": [
|
|
106
|
+
"sized from the tier band only"
|
|
107
|
+
],
|
|
108
|
+
"provenance": "proposed"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"risks": [
|
|
114
|
+
{
|
|
115
|
+
"name": "depot wifi blackspots delay driver rollout",
|
|
116
|
+
"probability": 0.3,
|
|
117
|
+
"impactHours": 40
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"assumptions": [
|
|
121
|
+
{
|
|
122
|
+
"text": "one depot, one timezone",
|
|
123
|
+
"impactIfWrong": "recompute board-api at logic category, +30%"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|