@guanlin4924/devflow-pi 0.1.93 → 0.1.95

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.
Files changed (369) hide show
  1. package/README.md +10 -10
  2. package/node_modules/@playwright/test/LICENSE +202 -0
  3. package/node_modules/@playwright/test/NOTICE +5 -0
  4. package/node_modules/@playwright/test/README.md +318 -0
  5. package/node_modules/@playwright/test/cli.js +19 -0
  6. package/node_modules/@playwright/test/index.d.ts +18 -0
  7. package/node_modules/@playwright/test/index.js +17 -0
  8. package/node_modules/@playwright/test/index.mjs +18 -0
  9. package/node_modules/@playwright/test/package.json +35 -0
  10. package/node_modules/@playwright/test/reporter.d.ts +17 -0
  11. package/node_modules/@playwright/test/reporter.js +17 -0
  12. package/node_modules/@playwright/test/reporter.mjs +17 -0
  13. package/node_modules/playwright/LICENSE +202 -0
  14. package/node_modules/playwright/NOTICE +5 -0
  15. package/node_modules/playwright/README.md +318 -0
  16. package/node_modules/playwright/ThirdPartyNotices.txt +14 -0
  17. package/node_modules/playwright/cli.js +19 -0
  18. package/node_modules/playwright/index.d.ts +17 -0
  19. package/node_modules/playwright/index.js +17 -0
  20. package/node_modules/playwright/index.mjs +18 -0
  21. package/node_modules/playwright/jsx-runtime.js +42 -0
  22. package/node_modules/playwright/jsx-runtime.mjs +21 -0
  23. package/node_modules/playwright/lib/agents/agentParser.js +89 -0
  24. package/node_modules/playwright/lib/agents/copilot-setup-steps.yml +34 -0
  25. package/node_modules/playwright/lib/agents/generateAgents.js +395 -0
  26. package/node_modules/playwright/lib/agents/playwright-test-coverage.prompt.md +31 -0
  27. package/node_modules/playwright/lib/agents/playwright-test-generate.prompt.md +8 -0
  28. package/node_modules/playwright/lib/agents/playwright-test-generator.agent.md +88 -0
  29. package/node_modules/playwright/lib/agents/playwright-test-heal.prompt.md +6 -0
  30. package/node_modules/playwright/lib/agents/playwright-test-healer.agent.md +56 -0
  31. package/node_modules/playwright/lib/agents/playwright-test-plan.prompt.md +9 -0
  32. package/node_modules/playwright/lib/agents/playwright-test-planner.agent.md +74 -0
  33. package/node_modules/playwright/lib/cli/reportActions.js +78 -0
  34. package/node_modules/playwright/lib/cli/testActions.js +214 -0
  35. package/node_modules/playwright/lib/common/index.js +2923 -0
  36. package/node_modules/playwright/lib/common/index.js.txt +34 -0
  37. package/node_modules/playwright/lib/errorContext.js +129 -0
  38. package/node_modules/playwright/lib/globals.js +58 -0
  39. package/node_modules/playwright/lib/index.js +815 -0
  40. package/node_modules/playwright/lib/isomorphic.js +260 -0
  41. package/node_modules/playwright/lib/isomorphic.js.txt +9 -0
  42. package/node_modules/playwright/lib/loader/loaderProcessEntry.js +34 -0
  43. package/node_modules/playwright/lib/loader/loaderProcessEntry.js.txt +9 -0
  44. package/node_modules/playwright/lib/matchers/expect.js +13490 -0
  45. package/node_modules/playwright/lib/matchers/expect.js.LICENSE +640 -0
  46. package/node_modules/playwright/lib/matchers/expect.js.txt +67 -0
  47. package/node_modules/playwright/lib/mcp/test/browserBackend.js +135 -0
  48. package/node_modules/playwright/lib/mcp/test/generatorTools.js +122 -0
  49. package/node_modules/playwright/lib/mcp/test/plannerTools.js +150 -0
  50. package/node_modules/playwright/lib/mcp/test/seed.js +82 -0
  51. package/node_modules/playwright/lib/mcp/test/streams.js +44 -0
  52. package/node_modules/playwright/lib/mcp/test/testBackend.js +99 -0
  53. package/node_modules/playwright/lib/mcp/test/testContext.js +306 -0
  54. package/node_modules/playwright/lib/mcp/test/testTool.js +30 -0
  55. package/node_modules/playwright/lib/mcp/test/testTools.js +98 -0
  56. package/node_modules/playwright/lib/package.js +47 -0
  57. package/node_modules/playwright/lib/program.js +241 -0
  58. package/node_modules/playwright/lib/runner/index.js +8527 -0
  59. package/node_modules/playwright/lib/runner/index.js.txt +61 -0
  60. package/node_modules/playwright/lib/transform/babelBundle.js +72274 -0
  61. package/node_modules/playwright/lib/transform/babelBundle.js.LICENSE +2384 -0
  62. package/node_modules/playwright/lib/transform/babelBundle.js.txt +325 -0
  63. package/node_modules/playwright/lib/transform/esmLoader.js +8054 -0
  64. package/node_modules/playwright/lib/transform/esmLoader.js.LICENSE +355 -0
  65. package/node_modules/playwright/lib/transform/esmLoader.js.txt +60 -0
  66. package/node_modules/playwright/lib/util.js +373 -0
  67. package/node_modules/playwright/lib/worker/workerProcessEntry.js +1861 -0
  68. package/node_modules/playwright/lib/worker/workerProcessEntry.js.txt +19 -0
  69. package/node_modules/playwright/package.json +55 -0
  70. package/node_modules/playwright/test.d.ts +18 -0
  71. package/node_modules/playwright/test.js +24 -0
  72. package/node_modules/playwright/test.mjs +35 -0
  73. package/node_modules/playwright/types/test.d.ts +11074 -0
  74. package/node_modules/playwright/types/testReporter.d.ts +950 -0
  75. package/node_modules/playwright-core/LICENSE +202 -0
  76. package/node_modules/playwright-core/NOTICE +5 -0
  77. package/node_modules/playwright-core/README.md +3 -0
  78. package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
  79. package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
  80. package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
  81. package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
  82. package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
  83. package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
  84. package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
  85. package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
  86. package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
  87. package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
  88. package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
  89. package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
  90. package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
  91. package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
  92. package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
  93. package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
  94. package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
  95. package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
  96. package/node_modules/playwright-core/browsers.json +52 -0
  97. package/node_modules/playwright-core/cli.js +21 -0
  98. package/node_modules/playwright-core/index.d.ts +17 -0
  99. package/node_modules/playwright-core/index.js +17 -0
  100. package/node_modules/playwright-core/index.mjs +28 -0
  101. package/node_modules/playwright-core/lib/bootstrap.js +88 -0
  102. package/node_modules/playwright-core/lib/coreBundle.js +75813 -0
  103. package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
  104. package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
  105. package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
  106. package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
  107. package/node_modules/playwright-core/lib/package.js +50 -0
  108. package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  109. package/node_modules/playwright-core/lib/server/electron/loader.js +116 -0
  110. package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
  111. package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
  112. package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
  113. package/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
  114. package/node_modules/playwright-core/lib/tools/cli-client/help.json +721 -0
  115. package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
  116. package/node_modules/playwright-core/lib/tools/cli-client/output.js +351 -0
  117. package/node_modules/playwright-core/lib/tools/cli-client/program.js +418 -0
  118. package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
  119. package/node_modules/playwright-core/lib/tools/cli-client/session.js +259 -0
  120. package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
  121. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/SKILL.md +425 -0
  122. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
  123. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
  124. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
  125. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/running-code.md +241 -0
  126. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/session-management.md +225 -0
  127. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
  128. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
  129. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
  130. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/video-recording.md +143 -0
  131. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
  132. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  133. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
  134. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
  135. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  136. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
  137. package/node_modules/playwright-core/lib/tools/skills/playwright-trace/SKILL.md +174 -0
  138. package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
  139. package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
  140. package/node_modules/playwright-core/lib/utilsBundle.js +85357 -0
  141. package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
  142. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  143. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
  144. package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  145. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  146. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  147. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  148. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  149. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  150. package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  151. package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
  152. package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
  153. package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
  154. package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
  155. package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
  156. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  157. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
  158. package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  159. package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  160. package/node_modules/playwright-core/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
  161. package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  162. package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
  163. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BbkfBe3n.js +32 -0
  164. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
  165. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  166. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-DywYcAf8.js +7 -0
  167. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  168. package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  169. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
  170. package/node_modules/playwright-core/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
  171. package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  172. package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
  173. package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
  174. package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
  175. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  176. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
  177. package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
  178. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
  179. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
  180. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
  181. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  182. package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
  183. package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
  184. package/node_modules/playwright-core/lib/xdg-open +1267 -0
  185. package/node_modules/playwright-core/package.json +34 -0
  186. package/node_modules/playwright-core/types/protocol.d.ts +24645 -0
  187. package/node_modules/playwright-core/types/structs.d.ts +52 -0
  188. package/node_modules/playwright-core/types/types.d.ts +26632 -0
  189. package/package.json +12 -2
  190. package/plugins/devflow-core/extensions/devflow-core.ts +518 -40
  191. package/plugins/devflow-core/runtime/hooks/context_sync_gate.py +3 -3
  192. package/plugins/devflow-core/runtime/hooks/hook_common.py +334 -11
  193. package/plugins/devflow-core/runtime/hooks/index_gate.py +29 -16
  194. package/plugins/devflow-core/runtime/hooks/start.py +13 -13
  195. package/plugins/devflow-core/skills/wireframe-proposal/SKILL.md +2 -2
  196. package/plugins/devflow-core/skills/wireframe-validate/SKILL.md +4 -4
  197. package/plugins/devflow-core/skills/workflow-orchestrator/SKILL.md +19 -19
  198. package/plugins/devflow-core/skills/workflow-orchestrator/agents/openai.yaml +2 -2
  199. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/acceptance_test_runner.py +412 -76
  200. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/advance_state.rb +60 -9
  201. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/api_test_matrix.py +2 -2
  202. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/approval_pins.py +433 -0
  203. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/approval_store.py +137 -0
  204. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_assessment.rb +1 -1
  205. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_brief.rb +1 -1
  206. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_feasibility.rb +1 -1
  207. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_invalidation.rb +5 -5
  208. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_model_commit.rb +4 -4
  209. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_model_validate.py +1 -1
  210. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_source_resolver.rb +4 -4
  211. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/checker_adapter.rb +7 -7
  212. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/control_io.rb +51 -7
  213. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/cross_track_consistency_check.rb +1 -1
  214. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/dsl_coverage.py +87 -0
  215. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/dsl_v1.py +318 -0
  216. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/environment_profile.py +134 -0
  217. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_contract.rb +7 -6
  218. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_surface.py +138 -0
  219. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/gate_runtime.rb +3 -3
  220. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +5 -5
  221. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +5 -5
  222. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/inspect_state.rb +13 -13
  223. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/machine_evidence.rb +3 -3
  224. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/manage_lessons.rb +7 -7
  225. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/parallel_recover.rb +2 -2
  226. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/parallel_run.rb +3 -3
  227. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/phase_ownership.rb +6 -6
  228. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/playwright_adapter.py +515 -0
  229. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/repair_control_plane.rb +1 -1
  230. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/requirement_coverage.rb +1 -1
  231. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/requirement_graph.rb +3 -3
  232. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_preflight.py +3 -3
  233. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_run.py +18 -18
  234. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/runtime_context_collector.rb +3 -3
  235. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/session_rollover.rb +4 -4
  236. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/static_runtime_context_collector.rb +2 -2
  237. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/sync_artifacts.rb +5 -5
  238. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/tc_hash.py +132 -0
  239. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/tdd_evidence.py +3 -3
  240. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/test_command_policy.py +104 -10
  241. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/test_task_binding_check.py +3 -3
  242. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/update_triage_route.rb +3 -3
  243. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +19 -6
  244. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/wireframe_commit.rb +5 -5
  245. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/wireframe_validate.py +1 -1
  246. package/plugins/devflow-core/skills/workflow-orchestrator/templates/acceptance-remediation.yaml +12 -12
  247. package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +201 -222
  248. package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +6 -4
  249. package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +68 -140
  250. package/plugins/devflow-core/skills/workflow-project-context/SKILL.md +14 -14
  251. package/plugins/devflow-core/skills/workflow-project-context/assets/agents-md-template.md +7 -7
  252. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-backend-spec-template.md +4 -4
  253. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-frontend-spec-template.md +4 -4
  254. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-navigation-template.md +1 -1
  255. package/plugins/devflow-core/skills/workflow-project-context/assets/context-domain-index-template.md +4 -4
  256. package/plugins/devflow-core/skills/workflow-project-context/assets/context-spec-index-template.md +10 -10
  257. package/plugins/devflow-core/skills/workflow-project-context/assets/execution-contract-template.md +2 -2
  258. package/plugins/devflow-core/skills/workflow-project-context/assets/navigation-index-template.md +18 -18
  259. package/plugins/devflow-core/skills/workflow-project-context/assets/project-initialization-template.md +32 -32
  260. package/plugins/devflow-core/skills/workflow-project-context/assets/rules-index-template.md +30 -30
  261. package/plugins/devflow-core/skills/workflow-project-context/assets/state-template.md +7 -7
  262. package/plugins/devflow-core/skills/workflow-project-context/references/navigation-guide.md +37 -37
  263. package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization.py +16 -16
  264. package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization_database.py +1 -1
  265. package/plugins/devflow-design/skills/workflow-api-call-guide/SKILL.md +4 -4
  266. package/plugins/devflow-design/skills/workflow-api-contract/SKILL.md +8 -8
  267. package/plugins/devflow-design/skills/workflow-api-supplement/SKILL.md +5 -5
  268. package/plugins/devflow-design/skills/workflow-architecture-feasibility/SKILL.md +1 -1
  269. package/plugins/devflow-design/skills/workflow-backend-tech-spec/SKILL.md +39 -39
  270. package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/backend-spec-template.md +10 -10
  271. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/affected-module-exploration.md +2 -2
  272. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/code-explore-guide.md +1 -1
  273. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/project-rule-contract.md +20 -20
  274. package/plugins/devflow-design/skills/workflow-design-rule-pack/SKILL.md +8 -8
  275. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/index.md +3 -3
  276. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/accessibility.md +2 -2
  277. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/component-library.md +2 -2
  278. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/design-systems.md +1 -1
  279. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/responsive-grid.md +2 -2
  280. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/stack-guidelines.md +6 -6
  281. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/ux-patterns.md +2 -2
  282. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tokens/project-tokens.md +1 -1
  283. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/SKILL.md +12 -12
  284. package/plugins/devflow-design/skills/workflow-design-rule-pack/scripts/install.py +2 -2
  285. package/plugins/devflow-design/skills/workflow-feature-breakdown/SKILL.md +30 -30
  286. package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/output-template.md +2 -2
  287. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/SKILL.md +41 -41
  288. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/assets/frontend-spec-template.md +15 -15
  289. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/affected-module-exploration.md +2 -2
  290. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/project-rule-contract.md +25 -25
  291. package/plugins/devflow-design/skills/workflow-integration-verify/SKILL.md +13 -13
  292. package/plugins/devflow-design/skills/workflow-ui-spec/SKILL.md +23 -23
  293. package/plugins/devflow-design/skills/workflow-ui-spec/assets/ui-spec-template.md +3 -3
  294. package/plugins/devflow-implementation/agents/implementation-worker.md +2 -2
  295. package/plugins/devflow-implementation/skills/workflow-bug-fix/SKILL.md +9 -9
  296. package/plugins/devflow-implementation/skills/workflow-bug-fix/references/lesson-format.md +2 -2
  297. package/plugins/devflow-implementation/skills/workflow-bug-fix/references/root-cause-ladder.md +1 -1
  298. package/plugins/devflow-implementation/skills/workflow-change-plan/SKILL.md +17 -17
  299. package/plugins/devflow-implementation/skills/workflow-change-plan/references/code-conventions.md +1 -1
  300. package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +3 -3
  301. package/plugins/devflow-implementation/skills/workflow-change-plan/references/project-rule-contract.md +16 -16
  302. package/plugins/devflow-implementation/skills/workflow-execute-phase/SKILL.md +38 -38
  303. package/plugins/devflow-implementation/skills/workflow-execute-phase/references/execute-phase.md +4 -2
  304. package/plugins/devflow-intel/agents/project-scout.md +1 -1
  305. package/plugins/devflow-intel/extensions/devflow-intel.ts +20 -19
  306. package/plugins/devflow-intel/skills/code-index-query/SKILL.md +6 -6
  307. package/plugins/devflow-intel/skills/workflow-code-index/SKILL.md +12 -12
  308. package/plugins/devflow-intel/skills/workflow-code-index/references/discovery.md +2 -2
  309. package/plugins/devflow-intel/skills/workflow-code-index/references/query-guide.md +1 -1
  310. package/plugins/devflow-intel/skills/workflow-code-index/scripts/code_index.py +31 -12
  311. package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/discovery.py +2 -2
  312. package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/scanner.py +4 -1
  313. package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/project_binding_check.py +4 -4
  314. package/plugins/devflow-intel/skills/workflow-context-sync/SKILL.md +14 -14
  315. package/plugins/devflow-intel/skills/workflow-context-sync/scripts/context_sync_cursor.py +2 -2
  316. package/plugins/devflow-intel/skills/workflow-update-navigation/SKILL.md +26 -26
  317. package/plugins/devflow-intel/skills/workflow-update-navigation/references/incremental-update-guide.md +2 -2
  318. package/plugins/devflow-quality/runtime/playwright/devflow-test-dsl-v1.schema.json +872 -0
  319. package/plugins/devflow-quality/runtime/playwright/playwright.config.mjs +46 -0
  320. package/plugins/devflow-quality/runtime/playwright/reporter.mjs +311 -0
  321. package/plugins/devflow-quality/runtime/playwright/runner.spec.mjs +1308 -0
  322. package/plugins/devflow-quality/runtime/playwright/runtime-manifest.json +11 -0
  323. package/plugins/devflow-quality/skills/code-review/SKILL.md +12 -12
  324. package/plugins/devflow-quality/skills/code-review/references/spec-checklist.md +1 -1
  325. package/plugins/devflow-quality/skills/workflow-acceptance-test-design/SKILL.md +11 -8
  326. package/plugins/devflow-quality/skills/workflow-gen-test-guide/SKILL.md +6 -6
  327. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/SKILL.md +14 -14
  328. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/SKILL.md +82 -69
  329. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/api-mainflow-rules.md +20 -15
  330. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/codebase-discovery.md +12 -10
  331. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/intermediate-format.md +115 -192
  332. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/mainflow-selection.md +27 -23
  333. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/project-dsl-contract.md +78 -153
  334. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/ui-mainflow-rules.md +36 -83
  335. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/compile_dsl.py +497 -556
  336. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/discover_codebases.py +2 -2
  337. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/export_legacy_testagent.py +647 -0
  338. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/normalize_case_payloads.py +10 -3
  339. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/validate_case_payloads.py +165 -275
  340. package/plugins/devflow-quality/skills/workflow-human-acceptance/SKILL.md +61 -0
  341. package/plugins/devflow-quality/skills/workflow-release-closeout/SKILL.md +18 -18
  342. package/plugins/devflow-quality/skills/workflow-run-acceptance-tests/SKILL.md +20 -14
  343. package/plugins/devflow-requirements/skills/requirement-feasibility-review/SKILL.md +1 -1
  344. package/plugins/devflow-requirements/skills/workflow-demand-clarify/SKILL.md +10 -10
  345. package/plugins/devflow-requirements/skills/workflow-domain-modeling/SKILL.md +25 -25
  346. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/SKILL.md +49 -49
  347. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/assets/baseline-template.md +22 -22
  348. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/antipatterns.md +3 -3
  349. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/challenge-review-guide.md +3 -3
  350. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/project-context-guide.md +11 -11
  351. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/questioning.md +1 -1
  352. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/requirement-review-checklist.md +4 -4
  353. package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +16 -16
  354. package/plugins/devflow-requirements/skills/workflow-wayfinder/SKILL.md +6 -6
  355. package/src/approval-store.ts +340 -0
  356. package/src/cli.ts +15 -0
  357. package/src/constants.ts +1 -1
  358. package/src/doctor.ts +259 -2
  359. package/src/initialization-store.ts +51 -3
  360. package/src/paths.ts +12 -1
  361. package/src/project-context.ts +60 -15
  362. package/src/project-documents.ts +61 -61
  363. package/src/project-initializer.ts +9 -8
  364. package/src/project-layout.ts +217 -0
  365. package/src/runtime.ts +3 -3
  366. package/templates/commands/start.md +4 -4
  367. package/templates/omp/AGENTS.md +1 -1
  368. package/templates/omp/hook-config.json +13 -7
  369. package/templates/omp/index-policy.json +8 -8
@@ -21,9 +21,9 @@
21
21
  ## Current Structure
22
22
 
23
23
  - **Repository Type**: {{repo_type}}
24
- - **Planning Root**: `.planning/`
25
- - **Navigation Root**: `.planning/navigation/`
26
- - **Code Index Root**: `.planning/code-index/`(generated by default through `workflow-code-index`; skipped only in fast mode)
24
+ - **Planning Root**: `.devflow/planning/`
25
+ - **Navigation Root**: `.devflow/planning/navigation/`
26
+ - **Code Index Root**: `.devflow/planning/code-index/`(generated by default through `workflow-code-index`; skipped only in fast mode)
27
27
  - **Code Index Status**: `{{code_index_status}}`
28
28
  - **Code Index Skip Reason**: {{code_index_skip_reason}}
29
29
  - **Design Rule Pack Status**: `{{design_rule_pack_status}}`
@@ -37,11 +37,11 @@
37
37
 
38
38
  Detailed code navigation is split by codebase so later skills can load only what they need:
39
39
 
40
- - `.planning/navigation/INDEX.md` — codebase registry and quick pointers
40
+ - `.devflow/planning/navigation/INDEX.md` — codebase registry and quick pointers
41
41
  {{#codebases}}
42
- - `.planning/navigation/{{name}}.md` — {{role}} structure, entries, conventions, commands
42
+ - `.devflow/planning/navigation/{{name}}.md` — {{role}} structure, entries, conventions, commands
43
43
  {{/codebases}}
44
- - `.planning/code-index/` — machine facts for symbols, relations, entrypoints, and data flow; generated during full initialization unless fast mode skipped it
44
+ - `.devflow/planning/code-index/` — machine facts for symbols, relations, entrypoints, and data flow; generated during full initialization unless fast mode skipped it
45
45
 
46
46
  ## Project Rule Package
47
47
 
@@ -49,17 +49,17 @@ Record generated rule snapshots, existing project-specific rules, and workflow c
49
49
 
50
50
  | Rule Source | Path | Status | Notes |
51
51
  |-------------|------|--------|-------|
52
- | Planning Rules | `.planning/rules/INDEX.md` | {{planning_rules_status}} | {{planning_rules_notes}} |
53
- | Execution Contract | `.planning/execution-contract.md` | {{execution_contract_status}} | {{execution_contract_notes}} |
54
- | Toolchain Contract | `.planning/toolchain.md` | {{toolchain_status}} | {{toolchain_notes}} |
55
- | Planning Lessons | `.planning/lessons/README.md` | {{planning_lessons_status}} | {{planning_lessons_notes}} |
56
- | Planning Milestones | `.planning/milestones/` | {{planning_milestones_status}} | {{planning_milestones_notes}} |
57
- | Planning Requirements | `.planning/requirements/` | {{planning_requirements_status}} | {{planning_requirements_notes}} |
58
- | Context Spec Index | `.context/spec/index.md` | {{context_spec_index_status}} | {{context_spec_index_notes}} |
59
- | Stack Specs | `.context/spec/stacks/` | {{stack_specs_status}} | {{stack_specs_notes}} |
60
- | Context Specs | `.context/spec/` | {{context_spec_status}} | {{context_spec_notes}} |
61
- | Context Workflow | `.context/workflow/` | {{context_workflow_status}} | {{context_workflow_notes}} |
62
- | Context Lessons | `.context/lessons/README.md` | {{context_lessons_status}} | {{context_lessons_notes}} |
52
+ | Planning Rules | `.devflow/planning/rules/INDEX.md` | {{planning_rules_status}} | {{planning_rules_notes}} |
53
+ | Execution Contract | `.devflow/planning/execution-contract.md` | {{execution_contract_status}} | {{execution_contract_notes}} |
54
+ | Toolchain Contract | `.devflow/planning/toolchain.md` | {{toolchain_status}} | {{toolchain_notes}} |
55
+ | Planning Lessons | `.devflow/planning/lessons/README.md` | {{planning_lessons_status}} | {{planning_lessons_notes}} |
56
+ | Planning Milestones | `.devflow/planning/milestones/` | {{planning_milestones_status}} | {{planning_milestones_notes}} |
57
+ | Planning Requirements | `.devflow/planning/requirements/` | {{planning_requirements_status}} | {{planning_requirements_notes}} |
58
+ | Context Spec Index | `.devflow/context/spec/index.md` | {{context_spec_index_status}} | {{context_spec_index_notes}} |
59
+ | Stack Specs | `.devflow/context/spec/stacks/` | {{stack_specs_status}} | {{stack_specs_notes}} |
60
+ | Context Specs | `.devflow/context/spec/` | {{context_spec_status}} | {{context_spec_notes}} |
61
+ | Context Workflow | `.devflow/context/workflow/` | {{context_workflow_status}} | {{context_workflow_notes}} |
62
+ | Context Lessons | `.devflow/context/lessons/README.md` | {{context_lessons_status}} | {{context_lessons_notes}} |
63
63
  | Root Instructions | `AGENTS.md` / `CLAUDE.md` | {{root_instructions_status}} | {{root_instructions_notes}} |
64
64
 
65
65
  ## History Model
@@ -68,27 +68,27 @@ This workflow uses planning and milestone artifacts as the primary project memor
68
68
 
69
69
  | History Source | Role | Status | Notes |
70
70
  |----------------|------|--------|-------|
71
- | `.planning/milestones/` | 已归档里程碑和交付结果 | {{planning_milestones_status}} | {{planning_milestones_notes}} |
72
- | `.planning/requirements/` | 当前或历史需求基线 | {{planning_requirements_status}} | {{planning_requirements_notes}} |
73
- | `.planning/lessons/` | 跨里程碑经验教训 | {{planning_lessons_status}} | {{planning_lessons_notes}} |
74
- | `.planning/*/CONTEXT.md` | 阶段上下文与决策记录 | {{planning_context_status}} | {{planning_context_notes}} |
71
+ | `.devflow/planning/milestones/` | 已归档里程碑和交付结果 | {{planning_milestones_status}} | {{planning_milestones_notes}} |
72
+ | `.devflow/planning/requirements/` | 当前或历史需求基线 | {{planning_requirements_status}} | {{planning_requirements_notes}} |
73
+ | `.devflow/planning/lessons/` | 跨里程碑经验教训 | {{planning_lessons_status}} | {{planning_lessons_notes}} |
74
+ | `.devflow/planning/*/CONTEXT.md` | 阶段上下文与决策记录 | {{planning_context_status}} | {{planning_context_notes}} |
75
75
  | `features/` | Legacy feature docs, only if present | {{features_history_status}} | {{features_history_notes}} |
76
- | `.context/lessons/` | Legacy/project-rule lessons, only if present | {{context_lessons_status}} | {{context_lessons_notes}} |
76
+ | `.devflow/context/lessons/` | Legacy/project-rule lessons, only if present | {{context_lessons_status}} | {{context_lessons_notes}} |
77
77
 
78
78
  ## Shared References
79
79
 
80
80
  | Item | Path | Notes |
81
81
  |------|------|-------|
82
- | Project Context | `.planning/PROJECT.md` | 项目总览、结构、约束、关键决策 |
83
- | Workflow State | `.planning/STATE.md` | 初始化状态和后续建议 |
84
- | Navigation Index | `.planning/navigation/INDEX.md` | 后续 skill 的快捷入口 |
85
- | Code Index | `.planning/code-index/` | 机器事实索引,细粒度调用/符号/数据流追踪;fast mode 可跳过 |
86
- | Requirements Baseline | `.planning/requirements/baseline.md` | 需求讨论后生成,不在初始化阶段创建 |
87
- | Feature Breakdown | `.planning/features/{功能名}/功能点梳理.md` | 需求基线后生成的测试可读功能点梳理 |
88
- | Frontend Tech Doc | `.planning/features/{功能名}/前端技术方案.md` | 前端技术方案输出 |
89
- | Backend Tech Doc | `.planning/features/{功能名}/后端技术方案.md` | 后端技术方案输出 |
90
- | Change List | `.planning/features/{功能名}/变更清单.md` | 变更清单输出 |
91
- | Codebase Map | `.planning/codebase/` | 可选,深度代码库扫描结果 |
82
+ | Project Context | `.devflow/planning/PROJECT.md` | 项目总览、结构、约束、关键决策 |
83
+ | Workflow State | `.devflow/planning/STATE.md` | 初始化状态和后续建议 |
84
+ | Navigation Index | `.devflow/planning/navigation/INDEX.md` | 后续 skill 的快捷入口 |
85
+ | Code Index | `.devflow/planning/code-index/` | 机器事实索引,细粒度调用/符号/数据流追踪;fast mode 可跳过 |
86
+ | Requirements Baseline | `.devflow/planning/requirements/baseline.md` | 需求讨论后生成,不在初始化阶段创建 |
87
+ | Feature Breakdown | `.devflow/planning/features/{功能名}/功能点梳理.md` | 需求基线后生成的测试可读功能点梳理 |
88
+ | Frontend Tech Doc | `.devflow/planning/features/{功能名}/前端技术方案.md` | 前端技术方案输出 |
89
+ | Backend Tech Doc | `.devflow/planning/features/{功能名}/后端技术方案.md` | 后端技术方案输出 |
90
+ | Change List | `.devflow/planning/features/{功能名}/变更清单.md` | 变更清单输出 |
91
+ | Codebase Map | `.devflow/planning/codebase/` | 可选,深度代码库扫描结果 |
92
92
 
93
93
  ## Constraints
94
94
 
@@ -6,15 +6,15 @@
6
6
 
7
7
  | Rule File | Purpose | Status |
8
8
  |-----------|---------|--------|
9
- | `.planning/execution-contract.md` | Layer order, TDD strategy, codegen and verification gates | {{execution_contract_status}} |
10
- | `.planning/toolchain.md` | Build, test, lint, mock, migration commands | {{toolchain_status}} |
11
- | `.planning/lessons/README.md` | Cross-milestone lessons learned | {{lessons_status}} |
12
- | `.planning/code-index/` | Machine code facts: symbols, relations, entrypoints, and data flow | {{code_index_status}} |
13
- | `.context/spec/design/` | Frontend UI/UX recommendations and project-level design tokens | {{design_rule_pack_status}} |
14
- | `.context/spec/index.md` | Generated technical spec registry and read order | {{context_spec_index_status}} |
15
- | `.context/spec/stacks/` | Generated stack-level technical specs | {{stack_specs_status}} |
16
- | `.context/workflow/` | Existing workflow gates (TDD, verification, checklist) | {{context_workflow_status}} |
17
- | `.context/lessons/README.md` | Legacy project lessons | {{context_lessons_status}} |
9
+ | `.devflow/planning/execution-contract.md` | Layer order, TDD strategy, codegen and verification gates | {{execution_contract_status}} |
10
+ | `.devflow/planning/toolchain.md` | Build, test, lint, mock, migration commands | {{toolchain_status}} |
11
+ | `.devflow/planning/lessons/README.md` | Cross-milestone lessons learned | {{lessons_status}} |
12
+ | `.devflow/planning/code-index/` | Machine code facts: symbols, relations, entrypoints, and data flow | {{code_index_status}} |
13
+ | `.devflow/context/spec/design/` | Frontend UI/UX recommendations and project-level design tokens | {{design_rule_pack_status}} |
14
+ | `.devflow/context/spec/index.md` | Generated technical spec registry and read order | {{context_spec_index_status}} |
15
+ | `.devflow/context/spec/stacks/` | Generated stack-level technical specs | {{stack_specs_status}} |
16
+ | `.devflow/context/workflow/` | Existing workflow gates (TDD, verification, checklist) | {{context_workflow_status}} |
17
+ | `.devflow/context/lessons/README.md` | Legacy project lessons | {{context_lessons_status}} |
18
18
  | `AGENTS.md` / `CLAUDE.md` | Root agent instructions | {{root_instructions_status}} |
19
19
  | `.cursorrules` | IDE-level AI rules | {{cursorrules_status}} |
20
20
 
@@ -22,58 +22,58 @@
22
22
 
23
23
  | Rule File | Path | Status |
24
24
  |-----------|------|--------|
25
- | Frontend Spec Index | `.context/spec/frontend/index.md` | {{frontend_spec_index_status}} |
26
- | Frontend Specs | `.context/spec/frontend/` | {{frontend_specs_status}} |
27
- | Design Specs | `.context/spec/design/` | {{design_specs_status}} |
25
+ | Frontend Spec Index | `.devflow/context/spec/frontend/index.md` | {{frontend_spec_index_status}} |
26
+ | Frontend Specs | `.devflow/context/spec/frontend/` | {{frontend_specs_status}} |
27
+ | Design Specs | `.devflow/context/spec/design/` | {{design_specs_status}} |
28
28
 
29
29
  ## Backend Rules
30
30
 
31
31
  | Rule File | Path | Status |
32
32
  |-----------|------|--------|
33
- | Backend Spec Index | `.context/spec/backend/index.md` | {{backend_spec_index_status}} |
34
- | Backend Specs | `.context/spec/backend/` | {{backend_specs_status}} |
33
+ | Backend Spec Index | `.devflow/context/spec/backend/index.md` | {{backend_spec_index_status}} |
34
+ | Backend Specs | `.devflow/context/spec/backend/` | {{backend_specs_status}} |
35
35
 
36
36
  ## Stack Specs
37
37
 
38
38
  | Stack Key | Path | Codebases | Status |
39
39
  |-----------|------|-----------|--------|
40
- | {{stack_key}} | `.context/spec/stacks/{{stack_key}}.md` | {{codebases}} | {{stack_spec_status}} |
40
+ | {{stack_key}} | `.devflow/context/spec/stacks/{{stack_key}}.md` | {{codebases}} | {{stack_spec_status}} |
41
41
 
42
42
  ## Codebase Specs
43
43
 
44
44
  | Codebase | Type | Stack Key | Path | Status |
45
45
  |----------|------|-----------|------|--------|
46
- | {{codebase_name}} | {{codebase_type}} | {{stack_key}} | `.context/spec/{{domain}}/{{codebase_name}}.md` | {{codebase_spec_status}} |
46
+ | {{codebase_name}} | {{codebase_type}} | {{stack_key}} | `.devflow/context/spec/{{domain}}/{{codebase_name}}.md` | {{codebase_spec_status}} |
47
47
 
48
48
  ## Spec Read Contract
49
49
 
50
50
  Downstream skills must read technical rules in this order:
51
51
 
52
- 1. `.planning/rules/INDEX.md`
53
- 2. `.context/spec/index.md`
54
- 3. Matching `.context/spec/stacks/{stack_key}.md`
55
- 4. Matching `.context/spec/frontend|backend/{codebase}.md`
56
- 5. Matching `.context/spec/{domain}/index.md` and applicable depth specs
57
- 6. Matching `.planning/navigation/{codebase}.md`
58
- 7. `.planning/code-index/` machine symbols/relations for source-level relation facts; if fast mode skipped generation, refresh through `workflow-code-index` or record fallback
52
+ 1. `.devflow/planning/rules/INDEX.md`
53
+ 2. `.devflow/context/spec/index.md`
54
+ 3. Matching `.devflow/context/spec/stacks/{stack_key}.md`
55
+ 4. Matching `.devflow/context/spec/frontend|backend/{codebase}.md`
56
+ 5. Matching `.devflow/context/spec/{domain}/index.md` and applicable depth specs
57
+ 6. Matching `.devflow/planning/navigation/{codebase}.md`
58
+ 7. `.devflow/planning/code-index/` machine symbols/relations for source-level relation facts; if fast mode skipped generation, refresh through `workflow-code-index` or record fallback
59
59
  8. Actual source files
60
60
 
61
61
  ## Workflow Rules
62
62
 
63
63
  | Rule File | Path | Status |
64
64
  |-----------|------|--------|
65
- | TDD Gate | `.context/workflow/tdd.md` | {{tdd_status}} |
66
- | Verification Gate | `.context/workflow/verification.md` | {{verification_status}} |
67
- | Checklist | `.context/workflow/checklist.md` | {{checklist_status}} |
65
+ | TDD Gate | `.devflow/context/workflow/tdd.md` | {{tdd_status}} |
66
+ | Verification Gate | `.devflow/context/workflow/verification.md` | {{verification_status}} |
67
+ | Checklist | `.devflow/context/workflow/checklist.md` | {{checklist_status}} |
68
68
 
69
69
  ## History Model
70
70
 
71
71
  | Source | Role | Status |
72
72
  |--------|------|--------|
73
- | `.planning/milestones/` | Archived milestone summaries | {{milestones_status}} |
74
- | `.planning/requirements/` | Requirement baselines | {{requirements_status}} |
75
- | `.planning/lessons/` | Cross-milestone lessons | {{planning_lessons_status}} |
76
- | `.planning/*/CONTEXT.md` | Phase/session decisions | {{context_md_status}} |
73
+ | `.devflow/planning/milestones/` | Archived milestone summaries | {{milestones_status}} |
74
+ | `.devflow/planning/requirements/` | Requirement baselines | {{requirements_status}} |
75
+ | `.devflow/planning/lessons/` | Cross-milestone lessons | {{planning_lessons_status}} |
76
+ | `.devflow/planning/*/CONTEXT.md` | Phase/session decisions | {{context_md_status}} |
77
77
 
78
78
  ---
79
79
 
@@ -9,9 +9,9 @@
9
9
  - **Run Started At**: {{run_started_at}}
10
10
  - **Last Scan At**: {{last_scan_at}}
11
11
  - **Initialized By**: `workflow-project-context`
12
- - **Project File**: `.planning/PROJECT.md`
13
- - **Navigation Root**: `.planning/navigation/`
14
- - **Code Index Root**: `.planning/code-index/`(generated by default unless fast mode skipped it)
12
+ - **Project File**: `.devflow/planning/PROJECT.md`
13
+ - **Navigation Root**: `.devflow/planning/navigation/`
14
+ - **Code Index Root**: `.devflow/planning/code-index/`(generated by default unless fast mode skipped it)
15
15
 
16
16
  ## Workflow State
17
17
 
@@ -25,7 +25,7 @@
25
25
  | Name | Type | Path | Scan Status | Navigation File |
26
26
  |------|------|------|-------------|-----------------|
27
27
  {{#codebases}}
28
- | {{name}} | {{type}} | {{path}} | {{scan_status}} | `.planning/navigation/{{name}}.md` |
28
+ | {{name}} | {{type}} | {{path}} | {{scan_status}} | `.devflow/planning/navigation/{{name}}.md` |
29
29
  {{/codebases}}
30
30
 
31
31
  ## Completion
@@ -39,9 +39,9 @@
39
39
  {{#codebases}}
40
40
  | {{name}} navigation | {{nav_status}} | {{nav_notes}} |
41
41
  {{/codebases}}
42
- | Rules index (`.planning/rules/INDEX.md`) | {{rules_index_status}} | {{rules_index_notes}} |
43
- | Execution contract (`.planning/execution-contract.md`) | {{execution_contract_status}} | {{execution_contract_notes}} |
44
- | Toolchain contract (`.planning/toolchain.md`) | {{toolchain_status}} | {{toolchain_notes}} |
42
+ | Rules index (`.devflow/planning/rules/INDEX.md`) | {{rules_index_status}} | {{rules_index_notes}} |
43
+ | Execution contract (`.devflow/planning/execution-contract.md`) | {{execution_contract_status}} | {{execution_contract_notes}} |
44
+ | Toolchain contract (`.devflow/planning/toolchain.md`) | {{toolchain_status}} | {{toolchain_notes}} |
45
45
  | Project rule package (other sources) | {{project_rule_package_status}} | {{project_rule_package_notes}} |
46
46
  | Requirements baseline | Not created | Created later by workflow-requirement-baseline |
47
47
  | Feature breakdown | Not created | Created later by workflow-feature-breakdown |
@@ -16,20 +16,20 @@ Run the following for EACH codebase identified in Step 1:
16
16
  4. Read README files only for commands and architecture notes.
17
17
  5. Inspect top-level source folders and common entry files.
18
18
  6. Identify project rule package sources (once for the whole project, not per codebase):
19
- - `.planning/rules/INDEX.md`
20
- - `.planning/execution-contract.md`
21
- - `.planning/toolchain.md`
22
- - `.planning/lessons/README.md`
23
- - `.planning/milestones/`
24
- - `.planning/requirements/`
25
- - `.context/spec/`
26
- - `.context/workflow/`
27
- - `.context/lessons/README.md`
19
+ - `.devflow/planning/rules/INDEX.md`
20
+ - `.devflow/planning/execution-contract.md`
21
+ - `.devflow/planning/toolchain.md`
22
+ - `.devflow/planning/lessons/README.md`
23
+ - `.devflow/planning/milestones/`
24
+ - `.devflow/planning/requirements/`
25
+ - `.devflow/context/spec/`
26
+ - `.devflow/context/workflow/`
27
+ - `.devflow/context/lessons/README.md`
28
28
  - root `AGENTS.md` / `CLAUDE.md`
29
29
  - `.cursorrules` files within each codebase root
30
30
  7. Identify history model locations (once for the whole project):
31
- - primary: `.planning/milestones/`, `.planning/requirements/`, `.planning/lessons/`, `.planning/*/CONTEXT.md`
32
- - optional legacy: `features/`, `.context/lessons/`
31
+ - primary: `.devflow/planning/milestones/`, `.devflow/planning/requirements/`, `.devflow/planning/lessons/`, `.devflow/planning/*/CONTEXT.md`
32
+ - optional legacy: `features/`, `.devflow/context/lessons/`
33
33
  8. Stop once entry points, conventions, commands, rule package locations, and history model locations are identified for each codebase.
34
34
 
35
35
  ## Scan Depth
@@ -113,7 +113,7 @@ Frontend navigation fields:
113
113
  - Styles / theme
114
114
  - Env config
115
115
  - Dev/build/test commands
116
- - Frontend rule sources such as `.context/spec/frontend/`, `.context/spec/design/`, `.planning/rules/`, `.planning/toolchain.md`, and lessons
116
+ - Frontend rule sources such as `.devflow/context/spec/frontend/`, `.devflow/context/spec/design/`, `.devflow/planning/rules/`, `.devflow/planning/toolchain.md`, and lessons
117
117
 
118
118
  ## Frontend Stack Slot Detection
119
119
 
@@ -202,45 +202,45 @@ Common sources:
202
202
 
203
203
  | Source | Purpose |
204
204
  |--------|---------|
205
- | `.planning/rules/INDEX.md` | Project rule index used by workflow skills |
206
- | `.planning/execution-contract.md` | Layer order, TDD strategy, codegen and verification gates |
207
- | `.planning/toolchain.md` | Build, test, lint, mock, migration, and codegen commands |
208
- | `.planning/lessons/README.md` | Project lessons maintained by workflow |
209
- | `.planning/milestones/` | Primary milestone/history records for this workflow |
210
- | `.planning/requirements/` | Current or historical requirement baselines |
211
- | `.context/spec/index.md` | Generated or existing technical spec registry |
212
- | `.context/spec/stacks/` | Stack-level technical specs generated from stack profiles |
213
- | `.context/spec/frontend/` / `.context/spec/backend/` | Codebase-specific technical specs |
214
- | `.context/workflow/` | Existing workflow gates such as TDD and verification |
215
- | `.context/lessons/README.md` | Existing lessons from project work |
205
+ | `.devflow/planning/rules/INDEX.md` | Project rule index used by workflow skills |
206
+ | `.devflow/planning/execution-contract.md` | Layer order, TDD strategy, codegen and verification gates |
207
+ | `.devflow/planning/toolchain.md` | Build, test, lint, mock, migration, and codegen commands |
208
+ | `.devflow/planning/lessons/README.md` | Project lessons maintained by workflow |
209
+ | `.devflow/planning/milestones/` | Primary milestone/history records for this workflow |
210
+ | `.devflow/planning/requirements/` | Current or historical requirement baselines |
211
+ | `.devflow/context/spec/index.md` | Generated or existing technical spec registry |
212
+ | `.devflow/context/spec/stacks/` | Stack-level technical specs generated from stack profiles |
213
+ | `.devflow/context/spec/frontend/` / `.devflow/context/spec/backend/` | Codebase-specific technical specs |
214
+ | `.devflow/context/workflow/` | Existing workflow gates such as TDD and verification |
215
+ | `.devflow/context/lessons/README.md` | Existing lessons from project work |
216
216
  | `AGENTS.md` / `CLAUDE.md` | Root agent instructions |
217
217
 
218
- If both `.planning/rules/` and `.context/spec/` exist, record both. Do not merge them during initialization.
218
+ If both `.devflow/planning/rules/` and `.devflow/context/spec/` exist, record both. Do not merge them during initialization.
219
219
 
220
220
  ## Generated Context Spec Checks
221
221
 
222
- When project initialization generates `.context/spec/`, verify:
222
+ When project initialization generates `.devflow/context/spec/`, verify:
223
223
 
224
224
  - Every local/scannable codebase has a stack profile with `stack_key`, manifest path, and dependency fingerprint.
225
- - Every unique `stack_key` has exactly one `.context/spec/stacks/{stack_key}.md`.
226
- - Every frontend-type codebase has `.context/spec/frontend/{name}.md`.
227
- - Every backend/service-type codebase has `.context/spec/backend/{name}.md`.
228
- - `.context/spec/index.md` maps each codebase to its stack spec, codebase spec, and navigation file.
225
+ - Every unique `stack_key` has exactly one `.devflow/context/spec/stacks/{stack_key}.md`.
226
+ - Every frontend-type codebase has `.devflow/context/spec/frontend/{name}.md`.
227
+ - Every backend/service-type codebase has `.devflow/context/spec/backend/{name}.md`.
228
+ - `.devflow/context/spec/index.md` maps each codebase to its stack spec, codebase spec, and navigation file.
229
229
  - Generated specs include version metadata and regeneration triggers.
230
230
  - Stack specs contain stack-level guidance only; codebase-local paths and route/module names belong in codebase specs.
231
231
 
232
232
  ## History Model Detection
233
233
 
234
- This workflow uses `.planning` artifacts as the primary long-term memory. Do not assume outbound-call style `features/*.spec.md` history exists.
234
+ This workflow uses `.devflow/planning` artifacts as the primary long-term memory. Do not assume outbound-call style `features/*.spec.md` history exists.
235
235
 
236
236
  | Source | Role |
237
237
  |--------|------|
238
- | `.planning/milestones/` | Archived milestones and delivery summaries |
239
- | `.planning/requirements/` | Requirement baselines and requirement decisions |
240
- | `.planning/lessons/` | Cross-milestone lessons |
241
- | `.planning/*/CONTEXT.md` | Phase/session decisions and handoff context |
238
+ | `.devflow/planning/milestones/` | Archived milestones and delivery summaries |
239
+ | `.devflow/planning/requirements/` | Requirement baselines and requirement decisions |
240
+ | `.devflow/planning/lessons/` | Cross-milestone lessons |
241
+ | `.devflow/planning/*/CONTEXT.md` | Phase/session decisions and handoff context |
242
242
  | `features/` | Optional legacy feature docs if the target project already has them |
243
- | `.context/lessons/` | Optional legacy/project-rule lessons |
243
+ | `.devflow/context/lessons/` | Optional legacy/project-rule lessons |
244
244
 
245
245
  Record whether each primary source exists. Label legacy sources as legacy/project-rule evidence rather than the default history model.
246
246
 
@@ -248,14 +248,14 @@ Record whether each primary source exists. Label legacy sources as legacy/projec
248
248
 
249
249
  - All codebase locations are recorded in the Codebase Registry.
250
250
  - Nonexistent or remote-only locations are marked pending.
251
- - Each codebase has a navigation file at `.planning/navigation/{name}.md`.
251
+ - Each codebase has a navigation file at `.devflow/planning/navigation/{name}.md`.
252
252
  - Frameworks are recorded or `待确认` for each codebase.
253
253
  - Entry points and key directories are recorded or `待确认` for each codebase.
254
254
  - Frontend-type codebases have component conventions.
255
255
  - Backend-type codebases have layer conventions.
256
256
  - Dev/build/test commands are recorded or `待确认` for each codebase.
257
257
  - Project rule package sources are recorded when present.
258
- - History model sources are recorded, with `.planning` sources primary and legacy sources labeled.
258
+ - History model sources are recorded, with `.devflow/planning` sources primary and legacy sources labeled.
259
259
  - `STATE.md` includes current step, completed steps, pending steps, blockers, and next action.
260
260
  - `INDEX.md` includes Codebase Registry and downstream read contract.
261
261
  - Initialization quality is marked as `complete`, `partial`, `pending`, or `not_applicable`.
@@ -17,25 +17,25 @@ SKILL_ROOT = Path(__file__).resolve().parents[1]
17
17
  SPEC_TEMPLATE_ROOT = SKILL_ROOT / "assets" / "spec-templates"
18
18
 
19
19
  CODE_INDEX_FILES = (
20
- ".planning/code-index/index.sqlite",
21
- ".planning/code-index/files.jsonl",
22
- ".planning/code-index/symbols.jsonl",
23
- ".planning/code-index/relations.jsonl",
24
- ".planning/code-index/AUDIT.md",
20
+ ".devflow/planning/code-index/index.sqlite",
21
+ ".devflow/planning/code-index/files.jsonl",
22
+ ".devflow/planning/code-index/symbols.jsonl",
23
+ ".devflow/planning/code-index/relations.jsonl",
24
+ ".devflow/planning/code-index/AUDIT.md",
25
25
  )
26
26
 
27
27
  DESIGN_RULE_PACK_FILES = (
28
- ".context/spec/design/tokens/project-tokens.md",
29
- ".context/spec/design/recommendations/accessibility.md",
30
- ".context/spec/design/recommendations/component-library.md",
31
- ".context/spec/design/tools/ui-ux-pro-max/SKILL.md",
28
+ ".devflow/context/spec/design/tokens/project-tokens.md",
29
+ ".devflow/context/spec/design/recommendations/accessibility.md",
30
+ ".devflow/context/spec/design/recommendations/component-library.md",
31
+ ".devflow/context/spec/design/tools/ui-ux-pro-max/SKILL.md",
32
32
  )
33
33
 
34
34
  STATUS_FILES = (
35
- ".planning/STATE.md",
36
- ".planning/PROJECT.md",
37
- ".planning/navigation/INDEX.md",
38
- ".planning/rules/INDEX.md",
35
+ ".devflow/planning/STATE.md",
36
+ ".devflow/planning/PROJECT.md",
37
+ ".devflow/planning/navigation/INDEX.md",
38
+ ".devflow/planning/rules/INDEX.md",
39
39
  )
40
40
 
41
41
 
@@ -44,7 +44,7 @@ def parse_args() -> argparse.Namespace:
44
44
  parser.add_argument("--root", default=".")
45
45
  parser.add_argument(
46
46
  "--manifest",
47
- default=".planning/project-context-run.json",
47
+ default=".devflow/planning/project-context-run.json",
48
48
  )
49
49
  return parser.parse_args()
50
50
 
@@ -136,7 +136,7 @@ def validate_status_markers(
136
136
  content = path.read_text(encoding="utf-8")
137
137
  if marker not in content:
138
138
  errors.append(f"current-run status marker missing: {relative_path}")
139
- if relative_path == ".planning/STATE.md" and "PENDING_TEMPLATE" in content:
139
+ if relative_path == ".devflow/planning/STATE.md" and "PENDING_TEMPLATE" in content:
140
140
  errors.append("STATE.md contains an unresolved PENDING_TEMPLATE blocker")
141
141
 
142
142
 
@@ -459,7 +459,7 @@ def validate_domain_indexes(
459
459
  )
460
460
 
461
461
  for domain, expected_markers in expected_by_domain.items():
462
- relative_path = f".context/spec/{domain}/index.md"
462
+ relative_path = f".devflow/context/spec/{domain}/index.md"
463
463
  path = resolve_project_path(root, relative_path)
464
464
  require_fresh_file(path, started_at, errors)
465
465
  if not path.is_file():
@@ -32,7 +32,7 @@ def validate(database: Path, project_id: str, workspace_id: str | None = None, r
32
32
  connection.row_factory = sqlite3.Row
33
33
  try:
34
34
  version = connection.execute("SELECT version FROM schema_meta LIMIT 1").fetchone()
35
- if not version or version["version"] != 2:
35
+ if not version or version["version"] != 3:
36
36
  errors.append(f"unsupported initialization schema: {version['version'] if version else 'missing'}")
37
37
  if not connection.execute("SELECT 1 FROM projects WHERE id=?", (project_id,)).fetchone():
38
38
  errors.append("project identity is not registered in the database")
@@ -26,8 +26,8 @@ description: "Use after backend-tech-spec, before integration-verify. Generates
26
26
 
27
27
  ## 产出位置
28
28
 
29
- - `.planning/features/{功能名}/api-call-guide.md`
30
- - `.planning/features/{功能名}/api-call-guide.meta.json`
29
+ - `.devflow/planning/features/{功能名}/api-call-guide.md`
30
+ - `.devflow/planning/features/{功能名}/api-call-guide.meta.json`
31
31
 
32
32
  `api-call-guide.meta.json` 必须包含:
33
33
 
@@ -44,8 +44,8 @@ description: "Use after backend-tech-spec, before integration-verify. Generates
44
44
 
45
45
  ## 输入
46
46
 
47
- - `.planning/features/{功能名}/api-contract.md` — **API 签名唯一权威源**
48
- - `.planning/features/{功能名}/后端技术方案.md` — 后端实现细节和 seam 位置
47
+ - `.devflow/planning/features/{功能名}/api-contract.md` — **API 签名唯一权威源**
48
+ - `.devflow/planning/features/{功能名}/后端技术方案.md` — 后端实现细节和 seam 位置
49
49
 
50
50
  ## 核心原则
51
51
 
@@ -24,17 +24,17 @@ description: "Use after requirement-baseline, before dual-track fork. Defines sh
24
24
 
25
25
  ## 产出位置
26
26
 
27
- - `.planning/features/{功能名}/api-contract.md`
28
- - `.planning/features/{功能名}/api-contract.meta.json`
27
+ - `.devflow/planning/features/{功能名}/api-contract.md`
28
+ - `.devflow/planning/features/{功能名}/api-contract.meta.json`
29
29
 
30
30
  The meta file must also set `traceability_status: "passed"` only after every API design has been written to `traceability.json.designs` and `traceability_check.py --stage design` succeeds; otherwise set `failed` and do not advance.
31
31
 
32
32
  ## 输入
33
33
 
34
- - `.planning/requirements/baseline.md` — 需求基线(FP/BR/BC)
35
- - `.planning/navigation/INDEX.md` 和相关 codebase navigation — 粗定位已有接口
36
- - `.planning/code-index/`(如存在)— 查询已有 route/handler/API symbol 与 `routes_to` / `calls` 关系,确认接口复用和冲突
37
- - `.planning/requirements/{feature}/traceability.json` — 每个接口必须回指它的 `REQ-*`,不能只写 FP 标题
34
+ - `.devflow/planning/requirements/baseline.md` — 需求基线(FP/BR/BC)
35
+ - `.devflow/planning/navigation/INDEX.md` 和相关 codebase navigation — 粗定位已有接口
36
+ - `.devflow/planning/code-index/`(如存在)— 查询已有 route/handler/API symbol 与 `routes_to` / `calls` 关系,确认接口复用和冲突
37
+ - `.devflow/planning/requirements/{feature}/traceability.json` — 每个接口必须回指它的 `REQ-*`,不能只写 FP 标题
38
38
 
39
39
  使用 code-index 时,必须回读 `evidence_path:evidence_line` 附近源码后再把既有接口写入契约;不得只凭 Markdown navigation 或 relation 摘要判断。
40
40
 
@@ -46,7 +46,7 @@ The meta file must also set `traceability_status: "passed"` only after every API
46
46
  4. **负载职责明确** — 事务命令、运营查询和统计查询不得在同一个接口语义中混写;统计查询必须引用已确认的 `METRIC-*`,并在响应中约定 `as_of`/新鲜度语义或明确强一致依据。
47
47
  5. **数据模型共享** — 核心业务实体定义在这里,前后端共用一个数据模型
48
48
  6. **切片对齐** — 若 baseline 包含 `SL-*`,先读取 `skill://workflow-pipeline/references/slice-safety-guide.md`,只为当前执行切片定义 API。后置切片接口不得提前进入契约。
49
- 7. **既有接口优先查事实索引** — 当 `.planning/code-index/` 存在时,先用 Symbol/Relation 定位候选接口、调用方和处理器,再读取源码证据;缺失或过期时再按 navigation 和 `rg` 兜底。
49
+ 7. **既有接口优先查事实索引** — 当 `.devflow/planning/code-index/` 存在时,先用 Symbol/Relation 定位候选接口、调用方和处理器,再读取源码证据;缺失或过期时再按 navigation 和 `rg` 兜底。
50
50
 
51
51
  ## 可测试 API 契约(强制)
52
52
 
@@ -182,7 +182,7 @@ The meta file must also set `traceability_status: "passed"` only after every API
182
182
  - [ ] 每个涉及 API 的 FP 至少映射到一个接口
183
183
  - [ ] 若存在 `SL-*`,每个接口都标注当前 Slice ID,且未包含后置切片接口
184
184
  - [ ] 每个接口有完整的请求/响应结构
185
- - [ ] 若 `.planning/code-index/` 存在,已有接口复用/冲突判断已查询 code-index 并回读源码 evidence;未使用时已说明原因
185
+ - [ ] 若 `.devflow/planning/code-index/` 存在,已有接口复用/冲突判断已查询 code-index 并回读源码 evidence;未使用时已说明原因
186
186
  - [ ] 核心数据模型已定义字段和类型
187
187
  - [ ] 没有包含实现细节(SQL、表结构、代码片段)
188
188
  - [ ] meta.json 中 `endpoint_count` 已记录接口总数
@@ -27,14 +27,14 @@ orchestrator 通过以下方式检测是否需要触发本 skill:
27
27
 
28
28
  ## 输入
29
29
 
30
- - `.planning/features/{功能名}/api-contract.md` — 已有 API 契约
31
- - `.planning/features/{功能名}/前端技术方案.md` — 刚刚完成的前端方案
32
- - `.planning/features/{功能名}/UI-SPEC.md` — UI 设计规范
30
+ - `.devflow/planning/features/{功能名}/api-contract.md` — 已有 API 契约
31
+ - `.devflow/planning/features/{功能名}/前端技术方案.md` — 刚刚完成的前端方案
32
+ - `.devflow/planning/features/{功能名}/UI-SPEC.md` — UI 设计规范
33
33
 
34
34
  ## 产出
35
35
 
36
- - `.planning/features/{功能名}/api-supplement-requests.md`
37
- - `.planning/features/{功能名}/api-supplement-requests.meta.json`
36
+ - `.devflow/planning/features/{功能名}/api-supplement-requests.md`
37
+ - `.devflow/planning/features/{功能名}/api-supplement-requests.meta.json`
38
38
 
39
39
  即使没有 API 补充需求,也要生成 no-op meta:
40
40
 
@@ -24,7 +24,7 @@ description: "Use after API contract and before frontend/backend technical speci
24
24
  - `recommendation_option_id` 是建议,不是自动决策。
25
25
  5. 对 `full` 评估,提交 `risk_type: architecture_option_risk` 的 `RISK` candidate,连接 `DECISION/WSH/WLC → RISK`,relation 为 `has_architecture_risk`。必须写失败模式、影响、处理、处理方式、负责人和复核条件。
26
26
  6. 只用 `devflow_requirement_graph(action="confirm")` 确认 WSH/WLC、架构 DECISION 和架构 RISK。Core 必须展示确认对话;确认方案比较时,用户确认的是显示的 `recommendation_option_id`,确认风险时只确认处理责任,不宣称生产风险已消失。
27
- 7. 调用 `devflow_architecture_brief(action="render")` 生成 `.planning/features/{feature}/architecture-brief.md` 及 meta。不得手写或补写简报正文。
27
+ 7. 调用 `devflow_architecture_brief(action="render")` 生成 `.devflow/planning/features/{feature}/architecture-brief.md` 及 meta。不得手写或补写简报正文。
28
28
 
29
29
  ## 不变量
30
30