@runfusion/fusion 0.73.0-beta.2 → 0.73.0-beta.4

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 (291) hide show
  1. package/agent-browser.mjs +8 -0
  2. package/dist/bin.js +7664 -11386
  3. package/dist/child-process-worker.js +4292 -8374
  4. package/dist/client/.vite/manifest.json +266 -256
  5. package/dist/client/assets/{AgentDetailView-CUoHZPZr.js → AgentDetailView-BBOL6AgZ.js} +3 -3
  6. package/dist/client/assets/{AgentPermissionPolicyEditor-DKoHJIlF.js → AgentPermissionPolicyEditor-DV7OPUhR.js} +1 -1
  7. package/dist/client/assets/{AgentsView-CaBo-FHV.js → AgentsView-B6xoAHyV.js} +4 -4
  8. package/dist/client/assets/ChatView-DwVjnxM8.js +8 -0
  9. package/dist/client/assets/{CommandCenter-wgiEIVuC.js → CommandCenter-DYWaoYFD.js} +9 -9
  10. package/dist/client/assets/DevServerView-BY5up-NA.js +1 -0
  11. package/dist/client/assets/{DirectoryPicker-B7YwgF53.js → DirectoryPicker-fM8MJa2r.js} +1 -1
  12. package/dist/client/assets/DocumentsView-D2KxsPG_.js +1 -0
  13. package/dist/client/assets/{EvalsView-BjyqxMS_.js → EvalsView-U8dOvTRM.js} +1 -1
  14. package/dist/client/assets/{ExperimentalAgentOnboardingModal-_PMSa_gN.js → ExperimentalAgentOnboardingModal-C27y8Y-1.js} +1 -1
  15. package/dist/client/assets/{GoalsView-BzLA8GX9.js → GoalsView-D-2wmy-O.js} +1 -1
  16. package/dist/client/assets/{InsightsView-Cb_tUr1V.js → InsightsView-zLyuQL_l.js} +2 -2
  17. package/dist/client/assets/{MemoryView-CRxOPCQq.js → MemoryView-D-tSn48u.js} +2 -2
  18. package/dist/client/assets/{PiExtensionsManager-XQ5rWJT3.js → PiExtensionsManager-DvwmvGEY.js} +2 -2
  19. package/dist/client/assets/PluginManager-BACOwQAN.js +1 -0
  20. package/dist/client/assets/{PullRequestView-CX6fScVe.js → PullRequestView-DULyv21u.js} +2 -2
  21. package/dist/client/assets/{ReportModal-BSCk5ER1.css → ReportModal-BuhhqtXJ.css} +1 -1
  22. package/dist/client/assets/ReportModal-CUlKMFWa.js +21 -0
  23. package/dist/client/assets/{ResearchView-DgKzxRUL.js → ResearchView-DM_O3IFc.js} +2 -2
  24. package/dist/client/assets/{SecretsView-C83SIrjR.js → SecretsView-Bq3u_nAf.js} +1 -1
  25. package/dist/client/assets/SessionTerminal-D00ByR6U.js +2 -0
  26. package/dist/client/assets/SettingsModal-Bb3pIxiX.js +21 -0
  27. package/dist/client/assets/SettingsModal-CMLHZBhX.css +1 -0
  28. package/dist/client/assets/SettingsModal-QRaBE1ds.js +1 -0
  29. package/dist/client/assets/{SettingsTextareaRow-BKGsmZ7C.js → SettingsTextareaRow-CHOJ-qHz.js} +1 -1
  30. package/dist/client/assets/{SetupWizardModal-DIb4q-VT.js → SetupWizardModal-DriQyd81.js} +2 -2
  31. package/dist/client/assets/{SkillsView-D1Zxh1iX.js → SkillsView-BtDyujiZ.js} +1 -1
  32. package/dist/client/assets/{TodoView-CGIcE6Yr.js → TodoView-BNHUnz50.js} +2 -2
  33. package/dist/client/assets/{WorkflowNodeEditor-BtWrziOX.css → WorkflowNodeEditor-BNgkFJ_P.css} +1 -1
  34. package/dist/client/assets/WorkflowNodeEditor-BXikFpra.js +8 -0
  35. package/dist/client/assets/agent-import-generation-B2kYEm1O.js +1 -0
  36. package/dist/client/assets/app-B_HrdDXZ.js +13 -0
  37. package/dist/client/assets/{app-BsIXfnu-.js → app-C6yo-M_n.js} +1 -1
  38. package/dist/client/assets/{app-B-IdUeIu.js → app-CH8ZgPm4.js} +1 -1
  39. package/dist/client/assets/{app-D9ktpVhR.js → app-D4DpgDss.js} +1 -1
  40. package/dist/client/assets/{app-nBTNvNKK.js → app-Qv0blCyY.js} +1 -1
  41. package/dist/client/assets/{app-C8muVNUU.js → app-kFdtajPy.js} +1 -1
  42. package/dist/client/assets/{architectureDiagram-3BPJPVTR-Dv83GkUE.js → architectureDiagram-3BPJPVTR-B-Efjj4Z.js} +1 -1
  43. package/dist/client/assets/{blockDiagram-GPEHLZMM-B_j-RJOz.js → blockDiagram-GPEHLZMM-CaOVxrlM.js} +1 -1
  44. package/dist/client/assets/{c4Diagram-AAUBKEIU-Cy3f-SD1.js → c4Diagram-AAUBKEIU-D8aYt5F1.js} +1 -1
  45. package/dist/client/assets/channel-5bPK6pTS.js +1 -0
  46. package/dist/client/assets/{chunk-2J33WTMH-CPolddUJ.js → chunk-2J33WTMH-VSDT0J0r.js} +1 -1
  47. package/dist/client/assets/{chunk-4BX2VUAB-BAGPgwkc.js → chunk-4BX2VUAB-Chx1wQgD.js} +1 -1
  48. package/dist/client/assets/{chunk-55IACEB6-dzYFOH0q.js → chunk-55IACEB6-MlqjhIJg.js} +1 -1
  49. package/dist/client/assets/{chunk-727SXJPM-ul9hGhiR.js → chunk-727SXJPM-BheQNUi8.js} +1 -1
  50. package/dist/client/assets/{chunk-AQP2D5EJ-C75yqe4-.js → chunk-AQP2D5EJ-C5EoJhfJ.js} +1 -1
  51. package/dist/client/assets/{chunk-FMBD7UC4-BwiLAyup.js → chunk-FMBD7UC4-B8_8qP3j.js} +1 -1
  52. package/dist/client/assets/{chunk-ND2GUHAM-CVv1sLhy.js → chunk-ND2GUHAM-BuglCGRx.js} +1 -1
  53. package/dist/client/assets/{chunk-QZHKN3VN-D1c-k3xL.js → chunk-QZHKN3VN-B7_06dxp.js} +1 -1
  54. package/dist/client/assets/classDiagram-4FO5ZUOK-Dv9RQDqG.js +1 -0
  55. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-Dv9RQDqG.js +1 -0
  56. package/dist/client/assets/{cose-bilkent-S5V4N54A-DosMsFd6.js → cose-bilkent-S5V4N54A-Cm-ZOycx.js} +1 -1
  57. package/dist/client/assets/{dagre-BM42HDAG-9os-QBXe.js → dagre-BM42HDAG-Dj_Gwjpv.js} +1 -1
  58. package/dist/client/assets/{dashboard-view-CNVTxyWE.js → dashboard-view-B4CRL5Fy.js} +1 -1
  59. package/dist/client/assets/{dashboard-view-Bn7iL770.js → dashboard-view-noD9p0Zs.js} +1 -1
  60. package/dist/client/assets/{dashboard-view-iwAS1HTp.js → dashboard-view-pXXSUxG9.js} +1 -1
  61. package/dist/client/assets/{diagram-2AECGRRQ-ChjuJgA6.js → diagram-2AECGRRQ-C_9BfShy.js} +1 -1
  62. package/dist/client/assets/{diagram-5GNKFQAL-Cq10aB4z.js → diagram-5GNKFQAL-Cmg2qpCj.js} +1 -1
  63. package/dist/client/assets/{diagram-KO2AKTUF-CKjyrzjg.js → diagram-KO2AKTUF-2FNo2HXb.js} +1 -1
  64. package/dist/client/assets/{diagram-LMA3HP47-DxCc1BsH.js → diagram-LMA3HP47-DgnVeCp-.js} +1 -1
  65. package/dist/client/assets/{diagram-OG6HWLK6-DJWEkDsR.js → diagram-OG6HWLK6-iAIR50HH.js} +1 -1
  66. package/dist/client/assets/{erDiagram-TEJ5UH35-gVkDYC92.js → erDiagram-TEJ5UH35-Da4I04eN.js} +1 -1
  67. package/dist/client/assets/{flowDiagram-I6XJVG4X-1lw1mQRQ.js → flowDiagram-I6XJVG4X-Bv9r2T0m.js} +1 -1
  68. package/dist/client/assets/{folder-open-Nmr7nRmN.js → folder-open-CwWtrDh6.js} +1 -1
  69. package/dist/client/assets/{ganttDiagram-6RSMTGT7-Yzq4WZRo.js → ganttDiagram-6RSMTGT7-BMeO84U_.js} +1 -1
  70. package/dist/client/assets/{gitGraphDiagram-PVQCEYII-cFR9Gv8n.js → gitGraphDiagram-PVQCEYII-CWDh_RIb.js} +1 -1
  71. package/dist/client/assets/index-CB3mYxAB.css +1 -0
  72. package/dist/client/assets/index-CE7C_XsS.js +2661 -0
  73. package/dist/client/assets/{infoDiagram-5YYISTIA-BbRiTnD3.js → infoDiagram-5YYISTIA-BAE4KtCL.js} +1 -1
  74. package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-DD4i2Znk.js → ishikawaDiagram-YF4QCWOH-C_iXAuOy.js} +1 -1
  75. package/dist/client/assets/{journeyDiagram-JHISSGLW-qHPO2M-C.js → journeyDiagram-JHISSGLW-BnxSHwDo.js} +1 -1
  76. package/dist/client/assets/{kanban-definition-UN3LZRKU-EuFfgxUv.js → kanban-definition-UN3LZRKU-DYNRm3Nu.js} +1 -1
  77. package/dist/client/assets/{mermaid.core-Cru9Vzsy.js → mermaid.core-B3hvDDep.js} +4 -4
  78. package/dist/client/assets/{mindmap-definition-RKZ34NQL-mCvtfapj.js → mindmap-definition-RKZ34NQL-s7KBEuPD.js} +1 -1
  79. package/dist/client/assets/{pieDiagram-4H26LBE5-BSc_a5Dz.js → pieDiagram-4H26LBE5-Cy1_IPUD.js} +1 -1
  80. package/dist/client/assets/{puzzle-Cz66CEWW.js → puzzle-DWc6gFQ7.js} +1 -1
  81. package/dist/client/assets/{quadrantDiagram-W4KKPZXB-Um2SLb_d.js → quadrantDiagram-W4KKPZXB-DqgVGp41.js} +1 -1
  82. package/dist/client/assets/{requirementDiagram-4Y6WPE33-B94evN7g.js → requirementDiagram-4Y6WPE33-CA5-TDeF.js} +1 -1
  83. package/dist/client/assets/{sankeyDiagram-5OEKKPKP-BH7NLX-K.js → sankeyDiagram-5OEKKPKP-Cuvi3RgE.js} +1 -1
  84. package/dist/client/assets/{sequenceDiagram-3UESZ5HK-DusrBGQp.js → sequenceDiagram-3UESZ5HK-Da3GfmGP.js} +1 -1
  85. package/dist/client/assets/{shield-alert-CcQuaRHN.js → shield-alert-_iY63ED4.js} +1 -1
  86. package/dist/client/assets/{standing-instructions-template-CVnY93Xy.js → standing-instructions-template-CCd2YY9c.js} +1 -1
  87. package/dist/client/assets/{stateDiagram-AJRCARHV-GRjL9YlX.js → stateDiagram-AJRCARHV-CZ_I9ENR.js} +1 -1
  88. package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-BBsv6ppQ.js → stateDiagram-v2-BHNVJYJU-BomoRVhY.js} +1 -1
  89. package/dist/client/assets/{timeline-definition-PNZ67QCA-DC6UeqjY.js → timeline-definition-PNZ67QCA-C3CYvIuR.js} +1 -1
  90. package/dist/client/assets/{upload-CjJp7lEX.js → upload-D0RrO65v.js} +1 -1
  91. package/dist/client/assets/{users-DgimRYHz.js → users-CGszBY2v.js} +1 -1
  92. package/dist/client/assets/{vennDiagram-CIIHVFJN-C272zK9h.js → vennDiagram-CIIHVFJN-By9fi8NW.js} +1 -1
  93. package/dist/client/assets/{wardley-L42UT6IY-KkRF-2j9.js → wardley-L42UT6IY-DErnXPkI.js} +1 -1
  94. package/dist/client/assets/{wardleyDiagram-YWT4CUSO-B4brtKRt.js → wardleyDiagram-YWT4CUSO-DFfXZVPk.js} +1 -1
  95. package/dist/client/assets/{xychartDiagram-2RQKCTM6--PFSKt1s.js → xychartDiagram-2RQKCTM6-9Y5oZ5mi.js} +1 -1
  96. package/dist/client/index.html +4 -2
  97. package/dist/client/version.json +1 -1
  98. package/dist/extension.js +4516 -8539
  99. package/dist/migrations/0000_initial.sql +2 -0
  100. package/dist/migrations/0026_bigint_counters.sql +85 -14
  101. package/dist/migrations/0033_fn-8505_wedge_notification.sql +5 -0
  102. package/dist/plugin-sdk/index.js +1 -0
  103. package/dist/plugins/.fusion-ce-agents/.fusion-ce-upstream-provenance.json +7 -0
  104. package/dist/plugins/.fusion-ce-agents/ce-adversarial-document-reviewer.md +115 -0
  105. package/dist/plugins/.fusion-ce-agents/ce-adversarial-reviewer.md +111 -0
  106. package/dist/plugins/.fusion-ce-agents/ce-agent-native-planning-strategist.md +71 -0
  107. package/dist/plugins/.fusion-ce-agents/ce-agent-native-reviewer.md +181 -0
  108. package/dist/plugins/.fusion-ce-agents/ce-ankane-readme-writer.md +50 -0
  109. package/dist/plugins/.fusion-ce-agents/ce-api-contract-reviewer.md +52 -0
  110. package/dist/plugins/.fusion-ce-agents/ce-architecture-strategist.md +53 -0
  111. package/dist/plugins/.fusion-ce-agents/ce-best-practices-researcher.md +122 -0
  112. package/dist/plugins/.fusion-ce-agents/ce-code-simplicity-reviewer.md +87 -0
  113. package/dist/plugins/.fusion-ce-agents/ce-coherence-reviewer.md +73 -0
  114. package/dist/plugins/.fusion-ce-agents/ce-correctness-reviewer.md +52 -0
  115. package/dist/plugins/.fusion-ce-agents/ce-data-integrity-guardian.md +75 -0
  116. package/dist/plugins/.fusion-ce-agents/ce-data-migration-reviewer.md +119 -0
  117. package/dist/plugins/.fusion-ce-agents/ce-deployment-verification-agent.md +164 -0
  118. package/dist/plugins/.fusion-ce-agents/ce-design-implementation-reviewer.md +94 -0
  119. package/dist/plugins/.fusion-ce-agents/ce-design-iterator.md +197 -0
  120. package/dist/plugins/.fusion-ce-agents/ce-design-lens-reviewer.md +56 -0
  121. package/dist/plugins/.fusion-ce-agents/ce-feasibility-reviewer.md +65 -0
  122. package/dist/plugins/.fusion-ce-agents/ce-figma-design-sync.md +172 -0
  123. package/dist/plugins/.fusion-ce-agents/ce-framework-docs-researcher.md +100 -0
  124. package/dist/plugins/.fusion-ce-agents/ce-git-history-analyzer.md +47 -0
  125. package/dist/plugins/.fusion-ce-agents/ce-issue-intelligence-analyst.md +207 -0
  126. package/dist/plugins/.fusion-ce-agents/ce-julik-frontend-races-reviewer.md +52 -0
  127. package/dist/plugins/.fusion-ce-agents/ce-learnings-researcher.md +254 -0
  128. package/dist/plugins/.fusion-ce-agents/ce-maintainability-reviewer.md +77 -0
  129. package/dist/plugins/.fusion-ce-agents/ce-pattern-recognition-specialist.md +62 -0
  130. package/dist/plugins/.fusion-ce-agents/ce-performance-oracle.md +115 -0
  131. package/dist/plugins/.fusion-ce-agents/ce-performance-reviewer.md +54 -0
  132. package/dist/plugins/.fusion-ce-agents/ce-pr-comment-resolver.md +63 -0
  133. package/dist/plugins/.fusion-ce-agents/ce-previous-comments-reviewer.md +68 -0
  134. package/dist/plugins/.fusion-ce-agents/ce-product-lens-reviewer.md +92 -0
  135. package/dist/plugins/.fusion-ce-agents/ce-project-standards-reviewer.md +84 -0
  136. package/dist/plugins/.fusion-ce-agents/ce-reliability-reviewer.md +52 -0
  137. package/dist/plugins/.fusion-ce-agents/ce-repo-research-analyst.md +263 -0
  138. package/dist/plugins/.fusion-ce-agents/ce-scope-guardian-reviewer.md +79 -0
  139. package/dist/plugins/.fusion-ce-agents/ce-security-lens-reviewer.md +48 -0
  140. package/dist/plugins/.fusion-ce-agents/ce-security-reviewer.md +54 -0
  141. package/dist/plugins/.fusion-ce-agents/ce-security-sentinel.md +98 -0
  142. package/dist/plugins/.fusion-ce-agents/ce-session-historian.md +89 -0
  143. package/dist/plugins/.fusion-ce-agents/ce-slack-researcher.md +133 -0
  144. package/dist/plugins/.fusion-ce-agents/ce-spec-flow-analyzer.md +87 -0
  145. package/dist/plugins/.fusion-ce-agents/ce-swift-ios-reviewer.md +107 -0
  146. package/dist/plugins/.fusion-ce-agents/ce-testing-reviewer.md +52 -0
  147. package/dist/plugins/.fusion-ce-agents/ce-web-researcher.md +127 -0
  148. package/dist/plugins/.fusion-ce-skills/.fusion-ce-upstream-provenance.json +7 -0
  149. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/SKILL.md +318 -0
  150. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/agents/slack-researcher.md +127 -0
  151. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/brainstorm-sections.md +354 -0
  152. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/handoff.md +172 -0
  153. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/html-rendering.md +662 -0
  154. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/markdown-rendering.md +236 -0
  155. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/synthesis-summary.md +271 -0
  156. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/universal-brainstorming.md +71 -0
  157. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/references/visual-probes.md +128 -0
  158. package/dist/plugins/.fusion-ce-skills/ce-brainstorm/scripts/visual-probe-server.js +419 -0
  159. package/dist/plugins/.fusion-ce-skills/ce-code-review/SKILL.md +821 -0
  160. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/action-class-rubric.md +26 -0
  161. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/bulk-preview.md +112 -0
  162. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/cross-model-review.md +63 -0
  163. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/diff-scope.md +41 -0
  164. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/findings-schema.json +137 -0
  165. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/persona-catalog.md +63 -0
  166. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/adversarial-reviewer.md +102 -0
  167. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/agent-native-reviewer.md +173 -0
  168. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/api-contract-reviewer.md +43 -0
  169. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/correctness-reviewer.md +43 -0
  170. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/data-migration-reviewer.md +111 -0
  171. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/deployment-verification-agent.md +157 -0
  172. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/julik-frontend-races-reviewer.md +44 -0
  173. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/learnings-researcher.md +247 -0
  174. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/maintainability-reviewer.md +68 -0
  175. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/performance-reviewer.md +45 -0
  176. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/previous-comments-reviewer.md +59 -0
  177. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/project-standards-reviewer.md +75 -0
  178. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/reliability-reviewer.md +43 -0
  179. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/security-reviewer.md +45 -0
  180. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/swift-ios-reviewer.md +99 -0
  181. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/personas/testing-reviewer.md +43 -0
  182. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/review-output-template.md +170 -0
  183. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/subagent-template.md +199 -0
  184. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/tracker-defer.md +149 -0
  185. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/validator-template.md +89 -0
  186. package/dist/plugins/.fusion-ce-skills/ce-code-review/references/walkthrough.md +249 -0
  187. package/dist/plugins/.fusion-ce-skills/ce-code-review/scripts/cross-model-adversarial-review.sh +218 -0
  188. package/dist/plugins/.fusion-ce-skills/ce-commit/SKILL.md +105 -0
  189. package/dist/plugins/.fusion-ce-skills/ce-commit-push-pr/SKILL.md +134 -0
  190. package/dist/plugins/.fusion-ce-skills/ce-commit-push-pr/references/branch-creation.md +55 -0
  191. package/dist/plugins/.fusion-ce-skills/ce-commit-push-pr/references/pr-description-writing.md +115 -0
  192. package/dist/plugins/.fusion-ce-skills/ce-compound/SKILL.md +712 -0
  193. package/dist/plugins/.fusion-ce-skills/ce-compound/assets/resolution-template.md +94 -0
  194. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/best-practices-researcher.md +115 -0
  195. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/data-integrity-guardian.md +68 -0
  196. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/framework-docs-researcher.md +93 -0
  197. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/pattern-recognition-specialist.md +55 -0
  198. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/performance-oracle.md +108 -0
  199. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/security-sentinel.md +91 -0
  200. package/dist/plugins/.fusion-ce-skills/ce-compound/references/agents/session-historian.md +83 -0
  201. package/dist/plugins/.fusion-ce-skills/ce-compound/references/concepts-vocabulary.md +78 -0
  202. package/dist/plugins/.fusion-ce-skills/ce-compound/references/schema.yaml +231 -0
  203. package/dist/plugins/.fusion-ce-skills/ce-compound/references/yaml-schema.md +118 -0
  204. package/dist/plugins/.fusion-ce-skills/ce-compound/scripts/session-history/discover-sessions.sh +130 -0
  205. package/dist/plugins/.fusion-ce-skills/ce-compound/scripts/session-history/extract-errors.py +254 -0
  206. package/dist/plugins/.fusion-ce-skills/ce-compound/scripts/session-history/extract-metadata.py +456 -0
  207. package/dist/plugins/.fusion-ce-skills/ce-compound/scripts/session-history/extract-skeleton.py +570 -0
  208. package/dist/plugins/.fusion-ce-skills/ce-compound/scripts/validate-frontmatter.py +137 -0
  209. package/dist/plugins/.fusion-ce-skills/ce-debug/SKILL.md +257 -0
  210. package/dist/plugins/.fusion-ce-skills/ce-debug/references/anti-patterns.md +91 -0
  211. package/dist/plugins/.fusion-ce-skills/ce-debug/references/defense-in-depth.md +35 -0
  212. package/dist/plugins/.fusion-ce-skills/ce-debug/references/investigation-techniques.md +374 -0
  213. package/dist/plugins/.fusion-ce-skills/ce-doc-review/SKILL.md +70 -0
  214. package/dist/plugins/.fusion-ce-skills/ce-ideate/SKILL.md +401 -0
  215. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/agents/issue-intelligence-analyst.md +200 -0
  216. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/agents/learnings-researcher.md +247 -0
  217. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/agents/slack-researcher.md +127 -0
  218. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/agents/web-researcher.md +121 -0
  219. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/divergent-ideation.md +89 -0
  220. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/html-rendering.md +662 -0
  221. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/ideation-sections.md +191 -0
  222. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/markdown-rendering.md +236 -0
  223. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/post-ideation-workflow.md +166 -0
  224. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/universal-ideation.md +107 -0
  225. package/dist/plugins/.fusion-ce-skills/ce-ideate/references/web-research-cache.md +55 -0
  226. package/dist/plugins/.fusion-ce-skills/ce-plan/SKILL.md +858 -0
  227. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/agent-native-planning-strategist.md +62 -0
  228. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/architecture-strategist.md +46 -0
  229. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/best-practices-researcher.md +114 -0
  230. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/data-integrity-guardian.md +68 -0
  231. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/data-migration-reviewer.md +103 -0
  232. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/deployment-verification-agent.md +157 -0
  233. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/framework-docs-researcher.md +93 -0
  234. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/git-history-analyzer.md +40 -0
  235. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/learnings-researcher.md +247 -0
  236. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/pattern-recognition-specialist.md +55 -0
  237. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/performance-oracle.md +108 -0
  238. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/repo-research-analyst.md +256 -0
  239. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/security-sentinel.md +91 -0
  240. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/slack-researcher.md +127 -0
  241. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/spec-flow-analyzer.md +80 -0
  242. package/dist/plugins/.fusion-ce-skills/ce-plan/references/agents/web-researcher.md +121 -0
  243. package/dist/plugins/.fusion-ce-skills/ce-plan/references/approach-altitude.md +55 -0
  244. package/dist/plugins/.fusion-ce-skills/ce-plan/references/deepening-workflow.md +259 -0
  245. package/dist/plugins/.fusion-ce-skills/ce-plan/references/html-rendering.md +668 -0
  246. package/dist/plugins/.fusion-ce-skills/ce-plan/references/markdown-rendering.md +236 -0
  247. package/dist/plugins/.fusion-ce-skills/ce-plan/references/plan-handoff.md +126 -0
  248. package/dist/plugins/.fusion-ce-skills/ce-plan/references/plan-sections.md +405 -0
  249. package/dist/plugins/.fusion-ce-skills/ce-plan/references/synthesis-summary.md +396 -0
  250. package/dist/plugins/.fusion-ce-skills/ce-plan/references/universal-planning.md +168 -0
  251. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/SKILL.md +53 -0
  252. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/references/agents/pr-comment-resolver.md +56 -0
  253. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/references/evaluation-rubric.md +106 -0
  254. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/references/full-mode.md +283 -0
  255. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/references/targeted-mode.md +45 -0
  256. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/scripts/get-pr-comments +159 -0
  257. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/scripts/get-thread-for-comment +76 -0
  258. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/scripts/reply-to-pr-thread +33 -0
  259. package/dist/plugins/.fusion-ce-skills/ce-resolve-pr-feedback/scripts/resolve-pr-thread +23 -0
  260. package/dist/plugins/.fusion-ce-skills/ce-strategy/SKILL.md +97 -0
  261. package/dist/plugins/.fusion-ce-skills/ce-strategy/references/interview.md +143 -0
  262. package/dist/plugins/.fusion-ce-skills/ce-strategy/references/strategy-template.md +89 -0
  263. package/dist/plugins/.fusion-ce-skills/ce-work/SKILL.md +429 -0
  264. package/dist/plugins/.fusion-ce-skills/ce-work/references/agents/figma-design-sync.md +165 -0
  265. package/dist/plugins/.fusion-ce-skills/ce-work/references/execution-engines.md +85 -0
  266. package/dist/plugins/.fusion-ce-skills/ce-work/references/non-code-execution.md +23 -0
  267. package/dist/plugins/.fusion-ce-skills/ce-work/references/review-findings-followup.md +104 -0
  268. package/dist/plugins/.fusion-ce-skills/ce-work/references/shipping-workflow.md +133 -0
  269. package/dist/plugins/.fusion-ce-skills/ce-work/references/tracker-defer.md +149 -0
  270. package/dist/plugins/fusion-plugin-compound-engineering/.bundled.reload-3.js +11266 -0
  271. package/dist/plugins/fusion-plugin-compound-engineering/.bundled.reload-4.js +11266 -0
  272. package/dist/plugins/fusion-plugin-dependency-graph/.bundled.reload-1.js +8206 -0
  273. package/dist/plugins/fusion-plugin-grok-runtime/.bundled.reload-2.js +26623 -0
  274. package/package.json +6 -3
  275. package/skill/fusion/references/engine-tools.md +6 -2
  276. package/dist/client/assets/ChatView-Bv0J5p5U.js +0 -8
  277. package/dist/client/assets/DevServerView-Ue9XG_4H.js +0 -1
  278. package/dist/client/assets/DocumentsView-C1Ptwcv5.js +0 -1
  279. package/dist/client/assets/PluginManager-CXPSlWxs.js +0 -1
  280. package/dist/client/assets/ReportModal-JhZZXZlj.js +0 -21
  281. package/dist/client/assets/SessionTerminal-BrK3psiC.js +0 -2
  282. package/dist/client/assets/SettingsModal-Bby9vLGx.js +0 -21
  283. package/dist/client/assets/SettingsModal-DVLqY1-7.js +0 -1
  284. package/dist/client/assets/SettingsModal-DXArgTTx.css +0 -1
  285. package/dist/client/assets/WorkflowNodeEditor-BXUC0lim.js +0 -8
  286. package/dist/client/assets/app-DUszvars.js +0 -13
  287. package/dist/client/assets/channel-BuhC8kaT.js +0 -1
  288. package/dist/client/assets/classDiagram-4FO5ZUOK-vpRR5WOg.js +0 -1
  289. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-vpRR5WOg.js +0 -1
  290. package/dist/client/assets/index-Cg9ahVtV.js +0 -2661
  291. package/dist/client/assets/index-uhXHk1ek.css +0 -1
@@ -0,0 +1,405 @@
1
+ # Plan Sections
2
+
3
+ This reference describes what makes a great implementation plan. It does NOT
4
+ prescribe how the plan looks on the page — rendering is handled by the
5
+ format-specific references (`markdown-rendering.md`, `html-rendering.md`).
6
+
7
+ ## The outcome
8
+
9
+ A great plan enables three audiences to act:
10
+
11
+ - **The implementing agent** (`ce-work` or a human) starts from an informed
12
+ baseline — load-bearing decisions are named, research breadcrumbs orient
13
+ their own investigation, unit boundaries are clear. The plan gives the
14
+ implementer a starting point, not a substitute for their own investigation.
15
+ - **The reviewer** identifies the load-bearing decisions and the boundaries
16
+ of what's being changed in one pass.
17
+ - **The future reader** (anyone returning months later) traces why the work
18
+ was done, what shaped it, and where the artifacts live.
19
+
20
+ Sections earn their place by serving one of these audiences. Omit padding.
21
+
22
+ ## Unified plan artifact contract
23
+
24
+ `ce-plan` writes the canonical compound-engineering plan artifact. The same
25
+ artifact may begin as a requirements-only skeleton from `ce-brainstorm` and
26
+ later be enriched by `ce-plan`; it is still one plan file moving through
27
+ readiness states, not a requirements doc plus a separate implementation doc.
28
+
29
+ When the artifact is meant to be consumed by implementation agents, use:
30
+
31
+ - **`artifact_contract: ce-unified-plan/v1`** — declares this contract.
32
+ - **`artifact_readiness`** — document completeness, not work progress. Valid
33
+ values are:
34
+ - `requirements-only` — Product Contract exists; planning sections are not
35
+ complete and the artifact is not executable.
36
+ - `implementation-ready` — Product Contract, Planning Contract,
37
+ Implementation Units, Verification Contract, and Definition of Done are
38
+ complete enough for `ce-work`, `/goal`, or an equivalent executor, **and no
39
+ launch-blocking open question remains**. A plan that is otherwise complete
40
+ but still has a blocking product/architecture question stays
41
+ `requirements-only`, so the next step it routes to is blocker resolution /
42
+ planning, not implementation. Deferred (non-blocking) questions
43
+ do not hold readiness back — mark each open question as blocking or deferred
44
+ so this distinction is explicit.
45
+ - **`product_contract_source`** — where the Product Contract came from:
46
+ `ce-brainstorm`, `ce-plan-bootstrap`, `legacy-requirements`, or another
47
+ explicit source string when a repo has a specialized producer.
48
+ - **`execution`** — `code` for implementation plans, `knowledge-work` for
49
+ non-code deliverables. Absence remains legacy-compatible and means `code`
50
+ only for older plans without `artifact_contract`.
51
+
52
+ Do **not** use progress-like readiness values such as `active`,
53
+ `in_progress`, `completed`, or `done`. Readiness answers "can the artifact be
54
+ executed?", not "has execution happened?" Plans still carry no `status` field
55
+ and no mutable execution lifecycle.
56
+
57
+ Do **not** use `artifact_readiness: approach-plan`. Approach-plans,
58
+ answer-seeking outputs, and universal-planning outputs are outside this
59
+ software implementation artifact contract unless they include the full Product
60
+ Contract, Planning Contract, Implementation Units, Verification Contract, and
61
+ Definition of Done required for software execution. Route those artifacts by
62
+ their own shape or by `execution: knowledge-work`, not by adding a third
63
+ unified readiness value.
64
+
65
+ ## Section ID Registry
66
+
67
+ Unified artifacts use these stable logical sections. Markdown uses the
68
+ heading text; HTML uses matching visible headings and anchor IDs. Downstream
69
+ skills grep or anchor-scan for these names before reading large bodies.
70
+
71
+ | Logical section | Markdown heading | HTML id | Reader use |
72
+ |---|---|---|---|
73
+ | Goal Capsule | `## Goal Capsule` | `goal-capsule` | Objective, authority hierarchy, and stop conditions |
74
+ | Product Contract | `## Product Contract` | `product-contract` | Requirements, actors, flows, acceptance examples, product scope |
75
+ | Product Requirements | `### Requirements` under Product Contract | `product-requirements` | Requirement extraction for review and implementation trace |
76
+ | Planning Contract | `## Planning Contract` | `planning-contract` | KTDs, technical design, assumptions, sequencing |
77
+ | Implementation Units | `## Implementation Units` | `implementation-units` | U-ID work packets for execution |
78
+ | Verification Contract | `## Verification Contract` | `verification-contract` | Repo-specific test commands and quality gates |
79
+ | Definition of Done | `## Definition of Done` | `definition-of-done` | Global and per-unit completion criteria |
80
+ | Appendix | `## Appendix` | `appendix` | Long research, raw notes, or supporting detail |
81
+
82
+ Requirements-only artifacts are kept light: a Goal Capsule and the Product
83
+ Contract. They must not point implementers at absent Planning Contract,
84
+ Implementation Units, Verification Contract, or Definition of Done sections.
85
+ `ce-plan` adds those implementation sections when it enriches to
86
+ implementation-ready. Implementation-ready artifacts include the full registry
87
+ above, except Appendix remains optional.
88
+
89
+ ### Wayfinding: map before reading (size-aware)
90
+
91
+ The document does not carry a reading guide; consuming skills own the reading
92
+ algorithm. A **short** plan — a lightweight or requirements-only artifact that
93
+ fits in a screen or two — can just be read in full; that is cheaper and simpler
94
+ than scanning and ranging. But an implementation-ready unified plan is often
95
+ long, and HTML output (also supported) is more verbose still, so for anything
96
+ beyond short, do **not** load the entire artifact to find your way around.
97
+ Build a section map first, then read only the ranges the task needs:
98
+
99
+ - **Markdown:** scan headings to get the section and unit map — e.g.
100
+ `rg -n '^#{1,3} ' <plan>` (top-level sections plus `### U<N>.` units).
101
+ - **HTML:** scan the heading elements (`<h1>`–`<h3>`) and their anchor ids;
102
+ match on the section name and ignore the wrapper tags.
103
+
104
+ In both formats the section **names and anchor ids are the stable contract**
105
+ from the Section ID Registry above (`Goal Capsule`/`goal-capsule`,
106
+ `Verification Contract`/`verification-contract`, `### U<N>.` units, …). Wayfind
107
+ against those registry names, not a brittle tag/format pattern, so the
108
+ instruction survives rendering changes. After mapping, read metadata, then only
109
+ the sections the task needs — e.g. Goal Capsule, the active U-ID plus its cited
110
+ R/F/AE/KTD, Verification Contract, and Definition of Done. Read the Appendix or
111
+ unrelated units only when a section you are already reading cites them.
112
+
113
+ ## Decide whether a plan doc is warranted at all
114
+
115
+ Not every invocation of `ce-plan` should produce a plan document. For
116
+ genuinely atomic work, the doc is ceremony — the implementer (whether
117
+ `ce-work` or a human) can act directly without IDed units, KTDs, or
118
+ Requirements as a checklist.
119
+
120
+ **Bias toward producing a plan.** The risk asymmetry favors writing one:
121
+ a thin plan doc for small work is mild ceremony, but skipping a plan when
122
+ one was warranted costs the implementer real time (reinvented decisions,
123
+ lost unit boundaries, no IDed requirements to verify against). When unsure,
124
+ write the plan.
125
+
126
+ **Skip implementation-ready plan creation only when ALL of these hold:**
127
+
128
+ - The work is **atomic** — fits in one commit, no meaningful unit boundaries
129
+ to break out independently.
130
+ - There are **no design choices that constrain implementation** — no
131
+ Key Technical Decisions worth recording. If the work needs the implementer
132
+ to make a choice between two approaches, those approaches are KTDs and
133
+ a plan is warranted.
134
+ - There are **no scope boundaries worth pinning** in writing — the work
135
+ scope is self-evident from the user's request.
136
+ - **No upstream artifact** (a brainstorm with R-IDs, an incident report,
137
+ a deferred-follow-up item from a prior plan) needs traceability through
138
+ this plan.
139
+
140
+ **Stress test the "looks atomic" case.** Many requests look atomic at first
141
+ glance but hide design decisions:
142
+
143
+ - *"Add caching to this endpoint"* — sounds atomic, but TTL, invalidation,
144
+ cache key shape, and backend selection are all KTDs. Write the plan.
145
+ - *"Migrate from package A to package B"* — sounds mechanical, but
146
+ semantic differences between the packages create migration KTDs. Write
147
+ the plan.
148
+ - *"Add rate limiting"* — sounds small, but algorithm, scope, and
149
+ configurability are all KTDs. Write the plan.
150
+
151
+ vs. genuine skip cases:
152
+
153
+ - *"Fix typo in README line 47"* — atomic, no KTDs, skip the plan.
154
+ - *"Rename `oldFn` to `newFn` across the repo"* — mechanical, no design
155
+ choices, skip the plan.
156
+ - *"Bump dependency X to v2.3.1"* — mechanical, skip the plan (unless the
157
+ bump introduces breaking changes that warrant unit-by-unit migration).
158
+
159
+ When skipping the plan doc, the work proceeds directly to `ce-work` or to
160
+ implementation, and any decisions made along the way land in the commit
161
+ message or `docs/solutions/` if they're worth carrying forward.
162
+
163
+ ## Implementation-ready hard floor
164
+
165
+ When an implementation-ready software plan is warranted, these sections are
166
+ present. They carry the contracts downstream consumers depend on.
167
+
168
+ - **Goal Capsule** — objective, authority hierarchy, stop conditions, execution
169
+ profile, and tail ownership. This is the fastest way for an executor to
170
+ avoid drifting from the plan.
171
+ - **Product Contract** — product scope and behavior. Contains Summary, Problem
172
+ Frame, Requirements with stable R-IDs, and any material Actors, Flows,
173
+ Acceptance Examples, Success Criteria, Scope Boundaries, Dependencies,
174
+ Outstanding Questions, and Sources. This replaces the separate requirements
175
+ artifact in new brainstorm-to-plan flows.
176
+ - **Planning Contract** — the implementation-facing decisions: Key Technical
177
+ Decisions, high-level design, assumptions, implementation constraints,
178
+ sequencing, and research that shapes how the Product Contract will be built.
179
+ - **Implementation Units** (with stable U-IDs) — discrete work packets sized so
180
+ each is independently executable. Each unit names Goal, Requirements,
181
+ Files, Approach, Test Scenarios, and Verification. `ce-work` and goal-mode
182
+ executors consume these units.
183
+ - **Unit Index (large plans only, ~10+ units).** When the plan has roughly
184
+ ten or more units, open the section with a compact navigation table — one
185
+ row per unit: **U-ID · one-line title · files touched · depends-on**. It
186
+ lets an executor map units to files and resolve dependency order without
187
+ scanning every unit body. It is a **navigation aid only**: the unit bodies
188
+ stay authoritative, it carries nothing beyond those four fields (no
189
+ approach, tests, or rationale), and `files touched` is the key/primary
190
+ paths, not an exhaustive restatement. **Omit it below ~10 units** — there
191
+ the per-unit `Dependencies`/`Files` (and any sequencing or dependency
192
+ diagram) already suffice, and an index would be ceremony.
193
+ - **Verification Contract** — repo-specific commands and quality gates,
194
+ including which tests prove the plan, when `release:validate` applies, and
195
+ what behavioral skill evaluation is required. Avoid generic "run tests"
196
+ language when the repo has concrete commands. When the goal is
197
+ optimization-shaped (build time, latency, coverage, bundle size), express a
198
+ measurable threshold as the exit criterion (e.g., "p95 latency < 200ms",
199
+ "build time reduced 30%") and consider routing to `ce-optimize` — a metric
200
+ target is a sharper done signal for a long-running goal than a boolean check.
201
+ - **Definition of Done** — global and per-unit done criteria. This is the
202
+ completion contract for `/goal` or equivalent long-running workflows. Include
203
+ a cleanup criterion: a long autonomous run accumulates dead-end and
204
+ experimental code from approaches that did not pan out; declaring done
205
+ requires that abandoned-attempt code is removed, not left in the diff.
206
+
207
+ ## Include when material
208
+
209
+ These sections are present when they carry information that isn't covered
210
+ elsewhere. The test is not "is this a substantial plan?" — it is
211
+ *"does this specific plan have content this section would surface?"* Filling
212
+ a section with placeholder prose is worse than omitting it.
213
+
214
+ - **High-Level Technical Design** — include when the technical approach has
215
+ shape that prose alone doesn't carry well: architecture across components,
216
+ sequencing across processes, state machines, branching gates.
217
+ Visualizations (component topology, sequence, swim lane, flowchart,
218
+ data-flow) typically live here. Skip when the approach is a one-paragraph
219
+ pattern application that the prose itself conveys.
220
+
221
+ - **Scope Boundaries** — include when scope is contested, when there are
222
+ tempting non-goals worth naming explicitly, or when "deferred for later"
223
+ needs distinguishing from "outside the product's identity." Skip when scope
224
+ is obvious from Requirements alone.
225
+
226
+ - **Open Questions** — include when there are genuinely unresolved items that
227
+ block planning or implementation. Skip when the plan is complete; an empty
228
+ "Open Questions: none" section signals false uncertainty.
229
+
230
+ - **System-Wide Impact** — include when the change affects cross-cutting
231
+ concerns (data lifecycles, auth boundaries, performance posture, cardinal
232
+ rules, shared infrastructure, agent/tool parity, prompt context, shared
233
+ workspaces). Skip for changes localized to one component where the impact is
234
+ self-evident.
235
+
236
+ - **Risks & Dependencies** — include when there are real risks worth flagging
237
+ (external service changes, version pins under churn, behavioral assumptions
238
+ worth highlighting) or material upstream dependencies. Skip for low-risk
239
+ localized work.
240
+
241
+ - **Acceptance Examples** — include when any requirement has a state-dependent
242
+ or conditional shape ("When X, Y") where the prose alone leaves ambiguity
243
+ about edge cases. Skip when all requirements are unconditional and
244
+ unambiguous.
245
+
246
+ - **Documentation / Operational Notes** — include when documentation,
247
+ monitoring, runbooks, or rollout steps need explicit notes. Skip when the
248
+ work is purely internal and uses existing operational scaffolding without
249
+ modification.
250
+
251
+ - **Sources / Research** — surface the research that orients the implementer
252
+ or justifies load-bearing choices. The test: *"if I were the implementer
253
+ reading this cold, would this breadcrumb help me make better choices?"*
254
+ Yes → surface (code locations like `services/convex/reports.ts:174-176`,
255
+ external docs, RFCs, constraints, prior plans — the category is inclusive,
256
+ not enumerated). Process exhaust (reading the user's prompt, glancing at
257
+ obvious entry points, restating prose) → omit. Surface inline next to the
258
+ KTD or unit it justifies, or as a dedicated section — both shapes work.
259
+
260
+ ## Agent agency
261
+
262
+ The catalog is a floor, not a ceiling. When the plan's content doesn't fit
263
+ any catalog section, introduce a new one — don't force the content into a
264
+ section it doesn't belong in. Content drives section choices, not vice
265
+ versa.
266
+
267
+ The agent also picks per artifact:
268
+
269
+ - Whether Problem Frame merges into Summary
270
+ - Sub-groupings (Requirements by capability, KTDs by component, Units phased
271
+ into milestones)
272
+ - How much detail each section carries
273
+ - Whether HTD has one diagram, several, or none — and whether visualizations
274
+ live in HTD or embedded in other sections
275
+
276
+ ## Prose economy
277
+
278
+ "Include when material" sizes *which* sections appear; this sizes *how the kept
279
+ prose reads*. A section can be material and still be written loosely — the
280
+ failure mode is a material section padded into a wall of text where
281
+ contradictions hide and the implementing agent loses the thread. A deep plan
282
+ earns length through coverage (more units, more traced requirements, real
283
+ risks), never through wordiness around that coverage.
284
+
285
+ Hold every kept section to these:
286
+
287
+ - **One idea per sentence.** A Summary is a handful of sentences, not one
288
+ sentence with five semicolons and four parentheticals. A KTD's rationale is
289
+ the load-bearing reason, not every reason.
290
+ - **A requirement or unit is one sentence of intent plus at most one
291
+ qualifier.** When it would specify two outcomes ("either A or B, the
292
+ implementer decides"), state the intent and send the fork to Open Questions —
293
+ don't write both arms in full inside the item.
294
+ - **Cut hedges and intensifiers.** "Critically", "deliberately", "explicitly",
295
+ "genuinely", "actually", "simply" carry nothing the implementer acts on.
296
+ - **Prefer the verb to the nominalization.** "Demote the grid", not "the
297
+ demotion of the grid is the deliberate change in this plan".
298
+
299
+ Precision is not padding: keep file paths, IDs, conditionals, and exact
300
+ thresholds verbatim. Economy targets the connective tissue around them, never
301
+ the precision itself.
302
+
303
+ **Resolve in place; don't stratify.** When deepening, a doc-review pass, or a
304
+ later decision supersedes earlier text, rewrite or remove the original — don't
305
+ leave it standing as strikethrough or stack a separate "resolutions" layer on
306
+ top of it. Version control holds the history. Stacked strata double the reading
307
+ surface and hide which text is live.
308
+
309
+ **Named test, run before the plan is declared written:** could the implementer
310
+ find a contradiction in each section in one pass? A sentence carrying more than
311
+ one parenthetical, or an item specifying two outcomes, fails the test — split it
312
+ or defer it.
313
+
314
+ ## Plan metadata fields
315
+
316
+ Every plan carries a small set of stable metadata fields that downstream
317
+ tooling depends on. The contract is format-independent: in markdown these
318
+ fields appear as YAML frontmatter at the top of the file; in HTML they
319
+ appear as visible header text (typically a `<dl>` of `<dt>`/`<dd>` pairs or
320
+ a stats strip). Field names and semantics are the same across both formats
321
+ so consumers can locate them without knowing which format produced the
322
+ plan.
323
+
324
+ ### Required
325
+
326
+ - **`title`** — the plan's descriptive name with a ` - Plan` suffix
327
+ (e.g., `Highlighter Tool - Plan`), matching the H1 (markdown) or document
328
+ `<h1>` (HTML) so file metadata and visible heading don't drift. Stable
329
+ across readiness states (it is a plan at every stage). Do not put a
330
+ conventional-commit prefix (`feat:`/`fix:`) in the title — the `type` field
331
+ carries that classification.
332
+ - **`type`** — conventional-commit-prefix-aligned classification (`feat`,
333
+ `fix`, `refactor`, `chore`, `docs`, `perf`, `test`, etc.). Carries the
334
+ intent the eventual commit message should reflect.
335
+ - **`date`** — creation date in ISO 8601 (`YYYY-MM-DD`), ASCII digits only.
336
+
337
+ Plans carry **no `status` field** — a plan is a decision artifact, not a
338
+ tracked work item. `ce-work` does not mutate the plan at ship time;
339
+ whether a plan shipped is derived from git, not stored in the doc. Do not
340
+ add a `status` field or an `active → completed` lifecycle.
341
+
342
+ ### Optional but well-known
343
+
344
+ These fields are not required, but when set they have fixed names and
345
+ semantics so downstream tooling can rely on them:
346
+
347
+ - **`origin`** — repo-relative path to an upstream brainstorm requirements
348
+ doc (e.g., `docs/brainstorms/2026-05-12-pagination-requirements.md`).
349
+ Set when planning from an upstream brainstorm; carried for traceability
350
+ and re-resolved when `ce-plan` re-deepens.
351
+ - **`deepened`** — ISO 8601 date marking the first time the confidence
352
+ check substantively strengthened the plan. Presence affects Phase 0.1
353
+ resume fast-path logic (see `references/deepening-workflow.md`).
354
+ - **`execution`** — execution domain for downstream routing: `code`
355
+ (the default when absent) or `knowledge-work`. `ce-work`'s input triage
356
+ reads this: a plan marked `execution: knowledge-work` routes to the
357
+ non-code carve-out (read sources, synthesize, produce a deliverable —
358
+ skipping the branch/test/commit/CI lifecycle); absent or `code` routes
359
+ to the normal code path. Written by `ce-plan`'s approach-altitude flow
360
+ (`references/approach-altitude.md`) when a non-code deliverable is
361
+ persisted for execution.
362
+
363
+ Field names are stable across plan revisions — never rename a field or
364
+ repurpose its semantics. Agents composing new plans MUST use these exact
365
+ names; adding new fields is fine, but renaming `origin` to `source` or
366
+ `date` to `created` breaks the downstream consumers above.
367
+
368
+ ## ID and content rules
369
+
370
+ These apply regardless of rendering format.
371
+
372
+ - **Stable IDs.** R-IDs (Requirements), U-IDs (Implementation Units), A-IDs
373
+ (if Actors fire), F-IDs (if Flows fire), AE-IDs (if Acceptance Examples
374
+ fire). IDs are stable across plan revisions — never renumber to "clean
375
+ up gaps."
376
+ - **Plain prefix.** `R1.`, `U1.` as bullet prefixes. Do not bold; the prefix
377
+ is visually distinctive on its own.
378
+ - **Repo-relative paths.** Always. Never absolute paths in plan content;
379
+ they break portability across machines, worktrees, teammates.
380
+ - **No process exhaust.** No "captured at Phase X" notes, no `## Next Steps`
381
+ pointing to the next skill, no italic provenance lines. Engineering process
382
+ metadata belongs in commit messages and tool output, not the artifact.
383
+ - **Group Requirements by concern when they span distinct logical areas.**
384
+ The trigger is distinct concerns, not item count — even four requirements
385
+ benefit from grouping if they cover three different topics. Skip grouping
386
+ only when all requirements are genuinely about the same thing; a long flat
387
+ list is a smell that subgroups were missed. Group by capability (e.g.,
388
+ "Packaging", "Migration and compatibility", "Contributor workflow"), not by
389
+ the order requirements were discussed. R-IDs stay continuous across groups
390
+ (R1, R2 in the first group; R3, R4 in the second; never restart at R1 per
391
+ group).
392
+
393
+ ## Rendering
394
+
395
+ The format-specific references describe how to render these sections in each
396
+ output format:
397
+
398
+ - **Markdown rendering:** `references/markdown-rendering.md`
399
+ - **HTML rendering:** `references/html-rendering.md`
400
+
401
+ This reference (`plan-sections.md`) is about WHAT the plan contains;
402
+ rendering references are about HOW each format presents it. The plan is
403
+ written in one format — markdown OR HTML, never both — based on the
404
+ resolved output mode. The section catalog is the same regardless of
405
+ format.