@guanlin4924/devflow-pi 0.1.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/README.md +164 -0
- package/docs/OMP-NATIVE-ARCHITECTURE.md +104 -0
- package/package.json +40 -0
- package/plugins/devflow-core/extensions/devflow-core.ts +1642 -0
- package/plugins/devflow-core/package.json +14 -0
- package/plugins/devflow-core/runtime/hooks/context_sync_gate.py +174 -0
- package/plugins/devflow-core/runtime/hooks/hook_common.py +696 -0
- package/plugins/devflow-core/runtime/hooks/index_gate.py +63 -0
- package/plugins/devflow-core/runtime/hooks/injection_code_specification.py +7 -0
- package/plugins/devflow-core/runtime/hooks/post_tool.py +44 -0
- package/plugins/devflow-core/runtime/hooks/start.py +288 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/SKILL.md +265 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/agents/openai.yaml +4 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/advance_state.rb +520 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/control_io.rb +42 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +138 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +121 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/inspect_state.rb +553 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/manage_lessons.rb +219 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/sync_artifacts.rb +168 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/update_triage_route.rb +110 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +565 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +783 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/uat-remediation.yaml +143 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/workflows-README.md +10 -0
- package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +117 -0
- package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +167 -0
- package/plugins/devflow-core/skills/workflow-pipeline/references/slice-safety-guide.md +125 -0
- package/plugins/devflow-core/skills/workflow-project-context/SKILL.md +819 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/agents-md-template.md +25 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-backend-spec-template.md +68 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-frontend-spec-template.md +64 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-navigation-template.md +168 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/context-domain-index-template.md +43 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/context-spec-index-template.md +45 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/execution-contract-template.md +57 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/navigation-index-template.md +40 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/project-initialization-template.md +109 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/rules-index-template.md +80 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/run-manifest-template.json +40 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/directory-structure.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/engine.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/errors.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/locator.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/model.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/repository.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/router.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/scheduler.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/schema.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/service.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/testing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/api-client.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/case-editor.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/components.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/directory-structure.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/forms.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/routing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/state.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/testing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/stack-spec-template.md +106 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/state-template.md +77 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/toolchain-template.md +37 -0
- package/plugins/devflow-core/skills/workflow-project-context/references/navigation-guide.md +262 -0
- package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization.py +545 -0
- package/plugins/devflow-design/agents/contract-auditor.md +18 -0
- package/plugins/devflow-design/extensions/devflow-design.ts +47 -0
- package/plugins/devflow-design/package.json +14 -0
- package/plugins/devflow-design/skills/workflow-api-call-guide/SKILL.md +142 -0
- package/plugins/devflow-design/skills/workflow-api-contract/SKILL.md +150 -0
- package/plugins/devflow-design/skills/workflow-api-supplement/SKILL.md +121 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/SKILL.md +257 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/adr-template.md +57 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/backend-spec-template.md +205 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/affected-module-exploration.md +59 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/backend-conventions.md +30 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/code-explore-guide.md +40 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/project-rule-contract.md +66 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/SKILL.md +91 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/index.md +71 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/accessibility.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/component-library.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/design-systems.md +47 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/responsive-grid.md +29 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/stack-guidelines.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/ux-patterns.md +40 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tokens/project-tokens.md +19 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/SKILL.md +377 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/charts.csv +26 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/colors.csv +97 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/icons.csv +101 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/landing.csv +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/products.csv +97 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/styles.csv +68 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/typography.csv +58 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/core.py +253 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/search.py +114 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/scripts/install.py +67 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/SKILL.md +370 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/admin-system-template.md +57 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/api-service-template.md +42 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/c-end-system-template.md +25 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/output-template.md +139 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/bug-rules.md +12 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/exception-checklist.md +31 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/trace-integrity-guide.md +153 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/writing-guide.md +92 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/SKILL.md +223 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/assets/frontend-spec-template.md +204 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/affected-module-exploration.md +58 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/component-patterns.md +42 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-conventions.md +28 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/common-web.md +53 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/next.md +40 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/react.md +41 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/vue.md +41 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/project-rule-contract.md +95 -0
- package/plugins/devflow-design/skills/workflow-integration-verify/SKILL.md +172 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/SKILL.md +302 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/assets/ui-spec-template.md +244 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/references/affected-module-exploration.md +55 -0
- package/plugins/devflow-implementation/agents/implementation-worker.md +20 -0
- package/plugins/devflow-implementation/package.json +6 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/SKILL.md +124 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/INDEX.md +13 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/adversarial-review.md +35 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/first-principles.md +26 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/lesson-format.md +28 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/root-cause-ladder.md +51 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/seam-analysis.md +30 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/SKILL.md +160 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/code-conventions.md +33 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/ddl-guidelines.md +60 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +217 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/project-rule-contract.md +55 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/SKILL.md +271 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/references/execute-phase.md +1251 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/references/ui-brand.md +160 -0
- package/plugins/devflow-intel/agents/project-scout.md +27 -0
- package/plugins/devflow-intel/extensions/devflow-intel.ts +104 -0
- package/plugins/devflow-intel/package.json +14 -0
- package/plugins/devflow-intel/skills/code-index-query/SKILL.md +37 -0
- package/plugins/devflow-intel/skills/code-index-query/references/query-patterns.md +27 -0
- package/plugins/devflow-intel/skills/workflow-code-index/SKILL.md +68 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/adapter-contract.md +38 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/audit-checklist.md +10 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/confidence-rules.md +43 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/data-model.md +74 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/discovery.md +24 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/query-guide.md +20 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/base.py +30 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/generic_text.py +287 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/registry.py +17 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/code_index.py +437 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/discovery.py +139 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/hashing.py +11 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/scanner.py +115 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/schema.py +123 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/project_binding_check.py +66 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/relation_check.py +36 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/schema_validate.py +11 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/stale_check.py +42 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/jsonl_writer.py +25 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/markdown_writer.py +106 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/sqlite_writer.py +143 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/SKILL.md +381 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/agents/openai.yaml +4 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/scripts/context_sync_cursor.py +241 -0
- package/plugins/devflow-intel/skills/workflow-update-navigation/SKILL.md +186 -0
- package/plugins/devflow-intel/skills/workflow-update-navigation/references/incremental-update-guide.md +47 -0
- package/plugins/devflow-quality/agents/code-reviewer.md +18 -0
- package/plugins/devflow-quality/agents/verification-runner.md +21 -0
- package/plugins/devflow-quality/extensions/devflow-quality.ts +59 -0
- package/plugins/devflow-quality/package.json +14 -0
- package/plugins/devflow-quality/skills/code-review/SKILL.md +288 -0
- package/plugins/devflow-quality/skills/code-review/references/cross-layer-checklist.md +70 -0
- package/plugins/devflow-quality/skills/code-review/references/dao-checklist.md +70 -0
- package/plugins/devflow-quality/skills/code-review/references/handler-checklist.md +48 -0
- package/plugins/devflow-quality/skills/code-review/references/repository-checklist.md +44 -0
- package/plugins/devflow-quality/skills/code-review/references/service-checklist.md +57 -0
- package/plugins/devflow-quality/skills/code-review/references/spec-checklist.md +34 -0
- package/plugins/devflow-quality/skills/code-review/references/vo-checklist.md +26 -0
- package/plugins/devflow-quality/skills/workflow-audit-milestone/SKILL.md +31 -0
- package/plugins/devflow-quality/skills/workflow-audit-milestone/references/audit-milestone.md +328 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/SKILL.md +132 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/assets/milestone-archive.md +123 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/references/complete-milestone.md +775 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/references/milestone-archive.md +123 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/SKILL.md +126 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/api-mainflow-rules.md +27 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/codebase-discovery.md +54 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/intermediate-format.md +244 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/mainflow-selection.md +36 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/project-dsl-contract.md +190 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/ui-mainflow-rules.md +110 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/compile_dsl.py +583 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/discover_codebases.py +199 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/normalize_case_payloads.py +177 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/validate_case_payloads.py +370 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/SKILL.md +106 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/assets/UAT.md +265 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/references/verify-work.md +759 -0
- package/plugins/devflow-requirements/agents/requirements-auditor.md +20 -0
- package/plugins/devflow-requirements/package.json +6 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/SKILL.md +219 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/agents/openai.yaml +4 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/references/review-method.md +257 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/references/review-template.md +80 -0
- package/plugins/devflow-requirements/skills/workflow-demand-clarify/SKILL.md +325 -0
- package/plugins/devflow-requirements/skills/workflow-domain-modeling/SKILL.md +163 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/SKILL.md +748 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/assets/baseline-template.md +281 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/antipatterns.md +69 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/challenge-review-guide.md +158 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/decomposition-guide.md +115 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/project-context-guide.md +119 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/questioning.md +76 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/requirement-review-checklist.md +115 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +204 -0
- package/plugins/devflow-requirements/skills/workflow-wayfinder/SKILL.md +183 -0
- package/src/cli.ts +76 -0
- package/src/constants.ts +15 -0
- package/src/doctor.ts +66 -0
- package/src/paths.ts +37 -0
- package/src/platform-extension.ts +46 -0
- package/src/project-context.ts +165 -0
- package/src/runtime.ts +167 -0
- package/src/usage-stats.ts +101 -0
- package/templates/commands/start.md +58 -0
- package/templates/omp/AGENTS.md +36 -0
- package/templates/omp/config.yml +112 -0
- package/templates/omp/hook-config.json +18 -0
- package/templates/omp/index-policy.json +57 -0
|
@@ -0,0 +1,783 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: feature-development
|
|
3
|
+
name: Feature Development Workflow
|
|
4
|
+
description: >
|
|
5
|
+
Generic feature delivery workflow for OMP-controlled .planning projects.
|
|
6
|
+
Generated by workflow-orchestrator.
|
|
7
|
+
|
|
8
|
+
phase_scope:
|
|
9
|
+
name: workflow-control-plane
|
|
10
|
+
orchestrator_skill_enabled: true
|
|
11
|
+
orchestrator_auto_executes_skills: true
|
|
12
|
+
artifact_registry_enabled: true
|
|
13
|
+
failure_branch_enabled: true
|
|
14
|
+
parallel_window_enabled: true
|
|
15
|
+
|
|
16
|
+
artifact_registry:
|
|
17
|
+
source: ".planning/artifacts/index.yaml"
|
|
18
|
+
path_key: path
|
|
19
|
+
status_key: status
|
|
20
|
+
pending_statuses:
|
|
21
|
+
- planned
|
|
22
|
+
- pending_rerun
|
|
23
|
+
terminal_success_statuses:
|
|
24
|
+
- approved
|
|
25
|
+
- completed
|
|
26
|
+
- passed
|
|
27
|
+
|
|
28
|
+
lessons_policy:
|
|
29
|
+
sources:
|
|
30
|
+
- path: ".context/lessons/README.md"
|
|
31
|
+
required: false
|
|
32
|
+
- path: ".planning/lessons/README.md"
|
|
33
|
+
required: false
|
|
34
|
+
selection:
|
|
35
|
+
enabled: true
|
|
36
|
+
max_candidates: 5
|
|
37
|
+
min_score: 1
|
|
38
|
+
write:
|
|
39
|
+
enabled: true
|
|
40
|
+
default_dir: ".context/lessons"
|
|
41
|
+
index_path: ".context/lessons/README.md"
|
|
42
|
+
template_only: true
|
|
43
|
+
|
|
44
|
+
parallel_windows:
|
|
45
|
+
- id: dual-track-design
|
|
46
|
+
label: API contract based frontend/backend design parallel window
|
|
47
|
+
after_step: api-contract
|
|
48
|
+
branch_steps:
|
|
49
|
+
- backend-tech-spec
|
|
50
|
+
- ui-spec
|
|
51
|
+
branches:
|
|
52
|
+
track_a:
|
|
53
|
+
- backend-tech-spec
|
|
54
|
+
- api-call-guide
|
|
55
|
+
track_b:
|
|
56
|
+
- ui-spec
|
|
57
|
+
- feature-breakdown
|
|
58
|
+
- frontend-tech-spec
|
|
59
|
+
- api-supplement
|
|
60
|
+
join_step: integration-verify
|
|
61
|
+
checkpoint: CP-2
|
|
62
|
+
execution_policy:
|
|
63
|
+
mode: parallel_when_supported
|
|
64
|
+
serial_fallback_order:
|
|
65
|
+
- backend-tech-spec
|
|
66
|
+
- api-call-guide
|
|
67
|
+
- ui-spec
|
|
68
|
+
- feature-breakdown
|
|
69
|
+
- frontend-tech-spec
|
|
70
|
+
- api-supplement
|
|
71
|
+
join_requires:
|
|
72
|
+
- ".planning/features/{feature}/api-call-guide.md"
|
|
73
|
+
- ".planning/features/{feature}/前端技术方案.md"
|
|
74
|
+
|
|
75
|
+
failure_branches:
|
|
76
|
+
verify:
|
|
77
|
+
id: verify-failed-remediation
|
|
78
|
+
label: Verify failure remediation
|
|
79
|
+
workflow: uat-remediation
|
|
80
|
+
workflow_config: ".planning/workflows/uat-remediation.yaml"
|
|
81
|
+
trigger_conditions:
|
|
82
|
+
state_statuses:
|
|
83
|
+
- failed
|
|
84
|
+
checkpoint_decisions:
|
|
85
|
+
- rejected
|
|
86
|
+
- needs_fix
|
|
87
|
+
artifact_statuses:
|
|
88
|
+
- failed
|
|
89
|
+
resume_after_success:
|
|
90
|
+
flow: feature-development
|
|
91
|
+
step: verify
|
|
92
|
+
status: waiting_checkpoint
|
|
93
|
+
checkpoint: CP-4
|
|
94
|
+
|
|
95
|
+
state_contract:
|
|
96
|
+
source: ".planning/STATE.md"
|
|
97
|
+
parser_hint: "read YAML front matter first, then fall back to Markdown sections"
|
|
98
|
+
required_fields:
|
|
99
|
+
- current_flow
|
|
100
|
+
- current_feature
|
|
101
|
+
- current_phase
|
|
102
|
+
- current_step
|
|
103
|
+
- status
|
|
104
|
+
- completed_steps
|
|
105
|
+
- pending_steps
|
|
106
|
+
|
|
107
|
+
variables:
|
|
108
|
+
feature:
|
|
109
|
+
source: state.current_feature
|
|
110
|
+
phase:
|
|
111
|
+
source: state.current_phase
|
|
112
|
+
|
|
113
|
+
statuses:
|
|
114
|
+
- not_started
|
|
115
|
+
- in_progress
|
|
116
|
+
- waiting_checkpoint
|
|
117
|
+
- completed
|
|
118
|
+
- blocked
|
|
119
|
+
- failed
|
|
120
|
+
- remediation
|
|
121
|
+
|
|
122
|
+
checkpoints:
|
|
123
|
+
CP-1:
|
|
124
|
+
name: Requirement baseline confirmation
|
|
125
|
+
gate_after: requirement-baseline
|
|
126
|
+
producing_step: requirement-baseline
|
|
127
|
+
required_outputs:
|
|
128
|
+
- ".planning/requirements/baseline.md"
|
|
129
|
+
required_meta_output: ".planning/requirements/baseline.meta.json"
|
|
130
|
+
required_meta_fields:
|
|
131
|
+
- review_status
|
|
132
|
+
- fp_count
|
|
133
|
+
- br_count
|
|
134
|
+
- bc_count
|
|
135
|
+
- blocking_pending_count
|
|
136
|
+
- critical_image_missing_count
|
|
137
|
+
- challenge_pending_count
|
|
138
|
+
- code_reality_missing_count
|
|
139
|
+
- current_feature
|
|
140
|
+
- depends_on_count
|
|
141
|
+
summary_fields:
|
|
142
|
+
- fp_count
|
|
143
|
+
- br_count
|
|
144
|
+
- bc_count
|
|
145
|
+
- blocking_pending_count
|
|
146
|
+
- critical_image_missing_count
|
|
147
|
+
- challenge_pending_count
|
|
148
|
+
- code_reality_missing_count
|
|
149
|
+
- key_decisions
|
|
150
|
+
- risks
|
|
151
|
+
prompt: "确认需求基线是否准确完整,并允许进入 UI/功能拆解和技术方案阶段。"
|
|
152
|
+
confirm_options:
|
|
153
|
+
- approve
|
|
154
|
+
- needs_fix
|
|
155
|
+
skip_policy: never
|
|
156
|
+
resume_behavior: "user confirms, then continue with api-contract"
|
|
157
|
+
CP-API:
|
|
158
|
+
name: API contract confirmation
|
|
159
|
+
gate_after: api-contract
|
|
160
|
+
producing_step: api-contract
|
|
161
|
+
required_outputs:
|
|
162
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
163
|
+
required_meta_output: ".planning/features/{feature}/api-contract.meta.json"
|
|
164
|
+
required_meta_fields:
|
|
165
|
+
- review_status
|
|
166
|
+
- endpoint_count
|
|
167
|
+
- api_required
|
|
168
|
+
- pending_contract_count
|
|
169
|
+
- breaking_change_count
|
|
170
|
+
- permission_rule_count
|
|
171
|
+
- error_case_count
|
|
172
|
+
summary_fields:
|
|
173
|
+
- endpoint_count
|
|
174
|
+
- api_required
|
|
175
|
+
- pending_contract_count
|
|
176
|
+
- breaking_change_count
|
|
177
|
+
- permission_rule_count
|
|
178
|
+
- error_case_count
|
|
179
|
+
prompt: "确认 API 契约是否完整、字段/错误/权限/兼容性是否已拍板,并允许前后端分轨设计。"
|
|
180
|
+
confirm_options:
|
|
181
|
+
- approve
|
|
182
|
+
- needs_fix
|
|
183
|
+
skip_policy: never
|
|
184
|
+
resume_behavior: "user confirms, then enter Track A/Track B design"
|
|
185
|
+
CP-2:
|
|
186
|
+
name: Merge Gate confirmation
|
|
187
|
+
gate_after: integration-verify
|
|
188
|
+
producing_step: integration-verify
|
|
189
|
+
required_outputs:
|
|
190
|
+
- ".planning/features/{feature}/integration-report.md"
|
|
191
|
+
required_meta_output: ".planning/features/{feature}/integration-report.meta.json"
|
|
192
|
+
required_meta_fields:
|
|
193
|
+
- merge_gate_status
|
|
194
|
+
- api_required
|
|
195
|
+
- contract_backend_mismatch_count
|
|
196
|
+
- contract_frontend_mismatch_count
|
|
197
|
+
- unhandled_api_supplement_count
|
|
198
|
+
- blocking_issue_count
|
|
199
|
+
summary_fields:
|
|
200
|
+
- merge_gate_status
|
|
201
|
+
- api_required
|
|
202
|
+
- contract_backend_mismatch_count
|
|
203
|
+
- contract_frontend_mismatch_count
|
|
204
|
+
- unhandled_api_supplement_count
|
|
205
|
+
- blocking_issue_count
|
|
206
|
+
prompt: "确认 API 契约、后端方案、前端调用三方一致,并允许进入变更清单。"
|
|
207
|
+
confirm_options:
|
|
208
|
+
- approve
|
|
209
|
+
- needs_fix
|
|
210
|
+
skip_policy: never
|
|
211
|
+
resume_behavior: "user confirms, then continue with change-plan"
|
|
212
|
+
CP-3:
|
|
213
|
+
name: Change plan confirmation
|
|
214
|
+
gate_after: change-plan
|
|
215
|
+
producing_step: change-plan
|
|
216
|
+
required_outputs:
|
|
217
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
218
|
+
summary_fields:
|
|
219
|
+
- task_count
|
|
220
|
+
- ddl_count
|
|
221
|
+
- migration_steps
|
|
222
|
+
- verification_steps
|
|
223
|
+
- risks
|
|
224
|
+
prompt: "确认变更清单中的 DDL、代码任务、上线步骤和验收标准可执行,并允许进入代码执行。"
|
|
225
|
+
confirm_options:
|
|
226
|
+
- approve
|
|
227
|
+
- needs_fix
|
|
228
|
+
skip_policy: never
|
|
229
|
+
resume_behavior: "user confirms, then continue with phase-structure"
|
|
230
|
+
CP-4:
|
|
231
|
+
name: Acceptance confirmation
|
|
232
|
+
gate_after: verify
|
|
233
|
+
producing_step: verify
|
|
234
|
+
required_outputs:
|
|
235
|
+
- ".planning/phases/{phase}/01-UAT.md"
|
|
236
|
+
- ".planning/phases/{phase}/01-VERIFICATION.md"
|
|
237
|
+
required_meta_output: ".planning/phases/{phase}/01-VERIFICATION.meta.json"
|
|
238
|
+
required_meta_fields:
|
|
239
|
+
- uat_passed
|
|
240
|
+
- uat_failed
|
|
241
|
+
- uat_skipped
|
|
242
|
+
- gate_passed
|
|
243
|
+
- gate_total
|
|
244
|
+
- known_issues
|
|
245
|
+
summary_fields:
|
|
246
|
+
- uat_passed
|
|
247
|
+
- uat_failed
|
|
248
|
+
- uat_skipped
|
|
249
|
+
- gate_passed
|
|
250
|
+
- gate_total
|
|
251
|
+
- known_issues
|
|
252
|
+
prompt: "确认 UAT、主流程、规则、兼容性和工具链验证已通过,并允许进入审计归档。"
|
|
253
|
+
confirm_options:
|
|
254
|
+
- approve
|
|
255
|
+
- needs_fix
|
|
256
|
+
skip_policy: never
|
|
257
|
+
resume_behavior: "user confirms, then continue with audit"
|
|
258
|
+
|
|
259
|
+
steps:
|
|
260
|
+
- id: requirement-triage
|
|
261
|
+
order: 5
|
|
262
|
+
label: Requirement triage
|
|
263
|
+
skill: workflow-requirement-triage
|
|
264
|
+
depends_on: []
|
|
265
|
+
inputs:
|
|
266
|
+
- ".planning/PROJECT.md"
|
|
267
|
+
- ".planning/navigation/INDEX.md"
|
|
268
|
+
- ".planning/requirements/baseline.md"
|
|
269
|
+
- ".planning/features/"
|
|
270
|
+
- ".planning/milestones/"
|
|
271
|
+
outputs:
|
|
272
|
+
- path: ".planning/requirements/{feature}/入口分诊.md"
|
|
273
|
+
type: requirement-triage
|
|
274
|
+
required: true
|
|
275
|
+
meta_output:
|
|
276
|
+
path: ".planning/requirements/{feature}/入口分诊.meta.json"
|
|
277
|
+
fields:
|
|
278
|
+
feature_name: { type: string, required: true }
|
|
279
|
+
status: { type: string, required: true }
|
|
280
|
+
route: { type: string, required: true }
|
|
281
|
+
request_type: { type: string, required: true }
|
|
282
|
+
route_reason: { type: string, required: true }
|
|
283
|
+
duplicate_count: { type: integer, required: true }
|
|
284
|
+
prior_rejection_count: { type: integer, required: true }
|
|
285
|
+
blocking_question: { type: string, required: false }
|
|
286
|
+
next_skill: { type: string, required: true }
|
|
287
|
+
searched_sources: { type: array, required: true }
|
|
288
|
+
related_code_paths: { type: array, required: true }
|
|
289
|
+
related_history_paths: { type: array, required: true }
|
|
290
|
+
|
|
291
|
+
- id: requirement-wayfinder
|
|
292
|
+
order: 6
|
|
293
|
+
label: Requirement wayfinder
|
|
294
|
+
skill: workflow-wayfinder
|
|
295
|
+
depends_on:
|
|
296
|
+
- requirement-triage
|
|
297
|
+
inputs:
|
|
298
|
+
- ".planning/requirements/{feature}/入口分诊.md"
|
|
299
|
+
- ".planning/PROJECT.md"
|
|
300
|
+
- ".planning/navigation/INDEX.md"
|
|
301
|
+
outputs:
|
|
302
|
+
- path: ".planning/requirements/{feature}/决策地图.md"
|
|
303
|
+
type: requirement-wayfinder
|
|
304
|
+
required: true
|
|
305
|
+
meta_output:
|
|
306
|
+
path: ".planning/requirements/{feature}/决策地图.meta.json"
|
|
307
|
+
fields:
|
|
308
|
+
feature_name: { type: string, required: true }
|
|
309
|
+
status: { type: string, required: true }
|
|
310
|
+
destination: { type: string, required: true }
|
|
311
|
+
open_ticket_count: { type: integer, required: true }
|
|
312
|
+
resolved_ticket_count: { type: integer, required: true }
|
|
313
|
+
frontier_ticket_ids: { type: array, required: true }
|
|
314
|
+
next_ticket_id: { type: string, required: false }
|
|
315
|
+
blocking_reason: { type: string, required: false }
|
|
316
|
+
ready_for_baseline: { type: boolean, required: true }
|
|
317
|
+
|
|
318
|
+
- id: domain-modeling
|
|
319
|
+
order: 7
|
|
320
|
+
label: Domain modeling
|
|
321
|
+
skill: workflow-domain-modeling
|
|
322
|
+
depends_on:
|
|
323
|
+
- requirement-wayfinder
|
|
324
|
+
inputs:
|
|
325
|
+
- ".planning/requirements/{feature}/决策地图.md"
|
|
326
|
+
- ".planning/requirements/{feature}/wayfinder/"
|
|
327
|
+
- ".planning/CONTEXT.md"
|
|
328
|
+
outputs:
|
|
329
|
+
- path: ".planning/requirements/{feature}/领域模型记录.md"
|
|
330
|
+
type: domain-modeling
|
|
331
|
+
required: true
|
|
332
|
+
meta_output:
|
|
333
|
+
path: ".planning/requirements/{feature}/领域模型记录.meta.json"
|
|
334
|
+
fields:
|
|
335
|
+
feature_name: { type: string, required: true }
|
|
336
|
+
terms_added: { type: integer, required: true }
|
|
337
|
+
terms_changed: { type: integer, required: true }
|
|
338
|
+
term_conflict_count: { type: integer, required: true }
|
|
339
|
+
edge_case_count: { type: integer, required: true }
|
|
340
|
+
adr_count: { type: integer, required: true }
|
|
341
|
+
pending_question_count: { type: integer, required: true }
|
|
342
|
+
|
|
343
|
+
- id: requirement-feasibility-review
|
|
344
|
+
order: 8
|
|
345
|
+
label: Requirement feasibility review
|
|
346
|
+
skill: requirement-feasibility-review
|
|
347
|
+
depends_on:
|
|
348
|
+
- domain-modeling
|
|
349
|
+
inputs:
|
|
350
|
+
- ".planning/requirements/{feature}/决策地图.md"
|
|
351
|
+
- ".planning/requirements/{feature}/领域模型记录.md"
|
|
352
|
+
- ".planning/CONTEXT.md"
|
|
353
|
+
outputs:
|
|
354
|
+
- path: ".planning/requirements/{feature}/可实现性审查.md"
|
|
355
|
+
type: requirement-feasibility-review
|
|
356
|
+
required: true
|
|
357
|
+
meta_output:
|
|
358
|
+
path: ".planning/requirements/{feature}/可实现性审查.meta.json"
|
|
359
|
+
fields:
|
|
360
|
+
feature_name: { type: string, required: true }
|
|
361
|
+
status: { type: string, required: true }
|
|
362
|
+
baseline_gate: { type: string, required: true }
|
|
363
|
+
claim_count: { type: integer, required: true }
|
|
364
|
+
proven_count: { type: integer, required: true }
|
|
365
|
+
gap_count: { type: integer, required: true }
|
|
366
|
+
critical_finding_ids: { type: array, required: true }
|
|
367
|
+
next_action: { type: string, required: true }
|
|
368
|
+
|
|
369
|
+
- id: requirement-baseline
|
|
370
|
+
order: 10
|
|
371
|
+
label: Requirement baseline
|
|
372
|
+
skill: workflow-requirement-baseline
|
|
373
|
+
depends_on:
|
|
374
|
+
- requirement-feasibility-review
|
|
375
|
+
inputs:
|
|
376
|
+
- ".planning/PROJECT.md"
|
|
377
|
+
- ".planning/navigation/INDEX.md"
|
|
378
|
+
outputs:
|
|
379
|
+
- path: ".planning/requirements/baseline.md"
|
|
380
|
+
type: requirement-baseline
|
|
381
|
+
required: true
|
|
382
|
+
meta_output:
|
|
383
|
+
path: ".planning/requirements/baseline.meta.json"
|
|
384
|
+
fields:
|
|
385
|
+
review_status: { type: string, required: true }
|
|
386
|
+
fp_count: { type: integer, required: true }
|
|
387
|
+
br_count: { type: integer, required: true }
|
|
388
|
+
bc_count: { type: integer, required: true }
|
|
389
|
+
blocking_pending_count: { type: integer, required: true }
|
|
390
|
+
critical_image_missing_count: { type: integer, required: true }
|
|
391
|
+
challenge_pending_count: { type: integer, required: true }
|
|
392
|
+
code_reality_missing_count: { type: integer, required: true }
|
|
393
|
+
current_feature: { type: string, required: true }
|
|
394
|
+
depends_on_count: { type: integer, required: true }
|
|
395
|
+
pending_items: { type: array, required: false }
|
|
396
|
+
risks: { type: array, required: false }
|
|
397
|
+
key_decisions: { type: array, max: 5, required: false }
|
|
398
|
+
checkpoint: CP-1
|
|
399
|
+
|
|
400
|
+
- id: api-contract
|
|
401
|
+
order: 15
|
|
402
|
+
label: API contract
|
|
403
|
+
skill: workflow-api-contract
|
|
404
|
+
depends_on:
|
|
405
|
+
- requirement-baseline
|
|
406
|
+
inputs:
|
|
407
|
+
- ".planning/requirements/baseline.md"
|
|
408
|
+
- ".planning/navigation/INDEX.md"
|
|
409
|
+
outputs:
|
|
410
|
+
- path: ".planning/features/{feature}/api-contract.md"
|
|
411
|
+
type: api-contract
|
|
412
|
+
required: true
|
|
413
|
+
meta_output:
|
|
414
|
+
path: ".planning/features/{feature}/api-contract.meta.json"
|
|
415
|
+
fields:
|
|
416
|
+
review_status: { type: string, required: true }
|
|
417
|
+
api_required: { type: boolean, required: true }
|
|
418
|
+
endpoint_count: { type: integer, required: true }
|
|
419
|
+
pending_contract_count: { type: integer, required: true }
|
|
420
|
+
breaking_change_count: { type: integer, required: true }
|
|
421
|
+
permission_rule_count: { type: integer, required: true }
|
|
422
|
+
error_case_count: { type: integer, required: true }
|
|
423
|
+
checkpoint: CP-API
|
|
424
|
+
|
|
425
|
+
- id: ui-spec
|
|
426
|
+
order: 20
|
|
427
|
+
label: UI spec
|
|
428
|
+
skill: workflow-ui-spec
|
|
429
|
+
depends_on:
|
|
430
|
+
- api-contract
|
|
431
|
+
inputs:
|
|
432
|
+
- ".planning/requirements/baseline.md"
|
|
433
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
434
|
+
- ".planning/navigation/INDEX.md"
|
|
435
|
+
outputs:
|
|
436
|
+
- path: ".planning/features/{feature}/UI-SPEC.md"
|
|
437
|
+
type: ui-spec
|
|
438
|
+
required: true
|
|
439
|
+
|
|
440
|
+
- id: feature-breakdown
|
|
441
|
+
order: 30
|
|
442
|
+
label: Feature breakdown
|
|
443
|
+
skill: workflow-feature-breakdown
|
|
444
|
+
depends_on:
|
|
445
|
+
- ui-spec
|
|
446
|
+
inputs:
|
|
447
|
+
- ".planning/requirements/baseline.md"
|
|
448
|
+
- ".planning/features/{feature}/UI-SPEC.md"
|
|
449
|
+
outputs:
|
|
450
|
+
- path: ".planning/features/{feature}/功能点梳理.md"
|
|
451
|
+
type: feature-breakdown
|
|
452
|
+
required: true
|
|
453
|
+
|
|
454
|
+
- id: frontend-tech-spec
|
|
455
|
+
order: 40
|
|
456
|
+
label: Frontend tech spec
|
|
457
|
+
skill: workflow-frontend-tech-spec
|
|
458
|
+
depends_on:
|
|
459
|
+
- feature-breakdown
|
|
460
|
+
- api-contract
|
|
461
|
+
inputs:
|
|
462
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
463
|
+
- ".planning/features/{feature}/功能点梳理.md"
|
|
464
|
+
- ".planning/features/{feature}/UI-SPEC.md"
|
|
465
|
+
- ".planning/navigation/INDEX.md"
|
|
466
|
+
- ".planning/execution-contract.md"
|
|
467
|
+
- ".planning/toolchain.md"
|
|
468
|
+
outputs:
|
|
469
|
+
- path: ".planning/features/{feature}/前端技术方案.md"
|
|
470
|
+
type: frontend-tech-spec
|
|
471
|
+
required: true
|
|
472
|
+
meta_output:
|
|
473
|
+
path: ".planning/features/{feature}/前端技术方案.meta.json"
|
|
474
|
+
fields:
|
|
475
|
+
route_count: { type: integer, required: true }
|
|
476
|
+
component_count: { type: integer, required: true }
|
|
477
|
+
api_count: { type: integer, required: true }
|
|
478
|
+
api_gaps_count: { type: integer, required: true }
|
|
479
|
+
|
|
480
|
+
- id: backend-tech-spec
|
|
481
|
+
order: 50
|
|
482
|
+
label: Backend tech spec
|
|
483
|
+
skill: workflow-backend-tech-spec
|
|
484
|
+
depends_on:
|
|
485
|
+
- api-contract
|
|
486
|
+
inputs:
|
|
487
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
488
|
+
- ".planning/requirements/baseline.md"
|
|
489
|
+
- ".planning/navigation/INDEX.md"
|
|
490
|
+
- ".planning/execution-contract.md"
|
|
491
|
+
- ".planning/toolchain.md"
|
|
492
|
+
outputs:
|
|
493
|
+
- path: ".planning/features/{feature}/后端技术方案.md"
|
|
494
|
+
type: backend-tech-spec
|
|
495
|
+
required: true
|
|
496
|
+
|
|
497
|
+
- id: api-call-guide
|
|
498
|
+
order: 55
|
|
499
|
+
label: API call guide
|
|
500
|
+
skill: workflow-api-call-guide
|
|
501
|
+
depends_on:
|
|
502
|
+
- api-contract
|
|
503
|
+
- backend-tech-spec
|
|
504
|
+
inputs:
|
|
505
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
506
|
+
- ".planning/features/{feature}/后端技术方案.md"
|
|
507
|
+
outputs:
|
|
508
|
+
- path: ".planning/features/{feature}/api-call-guide.md"
|
|
509
|
+
type: api-call-guide
|
|
510
|
+
required: true
|
|
511
|
+
meta_output:
|
|
512
|
+
path: ".planning/features/{feature}/api-call-guide.meta.json"
|
|
513
|
+
fields:
|
|
514
|
+
covered_endpoint_count: { type: integer, required: true }
|
|
515
|
+
api_required: { type: boolean, required: true }
|
|
516
|
+
frontend_consumable: { type: boolean, required: true }
|
|
517
|
+
mock_ready: { type: boolean, required: true }
|
|
518
|
+
pending_items: { type: array, required: true }
|
|
519
|
+
skip_reason: { type: string, required: false }
|
|
520
|
+
|
|
521
|
+
- id: api-supplement
|
|
522
|
+
order: 56
|
|
523
|
+
label: API supplement
|
|
524
|
+
skill: workflow-api-supplement
|
|
525
|
+
depends_on:
|
|
526
|
+
- frontend-tech-spec
|
|
527
|
+
- api-contract
|
|
528
|
+
inputs:
|
|
529
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
530
|
+
- ".planning/features/{feature}/前端技术方案.md"
|
|
531
|
+
- ".planning/features/{feature}/UI-SPEC.md"
|
|
532
|
+
outputs:
|
|
533
|
+
- path: ".planning/features/{feature}/api-supplement-requests.md"
|
|
534
|
+
type: api-supplement-requests
|
|
535
|
+
required: true
|
|
536
|
+
meta_output:
|
|
537
|
+
path: ".planning/features/{feature}/api-supplement-requests.meta.json"
|
|
538
|
+
fields:
|
|
539
|
+
api_supplement_count: { type: integer, required: true }
|
|
540
|
+
unresolved_supplement_count: { type: integer, required: true }
|
|
541
|
+
contract_updated: { type: boolean, required: true }
|
|
542
|
+
no_supplement_required: { type: boolean, required: true }
|
|
543
|
+
|
|
544
|
+
- id: integration-verify
|
|
545
|
+
order: 58
|
|
546
|
+
label: Integration verify
|
|
547
|
+
skill: workflow-integration-verify
|
|
548
|
+
depends_on:
|
|
549
|
+
- api-call-guide
|
|
550
|
+
- frontend-tech-spec
|
|
551
|
+
- api-supplement
|
|
552
|
+
inputs:
|
|
553
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
554
|
+
- ".planning/features/{feature}/api-call-guide.md"
|
|
555
|
+
- ".planning/features/{feature}/前端技术方案.md"
|
|
556
|
+
- ".planning/features/{feature}/后端技术方案.md"
|
|
557
|
+
- ".planning/features/{feature}/api-supplement-requests.md"
|
|
558
|
+
outputs:
|
|
559
|
+
- path: ".planning/features/{feature}/integration-report.md"
|
|
560
|
+
type: integration-report
|
|
561
|
+
required: true
|
|
562
|
+
meta_output:
|
|
563
|
+
path: ".planning/features/{feature}/integration-report.meta.json"
|
|
564
|
+
fields:
|
|
565
|
+
merge_gate_status: { type: string, required: true }
|
|
566
|
+
api_required: { type: boolean, required: true }
|
|
567
|
+
contract_backend_mismatch_count: { type: integer, required: true }
|
|
568
|
+
contract_frontend_mismatch_count: { type: integer, required: true }
|
|
569
|
+
unhandled_api_supplement_count: { type: integer, required: true }
|
|
570
|
+
blocking_issue_count: { type: integer, required: true }
|
|
571
|
+
skip_reason: { type: string, required: false }
|
|
572
|
+
checkpoint: CP-2
|
|
573
|
+
|
|
574
|
+
- id: change-plan
|
|
575
|
+
order: 60
|
|
576
|
+
label: Change plan
|
|
577
|
+
skill: workflow-change-plan
|
|
578
|
+
depends_on:
|
|
579
|
+
- integration-verify
|
|
580
|
+
inputs:
|
|
581
|
+
- ".planning/features/{feature}/api-contract.md"
|
|
582
|
+
- ".planning/features/{feature}/integration-report.md"
|
|
583
|
+
- ".planning/features/{feature}/前端技术方案.md"
|
|
584
|
+
- ".planning/features/{feature}/后端技术方案.md"
|
|
585
|
+
- ".planning/features/{feature}/功能点梳理.md"
|
|
586
|
+
outputs:
|
|
587
|
+
- path: ".planning/features/{feature}/变更清单.md"
|
|
588
|
+
type: change-plan
|
|
589
|
+
required: true
|
|
590
|
+
checkpoint: CP-3
|
|
591
|
+
|
|
592
|
+
- id: phase-structure
|
|
593
|
+
order: 70
|
|
594
|
+
label: Phase structure
|
|
595
|
+
action: initialize-phase-structure
|
|
596
|
+
depends_on:
|
|
597
|
+
- change-plan
|
|
598
|
+
inputs:
|
|
599
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
600
|
+
outputs:
|
|
601
|
+
- path: ".planning/ROADMAP.md"
|
|
602
|
+
type: roadmap
|
|
603
|
+
required: true
|
|
604
|
+
- path: ".planning/phases/{phase}/01-CONTEXT.md"
|
|
605
|
+
type: phase-context
|
|
606
|
+
required: true
|
|
607
|
+
|
|
608
|
+
- id: execute
|
|
609
|
+
order: 80
|
|
610
|
+
label: Execute
|
|
611
|
+
skill: workflow-execute-phase
|
|
612
|
+
depends_on:
|
|
613
|
+
- phase-structure
|
|
614
|
+
inputs:
|
|
615
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
616
|
+
- ".planning/phases/{phase}/01-CONTEXT.md"
|
|
617
|
+
outputs:
|
|
618
|
+
- path: ".planning/features/{feature}/PROGRESS.md"
|
|
619
|
+
type: progress
|
|
620
|
+
required: true
|
|
621
|
+
- path: ".planning/phases/{phase}/SUMMARY.md"
|
|
622
|
+
type: execution-summary
|
|
623
|
+
required: true
|
|
624
|
+
|
|
625
|
+
- id: code-index-refresh
|
|
626
|
+
order: 84
|
|
627
|
+
label: Code index refresh
|
|
628
|
+
skill: workflow-code-index
|
|
629
|
+
depends_on:
|
|
630
|
+
- execute
|
|
631
|
+
inputs:
|
|
632
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
633
|
+
- ".planning/features/{feature}/PROGRESS.md"
|
|
634
|
+
- ".planning/phases/{phase}/SUMMARY.md"
|
|
635
|
+
outputs:
|
|
636
|
+
- path: ".planning/code-index/index.sqlite"
|
|
637
|
+
type: code-index-sqlite
|
|
638
|
+
required: true
|
|
639
|
+
- path: ".planning/code-index/files.jsonl"
|
|
640
|
+
type: code-index-files
|
|
641
|
+
required: true
|
|
642
|
+
- path: ".planning/code-index/symbols.jsonl"
|
|
643
|
+
type: code-index-symbols
|
|
644
|
+
required: true
|
|
645
|
+
- path: ".planning/code-index/relations.jsonl"
|
|
646
|
+
type: code-index-relations
|
|
647
|
+
required: true
|
|
648
|
+
- path: ".planning/code-index/AUDIT.md"
|
|
649
|
+
type: code-index-audit
|
|
650
|
+
required: true
|
|
651
|
+
|
|
652
|
+
- id: code-review
|
|
653
|
+
order: 85
|
|
654
|
+
label: Code Review
|
|
655
|
+
skill: code-review
|
|
656
|
+
depends_on:
|
|
657
|
+
- code-index-refresh
|
|
658
|
+
inputs:
|
|
659
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
660
|
+
- ".planning/phases/{phase}/SUMMARY.md"
|
|
661
|
+
outputs:
|
|
662
|
+
- path: ".planning/phases/{phase}/REVIEW.md"
|
|
663
|
+
type: code-review-report
|
|
664
|
+
required: true
|
|
665
|
+
|
|
666
|
+
- id: generate-mainflow-cases
|
|
667
|
+
order: 86
|
|
668
|
+
label: Generate mainflow cases
|
|
669
|
+
skill: workflow-generate-mainflow-cases
|
|
670
|
+
depends_on:
|
|
671
|
+
- code-index-refresh
|
|
672
|
+
inputs:
|
|
673
|
+
- ".planning/STATE.md"
|
|
674
|
+
- ".planning/navigation/INDEX.md"
|
|
675
|
+
- ".context/spec/index.md"
|
|
676
|
+
- ".planning/requirements/baseline.md"
|
|
677
|
+
- ".planning/features/{feature}/功能点梳理.md"
|
|
678
|
+
- ".planning/features/{feature}/UI-SPEC.md"
|
|
679
|
+
- ".planning/features/{feature}/前端技术方案.md"
|
|
680
|
+
- ".planning/features/{feature}/后端技术方案.md"
|
|
681
|
+
- ".planning/features/{feature}/变更清单.md"
|
|
682
|
+
- ".planning/features/{feature}/PROGRESS.md"
|
|
683
|
+
- ".planning/phases/{phase}/SUMMARY.md"
|
|
684
|
+
outputs:
|
|
685
|
+
- path: ".planning/generated-cases/{feature}/source-map.md"
|
|
686
|
+
type: mainflow-source-map
|
|
687
|
+
required: true
|
|
688
|
+
- path: ".planning/generated-cases/{feature}/mainflow-analysis.md"
|
|
689
|
+
type: mainflow-analysis
|
|
690
|
+
required: true
|
|
691
|
+
- path: ".planning/generated-cases/{feature}/case-descriptions.json"
|
|
692
|
+
type: mainflow-case-descriptions
|
|
693
|
+
required: true
|
|
694
|
+
- path: ".planning/generated-cases/{feature}/case-import-payloads.json"
|
|
695
|
+
type: mainflow-case-import-payloads
|
|
696
|
+
required: true
|
|
697
|
+
- path: ".planning/generated-cases/{feature}/validation-report.md"
|
|
698
|
+
type: mainflow-case-validation
|
|
699
|
+
required: true
|
|
700
|
+
- path: ".planning/phases/{phase}/MAINFLOW-CASES.md"
|
|
701
|
+
type: mainflow-cases-summary
|
|
702
|
+
required: true
|
|
703
|
+
|
|
704
|
+
- id: verify
|
|
705
|
+
order: 90
|
|
706
|
+
label: Verify
|
|
707
|
+
skill: workflow-verify-work
|
|
708
|
+
depends_on:
|
|
709
|
+
- code-review
|
|
710
|
+
- generate-mainflow-cases
|
|
711
|
+
inputs:
|
|
712
|
+
- ".planning/features/{feature}/PROGRESS.md"
|
|
713
|
+
- ".planning/phases/{phase}/SUMMARY.md"
|
|
714
|
+
- ".planning/phases/{phase}/MAINFLOW-CASES.md"
|
|
715
|
+
- ".planning/generated-cases/{feature}/validation-report.md"
|
|
716
|
+
- ".planning/generated-cases/{feature}/case-import-payloads.json"
|
|
717
|
+
outputs:
|
|
718
|
+
- path: ".planning/phases/{phase}/01-UAT.md"
|
|
719
|
+
type: uat-report
|
|
720
|
+
required: true
|
|
721
|
+
- path: ".planning/phases/{phase}/01-VERIFICATION.md"
|
|
722
|
+
type: verification-report
|
|
723
|
+
required: true
|
|
724
|
+
meta_output:
|
|
725
|
+
path: ".planning/phases/{phase}/01-VERIFICATION.meta.json"
|
|
726
|
+
fields:
|
|
727
|
+
uat_passed: { type: integer, required: true }
|
|
728
|
+
uat_failed: { type: integer, required: true }
|
|
729
|
+
uat_skipped: { type: integer, required: true }
|
|
730
|
+
gate_passed: { type: integer, required: true }
|
|
731
|
+
gate_total: { type: integer, required: true }
|
|
732
|
+
known_issues: { type: array, required: true }
|
|
733
|
+
checkpoint: CP-4
|
|
734
|
+
|
|
735
|
+
- id: audit
|
|
736
|
+
order: 100
|
|
737
|
+
label: Audit
|
|
738
|
+
skill: workflow-audit-milestone
|
|
739
|
+
depends_on:
|
|
740
|
+
- verify
|
|
741
|
+
inputs:
|
|
742
|
+
- ".planning/phases/{phase}/01-UAT.md"
|
|
743
|
+
- ".planning/phases/{phase}/01-VERIFICATION.md"
|
|
744
|
+
- ".planning/features/{feature}/PROGRESS.md"
|
|
745
|
+
outputs:
|
|
746
|
+
- path: ".planning/milestone-audit.md"
|
|
747
|
+
type: milestone-audit
|
|
748
|
+
required: true
|
|
749
|
+
|
|
750
|
+
- id: update-navigation
|
|
751
|
+
order: 110
|
|
752
|
+
label: Update navigation
|
|
753
|
+
skill: workflow-update-navigation
|
|
754
|
+
depends_on:
|
|
755
|
+
- audit
|
|
756
|
+
inputs:
|
|
757
|
+
- "."
|
|
758
|
+
outputs:
|
|
759
|
+
- path: ".planning/navigation/INDEX.md"
|
|
760
|
+
type: navigation-index
|
|
761
|
+
required: true
|
|
762
|
+
|
|
763
|
+
- id: archive
|
|
764
|
+
order: 120
|
|
765
|
+
label: Archive
|
|
766
|
+
skill: workflow-complete-milestone
|
|
767
|
+
depends_on:
|
|
768
|
+
- update-navigation
|
|
769
|
+
inputs:
|
|
770
|
+
- ".planning/milestone-audit.md"
|
|
771
|
+
- ".planning/navigation/INDEX.md"
|
|
772
|
+
outputs:
|
|
773
|
+
- path: ".planning/milestones/current-MILESTONE.md"
|
|
774
|
+
type: milestone-archive
|
|
775
|
+
required: true
|
|
776
|
+
|
|
777
|
+
resume_rules:
|
|
778
|
+
continue_keyword:
|
|
779
|
+
writes_next_intent: true
|
|
780
|
+
next_intent_path: ".planning/.next-intent"
|
|
781
|
+
clear_context_required: true
|
|
782
|
+
waiting_checkpoint:
|
|
783
|
+
allowed_next_action: "ask user for confirmation before advancing"
|