@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
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: workflow-pipeline
3
- description: Use when running or resuming the full .planning delivery pipeline from requirements through implementation, frozen acceptance tests, and Devflow release closeout.
3
+ description: Use when running or resuming the full .devflow/planning delivery pipeline from requirements through implementation, frozen acceptance tests, and Devflow release closeout.
4
4
  ---
5
5
 
6
6
  <objective>
@@ -49,7 +49,7 @@ pipeline 本身不包含执行规则——所有门禁、CP 协议、失败分
49
49
  | 80 | execute | 代码执行 |
50
50
  | 84 | code-index-refresh | 刷新机器代码索引并审查 |
51
51
  | 85 | code-review | 代码审查(完成标准验证) |
52
- | 86 | generate-mainflow-cases | 主流程自动化用例生成 |
52
+ | 86 | human-acceptance | 人工验收与开发者同步 |
53
53
  | 88 | run-acceptance-tests | 冻结 TC 验收执行 |
54
54
  | 100 | release-closeout | 验收通过后的版本收口与里程碑归档 |
55
55
 
@@ -60,6 +60,8 @@ pipeline 本身不包含执行规则——所有门禁、CP 协议、失败分
60
60
 
61
61
  双轨制原则:API 契约是分叉前的共同事实,`integration-verify` 是合并前的强门禁。单轨只产出局部轨道文档,不代表完整交付。
62
62
 
63
+ `workflow-generate-mainflow-cases` 不是独立 workflow step,而是 `run-acceptance-tests` 绑定阶段的组成部分:对执行面为 `ui` / `api_flow` 且绑定为 `automated` 的 TC,必须先生成 v1 DSL 并经 `devflow_approval` 批准执行计划,否则该 TC 保持 blocked。人工 TC 结果同样只经 `human_result` 批准计入聚合门禁。
64
+
63
65
  如果提供了需求文档但未指定功能名,从文档标题自动提取功能名。
64
66
 
65
67
  ## 1. 需求入口前置路由
@@ -97,11 +99,11 @@ devflow_state(action="inspect")
97
99
  | `blocked` | 将阻塞原因报告给用户 |
98
100
  | `workflow_complete` | 报告完成,流程结束 |
99
101
 
100
- **降级策略**:`.planning/STATE.md` 是唯一规范状态源。如果 `inspect_state.rb` 不可用或 STATE 缺少 YAML front matter,报告主流程阻塞并提示运行 `init_workflow.rb --write`、`init_state.rb --write` 修复控制面;不要读取已废弃的 `.planning/pipeline-state.md` 作为状态来源。
102
+ **降级策略**:`.devflow/planning/STATE.md` 是唯一规范状态源。如果 `inspect_state.rb` 不可用或 STATE 缺少 YAML front matter,报告主流程阻塞并提示运行 `init_workflow.rb --write`、`init_state.rb --write` 修复控制面;不要读取已废弃的 `.devflow/planning/pipeline-state.md` 作为状态来源。
101
103
 
102
104
  ### 轨道参数传递
103
105
 
104
- `--track A` 或 `--track B` 参数会写入 `.planning/STATE.md` 的 `active_track` 字段。orchestrator 读取该字段后:
106
+ `--track A` 或 `--track B` 参数会写入 `.devflow/planning/STATE.md` 的 `active_track` 字段。orchestrator 读取该字段后:
105
107
 
106
108
  - **active_track: A** → 只路由 Track A 允许步骤,Track A 完成后以 `track_scope_complete` 阻断,不进入完整交付。
107
109
  - **active_track: B** → 新需求从完整需求主链开始;前端设计步骤依赖 `api-contract` 完成。Track B 完成后以 `track_scope_complete` 阻断。
@@ -1,154 +1,82 @@
1
1
  # 研发交付全链路流程
2
2
 
3
+ `feature-development.yaml` 是步骤拓扑、checkpoint 和失败分支的规范来源。本文档只做人类可读投影;两者不一致时,以 workflow YAML 及 `.devflow/planning/STATE.md` 为准。
4
+
5
+ ## 规范链路
6
+
7
+ ```text
8
+ workflow-pipeline
9
+ → devflow_state(action="inspect")
10
+ → 缺少项目上下文时执行 workflow-project-context
11
+ → requirement-triage
12
+ → requirement-wayfinder
13
+ → domain-modeling
14
+ → requirement-feasibility-review
15
+ → requirement-baseline
16
+ → CP-1:需求基线确认
17
+ → wireframe-proposal
18
+ → wireframe-validate
19
+ → wireframe-render
20
+ → wireframe-review
21
+ → CP-WIREFRAME:线框确认
22
+ → api-contract
23
+ → CP-API:API 契约确认
24
+ → architecture-feasibility
25
+ → 双轨设计
26
+ ├─ Track A: backend-tech-spec → api-call-guide
27
+ └─ Track B: ui-spec → feature-breakdown → frontend-tech-spec → api-supplement
28
+ → integration-verify
29
+ → CP-2:双轨合并方案确认
30
+ → acceptance-test-design(编码前产生候选 TC-*)
31
+ → change-plan(任务绑定候选 TC-*)
32
+ → CP-3:确认变更计划并冻结验收套件
33
+ → phase-structure
34
+ → execute(代码与 TDD 证据)
35
+ → code-index-refresh
36
+ → code-review
37
+ → human-acceptance(人工 TC、问题反馈和开发者同步)
38
+ → run-acceptance-tests(执行冻结 TC-*)
39
+ → CP-4:验收结果确认
40
+ → release-closeout
41
+ → 完成
3
42
  ```
4
- workflow-pipeline 启动
5
- │
6
- ▼
7
- ┌─────────────────────────────────────┐
8
- │ Step 0: 断点检测 │
9
- │ 读取 STATE.md + inspector 恢复进度 │
10
- └─────────────────────────────────────┘
11
- │
12
- ▼
13
- ┌─────────────────────────────────────┐
14
- │ Step 1: 项目初始化 │
15
- │ workflow-project-context │
16
- │ 输出: .planning/PROJECT.md │
17
- └─────────────────────────────────────┘
18
- │
19
- ▼
20
- ┌─────────────────────────────────────┐
21
- │ Step 2: 需求完善 │
22
- │ workflow-requirement-baseline │
23
- │ 输出: .planning/requirements/baseline.md │
24
- │ 门禁: 冲突/复用/过度工程/替代方案已拍板 │
25
- └──────────────┬──────────────────────┘
26
- │ ↑
27
- ▼ │ 用户拒绝
28
- ┌─────────────────────────────────────┐
29
- │ 🔴 CP-1: 需求基线人工确认 │
30
- │ ask 强制暂停 │
31
- │ 确认: FP/BR/BC 准确完整 │
32
- └──────────────┬──────────────────────┘
33
- │ 用户确认
34
- ▼
35
- ┌─────────────────────────────────────┐
36
- │ Step 3: 三文档并行生成 │
37
- │ │
38
- │ ┌──────────┐ ┌──────────┐ ┌──────┐ │
39
- │ │ feature- │ │frontend- │ │back- │ │
40
- │ │breakdown │ │tech-spec │ │end- │ │
41
- │ │ │ │ │ │tech- │ │
42
- │ │ 功能点 │ │ 前端方案 │ │spec │ │
43
- │ │ 梳理.md │ │ .md │ │后端 │ │
44
- │ └──────────┘ └──────────┘ └──────┘ │
45
- └─────────────────────────────────────┘
46
- │ ↑
47
- ▼ │ 用户拒绝
48
- ┌─────────────────────────────────────┐
49
- │ 🟡 CP-2: 技术方案人工确认 │
50
- │ ask 强制暂停 │
51
- │ --no-review 可跳过 │
52
- │ 确认: DB/API/架构决策合理可行 │
53
- └──────────────┬──────────────────────┘
54
- │ 用户确认
55
- ▼
56
- ┌─────────────────────────────────────┐
57
- │ Step 4: 变更清单 │
58
- │ workflow-change-plan │
59
- │ 输入: 前端+后端技术方案 │
60
- │ 输出: .planning/features/{功能名}/变更清单.md │
61
- └──────────────┬──────────────────────┘
62
- │ ↑
63
- ▼ │ 用户拒绝
64
- ┌─────────────────────────────────────┐
65
- │ 🔴 CP-3: 变更清单人工确认 │
66
- │ ask 强制暂停 │
67
- │ 不可跳过 │
68
- │ 确认: DDL/代码/上线步骤可执行 │
69
- └──────────────┬──────────────────────┘
70
- │ 用户确认
71
- ▼
72
- ┌─────────────────────────────────────┐
73
- │ Step 4.5: Phase 结构初始化 │
74
- │ phase-init │
75
- │ 创建 ROADMAP.md + .planning/phases/ │
76
- │ 桥接 workflow 产物到 phase 结构 │
77
- └─────────────────────────────────────┘
78
- │
79
- ▼
80
- ┌─────────────────────────────────────┐
81
- │ Step 5: 代码执行 │
82
- │ workflow-execute-phase │
83
- │ Wave1: DDL → Wave2: Domain/Service │
84
- │ Wave3: API → Wave4: 前端 → Wave5: 联调│
85
- │ 输出: SUMMARY.md 写入 phases/ 目录 │
86
- └──────────────┬──────────────────────┘
87
- │ ↑
88
- ▼ │ 修复后重试
89
- ┌─────────────────────────────────────┐
90
- │ Step 5.5: 代码索引刷新 │
91
- │ workflow-code-index │
92
- │ 刷新 Symbol/Relation/Call Graph │
93
- │ 输出 .planning/code-index/ + AUDIT │
94
- └──────────────┬──────────────────────┘
95
- │ ↑
96
- ▼ │ 索引审查失败
97
- ┌─────────────────────────────────────┐
98
- │ Step 5.6: 代码审查 + 主流程用例 │
99
- │ code-review + generate-mainflow-cases│
100
- │ 基于 code-index + 源码 evidence │
101
- └──────────────┬──────────────────────┘
102
- │ ↑
103
- ▼ │ 审查失败/用例生成失败
104
- ┌─────────────────────────────────────┐
105
- │ Step 6: 需求验收测试执行 │
106
- │ workflow-run-acceptance-tests │
107
- │ 执行冻结的 TC-* │
108
- │ 失败/阻塞 → 修复 → 重跑 │
109
- └──────────────┬──────────────────────┘
110
- │ ↑
111
- ▼ │ 用户拒绝
112
- ┌─────────────────────────────────────┐
113
- │ 🔴 CP-4: 验收结果确认 │
114
- │ ask 强制暂停 │
115
- │ 不可跳过 │
116
- │ 确认: TC-* 全部通过,允许版本收口 │
117
- └──────────────┬──────────────────────┘
118
- │ 用户确认
119
- ▼
120
- ┌─────────────────────────────────────┐
121
- │ Step 7: 版本收口与里程碑归档 │
122
- │ workflow-release-closeout │
123
- │ 校验 TC/code-index → 归档 → 更新状态 │
124
- └─────────────────────────────────────┘
125
- │
126
- ▼
127
- 完成 ✓
43
+
44
+ `workflow-generate-mainflow-cases` 不参与独立排序,而是 `run-acceptance-tests` 绑定阶段的组成部分:automated 的 ui / api_flow TC 需要先生成 v1 DSL 并批准执行计划。人工验收结果(经 `human_result` 批准)会与自动执行结果聚合,验收失败是硬门禁。
45
+
46
+ ## 双轨与 Checkpoint 规则
47
+
48
+ - 双轨设计支持时最多并行两个步骤;不支持时按 workflow 声明顺序串行降级。
49
+ - `CP-1`、`CP-WIREFRAME`、`CP-API`、`CP-2`、`CP-3` 和 `CP-4` 都会暂停链路,等待用户审查当前产物。
50
+ - `--no-review` 仅保留参数位,不会跳过 `CP-2`;`integration-verify` Merge Gate 不可跳过。
51
+ - 用户拒绝或提出修改意见时,流程保持在当前步骤,不会自动推进。
52
+ - 单轨 `--track A` / `--track B` 只产出对应轨道文档,不会越过 `integration-verify` 进入完整实施。
53
+
54
+ ## 失败分支
55
+
56
+ `run-acceptance-tests` 失败、阻塞或验收结果被拒绝时,进入 `acceptance-failed-remediation`:
57
+
58
+ ```text
59
+ 验收失败 → 诊断/修复 → 刷新代码索引 → 重跑原冻结 TC-* → CP-4
128
60
  ```
129
61
 
130
62
  ## 断点续接
131
63
 
132
- 每次启动时,workflow-pipeline 通过 `devflow_state(action="inspect")` 读取规范状态文件 `.planning/STATE.md`,由 inspector 返回当前动作和下一节点:
64
+ Pipeline 通过 `devflow_state(action="inspect")` 读取 `.devflow/planning/STATE.md`,并根据 inspector 返回的 `action` 路由到下一步、当前步骤、checkpoint、失败分支或并行窗口。
133
65
 
134
- ```
135
- 1. 校验 `.planning/STATE.md` 的 YAML front matter、workflow 配置和 artifact registry
136
- 2. 根据 inspector 返回的 `action` 路由到下一步、当前步骤、确认、失败分支或并行窗口
137
- 3. 如果控制面缺失或校验失败,报告阻塞并提示运行 `init_workflow.rb --write`、`init_state.rb --write` 修复
138
- 4. `.planning/pipeline-state.md` 已废弃,不作为恢复状态来源
139
- ```
66
+ 1. 校验 `STATE.md` 的 YAML front matter、workflow 配置和 artifact registry。
67
+ 2. 如果控制面缺失或校验失败,报告阻塞并通过专用 Core 恢复链路处理。
68
+ 3. `.devflow/planning/pipeline-state.md` 已废弃,不作为恢复状态来源。
140
69
 
141
- ## 简化流程门禁
70
+ ## 需求基线门禁
142
71
 
143
- 只有单文件/单方法/单文档、无跨层影响、无未拍板需求决策时,才允许向用户提议简化流程。用户未明确同意时,继续完整 pipeline。
72
+ `requirement-baseline` 完成后必须检查:
144
73
 
145
- ## 需求拍板门禁
74
+ - `.devflow/planning/requirements/baseline.md` 中的待确认事项、反向审视与下游输入契约。
75
+ - `.devflow/planning/requirements/baseline.meta.json` 的 `review_status` 必须为 `passed`。
76
+ - `blocking_pending_count`、`critical_image_missing_count`、`challenge_pending_count` 和 `code_reality_missing_count` 必须全为 `0`。
146
77
 
147
- Step 2 之后必须检查 `.planning/requirements/baseline.md`:
78
+ 影响 scope、语义、归属、兼容性或实现成本的未确认项是阻塞项,不得将其当作已确认范围传入技术方案或变更清单。
148
79
 
149
- - `待确认事项`
150
- - `反向审视与用户拍板`
151
- - `下游输入契约`
152
- - `.planning/requirements/baseline.meta.json` 中 `review_status` 必须为 `passed`,且 `blocking_pending_count`、`critical_image_missing_count`、`challenge_pending_count`、`code_reality_missing_count` 必须全为 0
80
+ ## 简化流程
153
81
 
154
- 影响 scope、语义、归属、兼容性或实现成本的未确认项是阻塞项。不能把它们传入技术方案或变更清单当成已确认范围。
82
+ 只有单文件、单方法或单文档变更,且无跨层影响、无未拍板需求决策时,才能向用户提议简化流程。用户未明确同意时,继续完整 Pipeline。
@@ -13,7 +13,7 @@ This skill is the project-context interface wrapper. Prefer using it from a dele
13
13
 
14
14
  The control database under the product data directory is the only machine authority for initialization. `.devflow/project.json` locates project identity. Workspaces, scan configurations, input snapshots, runs, facts, evidence, index references, current pointers, document jobs, and authority revisions are stored through `devflow_project_context`.
15
15
 
16
- Never determine current initialization state from Markdown, file mtimes, or duplicated run markers. Never write `.planning/STATE.md`, execution contracts, workflow artifacts, requirements, approvals, or user instruction files.
16
+ Never determine current initialization state from Markdown, file mtimes, or duplicated run markers. Never write `.devflow/planning/STATE.md`, execution contracts, workflow artifacts, requirements, approvals, or user instruction files.
17
17
 
18
18
  Human-readable files are projections. Existing unmanaged files are preserved; the generator writes a `.devflow-pending` sibling when it cannot prove that the current file is its previous output.
19
19
 
@@ -22,12 +22,12 @@ Human-readable files are projections. Existing unmanaged files are preserved; th
22
22
  Before choosing a tool action, inspect the generated external contract when it exists:
23
23
 
24
24
  ```text
25
- .planning/interface-index.json
26
- .planning/knowledge-index.json
27
- .context/knowledge/interfaces/
25
+ .devflow/planning/interface-index.json
26
+ .devflow/planning/knowledge-index.json
27
+ .devflow/context/knowledge/interfaces/
28
28
  ```
29
29
 
30
- `.planning/interface-index.json` is the machine-readable contract for external AI/tool callers. It lists callable interfaces, actions, request shapes, response shapes, read/write boundaries, and approval tier. `.context/knowledge/interfaces/` is the human-readable projection of the same contract. `.planning/knowledge-index.json` connects interface nodes, source documents, knowledge pages, code facts, and reserved BUG/FIX/INCIDENT/LESSON nodes.
30
+ `.devflow/planning/interface-index.json` is the machine-readable contract for external AI/tool callers. It lists callable interfaces, actions, request shapes, response shapes, read/write boundaries, and approval tier. `.devflow/context/knowledge/interfaces/` is the human-readable projection of the same contract. `.devflow/planning/knowledge-index.json` connects interface nodes, source documents, knowledge pages, code facts, and reserved BUG/FIX/INCIDENT/LESSON nodes.
31
31
 
32
32
  If the contract files do not exist yet, use the rules in this skill to run initialization and then report that the interface contract was created. If they exist, do not invent action shapes from memory; follow the contract unless it conflicts with this skill's safety rules.
33
33
 
@@ -44,10 +44,10 @@ Use a delegated sub-agent for non-trivial project-context work:
44
44
 
45
45
  The delegated sub-agent must:
46
46
 
47
- 1. read `.planning/interface-index.json` when available;
47
+ 1. read `.devflow/planning/interface-index.json` when available;
48
48
  2. choose the narrowest safe action;
49
49
  3. call `devflow_project_context` or `devflow_skill_script` only through the documented action shape;
50
- 4. read `.planning/knowledge-index.json` and `.planning/code-index/` only when needed for evidence;
50
+ 4. read `.devflow/planning/knowledge-index.json` and `.devflow/planning/code-index/` only when needed for evidence;
51
51
  5. return a result pack to the parent agent.
52
52
 
53
53
  The parent agent should not directly compose multi-step initialization calls unless the task is a simple status read or the delegated agent path is unavailable.
@@ -59,7 +59,7 @@ The parent agent should not directly compose multi-step initialization calls unl
59
59
  | `initialize-project` | `workspaces` → `config` → `scan` → `project-context-db-validate` | Full mode by default; static only; no workflow state mutation. |
60
60
  | `query-facts` | `query` | Requires a fixed `snapshotId`; follow pagination. |
61
61
  | `query-api` | `query(kind="api")` plus code-index readback when implementation detail is needed | Do not scan just to answer from an existing fresh snapshot. |
62
- | `query-knowledge` | read `knowledge-index.json` and relevant `.context/knowledge/*` | Use `query` only for machine facts. |
62
+ | `query-knowledge` | read `knowledge-index.json` and relevant `.devflow/context/knowledge/*` | Use `query` only for machine facts. |
63
63
  | `query-bug-knowledge` | read reserved/actual BUG/FIX/INCIDENT/LESSON nodes, then query/diff if code facts are needed | Do not invent BUG records. |
64
64
  | `refresh-after-code-change` | `scan` → optional `diff` | Use a new request ID. Compare old and new snapshots when impact is requested. |
65
65
  | `refresh-after-bug-fix` | verify BUG/FIX/LESSON docs if present → `scan` → optional `diff` | `scan` refreshes facts; it does not fix the bug. |
@@ -85,7 +85,7 @@ Every delegated project-context result must return this structure in prose or JS
85
85
  - snapshotId
86
86
  - codeIndexGeneration
87
87
  - sourceSnapshot
88
- - interfaceContract: .planning/interface-index.json if used
88
+ - interfaceContract: .devflow/planning/interface-index.json if used
89
89
 
90
90
  ## Evidence
91
91
  - facts, knowledge pages, code facts, document paths, or diagnostics used
@@ -129,10 +129,10 @@ Do not infer move/copy identity from timestamps or similar directory names.
129
129
 
130
130
  ## Legacy input
131
131
 
132
- Legacy `.planning` or `.context` files are never read as current machine facts. On an explicit import request, register selected files as historical material in shadow mode:
132
+ Legacy `.devflow/planning` or `.devflow/context` files are never read as current machine facts. On an explicit import request, register selected files as historical material in shadow mode:
133
133
 
134
134
  ```text
135
- devflow_project_context(action="import-legacy", sources=[".planning/PROJECT.md"], requestId="<stable-request-id>")
135
+ devflow_project_context(action="import-legacy", sources=[".devflow/planning/PROJECT.md"], requestId="<stable-request-id>")
136
136
  ```
137
137
 
138
138
  Imported prose remains `historical`, `observed=false`, and `approved=false`. Do not import requirements or design approval merely because text looks final.
@@ -161,11 +161,11 @@ The scan freezes the complete file manifest, including uncommitted and untracked
161
161
 
162
162
  Python uses AST scopes. TypeScript, JavaScript, and Ruby use conservative structured scopes with declared inference limits. Other languages use file-level generic extraction. Declarations are not calls. Receiver or dynamic calls stay unresolved unless a supported resolver proves a target. Name uniqueness alone is at most an inference and generic text never becomes an exact method edge.
163
163
 
164
- Every full scan publishes an immutable generation under `.planning/code-index/snapshots/<generation>/`; root index files are compatibility projections. Current queries reject stale committed, modified, deleted, or newly added input. Historical queries name a generation. Relation traversal is cycle-safe and exposes depth, result limits, uncertainty, and truncation.
164
+ Every full scan publishes an immutable generation under `.devflow/planning/code-index/snapshots/<generation>/`; root index files are compatibility projections. Current queries reject stale committed, modified, deleted, or newly added input. Historical queries name a generation. Relation traversal is cycle-safe and exposes depth, result limits, uncertainty, and truncation.
165
165
 
166
166
  ## Human-readable documents
167
167
 
168
- Program-owned projections are `.planning/PROJECT.md`, `.planning/toolchain.md`, `.planning/navigation/INDEX.md`, `.planning/navigation/{codebase}.md`, `.planning/rules/INDEX.md`, and `.planning/initialization/report.md`.
168
+ Program-owned projections are `.devflow/planning/PROJECT.md`, `.devflow/planning/toolchain.md`, `.devflow/planning/navigation/INDEX.md`, `.devflow/planning/navigation/{codebase}.md`, `.devflow/planning/rules/INDEX.md`, and `.devflow/planning/initialization/report.md`.
169
169
 
170
170
  Template mode is an explicit no-model fallback. A configured low-tier organizer may improve prose, but the program owns exact paths, commands, counts, tables, unknowns, and completion status. Model output containing internal identifiers, database structure, hashes, code blocks, or unsupported machine detail is rejected. Document failure never invalidates an already published data snapshot; retry `generate-docs` for that snapshot.
171
171
 
@@ -209,7 +209,7 @@ Run the database validator with identifiers returned by the scan:
209
209
  devflow_skill_script(script="project-context-db-validate", args=["--database", "<control.db>", "--project-id", "<project-id>", "--workspace-id", "<workspace-id>", "--run-id", "<run-id>"])
210
210
  ```
211
211
 
212
- The `--database` value must come from `devflow_project_context(action="scan").database` or the loaded project context `controlDatabasePath`. Never guess `./control.db`, `.devflow/control.db`, `.planning/code-index/index.sqlite`, an OMP agent database, or any SQLite found by searching user directories. Code-index SQLite is not the initialization control database and does not contain the initialization `schema_meta` table.
212
+ The `--database` value must come from `devflow_project_context(action="scan").database` or the loaded project context `controlDatabasePath`. Never guess `./control.db`, `.devflow/control.db`, `.devflow/planning/code-index/index.sqlite`, an OMP agent database, or any SQLite found by searching user directories. Code-index SQLite is not the initialization control database and does not contain the initialization `schema_meta` table.
213
213
 
214
214
  Completion requires a stable immutable input, matching context snapshot, accounted required categories, evidence for observed facts, a registered immutable index in full mode, revision-safe pointer publication, and separate document statuses. Workflow `STATE` and other non-initialization authorities must remain unchanged.
215
215
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Before any operation, read these files in order:
6
6
 
7
- 1. `.planning/rules/INDEX.md` — project rule index (gate entry point)
8
- 2. `.context/spec/index.md` — design and codebase specification entry
7
+ 1. `.devflow/planning/rules/INDEX.md` — project rule index (gate entry point)
8
+ 2. `.devflow/context/spec/index.md` — design and codebase specification entry
9
9
  {{#if codebase_count}}
10
- 3. `.planning/navigation/INDEX.md` — codebase registry and navigation files
11
- 4. `.planning/code-index/` — machine code facts generated by `workflow-code-index` during full initialization unless fast mode skipped it
10
+ 3. `.devflow/planning/navigation/INDEX.md` — codebase registry and navigation files
11
+ 4. `.devflow/planning/code-index/` — machine code facts generated by `workflow-code-index` during full initialization unless fast mode skipped it
12
12
  {{/if}}
13
13
 
14
14
  ## Codebases
@@ -20,6 +20,6 @@ This project has {{codebase_count}} codebase(s):
20
20
 
21
21
  ## Key Directories
22
22
 
23
- - `.planning/` — workflow state, navigation, rules, execution contract
24
- - `.context/spec/` — design and codebase specifications (MUST/SHOULD/OBSERVED rules)
25
- - `.context/lessons/` — accumulated project experience and regression prevention
23
+ - `.devflow/planning/` — workflow state, navigation, rules, execution contract
24
+ - `.devflow/context/spec/` — design and codebase specifications (MUST/SHOULD/OBSERVED rules)
25
+ - `.devflow/context/lessons/` — accumulated project experience and regression prevention
@@ -1,13 +1,13 @@
1
1
  # {{name}} Backend Codebase Specification
2
2
 
3
- This file describes project-instance rules for one backend/service codebase. Stack-level defaults are in `.context/spec/stacks/{{stack_key}}.md`.
3
+ This file describes project-instance rules for one backend/service codebase. Stack-level defaults are in `.devflow/context/spec/stacks/{{stack_key}}.md`.
4
4
 
5
5
  ## Version
6
6
 
7
7
  - Generated at: {{generated_at}}
8
8
  - Codebase: `{{name}}`
9
- - Navigation: `.planning/navigation/{{name}}.md`
10
- - Stack spec: `.context/spec/stacks/{{stack_key}}.md`
9
+ - Navigation: `.devflow/planning/navigation/{{name}}.md`
10
+ - Stack spec: `.devflow/context/spec/stacks/{{stack_key}}.md`
11
11
  - Source manifests: {{manifest_sources}}
12
12
  - Dependency fingerprint: {{dependency_fingerprint}}
13
13
  - Regenerate when:
@@ -53,7 +53,7 @@ This file describes project-instance rules for one backend/service codebase. Sta
53
53
 
54
54
  ## Explicit Rules
55
55
 
56
- Rules from `AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.context/spec/`, or equivalent files.
56
+ Rules from `AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.devflow/context/spec/`, or equivalent files.
57
57
 
58
58
  - {{explicit_rule}}
59
59
 
@@ -1,13 +1,13 @@
1
1
  # {{name}} Frontend Codebase Specification
2
2
 
3
- This file describes project-instance rules for one frontend codebase. Stack-level defaults are in `.context/spec/stacks/{{stack_key}}.md`.
3
+ This file describes project-instance rules for one frontend codebase. Stack-level defaults are in `.devflow/context/spec/stacks/{{stack_key}}.md`.
4
4
 
5
5
  ## Version
6
6
 
7
7
  - Generated at: {{generated_at}}
8
8
  - Codebase: `{{name}}`
9
- - Navigation: `.planning/navigation/{{name}}.md`
10
- - Stack spec: `.context/spec/stacks/{{stack_key}}.md`
9
+ - Navigation: `.devflow/planning/navigation/{{name}}.md`
10
+ - Stack spec: `.devflow/context/spec/stacks/{{stack_key}}.md`
11
11
  - Source manifests: {{manifest_sources}}
12
12
  - Dependency fingerprint: {{dependency_fingerprint}}
13
13
  - Regenerate when:
@@ -49,7 +49,7 @@ This file describes project-instance rules for one frontend codebase. Stack-leve
49
49
 
50
50
  ## Explicit Rules
51
51
 
52
- Rules from `AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.context/spec/`, or equivalent files.
52
+ Rules from `AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.devflow/context/spec/`, or equivalent files.
53
53
 
54
54
  - {{explicit_rule}}
55
55
 
@@ -147,7 +147,7 @@ Convention categories: Component hierarchy, Data flow (composable/store), Route
147
147
 
148
148
  ## Rule Sources
149
149
 
150
- See `.planning/rules/INDEX.md` for the full project rule index. This codebase's relevant rule files:
150
+ See `.devflow/planning/rules/INDEX.md` for the full project rule index. This codebase's relevant rule files:
151
151
 
152
152
  | Rule | Path | Status |
153
153
  |------|------|--------|
@@ -16,13 +16,13 @@ Generated during project initialization.
16
16
 
17
17
  ## Read Order
18
18
 
19
- 1. `.planning/rules/INDEX.md`
20
- 2. `.context/spec/index.md`
19
+ 1. `.devflow/planning/rules/INDEX.md`
20
+ 2. `.devflow/context/spec/index.md`
21
21
  3. Matching stack spec
22
22
  4. Matching codebase spec
23
23
  5. Applicable depth specs from the registry below
24
24
  6. Matching navigation file
25
- 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
25
+ 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
26
26
  8. Actual source files selected from navigation/spec/code-index evidence
27
27
 
28
28
  ## Depth Spec Registry
@@ -36,7 +36,7 @@ Generated during project initialization.
36
36
  ## Pending Templates
37
37
 
38
38
  Record discovered topics whose matching depth spec template is missing as `PENDING_TEMPLATE`.
39
- Mirror the same blocker in `.planning/STATE.md` front matter.
39
+ Mirror the same blocker in `.devflow/planning/STATE.md` front matter.
40
40
 
41
41
  ## Pending Confirmation
42
42
 
@@ -11,19 +11,19 @@ Generated during project initialization. This file is a registry and read-order
11
11
 
12
12
  Downstream skills must read rule sources in this order:
13
13
 
14
- 1. `.planning/rules/INDEX.md`
15
- 2. `.context/spec/index.md`
16
- 3. Matching `.context/spec/stacks/{stack_key}.md`
17
- 4. Matching `.context/spec/frontend|backend/{codebase}.md`
18
- 5. Matching `.context/spec/{domain}/index.md` and applicable depth specs
19
- 6. `.planning/navigation/{codebase}.md`
20
- 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
14
+ 1. `.devflow/planning/rules/INDEX.md`
15
+ 2. `.devflow/context/spec/index.md`
16
+ 3. Matching `.devflow/context/spec/stacks/{stack_key}.md`
17
+ 4. Matching `.devflow/context/spec/frontend|backend/{codebase}.md`
18
+ 5. Matching `.devflow/context/spec/{domain}/index.md` and applicable depth specs
19
+ 6. `.devflow/planning/navigation/{codebase}.md`
20
+ 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
21
21
  8. Actual source files
22
22
 
23
23
  Priority when rules conflict:
24
24
 
25
25
  1. User-explicit requirement
26
- 2. Explicit project rules (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.context/spec/`)
26
+ 2. Explicit project rules (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`, existing `.devflow/context/spec/`)
27
27
  3. Codebase spec
28
28
  4. Stack spec
29
29
  5. Code-inferred convention
@@ -32,13 +32,13 @@ Priority when rules conflict:
32
32
 
33
33
  | Stack Key | Spec | Codebases | Manifest Sources | Fingerprint |
34
34
  |-----------|------|-----------|------------------|-------------|
35
- | {{stack_key}} | `.context/spec/stacks/{{stack_key}}.md` | {{codebases}} | {{manifest_sources}} | {{fingerprint}} |
35
+ | {{stack_key}} | `.devflow/context/spec/stacks/{{stack_key}}.md` | {{codebases}} | {{manifest_sources}} | {{fingerprint}} |
36
36
 
37
37
  ## Codebase Specs
38
38
 
39
39
  | Codebase | Type | Navigation | Stack Key | Spec |
40
40
  |----------|------|------------|-----------|------|
41
- | {{name}} | {{type}} | `.planning/navigation/{{name}}.md` | {{stack_key}} | `.context/spec/{{domain}}/{{name}}.md` |
41
+ | {{name}} | {{type}} | `.devflow/planning/navigation/{{name}}.md` | {{stack_key}} | `.devflow/context/spec/{{domain}}/{{name}}.md` |
42
42
 
43
43
  ## Missing Or Pending
44
44
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Layer Model
4
4
 
5
- Each codebase has its own layer conventions documented in `.planning/navigation/{name}.md`. This section consolidates the layer rules that downstream skills must follow.
5
+ Each codebase has its own layer conventions documented in `.devflow/planning/navigation/{name}.md`. This section consolidates the layer rules that downstream skills must follow.
6
6
 
7
7
  {{#backend_codebases}}
8
8
  ### {{name}} ({{role}})
@@ -47,7 +47,7 @@ Tests can be written before code (TDD) or incrementally within the same task, bu
47
47
 
48
48
  All code tasks must pass three gates before marking complete:
49
49
  1. **Test gate**: task-level tests must be added/updated and pass (or skip classified as acceptable/needs-review).
50
- 2. **Spec Compliance gate**: every MUST rule from the relevant `.context/spec/` depth spec file must be satisfied or explicitly waived.
50
+ 2. **Spec Compliance gate**: every MUST rule from the relevant `.devflow/context/spec/` depth spec file must be satisfied or explicitly waived.
51
51
  3. **Verification Iron Law**: before claiming completion: IDENTIFY the verification command → RUN it → READ the output → VERIFY against expected results → ONLY THEN mark complete.
52
52
 
53
53
  For task-level test strategy requirements, see `workflow-execute-phase` "验证铁律" and `workflow-change-plan` "测试策略强制规则" and "跳过自动化测试分级".
@@ -7,34 +7,34 @@
7
7
  | Name | Path | Type | Role | Navigation | Scan Status |
8
8
  |------|------|------|------|------------|-------------|
9
9
  {{#codebases}}
10
- | {{name}} | {{path}} | {{type}} | {{role}} | `.planning/navigation/{{name}}.md` | {{scan_status}} |
10
+ | {{name}} | {{path}} | {{type}} | {{role}} | `.devflow/planning/navigation/{{name}}.md` | {{scan_status}} |
11
11
  {{/codebases}}
12
12
 
13
13
  ## Project Rule Package
14
14
 
15
- The project rule index is at `.planning/rules/INDEX.md`. Downstream skills should read it first, then use `.context/spec/index.md` to resolve stack/codebase specs and each domain index to resolve applicable depth specs before using codebase navigation files for coarse routing. Use `.planning/code-index/` before reading actual source evidence when source-level relation facts are needed; if fast mode skipped index generation, refresh it through `workflow-code-index` first or record the fallback.
15
+ The project rule index is at `.devflow/planning/rules/INDEX.md`. Downstream skills should read it first, then use `.devflow/context/spec/index.md` to resolve stack/codebase specs and each domain index to resolve applicable depth specs before using codebase navigation files for coarse routing. Use `.devflow/planning/code-index/` before reading actual source evidence when source-level relation facts are needed; if fast mode skipped index generation, refresh it through `workflow-code-index` first or record the fallback.
16
16
 
17
17
  | Rule Source | Path | Status |
18
18
  |-------------|------|--------|
19
- | Rules Index | `.planning/rules/INDEX.md` | {{rules_index_status}} |
20
- | Execution Contract | `.planning/execution-contract.md` | {{execution_contract_status}} |
21
- | Toolchain Contract | `.planning/toolchain.md` | {{toolchain_status}} |
22
- | Planning Lessons | `.planning/lessons/README.md` | {{lessons_status}} |
23
- | Context Spec Index | `.context/spec/index.md` | {{context_spec_index_status}} |
24
- | Stack Specs | `.context/spec/stacks/` | {{stack_specs_status}} |
25
- | Context Specs | `.context/spec/` | {{context_spec_status}} |
26
- | Code Index | `.planning/code-index/` | {{code_index_status}} |
27
- | Design Rule Pack | `.context/spec/design/` | {{design_rule_pack_status}} |
28
- | Context Workflow | `.context/workflow/` | {{context_workflow_status}} |
29
- | Context Lessons | `.context/lessons/README.md` | {{context_lessons_status}} |
19
+ | Rules Index | `.devflow/planning/rules/INDEX.md` | {{rules_index_status}} |
20
+ | Execution Contract | `.devflow/planning/execution-contract.md` | {{execution_contract_status}} |
21
+ | Toolchain Contract | `.devflow/planning/toolchain.md` | {{toolchain_status}} |
22
+ | Planning Lessons | `.devflow/planning/lessons/README.md` | {{lessons_status}} |
23
+ | Context Spec Index | `.devflow/context/spec/index.md` | {{context_spec_index_status}} |
24
+ | Stack Specs | `.devflow/context/spec/stacks/` | {{stack_specs_status}} |
25
+ | Context Specs | `.devflow/context/spec/` | {{context_spec_status}} |
26
+ | Code Index | `.devflow/planning/code-index/` | {{code_index_status}} |
27
+ | Design Rule Pack | `.devflow/context/spec/design/` | {{design_rule_pack_status}} |
28
+ | Context Workflow | `.devflow/context/workflow/` | {{context_workflow_status}} |
29
+ | Context Lessons | `.devflow/context/lessons/README.md` | {{context_lessons_status}} |
30
30
  | Root Instructions | `AGENTS.md` / `CLAUDE.md` | {{root_instructions_status}} |
31
31
 
32
32
  ## Downstream Read Contract
33
33
 
34
34
  | Skill | Should Read |
35
35
  |-------|-------------|
36
- | `workflow-requirement-baseline` | `.planning/PROJECT.md`, this INDEX.md, relevant codebase navigation files, and `.planning/code-index/` for source-level relation checks |
37
- | `workflow-feature-breakdown` | `.planning/PROJECT.md`, this INDEX.md, and codebase navigation files for codebases relevant to the feature |
38
- | `workflow-frontend-tech-spec` | `.planning/rules/INDEX.md` → `.context/spec/index.md` → matching stack spec → matching frontend codebase spec → frontend domain index/applicable depth specs → this INDEX.md/navigation → code-index → source evidence |
39
- | `workflow-backend-tech-spec` | `.planning/rules/INDEX.md` → `.context/spec/index.md` → matching stack spec → matching backend codebase spec → backend domain index/applicable depth specs → this INDEX.md/navigation → code-index → source evidence |
40
- | `workflow-change-plan` | `.planning/rules/INDEX.md` + `.context/spec/index.md` for task gates, this INDEX.md for output locations and source navigation |
36
+ | `workflow-requirement-baseline` | `.devflow/planning/PROJECT.md`, this INDEX.md, relevant codebase navigation files, and `.devflow/planning/code-index/` for source-level relation checks |
37
+ | `workflow-feature-breakdown` | `.devflow/planning/PROJECT.md`, this INDEX.md, and codebase navigation files for codebases relevant to the feature |
38
+ | `workflow-frontend-tech-spec` | `.devflow/planning/rules/INDEX.md` → `.devflow/context/spec/index.md` → matching stack spec → matching frontend codebase spec → frontend domain index/applicable depth specs → this INDEX.md/navigation → code-index → source evidence |
39
+ | `workflow-backend-tech-spec` | `.devflow/planning/rules/INDEX.md` → `.devflow/context/spec/index.md` → matching stack spec → matching backend codebase spec → backend domain index/applicable depth specs → this INDEX.md/navigation → code-index → source evidence |
40
+ | `workflow-change-plan` | `.devflow/planning/rules/INDEX.md` + `.devflow/context/spec/index.md` for task gates, this INDEX.md for output locations and source navigation |