@v11g/agents-rock 1.0.12 → 1.0.14
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 +23 -5
- package/package.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/README.md +1 -1
- package/plugins/business-analyst/skills/business-analyst/evals/evals.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_data.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_layout.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_page.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_checks.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_render.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/validate.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/quality-gates.test.mjs +1 -1
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-browser.test.mjs +2 -2
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_body.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_flow.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_package.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_xml.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_quotes.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_rules.cpython-314.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_schema.cpython-314.pyc +0 -0
- package/plugins/presales/.claude-plugin/plugin.json +9 -0
- package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/workflow-or-exact-stop.md +1 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/evals.json +5 -5
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/ba-facts-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/ba-package-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/browser.test.mjs +6 -2
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/check-quotes-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/inputs.test.mjs +6 -2
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-config-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-export-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-gen-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/record-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/render.test.mjs +22 -18
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-quotes-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-strategy-cli.test.mjs +5 -1
- package/plugins/{solution-architect → presales}/skills/estimate/README.md +14 -4
- package/plugins/{solution-architect → presales}/skills/estimate/classic/references/writing.md +1 -1
- package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/roadmap.mjs +9 -5
- package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/estimate-math.test.mjs +11 -0
- package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/project-price.test.mjs +10 -0
- package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/xlsx-export.test.mjs +12 -12
- package/plugins/{solution-architect → presales}/skills/estimate/evals/evals.json +1 -1
- package/plugins/presales/skills/estimate/shared/assets/xlsx-export.js +392 -0
- package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/project-price.mjs +6 -4
- package/plugins/presales/skills/estimate/workflow-based/FLOW.md +176 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/assets/estimate-template.html +127 -10
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/assets/estimator-system.xlsx +0 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/assets/score-review.html +164 -27
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/references/linking.md +3 -2
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/build-template.mjs +9 -2
- package/plugins/presales/skills/estimate/workflow-based/scripts/build-workflow-template.mjs +76 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/build-xlsx-template.py +3 -3
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/cites.mjs +60 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/groups.mjs +65 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/page-html.mjs +43 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/page-view.mjs +30 -4
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/rollup.mjs +43 -12
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/schema-components.mjs +17 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/schema.mjs +23 -1
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/score-diff.mjs +6 -1
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/score-html.mjs +23 -4
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/xlsx-group-rows.mjs +20 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/xlsx-rows.mjs +81 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/lib/xlsx-tasks.mjs +25 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/render.mjs +8 -10
- package/plugins/presales/skills/estimate/workflow-based/scripts/score-review.mjs +81 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/cites.js +46 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/effort.css +22 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/effort.mjs +37 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/estimate-page.css +10 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/estimate-page.js +16 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/feature-tasks.js +33 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/lavish.mjs +39 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/template/tasks.css +25 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/view.js +21 -2
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/also-builds-browser.test.mjs +6 -4
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/browser.test.mjs +10 -7
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/build-pages.test.mjs +10 -15
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/build-template.test.mjs +6 -2
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/cites.test.mjs +64 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/cli.test.mjs +1 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/estimator-system.test.mjs +5 -5
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/feature-tasks-browser.test.mjs +39 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/fixtures/inputs-pass.json +8 -8
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/groups-browser.test.mjs +39 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/groups.test.mjs +156 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/link-picker-browser.test.mjs +1 -10
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/open-lavish.test.mjs +54 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/page-html.test.mjs +21 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/pages-browser.test.mjs +25 -21
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/render.test.mjs +5 -5
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/review-effort.test.mjs +104 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/review-lavish.test.mjs +193 -0
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/review-tasks.test.mjs +66 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/rollup.test.mjs +8 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/schema.test.mjs +18 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/score-review.test.mjs +10 -1
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/stage.mjs +16 -8
- package/plugins/presales/skills/estimate/workflow-based/scripts/test/xlsx-rows.test.mjs +110 -0
- package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/validate.mjs +2 -0
- package/plugins/{solution-architect → presales}/skills/new-lead/README.md +1 -1
- package/plugins/{solution-architect → presales}/skills/new-lead/SKILL.md +1 -1
- package/plugins/{solution-architect → presales}/skills/new-lead/evals/evals.json +13 -13
- package/plugins/presales/skills/proposal/README.md +63 -0
- package/plugins/presales/skills/proposal/SKILL.md +91 -0
- package/plugins/presales/skills/proposal/assets/proposal-page.html +156 -0
- package/plugins/presales/skills/proposal/assets/roboto-widths.json +1 -0
- package/plugins/{solution-architect → presales}/skills/proposal/evals/evals.json +22 -22
- package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation-inputs.json +35 -8
- package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation.json +35 -8
- package/plugins/presales/skills/proposal/references/build.md +33 -0
- package/plugins/presales/skills/proposal/references/diagrams.md +123 -0
- package/plugins/presales/skills/proposal/references/interview.md +66 -0
- package/plugins/presales/skills/proposal/references/review.md +41 -0
- package/plugins/{solution-architect → presales}/skills/proposal/references/workflow.md +30 -22
- package/plugins/presales/skills/proposal/references/writing.md +167 -0
- package/plugins/presales/skills/proposal/scripts/build/arrows.mjs +70 -0
- package/plugins/presales/skills/proposal/scripts/build/brand.mjs +43 -0
- package/plugins/presales/skills/proposal/scripts/build/build.mjs +75 -0
- package/plugins/presales/skills/proposal/scripts/build/contents.mjs +42 -0
- package/plugins/presales/skills/proposal/scripts/build/docx-blocks.mjs +102 -0
- package/plugins/presales/skills/proposal/scripts/build/docx-doc.mjs +91 -0
- package/plugins/presales/skills/proposal/scripts/build/docx-inline.mjs +48 -0
- package/plugins/presales/skills/proposal/scripts/build/docx-table.mjs +75 -0
- package/plugins/presales/skills/proposal/scripts/build/figures.mjs +95 -0
- package/plugins/presales/skills/proposal/scripts/build/html.mjs +80 -0
- package/plugins/presales/skills/proposal/scripts/build/layout.mjs +48 -0
- package/plugins/presales/skills/proposal/scripts/build/notes.mjs +30 -0
- package/plugins/presales/skills/proposal/scripts/build/overlap.mjs +57 -0
- package/plugins/presales/skills/proposal/scripts/build/page.mjs +50 -0
- package/plugins/presales/skills/proposal/scripts/build/pdf.mjs +88 -0
- package/plugins/presales/skills/proposal/scripts/build/scope-ids.mjs +10 -0
- package/plugins/presales/skills/proposal/scripts/build/tool.mjs +35 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/derive.mjs +7 -1
- package/plugins/presales/skills/proposal/scripts/diagram/align.mjs +36 -0
- package/plugins/presales/skills/proposal/scripts/diagram/draw.mjs +81 -0
- package/plugins/presales/skills/proposal/scripts/diagram/grid.mjs +90 -0
- package/plugins/presales/skills/proposal/scripts/diagram/icons.mjs +30 -0
- package/plugins/presales/skills/proposal/scripts/diagram/index.mjs +23 -0
- package/plugins/presales/skills/proposal/scripts/diagram/layout.mjs +42 -0
- package/plugins/presales/skills/proposal/scripts/diagram/obstacles.mjs +49 -0
- package/plugins/presales/skills/proposal/scripts/diagram/pack.mjs +101 -0
- package/plugins/presales/skills/proposal/scripts/diagram/route.mjs +129 -0
- package/plugins/presales/skills/proposal/scripts/diagram/steps.mjs +74 -0
- package/plugins/presales/skills/proposal/scripts/diagram/style.mjs +61 -0
- package/plugins/presales/skills/proposal/scripts/diagram/text.mjs +28 -0
- package/plugins/presales/skills/proposal/scripts/lib/bans.mjs +82 -0
- package/plugins/presales/skills/proposal/scripts/lib/checks-client.mjs +74 -0
- package/plugins/presales/skills/proposal/scripts/lib/checks-doc.mjs +78 -0
- package/plugins/presales/skills/proposal/scripts/lib/checks.mjs +44 -0
- package/plugins/presales/skills/proposal/scripts/lib/citations.mjs +45 -0
- package/plugins/presales/skills/proposal/scripts/lib/diagram-spec.mjs +67 -0
- package/plugins/presales/skills/proposal/scripts/lib/figures.mjs +79 -0
- package/plugins/presales/skills/proposal/scripts/lib/load.mjs +42 -0
- package/plugins/presales/skills/proposal/scripts/lib/money.mjs +62 -0
- package/plugins/presales/skills/proposal/scripts/lib/parts.mjs +83 -0
- package/plugins/presales/skills/proposal/scripts/lib/price-source.mjs +74 -0
- package/plugins/presales/skills/proposal/scripts/lib/prose.mjs +55 -0
- package/plugins/presales/skills/proposal/scripts/lib/workbook.mjs +86 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/workflow-checks.mjs +7 -2
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/workflow-cli.mjs +16 -18
- package/plugins/presales/skills/proposal/scripts/lib/workflow-md.mjs +35 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/workflow-view.mjs +3 -3
- package/plugins/presales/skills/proposal/scripts/render.mjs +55 -0
- package/plugins/presales/skills/proposal/scripts/test/acme.mjs +28 -0
- package/plugins/presales/skills/proposal/scripts/test/bans.test.mjs +59 -0
- package/plugins/presales/skills/proposal/scripts/test/build.test.mjs +128 -0
- package/plugins/presales/skills/proposal/scripts/test/diagram.test.mjs +154 -0
- package/plugins/presales/skills/proposal/scripts/test/docs.test.mjs +13 -0
- package/plugins/presales/skills/proposal/scripts/test/e2e.test.mjs +20 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/evals-fixtures.test.mjs +8 -5
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/figures.test.mjs +29 -1
- package/plugins/presales/skills/proposal/scripts/test/fixtures/acme/diagrams/aws-on-neutral.json +60 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/acme/diagrams/booking.json +61 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/acme/proposal-fail.md +49 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/acme/proposal.md +72 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/acme/references.json +5 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/workbook-recalculated.xlsx +0 -0
- package/plugins/presales/skills/proposal/scripts/test/fixtures/workbook-unrecalculated.xlsx +0 -0
- package/plugins/presales/skills/proposal/scripts/test/layout.test.mjs +89 -0
- package/plugins/presales/skills/proposal/scripts/test/parts.test.mjs +112 -0
- package/plugins/presales/skills/proposal/scripts/test/prices.test.mjs +122 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/quality-gates.test.mjs +1 -1
- package/plugins/presales/skills/proposal/scripts/test/steps.test.mjs +38 -0
- package/plugins/presales/skills/proposal/scripts/test/validate.test.mjs +46 -0
- package/plugins/presales/skills/proposal/scripts/test/workbook.test.mjs +76 -0
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/workflow-checks.test.mjs +7 -2
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/workflow-view.test.mjs +15 -10
- package/plugins/{solution-architect → presales}/skills/proposal/scripts/validate.mjs +8 -3
- package/src/cli/install.mjs +18 -2
- package/src/cli/registry.mjs +8 -0
- package/src/cli/targets.mjs +4 -2
- package/src/cli/uninstall.mjs +11 -1
- 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/draft-scope/scripts/__pycache__/docx_body.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_flow.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_package.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/docx_xml.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_quotes.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_rules.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/__pycache__/draft_schema.cpython-312.pyc +0 -0
- package/plugins/solution-architect/.claude-plugin/plugin.json +0 -9
- package/plugins/solution-architect/skills/estimate/shared/assets/xlsx-export.js +0 -336
- package/plugins/solution-architect/skills/estimate/workflow-based/FLOW.md +0 -91
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimate-components.html +0 -1058
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-components-template.mjs +0 -80
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-workflow-template.mjs +0 -51
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/page-html.mjs +0 -44
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/xlsx-rows.mjs +0 -51
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/score-review.mjs +0 -46
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/xlsx-rows.test.mjs +0 -58
- package/plugins/solution-architect/skills/proposal/README.md +0 -51
- package/plugins/solution-architect/skills/proposal/SKILL.md +0 -69
- package/plugins/solution-architect/skills/proposal/assets/proposal-template.html +0 -82
- package/plugins/solution-architect/skills/proposal/assets/proposal-workflow.html +0 -143
- package/plugins/solution-architect/skills/proposal/references/interview.md +0 -60
- package/plugins/solution-architect/skills/proposal/references/review.md +0 -40
- package/plugins/solution-architect/skills/proposal/references/writing.md +0 -104
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +0 -58
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +0 -64
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +0 -21
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-body.mjs +0 -42
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-package.mjs +0 -56
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-xml.mjs +0 -44
- package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +0 -34
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-html.mjs +0 -39
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-page.mjs +0 -30
- package/plugins/solution-architect/skills/proposal/scripts/render.mjs +0 -64
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +0 -147
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +0 -152
- package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +0 -57
- package/plugins/solution-architect/skills/proposal/scripts/test/docx.test.mjs +0 -68
- package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +0 -30
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +0 -27
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +0 -51
- package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +0 -70
- package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +0 -41
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-browser.test.mjs +0 -96
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-docs.test.mjs +0 -25
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-render.test.mjs +0 -75
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/case.yaml +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/fixture.sh +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/graders/inputs-written.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/graders/no-proposal-md.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/graders/skill-fired.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/graders/validate-then-render.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/proposal-workflow/prompt.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/case.yaml +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/fixture.sh +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/graders/no-classic-fallback.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/graders/nothing-written.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/graders/skill-fired.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/graders/stops-at-gate.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-gate-no-architecture/prompt.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/case.yaml +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/fixture.sh +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/no-estimation-md.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/pages-or-stop.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/routed-to-workflow.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/skill-fired.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/graders/three-questions-max.md +0 -0
- /package/plugins/{solution-architect → presales}/evals/workflow-happy-path/prompt.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/README.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/SKILL.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/OFL.txt +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/mermaid-theme.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/section-help.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/assets/viewer-template.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/fixtures/ba-package-citations/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/fixtures/ba-package-citations/requirements.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/fixtures/transcript-citations/C1-kickoff-call.txt +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/evals/fixtures/transcript-citations/E1-intro-email.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/extract.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/interview.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/likec4.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/project-types.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/quality-goals.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/research.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/rewriting.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/viewer.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/references/writing.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/ba-facts.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/check-quotes.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/drift.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/ba-package.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/cdp.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/chrome.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/companion-links.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/doc-kinds.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/doc-links.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/doc-routes.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/doc-sections.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/drift.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/embed.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/er-entities.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/fonts.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/frontmatter.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/git-diff.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/inputs.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/likec4-config.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/likec4-extract.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/likec4-steps.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-defs.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-flows.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-inline.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-links.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-list.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-render.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-shape.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-tables.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-views.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/md-wide.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/nav.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/offline.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/port.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/quality-gate.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/section-help.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/slug-registry.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/state.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/strategy-sections.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-clusters.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-deployment.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-elections.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-links.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-model-tables.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-palette.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-provenance.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-quotes.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-strategy.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/lib/validate-tree.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/likec4-config.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/likec4-export.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/likec4-gen.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/record.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/render.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/serve.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/ba-package.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/companion-links.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/doc-kinds.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/doc-links.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/doc-routes.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/doc-sections.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/drift.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/embed.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/er-entities.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/extract-workflow.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/c4-src/broken/model.c4 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/c4-src/pass/model.c4 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/adr/0001-sample.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/estimate.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/estimation.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/model-broken.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/model.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/docs-pass/threat-model.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/sample-model.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fixtures/sample.c4 +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/fonts.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/frontmatter.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/git-diff.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-config.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-extract.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/likec4-steps.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-flows.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-links.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-provenance.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-render.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-tables.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-views.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/md-wide.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/nav.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/offline.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/quality-gates.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/research-workflow.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/rewriting.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/section-help.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/serve.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/state.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-clusters.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-deployment.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-elections.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-links.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-model-tables.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-provenance.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-quotes.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-strategy.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/validate-tree.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/test/viewer-template.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/scripts/validate.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/workflows/extract.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/analyze-requirements/workflows/research.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/SKILL.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/FLOW.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/assets/estimate-template-agentic.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/assets/estimate-template.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/assets/scores-review-template.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/agentic-estimation.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/ai-multipliers.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/interview.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/scoring-guide.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/slicing.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/task-shapes.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/references/techniques.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/compute.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/agentic-checks.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/checks.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/components.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/md-tables.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/redact.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/rollup.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/schema.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/score-csv.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/score-html.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/lib/scoring-checks.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/render.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/score-review.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/baselines.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/browser-agentic.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/browser.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/compute.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/e2e.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/agentic-estimation-fail.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/agentic-estimation-pass.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/agentic-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/booking-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/estimation-fail.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/estimation-pass.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/fixtures/measurements.jsonl +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/measurements.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/pricing.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/quality-gates.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/references.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/render.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/schema.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/score-review.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/scoring.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/url-state.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/validate.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/zip-store.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/test/zip.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/classic/scripts/validate.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/agentic-task-schema.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/baselines.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/context-schema.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/estimate-math.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/inline.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/measurements.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/pricing.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/score-diff.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/scoring-schema.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/scoring.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/shared/lib/zip.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/references/hidden-work-by-type.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/compute.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/pair-findings.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/lib/requirements.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/also-builds.css +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/also-builds.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/arch-link.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/click.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/link-picker.css +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/link-picker.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/template/prelude.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/fixtures/ARCHITECTURE-mini.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/fixtures/feedback.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/fixtures/measurements.jsonl +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/fixtures/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/page-view.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/quality-gates.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/requirements.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/estimate/workflow-based/scripts/test/workflow-script.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/dashboard/detail.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/dashboard/index.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/dashboard/start.sh +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/dashboard/stats.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/dashboard/vendor/reactflow-bundle.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/vendor-build/entry.jsx +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/vendor-build/package-lock.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/assets/vendor-build/package.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/init-root.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lead-upsert.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lib/enrich.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lib/map-nodes.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lib/map.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lib/port.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/lib/registry.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/serve.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/e2e-workspace.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/enrich.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/index.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/proposal-non-tech.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/threat-model.html +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/estimation-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/estimation.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/notes.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/proposal-non-tech.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/rfp.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/fixtures/root/leads.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/init-root.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/lead-upsert.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/map.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/port.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/registry-io.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/registry.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/serve.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/stats.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/validate-cli.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/test/vendor-bundle.test.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/new-lead/scripts/validate.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/measurements.jsonl +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/requirements.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/jargon.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/sections.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/scripts/lib/workflow-lead.mjs +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/fixtures/proposal-inputs-pass.json +0 -0
- /package/plugins/{solution-architect → presales}/skills/proposal/scripts/test/workflow-stage.mjs +0 -0
- /package/plugins/{solution-architect → presales}/workflows/review-links.js +0 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# estimate — workflow mode
|
|
2
|
+
|
|
3
|
+
You are here because `requirements.json#scopeMode` is `"workflow"`. The
|
|
4
|
+
business-analyst package already holds the systems, to-be workflows and
|
|
5
|
+
features the PO confirmed. Your job: price those features, link each to
|
|
6
|
+
the components that build it, and get an engineer's scores.
|
|
7
|
+
|
|
8
|
+
Paths below are relative to this folder (`estimate/workflow-based/`);
|
|
9
|
+
run the scripts from here.
|
|
10
|
+
|
|
11
|
+
## Hard rules
|
|
12
|
+
|
|
13
|
+
1. Features carry ids and scores only. Names, systems and steps come from
|
|
14
|
+
`requirements.json`; never copy them into `estimation-inputs.json`.
|
|
15
|
+
2. Components carry the work: `builds[{ feature, why }]`, `milestone`,
|
|
16
|
+
agentic `tasks`. A feature's milestone is derived, never written.
|
|
17
|
+
3. Agent judges, script computes: every number comes from
|
|
18
|
+
`scripts/compute.mjs`. `scripts/validate.mjs` must exit 0.
|
|
19
|
+
4. This mode is agentic + STANDARD. Do not ask about depth or delivery.
|
|
20
|
+
5. Three questions, no more: the architecture gate, the score review, and
|
|
21
|
+
the closing "anything to change?".
|
|
22
|
+
|
|
23
|
+
## Flow
|
|
24
|
+
|
|
25
|
+
1. **Gates.** Stop with the message if any fails. A stop is the message and
|
|
26
|
+
one line on what passed: no other questions, no offer to run classic
|
|
27
|
+
instead, no review of the documents.
|
|
28
|
+
- no `ARCHITECTURE.md` in the lead folder → "Workflow mode needs the
|
|
29
|
+
architecture document. Run it first."
|
|
30
|
+
- the `Workflow` tool is not in your tool list → "Workflow mode needs
|
|
31
|
+
dynamic workflows for the link review. Turn them on in /config
|
|
32
|
+
(Dynamic workflows), then run /estimate again."
|
|
33
|
+
- **Q1** (AskUserQuestion): "Components come from ARCHITECTURE.md §6.
|
|
34
|
+
Has a human reviewed that document?" — no → stop.
|
|
35
|
+
2. **Setup.** Write `scopeMode: "workflow"`, `requirements` (relative path
|
|
36
|
+
to the package), `deliveryMode: "agentic"`, `depth: "STANDARD"`,
|
|
37
|
+
`agentContext: { agent, model }` from the session you are running in,
|
|
38
|
+
`project` = the lead name. Write `assumptions` from the package's ASM-
|
|
39
|
+
and Q- items (`source` = that id); anything you add gets `source: "new"`.
|
|
40
|
+
3. **Link.** Read `references/linking.md` (core rubric). For every feature,
|
|
41
|
+
write `components[].builds` with a `why` per link. Components are §6
|
|
42
|
+
rows; `parent` = their container; a container with no components may
|
|
43
|
+
build features itself.
|
|
44
|
+
4. **Review.** Run the `review-links` workflow (`/review-links` when
|
|
45
|
+
installed via npx, `/presales:review-links` as a plugin) with
|
|
46
|
+
`args = { inputs, architecture, requirements, linking }` (absolute
|
|
47
|
+
paths). Apply the returned findings (add/drop links, fix tasks named
|
|
48
|
+
under "task"). One cycle; do not re-run.
|
|
49
|
+
5. **Tasks.** Tasks come before scores: they are the evidence the scores
|
|
50
|
+
cite. Break each feature down by its workflow steps and branches, the
|
|
51
|
+
failure path included: one task per step for each component that step
|
|
52
|
+
touches. For every component that builds something: agentic tasks
|
|
53
|
+
(`shape` from `../classic/references/task-shapes.md`, `scope`,
|
|
54
|
+
`seedMinutes`), `features`, the features this task serves, taken from
|
|
55
|
+
the component's `builds` (work shared by several features stays one task
|
|
56
|
+
that lists them all), and `source`, where the work comes from: a workflow
|
|
57
|
+
step in the package's own form (`WF-002:Pack`, a step or a branch target),
|
|
58
|
+
a requirement or rule id (`FR-002`, `BR-001`), or `"new"` for work the
|
|
59
|
+
package never names (add an assumption saying why). Every feature the
|
|
60
|
+
component builds needs at least one task. Add a
|
|
61
|
+
`milestone` ("M1 - <name>", ordered). Components
|
|
62
|
+
that build nothing get `notEstimated` with a reason. Write
|
|
63
|
+
`exclusions` — the commercial items the price leaves out that the BA scope
|
|
64
|
+
does not name (hosting and subscriptions, post-launch support, security
|
|
65
|
+
testing, hardware), one sentence each.
|
|
66
|
+
6. **Score.** Five scores per feature, read off its tasks: a cite each plus
|
|
67
|
+
`tasks`, the ids of the tasks that score rests on. Tech cites the hard
|
|
68
|
+
tasks, Size all of them, Deps those on other components, Uncertainty every
|
|
69
|
+
`"new"` task and those resting on open questions; Risk cites the goal or
|
|
70
|
+
requirement at stake and may cite tasks. Hours are evidence, never a
|
|
71
|
+
formula: no score is computed from them. Plus `scoreNote`
|
|
72
|
+
and `scoreProvenance: "proposed"` (`../classic/references/scoring-guide.md`
|
|
73
|
+
anchors verbatim). Context factors: derive four as the classic interview
|
|
74
|
+
does (`../classic/references/interview.md` §4); `stackFamiliarity` is level 1
|
|
75
|
+
with cite "not assessed — adjust in the exported workbook".
|
|
76
|
+
`validate.mjs` refuses a source or a cited task that does not resolve,
|
|
77
|
+
and warns when a task has no source or a score cites no task.
|
|
78
|
+
7. **Score review (Q2).** `node scripts/score-review.mjs --write
|
|
79
|
+
estimation-inputs.json --out <lead>/dist/score-review.html` writes the page
|
|
80
|
+
and opens it in Lavish (the lavish-axi CLI, run through `npx`; no Lavish
|
|
81
|
+
skill needed) so the engineer can ask about
|
|
82
|
+
any card in the page. This holds every time the page is written, in or
|
|
83
|
+
out of a full run: a bare "regenerate the score review" still ends in
|
|
84
|
+
Lavish with the poll running. `--no-open` is for tests only. Run every
|
|
85
|
+
lavish-axi command as `npx -y lavish-axi@0.1.97`,
|
|
86
|
+
including the ones its output suggests: the page relies on that version.
|
|
87
|
+
`export LAVISH_AXI_TELEMETRY=0` first (it covers every command), then wait with `npx -y
|
|
88
|
+
lavish-axi@0.1.97 poll <file>` as a background job that wakes you when it
|
|
89
|
+
returns (Claude Code: `run_in_background`); with no such job, run it in
|
|
90
|
+
the foreground and re-run it each time it times out. The page sits beside
|
|
91
|
+
the architecture viewer so its C2/C3 links open. Each card holds the
|
|
92
|
+
feature's task table and hours beside its scores; each score shows its
|
|
93
|
+
cite and the tasks it rests on, and new work Uncertainty does not cite is
|
|
94
|
+
flagged.
|
|
95
|
+
Lavish keeps no score edits across a reload, so never rewrite the page
|
|
96
|
+
while the engineer is still scoring.
|
|
97
|
+
- A note on a card is a question: answer it with `poll <file>
|
|
98
|
+
--agent-reply "…"`, which answers and keeps waiting.
|
|
99
|
+
- The page's Finish button sends the engineer's final scores as a
|
|
100
|
+
`score-feedback` note (the JSON follows its `Context data:` line). That
|
|
101
|
+
ends the review: in one `reply <file> --agent-reply "…"` answer any card
|
|
102
|
+
notes that came with it and say what changed (n scores, m links), then
|
|
103
|
+
`end <file>`, fold the JSON in as below and go on to step 8. Ask nothing.
|
|
104
|
+
- A session ended with Lavish's Send & End and no `score-feedback` note
|
|
105
|
+
carried no scores: say so, and reopen with `--reopen` only if the
|
|
106
|
+
engineer asks.
|
|
107
|
+
|
|
108
|
+
No Node 22, or Lavish fails to start: serve the page with the
|
|
109
|
+
analyze-requirements `serve.mjs`, give the URL, and the engineer pastes
|
|
110
|
+
the feedback in chat.
|
|
111
|
+
|
|
112
|
+
**Fold in.** Save the JSON, `node scripts/score-review.mjs --read
|
|
113
|
+
feedback.json --inputs estimation-inputs.json`, apply `features`,
|
|
114
|
+
`components`. Then:
|
|
115
|
+
- `needsReason` (a moved score with no reason): through Lavish, do not
|
|
116
|
+
ask; rewrite that score's cite from the engineer's notes on that card,
|
|
117
|
+
else "set by the engineer in the score review (was <n>)". Pasted
|
|
118
|
+
without Lavish: ask once in chat why.
|
|
119
|
+
- `asks`: propose a component from §6 (or a new one, marked proposed) and
|
|
120
|
+
redo steps 3–6 for that feature only.
|
|
121
|
+
- `tasksToReview` (Tech, Size or Uncertainty moved): read the reason or
|
|
122
|
+
the notes on that card; if they say the work is bigger, smaller or
|
|
123
|
+
different, change that feature's tasks. Otherwise leave them.
|
|
124
|
+
- a link added: write a task on that component serving the feature, with
|
|
125
|
+
its `source`, and cite it from the scores it changes.
|
|
126
|
+
- a link removed: drop the feature from that component's tasks; a task
|
|
127
|
+
left serving nothing goes, and so do its cites on that feature's scores.
|
|
128
|
+
A component left building nothing gets `notEstimated` with a reason.
|
|
129
|
+
8. **Compute.** `node scripts/compute.mjs --inputs estimation-inputs.json --out estimation.json`
|
|
130
|
+
9. **Validate.** `node scripts/validate.mjs --inputs estimation-inputs.json --json estimation.json` → exit 0.
|
|
131
|
+
10. **Render + serve.** `node scripts/render.mjs --inputs estimation-inputs.json
|
|
132
|
+
--json estimation.json --out <lead>/dist` writes `estimate.html` (the
|
|
133
|
+
price, each feature's tasks, the components that build nothing and the
|
|
134
|
+
xlsx download) beside the architecture viewer; it re-runs
|
|
135
|
+
validation and refuses on findings. Serve `<lead>/dist` with the
|
|
136
|
+
analyze-requirements `serve.mjs`.
|
|
137
|
+
11. **Close (Q3).** AskUserQuestion: "Estimate ready: <presented range>.
|
|
138
|
+
<n> features, <m> components, milestones <list>. Assumptions: <k> (<j>
|
|
139
|
+
from the BA package, <k−j> new). Page: <url>/estimate.html. Anything
|
|
140
|
+
to change?" Options: Done ·
|
|
141
|
+
Change a score or a link · Add a component · Open the review page again.
|
|
142
|
+
A change → edit → steps 8–10 → ask again. The page is internal; the
|
|
143
|
+
client gets the proposal.
|
|
144
|
+
|
|
145
|
+
## Feature groups (optional)
|
|
146
|
+
|
|
147
|
+
Use groups when the BA package splits main features into many small ones, so
|
|
148
|
+
pricing each on its own overstates the build. `requirements.json` keeps every
|
|
149
|
+
feature; only the estimate groups them. In `estimation-inputs.json`:
|
|
150
|
+
|
|
151
|
+
- `featureGroups[]`: `{ id: "GRP-01", name, members: [FEAT ids], scoreNote,
|
|
152
|
+
scoreProvenance, scores }`. `scores` has the five factors with `n`,
|
|
153
|
+
`anchor` (verbatim from the scoring guide) and `cite`, exactly as a feature
|
|
154
|
+
carries them without groups.
|
|
155
|
+
- Every feature in `features[]` belongs to exactly one group and carries no
|
|
156
|
+
`scores`, `scoreNote` or `scoreProvenance` of its own. Component `builds`
|
|
157
|
+
stay per feature.
|
|
158
|
+
- Each group is scored and priced once. The project roll-up counts groups,
|
|
159
|
+
not features, so cross-feature integration and contingency come from the
|
|
160
|
+
groups. `estimation.json` gets `computed.groups` (price, tier, members,
|
|
161
|
+
latest member milestone, components). Grouped features name their
|
|
162
|
+
`group` and carry no price.
|
|
163
|
+
- The estimate page shows a Feature groups card with each group's members.
|
|
164
|
+
The workbook has one row per group.
|
|
165
|
+
- Score groups instead of features in step 6. `score-review.mjs` refuses a
|
|
166
|
+
grouped estimate, so skip step 7; settle the scores outside the page (for
|
|
167
|
+
example, a two-agent scoring debate). Steps 8–10 run unchanged.
|
|
168
|
+
|
|
169
|
+
Without `featureGroups`, everything prices exactly as described above.
|
|
170
|
+
|
|
171
|
+
## Not asked, and why
|
|
172
|
+
|
|
173
|
+
Depth, delivery mode, agent/model, scope confirm, milestones, review
|
|
174
|
+
channel, task approval, stack familiarity, deadline/budget, show pricing
|
|
175
|
+
working: each is fixed, derived, PO-confirmed already, or shown in Q3.
|
|
176
|
+
See the spec's §2 table.
|
|
@@ -184,6 +184,41 @@ textarea, input, select { font-size:.92rem; }
|
|
|
184
184
|
@media (prefers-color-scheme:dark) { :root:not([data-theme="light"]) { color-scheme:dark; } }
|
|
185
185
|
:root[data-theme="dark"] { color-scheme:dark; }
|
|
186
186
|
select option, select optgroup { background:var(--sheet); color:var(--ink); }
|
|
187
|
+
/* the task table per feature, and the links between a score and the tasks it cites (score review and estimate page) */
|
|
188
|
+
details.tasks { margin-top:.7rem; border:1px solid var(--grid); border-radius:.3rem; background:var(--paper); }
|
|
189
|
+
details.tasks summary { cursor:pointer; padding:.45rem .7rem; font-size:.76rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-dim); }
|
|
190
|
+
details.tasks summary:hover { color:var(--ink); }
|
|
191
|
+
details.tasks table { width:100%; border-collapse:collapse; font-size:.8rem; }
|
|
192
|
+
details.tasks th { text-align:left; font-size:.68rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-dim); padding:.3rem .7rem; border-top:1px solid var(--rule); }
|
|
193
|
+
details.tasks td { padding:.35rem .7rem; border-top:1px solid var(--grid); vertical-align:top; }
|
|
194
|
+
details.tasks .r { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
|
|
195
|
+
details.tasks td .dim { font-size:.72rem; }
|
|
196
|
+
.conf { font-size:.7rem; font-weight:700; } .conf.c-LOW { color:var(--mark); } .conf.c-MED { color:var(--hi-line); } .conf.c-HIGH { color:var(--ok); }
|
|
197
|
+
details.tasks td.n { color:var(--ink-dim); width:2.2rem; } details.tasks td.box { color:var(--ink-dim); font-size:.76rem; white-space:nowrap; }
|
|
198
|
+
details.tasks .step { display:inline-block; font-size:.68rem; color:var(--ink-dim); border:1px solid var(--rule); border-radius:.2rem; padding:0 .3rem; margin-right:.35rem; white-space:nowrap; text-transform:none; letter-spacing:0; }
|
|
199
|
+
details.tasks .step.new { color:var(--hi-line); border-color:var(--hi-line); }
|
|
200
|
+
details.tasks summary .warn, .fwarn { color:var(--hi-line); font-weight:700; text-transform:none; letter-spacing:0; }
|
|
201
|
+
details.tasks tbody tr { transition:background-color .12s var(--ease), box-shadow .12s var(--ease); }
|
|
202
|
+
details.tasks tbody tr.lit { background:var(--hl-bg); box-shadow:inset 3px 0 0 var(--hi-line); }
|
|
203
|
+
details.tasks tbody tr.flash { animation:rowflash 1.3s ease-out; }
|
|
204
|
+
@keyframes rowflash { 0%, 35% { background:var(--hl-bg); box-shadow:inset 3px 0 0 var(--hi-line); } }
|
|
205
|
+
.factor { transition:opacity .15s var(--ease); } .factor.fade { opacity:.35; }
|
|
206
|
+
.cites { display:flex; flex-wrap:wrap; gap:.2rem; margin-top:.35rem; }
|
|
207
|
+
.cite { font:inherit; font-size:.7rem; font-weight:600; padding:0 .4rem; border:1px solid var(--rule); border-radius:.8rem; background:var(--paper); color:var(--ink); cursor:pointer; font-variant-numeric:tabular-nums; }
|
|
208
|
+
.cite:hover, .cite:focus-visible, .cite.lit { background:var(--hl-bg); border-color:var(--hi-line); }
|
|
209
|
+
.cite.gone { text-decoration:line-through; color:var(--ink-dim); cursor:default; }
|
|
210
|
+
.fwarn { font-size:.7rem; margin-top:.3rem; }
|
|
211
|
+
@media (prefers-reduced-motion:reduce) { details.tasks tbody tr, .factor { transition:none; } details.tasks tbody tr.flash { animation:none; } }
|
|
212
|
+
/* one estimate page: the tokens tasks.css needs, the workbook reminder, the idle components */
|
|
213
|
+
:root { --hl-bg:color-mix(in srgb, var(--hi-line) 13%, var(--sheet)); --ease:cubic-bezier(.2,0,0,1); }
|
|
214
|
+
.btn.primary { background:var(--ink); color:var(--sheet); border-color:var(--ink); }
|
|
215
|
+
.quiet { font-size:.8rem; color:var(--ink-dim); }
|
|
216
|
+
dialog { border:1px solid var(--rule); background:var(--sheet); color:var(--ink); padding:1rem 1.2rem; box-shadow:0 18px 60px #0006; border-radius:.4rem; }
|
|
217
|
+
dialog::backdrop { background:rgb(10 14 18 / .45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
|
|
218
|
+
.dlg-foot { display:flex; justify-content:flex-end; align-items:center; gap:.5rem; margin-top:.8rem; border-top:1px solid var(--rule); padding-top:.8rem; }
|
|
219
|
+
tr.ftasks > td { border-top:0; padding-top:0; }
|
|
220
|
+
tr.ftasks details.tasks { margin-top:0; }
|
|
221
|
+
#idle-list li { margin:.2rem 0; }
|
|
187
222
|
</style>
|
|
188
223
|
</head>
|
|
189
224
|
<body>
|
|
@@ -194,7 +229,6 @@ select option, select optgroup { background:var(--sheet); color:var(--ink); }
|
|
|
194
229
|
<p class="sub" id="subline"></p>
|
|
195
230
|
</div>
|
|
196
231
|
<div class="head-ctl">
|
|
197
|
-
<nav class="view pages" aria-label="Estimate view"><a href="estimate.html" aria-current="page">Workflow-based</a><a href="estimate-components.html">Component-based</a></nav>
|
|
198
232
|
<button class="btn" id="theme" type="button">Dark</button>
|
|
199
233
|
</div>
|
|
200
234
|
</div>
|
|
@@ -211,17 +245,18 @@ select option, select optgroup { background:var(--sheet); color:var(--ink); }
|
|
|
211
245
|
<p class="sec-lead">The price for this scope, stated once. Lead with the range; if a single fixed number is unavoidable, quote the confident figure.</p>
|
|
212
246
|
<div class="headline" id="headline"></div>
|
|
213
247
|
<div class="buildup internal" id="buildup"></div>
|
|
248
|
+
<p class="internal"><button class="btn primary" id="xlsx" type="button" title="every feature as the v2 estimator workbook">↓ Download xlsx</button> <span class="quiet">Adjust stack familiarity or any score in the workbook; it reprices itself.</span></p>
|
|
214
249
|
</section>
|
|
215
250
|
|
|
216
251
|
<section class="card" id="systems">
|
|
217
252
|
<h2>By system</h2>
|
|
218
|
-
<p class="sec-lead">The systems and workflows the PO confirmed. The price is quoted for the whole project and per milestone, not per system: shared features such as notifications serve several systems at once. <span class="internal">
|
|
253
|
+
<p class="sec-lead">The systems and workflows the PO confirmed. The price is quoted for the whole project and per milestone, not per system: shared features such as notifications serve several systems at once. <span class="internal">Each feature's tasks and hours fold open under it in Workflows & features.</span></p>
|
|
219
254
|
<div class="systems" id="syscards"></div>
|
|
220
255
|
</section>
|
|
221
256
|
|
|
222
257
|
<section class="card" id="breakdown">
|
|
223
258
|
<h2>Workflows & features</h2>
|
|
224
|
-
<p class="sec-lead">Every feature sits on the workflow step it serves. Hover a diagram box or a feature to see the connections; click to pin them. <span class="internal">
|
|
259
|
+
<p class="sec-lead">Every feature sits on the workflow step it serves. Hover a diagram box or a feature to see the connections; click to pin them. <span class="internal">Open a feature's tasks to see the work behind its price.</span></p>
|
|
225
260
|
<div id="blocks"></div>
|
|
226
261
|
</section>
|
|
227
262
|
|
|
@@ -237,6 +272,12 @@ select option, select optgroup { background:var(--sheet); color:var(--ink); }
|
|
|
237
272
|
<div class="twocol"><div><h3>Assumptions</h3><ul id="assume"></ul></div><div><h3>Exclusions</h3><ul id="exclude"></ul></div></div>
|
|
238
273
|
</section>
|
|
239
274
|
|
|
275
|
+
<section class="card internal hide" id="idle">
|
|
276
|
+
<h2>Components that build no feature</h2>
|
|
277
|
+
<p class="sec-lead">In the architecture, outside this price; each says why.</p>
|
|
278
|
+
<ul id="idle-list"></ul>
|
|
279
|
+
</section>
|
|
280
|
+
|
|
240
281
|
<section class="card internal" id="method">
|
|
241
282
|
<h2>Method</h2>
|
|
242
283
|
<p class="sec-lead">Estimator v2: five weighted scores per feature price it on continuous bands; the project roll-up adds the work feature scoring never captures.</p>
|
|
@@ -249,12 +290,15 @@ select option, select optgroup { background:var(--sheet); color:var(--ink); }
|
|
|
249
290
|
|
|
250
291
|
<div class="pinbar hide" id="pinbar" role="status">
|
|
251
292
|
<span>📌</span><div class="pin-txt"><b id="pinLabel"></b><small id="pinCount"></small></div>
|
|
252
|
-
<a class="btn internal hide" id="pinFeat" href="#">Hours & tasks on Component-based page →</a>
|
|
253
293
|
<button class="btn" id="pinPrev" type="button" title="Previous (k)">↑</button>
|
|
254
294
|
<button class="btn" id="pinNext" type="button" title="Next (j)">↓ Next</button>
|
|
255
295
|
<button class="btn" id="pinClear" type="button" title="Esc">Clear</button>
|
|
256
296
|
</div>
|
|
257
297
|
|
|
298
|
+
<dialog id="xlsx-remind" aria-labelledby="xlsx-remind-title" style="max-width:32rem"><p><b id="xlsx-remind-title">Review the Project Roll-up tab</b></p>
|
|
299
|
+
<p>The workbook's last tab, Project Roll-up, sets the project context levels, the work outside features (foundation, QA, DevOps, PM…) and contingency. These change the final cost. Review and update them before you use the workbook's price.</p>
|
|
300
|
+
<div class="dlg-foot"><form method="dialog"><button class="btn primary">Got it</button></form></div></dialog>
|
|
301
|
+
|
|
258
302
|
<script type="application/json" id="page-data"><!-- slot:DATA --></script>
|
|
259
303
|
<script type="module">
|
|
260
304
|
const PAGE = JSON.parse(document.getElementById('page-data').textContent);
|
|
@@ -262,7 +306,7 @@ const DATA = PAGE.data;
|
|
|
262
306
|
const $ = (s, el = document) => el.querySelector(s);
|
|
263
307
|
const esc = (s) => String(s).replace(/[&<>"]/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
|
264
308
|
|
|
265
|
-
// ---- price sections
|
|
309
|
+
// ---- price sections of the estimate page ----
|
|
266
310
|
// Every amount arrives computed in PAGE (scripts/lib/page-view.mjs); this
|
|
267
311
|
// formats and places them and prices nothing.
|
|
268
312
|
const viewMoney = (n) => `${PAGE.currency === 'USD' ? '$' : `${PAGE.currency} `}${Math.round(n).toLocaleString('en-US')}`;
|
|
@@ -282,7 +326,7 @@ function viewSummary(v) {
|
|
|
282
326
|
const p = v.price; const base = p.adjustedBase; const out = base + p.overheads.amount;
|
|
283
327
|
viewHeadline(p);
|
|
284
328
|
const rows = [
|
|
285
|
-
{ lbl: 'Feature build', note: `${v.featureCount} scored features`, from: 0, to: p.featurePoints, amt: viewMoney(p.featurePoints) },
|
|
329
|
+
{ lbl: 'Feature build', note: v.groupCount ? `${v.featureCount} features in ${v.groupCount} scored groups` : `${v.featureCount} scored features`, from: 0, to: p.featurePoints, amt: viewMoney(p.featurePoints) },
|
|
286
330
|
{ lbl: `× ${p.contextMultiplier.toFixed(2)} project context`, note: 'spec quality, decisions, compliance, familiarity', from: p.featurePoints, to: base, amt: `+${viewMoney(base - p.featurePoints)}` },
|
|
287
331
|
{ lbl: `+ ${Math.round(p.overheads.totalPct * 100)}% work outside features`, note: 'foundation, discovery, UX, QA, DevOps, docs, PM, integration', from: base, to: out, amt: `+${viewMoney(p.overheads.amount)}` },
|
|
288
332
|
{ lbl: `+ ${(p.contingencyRate * 100).toFixed(1)}% contingency`, note: 'known unknowns inside the agreed scope', from: out, to: p.p50, amt: `+${viewMoney(p.contingencyAmount)}` },
|
|
@@ -291,6 +335,25 @@ function viewSummary(v) {
|
|
|
291
335
|
];
|
|
292
336
|
$('#buildup').innerHTML = `<h3>How the price builds up</h3>${rows.map((r) => viewBuRow(r, p.presentHigh || 1)).join('')}`;
|
|
293
337
|
}
|
|
338
|
+
// Feature groups, when the estimate has them: each scored and priced once,
|
|
339
|
+
// its members listed under it. A card placed right after the summary.
|
|
340
|
+
function viewGroupRow(g) {
|
|
341
|
+
const sc = ['tech', 'size', 'deps', 'unc', 'risk'].map((k) => g.scores[k]).join(' · ');
|
|
342
|
+
return `<tr data-group="${esc(g.id)}"><td><span class="dim num">${esc(g.id)}</span> <b>${esc(g.name)}</b>${g.note ? `<div class="dim">${esc(g.note)}</div>` : ''}
|
|
343
|
+
<div>${g.members.map((f) => `<span class="chip" data-f="${esc(f.id)}" title="${esc(f.system ?? '')}">${esc(f.id)} ${esc(f.name)}</span>`).join('')}</div></td>
|
|
344
|
+
<td class="r num">${sc}</td><td class="r num">${g.scoreTotal.toFixed(1)} · ${esc(g.tier)}</td>
|
|
345
|
+
<td class="r num"><b>${viewMoney(g.point)}</b><div class="dim">${viewMoney(g.low)}–${viewMoney(g.high)}</div>${g.flag ? `<div class="dim">⚑ ${esc(g.flag)}</div>` : ''}</td></tr>`;
|
|
346
|
+
}
|
|
347
|
+
function viewGroups(page) {
|
|
348
|
+
if (!page.groups || document.getElementById('fgroups')) return;
|
|
349
|
+
const total = page.groups.reduce((n, g) => n + g.point, 0);
|
|
350
|
+
const sec = document.createElement('section');
|
|
351
|
+
sec.className = 'card'; sec.id = 'fgroups';
|
|
352
|
+
sec.innerHTML = `<h2>Feature groups</h2><p class="sec-lead">${page.view.featureCount} features in ${page.groups.length} groups. Each group is scored and priced once; its features are listed under it.</p>
|
|
353
|
+
<table class="kv fgroups"><tr><th>Group and its features</th><th class="r">Tech · Size · Deps · Unc · Risk</th><th class="r">Σ · tier</th><th class="r">Price</th></tr>
|
|
354
|
+
${page.groups.map(viewGroupRow).join('')}<tr class="sum"><td colspan="3">Feature build</td><td class="r">${viewMoney(total)}</td></tr></table>`;
|
|
355
|
+
document.getElementById('summary').after(sec);
|
|
356
|
+
}
|
|
294
357
|
function viewMs(m) {
|
|
295
358
|
const n = m.features.length;
|
|
296
359
|
return `<div class="m"><div class="dim num">${n} feature${n === 1 ? '' : 's'} finished<span class="internal"> · ${m.components} components</span></div>
|
|
@@ -326,6 +389,60 @@ function viewMethod(v) {
|
|
|
326
389
|
['Implied rate at the expected cost', e.rate === null ? '—' : `${viewMoney(e.rate)}/h`]);
|
|
327
390
|
}
|
|
328
391
|
|
|
392
|
+
// ---- tasks per feature: one table across the components that build it ----
|
|
393
|
+
// TASKS[component]: [name, low, expected, high, confidence, assumptions, features, source, id].
|
|
394
|
+
// A task shared by k features counts 1/k of its hours on each card, so the
|
|
395
|
+
// cards add up to the project total.
|
|
396
|
+
const pert = (x) => x[2]; // expected hours from estimation.json (agentic baselines)
|
|
397
|
+
const hoursOf = (id) => Math.round((typeof TASKS === 'undefined' ? [] : TASKS[id] || []).reduce((n, x) => n + pert(x), 0));
|
|
398
|
+
const tasksFor = (id, capId) => (TASKS[id] || []).filter((x) => x[6].includes(capId));
|
|
399
|
+
const hrs1 = (n) => Math.round(n * 10) / 10; // one decimal: a 1/5 share of 7.3h is 1.5h, not 1h
|
|
400
|
+
const hoursFor = (id, capId) => hrs1(tasksFor(id, capId).reduce((n, x) => n + pert(x) / x[6].length, 0));
|
|
401
|
+
const sysHours = (ids) => Math.round(COMPS.flatMap((b) => TASKS[b.id] || []).filter((x) => x[6].some((f) => ids.includes(f))).reduce((n, x) => n + pert(x), 0));
|
|
402
|
+
function sharedNote(x, capId) {
|
|
403
|
+
const others = x[6].filter((f) => f !== capId);
|
|
404
|
+
return others.length ? `<div class="dim">shared with ${others.map(esc).join(', ')} · 1/${x[6].length} of its ${hrs1(pert(x))}h counted here</div>` : '';
|
|
405
|
+
}
|
|
406
|
+
// where a task comes from: "WF-002:Pack" shows as Pack (the card names the workflow); "new" is work the BA package never named
|
|
407
|
+
const stepTag = (src) => (src ? `<span class="step${src === 'new' ? ' new' : ''}">${esc(src.replace(/^WF-[^:]+:/, ''))}</span>` : '');
|
|
408
|
+
function taskRow([x, b], i, capId) {
|
|
409
|
+
const note = x[5] ? `<div class="dim">${esc(x[5])}</div>` : '';
|
|
410
|
+
return `<tr data-task="${esc(x[8])}"><td class="n">t${i + 1}</td><td class="task">${stepTag(x[7])}${esc(x[0])}${note}${sharedNote(x, capId)}</td><td class="box">${esc(b.name)}</td>`
|
|
411
|
+
+ `<td class="r">${x[1]} / ${x[2]} / ${x[3]}</td><td class="r share"><b>${hrs1(pert(x) / x[6].length)}h</b></td><td><span class="conf c-${x[4]}">${x[4]}</span></td></tr>`;
|
|
412
|
+
}
|
|
413
|
+
const featureTasks = (by, capId) => by.flatMap((bid) => tasksFor(bid, capId).map((x) => [x, compById[bid]]));
|
|
414
|
+
// new work (source "new") the Uncertainty score does not cite
|
|
415
|
+
const uncitedNew = (capId, rows) => rows.filter(([x]) => x[7] === 'new' && !(PAGE.cites?.[capId]?.unc.tasks ?? []).includes(x[8]));
|
|
416
|
+
function featureTasksHtml(by, capId) {
|
|
417
|
+
const rows = featureTasks(by, capId);
|
|
418
|
+
const hrs = hrs1(rows.reduce((n, [x]) => n + pert(x) / x[6].length, 0));
|
|
419
|
+
const fresh = rows.filter(([x]) => x[7] === 'new').length; const loose = uncitedNew(capId, rows).length;
|
|
420
|
+
const warn = loose ? ` <span class="warn">⚠ ${loose} new, not cited</span>` : '';
|
|
421
|
+
return `<details class="tasks"><summary>Tasks · ${rows.length} tasks · ${hrs}h · ${by.length} components${fresh ? ` · ${fresh} new` : ''}${warn}</summary>`
|
|
422
|
+
+ `<table><thead><tr><th>#</th><th>Task</th><th>Component</th><th class="r">Low / Expected / High h</th><th class="r">This feature</th><th>Confidence</th></tr></thead>`
|
|
423
|
+
+ `<tbody>${rows.map((r, i) => taskRow(r, i, capId)).join('')}</tbody></table></details>`;
|
|
424
|
+
}
|
|
425
|
+
// ---- one estimate page: each feature's tasks, the components that build nothing, the workbook ----
|
|
426
|
+
// The tasks are feature-tasks.js's table, read-only; the workbook export is
|
|
427
|
+
// the shared xlsx-export.js, inlined at the XLSX slot below this script.
|
|
428
|
+
const TASKS = PAGE.tasks; const COMPS = PAGE.comps;
|
|
429
|
+
const compById = Object.fromEntries(COMPS.map((c) => [c.id, c]));
|
|
430
|
+
const featTasksHtml = (id) => featureTasksHtml(COMPS.map((c) => c.id).filter((b) => tasksFor(b, id).length), id);
|
|
431
|
+
function viewIdle(page) {
|
|
432
|
+
$('#idle').classList.toggle('hide', !page.idle.length);
|
|
433
|
+
$('#idle-list').innerHTML = page.idle.map((c) => `<li><b>${esc(c.name)}</b> · ${esc(c.reason)}</li>`).join('');
|
|
434
|
+
}
|
|
435
|
+
const XLSX_SOURCE = {
|
|
436
|
+
rows: () => PAGE.xlsx.rows, container: (row) => row.container, levels: () => PAGE.xlsx.levels,
|
|
437
|
+
template: () => PAGE.xlsx.template, system: (row) => row.system, // the SYSTEM / MODULE workbook (estimator-system.xlsx)
|
|
438
|
+
register: () => PAGE.xlsx.register, // project name, assumptions, exclusions
|
|
439
|
+
coverage: () => PAGE.xlsx.coverage, // source-document items and the feature that builds each, or null
|
|
440
|
+
};
|
|
441
|
+
{ // the shared workbook export, block-scoped so its helpers never collide with this page's
|
|
442
|
+
<!-- slot:XLSX -->
|
|
443
|
+
}
|
|
444
|
+
$('#xlsx').onclick = () => { window.__downloadXlsx(); $('#xlsx-remind').showModal(); }; // the download runs on; the reminder shows meanwhile
|
|
445
|
+
|
|
329
446
|
// the client's features (business capabilities) on their workflow steps; priced through the engineering features above
|
|
330
447
|
const FEATS = DATA.systems.flatMap((s) => s.features.map((f) => ({ ...f, sys: s })));
|
|
331
448
|
const byId = Object.fromEntries(FEATS.map((f) => [f.id, f]));
|
|
@@ -352,7 +469,8 @@ function featureView(s) {
|
|
|
352
469
|
return `<table class="bd"><tr><th>ID</th><th>Feature</th><th>Workflow steps</th></tr>${s.features.map((f0) => {
|
|
353
470
|
const f = byId[f0.id];
|
|
354
471
|
const steps = f.steps.includes('*') ? '<span class="chip">every system</span>' : f.steps.length ? f.steps.map((r) => `<span class="chip">${esc(stepName(r))}</span>`).join('') : '<span class="chip">not on a workflow step</span>';
|
|
355
|
-
return `<tr data-feat="${f.id}"><td class="dim num">${f.id}</td><td><div class="fname">${esc(f.name)}</div><div class="fdoes">${esc(f.does)}</div></td><td>${steps}</td></tr
|
|
472
|
+
return `<tr data-feat="${f.id}"><td class="dim num">${f.id}</td><td><div class="fname">${esc(f.name)}</div><div class="fdoes">${esc(f.does)}</div></td><td>${steps}</td></tr>`
|
|
473
|
+
+ `<tr class="ftasks internal"><td></td><td colspan="2" data-ftasks="${f.id}">${featTasksHtml(f.id)}</td></tr>`; }).join('')}</table>`;
|
|
356
474
|
}
|
|
357
475
|
function renderBreakdown() {
|
|
358
476
|
$('#blocks').innerHTML = DATA.systems.map((s, i) => {
|
|
@@ -390,8 +508,7 @@ let pin = null;
|
|
|
390
508
|
const onScreen = (x) => !x.closest('.hide, details:not([open])') && x.getClientRects().length > 0;
|
|
391
509
|
const litParts = () => [...document.querySelectorAll('.flow g.node.hl, tr[data-feat].hl')].filter(onScreen);
|
|
392
510
|
function showPin() { const n = litParts(); const [r, f] = pin.hit; $('#pinLabel').textContent = pin.label;
|
|
393
|
-
$('#pinCount').textContent = `${r.size} step${r.size === 1 ? '' : 's'} · ${f.size} feature${f.size === 1 ? '' : 's'} · ${pin.i + 1}/${n.length}`; $('#pinbar').classList.remove('hide');
|
|
394
|
-
$('#pinFeat').classList.toggle('hide', !pin.ref); if (pin.ref) $('#pinFeat').href = `estimate-components.html#step=${encodeURIComponent(pin.ref)}`; }
|
|
511
|
+
$('#pinCount').textContent = `${r.size} step${r.size === 1 ? '' : 's'} · ${f.size} feature${f.size === 1 ? '' : 's'} · ${pin.i + 1}/${n.length}`; $('#pinbar').classList.remove('hide'); }
|
|
395
512
|
function jump(d) { const n = litParts(); if (!n.length) return; pin.i = (pin.i + d + n.length) % n.length;
|
|
396
513
|
n.forEach((x) => x.classList.remove('cur')); n[pin.i].classList.add('cur'); n[pin.i].scrollIntoView({ block: 'center', behavior: 'smooth' }); showPin(); }
|
|
397
514
|
function unpin() { pin = null; clearHl(); $('#pinbar').classList.add('hide'); }
|
|
@@ -409,7 +526,7 @@ $('#pinNext').onclick = () => jump(1); $('#pinPrev').onclick = () => jump(-1); $
|
|
|
409
526
|
// ---- page identity ----
|
|
410
527
|
// ---- render + theme + diagrams ----
|
|
411
528
|
$('#subline').textContent = `${DATA.systems.length} systems · ${DATA.systems.reduce((n, s) => n + s.features.length, 0)} features · scope reviewed by the PO, scores reviewed internally · prices in ${PAGE.currency}`;
|
|
412
|
-
viewSummary(PAGE.view); renderSystems(); renderBreakdown(); viewRoadmap(PAGE); viewMethod(PAGE.view);
|
|
529
|
+
viewSummary(PAGE.view); viewGroups(PAGE); renderSystems(); renderBreakdown(); viewRoadmap(PAGE); viewMethod(PAGE.view); viewIdle(PAGE);
|
|
413
530
|
const dark = () => document.documentElement.dataset.theme === 'dark' || (!document.documentElement.dataset.theme && matchMedia('(prefers-color-scheme: dark)').matches);
|
|
414
531
|
const src = [...document.querySelectorAll('pre.mermaid')].map((p) => p.textContent);
|
|
415
532
|
let mermaid;
|