@arimakouyou/spec-workflow-mcp 2.2.7
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/.claude-plugin/.mcp.json +8 -0
- package/.claude-plugin/agents/code-simplifier.md +80 -0
- package/.claude-plugin/agents/integ-test-auditor.md +91 -0
- package/.claude-plugin/agents/integ-test-worker.md +73 -0
- package/.claude-plugin/agents/parallel-worker.md +136 -0
- package/.claude-plugin/agents/review-worker.md +279 -0
- package/.claude-plugin/agents/unit-test-engineer.md +148 -0
- package/.claude-plugin/agents/wave-harness-worker.md +158 -0
- package/.claude-plugin/hooks/hooks.json +16 -0
- package/.claude-plugin/hooks/tasks-read-guard.sh +17 -0
- package/.claude-plugin/marketplace.json +33 -0
- package/.claude-plugin/plugin.json +11 -0
- package/.claude-plugin/rules/axum.md +154 -0
- package/.claude-plugin/rules/cargo-toml.md +63 -0
- package/.claude-plugin/rules/context7.md +17 -0
- package/.claude-plugin/rules/design-conformance.md +82 -0
- package/.claude-plugin/rules/design-principles.md +53 -0
- package/.claude-plugin/rules/diesel.md +176 -0
- package/.claude-plugin/rules/feedback-loop.md +33 -0
- package/.claude-plugin/rules/leptos.md +319 -0
- package/.claude-plugin/rules/project-architecture.md +134 -0
- package/.claude-plugin/rules/quality-checks.md +265 -0
- package/.claude-plugin/rules/rust-style.md +242 -0
- package/.claude-plugin/rules/security.md +67 -0
- package/.claude-plugin/rules/spec-workflow-enforcement.md +47 -0
- package/.claude-plugin/rules/valkey.md +167 -0
- package/.claude-plugin/skills/integration-test/SKILL.md +230 -0
- package/.claude-plugin/skills/integration-test/references/auditor-prompt.md +78 -0
- package/.claude-plugin/skills/integration-test/references/external-api-mock.md +98 -0
- package/.claude-plugin/skills/integration-test/references/fixture-catalog.md +155 -0
- package/.claude-plugin/skills/integration-test/references/parallel-execution.md +124 -0
- package/.claude-plugin/skills/integration-test/references/quality-gate.md +80 -0
- package/.claude-plugin/skills/integration-test/references/test-case-design.md +88 -0
- package/.claude-plugin/skills/integration-test/references/test-patterns.md +215 -0
- package/.claude-plugin/skills/integration-test/references/whiteboard-template.md +81 -0
- package/.claude-plugin/skills/integration-test/references/worker-prompt.md +70 -0
- package/.claude-plugin/skills/knowhow-capture/SKILL.md +143 -0
- package/.claude-plugin/skills/phase-review-team/SKILL.md +380 -0
- package/.claude-plugin/skills/spec-design/SKILL.md +282 -0
- package/.claude-plugin/skills/spec-e2e-implement/SKILL.md +259 -0
- package/.claude-plugin/skills/spec-impl-code/SKILL.md +101 -0
- package/.claude-plugin/skills/spec-impl-review/SKILL.md +115 -0
- package/.claude-plugin/skills/spec-impl-test-run/SKILL.md +98 -0
- package/.claude-plugin/skills/spec-impl-test-write/SKILL.md +121 -0
- package/.claude-plugin/skills/spec-implement/SKILL.md +822 -0
- package/.claude-plugin/skills/spec-requirements/SKILL.md +130 -0
- package/.claude-plugin/skills/spec-review/SKILL.md +274 -0
- package/.claude-plugin/skills/spec-tasks/SKILL.md +372 -0
- package/.claude-plugin/skills/spec-test-design/SKILL.md +233 -0
- package/.claude-plugin/skills/tdd-skills/SKILL.md +95 -0
- package/.claude-plugin/skills/tdd-skills/references/advanced-techniques.md +49 -0
- package/.claude-plugin/skills/tdd-skills/references/green-strategies.md +70 -0
- package/.claude-plugin/skills/tdd-skills/references/tdd-and-design.md +48 -0
- package/.claude-plugin/skills/tdd-skills/references/test-design.md +43 -0
- package/.claude-plugin/skills/tdd-skills/references/test-doubles.md +53 -0
- package/.claude-plugin/skills/tdd-skills/references/test-patterns.md +40 -0
- package/.claude-plugin/skills/tdd-skills-rust/SKILL.md +128 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/advanced-techniques.md +205 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/green-strategies.md +166 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/tdd-and-design.md +215 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/test-design.md +128 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/test-doubles.md +208 -0
- package/.claude-plugin/skills/tdd-skills-rust/references/test-patterns.md +223 -0
- package/.claude-plugin/with-dashboard/.mcp.json +8 -0
- package/.claude-plugin/with-dashboard/plugin.json +10 -0
- package/CHANGELOG.md +1007 -0
- package/LICENSE +674 -0
- package/README.ja.md +380 -0
- package/README.md +437 -0
- package/dist/__tests__/config.test.d.ts +2 -0
- package/dist/__tests__/config.test.d.ts.map +1 -0
- package/dist/__tests__/config.test.js +264 -0
- package/dist/__tests__/config.test.js.map +1 -0
- package/dist/__tests__/index-args.test.d.ts +2 -0
- package/dist/__tests__/index-args.test.d.ts.map +1 -0
- package/dist/__tests__/index-args.test.js +43 -0
- package/dist/__tests__/index-args.test.js.map +1 -0
- package/dist/__tests__/index-entrypoint.test.d.ts +2 -0
- package/dist/__tests__/index-entrypoint.test.d.ts.map +1 -0
- package/dist/__tests__/index-entrypoint.test.js +23 -0
- package/dist/__tests__/index-entrypoint.test.js.map +1 -0
- package/dist/config.d.ts +26 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +188 -0
- package/dist/config.js.map +1 -0
- package/dist/core/__tests__/git-utils.test.d.ts +2 -0
- package/dist/core/__tests__/git-utils.test.d.ts.map +1 -0
- package/dist/core/__tests__/git-utils.test.js +179 -0
- package/dist/core/__tests__/git-utils.test.js.map +1 -0
- package/dist/core/__tests__/mdx-validator.test.d.ts +2 -0
- package/dist/core/__tests__/mdx-validator.test.d.ts.map +1 -0
- package/dist/core/__tests__/mdx-validator.test.js +42 -0
- package/dist/core/__tests__/mdx-validator.test.js.map +1 -0
- package/dist/core/__tests__/path-utils.test.d.ts +2 -0
- package/dist/core/__tests__/path-utils.test.d.ts.map +1 -0
- package/dist/core/__tests__/path-utils.test.js +342 -0
- package/dist/core/__tests__/path-utils.test.js.map +1 -0
- package/dist/core/__tests__/project-registry.test.d.ts +2 -0
- package/dist/core/__tests__/project-registry.test.d.ts.map +1 -0
- package/dist/core/__tests__/project-registry.test.js +62 -0
- package/dist/core/__tests__/project-registry.test.js.map +1 -0
- package/dist/core/__tests__/security-utils.test.d.ts +2 -0
- package/dist/core/__tests__/security-utils.test.d.ts.map +1 -0
- package/dist/core/__tests__/security-utils.test.js +657 -0
- package/dist/core/__tests__/security-utils.test.js.map +1 -0
- package/dist/core/__tests__/task-parser.test.d.ts +2 -0
- package/dist/core/__tests__/task-parser.test.d.ts.map +1 -0
- package/dist/core/__tests__/task-parser.test.js +222 -0
- package/dist/core/__tests__/task-parser.test.js.map +1 -0
- package/dist/core/__tests__/task-validator.test.d.ts +2 -0
- package/dist/core/__tests__/task-validator.test.d.ts.map +1 -0
- package/dist/core/__tests__/task-validator.test.js +308 -0
- package/dist/core/__tests__/task-validator.test.js.map +1 -0
- package/dist/core/archive-service.d.ts +10 -0
- package/dist/core/archive-service.d.ts.map +1 -0
- package/dist/core/archive-service.js +99 -0
- package/dist/core/archive-service.js.map +1 -0
- package/dist/core/dashboard-session.d.ts +49 -0
- package/dist/core/dashboard-session.d.ts.map +1 -0
- package/dist/core/dashboard-session.js +132 -0
- package/dist/core/dashboard-session.js.map +1 -0
- package/dist/core/git-utils.d.ts +25 -0
- package/dist/core/git-utils.d.ts.map +1 -0
- package/dist/core/git-utils.js +87 -0
- package/dist/core/git-utils.js.map +1 -0
- package/dist/core/global-dir.d.ts +44 -0
- package/dist/core/global-dir.d.ts.map +1 -0
- package/dist/core/global-dir.js +74 -0
- package/dist/core/global-dir.js.map +1 -0
- package/dist/core/implementation-log-migrator.d.ts +41 -0
- package/dist/core/implementation-log-migrator.d.ts.map +1 -0
- package/dist/core/implementation-log-migrator.js +258 -0
- package/dist/core/implementation-log-migrator.js.map +1 -0
- package/dist/core/mdx-validator.d.ts +14 -0
- package/dist/core/mdx-validator.d.ts.map +1 -0
- package/dist/core/mdx-validator.js +34 -0
- package/dist/core/mdx-validator.js.map +1 -0
- package/dist/core/parser.d.ts +11 -0
- package/dist/core/parser.d.ts.map +1 -0
- package/dist/core/parser.js +128 -0
- package/dist/core/parser.js.map +1 -0
- package/dist/core/path-utils.d.ts +68 -0
- package/dist/core/path-utils.d.ts.map +1 -0
- package/dist/core/path-utils.js +302 -0
- package/dist/core/path-utils.js.map +1 -0
- package/dist/core/project-registry.d.ts +94 -0
- package/dist/core/project-registry.d.ts.map +1 -0
- package/dist/core/project-registry.js +297 -0
- package/dist/core/project-registry.js.map +1 -0
- package/dist/core/security-utils.d.ts +99 -0
- package/dist/core/security-utils.d.ts.map +1 -0
- package/dist/core/security-utils.js +275 -0
- package/dist/core/security-utils.js.map +1 -0
- package/dist/core/task-parser.d.ts +90 -0
- package/dist/core/task-parser.d.ts.map +1 -0
- package/dist/core/task-parser.js +477 -0
- package/dist/core/task-parser.js.map +1 -0
- package/dist/core/task-validator.d.ts +37 -0
- package/dist/core/task-validator.d.ts.map +1 -0
- package/dist/core/task-validator.js +499 -0
- package/dist/core/task-validator.js.map +1 -0
- package/dist/core/workspace-initializer.d.ts +16 -0
- package/dist/core/workspace-initializer.d.ts.map +1 -0
- package/dist/core/workspace-initializer.js +168 -0
- package/dist/core/workspace-initializer.js.map +1 -0
- package/dist/dashboard/__tests__/approval-storage-path-resolution.test.d.ts +2 -0
- package/dist/dashboard/__tests__/approval-storage-path-resolution.test.d.ts.map +1 -0
- package/dist/dashboard/__tests__/approval-storage-path-resolution.test.js +78 -0
- package/dist/dashboard/__tests__/approval-storage-path-resolution.test.js.map +1 -0
- package/dist/dashboard/__tests__/multi-server-approvals-content.test.d.ts +2 -0
- package/dist/dashboard/__tests__/multi-server-approvals-content.test.d.ts.map +1 -0
- package/dist/dashboard/__tests__/multi-server-approvals-content.test.js +115 -0
- package/dist/dashboard/__tests__/multi-server-approvals-content.test.js.map +1 -0
- package/dist/dashboard/__tests__/watcher-error-handling.test.d.ts +2 -0
- package/dist/dashboard/__tests__/watcher-error-handling.test.d.ts.map +1 -0
- package/dist/dashboard/__tests__/watcher-error-handling.test.js +118 -0
- package/dist/dashboard/__tests__/watcher-error-handling.test.js.map +1 -0
- package/dist/dashboard/approval-storage.d.ts +139 -0
- package/dist/dashboard/approval-storage.d.ts.map +1 -0
- package/dist/dashboard/approval-storage.js +608 -0
- package/dist/dashboard/approval-storage.js.map +1 -0
- package/dist/dashboard/execution-history-manager.d.ts +52 -0
- package/dist/dashboard/execution-history-manager.d.ts.map +1 -0
- package/dist/dashboard/execution-history-manager.js +161 -0
- package/dist/dashboard/execution-history-manager.js.map +1 -0
- package/dist/dashboard/implementation-log-manager.d.ts +97 -0
- package/dist/dashboard/implementation-log-manager.d.ts.map +1 -0
- package/dist/dashboard/implementation-log-manager.js +617 -0
- package/dist/dashboard/implementation-log-manager.js.map +1 -0
- package/dist/dashboard/job-scheduler.d.ts +91 -0
- package/dist/dashboard/job-scheduler.d.ts.map +1 -0
- package/dist/dashboard/job-scheduler.js +321 -0
- package/dist/dashboard/job-scheduler.js.map +1 -0
- package/dist/dashboard/multi-server.d.ts +42 -0
- package/dist/dashboard/multi-server.d.ts.map +1 -0
- package/dist/dashboard/multi-server.js +1460 -0
- package/dist/dashboard/multi-server.js.map +1 -0
- package/dist/dashboard/parser.d.ts +18 -0
- package/dist/dashboard/parser.d.ts.map +1 -0
- package/dist/dashboard/parser.js +269 -0
- package/dist/dashboard/parser.js.map +1 -0
- package/dist/dashboard/project-manager.d.ts +82 -0
- package/dist/dashboard/project-manager.d.ts.map +1 -0
- package/dist/dashboard/project-manager.js +257 -0
- package/dist/dashboard/project-manager.js.map +1 -0
- package/dist/dashboard/public/assets/Inter-Bold-CD3Pr7BX.woff2 +0 -0
- package/dist/dashboard/public/assets/Inter-Medium-B_8v_WHh.woff2 +0 -0
- package/dist/dashboard/public/assets/Inter-Regular-DRVdRqcI.woff2 +0 -0
- package/dist/dashboard/public/assets/Inter-SemiBold-CtskMddL.woff2 +0 -0
- package/dist/dashboard/public/assets/JetBrainsMono-Bold-D4WEaHbo.woff2 +0 -0
- package/dist/dashboard/public/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
- package/dist/dashboard/public/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
- package/dist/dashboard/public/assets/Tableau10-B-NsZVaP.js +1 -0
- package/dist/dashboard/public/assets/apl-B4CMkyY2.js +1 -0
- package/dist/dashboard/public/assets/arc-a5wW942W.js +1 -0
- package/dist/dashboard/public/assets/array-BKyUJesY.js +1 -0
- package/dist/dashboard/public/assets/asciiarmor-Df11BRmG.js +1 -0
- package/dist/dashboard/public/assets/asn1-EdZsLKOL.js +1 -0
- package/dist/dashboard/public/assets/asterisk-B-8jnY81.js +1 -0
- package/dist/dashboard/public/assets/blockDiagram-c4efeb88-CvjTuK-w.js +118 -0
- package/dist/dashboard/public/assets/brainfuck-C4LP7Hcl.js +1 -0
- package/dist/dashboard/public/assets/c4Diagram-c83219d4-NwVQo5kf.js +10 -0
- package/dist/dashboard/public/assets/channel-Bi16YZhk.js +1 -0
- package/dist/dashboard/public/assets/classDiagram-beda092f-BmSeXDdU.js +2 -0
- package/dist/dashboard/public/assets/classDiagram-v2-2358418a-D7GvvuPr.js +2 -0
- package/dist/dashboard/public/assets/clike-B9uivgTg.js +1 -0
- package/dist/dashboard/public/assets/clojure-BMjYHr_A.js +1 -0
- package/dist/dashboard/public/assets/clone-BpKTiq7P.js +1 -0
- package/dist/dashboard/public/assets/cmake-BQqOBYOt.js +1 -0
- package/dist/dashboard/public/assets/cobol-CWcv1MsR.js +1 -0
- package/dist/dashboard/public/assets/coffeescript-S37ZYGWr.js +1 -0
- package/dist/dashboard/public/assets/commonlisp-DBKNyK5s.js +1 -0
- package/dist/dashboard/public/assets/createText-1719965b-qASbqHUP.js +7 -0
- package/dist/dashboard/public/assets/crystal-SjHAIU92.js +1 -0
- package/dist/dashboard/public/assets/css-BnMrqG3P.js +1 -0
- package/dist/dashboard/public/assets/cypher-C_CwsFkJ.js +1 -0
- package/dist/dashboard/public/assets/d-pRatUO7H.js +1 -0
- package/dist/dashboard/public/assets/diff-DbItnlRl.js +1 -0
- package/dist/dashboard/public/assets/dockerfile-BKs6k2Af.js +1 -0
- package/dist/dashboard/public/assets/dtd-DF_7sFjM.js +1 -0
- package/dist/dashboard/public/assets/dylan-DwRh75JA.js +1 -0
- package/dist/dashboard/public/assets/ebnf-CDyGwa7X.js +1 -0
- package/dist/dashboard/public/assets/ecl-Cabwm37j.js +1 -0
- package/dist/dashboard/public/assets/edges-96097737-BItTSnH7.js +4 -0
- package/dist/dashboard/public/assets/eiffel-CnydiIhH.js +1 -0
- package/dist/dashboard/public/assets/elm-vLlmbW-K.js +1 -0
- package/dist/dashboard/public/assets/erDiagram-0228fc6a-DT224olg.js +51 -0
- package/dist/dashboard/public/assets/erlang-BNw1qcRV.js +1 -0
- package/dist/dashboard/public/assets/factor-kuTfRLto.js +1 -0
- package/dist/dashboard/public/assets/fcl-Kvtd6kyn.js +1 -0
- package/dist/dashboard/public/assets/flowDb-c6c81e3f-D9_ukKtv.js +10 -0
- package/dist/dashboard/public/assets/flowDiagram-50d868cf-CylE8siG.js +4 -0
- package/dist/dashboard/public/assets/flowDiagram-v2-4f6560a1-B2O3JN7Y.js +1 -0
- package/dist/dashboard/public/assets/flowchart-elk-definition-6af322e1-BCaqFKf3.js +139 -0
- package/dist/dashboard/public/assets/forth-Ffai-XNe.js +1 -0
- package/dist/dashboard/public/assets/fortran-DYz_wnZ1.js +1 -0
- package/dist/dashboard/public/assets/ganttDiagram-a2739b55-WQUL1QW_.js +257 -0
- package/dist/dashboard/public/assets/gas-Bneqetm1.js +1 -0
- package/dist/dashboard/public/assets/gherkin-heZmZLOM.js +1 -0
- package/dist/dashboard/public/assets/gitGraphDiagram-82fe8481-CttZrdmr.js +70 -0
- package/dist/dashboard/public/assets/graph-Ch-rVueN.js +1 -0
- package/dist/dashboard/public/assets/groovy-D9Dt4D0W.js +1 -0
- package/dist/dashboard/public/assets/haskell-Cw1EW3IL.js +1 -0
- package/dist/dashboard/public/assets/haxe-H-WmDvRZ.js +1 -0
- package/dist/dashboard/public/assets/http-DBlCnlav.js +1 -0
- package/dist/dashboard/public/assets/idl-BEugSyMb.js +1 -0
- package/dist/dashboard/public/assets/index--kbPpDKv.js +1 -0
- package/dist/dashboard/public/assets/index-3scDwWm6.js +1 -0
- package/dist/dashboard/public/assets/index-5325376f-BL2zVOJU.js +1 -0
- package/dist/dashboard/public/assets/index-BZdjbO25.js +1 -0
- package/dist/dashboard/public/assets/index-BmA_batZ.js +1 -0
- package/dist/dashboard/public/assets/index-Bu0u99kF.js +2 -0
- package/dist/dashboard/public/assets/index-Ch-lr7F4.js +1 -0
- package/dist/dashboard/public/assets/index-ClgWbdoq.js +1 -0
- package/dist/dashboard/public/assets/index-CzLwOMQ_.js +3 -0
- package/dist/dashboard/public/assets/index-DAOEjGO7.js +1 -0
- package/dist/dashboard/public/assets/index-DXqf0B9c.js +1 -0
- package/dist/dashboard/public/assets/index-DegWdR16.js +1 -0
- package/dist/dashboard/public/assets/index-DiHyYGim.js +1 -0
- package/dist/dashboard/public/assets/index-DlZtG7I5.js +1 -0
- package/dist/dashboard/public/assets/index-DmhGE2M8.js +1 -0
- package/dist/dashboard/public/assets/index-QEGvld4x.js +1 -0
- package/dist/dashboard/public/assets/index-RfZPGAJu.js +1 -0
- package/dist/dashboard/public/assets/index-UybBj_7u.js +319 -0
- package/dist/dashboard/public/assets/index-bVekzPnl.js +7 -0
- package/dist/dashboard/public/assets/index-f5bysQzW.css +1 -0
- package/dist/dashboard/public/assets/infoDiagram-8eee0895-DjzkkE3o.js +7 -0
- package/dist/dashboard/public/assets/init-Gi6I4Gst.js +1 -0
- package/dist/dashboard/public/assets/javascript-iXu5QeM3.js +1 -0
- package/dist/dashboard/public/assets/journeyDiagram-c64418c1-CxPZkNdB.js +139 -0
- package/dist/dashboard/public/assets/julia-DuME0IfC.js +1 -0
- package/dist/dashboard/public/assets/katex-XbL3y5x-.js +261 -0
- package/dist/dashboard/public/assets/layout-DX7DNTRm.js +1 -0
- package/dist/dashboard/public/assets/line-DfvpmKOn.js +1 -0
- package/dist/dashboard/public/assets/linear-gQbBPHO5.js +1 -0
- package/dist/dashboard/public/assets/livescript-BwQOo05w.js +1 -0
- package/dist/dashboard/public/assets/lua-BgMRiT3U.js +1 -0
- package/dist/dashboard/public/assets/mathematica-DTrFuWx2.js +1 -0
- package/dist/dashboard/public/assets/mbox-CNhZ1qSd.js +1 -0
- package/dist/dashboard/public/assets/mindmap-definition-8da855dc-CNxmpyG6.js +415 -0
- package/dist/dashboard/public/assets/mirc-CjQqDB4T.js +1 -0
- package/dist/dashboard/public/assets/mllike-CXdrOF99.js +1 -0
- package/dist/dashboard/public/assets/modelica-Dc1JOy9r.js +1 -0
- package/dist/dashboard/public/assets/mscgen-BA5vi2Kp.js +1 -0
- package/dist/dashboard/public/assets/mumps-BT43cFF4.js +1 -0
- package/dist/dashboard/public/assets/nginx-DdIZxoE0.js +1 -0
- package/dist/dashboard/public/assets/nsis-LdVXkNf5.js +1 -0
- package/dist/dashboard/public/assets/ntriples-BfvgReVJ.js +1 -0
- package/dist/dashboard/public/assets/octave-Ck1zUtKM.js +1 -0
- package/dist/dashboard/public/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/dashboard/public/assets/oz-BzwKVEFT.js +1 -0
- package/dist/dashboard/public/assets/pascal--L3eBynH.js +1 -0
- package/dist/dashboard/public/assets/path-CbwjOpE9.js +1 -0
- package/dist/dashboard/public/assets/perl-CdXCOZ3F.js +1 -0
- package/dist/dashboard/public/assets/pieDiagram-a8764435-D-xy_NSA.js +35 -0
- package/dist/dashboard/public/assets/pig-CevX1Tat.js +1 -0
- package/dist/dashboard/public/assets/powershell-CFHJl5sT.js +1 -0
- package/dist/dashboard/public/assets/properties-C78fOPTZ.js +1 -0
- package/dist/dashboard/public/assets/protobuf-ChK-085T.js +1 -0
- package/dist/dashboard/public/assets/pug-DeIclll2.js +1 -0
- package/dist/dashboard/public/assets/puppet-DMA9R1ak.js +1 -0
- package/dist/dashboard/public/assets/python-BuPzkPfP.js +1 -0
- package/dist/dashboard/public/assets/q-pXgVlZs6.js +1 -0
- package/dist/dashboard/public/assets/quadrantDiagram-1e28029f-BoL2wzz0.js +7 -0
- package/dist/dashboard/public/assets/r-B6wPVr8A.js +1 -0
- package/dist/dashboard/public/assets/requirementDiagram-08caed73-BujFz0q1.js +52 -0
- package/dist/dashboard/public/assets/rpm-CTu-6PCP.js +1 -0
- package/dist/dashboard/public/assets/ruby-B2Rjki9n.js +1 -0
- package/dist/dashboard/public/assets/sankeyDiagram-a04cb91d-D03_NARm.js +8 -0
- package/dist/dashboard/public/assets/sas-B4kiWyti.js +1 -0
- package/dist/dashboard/public/assets/scheme-C41bIUwD.js +1 -0
- package/dist/dashboard/public/assets/sequenceDiagram-c5b8d532-B65eFcaT.js +122 -0
- package/dist/dashboard/public/assets/shell-CjFT_Tl9.js +1 -0
- package/dist/dashboard/public/assets/sieve-C3Gn_uJK.js +1 -0
- package/dist/dashboard/public/assets/simple-mode-GW_nhZxv.js +1 -0
- package/dist/dashboard/public/assets/smalltalk-CnHTOXQT.js +1 -0
- package/dist/dashboard/public/assets/solr-DehyRSwq.js +1 -0
- package/dist/dashboard/public/assets/sparql-DkYu6x3z.js +1 -0
- package/dist/dashboard/public/assets/spreadsheet-BCZA_wO0.js +1 -0
- package/dist/dashboard/public/assets/sql-D0XecflT.js +1 -0
- package/dist/dashboard/public/assets/stateDiagram-1ecb1508-BDbqu0Vl.js +1 -0
- package/dist/dashboard/public/assets/stateDiagram-v2-c2b004d7-CBHvk4b8.js +1 -0
- package/dist/dashboard/public/assets/stex-C3f8Ysf7.js +1 -0
- package/dist/dashboard/public/assets/styles-b4e223ce-CELsPqaO.js +160 -0
- package/dist/dashboard/public/assets/styles-ca3715f6-BRqMqT6F.js +207 -0
- package/dist/dashboard/public/assets/styles-d45a18b0-e8N-oLPy.js +116 -0
- package/dist/dashboard/public/assets/stylus-B533Al4x.js +1 -0
- package/dist/dashboard/public/assets/svgDrawCommon-b86b1483-vNDtmQc-.js +1 -0
- package/dist/dashboard/public/assets/swift-BzpIVaGY.js +1 -0
- package/dist/dashboard/public/assets/tcl-DVfN8rqt.js +1 -0
- package/dist/dashboard/public/assets/textile-CnDTJFAw.js +1 -0
- package/dist/dashboard/public/assets/tiddlywiki-DO-Gjzrf.js +1 -0
- package/dist/dashboard/public/assets/tiki-DGYXhP31.js +1 -0
- package/dist/dashboard/public/assets/timeline-definition-faaaa080-Dh2_A5VU.js +61 -0
- package/dist/dashboard/public/assets/toml-Bm5Em-hy.js +1 -0
- package/dist/dashboard/public/assets/troff-wAsdV37c.js +1 -0
- package/dist/dashboard/public/assets/ttcn-CfJYG6tj.js +1 -0
- package/dist/dashboard/public/assets/ttcn-cfg-B9xdYoR4.js +1 -0
- package/dist/dashboard/public/assets/turtle-B1tBg_DP.js +1 -0
- package/dist/dashboard/public/assets/vb-CmGdzxic.js +1 -0
- package/dist/dashboard/public/assets/vbscript-BuJXcnF6.js +1 -0
- package/dist/dashboard/public/assets/velocity-D8B20fx6.js +1 -0
- package/dist/dashboard/public/assets/verilog-C6RDOZhf.js +1 -0
- package/dist/dashboard/public/assets/vhdl-lSbBsy5d.js +1 -0
- package/dist/dashboard/public/assets/webidl-ZXfAyPTL.js +1 -0
- package/dist/dashboard/public/assets/xquery-DzFWVndE.js +1 -0
- package/dist/dashboard/public/assets/xychartDiagram-f5964ef8-B76v1AVF.js +7 -0
- package/dist/dashboard/public/assets/yacas-BJ4BC0dw.js +1 -0
- package/dist/dashboard/public/assets/z80-Hz9HOZM7.js +1 -0
- package/dist/dashboard/public/claude-icon-dark.svg +1 -0
- package/dist/dashboard/public/claude-icon.svg +1 -0
- package/dist/dashboard/public/index.html +16 -0
- package/dist/dashboard/settings-manager.d.ts +47 -0
- package/dist/dashboard/settings-manager.d.ts.map +1 -0
- package/dist/dashboard/settings-manager.js +180 -0
- package/dist/dashboard/settings-manager.js.map +1 -0
- package/dist/dashboard/utils.d.ts +31 -0
- package/dist/dashboard/utils.d.ts.map +1 -0
- package/dist/dashboard/utils.js +102 -0
- package/dist/dashboard/utils.js.map +1 -0
- package/dist/dashboard/watcher.d.ts +32 -0
- package/dist/dashboard/watcher.d.ts.map +1 -0
- package/dist/dashboard/watcher.js +173 -0
- package/dist/dashboard/watcher.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +380 -0
- package/dist/index.js.map +1 -0
- package/dist/markdown/templates/design-template.md +126 -0
- package/dist/markdown/templates/product-template.md +51 -0
- package/dist/markdown/templates/requirements-template.md +50 -0
- package/dist/markdown/templates/structure-template.md +145 -0
- package/dist/markdown/templates/tasks-template.md +100 -0
- package/dist/markdown/templates/tech-template.md +99 -0
- package/dist/markdown/templates/test-design-template.md +221 -0
- package/dist/prompts/create-spec.d.ts +3 -0
- package/dist/prompts/create-spec.d.ts.map +1 -0
- package/dist/prompts/create-spec.js +97 -0
- package/dist/prompts/create-spec.js.map +1 -0
- package/dist/prompts/create-steering-doc.d.ts +3 -0
- package/dist/prompts/create-steering-doc.d.ts.map +1 -0
- package/dist/prompts/create-steering-doc.js +75 -0
- package/dist/prompts/create-steering-doc.js.map +1 -0
- package/dist/prompts/implement-task.d.ts +3 -0
- package/dist/prompts/implement-task.d.ts.map +1 -0
- package/dist/prompts/implement-task.js +174 -0
- package/dist/prompts/implement-task.js.map +1 -0
- package/dist/prompts/index.d.ts +20 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +103 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/inject-spec-workflow-guide.d.ts +3 -0
- package/dist/prompts/inject-spec-workflow-guide.d.ts.map +1 -0
- package/dist/prompts/inject-spec-workflow-guide.js +60 -0
- package/dist/prompts/inject-spec-workflow-guide.js.map +1 -0
- package/dist/prompts/inject-steering-guide.d.ts +3 -0
- package/dist/prompts/inject-steering-guide.d.ts.map +1 -0
- package/dist/prompts/inject-steering-guide.js +64 -0
- package/dist/prompts/inject-steering-guide.js.map +1 -0
- package/dist/prompts/refresh-tasks.d.ts +3 -0
- package/dist/prompts/refresh-tasks.d.ts.map +1 -0
- package/dist/prompts/refresh-tasks.js +237 -0
- package/dist/prompts/refresh-tasks.js.map +1 -0
- package/dist/prompts/spec-status.d.ts +3 -0
- package/dist/prompts/spec-status.d.ts.map +1 -0
- package/dist/prompts/spec-status.js +77 -0
- package/dist/prompts/spec-status.js.map +1 -0
- package/dist/prompts/types.d.ts +13 -0
- package/dist/prompts/types.d.ts.map +1 -0
- package/dist/prompts/types.js +2 -0
- package/dist/prompts/types.js.map +1 -0
- package/dist/server.d.ts +17 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +175 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/__tests__/log-implementation-review-process.test.d.ts +2 -0
- package/dist/tools/__tests__/log-implementation-review-process.test.d.ts.map +1 -0
- package/dist/tools/__tests__/log-implementation-review-process.test.js +190 -0
- package/dist/tools/__tests__/log-implementation-review-process.test.js.map +1 -0
- package/dist/tools/__tests__/projectPath.test.d.ts +2 -0
- package/dist/tools/__tests__/projectPath.test.d.ts.map +1 -0
- package/dist/tools/__tests__/projectPath.test.js +187 -0
- package/dist/tools/__tests__/projectPath.test.js.map +1 -0
- package/dist/tools/approvals.d.ts +14 -0
- package/dist/tools/approvals.d.ts.map +1 -0
- package/dist/tools/approvals.js +505 -0
- package/dist/tools/approvals.js.map +1 -0
- package/dist/tools/index.d.ts +5 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +52 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/log-implementation.d.ts +5 -0
- package/dist/tools/log-implementation.d.ts.map +1 -0
- package/dist/tools/log-implementation.js +498 -0
- package/dist/tools/log-implementation.js.map +1 -0
- package/dist/tools/spec-status.d.ts +5 -0
- package/dist/tools/spec-status.d.ts.map +1 -0
- package/dist/tools/spec-status.js +192 -0
- package/dist/tools/spec-status.js.map +1 -0
- package/dist/tools/spec-workflow-guide.d.ts +5 -0
- package/dist/tools/spec-workflow-guide.d.ts.map +1 -0
- package/dist/tools/spec-workflow-guide.js +116 -0
- package/dist/tools/spec-workflow-guide.js.map +1 -0
- package/dist/tools/steering-guide.d.ts +5 -0
- package/dist/tools/steering-guide.d.ts.map +1 -0
- package/dist/tools/steering-guide.js +192 -0
- package/dist/tools/steering-guide.js.map +1 -0
- package/dist/types.d.ts +183 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +13 -0
- package/dist/types.js.map +1 -0
- package/package.json +106 -0
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import { PathUtils } from '../core/path-utils.js';
|
|
2
|
+
import { ImplementationLogManager } from '../dashboard/implementation-log-manager.js';
|
|
3
|
+
import { parseTasksFromMarkdown } from '../core/task-parser.js';
|
|
4
|
+
export const logImplementationTool = {
|
|
5
|
+
name: 'log-implementation',
|
|
6
|
+
description: `Record comprehensive implementation details for a completed task.
|
|
7
|
+
|
|
8
|
+
⚠️ CRITICAL: Artifacts are REQUIRED. This creates a searchable knowledge base that future AI agents use to discover existing code and avoid duplication.
|
|
9
|
+
|
|
10
|
+
# WHY DETAILED LOGGING MATTERS
|
|
11
|
+
|
|
12
|
+
Future AI agents (and future you) will use grep/ripgrep to search implementation logs before implementing new tasks. Complete logs prevent:
|
|
13
|
+
- ❌ Creating duplicate API endpoints
|
|
14
|
+
- ❌ Reimplementing existing components
|
|
15
|
+
- ❌ Duplicating utility functions and business logic
|
|
16
|
+
- ❌ Breaking established integration patterns
|
|
17
|
+
|
|
18
|
+
Incomplete logs = Duplicated code = Technical debt
|
|
19
|
+
|
|
20
|
+
# REQUIRED FIELDS
|
|
21
|
+
|
|
22
|
+
## artifacts (REQUIRED - Object)
|
|
23
|
+
|
|
24
|
+
Contains structured data about what was implemented. Must include relevant artifact types:
|
|
25
|
+
|
|
26
|
+
### apiEndpoints (array of API endpoint objects)
|
|
27
|
+
When new API endpoints are created/modified, document:
|
|
28
|
+
- method: HTTP method (GET, POST, PUT, DELETE, PATCH)
|
|
29
|
+
- path: Route path (e.g., "/api/specs/:name/logs")
|
|
30
|
+
- purpose: What this endpoint does
|
|
31
|
+
- requestFormat: Request body/query params format (JSON schema or example)
|
|
32
|
+
- responseFormat: Response structure (JSON schema or example)
|
|
33
|
+
- location: File path and line number (e.g., "src/server.ts:245")
|
|
34
|
+
|
|
35
|
+
Example:
|
|
36
|
+
\`\`\`
|
|
37
|
+
{
|
|
38
|
+
"method": "GET",
|
|
39
|
+
"path": "/api/specs/:name/implementation-log",
|
|
40
|
+
"purpose": "Retrieve implementation logs with optional filtering",
|
|
41
|
+
"requestFormat": "Query params: taskId (string, optional), search (string, optional)",
|
|
42
|
+
"responseFormat": "{ entries: ImplementationLogEntry[] }",
|
|
43
|
+
"location": "src/dashboard/server.ts:245"
|
|
44
|
+
}
|
|
45
|
+
\`\`\`
|
|
46
|
+
|
|
47
|
+
### components (array of component objects)
|
|
48
|
+
When reusable UI components are created, document:
|
|
49
|
+
- name: Component name
|
|
50
|
+
- type: Framework type (React, Vue, Svelte, etc.)
|
|
51
|
+
- purpose: What the component does
|
|
52
|
+
- location: File path
|
|
53
|
+
- props: Props interface or type signature
|
|
54
|
+
- exports: What it exports (array of export names)
|
|
55
|
+
|
|
56
|
+
Example:
|
|
57
|
+
\`\`\`
|
|
58
|
+
{
|
|
59
|
+
"name": "LogsPage",
|
|
60
|
+
"type": "React",
|
|
61
|
+
"purpose": "Main dashboard page for viewing implementation logs with search and filtering",
|
|
62
|
+
"location": "src/modules/pages/LogsPage.tsx",
|
|
63
|
+
"props": "{ specs: any[], selectedSpec: string, onSelect: (value: string) => void }",
|
|
64
|
+
"exports": ["LogsPage (default)"]
|
|
65
|
+
}
|
|
66
|
+
\`\`\`
|
|
67
|
+
|
|
68
|
+
### functions (array of function objects)
|
|
69
|
+
When utility functions are created, document:
|
|
70
|
+
- name: Function name
|
|
71
|
+
- purpose: What it does
|
|
72
|
+
- location: File path and line
|
|
73
|
+
- signature: Function signature (params and return type)
|
|
74
|
+
- isExported: Whether it can be imported
|
|
75
|
+
|
|
76
|
+
Example:
|
|
77
|
+
\`\`\`
|
|
78
|
+
{
|
|
79
|
+
"name": "searchLogs",
|
|
80
|
+
"purpose": "Search implementation logs by keyword",
|
|
81
|
+
"location": "src/dashboard/implementation-log-manager.ts:156",
|
|
82
|
+
"signature": "(searchTerm: string) => Promise<ImplementationLogEntry[]>",
|
|
83
|
+
"isExported": true
|
|
84
|
+
}
|
|
85
|
+
\`\`\`
|
|
86
|
+
|
|
87
|
+
### classes (array of class objects)
|
|
88
|
+
When classes are created, document:
|
|
89
|
+
- name: Class name
|
|
90
|
+
- purpose: What the class does
|
|
91
|
+
- location: File path
|
|
92
|
+
- methods: List of public methods
|
|
93
|
+
- isExported: Whether it can be imported
|
|
94
|
+
|
|
95
|
+
Example:
|
|
96
|
+
\`\`\`
|
|
97
|
+
{
|
|
98
|
+
"name": "ImplementationLogManager",
|
|
99
|
+
"purpose": "Manages CRUD operations for implementation logs",
|
|
100
|
+
"location": "src/dashboard/implementation-log-manager.ts",
|
|
101
|
+
"methods": ["loadLog", "addLogEntry", "getAllLogs", "searchLogs", "getTaskStats"],
|
|
102
|
+
"isExported": true
|
|
103
|
+
}
|
|
104
|
+
\`\`\`
|
|
105
|
+
|
|
106
|
+
### integrations (array of integration objects)
|
|
107
|
+
Document how frontend connects to backend:
|
|
108
|
+
- description: How components connect to APIs
|
|
109
|
+
- frontendComponent: Which component initiates the connection
|
|
110
|
+
- backendEndpoint: Which API endpoint is called
|
|
111
|
+
- dataFlow: Describe the data flow (e.g., "User clicks → API call → State update → Re-render")
|
|
112
|
+
|
|
113
|
+
Example:
|
|
114
|
+
\`\`\`
|
|
115
|
+
{
|
|
116
|
+
"description": "LogsPage fetches logs via REST API and subscribes to WebSocket for real-time updates",
|
|
117
|
+
"frontendComponent": "LogsPage",
|
|
118
|
+
"backendEndpoint": "GET /api/specs/:name/implementation-log",
|
|
119
|
+
"dataFlow": "Component mount → API fetch → Display logs → WebSocket subscription → Real-time updates on new entries"
|
|
120
|
+
}
|
|
121
|
+
\`\`\`
|
|
122
|
+
|
|
123
|
+
# GOOD EXAMPLE (Include ALL relevant artifacts)
|
|
124
|
+
|
|
125
|
+
Task: "Implemented logs dashboard with real-time updates"
|
|
126
|
+
|
|
127
|
+
\`\`\`json
|
|
128
|
+
{
|
|
129
|
+
"taskId": "2.3",
|
|
130
|
+
"summary": "Implemented real-time implementation logs dashboard with filtering, search, and WebSocket updates",
|
|
131
|
+
"artifacts": {
|
|
132
|
+
"apiEndpoints": [
|
|
133
|
+
{
|
|
134
|
+
"method": "GET",
|
|
135
|
+
"path": "/api/specs/:name/implementation-log",
|
|
136
|
+
"purpose": "Retrieve implementation logs with optional filtering",
|
|
137
|
+
"requestFormat": "Query params: taskId (string, optional), search (string, optional)",
|
|
138
|
+
"responseFormat": "{ entries: ImplementationLogEntry[] }",
|
|
139
|
+
"location": "src/dashboard/server.ts:245"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"components": [
|
|
143
|
+
{
|
|
144
|
+
"name": "LogsPage",
|
|
145
|
+
"type": "React",
|
|
146
|
+
"purpose": "Main dashboard page for viewing implementation logs with search and filtering",
|
|
147
|
+
"location": "src/modules/pages/LogsPage.tsx",
|
|
148
|
+
"props": "None (uses React Router params)",
|
|
149
|
+
"exports": ["LogsPage (default)"]
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"classes": [
|
|
153
|
+
{
|
|
154
|
+
"name": "ImplementationLogManager",
|
|
155
|
+
"purpose": "Manages CRUD operations for implementation logs",
|
|
156
|
+
"location": "src/dashboard/implementation-log-manager.ts",
|
|
157
|
+
"methods": ["loadLog", "addLogEntry", "getAllLogs", "searchLogs", "getTaskStats"],
|
|
158
|
+
"isExported": true
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"integrations": [
|
|
162
|
+
{
|
|
163
|
+
"description": "LogsPage fetches logs via REST API and subscribes to WebSocket for real-time updates",
|
|
164
|
+
"frontendComponent": "LogsPage",
|
|
165
|
+
"backendEndpoint": "GET /api/specs/:name/implementation-log",
|
|
166
|
+
"dataFlow": "Component mount → API fetch → Display logs → WebSocket subscription → Real-time updates on new entries"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"filesModified": ["src/dashboard/server.ts"],
|
|
171
|
+
"filesCreated": ["src/modules/pages/LogsPage.tsx"],
|
|
172
|
+
"statistics": { "linesAdded": 650, "linesRemoved": 15, "filesChanged": 2 }
|
|
173
|
+
}
|
|
174
|
+
\`\`\`
|
|
175
|
+
|
|
176
|
+
# BAD EXAMPLE (Don't do this)
|
|
177
|
+
|
|
178
|
+
❌ Empty artifacts - Future agents learn nothing:
|
|
179
|
+
\`\`\`json
|
|
180
|
+
{
|
|
181
|
+
"taskId": "2.3",
|
|
182
|
+
"summary": "Added endpoint and page",
|
|
183
|
+
"artifacts": {},
|
|
184
|
+
"filesModified": ["server.ts"],
|
|
185
|
+
"filesCreated": ["LogsPage.tsx"]
|
|
186
|
+
}
|
|
187
|
+
\`\`\`
|
|
188
|
+
|
|
189
|
+
❌ Vague summary with no structured data:
|
|
190
|
+
\`\`\`json
|
|
191
|
+
{
|
|
192
|
+
"taskId": "2.3",
|
|
193
|
+
"summary": "Implemented features",
|
|
194
|
+
"artifacts": {},
|
|
195
|
+
"filesModified": ["server.ts", "app.tsx"]
|
|
196
|
+
}
|
|
197
|
+
\`\`\`
|
|
198
|
+
|
|
199
|
+
# Instructions
|
|
200
|
+
|
|
201
|
+
1. After completing a task, review what you implemented
|
|
202
|
+
2. Identify all artifacts (APIs, components, functions, classes, integrations)
|
|
203
|
+
3. Document each with full details and locations
|
|
204
|
+
4. Include ALL the information - be thorough!
|
|
205
|
+
5. Future agents depend on this data quality`,
|
|
206
|
+
inputSchema: {
|
|
207
|
+
type: 'object',
|
|
208
|
+
properties: {
|
|
209
|
+
projectPath: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
description: 'Absolute path to the project root (optional - uses server context path if not provided)'
|
|
212
|
+
},
|
|
213
|
+
specName: {
|
|
214
|
+
type: 'string',
|
|
215
|
+
description: 'Name of the specification'
|
|
216
|
+
},
|
|
217
|
+
taskId: {
|
|
218
|
+
type: 'string',
|
|
219
|
+
description: 'Task ID (e.g., "1", "1.2", "3.1.4")'
|
|
220
|
+
},
|
|
221
|
+
summary: {
|
|
222
|
+
type: 'string',
|
|
223
|
+
description: 'Brief summary of what was implemented'
|
|
224
|
+
},
|
|
225
|
+
filesModified: {
|
|
226
|
+
type: 'array',
|
|
227
|
+
items: { type: 'string' },
|
|
228
|
+
description: 'List of files that were modified'
|
|
229
|
+
},
|
|
230
|
+
filesCreated: {
|
|
231
|
+
type: 'array',
|
|
232
|
+
items: { type: 'string' },
|
|
233
|
+
description: 'List of files that were created'
|
|
234
|
+
},
|
|
235
|
+
statistics: {
|
|
236
|
+
type: 'object',
|
|
237
|
+
properties: {
|
|
238
|
+
linesAdded: {
|
|
239
|
+
type: 'number',
|
|
240
|
+
description: 'Number of lines added'
|
|
241
|
+
},
|
|
242
|
+
linesRemoved: {
|
|
243
|
+
type: 'number',
|
|
244
|
+
description: 'Number of lines removed'
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
required: ['linesAdded', 'linesRemoved'],
|
|
248
|
+
description: 'Code statistics for the implementation'
|
|
249
|
+
},
|
|
250
|
+
artifacts: {
|
|
251
|
+
type: 'object',
|
|
252
|
+
description: 'REQUIRED: Structured data about implemented artifacts (APIs, components, functions, classes, integrations). See tool description for detailed format.',
|
|
253
|
+
properties: {
|
|
254
|
+
apiEndpoints: {
|
|
255
|
+
type: 'array',
|
|
256
|
+
description: 'API endpoints created or modified',
|
|
257
|
+
items: { type: 'object' }
|
|
258
|
+
},
|
|
259
|
+
components: {
|
|
260
|
+
type: 'array',
|
|
261
|
+
description: 'Reusable UI components created',
|
|
262
|
+
items: { type: 'object' }
|
|
263
|
+
},
|
|
264
|
+
functions: {
|
|
265
|
+
type: 'array',
|
|
266
|
+
description: 'Utility functions or methods created',
|
|
267
|
+
items: { type: 'object' }
|
|
268
|
+
},
|
|
269
|
+
classes: {
|
|
270
|
+
type: 'array',
|
|
271
|
+
description: 'Classes created',
|
|
272
|
+
items: { type: 'object' }
|
|
273
|
+
},
|
|
274
|
+
integrations: {
|
|
275
|
+
type: 'array',
|
|
276
|
+
description: 'Frontend-backend integration patterns',
|
|
277
|
+
items: { type: 'object' }
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
reviewProcess: {
|
|
282
|
+
type: 'object',
|
|
283
|
+
description: 'Review quality metrics: rework count, final outcome, and per-attempt findings from review-worker.',
|
|
284
|
+
properties: {
|
|
285
|
+
reworkCount: {
|
|
286
|
+
type: 'integer',
|
|
287
|
+
minimum: 0,
|
|
288
|
+
description: 'Number of rework iterations required. 0 = passed on first review.'
|
|
289
|
+
},
|
|
290
|
+
reviewOutcome: {
|
|
291
|
+
type: 'string',
|
|
292
|
+
enum: ['commit', 'escalated'],
|
|
293
|
+
description: 'Final review outcome: commit = merged cleanly, escalated = required user intervention.'
|
|
294
|
+
},
|
|
295
|
+
findings: {
|
|
296
|
+
type: 'array',
|
|
297
|
+
description: 'Per-attempt review findings (omit if reworkCount is 0).',
|
|
298
|
+
items: {
|
|
299
|
+
type: 'object',
|
|
300
|
+
properties: {
|
|
301
|
+
attempt: { type: 'integer', minimum: 1, description: '1-based attempt number (1 = first review)' },
|
|
302
|
+
categories: {
|
|
303
|
+
type: 'array',
|
|
304
|
+
items: { type: 'string' },
|
|
305
|
+
description: 'Violated review categories (e.g. ["B:設計", "C:セキュリティ"])'
|
|
306
|
+
},
|
|
307
|
+
summary: { type: 'string', description: 'Brief description of what was found' },
|
|
308
|
+
action: {
|
|
309
|
+
type: 'string',
|
|
310
|
+
enum: ['commit', 'rework', 'escalate'],
|
|
311
|
+
description: "review-worker's decision for this attempt"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
required: ['attempt', 'categories', 'summary', 'action']
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
required: ['reworkCount', 'reviewOutcome']
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
required: ['specName', 'taskId', 'summary', 'filesModified', 'filesCreated', 'statistics', 'artifacts']
|
|
322
|
+
},
|
|
323
|
+
annotations: {
|
|
324
|
+
title: 'Log Implementation',
|
|
325
|
+
destructiveHint: true,
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
export async function logImplementationHandler(args, context) {
|
|
329
|
+
const { specName, taskId, summary, filesModified = [], filesCreated = [], statistics, artifacts, reviewProcess } = args;
|
|
330
|
+
// Use context projectPath as default, allow override via args
|
|
331
|
+
const projectPath = args.projectPath || context.projectPath;
|
|
332
|
+
if (!projectPath) {
|
|
333
|
+
return {
|
|
334
|
+
success: false,
|
|
335
|
+
message: 'Project path is required but not provided in context or arguments'
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
try {
|
|
339
|
+
// Validate reviewProcess consistency
|
|
340
|
+
if (reviewProcess !== undefined) {
|
|
341
|
+
const { reworkCount, findings } = reviewProcess;
|
|
342
|
+
if (reworkCount > 0 && (!findings || findings.length === 0)) {
|
|
343
|
+
return {
|
|
344
|
+
success: false,
|
|
345
|
+
message: `reviewProcess.findings is required when reworkCount > 0 (reworkCount=${reworkCount}). ` +
|
|
346
|
+
'Provide the per-attempt findings array or set reworkCount to 0.',
|
|
347
|
+
nextSteps: [
|
|
348
|
+
'Add findings array with one entry per review attempt',
|
|
349
|
+
'Or set reworkCount to 0 if the task passed on the first review'
|
|
350
|
+
]
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
if (reworkCount === 0 && findings && findings.length > 0) {
|
|
354
|
+
return {
|
|
355
|
+
success: false,
|
|
356
|
+
message: 'reviewProcess.findings must be empty (or omitted) when reworkCount is 0.',
|
|
357
|
+
nextSteps: ['Remove findings array, or set reworkCount to the correct count']
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
// Validate findings length and attempt number consistency
|
|
361
|
+
if (findings && findings.length > 0) {
|
|
362
|
+
const expectedAttempts = reworkCount + 1; // 初回レビュー + 各 rework
|
|
363
|
+
if (findings.length !== expectedAttempts) {
|
|
364
|
+
return {
|
|
365
|
+
success: false,
|
|
366
|
+
message: `reviewProcess.findings の件数 (${findings.length}) が reworkCount + 1 (${expectedAttempts}) と一致しません。`,
|
|
367
|
+
nextSteps: [
|
|
368
|
+
'初回レビューと各 rework に対して 1 件ずつ findings を記録してください',
|
|
369
|
+
`findings.length が ${expectedAttempts} になるよう reworkCount または findings を修正してください`
|
|
370
|
+
]
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
const attemptNumbers = findings
|
|
374
|
+
.map((f) => (f && typeof f.attempt === 'number' ? f.attempt : undefined))
|
|
375
|
+
.filter((n) => n !== undefined);
|
|
376
|
+
if (attemptNumbers.length !== findings.length) {
|
|
377
|
+
return {
|
|
378
|
+
success: false,
|
|
379
|
+
message: 'reviewProcess.findings の各エントリに attempt(数値)が必要です。',
|
|
380
|
+
nextSteps: ['すべての findings エントリに attempt フィールドを追加してください']
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
const sorted = [...attemptNumbers].sort((a, b) => a - b);
|
|
384
|
+
const isContiguous = sorted[0] === 1 &&
|
|
385
|
+
sorted[sorted.length - 1] === expectedAttempts &&
|
|
386
|
+
new Set(sorted).size === expectedAttempts;
|
|
387
|
+
if (!isContiguous) {
|
|
388
|
+
return {
|
|
389
|
+
success: false,
|
|
390
|
+
message: 'reviewProcess.findings の attempt 番号は 1 から始まる連番でなければなりません。',
|
|
391
|
+
nextSteps: [
|
|
392
|
+
'attempt 番号を 1, 2, 3 ... の連番で記録してください',
|
|
393
|
+
`最大の attempt 番号は reworkCount + 1 = ${expectedAttempts} になるはずです`,
|
|
394
|
+
'重複・飛び番・欠番がないか確認してください'
|
|
395
|
+
]
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
// Validate artifacts is provided
|
|
401
|
+
if (!artifacts) {
|
|
402
|
+
return {
|
|
403
|
+
success: false,
|
|
404
|
+
message: 'Artifacts field is REQUIRED. See tool description for detailed artifact format and examples.',
|
|
405
|
+
nextSteps: [
|
|
406
|
+
'Review the log-implementation tool description for artifact structure',
|
|
407
|
+
'Document all API endpoints, components, functions, classes, and integrations',
|
|
408
|
+
'Provide structured artifact data before calling this tool',
|
|
409
|
+
'Ensure artifacts contains at least one of: apiEndpoints, components, functions, classes, or integrations'
|
|
410
|
+
]
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
// Validate task exists
|
|
414
|
+
const specTasksPath = PathUtils.getSpecPath(projectPath, specName);
|
|
415
|
+
const tasksFile = `${specTasksPath}/tasks.md`;
|
|
416
|
+
try {
|
|
417
|
+
const { promises: fs } = await import('fs');
|
|
418
|
+
const tasksContent = await fs.readFile(tasksFile, 'utf-8');
|
|
419
|
+
const parseResult = parseTasksFromMarkdown(tasksContent);
|
|
420
|
+
const taskExists = parseResult.tasks.some(t => t.id === taskId);
|
|
421
|
+
if (!taskExists) {
|
|
422
|
+
return {
|
|
423
|
+
success: false,
|
|
424
|
+
message: `Task '${taskId}' not found in specification '${specName}'`,
|
|
425
|
+
nextSteps: [
|
|
426
|
+
`Check the task ID in .spec-workflow/specs/${specName}/tasks.md`,
|
|
427
|
+
'Verify the spec name is correct',
|
|
428
|
+
'Use spec-status to see available tasks'
|
|
429
|
+
]
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
catch (parseError) {
|
|
434
|
+
return {
|
|
435
|
+
success: false,
|
|
436
|
+
message: `Failed to validate task: ${parseError instanceof Error ? parseError.message : String(parseError)}`,
|
|
437
|
+
nextSteps: [
|
|
438
|
+
`Check that .spec-workflow/specs/${specName}/tasks.md exists`,
|
|
439
|
+
'Verify the tasks file is valid markdown',
|
|
440
|
+
'Use spec-status to diagnose issues'
|
|
441
|
+
]
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
// Create log entry
|
|
445
|
+
const logManager = new ImplementationLogManager(specTasksPath);
|
|
446
|
+
const logEntry = {
|
|
447
|
+
taskId,
|
|
448
|
+
timestamp: new Date().toISOString(),
|
|
449
|
+
summary,
|
|
450
|
+
filesModified: filesModified || [],
|
|
451
|
+
filesCreated: filesCreated || [],
|
|
452
|
+
statistics: {
|
|
453
|
+
linesAdded: statistics.linesAdded || 0,
|
|
454
|
+
linesRemoved: statistics.linesRemoved || 0,
|
|
455
|
+
filesChanged: (filesModified?.length || 0) + (filesCreated?.length || 0)
|
|
456
|
+
},
|
|
457
|
+
artifacts,
|
|
458
|
+
...(reviewProcess !== undefined && { reviewProcess })
|
|
459
|
+
};
|
|
460
|
+
const createdEntry = await logManager.addLogEntry(logEntry);
|
|
461
|
+
// Get task stats
|
|
462
|
+
const taskStats = await logManager.getTaskStats(taskId);
|
|
463
|
+
return {
|
|
464
|
+
success: true,
|
|
465
|
+
message: `Implementation logged for task '${taskId}'`,
|
|
466
|
+
data: {
|
|
467
|
+
entryId: createdEntry.id,
|
|
468
|
+
entry: createdEntry,
|
|
469
|
+
taskStats,
|
|
470
|
+
dashboardUrl: `${context.dashboardUrl}/logs?spec=${encodeURIComponent(specName)}&task=${taskId}`
|
|
471
|
+
},
|
|
472
|
+
nextSteps: [
|
|
473
|
+
'Mark task as completed in tasks.md by changing [-] to [x]',
|
|
474
|
+
'View implementation log in dashboard under Logs tab',
|
|
475
|
+
'Continue with next pending task'
|
|
476
|
+
],
|
|
477
|
+
projectContext: {
|
|
478
|
+
projectPath,
|
|
479
|
+
workflowRoot: PathUtils.getWorkflowRoot(projectPath),
|
|
480
|
+
specName,
|
|
481
|
+
dashboardUrl: context.dashboardUrl
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
catch (error) {
|
|
486
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
487
|
+
return {
|
|
488
|
+
success: false,
|
|
489
|
+
message: `Failed to log implementation: ${errorMessage}`,
|
|
490
|
+
nextSteps: [
|
|
491
|
+
'Verify all required parameters are provided',
|
|
492
|
+
'Check that the spec and task exist',
|
|
493
|
+
'View dashboard logs to see previous entries'
|
|
494
|
+
]
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
//# sourceMappingURL=log-implementation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-implementation.js","sourceRoot":"","sources":["../../src/tools/log-implementation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,CAAC,MAAM,qBAAqB,GAAS;IACzC,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAuM8B;IAC3C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yFAAyF;aACvG;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2BAA2B;aACzC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAA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YACD,cAAc,EAAE;gBACd,WAAW;gBACX,YAAY,EAAE,SAAS,CAAC,eAAe,CAAC,WAAW,CAAC;gBACpD,QAAQ;gBACR,YAAY,EAAE,OAAO,CAAC,YAAY;aACnC;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5E,OAAO;YACL,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,iCAAiC,YAAY,EAAE;YACxD,SAAS,EAAE;gBACT,6CAA6C;gBAC7C,oCAAoC;gBACpC,6CAA6C;aAC9C;SACF,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { ToolContext, ToolResponse } from '../types.js';
|
|
3
|
+
export declare const specStatusTool: Tool;
|
|
4
|
+
export declare function specStatusHandler(args: any, context: ToolContext): Promise<ToolResponse>;
|
|
5
|
+
//# sourceMappingURL=spec-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec-status.d.ts","sourceRoot":"","sources":["../../src/tools/spec-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIxD,eAAO,MAAM,cAAc,EAAE,IAwB5B,CAAC;AAEF,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,CAqK9F"}
|