@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
|
@@ -162,7 +162,8 @@ in your own words, then copy the feedback block at the bottom back into the chat
|
|
|
162
162
|
<span style="grid-column:14/19">L <b>18–22</b></span>
|
|
163
163
|
<span style="grid-column:19/22">XL <b>23+</b></span>
|
|
164
164
|
</div>
|
|
165
|
-
<p class="spine-note">Each dot is one feature, placed on its total. Click a dot to jump to it; a red dot is one you changed
|
|
165
|
+
<p class="spine-note">Each dot is one feature, placed on its total. Click a dot to jump to it; a red dot is one you changed.
|
|
166
|
+
The score weights tech/size/deps/uncertainty/risk at 20/10/20/30/20, so a 4-4-4-4-4 row reads 20.0, not 20.</p>
|
|
166
167
|
</div>
|
|
167
168
|
|
|
168
169
|
<div id="review"></div>
|
|
@@ -195,7 +196,7 @@ const state = Object.fromEntries(DRAFT.features.map((f) => [f.id, {
|
|
|
195
196
|
|
|
196
197
|
// The number comes from `state`, never from the draft: a select that re-read
|
|
197
198
|
// f.scores[k].n would snap back to the agent's proposal and disagree with the
|
|
198
|
-
//
|
|
199
|
+
// score beside it. The anchor and cite stay the draft's — re-anchoring a changed
|
|
199
200
|
// score is the CLI's job, not the page's — so an edited cell strikes its old
|
|
200
201
|
// evidence through instead of showing it as if it explained the new score.
|
|
201
202
|
const STALE_TITLE = 'rubric sentence changes with the score — re-anchored when the agent reads this back';
|
|
@@ -226,7 +227,7 @@ function rail(f) {
|
|
|
226
227
|
return `<div class="rail">
|
|
227
228
|
<h2>${esc(f.name)}</h2>
|
|
228
229
|
<p class="meta">${esc(f.id)}</p>
|
|
229
|
-
<p class="verdict"><span class="total"
|
|
230
|
+
<p class="verdict"><span class="total">Score <b data-total="${esc(f.id)}">${total}</b></span>
|
|
230
231
|
<span class="tier t-${tier.toLowerCase()}" data-tier="${esc(f.id)}">${tier}</span></p>
|
|
231
232
|
<p class="hint" data-hint="${esc(f.id)}">${hintFor(total)}</p>
|
|
232
233
|
<p class="prov${edited(f) ? ' edited' : ''}" data-prov="${esc(f.id)}">${originText(f)}</p>
|
|
@@ -246,7 +247,7 @@ function band(f) {
|
|
|
246
247
|
function dotsAt(total) {
|
|
247
248
|
return DRAFT.features.filter((f) => tierFor(state[f.id].scores).total === total)
|
|
248
249
|
.map((f) => `<button type="button" class="dot${edited(f) ? ' changed' : ''}" data-goto="${esc(f.id)}"
|
|
249
|
-
title="${esc(f.name)} —
|
|
250
|
+
title="${esc(f.name)} — score ${total}"><span>${esc(f.name)}</span></button>`).join('');
|
|
250
251
|
}
|
|
251
252
|
|
|
252
253
|
function tallyText() {
|
|
@@ -137,8 +137,10 @@ whole estimate UNCALIBRATED.
|
|
|
137
137
|
correctly across a project.
|
|
138
138
|
- Vacanti, *Actionable Agile Metrics for Predictability* — percentile-based
|
|
139
139
|
cycle-time forecasting from historical data, non-normal distributions.
|
|
140
|
-
- Atomic Object (atomicobject.com) —
|
|
141
|
-
|
|
140
|
+
- Atomic Object (atomicobject.com) — risk as probability × impact, and the
|
|
141
|
+
root-sum-of-squares (`√Σσ²`) spread arithmetic. Agentic mode keeps a σ per
|
|
142
|
+
task but builds no project buffer; team mode uses `√Σσ²` only for the price
|
|
143
|
+
spread in `project-price.mjs`.
|
|
142
144
|
- The `1.645` constant is the standard normal 95th-percentile z-score,
|
|
143
145
|
applied in log space to fit a lognormal from `p50`/`p95`.
|
|
144
146
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# AI multipliers — categories as vocabulary, not math
|
|
2
|
+
|
|
3
|
+
Read while assigning a `category` to each task. Defines what each
|
|
4
|
+
AI-speedup category means concretely, and the reasoning that used to keep
|
|
5
|
+
an agent from inventing a project-wide speedup number — now reframed as
|
|
6
|
+
why v2's scoring weights land where they do.
|
|
7
|
+
|
|
8
|
+
**Pricing moved to scores.** `pricing.mjs`'s weighted score and bands
|
|
9
|
+
(`references/scoring-guide.md`, `references/techniques.md`) price every
|
|
10
|
+
STANDARD/DEEP feature; nothing here computes an hour figure or a dollar
|
|
11
|
+
figure any more. `taskHours()`/`aiAdjust()` are gone from
|
|
12
|
+
`estimate-math.mjs` — do not describe a formula that isn't there. The
|
|
13
|
+
categories below survive as **planning vocabulary only**: tagging a task's
|
|
14
|
+
shape for the task table, and a gut-check for `seedMinutes` on an
|
|
15
|
+
uncalibrated agentic shape (`references/agentic-estimation.md`). They no
|
|
16
|
+
longer discount anything.
|
|
17
|
+
|
|
18
|
+
**In AGENTIC delivery mode this model plays no pricing role at all** —
|
|
19
|
+
measurement-based baselines (`references/agentic-estimation.md`) replace
|
|
20
|
+
category scoring entirely; agentic tasks carry a `shape`, not a `category`,
|
|
21
|
+
and `schema.mjs` rejects `category` on an agentic task outright.
|
|
22
|
+
|
|
23
|
+
## 1. Category table
|
|
24
|
+
|
|
25
|
+
| Category | AI speedup range | Example tasks |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| `boilerplate` | 50-80% | CRUD endpoint, DB migration, form scaffold, DTO/type definitions, config wiring, standard test scaffolding |
|
|
28
|
+
| `logic` | 20-40% | validation rules, state machines, pricing/scheduling rules, non-trivial data transforms, API integration glue |
|
|
29
|
+
| `novel` | 0-10% | new algorithm design, novel UX interaction, unfamiliar third-party API with thin docs, performance-critical tuning, security-sensitive design |
|
|
30
|
+
|
|
31
|
+
Pick the category per task, not per feature or per project — a feature that
|
|
32
|
+
mixes a CRUD endpoint (`boilerplate`) with a pricing rule engine (`logic`)
|
|
33
|
+
has tasks in both categories.
|
|
34
|
+
|
|
35
|
+
## 2. Blanket-multiplier prohibition — hard rule, now a weighting rule
|
|
36
|
+
|
|
37
|
+
**Never apply a single AI speedup percentage to a whole project or a whole
|
|
38
|
+
feature.** The reason still holds: a project that is 70% faster on its CRUD
|
|
39
|
+
tasks is not 70% faster overall — the CRUD tasks might be 20% of the total,
|
|
40
|
+
the rest is `logic` and `novel` work AI barely moves the needle on.
|
|
41
|
+
Blending speedup at the project level erases that mix and produces a number
|
|
42
|
+
nobody can defend.
|
|
43
|
+
|
|
44
|
+
v2 encodes this directly in the score weights instead of a per-task
|
|
45
|
+
formula: feature **size** is the lightest weight at 10% (raw volume of code
|
|
46
|
+
is cheap when an agent writes most of it), and **uncertainty** is the
|
|
47
|
+
heaviest at 30% (unclear requirements are not cheap regardless of who
|
|
48
|
+
writes the code). The weights are the fix now, not a per-task calculation —
|
|
49
|
+
see `references/scoring-guide.md` and `references/techniques.md` §2.
|
|
50
|
+
|
|
51
|
+
## Sources
|
|
52
|
+
|
|
53
|
+
- Category definitions and per-category reduction ranges — Kmino,
|
|
54
|
+
*Software Estimation with AI* (kmino.io/blog/software-estimation-with-ai).
|
|
55
|
+
Published practitioner observations, not peer-reviewed data.
|
|
56
|
+
- Blanket-multiplier prohibition — Kmino's caveat, carried forward as the
|
|
57
|
+
reasoning behind v2's asymmetric factor weights.
|
package/plugins/solution-architect/skills/estimate/{references → classic/references}/interview.md
RENAMED
|
@@ -32,7 +32,7 @@ before scope confirmation and before any factor scoring.
|
|
|
32
32
|
| --- | --- | --- |
|
|
33
33
|
| QUICK | feature-level factor-scored tiering only | ±wide |
|
|
34
34
|
| STANDARD | task-level three-point PERT | ± moderate |
|
|
35
|
-
| DEEP | STANDARD
|
|
35
|
+
| DEEP | STANDARD's task-level PERT and scoring, with no shortcuts — every anchor cited, every task assumption named, nothing left as a `?` | ± narrower |
|
|
36
36
|
|
|
37
37
|
## 2b. Delivery mode — assume second, ask only to leave it
|
|
38
38
|
|
|
@@ -41,10 +41,9 @@ before scope confirmation and before any factor scoring.
|
|
|
41
41
|
| AGENTIC (default) | AI coding agents write the code, humans plan and review | measurement-based (`agentic-estimation.md`) |
|
|
42
42
|
| TRADITIONAL | humans write the code | technique menu (`techniques.md`) |
|
|
43
43
|
|
|
44
|
-
Assume **AGENTIC**; ask only "humans writing the code?" as the opt-out
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
interview.
|
|
44
|
+
Assume **AGENTIC**; ask only "humans writing the code?" as the opt-out. A
|
|
45
|
+
client who is hand-writing the code will say so; one who is not should not
|
|
46
|
+
have to answer for it every interview.
|
|
48
47
|
|
|
49
48
|
Write `deliveryMode` into `estimation-inputs.json` either way, explicitly. An
|
|
50
49
|
absent field still reads as traditional, which is what estimates written
|
|
@@ -149,7 +148,7 @@ Ask one thing at a time, in this order:
|
|
|
149
148
|
│ ← PRD §4.2: "reconciliation rules undecided" │
|
|
150
149
|
│ Risk 5 Core infrastructure, compliance requirements, irreversible ops │
|
|
151
150
|
│ ← payments; rubric puts payments at 4–5, chose 5: irreversible │
|
|
152
|
-
│ Σ 19 → L →
|
|
151
|
+
│ Σ 19 → L → $4,000–$10,000 band, point ≈$5,800 │
|
|
153
152
|
│ Why (client): handles payments and two outside services; matching │
|
|
154
153
|
│ rules still to be decided │
|
|
155
154
|
│ accept · change <factor> <n> · why <text> · split │
|
|
@@ -158,8 +157,12 @@ Ask one thing at a time, in this order:
|
|
|
158
157
|
|
|
159
158
|
Rules: the anchor is the guide's full sentence for that factor and score;
|
|
160
159
|
the cite quotes the fact it rests on; no evidence for a factor → the cell
|
|
161
|
-
is `?` and you ask, never a silent 3.
|
|
162
|
-
|
|
160
|
+
is `?` and you ask, never a silent 3. A weighted score within a point of a
|
|
161
|
+
band edge (11.5, 17.5, 22.5) shows `near <tier>` — say so, but don't
|
|
162
|
+
guess which single factor would cross it: weights differ per factor
|
|
163
|
+
(`WEIGHTS` in `pricing.mjs`), so a flat "+1" on any of them no longer
|
|
164
|
+
moves the total by one point. Σ ≥ 22.5 flags `Deep estimate required`
|
|
165
|
+
(`SPLIT into sub-features` instead, when feature size alone scored 5)
|
|
163
166
|
before `accept`; any 5 shows `review`. `Why` is one plain sentence for a
|
|
164
167
|
non-technical reader — what the feature touches and what is still
|
|
165
168
|
unknown; no file names, no factor names, no rubric wording. `split`
|
|
@@ -168,9 +171,10 @@ Ask one thing at a time, in this order:
|
|
|
168
171
|
**Writing it down.** STANDARD/DEEP: every feature gets `scores` (per
|
|
169
172
|
factor `{ n, anchor, cite }`), `scoreNote` (the `Why` sentence) and
|
|
170
173
|
`scoreProvenance` — `proposed` when accepted as offered, `stated` when
|
|
171
|
-
any cell or the note was changed. QUICK:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
+
any cell or the note was changed. QUICK: score for a rough tier only, as
|
|
175
|
+
a gut-check; do not write the scores (`schema.mjs` refuses them at
|
|
176
|
+
QUICK) and do not price the feature — QUICK produces no price
|
|
177
|
+
(`techniques.md` §2).
|
|
174
178
|
|
|
175
179
|
**Ask why.** A changed score keeps a cite that argued for the *old*
|
|
176
180
|
number, so every entry in `--read`'s `needsReason` list is a question you
|
|
@@ -186,30 +190,47 @@ Ask one thing at a time, in this order:
|
|
|
186
190
|
ask twice. A rewritten `Why` sentence needs no reason — it is the
|
|
187
191
|
reviewer's own words.
|
|
188
192
|
|
|
189
|
-
3b. **Tasks + O/M/P** — STANDARD/DEEP only, per `techniques.md` §3.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
193
|
+
3b. **Tasks + O/M/P** — STANDARD/DEEP only, per `techniques.md` §3. Task
|
|
194
|
+
hours feed planning only — they size the roadmap's milestone shares —
|
|
195
|
+
not the price; the feature's score already set that. Nothing here is
|
|
196
|
+
refused and nothing new is written.
|
|
197
|
+
4. **Context factors** — five project-wide multipliers from
|
|
198
|
+
`CONTEXT_FACTORS` in `project-price.mjs` (`codebaseMaturity`,
|
|
199
|
+
`stackFamiliarity`, `specQuality`, `compliance`, `clientDecisions`), each
|
|
200
|
+
a level 1–4 written to `contextLevels` with a matching
|
|
201
|
+
`contextProvenance` entry (`{ level, anchor, cite, source:
|
|
202
|
+
"derived"|"stated" }` — `writing.md` §1). Four are **derived**, never
|
|
203
|
+
asked outright — each arrives as a proposal with its evidence named, and
|
|
204
|
+
the human can override it in review:
|
|
205
|
+
|
|
206
|
+
| Factor | Derived from |
|
|
207
|
+
| --- | --- |
|
|
208
|
+
| `specQuality` | the business-analyst skill's readiness score and status |
|
|
209
|
+
| `compliance` | BA layer 8 (NFRs), plus `ARCHITECTURE.md` §8's PII column |
|
|
210
|
+
| `clientDecisions` | BA layer 2 — the deciders and approvers named for the stakeholders |
|
|
211
|
+
| `codebaseMaturity` | `ARCHITECTURE.md`'s `mode` frontmatter, plus §3, §11 and §15 |
|
|
212
|
+
|
|
213
|
+
One is **asked**: `stackFamiliarity`, a pick-list seeded from
|
|
214
|
+
`ARCHITECTURE.md` §6's tech column ("how familiar is the delivery team
|
|
215
|
+
with each of: <§6 tech list>?" — 1 core stack, done before · 2 adjacent,
|
|
216
|
+
some learning · 3 new to the team · 4 new to the team). Level 1 is the
|
|
217
|
+
familiar, cheapest end (×1.00); a stack new to the team is ×1.35. The
|
|
218
|
+
workbook gives levels 3 and 4 the same words and the same multiplier.
|
|
219
|
+
|
|
220
|
+
Every level of every factor has a definition — the rubric table in
|
|
221
|
+
`references/scoring-guide.md`. The `anchor` is that definition, quoted.
|
|
222
|
+
|
|
223
|
+
**Standalone mode** — no `ARCHITECTURE.md`, no business-analyst
|
|
224
|
+
companion doc — asks all five directly; there is nothing to derive from.
|
|
225
|
+
Context factors are skipped entirely at QUICK depth and in agentic mode
|
|
226
|
+
(`context-schema.mjs`).
|
|
227
|
+
5. **Deadline / constraints** — any hard date or budget ceiling.
|
|
228
|
+
6. **Expose-the-pricing-working** — y/n; sets `exposeRatesToClient`. Default
|
|
229
|
+
no: the client render carries the presented range, the single number and
|
|
230
|
+
the contingency rate, but not the working behind them — the context
|
|
231
|
+
multiplier and the five context levels behind it, the overhead lines, the
|
|
232
|
+
adjusted base, and the tier and price band each feature landed in. Answer yes only when the client has asked to
|
|
233
|
+
see how the number was built and the team is content to show it.
|
|
213
234
|
|
|
214
235
|
## 5. Loop rule
|
|
215
236
|
|
|
@@ -13,11 +13,47 @@ quoted verbatim on a score card, in `estimation-inputs.json`
|
|
|
13
13
|
| Uncertainty | Fully defined spec, clear acceptance criteria, precedent exists | Minor ambiguities, can be resolved with one clarifying question | Some open questions, design decisions to be made during build | Significant unknowns, exploratory work needed, spec may change | Highly experimental, no clear solution path, outcomes unclear |
|
|
14
14
|
| Risk | Fully reversible, no user data, isolated module | Low stakes, easy rollback, minimal user impact | Moderate impact if broken, requires testing, affects multiple users | Payments, auth, data migrations, or PII — high business impact | Core infrastructure, compliance requirements, irreversible operations |
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
Weights (`WEIGHTS` in `pricing.mjs`): tech complexity 20%, dependencies 20%
|
|
17
|
+
and risk 20% carry equal weight; feature size is the lightest at **10%** —
|
|
18
|
+
in agent-assisted delivery, volume of code is cheap; uncertainty is the
|
|
19
|
+
heaviest at **30%** — unclear requirements are not. `weightedScore()`
|
|
20
|
+
computes SUMPRODUCT(scores, weights) × 5, so five 3s score a flat 15.
|
|
21
|
+
|
|
22
|
+
Score → tier → price (`BANDS` in `pricing.mjs`, continuous and interpolated
|
|
23
|
+
inside each band by `pointEstimate()` — two features both tiered M do not
|
|
24
|
+
price the same unless their scores match exactly):
|
|
25
|
+
|
|
26
|
+
| Tier | Score | Price |
|
|
27
|
+
| --- | --- | --- |
|
|
28
|
+
| S | 5–11.5 | $500–$1,500 |
|
|
29
|
+
| M | 11.5–17.5 | $1,500–$4,000 |
|
|
30
|
+
| L | 17.5–22.5 | $4,000–$10,000 |
|
|
31
|
+
| XL | 22.5–25 | $10,000–$25,000 |
|
|
32
|
+
|
|
33
|
+
A card whose weighted score sits close to a band edge (11.5, 17.5, 22.5)
|
|
34
|
+
is near the next tier — say so. A score at or above 22.5 flags `Deep
|
|
35
|
+
estimate required`, or `SPLIT into sub-features` when feature size alone
|
|
36
|
+
scored 5.
|
|
20
37
|
|
|
21
38
|
Provenance: a score the human accepted as the agent proposed it is
|
|
22
39
|
`proposed`; a score the human changed — or a rewritten plain-words note — is
|
|
23
40
|
`stated`. One `scoreProvenance` per feature: `stated` if any cell changed.
|
|
41
|
+
|
|
42
|
+
## Context factors — one level 1–4 per project
|
|
43
|
+
|
|
44
|
+
Five project-wide factors (`CONTEXT_FACTORS` in `project-price.mjs`),
|
|
45
|
+
copied from the v2 workbook's Project Roll-up level definitions (F11:F15).
|
|
46
|
+
Level 1 is always the cheapest end. A factor's `contextProvenance.anchor` is
|
|
47
|
+
the definition of the level chosen, quoted from this table.
|
|
48
|
+
|
|
49
|
+
| Factor | 1 | 2 | 3 | 4 |
|
|
50
|
+
| --- | --- | --- | --- | --- |
|
|
51
|
+
| `codebaseMaturity` | Greenfield | young and clean | mature with history | legacy, low test coverage |
|
|
52
|
+
| `stackFamiliarity` | Core stack, done before | adjacent, some learning | new to the team | new to the team |
|
|
53
|
+
| `specQuality` | Signed-off AC | clear written brief | outline or slide deck | verbal conversation only |
|
|
54
|
+
| `compliance` | None | handles PII | regulated - HIPAA, SOC2, GDPR audit | regulated |
|
|
55
|
+
| `clientDecisions` | One fast approver | two or three | committee sign-off | committee plus external review |
|
|
56
|
+
|
|
57
|
+
The workbook repeats its level-3 words at level 4 for `stackFamiliarity`
|
|
58
|
+
and `compliance`, and gives both levels the same multiplier. The multipliers
|
|
59
|
+
combine additively, capped at ×2.5 — see `CONTEXT_FACTORS` for the numbers.
|
package/plugins/solution-architect/skills/estimate/{references → classic/references}/task-shapes.md
RENAMED
|
@@ -169,5 +169,5 @@ inputs are the agent's own judgment and an unrecognized shape there is a
|
|
|
169
169
|
typo, not evidence.
|
|
170
170
|
|
|
171
171
|
Extending the taxonomy means adding the new shape to `TASK_SHAPES` in
|
|
172
|
-
|
|
172
|
+
`../shared/lib/measurements.mjs` **and** a section to this doc, in the same
|
|
173
173
|
commit — the two must never drift apart.
|
package/plugins/solution-architect/skills/estimate/{references → classic/references}/techniques.md
RENAMED
|
@@ -29,30 +29,38 @@ yet. This is also the technique QUICK depth commits to. Score each feature
|
|
|
29
29
|
- uncertainty
|
|
30
30
|
- risk
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
(
|
|
32
|
+
Weight and sum the five scores per feature — `weightedScore()` in
|
|
33
|
+
`pricing.mjs` computes SUMPRODUCT(scores, weights) × 5 using `WEIGHTS`
|
|
34
|
+
(tech 20%, size 10%, deps 20%, unc 30%, risk 20% — see `scoring-guide.md`
|
|
35
|
+
for why size and uncertainty are weighted asymmetrically). The result
|
|
36
|
+
(5–25) lands in one of four bands (`BANDS` in `pricing.mjs`):
|
|
34
37
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
| Tier | Score | Price |
|
|
39
|
+
| --- | --- | --- |
|
|
40
|
+
| S | 5–11.5 | $500–$1,500 |
|
|
41
|
+
| M | 11.5–17.5 | $1,500–$4,000 |
|
|
42
|
+
| L | 17.5–22.5 | $4,000–$10,000 |
|
|
43
|
+
| XL | 22.5–25 | $10,000–$25,000 |
|
|
44
|
+
|
|
45
|
+
Bands are continuous, not discrete steps: `pointEstimate()` interpolates
|
|
46
|
+
linearly between a band's price floor and ceiling by where the score sits
|
|
47
|
+
inside it, so two features tiered M do not price the same unless their
|
|
48
|
+
scores match. The band **is** the price — nothing downstream converts a
|
|
49
|
+
tier letter, or an hour figure, into money.
|
|
40
50
|
|
|
41
51
|
At STANDARD/DEEP the five scores are persisted on every feature (`scores`,
|
|
42
|
-
`scoreNote`, `scoreProvenance` — `interview.md` §4 step 3) and
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
into an hour figure, so rule 3 (agent judges, script computes) holds even
|
|
55
|
-
at the coarsest depth.
|
|
52
|
+
`scoreNote`, `scoreProvenance` — `interview.md` §4 step 3) and `pricing.mjs`
|
|
53
|
+
prices the feature straight from them. Task-level PERT hours (§3 below) are
|
|
54
|
+
still computed for planning — they size the roadmap's milestone shares —
|
|
55
|
+
but they no longer cross-check or gate the price. Scores are never derived
|
|
56
|
+
from hours, and hours are never derived from scores.
|
|
57
|
+
|
|
58
|
+
At QUICK depth this is the only technique in play: the five factors still
|
|
59
|
+
give a rough tier for a gut-check, but nothing is persisted (`schema.mjs`
|
|
60
|
+
refuses `scores`/`scoreNote`/`scoreProvenance` at QUICK) and no price is
|
|
61
|
+
computed — `compute.mjs` only prices STANDARD/DEEP features. QUICK is
|
|
62
|
+
reconnaissance, not a quote; move to STANDARD once the scope is worth
|
|
63
|
+
pricing.
|
|
56
64
|
|
|
57
65
|
## 3. Three-point PERT
|
|
58
66
|
|
package/plugins/solution-architect/skills/estimate/{references → classic/references}/writing.md
RENAMED
|
@@ -10,11 +10,10 @@ and the exact command sequence from computed numbers to a served page.
|
|
|
10
10
|
|
|
11
11
|
Do not re-derive the shape from prose — read
|
|
12
12
|
`scripts/test/fixtures/booking-inputs.json` and match it field for field:
|
|
13
|
-
top-level `project`, `technique`, `depth`, `calibration`, `
|
|
14
|
-
`
|
|
15
|
-
`
|
|
16
|
-
`
|
|
17
|
-
`m`, `p`, `confidence`, `assumptions`, `provenance`.
|
|
13
|
+
top-level `project`, `technique`, `depth`, `calibration`, `verificationPct`,
|
|
14
|
+
`exposeRatesToClient`, `features` (each with `id`, `name`, `provenance`,
|
|
15
|
+
`tasks`), `risks`, and `assumptions`. Every task carries `id`, `name`,
|
|
16
|
+
`category`, `o`, `m`, `p`, `confidence`, `assumptions`, `provenance`.
|
|
18
17
|
|
|
19
18
|
Add top-level `deliveryMode` — `"agentic"` or `"traditional"` — on every
|
|
20
19
|
estimate you write, even though the field is optional and the booking fixture
|
|
@@ -31,16 +30,39 @@ for a non-technical reader: no file names, factor names or `§`) and a
|
|
|
31
30
|
`scoreProvenance` of `stated` or `proposed`. `schema.mjs` checks the anchor
|
|
32
31
|
against the guide byte for byte. At `QUICK` these fields must be absent.
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
At `STANDARD`/`DEEP`, non-agentic estimates also carry top-level
|
|
34
|
+
`contextLevels` and `contextProvenance` — the five factors from
|
|
35
|
+
`CONTEXT_FACTORS` in `project-price.mjs`: `codebaseMaturity`,
|
|
36
|
+
`stackFamiliarity`, `specQuality`, `compliance`, `clientDecisions`, each an
|
|
37
|
+
integer level 1–4 in `contextLevels`. `contextProvenance` carries one entry
|
|
38
|
+
per factor: `{ "level": <matching contextLevels>, "anchor": "...", "cite":
|
|
39
|
+
"...", "source": "derived"|"stated" }`. The `anchor` is the chosen level's
|
|
40
|
+
definition from the context-factor table in `scoring-guide.md`. Four of the five factors are derived
|
|
41
|
+
from upstream artifacts rather than asked, so each arrives as a proposal
|
|
42
|
+
with its evidence attached, not a silent default, and can be overridden in
|
|
43
|
+
review. `schema.mjs` refuses a factor missing from either object, or whose
|
|
44
|
+
`contextProvenance` level disagrees with `contextLevels`. Both fields are
|
|
45
|
+
skipped at `QUICK` depth and in agentic mode.
|
|
46
|
+
|
|
47
|
+
Optional top-level `recommendedReason` (non-empty string) — free text for
|
|
48
|
+
a judgment call worth explaining to the reader (why AGENTIC over
|
|
49
|
+
TRADITIONAL, why one technique over another, anything else worth a
|
|
50
|
+
sentence). The rendered page shows it verbatim under the summary figures as
|
|
51
|
+
"Approach: …" — not as a recommendation over other options, because there
|
|
52
|
+
are no other options to price. `schema.mjs` neither requires it nor
|
|
53
|
+
validates its content — nothing in `estimation-inputs.json` compares options
|
|
54
|
+
to generate it automatically, so write it only when there is a real call to
|
|
55
|
+
explain.
|
|
56
|
+
`schema.mjs` is the enforced half of this contract (`checkInputs`) — this
|
|
57
|
+
doc is the readable half; if the two ever disagree, the code wins.
|
|
38
58
|
|
|
39
59
|
At `depth: QUICK`, each feature's `tasks` array holds exactly one synthetic
|
|
40
60
|
task carrying the tiering technique's calibration band as its `o`/`m`/`p`
|
|
41
61
|
(mid = the band's midpoint) — see `references/techniques.md` §2. That keeps
|
|
42
62
|
`schema.mjs`'s at-least-one-task rule and `compute.mjs`'s PERT path
|
|
43
|
-
unchanged; QUICK never bypasses the compute pipeline.
|
|
63
|
+
unchanged; QUICK never bypasses the compute pipeline. These calibration
|
|
64
|
+
bands feed task hours for delivery planning only — they never price
|
|
65
|
+
anything; QUICK's price fields stay absent regardless (`techniques.md` §2).
|
|
44
66
|
|
|
45
67
|
Features may each carry an optional `milestone` string (e.g. `"M1 - Booking
|
|
46
68
|
core"`). Milestones are all-or-nothing: if any feature has one, every feature
|
|
@@ -71,25 +93,16 @@ sections, in this order:
|
|
|
71
93
|
| --- | --- | --- | --- |
|
|
72
94
|
| <feature name> | S/M/L | <low>–<high> | stated|proposed |
|
|
73
95
|
|
|
74
|
-
Recommended delivery: <team + AI-assisted summary> — see detail.
|
|
75
|
-
|
|
76
|
-
| Line | Hours |
|
|
77
|
-
| --- | --- |
|
|
78
|
-
| Development | <hours> |
|
|
79
|
-
| Overhead (<pct>%) | <hours> |
|
|
80
|
-
| Risk buffer | <hours> |
|
|
81
|
-
| Estimate-spread buffer | <hours> |
|
|
82
|
-
|
|
83
96
|
### Roadmap
|
|
84
97
|
|
|
85
98
|
(only when features carry milestones — omit the heading entirely otherwise)
|
|
86
99
|
|
|
87
|
-
| Milestone | Features |
|
|
100
|
+
| Milestone | Features | Share |
|
|
88
101
|
| --- | --- | --- |
|
|
89
|
-
| <label> | <feature names> | <
|
|
102
|
+
| <label> | <feature names> | <share>% |
|
|
90
103
|
|
|
91
|
-
|
|
92
|
-
|
|
104
|
+
Bands are relative shares of total effort, not durations. This estimate
|
|
105
|
+
produces no timeline. Ordering: <stated|proposed>.
|
|
93
106
|
|
|
94
107
|
### Assumptions
|
|
95
108
|
|
|
@@ -109,16 +122,23 @@ Technique: <technique name> — <one line on why>.
|
|
|
109
122
|
| --- | --- | --- | --- | --- | --- | --- |
|
|
110
123
|
| <task name> | boilerplate|logic|novel | <o>/<m>/<p> | <e> | HIGH|MED|LOW | <text or "none"> | observed|stated|researched|proposed |
|
|
111
124
|
|
|
112
|
-
###
|
|
125
|
+
### Price
|
|
113
126
|
|
|
114
|
-
|
|
|
115
|
-
| --- | --- |
|
|
116
|
-
|
|
|
127
|
+
| Figure | Value |
|
|
128
|
+
| --- | --- |
|
|
129
|
+
| Presented range | <presentLow> – <presentHigh> |
|
|
130
|
+
| If a single number is required | <singleNumber> |
|
|
131
|
+
| Contingency rate | <contingencyRate> |
|
|
132
|
+
| Implied accuracy | <impliedAccuracy> |
|
|
117
133
|
|
|
118
134
|
### Calibration
|
|
119
135
|
|
|
120
|
-
|
|
121
|
-
|
|
136
|
+
State the band's implied rate: divide the tier's price midpoint by the
|
|
137
|
+
hours actually spent on a comparable delivered feature, and confirm that
|
|
138
|
+
blended rate is defensible. Recalibrate the bands against delivered
|
|
139
|
+
actuals roughly twice a year. Whatever AI leverage the team has is priced
|
|
140
|
+
into the bands already — it is never shown as a client-visible discount;
|
|
141
|
+
it becomes margin instead, and that is deliberate.
|
|
122
142
|
```
|
|
123
143
|
|
|
124
144
|
## 3. Contract rules
|
|
@@ -133,11 +153,12 @@ Structure:
|
|
|
133
153
|
2. Summary must contain an `### Out of scope` heading.
|
|
134
154
|
3. Summary must contain an `### Assumptions` heading whose table has at
|
|
135
155
|
least one row.
|
|
136
|
-
4.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
156
|
+
4. Estimation detail must contain a line matching `/calibration/i`.
|
|
157
|
+
5. The document must not contain a table with a `Scenario` column — the
|
|
158
|
+
price block replaces it (`checkPrice` in `scripts/lib/checks.mjs`).
|
|
159
|
+
6. `computed.price.presentLow` and `presentHigh` must both appear in the
|
|
160
|
+
document as formatted numbers (`Number.toLocaleString('en-US')`) — skipped
|
|
161
|
+
when `computed.price.p50` is `0` (agentic deliverables carry no price).
|
|
141
162
|
|
|
142
163
|
Row-level, on the task table (found by header, needs `Task`, `Confidence`,
|
|
143
164
|
`Assumptions`, `src` columns):
|
|
@@ -175,11 +196,19 @@ Roadmap (mirrors `checkRoadmap` in `scripts/lib/checks.mjs`):
|
|
|
175
196
|
14. Inputs carry milestones → Summary must contain a `### Roadmap` heading
|
|
176
197
|
with a table of at least one row; no milestones → the heading must be
|
|
177
198
|
absent.
|
|
178
|
-
15. The Roadmap section must contain a line matching `/
|
|
179
|
-
— the bands claim
|
|
180
|
-
16. Band numbers come from
|
|
181
|
-
|
|
182
|
-
|
|
199
|
+
15. The Roadmap section must contain a line matching `/relative shares/i`
|
|
200
|
+
— the bands claim relative shares of effort, never durations.
|
|
201
|
+
16. Band numbers come from `computed.roadmap` — covered by the recompute
|
|
202
|
+
rule 12, same as every other number.
|
|
203
|
+
|
|
204
|
+
Deep estimates (mirrors `checkDeepEstimates` in `scripts/lib/checks.mjs`):
|
|
205
|
+
|
|
206
|
+
17. A feature whose `computed.features[<id>].flag` starts with `Deep
|
|
207
|
+
estimate` or `SPLIT` needs either a real task breakdown (two or more
|
|
208
|
+
`inputs` `tasks` — one task is not a breakdown, and every feature
|
|
209
|
+
already has one) or a `deepEstimateWaiver` — a non-empty string
|
|
210
|
+
naming why the band price stands without one (`schema.mjs` refuses a
|
|
211
|
+
bare `true`). Neither present is refused.
|
|
183
212
|
|
|
184
213
|
## 3b. Agentic deliverable additions
|
|
185
214
|
|
|
@@ -202,10 +231,13 @@ skeleton with these additions (mirror
|
|
|
202
231
|
`computed.tasks[*].evidence` — the validator refuses an evidence row whose
|
|
203
232
|
id isn't script-matched, or whose minutes cell doesn't match the matched
|
|
204
233
|
record, so never invent, hand-add, or alter a history row.
|
|
205
|
-
- **Risks table** —
|
|
206
|
-
|
|
207
|
-
Reason`. Every
|
|
208
|
-
|
|
234
|
+
- **Risks table** — `### Risks`, required in the agentic template (mirror
|
|
235
|
+
`agentic-estimation-pass.md` §Risks): `Risk | Probability | Impact (min) |
|
|
236
|
+
Reason`. Every row needs all four cells — `schema.mjs` requires `reason`
|
|
237
|
+
on agentic risks specifically. Team mode's own §2 skeleton carries no
|
|
238
|
+
equivalent section today; `risks` is a required top-level input either
|
|
239
|
+
way (§1), but nothing requires `reason` on a team-mode risk, and nothing
|
|
240
|
+
requires team mode's `estimation.md` to surface the risk register at all.
|
|
209
241
|
- **Calibration nudge** — when any task is UNCALIBRATED or low-sample, the
|
|
210
242
|
detail section's calibration line should point at recording actuals to
|
|
211
243
|
close the loop (see `docs/requirements/record-task.md` — the capture
|
|
@@ -228,7 +260,7 @@ Two modes:
|
|
|
228
260
|
|
|
229
261
|
## 5. Command sequence
|
|
230
262
|
|
|
231
|
-
Run from the
|
|
263
|
+
Run from the classic flow's folder (`plugins/solution-architect/skills/estimate/classic/`).
|
|
232
264
|
`<dir>` is the placement chosen in §4 — the companion location or
|
|
233
265
|
`docs/estimate/`.
|
|
234
266
|
|
|
@@ -241,7 +273,7 @@ Write `<dir>/estimation.md` by hand, following the §2 skeleton, then:
|
|
|
241
273
|
```
|
|
242
274
|
node scripts/validate.mjs --md <dir>/estimation.md --json <dir>/estimation.json
|
|
243
275
|
node scripts/render.mjs --json <dir>/estimation.json --md <dir>/estimation.md --out <dir>/dist/
|
|
244
|
-
node
|
|
276
|
+
node ../../analyze-requirements/scripts/serve.mjs <dir>/
|
|
245
277
|
```
|
|
246
278
|
|
|
247
279
|
`<dir>/dist/` is the one rendered-pages folder — the analyze-requirements viewer
|
|
@@ -2,7 +2,7 @@ import { readFileSync, writeFileSync, mkdirSync } from 'node:fs';
|
|
|
2
2
|
import { dirname } from 'node:path';
|
|
3
3
|
import { checkInputs } from './lib/schema.mjs';
|
|
4
4
|
import { computeEstimation } from './lib/rollup.mjs';
|
|
5
|
-
import { loadMeasurements, resolveMeasurementsPath } from '
|
|
5
|
+
import { loadMeasurements, resolveMeasurementsPath } from '../../shared/lib/measurements.mjs';
|
|
6
6
|
|
|
7
7
|
function parseArgs(argv) {
|
|
8
8
|
const args = {};
|