@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
|
@@ -246,7 +246,11 @@
|
|
|
246
246
|
"p": 360
|
|
247
247
|
},
|
|
248
248
|
"assumptions": [],
|
|
249
|
-
"provenance": "proposed"
|
|
249
|
+
"provenance": "proposed",
|
|
250
|
+
"features": [
|
|
251
|
+
"FEAT-001",
|
|
252
|
+
"FEAT-002"
|
|
253
|
+
]
|
|
250
254
|
},
|
|
251
255
|
{
|
|
252
256
|
"id": "stage-tests",
|
|
@@ -262,7 +266,10 @@
|
|
|
262
266
|
"p": 120
|
|
263
267
|
},
|
|
264
268
|
"assumptions": [],
|
|
265
|
-
"provenance": "proposed"
|
|
269
|
+
"provenance": "proposed",
|
|
270
|
+
"features": [
|
|
271
|
+
"FEAT-001"
|
|
272
|
+
]
|
|
266
273
|
}
|
|
267
274
|
]
|
|
268
275
|
},
|
|
@@ -292,7 +299,10 @@
|
|
|
292
299
|
"p": 480
|
|
293
300
|
},
|
|
294
301
|
"assumptions": [],
|
|
295
|
-
"provenance": "proposed"
|
|
302
|
+
"provenance": "proposed",
|
|
303
|
+
"features": [
|
|
304
|
+
"FEAT-003"
|
|
305
|
+
]
|
|
296
306
|
}
|
|
297
307
|
]
|
|
298
308
|
},
|
|
@@ -322,7 +332,10 @@
|
|
|
322
332
|
"p": 240
|
|
323
333
|
},
|
|
324
334
|
"assumptions": [],
|
|
325
|
-
"provenance": "proposed"
|
|
335
|
+
"provenance": "proposed",
|
|
336
|
+
"features": [
|
|
337
|
+
"FEAT-005"
|
|
338
|
+
]
|
|
326
339
|
},
|
|
327
340
|
{
|
|
328
341
|
"id": "billing-docs",
|
|
@@ -338,7 +351,10 @@
|
|
|
338
351
|
"p": 160
|
|
339
352
|
},
|
|
340
353
|
"assumptions": [],
|
|
341
|
-
"provenance": "proposed"
|
|
354
|
+
"provenance": "proposed",
|
|
355
|
+
"features": [
|
|
356
|
+
"FEAT-005"
|
|
357
|
+
]
|
|
342
358
|
}
|
|
343
359
|
]
|
|
344
360
|
},
|
|
@@ -375,7 +391,12 @@
|
|
|
375
391
|
"p": 720
|
|
376
392
|
},
|
|
377
393
|
"assumptions": [],
|
|
378
|
-
"provenance": "proposed"
|
|
394
|
+
"provenance": "proposed",
|
|
395
|
+
"features": [
|
|
396
|
+
"FEAT-001",
|
|
397
|
+
"FEAT-003",
|
|
398
|
+
"FEAT-005"
|
|
399
|
+
]
|
|
379
400
|
}
|
|
380
401
|
]
|
|
381
402
|
},
|
|
@@ -409,7 +430,10 @@
|
|
|
409
430
|
"p": 120
|
|
410
431
|
},
|
|
411
432
|
"assumptions": [],
|
|
412
|
-
"provenance": "proposed"
|
|
433
|
+
"provenance": "proposed",
|
|
434
|
+
"features": [
|
|
435
|
+
"FEAT-002"
|
|
436
|
+
]
|
|
413
437
|
}
|
|
414
438
|
]
|
|
415
439
|
},
|
|
@@ -439,7 +463,10 @@
|
|
|
439
463
|
"p": 360
|
|
440
464
|
},
|
|
441
465
|
"assumptions": [],
|
|
442
|
-
"provenance": "proposed"
|
|
466
|
+
"provenance": "proposed",
|
|
467
|
+
"features": [
|
|
468
|
+
"FEAT-004"
|
|
469
|
+
]
|
|
443
470
|
}
|
|
444
471
|
]
|
|
445
472
|
},
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Build tools — install once, outside the repo
|
|
2
|
+
|
|
3
|
+
`derive.mjs` and `validate.mjs` need only Node ≥ 20. `render.mjs` builds the
|
|
4
|
+
page, the Word file and the PDF, and needs:
|
|
5
|
+
|
|
6
|
+
- **npm packages, pinned**, in a folder outside the repo:
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
mkdir -p ~/proposal-tool && cd ~/proposal-tool && npm init -y >/dev/null
|
|
10
|
+
npm install --save-exact marked@18.1.1 docx@9.5.1 puppeteer-core@24.43.1 mermaid@11.12.0 lucide-static@0.460.0 aws-icons@3.3.0
|
|
11
|
+
export PROPOSAL_TOOL_DIR=~/proposal-tool
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`render.mjs` checks every version and names any that is missing or
|
|
15
|
+
different; `--tool-dir <dir>` overrides the variable. Mermaid is loaded from
|
|
16
|
+
this folder, so nothing is bundled into the repo.
|
|
17
|
+
- **Google Chrome** at `/usr/bin/google-chrome`, or set `CHROME`. Headless
|
|
18
|
+
Chrome draws the figures and measures their labels.
|
|
19
|
+
- **LibreOffice** (`soffice`) and **poppler** (`pdftotext`) on PATH. The PDF is
|
|
20
|
+
printed from the Word file, so footnotes sit at the page foot; the build
|
|
21
|
+
checks the PDF and converts again when LibreOffice writes a damaged one.
|
|
22
|
+
|
|
23
|
+
| Package | Used for |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| marked | proposal.md to HTML and Word blocks |
|
|
26
|
+
| docx | the Word file, with real footnotes |
|
|
27
|
+
| puppeteer-core | headless Chrome: figures, PNGs, overlap check |
|
|
28
|
+
| mermaid | flow and sequence figures |
|
|
29
|
+
| lucide-static | neutral service icons (ISC licence) |
|
|
30
|
+
| aws-icons | the official AWS Architecture Icons, for clients on AWS |
|
|
31
|
+
|
|
32
|
+
Fonts (Roboto, Libre Baskerville) and the logo come from the repo:
|
|
33
|
+
`scripts/ces-brand/fonts/` and `logo/`.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Diagrams — architecture specs (style B) and flow figures
|
|
2
|
+
|
|
3
|
+
## 1. Architecture figures
|
|
4
|
+
|
|
5
|
+
An architecture figure is a JSON spec, drawn by `scripts/diagram/` in the
|
|
6
|
+
approved style: nested frames by infrastructure (country, cloud, account,
|
|
7
|
+
region, network, zone), one coloured tile per service, thick ink arrows, light
|
|
8
|
+
background. You say how each frame arranges what it holds; the build places
|
|
9
|
+
it and routes the arrows. Put the figure in How it works or Hosting and security:
|
|
10
|
+
|
|
11
|
+
````
|
|
12
|
+
```architecture
|
|
13
|
+
file: diagrams/deployment.json
|
|
14
|
+
caption: Production on two servers in two zones, with backups in another region
|
|
15
|
+
```
|
|
16
|
+
````
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"title": "Production deployment",
|
|
21
|
+
"desc": "One paragraph saying what the figure shows; it is the figure's accessible text.",
|
|
22
|
+
"icons": "neutral",
|
|
23
|
+
"arrange": "row",
|
|
24
|
+
"groups": [
|
|
25
|
+
{ "id": "users", "kind": "plain", "label": "Users", "arrange": "column" },
|
|
26
|
+
{ "id": "cloud", "kind": "cloud", "label": "GreenNode: your own account", "arrange": "column" },
|
|
27
|
+
{ "id": "vpc", "kind": "network", "label": "VPC: private network", "in": "cloud", "arrange": "row" },
|
|
28
|
+
{ "id": "za", "kind": "zone", "label": "Zone A", "in": "vpc", "arrange": "column", "children": ["app1", "db1"] },
|
|
29
|
+
{ "id": "zb", "kind": "zone", "label": "Zone B", "in": "vpc", "arrange": "column", "children": ["app2", "db2"] },
|
|
30
|
+
{ "id": "app1", "kind": "server", "label": "vServer: app 1", "note": "Docker Compose", "in": "za", "arrange": "row" }
|
|
31
|
+
],
|
|
32
|
+
"nodes": [
|
|
33
|
+
{ "id": "staff", "icon": "smartphone", "family": "user", "label": "Clinic staff", "sub": "phone browser", "in": "users" },
|
|
34
|
+
{ "id": "web1", "icon": "app-window", "family": "compute", "label": "Web + API", "size": 36, "in": "app1" },
|
|
35
|
+
{ "id": "db1", "icon": "database", "family": "db", "label": "PostgreSQL primary", "sub": ["encrypted"], "in": "za" }
|
|
36
|
+
],
|
|
37
|
+
"edges": [
|
|
38
|
+
{ "from": "staff", "to": "web1", "label": "HTTPS" },
|
|
39
|
+
{ "from": "db1", "to": "db2", "label": "replication", "style": "dashed" }
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
- **Arrange like the drawing you want.** `arrange` (on the spec and on each
|
|
45
|
+
group) is `row` (left to right, the default) or `column` (top to bottom);
|
|
46
|
+
`children` sets the order, else a group's services come first, then its
|
|
47
|
+
groups. In a row, services alone align their tops, sibling frames get one
|
|
48
|
+
height, and a lone service beside frames moves level with their first tiles.
|
|
49
|
+
So: zones side by side in a row, each zone a column (server above database),
|
|
50
|
+
a primary and its standby facing each other; users in a `plain` column on
|
|
51
|
+
the left (a `plain` group arranges without a frame).
|
|
52
|
+
- **Landscape.** Aim for a figure wider than tall and about 1,100 to 1,250 px
|
|
53
|
+
wide: it prints at page width with labels about 8 px high.
|
|
54
|
+
- **icons** follows the client's cloud: `aws` when `cloud: aws`, else `neutral`.
|
|
55
|
+
A neutral figure may carry no AWS icon and no word "AWS" or "Amazon".
|
|
56
|
+
- **Group kinds**: `country`, `cloud`, `account`, `region`, `network`, `zone`,
|
|
57
|
+
`subnet`, `server`, `device` (a user's PC or phone), `site` (an office
|
|
58
|
+
network), `external` (outside the boundary), `panel` (any other grouping),
|
|
59
|
+
`plain` (no frame); AWS adds `public-subnet`, `autoscaling`, `datacenter`.
|
|
60
|
+
With `icons: aws` the frames take the official AWS group colours and badges
|
|
61
|
+
(AWS Cloud, Region, VPC, subnets, EC2 instance contents).
|
|
62
|
+
- **An app with no cloud** still uses frames: `device` for each user's PC,
|
|
63
|
+
`site` for the office network, `panel` for the app itself.
|
|
64
|
+
- **Nodes**: `icon` is a Lucide name (lucide.dev, version pinned in
|
|
65
|
+
`references/build.md`) on a tile coloured by `family`: `compute`, `db`,
|
|
66
|
+
`storage`, `net`, `ops`, `ai`, `msg`, `dev`, or `user` (plain ink icon, no
|
|
67
|
+
tile). On an AWS figure use `aws:<ServiceName>` (e.g. `aws:AmazonRDS`,
|
|
68
|
+
`aws:AWSFargate`) or `aws-res:<Resource>` (e.g. `aws-res:Users`) from the
|
|
69
|
+
aws-icons package; `family` is then not needed. `sub` is one line or a list;
|
|
70
|
+
`size` shrinks a tile (36 for containers).
|
|
71
|
+
- **Edges** run between services along channels (just outside and inside each
|
|
72
|
+
frame, under each frame header, through the gaps between frames), by the
|
|
73
|
+
shortest path that crosses no service, caption, frame header, label or other
|
|
74
|
+
arrow, and goes around any frame that holds neither of its ends. They meet a
|
|
75
|
+
tile at its side (three slots a side) or leave under its caption. `style: "dashed"`, `both: true`, `head: false`,
|
|
76
|
+
`arrow: "back"` (the head points at `from`). `exit` and `entry` (N, E, S, W)
|
|
77
|
+
pin the sides. A labelled arrow between two neighbours in a row widens the
|
|
78
|
+
gap between them so its label fits.
|
|
79
|
+
|
|
80
|
+
The build refuses a figure whose labels overlap, whose text sits on a tile,
|
|
81
|
+
or whose arrow runs through a caption, a service, a frame header (title pads
|
|
82
|
+
included), another arrow's label or a frame that holds neither of its ends; any figure whose arrows would print
|
|
83
|
+
thinner than 1 px or with heads under 6.5 px, or that draws fewer links than
|
|
84
|
+
its source declares; a generated figure whose smallest label would print
|
|
85
|
+
under 7.5 px; a tall architecture figure that uses less than 80% of the page
|
|
86
|
+
width; and sibling zones or subnets that do not line up. Fix the spec:
|
|
87
|
+
rearrange rows and columns, shorten a label, or pin an arrow's sides.
|
|
88
|
+
|
|
89
|
+
## 2. Step flows
|
|
90
|
+
|
|
91
|
+
A numbered process (how a user does one job, the delivery steps) is a
|
|
92
|
+
```` ```steps ```` fence: one step a line, its title, a bar, then its detail.
|
|
93
|
+
It is drawn like the sent proposals: rounded boxes, orange numbered badges,
|
|
94
|
+
bold titles over grey detail, thick ink arrows between every pair of steps,
|
|
95
|
+
and an elbow from the last step of a row down to the first of the next.
|
|
96
|
+
|
|
97
|
+
````
|
|
98
|
+
```steps
|
|
99
|
+
caption: How a drafter makes one floorplan with the app
|
|
100
|
+
per-row: 3
|
|
101
|
+
highlight: 5
|
|
102
|
+
Open a job | Pick a recent job or start a new one
|
|
103
|
+
Add the scan | One top-down image per floor
|
|
104
|
+
```
|
|
105
|
+
````
|
|
106
|
+
|
|
107
|
+
## 3. Flows and sequences
|
|
108
|
+
|
|
109
|
+
Workflows and sequences are mermaid fences, drawn in the CES light theme:
|
|
110
|
+
|
|
111
|
+
````
|
|
112
|
+
```mermaid
|
|
113
|
+
%% caption: How a drafter makes one floorplan
|
|
114
|
+
flowchart LR
|
|
115
|
+
a["Open a job"] --> b["Add the scan"]
|
|
116
|
+
```
|
|
117
|
+
````
|
|
118
|
+
|
|
119
|
+
Use mermaid for flows with branches and for sequences; a straight numbered
|
|
120
|
+
process is a ```` ```steps ```` figure. A left-to-right flow too wide to
|
|
121
|
+
print at 60% is turned to run top to bottom by the build. A figure that is neither (a chart, a
|
|
122
|
+
timeline) can be an SVG file: ```` ```figure ```` with `file:` and `caption:`
|
|
123
|
+
lines; it must pass the same overlap check.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Interview — prereq gate, client context, the brief, pricing
|
|
2
|
+
|
|
3
|
+
Read before asking anything. Pre-fill from evidence, ask only holes, one
|
|
4
|
+
question at a time.
|
|
5
|
+
|
|
6
|
+
## 0. Prereq gate + evidence load
|
|
7
|
+
|
|
8
|
+
Both files must exist or the skill stops:
|
|
9
|
+
|
|
10
|
+
- No ARCHITECTURE.md → stop: "run the analyze-requirements skill first."
|
|
11
|
+
- No estimation.json → stop: "run the estimate skill first."
|
|
12
|
+
|
|
13
|
+
Read ARCHITECTURE.md, estimation.json, estimation.md and the client's own
|
|
14
|
+
documents in the lead (brief, requirements, answers). Then state what is
|
|
15
|
+
already known: scope, milestones, the price the estimate gives, risks, tech
|
|
16
|
+
stack, hosting. The user corrects anything stale before questions begin.
|
|
17
|
+
|
|
18
|
+
## 1. Client context — the only-human-knows questions
|
|
19
|
+
|
|
20
|
+
1. Client name, who the proposal is for (shown on the cover), and who decides.
|
|
21
|
+
2. **Tech level: non-tech / low-tech / technical.** This sets the document's
|
|
22
|
+
language everywhere — non-tech bans jargon outright (the validator
|
|
23
|
+
enforces a deny-list; `jargon_allow` in frontmatter overrides per term
|
|
24
|
+
when the client themselves uses it).
|
|
25
|
+
3. The client's business problem, in their words.
|
|
26
|
+
4. What the client cares about most: price, speed, or reliability — shapes
|
|
27
|
+
the summary's emphasis.
|
|
28
|
+
|
|
29
|
+
## 2. The brief
|
|
30
|
+
|
|
31
|
+
1. **Contents.** The contents is fixed (`references/writing.md` §2): Executive
|
|
32
|
+
summary, Proposed solution, Price, Assumptions and exclusions, How it
|
|
33
|
+
works, Hosting and security (with the monthly running costs), Delivery plan
|
|
34
|
+
and acceptance, References. Tell the human when the brief asks for another
|
|
35
|
+
order; the standard order still applies.
|
|
36
|
+
2. **Extra sections.** What does the brief ask for beyond that — background
|
|
37
|
+
and objectives, AI and data safeguards, a deep dive, prices in another
|
|
38
|
+
currency? Each becomes a `###` inside the part it belongs to.
|
|
39
|
+
3. **Cloud.** Where will it run: AWS (`cloud: aws`, official AWS icons),
|
|
40
|
+
another cloud (`other`, neutral icons, no AWS name anywhere), or no cloud
|
|
41
|
+
at all (`none`: the diagram still uses grouped frames — the user's PC, the
|
|
42
|
+
office network).
|
|
43
|
+
4. Out-of-scope items beyond what estimation.md already excludes; anything
|
|
44
|
+
the client already rejected or demanded; anything in the evidence that
|
|
45
|
+
conflicts → ask, never guess.
|
|
46
|
+
|
|
47
|
+
## 3. Pricing — ask before writing any price
|
|
48
|
+
|
|
49
|
+
Ask, in one message, before a price table or a total is written:
|
|
50
|
+
|
|
51
|
+
1. Has the PM prepared a price file or a delivery plan (phases, durations,
|
|
52
|
+
team)? If yes, get its path. The PM's file is then the source of every
|
|
53
|
+
price and every duration (`price-source.json`, kind `pm-file`), and its
|
|
54
|
+
plan feeds the delivery plan.
|
|
55
|
+
2. How should prices show: **by feature** (default, grouped by product area),
|
|
56
|
+
**by phase**, or **exactly as the PM's file** lays them out?
|
|
57
|
+
|
|
58
|
+
Without a PM file the price comes from the estimate, or from the lead's
|
|
59
|
+
recalculated Ballpark workbook (`--workbook`, or `price-source.json` kind
|
|
60
|
+
`workbook-rows` for its per-feature rows). The total is written as the source
|
|
61
|
+
gives it: a range when the estimate gives a range, one number when the
|
|
62
|
+
workbook or the PM's file gives one.
|
|
63
|
+
|
|
64
|
+
Never ask for, or write, a quote validity date: validity is agreed in the
|
|
65
|
+
meeting or by email. There is no company profile to collect; the cover and
|
|
66
|
+
footer carry the Code Engine Studio brand.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Fresh-eyes review — subagent charter
|
|
2
|
+
|
|
3
|
+
Run after the first draft build (`render.mjs --draft`), before human review.
|
|
4
|
+
Dispatch one general-purpose subagent with **only**: `dist/proposal-draft.html`,
|
|
5
|
+
estimation.json (and the PM's price file when there is one), and the client
|
|
6
|
+
tech level. No interview context — it must read the page the way the client
|
|
7
|
+
will, figures and tables included.
|
|
8
|
+
|
|
9
|
+
## Charter (the subagent checks exactly these)
|
|
10
|
+
|
|
11
|
+
1. **Comprehension** — would a reader at the stated tech level understand
|
|
12
|
+
every sentence? Flag anything too technical; this catches jargon beyond
|
|
13
|
+
the deny-list.
|
|
14
|
+
2. **Summary** — does the first part say what we build and what it costs?
|
|
15
|
+
3. **Honesty** — persuasive is fine, hype is not. Flag any claim the page
|
|
16
|
+
cannot back, any performance promise nobody has measured, and any choice
|
|
17
|
+
shown with strengths but no weaknesses.
|
|
18
|
+
4. **Leaks** — anything internal: scores, tiers, rates, provenance words,
|
|
19
|
+
confidence internals, an engineer milestone name, a pointer into a client
|
|
20
|
+
document the reader cannot follow ("PRD section 12"), a validity date,
|
|
21
|
+
a next-steps or about-us part.
|
|
22
|
+
5. **Contradictions** — scope vs out of scope, price table vs summary,
|
|
23
|
+
milestones vs plan prose, figures vs text.
|
|
24
|
+
6. **Figures** — can each diagram be read at page size: labels clear of lines
|
|
25
|
+
and of each other, every frame named?
|
|
26
|
+
|
|
27
|
+
Return findings as a list; no rewrites.
|
|
28
|
+
|
|
29
|
+
## Workflow mode
|
|
30
|
+
|
|
31
|
+
Same charter, read against the draft page, except item 2, which becomes: does
|
|
32
|
+
the Scope section say what we build, and the Cost section what it costs?
|
|
33
|
+
Findings are fixed in `proposal-inputs.json` (the only text you wrote); a
|
|
34
|
+
finding about a system, feature, assumption or exclusion goes back to the BA
|
|
35
|
+
package or the estimate, never into the proposal.
|
|
36
|
+
|
|
37
|
+
## Loop bound
|
|
38
|
+
|
|
39
|
+
Fix findings → re-run `validate.mjs` and the draft build → one findings-only
|
|
40
|
+
re-review, then stop. Human review of the built draft is the final gate
|
|
41
|
+
regardless of what the review found.
|
|
@@ -5,8 +5,11 @@ copies the format of the proposal sent to Sin Kowa: Scope, one section per
|
|
|
5
5
|
system (its workflow diagrams and a Feature | What it does table),
|
|
6
6
|
Milestones, Assumptions & exclusions, Cost estimate. Every fact on it comes
|
|
7
7
|
from data; you write only the sentences, in `proposal-inputs.json`. There
|
|
8
|
-
is no proposal.md, and nobody edits one: the human reads the page, asks
|
|
9
|
-
changes in chat, and downloads the
|
|
8
|
+
is no proposal.md, and nobody edits one: the human reads the built page, asks
|
|
9
|
+
for changes in chat, and downloads the Word or PDF file to send. The page is
|
|
10
|
+
built by the same pipeline as a classic proposal: CES cover, colours and
|
|
11
|
+
fonts, flows in the CES light theme, a download bar, the PDF printed from the
|
|
12
|
+
Word file (`references/build.md`).
|
|
10
13
|
|
|
11
14
|
## 1. Where each part comes from
|
|
12
15
|
|
|
@@ -14,11 +17,11 @@ changes in chat, and downloads the DOCX or PDF to send.
|
|
|
14
17
|
| --- | --- |
|
|
15
18
|
| Systems, workflows, features and what each does, scope.out | `requirements.json` (the BA package the estimate names) |
|
|
16
19
|
| Milestone contents, assumptions, exclusions, price | `estimation.json` |
|
|
17
|
-
| Title,
|
|
20
|
+
| Title, cover line, date, scope intro, one optional sentence per system, milestone client names and what each demonstrates | `proposal-inputs.json` (you) |
|
|
18
21
|
|
|
19
|
-
Prices are USD. The
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
Prices are USD. The page never carries a next-steps or about-us part, or a
|
|
23
|
+
quote validity date: validity is agreed in the meeting or by email. The six
|
|
24
|
+
mandatory parts of a classic proposal do not apply to this mode.
|
|
22
25
|
|
|
23
26
|
## 2. Flow
|
|
24
27
|
|
|
@@ -28,25 +31,29 @@ skill file.
|
|
|
28
31
|
validation; a finding there → stop and name the estimate skill.
|
|
29
32
|
2. **Interview, one question at a time, only what is unknown.** Client name;
|
|
30
33
|
tech level (non-tech | low-tech | technical, as classic
|
|
31
|
-
`references/interview.md` §1); the
|
|
32
|
-
|
|
34
|
+
`references/interview.md` §1); then the pricing question (classic §3):
|
|
35
|
+
this page quotes the estimate's range and single number, so a PM price
|
|
36
|
+
file or a by-feature table means a classic proposal instead. Then show
|
|
33
37
|
the milestones (`computed.features[].milestone`, with the features each
|
|
34
38
|
finishes) and propose a client name and one "what it demonstrates" line
|
|
35
39
|
for each; the user corrects them.
|
|
36
40
|
3. **Write `proposal-inputs.json`** beside `estimation.json` (§3).
|
|
37
41
|
4. **Validate:** `node scripts/validate.mjs --estimation <dir>/estimation.json
|
|
38
42
|
--inputs <dir>/proposal-inputs.json` — fix findings, re-run until clean.
|
|
39
|
-
5. **
|
|
40
|
-
--inputs <dir>/proposal-inputs.json --
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
6. **Fresh-eyes review** of
|
|
44
|
-
|
|
45
|
-
7. **
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
5. **Draft:** `node scripts/render.mjs --estimation <dir>/estimation.json
|
|
44
|
+
--inputs <dir>/proposal-inputs.json --out <dir>/dist --draft` writes
|
|
45
|
+
`dist/proposal-draft.html`. It re-runs validation and writes nothing on a
|
|
46
|
+
finding.
|
|
47
|
+
6. **Fresh-eyes review** of the draft (`references/review.md`, Workflow
|
|
48
|
+
mode); fix in `proposal-inputs.json`, steps 4–5 again.
|
|
49
|
+
7. **Human review** of the served draft
|
|
50
|
+
(`node ../analyze-requirements/scripts/serve.mjs <dir>`); changes → edit
|
|
51
|
+
`proposal-inputs.json` (or, for a fact, the BA package or estimate) →
|
|
52
|
+
steps 4–7 again.
|
|
53
|
+
8. **Final:** the same command without `--draft` (add `--workbook <xlsx>`
|
|
54
|
+
when the lead has an estimate workbook, for the Excel button) writes
|
|
55
|
+
proposal.html, proposal.docx and proposal.pdf. Delete the draft; report
|
|
56
|
+
the URL and that prices are USD.
|
|
50
57
|
|
|
51
58
|
## 3. `proposal-inputs.json`
|
|
52
59
|
|
|
@@ -54,7 +61,7 @@ skill file.
|
|
|
54
61
|
{
|
|
55
62
|
"client": "Sin Kowa",
|
|
56
63
|
"title": "Sin Kowa Digital Transformation",
|
|
57
|
-
"
|
|
64
|
+
"subtitle": "Systems & Workflows proposal",
|
|
58
65
|
"date": "2026-10-07",
|
|
59
66
|
"techLevel": "non-tech",
|
|
60
67
|
"jargonAllow": [],
|
|
@@ -66,8 +73,8 @@ skill file.
|
|
|
66
73
|
}
|
|
67
74
|
```
|
|
68
75
|
|
|
69
|
-
- `title`
|
|
70
|
-
|
|
76
|
+
- `title` is the cover title; `subtitle` (optional) the line under it,
|
|
77
|
+
"Systems & Workflows proposal" by default; `date` is today (ISO).
|
|
71
78
|
- `systems` is optional, keyed by the BA system id; the sentence follows the
|
|
72
79
|
system's own purpose line.
|
|
73
80
|
- `milestones` needs an entry for every milestone the estimate uses, keyed
|
|
@@ -84,5 +91,6 @@ The title counts as a sentence: it is the page heading.
|
|
|
84
91
|
milestone name (`M1 - Walking skeleton`): name the thing in words.
|
|
85
92
|
- `non-tech`: no word from the jargon list (`scripts/lib/jargon.mjs`) unless
|
|
86
93
|
listed in `jargonAllow` because the client uses it.
|
|
94
|
+
- No validity wording, next steps or about-us text.
|
|
87
95
|
- No timeline, rate, team or score: the estimate produces none for the
|
|
88
96
|
client (the fresh-eyes review catches what no script can).
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Writing — frontmatter, parts, prices, sources, language
|
|
2
|
+
|
|
3
|
+
Read while writing proposal.md. The validator enforces everything below; a
|
|
4
|
+
document that satisfies this file passes `validate.mjs` by construction.
|
|
5
|
+
Write in English unless the client asked for another language.
|
|
6
|
+
|
|
7
|
+
## 1. Frontmatter (flat keys; arrays as JSON)
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
---
|
|
11
|
+
client: Acme Corp
|
|
12
|
+
title: Acme Booking Platform
|
|
13
|
+
subtitle: Proposal: online booking for your five clinics
|
|
14
|
+
prepared_for: Acme Corp, operations team
|
|
15
|
+
date: 2026-10-29
|
|
16
|
+
client_tech_level: non-tech
|
|
17
|
+
currency: USD
|
|
18
|
+
cloud: other
|
|
19
|
+
jargon_allow: []
|
|
20
|
+
references: references.json
|
|
21
|
+
fx: {"code": "EUR", "rate": 0.86}
|
|
22
|
+
source_architecture: ./ARCHITECTURE.md
|
|
23
|
+
source_estimation: ./estimation.json
|
|
24
|
+
---
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`title` is the cover title; `subtitle` is the one line under it; `prepared_for`
|
|
28
|
+
is the cover "Prepared for"; `date` is an ISO date shown on the cover.
|
|
29
|
+
`client_tech_level` is `non-tech`, `low-tech` or `technical`; `cloud` is `aws`,
|
|
30
|
+
`other` or `none`. `jargon_allow` and `references` are optional (`references`
|
|
31
|
+
defaults to `references.json`); `fx` is used only for prices shown in another
|
|
32
|
+
currency (§3). Write no comments on a value line: the parser keeps them as
|
|
33
|
+
part of the value.
|
|
34
|
+
|
|
35
|
+
`valid_until` and `scenario` are refused: no validity date, one price. `order`
|
|
36
|
+
and `optional` are refused too: every proposal has the same contents (§2),
|
|
37
|
+
unless the client's reviewers set another order (`contents`, §2).
|
|
38
|
+
|
|
39
|
+
## 2. Parts — the standard contents
|
|
40
|
+
|
|
41
|
+
Every proposal has the same contents: these seven `##` headings, written
|
|
42
|
+
exactly so, in this order, each once. Price comes early; the technical detail
|
|
43
|
+
follows it. References is last and the build makes it from the citations.
|
|
44
|
+
|
|
45
|
+
| # | `##` heading | Must hold |
|
|
46
|
+
| --- | --- | --- |
|
|
47
|
+
| 1 | Executive summary | The headline price as the source gives it (a range, or one number) |
|
|
48
|
+
| 2 | Proposed solution | What is built, in the client's terms: at most 400 words; it may carry the flow figure (a numbered process is a ```` ```steps ```` figure) |
|
|
49
|
+
| 3 | Price | A price table: by feature (default), by phase or as the PM's file, per the pricing answer; optional items under a `###` |
|
|
50
|
+
| 4 | Assumptions and exclusions | Short: at most 450 words; one line for anything that does not change the price |
|
|
51
|
+
| 5 | How it works | The building blocks and how they connect, in the client's terms |
|
|
52
|
+
| 6 | Hosting and security | Where it runs and how it is kept safe, and always a `### Monthly running costs` section |
|
|
53
|
+
| 7 | Delivery plan and acceptance | Milestones or phases and what ends each; durations only when the PM's file states them; the team when the PM or estimate gives one |
|
|
54
|
+
| 8 | References | Built from the citations — never written |
|
|
55
|
+
|
|
56
|
+
How it works and Hosting and security together hold at least one
|
|
57
|
+
```` ```architecture ```` figure (`references/diagrams.md`) and a table with
|
|
58
|
+
Strengths and Weaknesses columns (two options or more) for each major choice;
|
|
59
|
+
a Trade-off table may follow.
|
|
60
|
+
|
|
61
|
+
Anything else the brief asks for is a `###` inside the part it belongs to:
|
|
62
|
+
background and objectives under Executive summary, AI and data safeguards
|
|
63
|
+
under Hosting and security, prices in another currency under Price, a deep
|
|
64
|
+
dive under How it works. Use `###` and deeper freely; a `##` that is not one
|
|
65
|
+
of the seven is refused. Never "next steps" or "about us" wording (a heading
|
|
66
|
+
or a sentence, at any level), and never a validity sentence.
|
|
67
|
+
|
|
68
|
+
**A reviewed order.** Only when the client's reviewers return the proposal
|
|
69
|
+
with their own contents, follow it with a `contents` frontmatter line: a JSON
|
|
70
|
+
list of `["id", "Heading"]` pairs in their order, for example
|
|
71
|
+
`contents: [["summary","Executive summary"],["scope-price","Pricing by requirement"],…]`.
|
|
72
|
+
The ids are the seven parts' (`summary`, `solution`, `scope-price`,
|
|
73
|
+
`assumptions`, `technology`, `hosting`, `plan`); each appears once, under the
|
|
74
|
+
heading given, and keeps its checks. A new id (`team`) adds a `##` part the
|
|
75
|
+
reviewers asked for; it must not be empty.
|
|
76
|
+
|
|
77
|
+
The build lays the contents out the same way every time (Word and PDF): a
|
|
78
|
+
one-page contents with page numbers, each part on a new page unless its
|
|
79
|
+
first page fits in the room left after the part before, headings kept with
|
|
80
|
+
what follows, short tables and lists kept whole. It prints a `layout` note
|
|
81
|
+
for a nearly empty page or a heading left at a page foot; fix the text and
|
|
82
|
+
rebuild.
|
|
83
|
+
|
|
84
|
+
Write as an advisor: short sentences, strengths and weaknesses both stated.
|
|
85
|
+
Do not promise a performance figure nobody has measured: give the expected
|
|
86
|
+
figure with its source and say the target is set after the first sprint's
|
|
87
|
+
measurement. The text must stand on its own: never "see PRD", "section
|
|
88
|
+
12.3" or "open point 8". A requirement code may follow a feature name in
|
|
89
|
+
brackets: "Bulk import (M2.3)". A cross-reference ("Part B", "section 4") must
|
|
90
|
+
name a heading that exists; otherwise name the part in words. Never type a
|
|
91
|
+
figure number ("Figure 9"): the build numbers figures in page order.
|
|
92
|
+
|
|
93
|
+
## 3. Prices — the rule that matters most
|
|
94
|
+
|
|
95
|
+
Run `derive.mjs` first and quote only its figures (proposal-figures.json):
|
|
96
|
+
|
|
97
|
+
- **Estimate** (default): the presented range and single number, splits by
|
|
98
|
+
milestone and by feature (its share of the range, grouped by system).
|
|
99
|
+
- **Ballpark workbook, roll-up**: `--workbook <recalculated xlsx>` for an
|
|
100
|
+
agentic estimate; its Project Roll-up range and single number.
|
|
101
|
+
- **Workbook feature rows**: `price-source.json`
|
|
102
|
+
`{"kind": "workbook-rows", "file": "<xlsx>", "sheet": "ballparkv2", "nameCol": "A", "priceCol": "J", "groupCol": "Q", "rows": [7, 18], "totalCell": "J19", "optionalPrefix": "Optional:"}`
|
|
103
|
+
— each feature in whole dollars, rounded so the rows add up to the total.
|
|
104
|
+
- **The PM's files**: `{"kind": "pm-file", "files": ["inputs/plan.md"], "total": 115000}`
|
|
105
|
+
— every currency-marked amount, every number in a Price, Cost, USD or Amount
|
|
106
|
+
column, and every duration the files state may be quoted; `total` is the
|
|
107
|
+
headline. Markdown and CSV only: an `.xlsx` file is refused (pass the CES
|
|
108
|
+
estimate workbook with `--workbook`, or export the PM sheet to CSV or Markdown).
|
|
109
|
+
|
|
110
|
+
The validator reads every price in the document — `$1,234`, `1,234 USD`, a
|
|
111
|
+
number in a column headed Price, Cost, USD or Amount — and refuses any that the
|
|
112
|
+
price source does not hold, unless its sentence or table cites a source, or it
|
|
113
|
+
is a bold total row equal to the sum of the rows above it. In the Price part
|
|
114
|
+
a citation does not excuse a table row: each row's amount must be in
|
|
115
|
+
the price source. Durations in weeks
|
|
116
|
+
or months in Executive summary, Price and Delivery plan and acceptance must be
|
|
117
|
+
stated by the PM's files. With prices in another currency, `fx` admits each figure converted at the
|
|
118
|
+
rate; cite the rate's source. Money is written `$8,000` (en-US grouping).
|
|
119
|
+
Internal scores, tiers, points and percentiles never appear.
|
|
120
|
+
|
|
121
|
+
## 4. Sources
|
|
122
|
+
|
|
123
|
+
Cite as `[^key]` or `[^key;where]`, at most one per sentence (a table may
|
|
124
|
+
carry one, usually in its first row or the sentence before it). Each key is
|
|
125
|
+
in `references.json`:
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
{
|
|
129
|
+
"prd": { "client": true, "title": "Booking platform requirements", "publisher": "Acme Corp", "date": "20 October 2026" },
|
|
130
|
+
"pg-versioning": { "status": "verified", "title": "Versioning Policy", "publisher": "PostgreSQL Global Development Group",
|
|
131
|
+
"url": "https://www.postgresql.org/support/versioning/", "checked": "29 October 2026", "quote": "the passage the claim rests on" }
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Open each public source before citing it, copy the passage the claim rests on
|
|
136
|
+
into `quote`, then set `status: verified`; anything else is refused. Every
|
|
137
|
+
percentage needs a source in its sentence or table, or the plain words that
|
|
138
|
+
it is our assumption. Every price in Monthly running costs needs a source the
|
|
139
|
+
same way. Cite only what needs a source — an outside fact, a figure, the
|
|
140
|
+
client's requirement behind a claim — not every sentence; side-by-side
|
|
141
|
+
citations (`[^a][^b]`) are fine in a table cell that rests on several sources.
|
|
142
|
+
|
|
143
|
+
Each source gets one number, in the order it is first cited, and keeps it:
|
|
144
|
+
the same number marks every later citation, heads its one footnote at the
|
|
145
|
+
foot of the page where it is first cited (Word, PDF; the end of each part on
|
|
146
|
+
the web page), and numbers it under References. The footnote is short (title,
|
|
147
|
+
publisher, date); the URL and the day it was checked are in References. A
|
|
148
|
+
`;where` location shows in the footnote of the source's first citation only.
|
|
149
|
+
|
|
150
|
+
## 5. Tech-level language
|
|
151
|
+
|
|
152
|
+
- **non-tech** — plain words only; the deny-list (`scripts/lib/jargon.mjs`)
|
|
153
|
+
fails validation; diagrams show what the client sees.
|
|
154
|
+
- **low-tech** — everyday product vocabulary is fine (website, app, database).
|
|
155
|
+
- **technical** — full stack detail welcome.
|
|
156
|
+
|
|
157
|
+
## 6. Commands
|
|
158
|
+
|
|
159
|
+
Run from `.agents/skills/proposal/`:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
node scripts/derive.mjs --estimation <dir>/estimation.json [--prices <dir>/price-source.json | --workbook <xlsx>] --out <dir>/proposal-figures.json
|
|
163
|
+
node scripts/validate.mjs --md <dir>/proposal.md --estimation <dir>/estimation.json [--prices … | --workbook …]
|
|
164
|
+
node scripts/render.mjs --md <dir>/proposal.md --estimation <dir>/estimation.json [--prices … | --workbook …] --out <dir>/dist --draft
|
|
165
|
+
node scripts/render.mjs --md <dir>/proposal.md --estimation <dir>/estimation.json [--prices … | --workbook …] --out <dir>/dist
|
|
166
|
+
node ../analyze-requirements/scripts/serve.mjs <dir>
|
|
167
|
+
```
|