@v11g/agents-rock 1.0.9 → 1.0.11
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 +3 -1
- package/package.json +2 -2
- package/plugins/business-analyst/.claude-plugin/plugin.json +2 -2
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/conflict-quoted.md +15 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/no-internal-ids.md +9 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/one-question.md +15 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-interview-conflict/prompt.md +31 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/no-internal-ids.md +9 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/no-setup-questions.md +16 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/one-scope-question.md +19 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-interview-first-turn/prompt.md +31 -0
- package/plugins/business-analyst/evals/ba-review-page/case.yaml +4 -0
- package/plugins/business-analyst/evals/ba-review-page/fixture.sh +12 -0
- package/plugins/business-analyst/evals/ba-review-page/graders/decide-in-interview.md +26 -0
- package/plugins/business-analyst/evals/ba-review-page/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/ba-review-page/prompt.md +9 -0
- package/plugins/business-analyst/evals/draft-scope-rich/case.yaml +4 -0
- package/plugins/business-analyst/evals/draft-scope-rich/fixture.sh +5 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/conflict-question.md +11 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/keep-and-exclude.md +14 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/noise-and-shape.md +13 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/problem-not-solution.md +13 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/share-kept.md +11 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/draft-scope-rich/graders/vague-word.md +13 -0
- package/plugins/business-analyst/evals/draft-scope-rich/inputs/C1.txt +10 -0
- package/plugins/business-analyst/evals/draft-scope-rich/inputs/E1.txt +5 -0
- package/plugins/business-analyst/evals/draft-scope-rich/inputs/E2.txt +5 -0
- package/plugins/business-analyst/evals/draft-scope-rich/inputs/E3.txt +5 -0
- package/plugins/business-analyst/evals/draft-scope-rich/prompt.md +9 -0
- package/plugins/business-analyst/evals/draft-scope-thin/case.yaml +4 -0
- package/plugins/business-analyst/evals/draft-scope-thin/fixture.sh +4 -0
- package/plugins/business-analyst/evals/draft-scope-thin/graders/no-invention.md +18 -0
- package/plugins/business-analyst/evals/draft-scope-thin/graders/skill-fired.md +7 -0
- package/plugins/business-analyst/evals/draft-scope-thin/inputs/E1.txt +5 -0
- package/plugins/business-analyst/evals/draft-scope-thin/prompt.md +8 -0
- package/plugins/business-analyst/skills/business-analyst/README.md +8 -0
- package/plugins/business-analyst/skills/business-analyst/SKILL.md +47 -16
- package/plugins/business-analyst/skills/business-analyst/assets/review-page.html +68 -0
- package/plugins/business-analyst/skills/business-analyst/evals/evals.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/references/frameworks.md +3 -2
- package/plugins/business-analyst/skills/business-analyst/references/interview.md +156 -8
- package/plugins/business-analyst/skills/business-analyst/references/review.md +18 -4
- package/plugins/business-analyst/skills/business-analyst/references/writing.md +49 -8
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_data.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_layout.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/review_page.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_checks.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/scope_render.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/__pycache__/validate.cpython-312.pyc +0 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/checks.mjs +12 -6
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-data.mjs +66 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-layout.mjs +53 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/review-page.mjs +78 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-checks.mjs +73 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-md.mjs +53 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-render.mjs +72 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/lib/scope-rules.mjs +90 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review.mjs +48 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review.py +60 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_data.py +81 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_layout.py +50 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/review_page.py +115 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope.mjs +24 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope.py +35 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope_checks.py +168 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/scope_render.py +140 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/checks.test.mjs +27 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/fixtures/requirements-workflow-pass.json +78 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/fixtures/requirements-workflow-pass.md +136 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/python-parity.test.mjs +88 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/quality-gates.test.mjs +26 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-browser.test.mjs +106 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-fixture.mjs +32 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-page.test.mjs +340 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/review-parity.test.mjs +79 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-cases.mjs +58 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-checks.test.mjs +31 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/test/scope-md.test.mjs +140 -0
- package/plugins/business-analyst/skills/business-analyst/scripts/validate.mjs +1 -1
- package/plugins/business-analyst/skills/business-analyst/scripts/validate.py +17 -8
- package/plugins/business-analyst/skills/draft-scope/SKILL.md +46 -0
- package/plugins/business-analyst/skills/draft-scope/references/credits.md +12 -0
- package/plugins/business-analyst/skills/draft-scope/references/draft-schema.md +44 -0
- package/plugins/business-analyst/skills/draft-scope/references/rules.md +24 -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/business-analyst/skills/draft-scope/scripts/build_docx.py +36 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/check.py +53 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/docx_body.py +58 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/docx_flow.py +52 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/docx_package.py +62 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/docx_xml.py +44 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/draft_quotes.py +49 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/draft_rules.py +106 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/draft_schema.py +87 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/build-docx.test.mjs +76 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/check-rules.test.mjs +131 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/check-shape.test.mjs +70 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/fixtures/draft-pass.json +40 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/fixtures/sources/C1.txt +7 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/fixtures/sources/E1.txt +5 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/gates.test.mjs +39 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/helpers.mjs +30 -0
- package/plugins/business-analyst/skills/draft-scope/scripts/test/skill-files.test.mjs +59 -0
- package/plugins/business-analyst/skills/draft-scope/steps/assumptions.md +24 -0
- package/plugins/business-analyst/skills/draft-scope/steps/check.md +24 -0
- package/plugins/business-analyst/skills/draft-scope/steps/discover.md +53 -0
- package/plugins/business-analyst/skills/draft-scope/steps/draft.md +64 -0
- package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
- package/plugins/solution-architect/evals/proposal-workflow/case.yaml +6 -0
- package/plugins/solution-architect/evals/proposal-workflow/fixture.sh +6 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/inputs-written.md +23 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/no-proposal-md.md +7 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/proposal-workflow/graders/validate-then-render.md +16 -0
- package/plugins/solution-architect/evals/proposal-workflow/prompt.md +10 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/case.yaml +4 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/fixture.sh +6 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/no-classic-fallback.md +10 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/nothing-written.md +7 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/graders/stops-at-gate.md +11 -0
- package/plugins/solution-architect/evals/workflow-gate-no-architecture/prompt.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/case.yaml +4 -0
- package/plugins/solution-architect/evals/workflow-happy-path/fixture.sh +6 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/no-estimation-md.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/pages-or-stop.md +16 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/routed-to-workflow.md +12 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/skill-fired.md +7 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/three-questions-max.md +14 -0
- package/plugins/solution-architect/evals/workflow-happy-path/graders/workflow-or-exact-stop.md +15 -0
- package/plugins/solution-architect/evals/workflow-happy-path/prompt.md +9 -0
- package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +8 -7
- package/plugins/solution-architect/skills/analyze-requirements/assets/section-help.json +5 -5
- package/plugins/solution-architect/skills/analyze-requirements/assets/viewer-template.html +26 -4
- package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +50 -6
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/ba-package-citations/requirements.json +31 -0
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/ba-package-citations/requirements.md +17 -0
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/transcript-citations/C1-kickoff-call.txt +16 -0
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/transcript-citations/E1-intro-email.md +9 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/extract.md +108 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/interview.md +39 -5
- package/plugins/solution-architect/skills/analyze-requirements/references/project-types.md +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/references/quality-goals.md +84 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/research.md +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +7 -2
- package/plugins/solution-architect/skills/analyze-requirements/references/viewer.md +10 -6
- package/plugins/solution-architect/skills/analyze-requirements/references/writing.md +45 -3
- package/plugins/solution-architect/skills/analyze-requirements/scripts/ba-facts.mjs +32 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/check-quotes.mjs +39 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/ba-package.mjs +75 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-links.mjs +19 -7
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-routes.mjs +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/inputs.mjs +42 -11
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-render.mjs +15 -4
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/section-help.mjs +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/strategy-sections.mjs +30 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-provenance.mjs +14 -2
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-quotes.mjs +55 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-strategy.mjs +65 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/render.mjs +18 -5
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/ba-facts-cli.test.mjs +55 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/ba-package-cli.test.mjs +101 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/ba-package.test.mjs +115 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/browser.test.mjs +77 -2
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/check-quotes-cli.test.mjs +49 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/doc-links.test.mjs +49 -4
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/extract-workflow.test.mjs +69 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/inputs.test.mjs +14 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-render.test.mjs +19 -5
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/render.test.mjs +69 -2
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/section-help.test.mjs +6 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-provenance.test.mjs +19 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-quotes-cli.test.mjs +58 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-quotes.test.mjs +81 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-strategy-cli.test.mjs +32 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-strategy.test.mjs +118 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/validate.mjs +17 -6
- package/plugins/solution-architect/skills/analyze-requirements/workflows/extract.js +51 -0
- package/plugins/solution-architect/skills/estimate/README.md +18 -3
- package/plugins/solution-architect/skills/estimate/SKILL.md +18 -75
- package/plugins/solution-architect/skills/estimate/classic/FLOW.md +77 -0
- package/plugins/solution-architect/skills/estimate/classic/assets/estimate-template.html +1337 -0
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/task-shapes.md +1 -1
- package/plugins/solution-architect/skills/estimate/{references → classic/references}/writing.md +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/compute.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/checks.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/roadmap.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/rollup.mjs +5 -5
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/schema.mjs +4 -26
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/score-csv.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/score-html.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/render.mjs +8 -7
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/score-review.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/baselines.test.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/browser-agentic.test.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/browser.test.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/compute.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/e2e.test.mjs +6 -6
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/estimate-math.test.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/measurements.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/pricing.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/project-price.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/quality-gates.test.mjs +7 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/references.test.mjs +6 -6
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/render.test.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/schema.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/score-review.test.mjs +6 -6
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/scoring.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/url-state.test.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/validate.test.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/xlsx-export.test.mjs +3 -3
- package/plugins/solution-architect/skills/estimate/classic/scripts/test/zip-store.test.mjs +26 -0
- package/plugins/solution-architect/skills/estimate/evals/evals.json +37 -2
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +28 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.json +79 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/workflow-sin-kowa-mini/requirements.md +141 -0
- package/plugins/solution-architect/skills/estimate/shared/assets/xlsx-export.js +336 -0
- package/plugins/solution-architect/skills/estimate/shared/lib/agentic-task-schema.mjs +24 -0
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/context-schema.mjs +2 -2
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/inline.mjs +8 -0
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/scoring-schema.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/scoring.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/shared/lib/zip.mjs +60 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/FLOW.md +91 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimate-components.html +994 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimate-template.html +440 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/estimator-system.xlsx +0 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/assets/score-review.html +838 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/references/hidden-work-by-type.md +429 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/references/linking.md +59 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-components-template.mjs +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-template.mjs +60 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-workflow-template.mjs +51 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/build-xlsx-template.py +144 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/compute.mjs +32 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/page-html.mjs +44 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/page-view.mjs +71 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/pair-findings.mjs +19 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/requirements.mjs +33 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/rollup.mjs +66 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/schema-components.mjs +69 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/schema.mjs +70 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/score-diff.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/score-html.mjs +52 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/lib/xlsx-rows.mjs +51 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/render.mjs +42 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/score-review.mjs +46 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/arch-link.js +9 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/click.js +28 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/prelude.js +4 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/template/view.js +63 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/browser.test.mjs +127 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/build-pages.test.mjs +43 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/build-template.test.mjs +18 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/cli.test.mjs +48 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/estimator-system.test.mjs +66 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/ARCHITECTURE-mini.md +31 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/feedback.json +19 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/inputs-pass.json +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/measurements.jsonl +0 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/fixtures/requirements.json +79 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/page-view.test.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/pages-browser.test.mjs +209 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/quality-gates.test.mjs +25 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/render.test.mjs +54 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/requirements.test.mjs +33 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/rollup.test.mjs +80 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/schema.test.mjs +61 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/score-review.test.mjs +108 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/stage.mjs +32 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/workflow-script.test.mjs +24 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/test/xlsx-rows.test.mjs +58 -0
- package/plugins/solution-architect/skills/estimate/workflow-based/scripts/validate.mjs +19 -0
- package/plugins/solution-architect/skills/proposal/README.md +13 -0
- package/plugins/solution-architect/skills/proposal/SKILL.md +8 -0
- package/plugins/solution-architect/skills/proposal/assets/proposal-workflow.html +143 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/ARCHITECTURE.md +31 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation-inputs.json +468 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/estimation.json +773 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/measurements.jsonl +0 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/workflow-sin-kowa-mini/requirements.json +79 -0
- package/plugins/solution-architect/skills/proposal/references/review.md +11 -0
- package/plugins/solution-architect/skills/proposal/references/workflow.md +88 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-body.mjs +42 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-package.mjs +56 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/docx-xml.mjs +44 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-checks.mjs +71 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-cli.mjs +46 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-html.mjs +39 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-lead.mjs +45 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-page.mjs +30 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/workflow-view.mjs +80 -0
- package/plugins/solution-architect/skills/proposal/scripts/render.mjs +5 -1
- package/plugins/solution-architect/skills/proposal/scripts/test/docx.test.mjs +68 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +2 -2
- package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +9 -2
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-inputs-pass.json +17 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +2 -2
- package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +2 -2
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-browser.test.mjs +96 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-checks.test.mjs +98 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-docs.test.mjs +25 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-render.test.mjs +75 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-stage.mjs +15 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/workflow-view.test.mjs +78 -0
- package/plugins/solution-architect/skills/proposal/scripts/validate.mjs +4 -1
- package/plugins/solution-architect/workflows/review-links.js +61 -0
- package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +0 -1677
- /package/plugins/solution-architect/skills/estimate/{assets → classic/assets}/estimate-template-agentic.html +0 -0
- /package/plugins/solution-architect/skills/estimate/{assets → classic/assets}/scores-review-template.html +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/agentic-estimation.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/ai-multipliers.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/interview.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/scoring-guide.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/slicing.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{references → classic/references}/techniques.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/agentic-checks.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/components.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/md-tables.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/redact.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/lib/scoring-checks.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-estimation-fail.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-estimation-pass.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/agentic-inputs.json +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/booking-inputs.json +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/estimation-fail.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/estimation-pass.md +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/fixtures/measurements.jsonl +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/test/zip.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → classic/scripts}/validate.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/baselines.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/estimate-math.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/measurements.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/pricing.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/project-price.mjs +0 -0
- /package/plugins/solution-architect/skills/estimate/{scripts → shared}/lib/score-diff.mjs +0 -0
package/README.md
CHANGED
|
@@ -81,9 +81,10 @@ rather than a hang.
|
|
|
81
81
|
|
|
82
82
|
| Plugin | Description | Version |
|
|
83
83
|
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
84
|
-
| `business-analyst` | Business-analysis toolkit: interview-driven requirements discovery that turns raw client input into a validated, traceable requirements package ready for solution architecture.
|
|
84
|
+
| `business-analyst` | Business-analysis toolkit: interview-driven requirements discovery that turns raw client input into a validated, traceable requirements package ready for solution architecture, plus a drafter that turns raw emails and call transcripts into an editable workflow-based scope document. | 0.5.0 |
|
|
85
85
|
| `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. | 3.0.1 |
|
|
86
86
|
| `lmk` | Terminal-native visual explainer: explains the current topic with cheap diagrams (flowcharts, sequences, timelines, tables) rendered directly in the terminal via a bundled Mermaid renderer. | 0.1.0 |
|
|
87
|
+
| `reasoning` | Reasoning toolkit: classify a problem, pick a fitting framework, and work it to a testable next step — with evidence and assumptions kept apart. | 0.5.0 |
|
|
87
88
|
|
|
88
89
|
## Skills
|
|
89
90
|
|
|
@@ -100,6 +101,7 @@ for automatically by the agent when the task fits.
|
|
|
100
101
|
**Model-invoked**
|
|
101
102
|
|
|
102
103
|
- **[business-analyst](./plugins/business-analyst/skills/business-analyst/SKILL.md)** (`business-analyst`) — Interview-driven requirements discovery: turns raw client input (emails, notes, transcripts) into a validated requirements package (requirements.md + requirements.json) with labeled facts, open questions, and a readiness gate; triggers on asks to analyze client requirements, run discovery, or clarify a vague request. `new-lead` offers it as optional step 0 when installed.
|
|
104
|
+
- **[draft-scope](./plugins/business-analyst/skills/draft-scope/SKILL.md)** (`business-analyst`) — Drafts a workflow-based scope document (problems, systems, step lines, features, assumptions, client questions) from raw emails and call transcripts as an editable DOCX; every line cites its source. The PO edits it, then uses it with business-analyst.
|
|
103
105
|
- **[analyze-requirements](./plugins/solution-architect/skills/analyze-requirements/SKILL.md)** (`solution-architect`) — Interview-driven architecture documentation with interactive diagrams and provenance-tagged facts; triggers on asks for architecture docs, C4 diagrams, ADRs, or a threat model.
|
|
104
106
|
- **[estimate](./plugins/solution-architect/skills/estimate/SKILL.md)** (`solution-architect`) — Interview-driven, AI-aware project estimation with an interactive what-if page; triggers on asks for an estimate, quote, timeline, or "how long would this take".
|
|
105
107
|
- **[proposal](./plugins/solution-architect/skills/proposal/SKILL.md)** (`solution-architect`) — Pre-sales client proposal rendered as a print-ready page; triggers on asks for a proposal, client pitch, or "something I can send the client".
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v11g/agents-rock",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"node": ">=18.3"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"test": "node --test tests/*.test.mjs plugins/*/skills/*/scripts/test/*.test.mjs"
|
|
21
|
+
"test": "node --test tests/*.test.mjs plugins/*/skills/*/scripts/test/*.test.mjs plugins/*/skills/*/classic/scripts/test/*.test.mjs plugins/*/skills/*/workflow-based/scripts/test/*.test.mjs"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "business-analyst",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Business-analysis toolkit: interview-driven requirements discovery that turns raw client input into a validated, traceable requirements package ready for solution architecture.",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Business-analysis toolkit: interview-driven requirements discovery that turns raw client input into a validated, traceable requirements package ready for solution architecture, plus a drafter that turns raw emails and call transcripts into an editable workflow-based scope document.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Truong Vu",
|
|
7
7
|
"email": "vukhanhtruong@gmail.com"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
weight: 1
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The PRD contradicts itself: "Assumptions" says WiFi or cellular coverage
|
|
7
|
+
is adequate, while "Warehouse operations → Offline scan queue" plans for
|
|
8
|
+
dead spots.
|
|
9
|
+
|
|
10
|
+
PASS if the reply presents this contradiction by quoting or closely
|
|
11
|
+
paraphrasing both statements, says where each appears in the PRD (its
|
|
12
|
+
section names), and asks which holds.
|
|
13
|
+
FAIL if either statement or its location is missing, if the reply picks
|
|
14
|
+
one side itself, or if it refers to the contradiction only by a label
|
|
15
|
+
such as "CONFLICT-001".
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
weight: 1
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Count the separate questions the reply puts to the user. One question
|
|
7
|
+
with several answer options counts as one, even when an option carries
|
|
8
|
+
its own follow-up ("Both — if so, which areas?"). A summary of what was
|
|
9
|
+
extracted before it is fine.
|
|
10
|
+
|
|
11
|
+
PASS if the reply asks exactly one question, and it is about the coverage
|
|
12
|
+
contradiction.
|
|
13
|
+
FAIL if the reply asks two or more separate questions (numbered rounds,
|
|
14
|
+
"other P1 questions", a "2B, 3A" style answer sheet), or asks something
|
|
15
|
+
other than the contradiction.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
max_turns: 10
|
|
3
|
+
allowed_tools: [Read, Glob, Grep, Skill]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the business-analyst skill on this PRD from Harbour Supply, a ship
|
|
7
|
+
chandler: STANDARD depth, workflow scope mode. Start with any
|
|
8
|
+
contradiction you find in it. Write the package to leads/harbour-supply/
|
|
9
|
+
when you get there.
|
|
10
|
+
|
|
11
|
+
# Harbour Supply — PRD
|
|
12
|
+
|
|
13
|
+
Ships order provisions by email or phone. Today staff key orders into a
|
|
14
|
+
spreadsheet, pack from a paper list, and invoice when the signed paper
|
|
15
|
+
delivery order comes back, often weeks later.
|
|
16
|
+
|
|
17
|
+
## Warehouse operations
|
|
18
|
+
|
|
19
|
+
- Order pipeline: each order moves Order In → Pack → Pack Review → Shipped,
|
|
20
|
+
tracked on a phone in the warehouse.
|
|
21
|
+
- Offline scan queue: scans are kept and synced later, for WiFi and
|
|
22
|
+
cellular dead spots inside the warehouse.
|
|
23
|
+
|
|
24
|
+
## Invoicing
|
|
25
|
+
|
|
26
|
+
- Invoice from packed quantities, raised the moment an order is shipped.
|
|
27
|
+
|
|
28
|
+
## Assumptions
|
|
29
|
+
|
|
30
|
+
- The client confirms warehouse WiFi or cellular coverage is adequate for
|
|
31
|
+
phone-based scanning.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
weight: 1
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Only two setup questions are forbidden: choosing a depth mode (QUICK /
|
|
7
|
+
STANDARD / DEEP), and asking where the user's answers will come from (the
|
|
8
|
+
client vs their own understanding).
|
|
9
|
+
|
|
10
|
+
PASS if the reply asks neither. A statement of the depth ("Depth:
|
|
11
|
+
STANDARD", "STANDARD, the default") is not a question. A question about
|
|
12
|
+
scope mode (workflow vs classic) is allowed and does not count. A line
|
|
13
|
+
inviting the user to correct the stated findings ("Correct me if any of
|
|
14
|
+
this is wrong") is not a setup question.
|
|
15
|
+
FAIL only if the reply asks the user to pick a depth, offers depth modes
|
|
16
|
+
as choices, or asks where their answers come from.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
weight: 1
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The PRD names two business areas (Warehouse operations, Invoicing), each
|
|
7
|
+
with its own features, and draws a to-be workflow. The user named no
|
|
8
|
+
scope mode.
|
|
9
|
+
|
|
10
|
+
PASS if the reply asks the user exactly one question, that question
|
|
11
|
+
asks for the scope mode (workflow vs classic), the question text cites
|
|
12
|
+
evidence from this PRD (the named areas or the workflow diagram), and no
|
|
13
|
+
option is marked as the agent's pick. Evidence stated in the same reply,
|
|
14
|
+
just before the options, counts as the question citing evidence. A line
|
|
15
|
+
inviting the user to correct the stated findings ("Correct me if any of
|
|
16
|
+
this is wrong") is not a question.
|
|
17
|
+
FAIL if the reply asks two or more questions, asks something else first,
|
|
18
|
+
marks an option "(Recommended)" or otherwise as its pick, or gives no
|
|
19
|
+
evidence.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
max_turns: 10
|
|
3
|
+
allowed_tools: [Read, Glob, Grep, Skill]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the business-analyst skill on this PRD from Harbour Supply, a ship
|
|
7
|
+
chandler. Write the package to leads/harbour-supply/ when you get there.
|
|
8
|
+
|
|
9
|
+
# Harbour Supply — PRD
|
|
10
|
+
|
|
11
|
+
Ships order provisions by email or phone. Today staff key orders into a
|
|
12
|
+
spreadsheet, pack from a paper list, and invoice when the signed paper
|
|
13
|
+
delivery order comes back, often weeks later.
|
|
14
|
+
|
|
15
|
+
## Warehouse operations
|
|
16
|
+
|
|
17
|
+
Orders move through stages on a phone in the warehouse.
|
|
18
|
+
|
|
19
|
+
- Order pipeline: each order moves Order In → Pack → Pack Review → Shipped.
|
|
20
|
+
- Short-pack alert: flag an item that cannot be packed.
|
|
21
|
+
|
|
22
|
+
```mermaid
|
|
23
|
+
flowchart LR
|
|
24
|
+
A[Order In] --> B[Pack] --> C[Pack Review] --> D[Shipped]
|
|
25
|
+
B -.->|can't fulfil| E[Short-pack alert]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Invoicing
|
|
29
|
+
|
|
30
|
+
- Invoice from packed quantities, raised the moment an order is shipped.
|
|
31
|
+
- Payment status per invoice.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Seeds the empty workspace as the sin-kowa-mini lead from business-analyst
|
|
3
|
+
# 0.3.x being re-run: requirements.json written, validated and fresh-eyes
|
|
4
|
+
# reviewed, still holding two items the BA drafted (drafted() in
|
|
5
|
+
# review-fixture.mjs: workflow "Order to cash", feature "Invoice from packed
|
|
6
|
+
# quantities"); no md yet. The canonical pass fixture stays drafting-free.
|
|
7
|
+
set -euo pipefail
|
|
8
|
+
helper="$(cd "$(dirname "$0")/../../skills/business-analyst/scripts/test" && pwd)/review-fixture.mjs"
|
|
9
|
+
node --input-type=module -e "
|
|
10
|
+
import { drafted } from '$helper';
|
|
11
|
+
process.stdout.write(JSON.stringify(drafted(), null, 2) + '\n');
|
|
12
|
+
" > requirements.json
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The lead is a 0.3.x package being re-run: its requirements.json still
|
|
7
|
+
holds two items the BA drafted back then, the workflow "Order to cash"
|
|
8
|
+
and the feature "Invoice from packed quantities".
|
|
9
|
+
The review page shows decided scope only, so these must be settled with
|
|
10
|
+
the PO in the interview first. This sandbox has no Bash, so the agent may
|
|
11
|
+
not be able to run scripts. Judge the agent's final reply only.
|
|
12
|
+
|
|
13
|
+
PASS if the reply asks the PO about one of those two items as ONE question
|
|
14
|
+
(question tool or plain text) whose options carry no "(Recommended)" and
|
|
15
|
+
any assumption option starts with "Assume", or names `review.mjs page` as
|
|
16
|
+
the next step and says it will refuse until those two are decided.
|
|
17
|
+
FAIL if the reply tells the PO to press Copy decisions or paste a block
|
|
18
|
+
copied from the review page back into chat (asking the PO to paste the
|
|
19
|
+
brief's own steps, or offering edits to paste because the sandbox cannot
|
|
20
|
+
write files, is fine),
|
|
21
|
+
asks about several items in one question, marks an option as recommended,
|
|
22
|
+
offers "Don't know" as an option, offers, as an option to pick, a step
|
|
23
|
+
order the brief never gave (quoting the drafted order to explain the
|
|
24
|
+
question is not offering it), or says it wrote requirements.md.
|
|
25
|
+
On a re-run a bracketed id after the plain question (interview.md §2
|
|
26
|
+
rule 9) is allowed and is not a failure.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
max_turns: 15
|
|
3
|
+
allowed_tools: [Read, Glob, Grep, Skill, AskUserQuestion, TodoWrite]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the business-analyst skill. The sin-kowa-mini lead is in this folder:
|
|
7
|
+
a 0.3.x package being re-run. Its requirements.json is written in workflow
|
|
8
|
+
mode, validated and fresh-eyes reviewed. Carry on from there — the PO is
|
|
9
|
+
here with me now.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
E2 promises "next-morning delivery"; C1 says "Same day, if the order is in
|
|
7
|
+
before 10am."
|
|
8
|
+
|
|
9
|
+
PASS if one client question puts both promises side by side (quoting or
|
|
10
|
+
naming next-morning and same-day) and asks which holds.
|
|
11
|
+
FAIL if the draft picks one silently, or never mentions the conflict.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
C1 says "Orders come in by WhatsApp, that stays." and "The courier company
|
|
7
|
+
handles routes, not us."
|
|
8
|
+
|
|
9
|
+
PASS if both hold:
|
|
10
|
+
- WhatsApp ordering is kept as-is: an assumption, an exclusion, or a scope
|
|
11
|
+
line saying ordering stays on WhatsApp; no feature replaces WhatsApp.
|
|
12
|
+
- Delivery routes are excluded with a reason that says the courier owns
|
|
13
|
+
them (owned by someone else).
|
|
14
|
+
FAIL if either is missing, or a feature plans or optimises delivery routes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
PASS if all hold:
|
|
7
|
+
- Nothing in the draft is about the café playlist, music or jazz.
|
|
8
|
+
- Systems are named as business areas (e.g. Orders, Stock, Delivery), not
|
|
9
|
+
technical parts (backend, database, mobile app, API).
|
|
10
|
+
- The draft has at most 8 assumptions.
|
|
11
|
+
- The reply asks the user no question to answer before drafting (client
|
|
12
|
+
questions inside the draft are fine).
|
|
13
|
+
FAIL if any of these is broken.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
E1 asks "can you build us an app so we stop running out of flour?". The
|
|
7
|
+
sandbox has no Bash; judge the draft shown in the final reply.
|
|
8
|
+
|
|
9
|
+
PASS if running out of flour appears as a problem in the client's terms
|
|
10
|
+
(e.g. "we run out of flour before we notice"), backed by a quote from E1,
|
|
11
|
+
and no feature is named or described simply as "an app" or "flour app".
|
|
12
|
+
FAIL if the draft states the problem as "build an app", or has no
|
|
13
|
+
flour-related problem.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
E3 says "About 30% of our orders are custom cakes. Those need the customer
|
|
7
|
+
to approve the design before we bake."
|
|
8
|
+
|
|
9
|
+
PASS if the draft shows custom cakes as a sub-workflow or side path whose
|
|
10
|
+
line or description keeps the 30% (as "30%", "~30%" or "about 30%").
|
|
11
|
+
FAIL if custom cakes are missing, or the 30% is dropped or changed.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
E2 says "Deliveries must be fast."
|
|
7
|
+
|
|
8
|
+
PASS if the word "fast" appears nowhere in the draft's problems, system
|
|
9
|
+
purposes, feature names, "What it does" text or assumptions, except inside
|
|
10
|
+
a quotation of the client's words, AND a client question asks what "fast"
|
|
11
|
+
means in measurable terms (hours, a cut-off time) or quotes it.
|
|
12
|
+
FAIL if a feature, purpose or assumption says "fast" in its own words, or
|
|
13
|
+
no question asks for the measurable meaning.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Call 2026-09-10 · Dana Lee (owner), Sam (our PO)
|
|
2
|
+
|
|
3
|
+
Dana: Orders come in by WhatsApp, that stays. Customers like it.
|
|
4
|
+
Dana: We write each order on a paper ticket, bake, pack and hand it to the courier.
|
|
5
|
+
Dana: When a ticket gets lost the customer calls us and we have no idea where the cake is.
|
|
6
|
+
Sam: How quickly do cakes go out?
|
|
7
|
+
Dana: Same day, if the order is in before 10am.
|
|
8
|
+
Sam: Who plans the delivery routes?
|
|
9
|
+
Dana: The courier company handles routes, not us.
|
|
10
|
+
Dana: By the way, we changed the café playlist last week, everyone loves the new jazz mix.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
max_turns: 25
|
|
3
|
+
allowed_tools: [Read, Glob, Grep, Skill, TodoWrite]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the draft-scope skill. I'm the PO for Riverside Bakery. All I have are
|
|
7
|
+
the emails and the call transcript in this folder (E1.txt, E2.txt, E3.txt,
|
|
8
|
+
C1.txt). Draft the scope document from them. If you cannot run the
|
|
9
|
+
scripts or write files here, show the full draft in your reply.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: llm
|
|
3
|
+
focus: last_message
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The only input is a three-line email: wedding orders "keep getting mixed
|
|
7
|
+
up". Judge the draft in the final reply.
|
|
8
|
+
|
|
9
|
+
PASS if all hold:
|
|
10
|
+
- At most one system, about wedding orders.
|
|
11
|
+
- No workflow steps, or only steps the email names (it names none), with
|
|
12
|
+
the missing steps raised as a client question.
|
|
13
|
+
- Every feature (if any) is about keeping wedding orders from being mixed
|
|
14
|
+
up; nothing about payments, delivery, stock, websites or marketing.
|
|
15
|
+
- At least three client questions, at least one about a real past case
|
|
16
|
+
("last time an order got mixed up…").
|
|
17
|
+
FAIL if the draft invents systems, steps or features the email does not
|
|
18
|
+
support, or has fewer than three client questions.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
max_turns: 20
|
|
3
|
+
allowed_tools: [Read, Glob, Grep, Skill, TodoWrite]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the draft-scope skill. I'm the PO for Bloom & Co. All I have is the
|
|
7
|
+
email in E1.txt. Draft the scope document from it. If you cannot run the
|
|
8
|
+
scripts or write files here, show the full draft in your reply.
|
|
@@ -17,6 +17,14 @@ The package is gated by `scripts/validate.mjs`: schema, ID traceability,
|
|
|
17
17
|
label discipline, an ambiguity lint on requirement text, readiness math,
|
|
18
18
|
and md↔json consistency.
|
|
19
19
|
|
|
20
|
+
Two scope modes. `classic` (default) is the package above. `workflow` adds
|
|
21
|
+
systems → to-be workflows → features for a proposal organised by system;
|
|
22
|
+
the product owner sees the scope on a read-only review page
|
|
23
|
+
(`scripts/review.mjs`, in the shape of their own document, business words
|
|
24
|
+
only), then `scripts/scope.mjs` writes a To-be scope section (mermaid
|
|
25
|
+
workflows and feature tables with ids) for engineers, and estimate prices
|
|
26
|
+
those features.
|
|
27
|
+
|
|
20
28
|
Requires Node ≥ 20 or Python ≥ 3.10 (`scripts/validate.py` is a
|
|
21
29
|
parity-tested port of the validator, so the skill also runs on claude.ai —
|
|
22
30
|
zip this folder and upload it under Settings → Features). No dependencies
|
|
@@ -17,8 +17,11 @@ Turn incomplete client input into two artifacts in the lead directory:
|
|
|
17
17
|
2. Problem before solution — no technology recommendations, no
|
|
18
18
|
architecture. This skill stops at WHAT; HOW belongs to
|
|
19
19
|
analyze-requirements and later skills.
|
|
20
|
-
3. Unknowns
|
|
21
|
-
|
|
20
|
+
3. Unknowns are never silently filled, and an asked question never stays
|
|
21
|
+
open. It closes as an answer, an assumption the user picked
|
|
22
|
+
("Assume …"), or out of scope. Only gaps you never ask stay open
|
|
23
|
+
questions. Distinguish unknown (client doesn't know: offer bounded
|
|
24
|
+
assumptions) from undecided (client must choose: present the options).
|
|
22
25
|
4. Never block on unanswered questions — write the package with an honest
|
|
23
26
|
status and readiness; a re-run refines it, never restarts the interview.
|
|
24
27
|
5. Every requirement carries a stable ID and traceability links;
|
|
@@ -31,27 +34,49 @@ Turn incomplete client input into two artifacts in the lead directory:
|
|
|
31
34
|
1. **Detect evidence**: input documents? an existing `requirements.json`
|
|
32
35
|
(re-run — see Re-run)? greenfield or existing system? State findings;
|
|
33
36
|
the user can override.
|
|
34
|
-
2. **Depth**:
|
|
35
|
-
(`references/interview.md` §6).
|
|
37
|
+
2. **Depth and scope mode**: depth is STANDARD unless the user names
|
|
38
|
+
QUICK or DEEP (`references/interview.md` §6); don't ask it. Scope mode:
|
|
39
|
+
ask it in one question through the host's question tool,
|
|
40
|
+
naming the evidence and marking no pick (§7).
|
|
36
41
|
3. **Extract**: pull every known goal, actor, process, rule, constraint,
|
|
37
42
|
integration, and assumption from ALL inputs before asking anything.
|
|
38
43
|
4. **Gap analysis**: extracted knowledge vs the nine layers
|
|
39
44
|
(`references/interview.md` §4) → prioritized P1/P2/P3 gap list.
|
|
40
45
|
5. **Select frameworks**: from `references/frameworks.md` — justify each
|
|
41
46
|
pick in one line; never apply all.
|
|
42
|
-
6. **Interview**: per `references/interview.md` —
|
|
43
|
-
contradiction-challenging, example-hungry. Solution
|
|
44
|
-
agents → also work through `references/ai-extension.md`.
|
|
45
|
-
7. **Write**: requirements.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
6. **Interview**: per `references/interview.md` — one question at a
|
|
48
|
+
time, adaptive, contradiction-challenging, example-hungry. Solution
|
|
49
|
+
involves AI or agents → also work through `references/ai-extension.md`.
|
|
50
|
+
7. **Write**: requirements.json per `references/writing.md`. Classic
|
|
51
|
+
mode: requirements.md too. Workflow mode: requirements.md waits for
|
|
52
|
+
step 11, after the PO review.
|
|
53
|
+
8. **Validate**: `node scripts/validate.mjs --json <dir>/requirements.json`
|
|
54
|
+
plus `--md <dir>/requirements.md` once the md exists — fix findings,
|
|
55
|
+
re-run until clean. No Node in the environment (e.g. the claude.ai
|
|
56
|
+
sandbox) → run `python3 scripts/validate.py` with the same flags;
|
|
57
|
+
identical checks. The same holds for `scope` and `review` below.
|
|
51
58
|
9. **Fresh-eyes review**: dispatch a subagent per `references/review.md`;
|
|
52
|
-
apply findings, re-validate; one cycle max.
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
apply findings, re-validate; one cycle max. No subagent available
|
|
60
|
+
(e.g. claude.ai) → run the checklist yourself and say so in Part 5.
|
|
61
|
+
10. **Review page** (workflow mode): `references/interview.md` §8. A
|
|
62
|
+
read-only page in the shape of the PO's own document. Classic mode:
|
|
63
|
+
go to step 11.
|
|
64
|
+
11. **Finish**: workflow mode → write requirements.md, run
|
|
65
|
+
`node scripts/scope.mjs --json <dir>/requirements.json --md <dir>/requirements.md`
|
|
66
|
+
(it writes the To-be scope section; never edit that section by hand),
|
|
67
|
+
then validate with `--md`. Show Part 5 (readiness report); the human
|
|
68
|
+
confirms the status. Only they can promote it to
|
|
69
|
+
`READY_FOR_ARCHITECTURE`. Workflow mode: one line: say **review page**
|
|
70
|
+
any time to see it again. Then, last, one line: send requirements.md
|
|
71
|
+
and requirements.json to the engineering team for the estimate
|
|
72
|
+
(claude.ai: present both files; Claude Code: give their paths).
|
|
73
|
+
|
|
74
|
+
## Review page
|
|
75
|
+
|
|
76
|
+
The user says "review page" (any session) and the lead has a
|
|
77
|
+
workflow-mode `requirements.json` → re-run step 10. Nothing is asked
|
|
78
|
+
before the page; it ends with the approval question (interview.md §8).
|
|
79
|
+
A change the PO wants is a re-run (below), then the page again.
|
|
55
80
|
|
|
56
81
|
## Re-run
|
|
57
82
|
|
|
@@ -60,6 +85,12 @@ the registers (answer open questions, confirm assumptions, add findings),
|
|
|
60
85
|
keep every existing ID stable, recompute readiness, and advance the status.
|
|
61
86
|
Never restart the interview; ask only what is still open.
|
|
62
87
|
|
|
88
|
+
Switching scope mode is a re-run: `classic → workflow` keeps every ID and
|
|
89
|
+
adds systems, features and to-be workflow steps; `workflow → classic`
|
|
90
|
+
removes `systems`, `features` and `scopeMode`, then `scope` removes the
|
|
91
|
+
section. After every JSON change in workflow mode, re-run `scope` once
|
|
92
|
+
requirements.md exists; before that, validate with `--json` only.
|
|
93
|
+
|
|
63
94
|
## Handoff
|
|
64
95
|
|
|
65
96
|
Downstream skills treat `requirements.json` as detected evidence — never a
|