@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,354 @@
1
+ # Brainstorm Sections
2
+
3
+ This reference describes what makes a great requirements-only unified plan
4
+ artifact produced by `ce-brainstorm`.
5
+ It does NOT prescribe how the doc looks on the page — rendering is handled by
6
+ the format-specific references (`markdown-rendering.md`, `html-rendering.md`).
7
+
8
+ ## The outcome
9
+
10
+ A great brainstorm produces the first version of the same plan artifact that
11
+ `ce-plan` later enriches. It enables three audiences to act:
12
+
13
+ - **The planning agent** (`ce-plan` or a human) produces an implementation
14
+ plan without inventing user behavior, scope boundaries, or success
15
+ criteria — the brainstorm answered those.
16
+ - **The reviewer** sees the framing choices, distinguishes pinned from open,
17
+ and catches scope gaps before planning.
18
+ - **The future reader** traces why the proposed thing matters, who it's for,
19
+ and what success looks like.
20
+
21
+ Sections earn their place by serving one of these audiences. Omit padding.
22
+
23
+ ## Unified plan skeleton contract
24
+
25
+ New `ce-brainstorm` outputs live under `docs/plans/` and use the unified plan
26
+ artifact contract:
27
+
28
+ - **Path:** `docs/plans/YYYY-MM-DD-NNN-<type>-<topic>-plan.<md|html>`.
29
+ - **`artifact_contract: ce-unified-plan/v1`**.
30
+ - **`artifact_readiness: requirements-only`**.
31
+ - **`product_contract_source: ce-brainstorm`**.
32
+ - **`execution`** only when the brainstorm has enough signal to classify the
33
+ eventual execution domain. For software features, use `execution: code`.
34
+ For non-code deliverables, follow the universal-brainstorming route instead
35
+ of pretending the artifact is executable code.
36
+
37
+ A requirements-only unified plan is kept **light and standalone-readable**. It
38
+ includes:
39
+
40
+ - `## Goal Capsule` with objective, product authority, and open blockers.
41
+ - `## Product Contract` containing the brainstorm sections below.
42
+
43
+ Do **not** emit a `## Goal Launch Block` or `## Reader Index`: the launch prompt
44
+ is skill-emitted at handoff, not a doc section, and the contract carries no
45
+ Reader Index — consumers wayfind by scanning headings. It also omits empty
46
+ `Planning Contract`, `Implementation Units`, `Verification Contract`, and
47
+ `Definition of Done` sections — empty placeholders make requirements-only docs
48
+ look executable and waste downstream tokens. `ce-plan` adds those sections when
49
+ it enriches the same file in place. The next step (planning) is conveyed by the
50
+ Phase 4 handoff menu, not by a section in the doc.
51
+
52
+ Historical `docs/brainstorms/*-requirements.*` files remain valid legacy
53
+ inputs. Do not migrate or rewrite them when creating new artifacts.
54
+
55
+ ## Decide whether a doc is warranted at all
56
+
57
+ Brainstorm dialogue does not always need to produce a durable document.
58
+ Skip document creation when **both** hold:
59
+
60
+ - The user only needs brief alignment — no exploration produced novel scope,
61
+ framing, or decisions worth preserving in IDed shape.
62
+ - Any durable decisions made during the dialogue can flow naturally to
63
+ downstream artifacts (`ce-plan`, the commit message, `docs/solutions/`)
64
+ without a brainstorm doc as an intermediary.
65
+
66
+ The trigger for creating a doc is when the dialogue surfaced enough
67
+ structural decisions, scope boundaries, or acceptance criteria that
68
+ downstream consumers (planner, reviewer, future reader) need them in a
69
+ durable, IDed form — not just as conversational artifacts.
70
+
71
+ **Stress test:** a brainstorm about a tiny bug fix where the user asks "fix
72
+ this with a null check or with upstream validation?" and the agent confirms
73
+ "upstream validation, here's why" doesn't need a brainstorm doc. The
74
+ decision flows to `ce-plan` (or directly to commit message, or to
75
+ `docs/solutions/` if it's a pattern worth carrying) without a brainstorm
76
+ artifact in the middle.
77
+
78
+ Conversely, a brainstorm about a multi-actor feature with contested scope
79
+ and several behavioral conditions probably does need a doc — the planning
80
+ agent needs the structured content the dialogue produced.
81
+
82
+ ## Match depth to content
83
+
84
+ When a doc IS warranted, depth matches what the dialogue produced. A
85
+ brainstorm with sparse content produces a sparse doc; one with rich content
86
+ produces a rich doc. Don't add ceremony to make a slim brainstorm look
87
+ substantial.
88
+
89
+ ## Prose economy
90
+
91
+ Match-depth-to-content sizes *which* sections appear and how deep each goes.
92
+ This sizes *how the kept prose reads*. A section can be material and still be
93
+ written loosely — the failure mode is a material section padded into a wall of
94
+ text where contradictions hide and a downstream agent loses the thread. Length
95
+ that earns its place is fine; wordiness around that length is not.
96
+
97
+ Hold every kept section to these:
98
+
99
+ - **One idea per sentence.** A Summary is a handful of sentences, not one
100
+ sentence with five semicolons and four parentheticals. If a sentence needs a
101
+ second parenthetical to stay true, split it.
102
+ - **A requirement is one sentence of intent plus at most one qualifier.** When
103
+ a requirement would specify two outcomes ("either A or B, planning decides"),
104
+ state the intent and send the fork to Outstanding Questions — don't write both
105
+ arms in full inside the requirement.
106
+ - **Cut hedges and intensifiers.** "Critically", "deliberately", "explicitly",
107
+ "genuinely", "actually", "simply" carry nothing a downstream agent acts on.
108
+ - **Prefer the verb to the nominalization.** "Demote the grid", not "the
109
+ demotion of the grid is the deliberate change in this brief".
110
+
111
+ Precision is not padding: keep domain terms, conditionals, and exact thresholds
112
+ verbatim. Economy targets the connective tissue around them, never the precision
113
+ itself.
114
+
115
+ **Resolve in place; don't stratify.** When a later decision answers a parked
116
+ question or supersedes earlier text, rewrite or remove the original entry —
117
+ don't append a separate "resolutions" layer that leaves the superseded text
118
+ standing, and don't keep superseded prose as strikethrough. Version control
119
+ holds the history. Stacked question/resolution strata double the reading surface
120
+ and hide which text is live.
121
+
122
+ **Named test, run before the doc is declared written:** could a reader find a
123
+ contradiction in each section in one pass? A sentence carrying more than one
124
+ parenthetical, or a requirement specifying two outcomes, fails the test — split
125
+ it or defer it.
126
+
127
+ ## Product Contract hard floor
128
+
129
+ When a requirements-only unified plan is warranted, these are present inside
130
+ `## Product Contract`.
131
+
132
+ - **Summary** — what is being proposed, in 1-3 lines. Forward-looking.
133
+ Orients the reader before they invest in detail.
134
+ - **Requirements** (with stable R-IDs) — what must be true about the
135
+ proposed thing. For very sparse brainstorms (≤3 simple items where the
136
+ bullets ARE the summary), plain bullets without IDs are acceptable; the
137
+ trigger for R-IDs is whether downstream consumers will reference them.
138
+ When requirements span distinct concerns (e.g., "Packaging" /
139
+ "Migration and compatibility" / "Contributor workflow"), group them
140
+ under bold inline headers within the Requirements section — group by
141
+ capability or concern, not by the order requirements were discussed.
142
+ The trigger is distinct concerns, not item count — even four
143
+ requirements benefit if they cover three different topics. Skip
144
+ grouping only when all requirements are genuinely about the same thing;
145
+ a long flat list is a smell that subgroups were missed. R-IDs stay
146
+ continuous across groups (R1, R2 in the first group; R3, R4 in the
147
+ second; never restart at R1 per group).
148
+
149
+ ## Include when material
150
+
151
+ The agent decides per brainstorm whether each section carries information
152
+ that isn't covered elsewhere. Filling a section with placeholder prose is
153
+ worse than omitting it.
154
+
155
+ - **Problem Frame** — include when motivation isn't obvious from Summary
156
+ alone (the *why* needs paragraphs, not a sentence). Backward-looking /
157
+ situational. Does NOT restate the proposal; the remedy lives in Summary.
158
+
159
+ - **Key Decisions** — include when the brainstorm produced opinionated
160
+ framing choices (defaults, scope narrowings, foundational technical picks)
161
+ that constrain Requirements / Flows / Scope below. Each entry names the
162
+ decision in bold with prose rationale. Sits high in the rendered doc so
163
+ readers encounter the framing choices before descending into detail.
164
+
165
+ - **Actors** — include when the proposed thing has multi-party behavior
166
+ (multiple humans, agents, or systems meaningfully involved). Skip for
167
+ non-behavioral brainstorms (naming briefs, data-shape briefs, pure
168
+ research, decision frameworks).
169
+
170
+ - **Key Flows** — include when the proposed thing has multi-step behavior.
171
+ Expected by default for behavioral brainstorms unless the proposed thing
172
+ is genuinely non-flow-shaped (pure API surface, policy, artifact output)
173
+ and Actors / Requirements / Scope Boundaries / Acceptance Examples
174
+ together prevent downstream invention of paths. When omitting from a
175
+ behavioral brainstorm, note the reason in the doc.
176
+
177
+ - **Visualizations** — a brainstorm earns a visual when a concept has a
178
+ **structure worth showing**, and that decision turns on whether the
179
+ structure exists, *not* on whether your own prose reads clearly. Calling
180
+ your prose "clear enough" is the trap that quietly under-produces the
181
+ visuals a reader actually uses — decide on the shape, not the wording.
182
+ Shapes that warrant one: a data-shape transformation (before/after schema
183
+ or field mapping), a source-of-truth fan-out (one authority feeding many
184
+ derived surfaces), state-or-lifecycle logic, a multi-step flow, an
185
+ entity/relationship structure, a decision boundary, a quantitative
186
+ comparison — and, for any requirement that changes a UI, screen layout,
187
+ component placement, or screen flow, a **wireframe**. This applies to
188
+ backend and conceptual work, not only visual products: a data model, sync
189
+ protocol, or agent workflow earns a conceptual diagram exactly as a UI
190
+ requirement earns a wireframe. Match the visual to the shape — a UI/layout
191
+ shape takes a wireframe in HTML (a mermaid layout diagram or prose in
192
+ markdown; there is no inline-SVG wireframe in markdown), any other structure
193
+ takes a conceptual diagram. A visual is cross-cutting, not a section of its
194
+ own — it sits next to the Key Decision, Requirements group, or Flow it
195
+ illustrates. **A point with nothing structural to show gets no visual** — a
196
+ single-field add, a rename, or a one-line change has no structure, and a
197
+ before/after of one changed line is decoration. One visual per load-bearing
198
+ concept, never decoration or ceremony.
199
+
200
+ **Diagrams complement prose; they never replace it.** A diagram is an
201
+ on-ramp to the prose it illustrates, not a substitute. The IDed prose
202
+ (Requirements, Key Decisions, Acceptance Examples) stays complete and
203
+ standalone — a reader who ignores every diagram still gets the full
204
+ content in text, and a downstream agent that reads the artifact as linear
205
+ text is never left with a relationship that exists only in an SVG. Adding
206
+ a before/after diagram is not license to thin the requirement or decision
207
+ prose it depicts.
208
+
209
+ - **Acceptance Examples** — include when any requirement has a
210
+ state-dependent or conditional shape ("When X, Y") where prose alone leaves
211
+ ambiguity about edge cases. **Always include AEs covering
212
+ behavioral-conditional requirements** — that's where the ambiguity bites
213
+ hardest. Skip when all requirements are unconditional and unambiguous.
214
+
215
+ - **Success Criteria** — include when there are quality / metric / handoff
216
+ signals that Requirements don't already carry: quantitative metrics ("p95
217
+ latency under 200ms"), qualitative criteria ("the agent's output reads as
218
+ one voice"), process / handoff quality ("ce-doc-review can act on this
219
+ without follow-ups"). Skip when Requirements ARE the success criteria
220
+ (every R is "done when the R is true").
221
+
222
+ - **Scope Boundaries** — include when scope is contested or there are
223
+ tempting non-goals worth naming explicitly. When the brainstorm is about
224
+ positioning a product against adjacent ones the team could have built but
225
+ is rejecting, split into "Deferred for later" (eventually but not v1) and
226
+ "Outside this product's identity" (positioning decision). Otherwise, a
227
+ single list is fine.
228
+
229
+ - **Dependencies / Assumptions** — include when material upstream
230
+ dependencies exist or when load-bearing assumptions need to be surfaced.
231
+
232
+ - **Outstanding Questions** — include when there are unresolved items.
233
+ Distinguish "Resolve Before Planning" (blocks planning) from "Deferred to
234
+ Planning" (answered during planning or codebase exploration).
235
+
236
+ - **Sources / Research** — surface research that orients the planner or
237
+ justifies framing choices. The test: *"if I were the planner reading this
238
+ cold, would this breadcrumb help me make better choices?"* Yes → surface
239
+ (code locations, external docs, RFCs, constraints, prior plans — the
240
+ category is inclusive, not enumerated). Process exhaust (reading the
241
+ user's prompt, glancing at obvious files) → omit.
242
+
243
+ ## Agent agency
244
+
245
+ The catalog is a floor, not a ceiling. When the brainstorm's content doesn't
246
+ fit any catalog section, introduce a new one — don't force the content into
247
+ a section it doesn't belong in. Content drives section choices, not vice
248
+ versa.
249
+
250
+ The agent also picks per artifact:
251
+
252
+ - Whether Acceptance Examples render as a separate section or embed in each
253
+ requirement
254
+ - How much depth each present section gets
255
+
256
+ (Requirements grouping is covered above in the Hard Floor item — group by
257
+ concern by default, rendering a flat list only when all requirements are
258
+ about the same thing, with continuous R-IDs across groups.)
259
+
260
+ ## Brainstorm metadata fields
261
+
262
+ Every requirements-only unified plan carries a small set of stable metadata fields that
263
+ downstream tooling depends on. The contract is format-independent: in
264
+ markdown these fields appear as YAML frontmatter at the top of the file; in
265
+ HTML they appear as visible header text (typically a `<dl>` of `<dt>`/`<dd>`
266
+ pairs or a stats strip). Field names and semantics are the same across both
267
+ formats so consumers can locate them without knowing which format produced the
268
+ artifact.
269
+
270
+ ### Required
271
+
272
+ - **`title`** — the artifact's descriptive name with a ` - Plan` suffix
273
+ (e.g., `Highlighter Tool - Plan`), matching the H1 (markdown) or document
274
+ `<h1>` (HTML). It is a unified plan at every readiness state, so the title
275
+ stays stable when `ce-plan` enriches it. Do not put a conventional-commit
276
+ prefix (`feat:`/`fix:`) in the title — the `type` field carries that.
277
+ - **`type`** — conventional-commit-prefix-aligned classification (`feat`,
278
+ `fix`, `refactor`, `docs`, etc.).
279
+ - **`date`** — creation date in ISO 8601 (`YYYY-MM-DD`), ASCII digits only.
280
+ Used in the filename (`docs/plans/YYYY-MM-DD-NNN-<type>-<topic>-plan.<md|html>`).
281
+ - **`topic`** — kebab-case slug identifying the brainstorm subject (e.g.,
282
+ `surface-scope-earlier`, `demo-reel-local-save`). Used in the filename and
283
+ as the resume-detection key when `ce-brainstorm` scans for an existing
284
+ artifact to continue.
285
+ - **`artifact_contract`** — always `ce-unified-plan/v1` for new outputs.
286
+ - **`artifact_readiness`** — always `requirements-only` for new
287
+ `ce-brainstorm` outputs. Do not use `active`, `in_progress`, `completed`,
288
+ or `done`.
289
+ - **`product_contract_source`** — always `ce-brainstorm`.
290
+
291
+ ### No status field
292
+
293
+ Unified plan artifacts have no `status` field and no `active → completed`
294
+ lifecycle. `artifact_readiness` is document completeness, not execution
295
+ progress. No CE artifact carries mutable progress state; whether work shipped
296
+ is derived from git, not stored in the doc. Do not introduce one.
297
+
298
+ ### Field-name stability
299
+
300
+ Field names are stable across brainstorm revisions — never rename a field
301
+ or repurpose its semantics. Agents composing new brainstorms MUST use these
302
+ exact names; adding new fields is fine, but renaming `topic` to `subject`
303
+ or `date` to `created` breaks filename construction and resume detection.
304
+
305
+ ## ID and content rules
306
+
307
+ Same shape as plan rules.
308
+
309
+ - **Stable IDs.** R-IDs (Requirements), A-IDs (if Actors fire), F-IDs (if
310
+ Flows fire), AE-IDs (if Acceptance Examples fire). No other ID namespaces.
311
+ - **Plain prefix.** `R1.`, `A1.`, `F1.`, `AE1.` as bullet prefixes. Do not
312
+ bold; the prefix is visually distinctive on its own.
313
+ - **Bold leader labels** inside Flows and Acceptance Examples
314
+ (`**Trigger:**`, `**Covers R4, R8.**`) provide structure without deeper
315
+ heading levels.
316
+ - **Repo-relative paths.** Always. Never absolute paths.
317
+ - **No process exhaust.** No "captured at Phase X" notes, no `## Next Steps`
318
+ pointing to ce-plan, no italic provenance lines. Engineering process
319
+ metadata belongs in commit messages and tool output, not the artifact.
320
+ - **No implementation details by default.** Libraries, schemas, endpoints,
321
+ file layouts, code structure stay out unless the brainstorm itself is
322
+ inherently about a technical or architectural change and those details are
323
+ the subject of the decision.
324
+
325
+ ## Discipline: Summary vs Problem Frame
326
+
327
+ When both sections are present, they earn separate sections only by holding
328
+ to different purposes:
329
+
330
+ | Section | Question it answers | Time direction | Length |
331
+ |---|---|---|---|
332
+ | `## Summary` | What is this doc proposing? | Forward-looking | 1-3 lines |
333
+ | `## Problem Frame` | Why does this proposal exist? | Backward-looking / situational | Paragraphs |
334
+
335
+ - **Summary doesn't need problem context.** A reader scanning Summary gets
336
+ the proposal at a glance.
337
+ - **Problem Frame doesn't restate the proposal.** It establishes the
338
+ situation, the specific moment of pain, and the cost shape — then stops.
339
+ The remedy lives in Summary; restating it in Problem Frame is the
340
+ duplication that makes the two sections feel redundant.
341
+
342
+ ## Rendering
343
+
344
+ The format-specific references describe how to render these sections in each
345
+ output format:
346
+
347
+ - **Markdown rendering:** `references/markdown-rendering.md`
348
+ - **HTML rendering:** `references/html-rendering.md`
349
+
350
+ This reference (`brainstorm-sections.md`) is about WHAT the brainstorm
351
+ contains; rendering references are about HOW each format presents it. The
352
+ brainstorm is written in one format — markdown OR HTML, never both — based
353
+ on the resolved output mode. The section catalog is the same regardless of
354
+ format.
@@ -0,0 +1,172 @@
1
+ # Handoff
2
+
3
+ This content is loaded when Phase 4 begins — after the requirements-only
4
+ unified plan is written.
5
+
6
+ ---
7
+
8
+ #### 4.1 Present Next-Step Options
9
+
10
+ The Phase 4 menu's visible option count varies by state: no unified plan
11
+ artifact hides the review and Proof options, unresolved `Resolve Before
12
+ Planning` hides both `Create the implementation plan` and `Ship it
13
+ autonomously with lfg`, and the lfg option is also hidden for non-software
14
+ brainstorms (`execution` other than `code`). Count the visible options for the
15
+ current state and choose the rendering mode accordingly:
16
+
17
+ - **4 or fewer visible:** use the platform's blocking question tool (`AskUserQuestion` in Claude Code — call `ToolSearch` with `select:AskUserQuestion` first if its schema isn't loaded; `request_user_input` in Codex; `ask_question` in Antigravity CLI (`agy`), `ask_user` in Pi (requires the `pi-ask-user` extension)). This is the default.
18
+ - **5 or more visible:** render as a numbered list in chat. This is the narrow option-overflow fallback; trimming would hide legitimate choices (plan, ship, review, Proof, refine, pause are all distinct destinations). Include a hint that free-form input is accepted ("Pick a number or describe what you want.") so the numbered list retains the blocking tool's open-endedness.
19
+
20
+ Never silently skip the question.
21
+
22
+ If `Resolve Before Planning` contains any items:
23
+ - Ask the blocking questions now, one at a time, by default
24
+ - If the user explicitly wants to proceed anyway, first convert each remaining item into an explicit decision, assumption, or `Deferred to Planning` question
25
+ - If the user chooses to pause instead, present the handoff as paused or blocked rather than complete
26
+ - Do not offer the `Create the implementation plan` or `Ship it autonomously with lfg` options while `Resolve Before Planning` remains non-empty
27
+
28
+ In both preambles below, the "Pick a number or describe what you want." hint applies only in numbered-list mode. When using the blocking tool, omit that line and pass the remaining stem as the question.
29
+
30
+ **Path format:** Use absolute paths for chat-output file references — relative paths are not auto-linked as clickable in most terminals.
31
+
32
+ **Preamble when no blocking questions remain:**
33
+
34
+ ```
35
+ Brainstorm complete.
36
+
37
+ Plan artifact: <absolute path to requirements-only unified plan> # omit line if no artifact was created
38
+
39
+ What would you like to do next? (Pick a number or describe what you want.)
40
+ ```
41
+
42
+ **Preamble when blocking questions remain and user wants to pause:**
43
+
44
+ ```
45
+ Brainstorm paused. Planning is blocked until the remaining questions are resolved.
46
+
47
+ Plan artifact: <absolute path to requirements-only unified plan> # omit line if no artifact was created
48
+
49
+ What would you like to do next? (Pick a number or describe what you want.)
50
+ ```
51
+
52
+ Present only the options that apply. Renumber so visible options stay contiguous starting at 1.
53
+
54
+ 1. **Create the implementation plan** *(recommended)* - Hand off to `ce-plan` and sharpen the requirements into a complete, testable plan. Shown only when `Resolve Before Planning` is empty.
55
+ 2. **Ship it autonomously with `lfg`** - Hand the requirements to the full autonomous pipeline: `lfg` plans (`ce-plan`), implements, simplifies, runs independent code review and applies the fixes, opens a PR, and watches CI to green — hands-off, no check-ins. It plans first (unlike a raw `/goal` straight from requirements), so it's the safer autonomous path. Best when you trust the requirements and want it built and shipped without steering. **Opens a PR and pushes a branch.** Shown only for software brainstorms (`execution: code`) with `Resolve Before Planning` empty **and a unified plan artifact was created** — `lfg` hands `ce-plan` that artifact path in pipeline mode and cannot prompt, so with no artifact (e.g. a brief-alignment brainstorm that skipped doc creation per the "Decide whether a doc is warranted" rule) there is nothing to enrich; offer option 1 instead, which can plan interactively from the conversation. For a quicker plan-then-decide flow, or to run a `/goal` yourself, pick option 1 and choose at the `ce-plan` handoff.
56
+ <!--
57
+ FNXC:CompoundEngineering 2026-06-27-18:23:
58
+ FN-7147 requires HTML brainstorm artifacts to remain reviewable instead of hiding the pressure-test option. FN-7149 lets ce-doc-review use only proven DOM-safe HTML mutations; markdown-only apply-set and Open Questions mutations stay disabled, and helper refusal remains report-only.
59
+ -->
60
+ 3. **Pressure-test the requirements** - Dispatch reviewer agents with `ce-doc-review` to find gaps, conflicts, weak premises, and scope issues in the requirements; auto-apply safe fixes for markdown; route the rest interactively. Shown when a unified plan artifact exists. Under `OUTPUT_FORMAT=html`, run `ce-doc-review` in DOM-safe-or-report-only mode: persona lenses run and findings are presented, only proven DOM-safe helper mutations may apply, and no markdown apply-set edits or markdown Append-to-Open-Questions write-back are offered.
61
+ 4. **Publish to Proof — shareable link** - Publish the markdown unified plan to Every's Proof editor and get a shareable link to read, comment on, or share with others. One-way: the local doc stays canonical. Shown only when a markdown unified plan exists. **Render only when `OUTPUT_FORMAT=md`** (Proof operates on markdown and cannot ingest HTML).
62
+ 4. **Open in browser** — open the HTML unified plan locally for review and sharing. Shown only when an HTML unified plan exists. **Render only when `OUTPUT_FORMAT=html`.** Replaces "Publish to Proof" at the same slot under exclusive output mode — the artifact is either markdown OR HTML, never both, so exactly one of the two labels applies per run.
63
+ 5. **More clarifying questions to sharpen the doc** - Keep refining scope, edge cases, constraints, and preferences through further dialogue. Always shown.
64
+
65
+ There is no "done" / "pause" option — the blocking question already waits, and the user ends by dismissing it (Esc) or saying they're finished. The unified plan artifact is already saved.
66
+
67
+ **Post-review nudge (subsequent rounds only):** If the user has already run `ce-doc-review` this session and residual P0/P1 findings remain unaddressed, add a one-line prose nudge adjacent to the menu (e.g., "Document review flagged 2 P1 findings you may want to address — pick \"Pressure-test the requirements\" to run another pass."). Reference the option by label, not number: the menu renumbers when `Resolve Before Planning` hides `Create the implementation plan` and the lfg option, so a hardcoded option number can point users at the wrong action. Do not add a separate menu option; reuse the existing `Pressure-test the requirements` option. This nudge applies to markdown and HTML artifacts; HTML reruns remain report-only.
68
+
69
+ #### 4.2 Handle the Selected Option
70
+
71
+ Selections may be the literal option label (when the user types the label or a close paraphrase) or the option number. Match numbers against the currently-rendered (post-trim) list. Free-form input that doesn't match an option or describe an alternative action should be treated as clarification — ask a follow-up rather than guessing.
72
+
73
+ **If user selects "Create the implementation plan":**
74
+
75
+ Immediately load the `ce-plan` skill in the current session. Pass the unified
76
+ plan artifact path when one exists; otherwise pass a concise summary of the
77
+ finalized brainstorm decisions. When the Phase 1.1 grounding scout produced a
78
+ dossier and the file still exists, also pass its path
79
+ (`/tmp/compound-engineering/ce-brainstorm/<run-id>/grounding.md`) — it gives
80
+ planning verified quotes with `file:line` pointers to start from instead of
81
+ re-scanning the repo. Do not print the closing summary first.
82
+
83
+ **If user selects "Pressure-test the requirements":**
84
+
85
+ Load the `ce-doc-review` skill, passing the unified plan path as the argument.
86
+ For `.html` artifacts, state that the review is DOM-safe-or-report-only and that no
87
+ markdown autofix or markdown Append-to-Open-Questions write-back will run. When ce-doc-review
88
+ returns "Review complete", return to the Phase 4 options and re-render the
89
+ menu (the requirements may have changed for markdown or from proven DOM-safe HTML fixes; HTML findings are
90
+ advisory when the helper refuses, so still
91
+ re-evaluate `Resolve Before Planning`, the lfg software gate, and residual
92
+ findings). If residual P0/P1 findings remain unaddressed, include the
93
+ post-review nudge above the menu. Do not show the closing summary yet.
94
+
95
+ **If user selects "Ship it autonomously with `lfg`":**
96
+
97
+ Immediately invoke the `lfg` skill in the current session via the platform's
98
+ skill-invocation primitive, passing the unified plan artifact path as its
99
+ argument so `lfg`'s `ce-plan` step enriches *this* requirements-only artifact in
100
+ place rather than bootstrapping a new plan. `lfg` then owns the full pipeline
101
+ autonomously — plan, implement (`ce-work` in `return-to-caller` mode), simplify,
102
+ independent code review and applied fixes, commit/push/open PR, and CI watch to
103
+ green. Do not also start a `/goal` or load `ce-work` directly — `lfg`
104
+ orchestrates them. Unlike a goal tool, `lfg` is host-agnostic: it works wherever
105
+ skills run (plus `git`/`gh` for the PR/CI tail, which it guards when absent).
106
+
107
+ Where the host exposes no skill-invocation primitive, print the `lfg <plan-path>`
108
+ invocation for the user to run and note that it will plan, build, review, and
109
+ open a PR from this artifact.
110
+
111
+ Do not print the closing summary first.
112
+
113
+ **If user selects "More clarifying questions to sharpen the doc":** Return to Phase 1.3 (Collaborative Dialogue) and continue asking the user clarifying questions one at a time to further refine scope, edge cases, constraints, and preferences. Continue until the user is satisfied, then return to Phase 4. Do not show the closing summary yet.
114
+
115
+ **If user selects "Publish to Proof — shareable link":**
116
+
117
+ Load the `ce-proof` skill to publish the markdown unified plan. Pass:
118
+
119
+ - **source file:** `docs/plans/YYYY-MM-DD-NNN-<type>-<topic>-plan.md`
120
+ - **doc title:** `Plan: <topic title> (requirements-only)`
121
+ - **identity:** `ai:compound-engineering` / `Compound Engineering`
122
+
123
+ ce-proof creates a shared Proof doc from the markdown plan file (Create and
124
+ Share workflow), binds the display name, and returns the share URL. Surface
125
+ the URL to the user — they can open it to read, comment, or share with others
126
+ — then return to the Phase 4 options and re-render the menu. This is a one-way
127
+ publish: the local doc stays canonical and nothing syncs back, so option
128
+ eligibility is unchanged (no need to re-evaluate `Resolve Before Planning`,
129
+ the lfg software gate, or residual findings on account of Proof).
130
+
131
+ If the upload fails (network error, Proof API down), retry once after a short wait. If it still fails, tell the user the upload didn't succeed and briefly explain why, then return to the Phase 4 options — don't leave them wondering why the option did nothing.
132
+
133
+ **If user selects "Open in browser":** Display the absolute path to the `.html` unified plan so the user can open it locally. Where the platform exposes a browser-opening primitive (e.g., `open` on macOS, `xdg-open` on Linux, `start` on Windows), the agent may invoke it directly; otherwise print the absolute path and let the user open it. After the path is displayed (or the browser is opened), return to the Phase 4 options so the user can pick a follow-up action.
134
+
135
+ **If the user indicates they're finished** (says "done"/"that's all", or dismisses the menu without picking an option): display the closing summary (see 4.3) and end the turn.
136
+
137
+ #### 4.3 Closing Summary
138
+
139
+ Use the closing summary only when this run of the workflow is ending or handing off, not when returning to the Phase 4 options.
140
+
141
+ In both templates below, substitute `<absolute path to unified plan>` with the
142
+ actual file path written this run — `.md` for `OUTPUT_FORMAT=md`, `.html` for
143
+ `OUTPUT_FORMAT=html`. Do not emit a hardcoded `.md` path when the artifact is
144
+ HTML, or the closing summary will point users at a file that was never written.
145
+
146
+ When complete and ready for planning, display:
147
+
148
+ ```text
149
+ Brainstorm complete!
150
+
151
+ Plan artifact: <absolute path to unified plan> # omit line if no artifact was created
152
+
153
+ Key decisions:
154
+ - [Decision 1]
155
+ - [Decision 2]
156
+
157
+ Recommended next step: `ce-plan <plan artifact path>`
158
+ ```
159
+
160
+ If the user pauses with `Resolve Before Planning` still populated, display:
161
+
162
+ ```text
163
+ Brainstorm paused.
164
+
165
+ Plan artifact: <absolute path to unified plan> # omit line if no artifact was created
166
+
167
+ Planning is blocked by:
168
+ - [Blocking question 1]
169
+ - [Blocking question 2]
170
+
171
+ Resume with `ce-brainstorm` when ready to resolve these before planning.
172
+ ```