drt-method 1.0.0
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/AGENTS.md +45 -0
- package/GETTING-STARTED.md +269 -0
- package/README.md +233 -0
- package/drt-method-1.0.0.tgz +0 -0
- package/drt-modules.yaml +1 -0
- package/package.json +51 -0
- package/scripts/install-from-github.ps1 +22 -0
- package/scripts/install-from-github.sh +17 -0
- package/src/core-skills/drt-advanced-elicitation/SKILL.md +142 -0
- package/src/core-skills/drt-advanced-elicitation/methods.csv +72 -0
- package/src/core-skills/drt-brainstorming/SKILL.md +80 -0
- package/src/core-skills/drt-brainstorming/assets/brain-icons.json +166 -0
- package/src/core-skills/drt-brainstorming/assets/brain-methods.csv +109 -0
- package/src/core-skills/drt-brainstorming/assets/brain-selector.html +326 -0
- package/src/core-skills/drt-brainstorming/customize.toml +84 -0
- package/src/core-skills/drt-brainstorming/references/converge.md +24 -0
- package/src/core-skills/drt-brainstorming/references/finalize.md +26 -0
- package/src/core-skills/drt-brainstorming/references/headless.md +54 -0
- package/src/core-skills/drt-brainstorming/references/in-chat-techniques.md +18 -0
- package/src/core-skills/drt-brainstorming/references/mode-autonomous.md +10 -0
- package/src/core-skills/drt-brainstorming/references/mode-facilitator.md +11 -0
- package/src/core-skills/drt-brainstorming/references/mode-partner.md +16 -0
- package/src/core-skills/drt-brainstorming/references/resume.md +5 -0
- package/src/core-skills/drt-brainstorming/scripts/brain.py +740 -0
- package/src/core-skills/drt-customize/SKILL.md +111 -0
- package/src/core-skills/drt-customize/scripts/list_customizable_skills.py +231 -0
- package/src/core-skills/drt-editorial-review-prose/SKILL.md +86 -0
- package/src/core-skills/drt-editorial-review-structure/SKILL.md +179 -0
- package/src/core-skills/drt-forge-idea/SKILL.md +107 -0
- package/src/core-skills/drt-forge-idea/customize.toml +42 -0
- package/src/core-skills/drt-forge-idea/scripts/resolve_personas.py +270 -0
- package/src/core-skills/drt-help/SKILL.md +75 -0
- package/src/core-skills/drt-index-docs/SKILL.md +66 -0
- package/src/core-skills/drt-party-mode/SKILL.md +60 -0
- package/src/core-skills/drt-party-mode/customize.toml +211 -0
- package/src/core-skills/drt-party-mode/references/create-party.md +70 -0
- package/src/core-skills/drt-party-mode/references/mode-agent-team.md +13 -0
- package/src/core-skills/drt-party-mode/references/mode-auto.md +13 -0
- package/src/core-skills/drt-party-mode/references/mode-subagent.md +31 -0
- package/src/core-skills/drt-party-mode/references/party-memory.md +51 -0
- package/src/core-skills/drt-party-mode/scripts/resolve_party.py +272 -0
- package/src/core-skills/drt-review-adversarial-general/SKILL.md +37 -0
- package/src/core-skills/drt-review-edge-case-hunter/SKILL.md +73 -0
- package/src/core-skills/drt-review-edge-case-hunter/references/deletion-check.md +14 -0
- package/src/core-skills/drt-review-verification-gap/SKILL.md +106 -0
- package/src/core-skills/drt-shard-doc/SKILL.md +105 -0
- package/src/core-skills/drt-spec/SKILL.md +160 -0
- package/src/core-skills/drt-spec/assets/headless-schemas.md +33 -0
- package/src/core-skills/drt-spec/assets/spec-template.md +49 -0
- package/src/core-skills/drt-spec/assets/stories-schema.md +44 -0
- package/src/core-skills/drt-spec/customize.toml +53 -0
- package/src/core-skills/module-help.csv +14 -0
- package/src/core-skills/module.yaml +33 -0
- package/src/drt-skills/1-analysis/drt-agent-analyst/SKILL.md +76 -0
- package/src/drt-skills/1-analysis/drt-agent-analyst/customize.toml +90 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/SKILL.md +76 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/customize.toml +81 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/explain-concept.md +20 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/mermaid-gen.md +20 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/validate-doc.md +19 -0
- package/src/drt-skills/1-analysis/drt-agent-tech-writer/write-document.md +20 -0
- package/src/drt-skills/1-analysis/drt-document-project/SKILL.md +62 -0
- package/src/drt-skills/1-analysis/drt-document-project/checklist.md +245 -0
- package/src/drt-skills/1-analysis/drt-document-project/customize.toml +41 -0
- package/src/drt-skills/1-analysis/drt-document-project/documentation-requirements.csv +12 -0
- package/src/drt-skills/1-analysis/drt-document-project/instructions.md +128 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/deep-dive-template.md +345 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/index-template.md +169 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/project-overview-template.md +103 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/project-scan-report-schema.json +160 -0
- package/src/drt-skills/1-analysis/drt-document-project/templates/source-tree-template.md +135 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-instructions.md +300 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/deep-dive-workflow.md +34 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-instructions.md +1111 -0
- package/src/drt-skills/1-analysis/drt-document-project/workflows/full-scan-workflow.md +34 -0
- package/src/drt-skills/1-analysis/drt-prfaq/SKILL.md +135 -0
- package/src/drt-skills/1-analysis/drt-prfaq/agents/artifact-analyzer.md +60 -0
- package/src/drt-skills/1-analysis/drt-prfaq/agents/web-researcher.md +49 -0
- package/src/drt-skills/1-analysis/drt-prfaq/assets/prfaq-template.md +62 -0
- package/src/drt-skills/1-analysis/drt-prfaq/bmad-manifest.json +16 -0
- package/src/drt-skills/1-analysis/drt-prfaq/customize.toml +41 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/customer-faq.md +55 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/internal-faq.md +51 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/press-release.md +60 -0
- package/src/drt-skills/1-analysis/drt-prfaq/references/verdict.md +83 -0
- package/src/drt-skills/1-analysis/drt-product-brief/SKILL.md +91 -0
- package/src/drt-skills/1-analysis/drt-product-brief/assets/brief-template.md +41 -0
- package/src/drt-skills/1-analysis/drt-product-brief/customize.toml +99 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-01-init.md +137 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/domain-steps/step-06-research-synthesis.md +450 -0
- package/src/drt-skills/1-analysis/research/drt-domain-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-01-init.md +184 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-02-customer-behavior.md +239 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-04-customer-decisions.md +261 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/src/drt-skills/1-analysis/research/drt-market-research/steps/step-06-research-completion.md +484 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/SKILL.md +96 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/customize.toml +41 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/research.template.md +29 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-01-init.md +137 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/src/drt-skills/1-analysis/research/drt-technical-research/technical-steps/step-06-research-synthesis.md +493 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-pm/SKILL.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-pm/customize.toml +75 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/SKILL.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-agent-ux-designer/customize.toml +60 -0
- package/src/drt-skills/2-plan-workflows/drt-create-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-create-prd/customize.toml +41 -0
- package/src/drt-skills/2-plan-workflows/drt-edit-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-edit-prd/customize.toml +42 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/SKILL.md +92 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/headless-schemas.md +76 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-template.md +165 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/prd-validation-checklist.md +135 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/assets/validation-report-template.html +325 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/customize.toml +147 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/references/headless.md +39 -0
- package/src/drt-skills/2-plan-workflows/drt-prd/references/validate.md +97 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/SKILL.md +90 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/color-themes.md +9 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-directions.md +9 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-editorial.md +158 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-mobile.md +93 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/design-example-shadcn.md +109 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/excalidraw-wireframe.md +19 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-mobile.md +112 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/experience-example-shadcn.md +133 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/headless-schemas.md +84 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/key-screens.md +29 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/assets/validation-report-template.html +319 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/customize.toml +100 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/creative-tools.md +19 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/design-md-spec.md +50 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/headless.md +37 -0
- package/src/drt-skills/2-plan-workflows/drt-ux/references/validate.md +115 -0
- package/src/drt-skills/2-plan-workflows/drt-validate-prd/SKILL.md +30 -0
- package/src/drt-skills/2-plan-workflows/drt-validate-prd/customize.toml +42 -0
- package/src/drt-skills/3-solutioning/drt-agent-architect/SKILL.md +76 -0
- package/src/drt-skills/3-solutioning/drt-agent-architect/customize.toml +65 -0
- package/src/drt-skills/3-solutioning/drt-architecture/SKILL.md +85 -0
- package/src/drt-skills/3-solutioning/drt-architecture/assets/spine-template.md +79 -0
- package/src/drt-skills/3-solutioning/drt-architecture/customize.toml +100 -0
- package/src/drt-skills/3-solutioning/drt-architecture/references/headless.md +26 -0
- package/src/drt-skills/3-solutioning/drt-architecture/references/reviewer-gate.md +13 -0
- package/src/drt-skills/3-solutioning/drt-architecture/scripts/lint_spine.py +257 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/SKILL.md +91 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/drt-skills/3-solutioning/drt-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/drt-skills/3-solutioning/drt-create-architecture/SKILL.md +30 -0
- package/src/drt-skills/3-solutioning/drt-create-architecture/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/SKILL.md +93 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-01-validate-prerequisites.md +263 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-02-design-epics.md +242 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/steps/step-04-final-validation.md +143 -0
- package/src/drt-skills/3-solutioning/drt-create-epics-and-stories/templates/epics-template.md +61 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/SKILL.md +81 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/customize.toml +41 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/project-context-template.md +21 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-01-discover.md +186 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-02-generate.md +321 -0
- package/src/drt-skills/3-solutioning/drt-generate-project-context/steps/step-03-complete.md +284 -0
- package/src/drt-skills/4-implementation/drt-agent-dev/SKILL.md +76 -0
- package/src/drt-skills/4-implementation/drt-agent-dev/customize.toml +95 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/SKILL.md +68 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/generate-trail.md +38 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-01-orientation.md +105 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-02-walkthrough.md +89 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-03-detail-pass.md +106 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-04-testing.md +74 -0
- package/src/drt-skills/4-implementation/drt-checkpoint-preview/step-05-wrapup.md +30 -0
- package/src/drt-skills/4-implementation/drt-code-review/SKILL.md +90 -0
- package/src/drt-skills/4-implementation/drt-code-review/customize.toml +93 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-01-gather-context.md +84 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-02-review.md +32 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-03-triage.md +50 -0
- package/src/drt-skills/4-implementation/drt-code-review/steps/step-04-present.md +132 -0
- package/src/drt-skills/4-implementation/drt-correct-course/SKILL.md +301 -0
- package/src/drt-skills/4-implementation/drt-correct-course/checklist.md +288 -0
- package/src/drt-skills/4-implementation/drt-correct-course/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-create-story/SKILL.md +432 -0
- package/src/drt-skills/4-implementation/drt-create-story/checklist.md +357 -0
- package/src/drt-skills/4-implementation/drt-create-story/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-create-story/discover-inputs.md +88 -0
- package/src/drt-skills/4-implementation/drt-create-story/template.md +49 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/SKILL.md +123 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/compile-epic-context.md +62 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/customize.toml +108 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/spec-template.md +98 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-01-clarify-and-route.md +84 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-02-plan.md +31 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-03-implement.md +42 -0
- package/src/drt-skills/4-implementation/drt-dev-auto/step-04-review.md +95 -0
- package/src/drt-skills/4-implementation/drt-dev-story/SKILL.md +500 -0
- package/src/drt-skills/4-implementation/drt-dev-story/checklist.md +80 -0
- package/src/drt-skills/4-implementation/drt-dev-story/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-implement-task/SKILL.md +101 -0
- package/src/drt-skills/4-implementation/drt-implement-task/assets/task-spec-template.md +60 -0
- package/src/drt-skills/4-implementation/drt-implement-task/customize.toml +17 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-01-gather-intent.md +42 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-02-plan-and-approve.md +43 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-03-confirm-dependencies.md +38 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-04-implement.md +42 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-05-qc-test.md +31 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-06-quality-review.md +30 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-07-fix-findings.md +33 -0
- package/src/drt-skills/4-implementation/drt-implement-task/steps/step-08-complete.md +35 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/SKILL.md +176 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/checklist.md +33 -0
- package/src/drt-skills/4-implementation/drt-qa-generate-e2e-tests/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/SKILL.md +13 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/compile-epic-context.md +62 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/customize.toml +83 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/render.js +206 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/spec-template.md +89 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-01-clarify-and-route.md +103 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-02-plan.md +47 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-03-implement.md +45 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-04-review.md +55 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-05-present.md +78 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/step-oneshot.md +78 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/sync-sprint-status.md +19 -0
- package/src/drt-skills/4-implementation/drt-quick-dev/workflow.md +85 -0
- package/src/drt-skills/4-implementation/drt-retrospective/SKILL.md +1527 -0
- package/src/drt-skills/4-implementation/drt-retrospective/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/SKILL.md +319 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/checklist.md +34 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/customize.toml +41 -0
- package/src/drt-skills/4-implementation/drt-sprint-planning/sprint-status-template.yaml +69 -0
- package/src/drt-skills/4-implementation/drt-sprint-status/SKILL.md +311 -0
- package/src/drt-skills/4-implementation/drt-sprint-status/customize.toml +41 -0
- package/src/drt-skills/module-help.csv +32 -0
- package/src/drt-skills/module.yaml +95 -0
- package/src/scripts/lib/load-toml.js +43 -0
- package/src/scripts/lib/merge-utils.js +89 -0
- package/src/scripts/memlog.js +184 -0
- package/src/scripts/package.json +7 -0
- package/src/scripts/resolve-config.js +56 -0
- package/src/scripts/resolve-customization.js +77 -0
- package/tools/installer/cli-utils.js +53 -0
- package/tools/installer/commands/install.js +149 -0
- package/tools/installer/commands/status.js +65 -0
- package/tools/installer/commands/uninstall.js +167 -0
- package/tools/installer/core/config.js +73 -0
- package/tools/installer/core/existing-install.js +121 -0
- package/tools/installer/core/install-paths.js +132 -0
- package/tools/installer/core/installer.js +1762 -0
- package/tools/installer/core/legacy-warnings.js +151 -0
- package/tools/installer/core/manifest-generator.js +859 -0
- package/tools/installer/core/manifest.js +433 -0
- package/tools/installer/core/uv-check.js +97 -0
- package/tools/installer/core/wsl-node-check.js +109 -0
- package/tools/installer/drt-cli.js +104 -0
- package/tools/installer/file-ops.js +204 -0
- package/tools/installer/fs-native.js +116 -0
- package/tools/installer/ide/_config-driven.js +972 -0
- package/tools/installer/ide/manager.js +324 -0
- package/tools/installer/ide/platform-codes.js +80 -0
- package/tools/installer/ide/platform-codes.yaml +343 -0
- package/tools/installer/ide/shared/installed-skills.js +50 -0
- package/tools/installer/ide/shared/path-utils.js +217 -0
- package/tools/installer/ide/shared/skill-manifest.js +57 -0
- package/tools/installer/install-messages.yaml +29 -0
- package/tools/installer/list-options.js +210 -0
- package/tools/installer/message-loader.js +83 -0
- package/tools/installer/modules/channel-plan.js +203 -0
- package/tools/installer/modules/channel-resolver.js +241 -0
- package/tools/installer/modules/custom-module-manager.js +918 -0
- package/tools/installer/modules/external-manager.js +667 -0
- package/tools/installer/modules/module-help-schema.js +13 -0
- package/tools/installer/modules/official-modules.js +2257 -0
- package/tools/installer/modules/plugin-resolver.js +398 -0
- package/tools/installer/modules/version-resolver.js +336 -0
- package/tools/installer/project-root.js +224 -0
- package/tools/installer/prompts.js +852 -0
- package/tools/installer/set-overrides.js +330 -0
- package/tools/installer/ui.js +2090 -0
- package/tools/installer/yaml-format.js +245 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# DRT002, the Technical Writer, is the hardcoded identity of this agent.
|
|
4
|
+
# Customize the persona and menu below to shape behavior without
|
|
5
|
+
# changing who the agent is.
|
|
6
|
+
|
|
7
|
+
[agent]
|
|
8
|
+
# non-configurable skill frontmatter, create a custom agent if you need a new name/title
|
|
9
|
+
name = "DRT002"
|
|
10
|
+
title = "Technical Writer"
|
|
11
|
+
|
|
12
|
+
# --- Configurable below. Overrides merge per DRT structural rules: ---
|
|
13
|
+
|
|
14
|
+
# scalars: override wins • arrays (persistent_facts, principles, activation_steps_*): append
|
|
15
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
16
|
+
|
|
17
|
+
icon = "📚"
|
|
18
|
+
|
|
19
|
+
# Steps to run before the standard activation (persona, config, greet).
|
|
20
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
21
|
+
|
|
22
|
+
activation_steps_prepend = []
|
|
23
|
+
|
|
24
|
+
# Steps to run after greet but before presenting the menu.
|
|
25
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
26
|
+
# once the user has been acknowledged.
|
|
27
|
+
|
|
28
|
+
activation_steps_append = []
|
|
29
|
+
|
|
30
|
+
# Persistent facts the agent keeps in mind for the whole session (org rules,
|
|
31
|
+
# domain constants, user preferences). Distinct from the runtime memory
|
|
32
|
+
# sidecar — these are static context loaded on activation. Overrides append.
|
|
33
|
+
#
|
|
34
|
+
# Each entry is either:
|
|
35
|
+
# - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
36
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
37
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
38
|
+
|
|
39
|
+
persistent_facts = [
|
|
40
|
+
"file:{project-root}/**/project-context.md",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
role = "Capture and curate project knowledge so humans and future LLM agents stay in sync during the DRT Method analysis phase."
|
|
44
|
+
identity = "Writes with Julia Evans's accessibility and Edward Tufte's visual precision."
|
|
45
|
+
communication_style = "Patient educator — explains like teaching a friend. Every analogy earns its place."
|
|
46
|
+
|
|
47
|
+
# The agent's value system. Overrides append to defaults.
|
|
48
|
+
principles = [
|
|
49
|
+
"Write for the reader's task, not the writer's checklist.",
|
|
50
|
+
"A diagram beats a thousand-word paragraph.",
|
|
51
|
+
"Audience-aware: simplify or detail as the reader needs.",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
# Capabilities menu. Overrides merge by `code`: matching codes replace the item
|
|
55
|
+
# in place, new codes append. Each item has exactly one of `skill` (invokes a
|
|
56
|
+
# registered skill by name) or `prompt` (executes the prompt text directly).
|
|
57
|
+
|
|
58
|
+
[[agent.menu]]
|
|
59
|
+
code = "DP"
|
|
60
|
+
description = "Generate comprehensive project documentation (brownfield analysis, architecture scanning)"
|
|
61
|
+
skill = "drt-document-project"
|
|
62
|
+
|
|
63
|
+
[[agent.menu]]
|
|
64
|
+
code = "WD"
|
|
65
|
+
description = "Author a document following documentation best practices through guided conversation"
|
|
66
|
+
prompt = "Read and follow the instructions in {skill-root}/write-document.md"
|
|
67
|
+
|
|
68
|
+
[[agent.menu]]
|
|
69
|
+
code = "MG"
|
|
70
|
+
description = "Create a Mermaid-compliant diagram based on your description"
|
|
71
|
+
prompt = "Read and follow the instructions in {skill-root}/mermaid-gen.md"
|
|
72
|
+
|
|
73
|
+
[[agent.menu]]
|
|
74
|
+
code = "VD"
|
|
75
|
+
description = "Validate documentation against standards and best practices"
|
|
76
|
+
prompt = "Read and follow the instructions in {skill-root}/validate-doc.md"
|
|
77
|
+
|
|
78
|
+
[[agent.menu]]
|
|
79
|
+
code = "EC"
|
|
80
|
+
description = "Create clear technical explanations with examples and diagrams"
|
|
81
|
+
prompt = "Read and follow the instructions in {skill-root}/explain-concept.md"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explain-concept
|
|
3
|
+
description: Create clear technical explanations with examples
|
|
4
|
+
menu-code: EC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Explain Concept
|
|
8
|
+
|
|
9
|
+
Create a clear technical explanation with examples and diagrams for a complex concept.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the concept** — Clarify what needs to be explained and the target audience
|
|
14
|
+
2. **Structure** — Break it down into digestible sections using a task-oriented approach
|
|
15
|
+
3. **Illustrate** — Include code examples and Mermaid diagrams where helpful
|
|
16
|
+
4. **Deliver** — Present the explanation in clear, accessible language appropriate for the audience
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A structured explanation with examples and diagrams that makes the complex simple.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mermaid-gen
|
|
3
|
+
description: Create Mermaid-compliant diagrams
|
|
4
|
+
menu-code: MG
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mermaid Generate
|
|
8
|
+
|
|
9
|
+
Create a Mermaid diagram based on user description through multi-turn conversation until the complete details are understood.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the ask** — Clarify what needs to be visualized
|
|
14
|
+
2. **Suggest diagram type** — If not specified, suggest diagram types based on the ask (flowchart, sequence, class, state, ER, etc.)
|
|
15
|
+
3. **Generate** — Create the diagram strictly following Mermaid syntax and CommonMark fenced code block standards
|
|
16
|
+
4. **Iterate** — Refine based on user feedback
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A Mermaid diagram in a fenced code block, ready to render.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: validate-doc
|
|
3
|
+
description: Validate documentation against standards and best practices
|
|
4
|
+
menu-code: VD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Validate Documentation
|
|
8
|
+
|
|
9
|
+
Review the specified document against documentation best practices along with anything additional the user asked you to focus on.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Load the document** — Read the specified document fully
|
|
14
|
+
2. **Analyze** — Review against documentation standards, clarity, structure, audience-appropriateness, and any user-specified focus areas
|
|
15
|
+
3. **Report** — Return specific, actionable improvement suggestions organized by priority
|
|
16
|
+
|
|
17
|
+
## Output
|
|
18
|
+
|
|
19
|
+
A prioritized list of specific, actionable improvement suggestions.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: write-document
|
|
3
|
+
description: Author a document following documentation best practices
|
|
4
|
+
menu-code: WD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Write Document
|
|
8
|
+
|
|
9
|
+
Engage in multi-turn conversation until you fully understand the ask. Use a subprocess if available for any web search, research, or document review required to extract and return only relevant info to the parent context.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Discover intent** — Ask clarifying questions until the document scope, audience, and purpose are clear
|
|
14
|
+
2. **Research** — If the user provides references or the topic requires it, use subagents to review documents and extract relevant information
|
|
15
|
+
3. **Draft** — Author the document following documentation best practices: clear structure, task-oriented approach, diagrams where helpful
|
|
16
|
+
4. **Review** — Use a subprocess to review and revise for quality of content and standards compliance
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A complete, well-structured document ready for use.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drt-document-project
|
|
3
|
+
description: 'Document brownfield projects for AI context. Use when the user says "document this project" or "generate project docs"'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Document Project Workflow
|
|
7
|
+
|
|
8
|
+
**Goal:** Document brownfield projects for AI context.
|
|
9
|
+
|
|
10
|
+
**Your Role:** Project documentation specialist.
|
|
11
|
+
|
|
12
|
+
## Conventions
|
|
13
|
+
|
|
14
|
+
- Bare paths (e.g. `instructions.md`) resolve from the skill root.
|
|
15
|
+
- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
|
|
16
|
+
- `{project-root}`-prefixed paths resolve from the project working directory.
|
|
17
|
+
- `{skill-name}` resolves to the skill directory's basename.
|
|
18
|
+
|
|
19
|
+
## On Activation
|
|
20
|
+
|
|
21
|
+
### Step 1: Resolve the Workflow Block
|
|
22
|
+
|
|
23
|
+
Run: `node {project-root}/_drt/scripts/resolve-customization.js --skill {skill-root} --key workflow`
|
|
24
|
+
|
|
25
|
+
**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
|
|
26
|
+
|
|
27
|
+
1. `{skill-root}/customize.toml` — defaults
|
|
28
|
+
2. `{project-root}/_drt/custom/{skill-name}.toml` — team overrides
|
|
29
|
+
3. `{project-root}/_drt/custom/{skill-name}.user.toml` — personal overrides
|
|
30
|
+
|
|
31
|
+
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
32
|
+
|
|
33
|
+
### Step 2: Execute Prepend Steps
|
|
34
|
+
|
|
35
|
+
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
36
|
+
|
|
37
|
+
### Step 3: Load Persistent Facts
|
|
38
|
+
|
|
39
|
+
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
|
|
40
|
+
|
|
41
|
+
### Step 4: Load Config
|
|
42
|
+
|
|
43
|
+
Load config from `{project-root}/_drt/drt/config.yaml` and resolve:
|
|
44
|
+
- Use `{user_name}` for greeting
|
|
45
|
+
- Use `{communication_language}` for all communications
|
|
46
|
+
- Use `{document_output_language}` for output documents
|
|
47
|
+
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
48
|
+
- Use `{project_knowledge}` for additional context scanning
|
|
49
|
+
|
|
50
|
+
### Step 5: Greet the User
|
|
51
|
+
|
|
52
|
+
Greet `{user_name}` (if you have not already), speaking in `{communication_language}`.
|
|
53
|
+
|
|
54
|
+
### Step 6: Execute Append Steps
|
|
55
|
+
|
|
56
|
+
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
57
|
+
|
|
58
|
+
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
|
|
59
|
+
|
|
60
|
+
## Execution
|
|
61
|
+
|
|
62
|
+
Read fully and follow: `./instructions.md`
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# Document Project Workflow - Validation Checklist
|
|
2
|
+
|
|
3
|
+
## Scan Level and Resumability
|
|
4
|
+
|
|
5
|
+
- [ ] Scan level selection offered (quick/deep/exhaustive) for initial_scan and full_rescan modes
|
|
6
|
+
- [ ] Deep-dive mode automatically uses exhaustive scan (no choice given)
|
|
7
|
+
- [ ] Quick scan does NOT read source files (only patterns, configs, manifests)
|
|
8
|
+
- [ ] Deep scan reads files in critical directories per project type
|
|
9
|
+
- [ ] Exhaustive scan reads ALL source files (excluding node_modules, dist, build)
|
|
10
|
+
- [ ] State file (project-scan-report.json) created at workflow start
|
|
11
|
+
- [ ] State file updated after each step completion
|
|
12
|
+
- [ ] State file contains all required fields per schema
|
|
13
|
+
- [ ] Resumability prompt shown if state file exists and is <24 hours old
|
|
14
|
+
- [ ] Old state files (>24 hours) automatically archived
|
|
15
|
+
- [ ] Resume functionality loads previous state correctly
|
|
16
|
+
- [ ] Workflow can jump to correct step when resuming
|
|
17
|
+
|
|
18
|
+
## Write-as-you-go Architecture
|
|
19
|
+
|
|
20
|
+
- [ ] Each document written to disk IMMEDIATELY after generation
|
|
21
|
+
- [ ] Document validation performed right after writing (section-level)
|
|
22
|
+
- [ ] State file updated after each document is written
|
|
23
|
+
- [ ] Detailed findings purged from context after writing (only summaries kept)
|
|
24
|
+
- [ ] Context contains only high-level summaries (1-2 sentences per section)
|
|
25
|
+
- [ ] No accumulation of full project analysis in memory
|
|
26
|
+
|
|
27
|
+
## Batching Strategy (Deep/Exhaustive Scans)
|
|
28
|
+
|
|
29
|
+
- [ ] Batching applied for deep and exhaustive scan levels
|
|
30
|
+
- [ ] Batches organized by SUBFOLDER (not arbitrary file count)
|
|
31
|
+
- [ ] Large files (>5000 LOC) handled with appropriate judgment
|
|
32
|
+
- [ ] Each batch: read files, extract info, write output, validate, purge context
|
|
33
|
+
- [ ] Batch completion tracked in state file (batches_completed array)
|
|
34
|
+
- [ ] Batch summaries kept in context (1-2 sentences max)
|
|
35
|
+
|
|
36
|
+
## Project Detection and Classification
|
|
37
|
+
|
|
38
|
+
- [ ] Project type correctly identified and matches actual technology stack
|
|
39
|
+
- [ ] Multi-part vs single-part structure accurately detected
|
|
40
|
+
- [ ] All project parts identified if multi-part (no missing client/server/etc.)
|
|
41
|
+
- [ ] Documentation requirements loaded for each part type
|
|
42
|
+
- [ ] Architecture registry match is appropriate for detected stack
|
|
43
|
+
|
|
44
|
+
## Technology Stack Analysis
|
|
45
|
+
|
|
46
|
+
- [ ] All major technologies identified (framework, language, database, etc.)
|
|
47
|
+
- [ ] Versions captured where available
|
|
48
|
+
- [ ] Technology decision table is complete and accurate
|
|
49
|
+
- [ ] Dependencies and libraries documented
|
|
50
|
+
- [ ] Build tools and package managers identified
|
|
51
|
+
|
|
52
|
+
## Codebase Scanning Completeness
|
|
53
|
+
|
|
54
|
+
- [ ] All critical directories scanned based on project type
|
|
55
|
+
- [ ] API endpoints documented (if requires_api_scan = true)
|
|
56
|
+
- [ ] Data models captured (if requires_data_models = true)
|
|
57
|
+
- [ ] State management patterns identified (if requires_state_management = true)
|
|
58
|
+
- [ ] UI components inventoried (if requires_ui_components = true)
|
|
59
|
+
- [ ] Configuration files located and documented
|
|
60
|
+
- [ ] Authentication/security patterns identified
|
|
61
|
+
- [ ] Entry points correctly identified
|
|
62
|
+
- [ ] Integration points mapped (for multi-part projects)
|
|
63
|
+
- [ ] Test files and patterns documented
|
|
64
|
+
|
|
65
|
+
## Source Tree Analysis
|
|
66
|
+
|
|
67
|
+
- [ ] Complete directory tree generated with no major omissions
|
|
68
|
+
- [ ] Critical folders highlighted and described
|
|
69
|
+
- [ ] Entry points clearly marked
|
|
70
|
+
- [ ] Integration paths noted (for multi-part)
|
|
71
|
+
- [ ] Asset locations identified (if applicable)
|
|
72
|
+
- [ ] File organization patterns explained
|
|
73
|
+
|
|
74
|
+
## Architecture Documentation Quality
|
|
75
|
+
|
|
76
|
+
- [ ] Architecture document uses appropriate template from registry
|
|
77
|
+
- [ ] All template sections filled with relevant information (no placeholders)
|
|
78
|
+
- [ ] Technology stack section is comprehensive
|
|
79
|
+
- [ ] Architecture pattern clearly explained
|
|
80
|
+
- [ ] Data architecture documented (if applicable)
|
|
81
|
+
- [ ] API design documented (if applicable)
|
|
82
|
+
- [ ] Component structure explained (if applicable)
|
|
83
|
+
- [ ] Source tree included and annotated
|
|
84
|
+
- [ ] Testing strategy documented
|
|
85
|
+
- [ ] Deployment architecture captured (if config found)
|
|
86
|
+
|
|
87
|
+
## Development and Operations Documentation
|
|
88
|
+
|
|
89
|
+
- [ ] Prerequisites clearly listed
|
|
90
|
+
- [ ] Installation steps documented
|
|
91
|
+
- [ ] Environment setup instructions provided
|
|
92
|
+
- [ ] Local run commands specified
|
|
93
|
+
- [ ] Build process documented
|
|
94
|
+
- [ ] Test commands and approach explained
|
|
95
|
+
- [ ] Deployment process documented (if applicable)
|
|
96
|
+
- [ ] CI/CD pipeline details captured (if found)
|
|
97
|
+
- [ ] Contribution guidelines extracted (if found)
|
|
98
|
+
|
|
99
|
+
## Multi-Part Project Specific (if applicable)
|
|
100
|
+
|
|
101
|
+
- [ ] Each part documented separately
|
|
102
|
+
- [ ] Part-specific architecture files created (architecture-{part_id}.md)
|
|
103
|
+
- [ ] Part-specific component inventories created (if applicable)
|
|
104
|
+
- [ ] Part-specific development guides created
|
|
105
|
+
- [ ] Integration architecture document created
|
|
106
|
+
- [ ] Integration points clearly defined with type and details
|
|
107
|
+
- [ ] Data flow between parts explained
|
|
108
|
+
- [ ] project-parts.json metadata file created
|
|
109
|
+
|
|
110
|
+
## Index and Navigation
|
|
111
|
+
|
|
112
|
+
- [ ] index.md created as master entry point
|
|
113
|
+
- [ ] Project structure clearly summarized in index
|
|
114
|
+
- [ ] Quick reference section complete and accurate
|
|
115
|
+
- [ ] All generated docs linked from index
|
|
116
|
+
- [ ] All existing docs linked from index (if found)
|
|
117
|
+
- [ ] Getting started section provides clear next steps
|
|
118
|
+
- [ ] AI-assisted development guidance included
|
|
119
|
+
- [ ] Navigation structure matches project complexity (simple for single-part, detailed for multi-part)
|
|
120
|
+
|
|
121
|
+
## File Completeness
|
|
122
|
+
|
|
123
|
+
- [ ] index.md generated
|
|
124
|
+
- [ ] project-overview.md generated
|
|
125
|
+
- [ ] source-tree-analysis.md generated
|
|
126
|
+
- [ ] architecture.md (or per-part) generated
|
|
127
|
+
- [ ] component-inventory.md (or per-part) generated if UI components exist
|
|
128
|
+
- [ ] development-guide.md (or per-part) generated
|
|
129
|
+
- [ ] api-contracts.md (or per-part) generated if APIs documented
|
|
130
|
+
- [ ] data-models.md (or per-part) generated if data models found
|
|
131
|
+
- [ ] deployment-guide.md generated if deployment config found
|
|
132
|
+
- [ ] contribution-guide.md generated if guidelines found
|
|
133
|
+
- [ ] integration-architecture.md generated if multi-part
|
|
134
|
+
- [ ] project-parts.json generated if multi-part
|
|
135
|
+
|
|
136
|
+
## Content Quality
|
|
137
|
+
|
|
138
|
+
- [ ] Technical information is accurate and specific
|
|
139
|
+
- [ ] No generic placeholders or "TODO" items remain
|
|
140
|
+
- [ ] Examples and code snippets are relevant to actual project
|
|
141
|
+
- [ ] File paths and directory references are correct
|
|
142
|
+
- [ ] Technology names and versions are accurate
|
|
143
|
+
- [ ] Terminology is consistent across all documents
|
|
144
|
+
- [ ] Descriptions are clear and actionable
|
|
145
|
+
|
|
146
|
+
## Brownfield PRD Readiness
|
|
147
|
+
|
|
148
|
+
- [ ] Documentation provides enough context for AI to understand existing system
|
|
149
|
+
- [ ] Integration points are clear for planning new features
|
|
150
|
+
- [ ] Reusable components are identified for leveraging in new work
|
|
151
|
+
- [ ] Data models are documented for schema extension planning
|
|
152
|
+
- [ ] API contracts are documented for endpoint expansion
|
|
153
|
+
- [ ] Code conventions and patterns are captured for consistency
|
|
154
|
+
- [ ] Architecture constraints are clear for informed decision-making
|
|
155
|
+
|
|
156
|
+
## Output Validation
|
|
157
|
+
|
|
158
|
+
- [ ] All files saved to correct output folder
|
|
159
|
+
- [ ] File naming follows convention (no part suffix for single-part, with suffix for multi-part)
|
|
160
|
+
- [ ] No broken internal links between documents
|
|
161
|
+
- [ ] Markdown formatting is correct and renders properly
|
|
162
|
+
- [ ] JSON files are valid (project-parts.json if applicable)
|
|
163
|
+
|
|
164
|
+
## Final Validation
|
|
165
|
+
|
|
166
|
+
- [ ] User confirmed project classification is accurate
|
|
167
|
+
- [ ] User provided any additional context needed
|
|
168
|
+
- [ ] All requested areas of focus addressed
|
|
169
|
+
- [ ] Documentation is immediately usable for brownfield PRD workflow
|
|
170
|
+
- [ ] No critical information gaps identified
|
|
171
|
+
|
|
172
|
+
## Issues Found
|
|
173
|
+
|
|
174
|
+
### Critical Issues (must fix before completion)
|
|
175
|
+
|
|
176
|
+
-
|
|
177
|
+
|
|
178
|
+
### Minor Issues (can be addressed later)
|
|
179
|
+
|
|
180
|
+
-
|
|
181
|
+
|
|
182
|
+
### Missing Information (to note for user)
|
|
183
|
+
|
|
184
|
+
-
|
|
185
|
+
|
|
186
|
+
## Deep-Dive Mode Validation (if deep-dive was performed)
|
|
187
|
+
|
|
188
|
+
- [ ] Deep-dive target area correctly identified and scoped
|
|
189
|
+
- [ ] All files in target area read completely (no skipped files)
|
|
190
|
+
- [ ] File inventory includes all exports with complete signatures
|
|
191
|
+
- [ ] Dependencies mapped for all files
|
|
192
|
+
- [ ] Dependents identified (who imports each file)
|
|
193
|
+
- [ ] Code snippets included for key implementation details
|
|
194
|
+
- [ ] Patterns and design approaches documented
|
|
195
|
+
- [ ] State management strategy explained
|
|
196
|
+
- [ ] Side effects documented (API calls, DB queries, etc.)
|
|
197
|
+
- [ ] Error handling approaches captured
|
|
198
|
+
- [ ] Testing files and coverage documented
|
|
199
|
+
- [ ] TODOs and comments extracted
|
|
200
|
+
- [ ] Dependency graph created showing relationships
|
|
201
|
+
- [ ] Data flow traced through the scanned area
|
|
202
|
+
- [ ] Integration points with rest of codebase identified
|
|
203
|
+
- [ ] Related code and similar patterns found outside scanned area
|
|
204
|
+
- [ ] Reuse opportunities documented
|
|
205
|
+
- [ ] Implementation guidance provided
|
|
206
|
+
- [ ] Modification instructions clear
|
|
207
|
+
- [ ] Index.md updated with deep-dive link
|
|
208
|
+
- [ ] Deep-dive documentation is immediately useful for implementation
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## State File Quality
|
|
213
|
+
|
|
214
|
+
- [ ] State file is valid JSON (no syntax errors)
|
|
215
|
+
- [ ] State file is optimized (no pretty-printing, minimal whitespace)
|
|
216
|
+
- [ ] State file contains all completed steps with timestamps
|
|
217
|
+
- [ ] State file outputs_generated list is accurate and complete
|
|
218
|
+
- [ ] State file resume_instructions are clear and actionable
|
|
219
|
+
- [ ] State file findings contain only high-level summaries (not detailed data)
|
|
220
|
+
- [ ] State file can be successfully loaded for resumption
|
|
221
|
+
|
|
222
|
+
## Completion Criteria
|
|
223
|
+
|
|
224
|
+
All items in the following sections must be checked:
|
|
225
|
+
|
|
226
|
+
- ✓ Scan Level and Resumability
|
|
227
|
+
- ✓ Write-as-you-go Architecture
|
|
228
|
+
- ✓ Batching Strategy (if deep/exhaustive scan)
|
|
229
|
+
- ✓ Project Detection and Classification
|
|
230
|
+
- ✓ Technology Stack Analysis
|
|
231
|
+
- ✓ Architecture Documentation Quality
|
|
232
|
+
- ✓ Index and Navigation
|
|
233
|
+
- ✓ File Completeness
|
|
234
|
+
- ✓ Brownfield PRD Readiness
|
|
235
|
+
- ✓ State File Quality
|
|
236
|
+
- ✓ Deep-Dive Mode Validation (if applicable)
|
|
237
|
+
|
|
238
|
+
The workflow is complete when:
|
|
239
|
+
|
|
240
|
+
1. All critical checklist items are satisfied
|
|
241
|
+
2. No critical issues remain
|
|
242
|
+
3. User has reviewed and approved the documentation
|
|
243
|
+
4. Generated docs are ready for use in brownfield PRD workflow
|
|
244
|
+
5. Deep-dive docs (if any) are comprehensive and implementation-ready
|
|
245
|
+
6. State file is valid and can enable resumption if interrupted
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# Workflow customization surface for drt-document-project. Mirrors the
|
|
4
|
+
# agent customization shape under the [workflow] namespace.
|
|
5
|
+
|
|
6
|
+
[workflow]
|
|
7
|
+
|
|
8
|
+
# --- Configurable below. Overrides merge per DRT structural rules: ---
|
|
9
|
+
# scalars: override wins • arrays (persistent_facts, activation_steps_*): append
|
|
10
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
11
|
+
|
|
12
|
+
# Steps to run before the standard activation (config load, greet).
|
|
13
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
14
|
+
|
|
15
|
+
activation_steps_prepend = []
|
|
16
|
+
|
|
17
|
+
# Steps to run after greet but before the workflow begins.
|
|
18
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
19
|
+
# once the user has been acknowledged.
|
|
20
|
+
|
|
21
|
+
activation_steps_append = []
|
|
22
|
+
|
|
23
|
+
# Persistent facts the workflow keeps in mind for the whole run
|
|
24
|
+
# (standards, compliance constraints, stylistic guardrails).
|
|
25
|
+
# Distinct from the runtime memory sidecar — these are static context
|
|
26
|
+
# loaded on activation. Overrides append.
|
|
27
|
+
#
|
|
28
|
+
# Each entry is either:
|
|
29
|
+
# - a literal sentence, e.g. "All briefs must include a regulatory-risk section."
|
|
30
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
31
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
32
|
+
|
|
33
|
+
persistent_facts = [
|
|
34
|
+
"file:{project-root}/**/project-context.md",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
# Scalar: executed when the workflow reaches its terminal stage, after
|
|
38
|
+
# the main output has been delivered. Override wins. Leave empty for
|
|
39
|
+
# no custom post-completion behavior.
|
|
40
|
+
|
|
41
|
+
on_complete = ""
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
project_type_id,requires_api_scan,requires_data_models,requires_state_management,requires_ui_components,requires_deployment_config,key_file_patterns,critical_directories,integration_scan_patterns,test_file_patterns,config_patterns,auth_security_patterns,schema_migration_patterns,entry_point_patterns,shared_code_patterns,monorepo_workspace_patterns,async_event_patterns,ci_cd_patterns,asset_patterns,hardware_interface_patterns,protocol_schema_patterns,localization_patterns,requires_hardware_docs,requires_asset_inventory
|
|
2
|
+
web,true,true,true,true,true,package.json;tsconfig.json;*.config.js;*.config.ts;vite.config.*;webpack.config.*;next.config.*;nuxt.config.*,src/;app/;pages/;components/;api/;lib/;styles/;public/;static/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.spec.ts;*.test.tsx;*.spec.tsx;**/__tests__/**;**/*.test.*;**/*.spec.*,.env*;config/*;*.config.*;.config/;settings/,*auth*.ts;*session*.ts;middleware/auth*;*.guard.ts;*authenticat*;*permission*;guards/,migrations/**;prisma/**;*.prisma;alembic/**;knex/**;*migration*.sql;*migration*.ts,main.ts;index.ts;app.ts;server.ts;_app.tsx;_app.ts;layout.tsx,shared/**;common/**;utils/**;lib/**;helpers/**;@*/**;packages/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json;workspace.json;rush.json,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;jobs/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;bitbucket-pipelines.yml,.drone.yml,public/**;static/**;assets/**;images/**;media/**,N/A,*.proto;*.graphql;graphql/**;schema.graphql;*.avro;openapi.*;swagger.*,i18n/**;locales/**;lang/**;translations/**;messages/**;*.po;*.pot,false,false
|
|
3
|
+
mobile,true,true,true,true,true,package.json;pubspec.yaml;Podfile;build.gradle;app.json;capacitor.config.*;ionic.config.json,src/;app/;screens/;components/;services/;models/;assets/;ios/;android/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.test.tsx;*_test.dart;*.test.dart;**/__tests__/**,.env*;config/*;app.json;capacitor.config.*;google-services.json;GoogleService-Info.plist,*auth*.ts;*session*.ts;*authenticat*;*permission*;*biometric*;secure-store*,migrations/**;realm/**;*.realm;watermelondb/**;sqlite/**,main.ts;index.ts;App.tsx;App.ts;main.dart,shared/**;common/**;utils/**;lib/**;components/shared/**;@*/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json,*event*.ts;*notification*.ts;*push*.ts;background-fetch*,fastlane/**;.github/workflows/**;.gitlab-ci.yml;bitbucket-pipelines.yml;appcenter-*,assets/**;Resources/**;res/**;*.xcassets;drawable*/;mipmap*/;images/**,N/A,*.proto;graphql/**;*.graphql,i18n/**;locales/**;translations/**;*.strings;*.xml,false,true
|
|
4
|
+
backend,true,true,false,false,true,package.json;requirements.txt;go.mod;Gemfile;pom.xml;build.gradle;Cargo.toml;*.csproj,src/;api/;services/;models/;routes/;controllers/;middleware/;handlers/;repositories/;domain/,*client.ts;*repository.ts;*service.ts;*connector*.ts;*adapter*.ts,*.test.ts;*.spec.ts;*_test.go;test_*.py;*Test.java;*_test.rs,.env*;config/*;*.config.*;application*.yml;application*.yaml;appsettings*.json;settings.py,*auth*.ts;*session*.ts;*authenticat*;*authorization*;middleware/auth*;guards/;*jwt*;*oauth*,migrations/**;alembic/**;flyway/**;liquibase/**;prisma/**;*.prisma;*migration*.sql;*migration*.ts;db/migrate,main.ts;index.ts;server.ts;app.ts;main.go;main.py;Program.cs;__init__.py,shared/**;common/**;utils/**;lib/**;core/**;@*/**;pkg/**,pnpm-workspace.yaml;lerna.json;nx.json;go.work,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;*handler*.ts;jobs/**;workers/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;.drone.yml,N/A,N/A,*.proto;*.graphql;graphql/**;*.avro;*.thrift;openapi.*;swagger.*;schema/**,N/A,false,false
|
|
5
|
+
cli,false,false,false,false,false,package.json;go.mod;Cargo.toml;setup.py;pyproject.toml;*.gemspec,src/;cmd/;cli/;bin/;lib/;commands/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*_spec.rb,.env*;config/*;*.config.*;.*.rc;.*rc,N/A,N/A,main.ts;index.ts;cli.ts;main.go;main.py;__main__.py;bin/*,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;goreleaser.yml,N/A,N/A,N/A,N/A,false,false
|
|
6
|
+
library,false,false,false,false,false,package.json;setup.py;Cargo.toml;go.mod;*.gemspec;*.csproj;pom.xml,src/;lib/;dist/;pkg/;build/;target/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*Test.java;*_test.rs,.*.rc;tsconfig.json;rollup.config.*;vite.config.*;webpack.config.*,N/A,N/A,index.ts;index.js;lib.rs;main.go;__init__.py,src/**;lib/**;core/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
7
|
+
desktop,false,false,true,true,true,package.json;Cargo.toml;*.csproj;CMakeLists.txt;tauri.conf.json;electron-builder.yml;wails.json,src/;app/;components/;main/;renderer/;resources/;assets/;build/,*service.ts;ipc*.ts;*bridge*.ts;*native*.ts;invoke*,*.test.ts;*.spec.ts;*_test.rs;*.spec.tsx,.env*;config/*;*.config.*;app.config.*;forge.config.*;builder.config.*,*auth*.ts;*session*.ts;keychain*;secure-storage*,N/A,main.ts;index.ts;main.js;src-tauri/main.rs;electron.ts,shared/**;common/**;utils/**;lib/**;components/shared/**,N/A,*event*.ts;*ipc*.ts;*message*.ts,.github/workflows/**;.gitlab-ci.yml;.circleci/**,resources/**;assets/**;icons/**;static/**;build/resources,N/A,N/A,i18n/**;locales/**;translations/**;lang/**,false,true
|
|
8
|
+
game,false,false,true,false,false,*.unity;*.godot;*.uproject;package.json;project.godot,Assets/;Scenes/;Scripts/;Prefabs/;Resources/;Content/;Source/;src/;scenes/;scripts/,N/A,*Test.cs;*_test.gd;*Test.cpp;*.test.ts,.env*;config/*;*.ini;settings/;GameSettings/,N/A,N/A,main.gd;Main.cs;GameManager.cs;main.cpp;index.ts,shared/**;common/**;utils/**;Core/**;Framework/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,Assets/**;Scenes/**;Prefabs/**;Materials/**;Textures/**;Audio/**;Models/**;*.fbx;*.blend;*.shader;*.hlsl;*.glsl;Shaders/**;VFX/**,N/A,N/A,Localization/**;Languages/**;i18n/**,false,true
|
|
9
|
+
data,false,true,false,false,true,requirements.txt;pyproject.toml;dbt_project.yml;airflow.cfg;setup.py;Pipfile,dags/;pipelines/;models/;transformations/;notebooks/;sql/;etl/;jobs/,N/A,test_*.py;*_test.py;tests/**,.env*;config/*;profiles.yml;dbt_project.yml;airflow.cfg,N/A,migrations/**;dbt/models/**;*.sql;schemas/**,main.py;__init__.py;pipeline.py;dag.py,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,*event*.py;*consumer*.py;*producer*.py;*worker*.py;jobs/**;tasks/**,.github/workflows/**;.gitlab-ci.yml;airflow/dags/**,N/A,N/A,*.proto;*.avro;schemas/**;*.parquet,N/A,false,false
|
|
10
|
+
extension,true,false,true,true,false,manifest.json;package.json;wxt.config.ts,src/;popup/;content/;background/;assets/;components/,*message.ts;*runtime.ts;*storage.ts;*tabs.ts,*.test.ts;*.spec.ts;*.test.tsx,.env*;wxt.config.*;webpack.config.*;vite.config.*,*auth*.ts;*session*.ts;*permission*,N/A,index.ts;popup.ts;background.ts;content.ts,shared/**;common/**;utils/**;lib/**,N/A,*message*.ts;*event*.ts;chrome.runtime*;browser.runtime*,.github/workflows/**,assets/**;icons/**;images/**;static/**,N/A,N/A,_locales/**;locales/**;i18n/**,false,false
|
|
11
|
+
infra,false,false,false,false,true,*.tf;*.tfvars;pulumi.yaml;cdk.json;*.yml;*.yaml;Dockerfile;docker-compose*.yml,terraform/;modules/;k8s/;charts/;playbooks/;roles/;policies/;stacks/,N/A,*_test.go;test_*.py;*_test.tf;*_spec.rb,.env*;*.tfvars;config/*;vars/;group_vars/;host_vars/,N/A,N/A,main.tf;index.ts;__main__.py;playbook.yml,modules/**;shared/**;common/**;lib/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
12
|
+
embedded,false,false,false,false,false,platformio.ini;CMakeLists.txt;*.ino;Makefile;*.ioc;mbed-os.lib,src/;lib/;include/;firmware/;drivers/;hal/;bsp/;components/,N/A,test_*.c;*_test.cpp;*_test.c;tests/**,.env*;config/*;sdkconfig;*.json;settings/,N/A,N/A,main.c;main.cpp;main.ino;app_main.c,lib/**;shared/**;common/**;drivers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,N/A,*.h;*.hpp;drivers/**;hal/**;bsp/**;pinout.*;peripheral*;gpio*;*.fzz;schematics/**,*.proto;mqtt*;coap*;modbus*,N/A,true,false
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Document Project Workflow Router
|
|
2
|
+
|
|
3
|
+
<critical>Communicate all responses in {communication_language}</critical>
|
|
4
|
+
|
|
5
|
+
<workflow>
|
|
6
|
+
|
|
7
|
+
<critical>This router determines workflow mode and delegates to specialized sub-workflows</critical>
|
|
8
|
+
|
|
9
|
+
<step n="1" goal="Check for ability to resume and determine workflow mode">
|
|
10
|
+
<action>Check for existing state file at: {project_knowledge}/project-scan-report.json</action>
|
|
11
|
+
|
|
12
|
+
<check if="project-scan-report.json exists">
|
|
13
|
+
<action>Read state file and extract: timestamps, mode, scan_level, current_step, completed_steps, project_classification</action>
|
|
14
|
+
<action>Extract cached project_type_id(s) from state file if present</action>
|
|
15
|
+
<action>Calculate age of state file (current time - last_updated)</action>
|
|
16
|
+
|
|
17
|
+
<ask>I found an in-progress workflow state from {{last_updated}}.
|
|
18
|
+
|
|
19
|
+
**Current Progress:**
|
|
20
|
+
|
|
21
|
+
- Mode: {{mode}}
|
|
22
|
+
- Scan Level: {{scan_level}}
|
|
23
|
+
- Completed Steps: {{completed_steps_count}}/{{total_steps}}
|
|
24
|
+
- Last Step: {{current_step}}
|
|
25
|
+
- Project Type(s): {{cached_project_types}}
|
|
26
|
+
|
|
27
|
+
Would you like to:
|
|
28
|
+
|
|
29
|
+
1. **Resume from where we left off** - Continue from step {{current_step}}
|
|
30
|
+
2. **Start fresh** - Archive old state and begin new scan
|
|
31
|
+
3. **Cancel** - Exit without changes
|
|
32
|
+
|
|
33
|
+
Your choice [1/2/3]:
|
|
34
|
+
</ask>
|
|
35
|
+
|
|
36
|
+
<check if="user selects 1">
|
|
37
|
+
<action>Set resume_mode = true</action>
|
|
38
|
+
<action>Set workflow_mode = {{mode}}</action>
|
|
39
|
+
<action>Load findings summaries from state file</action>
|
|
40
|
+
<action>Load cached project_type_id(s) from state file</action>
|
|
41
|
+
|
|
42
|
+
<critical>CONDITIONAL CSV LOADING FOR RESUME:</critical>
|
|
43
|
+
<action>For each cached project_type_id, load ONLY the corresponding row from: ./documentation-requirements.csv</action>
|
|
44
|
+
<action>Skip loading project-types.csv and architecture_registry.csv (not needed on resume)</action>
|
|
45
|
+
<action>Store loaded doc requirements for use in remaining steps</action>
|
|
46
|
+
|
|
47
|
+
<action>Display: "Resuming {{workflow_mode}} from {{current_step}} with cached project type(s): {{cached_project_types}}"</action>
|
|
48
|
+
|
|
49
|
+
<check if="workflow_mode == deep_dive">
|
|
50
|
+
<action>Read fully and follow: ./workflows/deep-dive-workflow.md with resume context</action>
|
|
51
|
+
</check>
|
|
52
|
+
|
|
53
|
+
<check if="workflow_mode == initial_scan OR workflow_mode == full_rescan">
|
|
54
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md with resume context</action>
|
|
55
|
+
</check>
|
|
56
|
+
|
|
57
|
+
</check>
|
|
58
|
+
|
|
59
|
+
<check if="user selects 2">
|
|
60
|
+
<action>Create archive directory: {project_knowledge}/.archive/</action>
|
|
61
|
+
<action>Move old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action>
|
|
62
|
+
<action>Set resume_mode = false</action>
|
|
63
|
+
<action>Continue to Step 0.5</action>
|
|
64
|
+
</check>
|
|
65
|
+
|
|
66
|
+
<check if="user selects 3">
|
|
67
|
+
<action>Display: "Exiting workflow without changes."</action>
|
|
68
|
+
<action>Exit workflow</action>
|
|
69
|
+
</check>
|
|
70
|
+
|
|
71
|
+
<check if="state file age >= 24 hours">
|
|
72
|
+
<action>Display: "Found old state file (>24 hours). Starting fresh scan."</action>
|
|
73
|
+
<action>Archive old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action>
|
|
74
|
+
<action>Set resume_mode = false</action>
|
|
75
|
+
<action>Continue to Step 0.5</action>
|
|
76
|
+
</check>
|
|
77
|
+
|
|
78
|
+
</step>
|
|
79
|
+
|
|
80
|
+
<step n="3" goal="Check for existing documentation and determine workflow mode" if="resume_mode == false">
|
|
81
|
+
<action>Check if {project_knowledge}/index.md exists</action>
|
|
82
|
+
|
|
83
|
+
<check if="index.md exists">
|
|
84
|
+
<action>Read existing index.md to extract metadata (date, project structure, parts count)</action>
|
|
85
|
+
<action>Store as {{existing_doc_date}}, {{existing_structure}}</action>
|
|
86
|
+
|
|
87
|
+
<ask>I found existing documentation generated on {{existing_doc_date}}.
|
|
88
|
+
|
|
89
|
+
What would you like to do?
|
|
90
|
+
|
|
91
|
+
1. **Re-scan entire project** - Update all documentation with latest changes
|
|
92
|
+
2. **Deep-dive into specific area** - Generate detailed documentation for a particular feature/module/folder
|
|
93
|
+
3. **Cancel** - Keep existing documentation as-is
|
|
94
|
+
|
|
95
|
+
Your choice [1/2/3]:
|
|
96
|
+
</ask>
|
|
97
|
+
|
|
98
|
+
<check if="user selects 1">
|
|
99
|
+
<action>Set workflow_mode = "full_rescan"</action>
|
|
100
|
+
<action>Display: "Starting full project rescan..."</action>
|
|
101
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md</action>
|
|
102
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
103
|
+
</check>
|
|
104
|
+
|
|
105
|
+
<check if="user selects 2">
|
|
106
|
+
<action>Set workflow_mode = "deep_dive"</action>
|
|
107
|
+
<action>Set scan_level = "exhaustive"</action>
|
|
108
|
+
<action>Display: "Starting deep-dive documentation mode..."</action>
|
|
109
|
+
<action>Read fully and follow: ./workflows/deep-dive-workflow.md</action>
|
|
110
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
111
|
+
</check>
|
|
112
|
+
|
|
113
|
+
<check if="user selects 3">
|
|
114
|
+
<action>Display message: "Keeping existing documentation. Exiting workflow."</action>
|
|
115
|
+
<action>Exit workflow</action>
|
|
116
|
+
</check>
|
|
117
|
+
</check>
|
|
118
|
+
|
|
119
|
+
<check if="index.md does not exist">
|
|
120
|
+
<action>Set workflow_mode = "initial_scan"</action>
|
|
121
|
+
<action>Display: "No existing documentation found. Starting initial project scan..."</action>
|
|
122
|
+
<action>Read fully and follow: ./workflows/full-scan-workflow.md</action>
|
|
123
|
+
<action>After sub-workflow completes, continue to Step 4</action>
|
|
124
|
+
</check>
|
|
125
|
+
|
|
126
|
+
</step>
|
|
127
|
+
|
|
128
|
+
</workflow>
|