@agimon-ai/doompi 0.0.1-alpha.3 → 0.0.1-alpha.30

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 (950) hide show
  1. package/README.md +646 -456
  2. package/assets/doompi-tui.png +0 -0
  3. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  4. package/dist/bin/cli.cjs +1 -1
  5. package/dist/bin/cli.cjs.map +1 -1
  6. package/dist/bin/cli.d.cts +1 -1
  7. package/dist/bin/cli.d.mts +1 -1
  8. package/dist/bin/cli.mjs +1 -1
  9. package/dist/bin/cli.mjs.map +1 -1
  10. package/dist/bin/doomRunner.cjs +1 -1
  11. package/dist/bin/doomRunner.cjs.map +1 -1
  12. package/dist/bin/doomRunner.d.cts +13 -1
  13. package/dist/bin/doomRunner.d.cts.map +1 -0
  14. package/dist/bin/doomRunner.d.mts +13 -1
  15. package/dist/bin/doomRunner.d.mts.map +1 -0
  16. package/dist/bin/doomRunner.mjs +1 -1
  17. package/dist/bin/doomRunner.mjs.map +1 -1
  18. package/dist/bin/dpi.cjs +3 -0
  19. package/dist/bin/dpi.cjs.map +1 -0
  20. package/dist/bin/dpi.d.cts +1 -0
  21. package/dist/bin/dpi.d.mts +1 -0
  22. package/dist/bin/dpi.mjs +3 -0
  23. package/dist/bin/dpi.mjs.map +1 -0
  24. package/dist/cli/cliApp.cjs +1 -2
  25. package/dist/cli/cliApp.d.cts +2 -45
  26. package/dist/cli/cliApp.d.mts +2 -45
  27. package/dist/cli/cliApp.mjs +1 -2
  28. package/dist/cli/compatibilityOptions.cjs +1 -2
  29. package/dist/cli/compatibilityOptions.d.cts +2 -15
  30. package/dist/cli/compatibilityOptions.d.mts +2 -15
  31. package/dist/cli/compatibilityOptions.mjs +1 -2
  32. package/dist/cli/help.cjs +1 -63
  33. package/dist/cli/help.d.cts +2 -6
  34. package/dist/cli/help.d.mts +2 -6
  35. package/dist/cli/help.mjs +1 -63
  36. package/dist/cli/index.cjs +1 -1
  37. package/dist/cli/index.d.cts +4 -4
  38. package/dist/cli/index.d.mts +4 -4
  39. package/dist/cli/index.mjs +1 -1
  40. package/dist/cli/matrixOptions.cjs +1 -2
  41. package/dist/cli/matrixOptions.d.cts +2 -99
  42. package/dist/cli/matrixOptions.d.mts +2 -99
  43. package/dist/cli/matrixOptions.mjs +1 -2
  44. package/dist/cli/options.cjs +1 -2
  45. package/dist/cli/options.d.cts +2 -7
  46. package/dist/cli/options.d.mts +2 -7
  47. package/dist/cli/options.mjs +1 -2
  48. package/dist/commands/baseCommand.cjs +1 -2
  49. package/dist/commands/baseCommand.d.cts +2 -36
  50. package/dist/commands/baseCommand.d.mts +2 -36
  51. package/dist/commands/baseCommand.mjs +1 -2
  52. package/dist/commands/compatibilityCommand.cjs +1 -2
  53. package/dist/commands/compatibilityCommand.d.cts +2 -14
  54. package/dist/commands/compatibilityCommand.d.mts +2 -14
  55. package/dist/commands/compatibilityCommand.mjs +1 -2
  56. package/dist/commands/emitMcpCommand.cjs +1 -2
  57. package/dist/commands/emitMcpCommand.d.cts +2 -19
  58. package/dist/commands/emitMcpCommand.d.mts +2 -19
  59. package/dist/commands/emitMcpCommand.mjs +1 -2
  60. package/dist/commands/explainCommand.cjs +1 -21
  61. package/dist/commands/explainCommand.d.cts +2 -63
  62. package/dist/commands/explainCommand.d.mts +2 -63
  63. package/dist/commands/explainCommand.mjs +1 -21
  64. package/dist/commands/index.cjs +1 -1
  65. package/dist/commands/index.d.cts +8 -9
  66. package/dist/commands/index.d.mts +8 -9
  67. package/dist/commands/index.mjs +1 -1
  68. package/dist/commands/initCommand.cjs +1 -3
  69. package/dist/commands/initCommand.d.cts +2 -11
  70. package/dist/commands/initCommand.d.mts +2 -11
  71. package/dist/commands/initCommand.mjs +1 -3
  72. package/dist/commands/launchCommand.cjs +1 -2
  73. package/dist/commands/launchCommand.d.cts +2 -31
  74. package/dist/commands/launchCommand.d.mts +2 -31
  75. package/dist/commands/launchCommand.mjs +1 -2
  76. package/dist/commands/syncCommand.cjs +1 -6
  77. package/dist/commands/syncCommand.d.cts +2 -37
  78. package/dist/commands/syncCommand.d.mts +2 -37
  79. package/dist/commands/syncCommand.mjs +1 -6
  80. package/dist/config/harnessState.cjs +1 -2
  81. package/dist/config/harnessState.d.cts +2 -24
  82. package/dist/config/harnessState.d.mts +2 -24
  83. package/dist/config/harnessState.mjs +1 -2
  84. package/dist/config/index.cjs +1 -1
  85. package/dist/config/index.d.cts +4 -4
  86. package/dist/config/index.d.mts +4 -4
  87. package/dist/config/index.mjs +1 -1
  88. package/dist/config/projectTrust.cjs +1 -2
  89. package/dist/config/projectTrust.d.cts +2 -14
  90. package/dist/config/projectTrust.d.mts +2 -14
  91. package/dist/config/projectTrust.mjs +1 -2
  92. package/dist/entries/cordisFinalizer.cjs +1 -0
  93. package/dist/entries/cordisFinalizer.d.cts +2 -0
  94. package/dist/entries/cordisFinalizer.d.mts +2 -0
  95. package/dist/entries/cordisFinalizer.mjs +1 -0
  96. package/dist/entries/cordisHost.cjs +1 -0
  97. package/dist/entries/cordisHost.d.cts +2 -0
  98. package/dist/entries/cordisHost.d.mts +2 -0
  99. package/dist/entries/cordisHost.mjs +1 -0
  100. package/dist/entries/domains.cjs +1 -2
  101. package/dist/entries/domains.d.cts +2 -10
  102. package/dist/entries/domains.d.mts +2 -10
  103. package/dist/entries/domains.mjs +1 -2
  104. package/dist/entries/doom.cjs +1 -2
  105. package/dist/entries/doom.d.cts +2 -13
  106. package/dist/entries/doom.d.mts +2 -14
  107. package/dist/entries/doom.mjs +1 -2
  108. package/dist/entries/effort.cjs +1 -2
  109. package/dist/entries/effort.d.cts +2 -10
  110. package/dist/entries/effort.d.mts +2 -10
  111. package/dist/entries/effort.mjs +1 -2
  112. package/dist/entries/modeCatalog.cjs +1 -0
  113. package/dist/entries/modeCatalog.d.cts +2 -0
  114. package/dist/entries/modeCatalog.d.mts +2 -0
  115. package/dist/entries/modeCatalog.mjs +1 -0
  116. package/dist/entries/ollamaProvider.cjs +1 -2
  117. package/dist/entries/ollamaProvider.d.cts +2 -6
  118. package/dist/entries/ollamaProvider.d.mts +2 -7
  119. package/dist/entries/ollamaProvider.mjs +1 -2
  120. package/dist/entries/styleSystem.cjs +1 -4
  121. package/dist/entries/styleSystem.d.cts +2 -32
  122. package/dist/entries/styleSystem.d.mts +2 -32
  123. package/dist/entries/styleSystem.mjs +1 -4
  124. package/dist/extensions/pi.cjs +1 -0
  125. package/dist/extensions/pi.d.cts +2 -0
  126. package/dist/extensions/pi.d.mts +2 -0
  127. package/dist/extensions/pi.mjs +1 -0
  128. package/dist/index.cjs +1 -1
  129. package/dist/index.d.cts +42 -36
  130. package/dist/index.d.mts +42 -36
  131. package/dist/index.mjs +1 -1
  132. package/dist/logSinkTelemetry.cjs +1 -2
  133. package/dist/logSinkTelemetry.d.cts +2 -51
  134. package/dist/logSinkTelemetry.d.mts +2 -51
  135. package/dist/logSinkTelemetry.mjs +1 -2
  136. package/dist/pi-cache-optimizer-DcFaM4WB.mjs +47 -0
  137. package/dist/pi-cache-optimizer-DcFaM4WB.mjs.map +1 -0
  138. package/dist/services/compatibility/antigravity.cjs +1 -2
  139. package/dist/services/compatibility/antigravity.d.cts +2 -11
  140. package/dist/services/compatibility/antigravity.d.mts +2 -11
  141. package/dist/services/compatibility/antigravity.mjs +1 -2
  142. package/dist/services/compatibility/codex.cjs +1 -2
  143. package/dist/services/compatibility/codex.d.cts +2 -19
  144. package/dist/services/compatibility/codex.d.mts +2 -19
  145. package/dist/services/compatibility/codex.mjs +1 -2
  146. package/dist/services/compatibility/index.cjs +1 -2
  147. package/dist/services/compatibility/index.d.cts +6 -16
  148. package/dist/services/compatibility/index.d.mts +6 -16
  149. package/dist/services/compatibility/index.mjs +1 -2
  150. package/dist/services/compatibility/process.cjs +1 -2
  151. package/dist/services/compatibility/process.d.cts +2 -35
  152. package/dist/services/compatibility/process.d.mts +2 -35
  153. package/dist/services/compatibility/process.mjs +1 -2
  154. package/dist/services/compatibility/shared.cjs +1 -2
  155. package/dist/services/compatibility/shared.d.cts +2 -33
  156. package/dist/services/compatibility/shared.d.mts +2 -33
  157. package/dist/services/compatibility/shared.mjs +1 -2
  158. package/dist/services/compatibilityContext.cjs +1 -2
  159. package/dist/services/compatibilityContext.d.cts +2 -23
  160. package/dist/services/compatibilityContext.d.mts +2 -23
  161. package/dist/services/compatibilityContext.mjs +1 -2
  162. package/dist/services/composer.cjs +1 -2
  163. package/dist/services/composer.d.cts +4 -135
  164. package/dist/services/composer.d.mts +4 -135
  165. package/dist/services/composer.mjs +1 -2
  166. package/dist/services/harnessContext.cjs +1 -2
  167. package/dist/services/harnessContext.d.cts +2 -61
  168. package/dist/services/harnessContext.d.mts +2 -61
  169. package/dist/services/harnessContext.mjs +1 -2
  170. package/dist/services/index.cjs +1 -1
  171. package/dist/services/index.d.cts +18 -15
  172. package/dist/services/index.d.mts +18 -15
  173. package/dist/services/index.mjs +1 -1
  174. package/dist/services/matrixSwitcher.cjs +1 -2
  175. package/dist/services/matrixSwitcher.d.cts +3 -46
  176. package/dist/services/matrixSwitcher.d.mts +3 -46
  177. package/dist/services/matrixSwitcher.mjs +1 -2
  178. package/dist/services/mcpFilter.cjs +1 -3
  179. package/dist/services/mcpFilter.d.cts +1 -40
  180. package/dist/services/mcpFilter.d.mts +1 -40
  181. package/dist/services/mcpFilter.mjs +1 -3
  182. package/dist/services/modeCatalog.cjs +1 -0
  183. package/dist/services/modeCatalog.d.cts +2 -0
  184. package/dist/services/modeCatalog.d.mts +2 -0
  185. package/dist/services/modeCatalog.mjs +1 -0
  186. package/dist/services/piSettings.cjs +1 -2
  187. package/dist/services/piSettings.d.cts +2 -24
  188. package/dist/services/piSettings.d.mts +2 -24
  189. package/dist/services/piSettings.mjs +1 -2
  190. package/dist/services/resourceCollector.cjs +1 -3
  191. package/dist/services/resourceCollector.d.cts +1 -23
  192. package/dist/services/resourceCollector.d.mts +1 -23
  193. package/dist/services/resourceCollector.mjs +1 -3
  194. package/dist/services/syncState.cjs +1 -2
  195. package/dist/services/syncState.d.cts +3 -133
  196. package/dist/services/syncState.d.mts +3 -133
  197. package/dist/services/syncState.mjs +1 -2
  198. package/dist/src/adapters/bootstrapClaim.cjs +2 -0
  199. package/dist/src/adapters/bootstrapClaim.cjs.map +1 -0
  200. package/dist/src/adapters/bootstrapClaim.mjs +2 -0
  201. package/dist/src/adapters/bootstrapClaim.mjs.map +1 -0
  202. package/dist/src/adapters/bootstrapLocator.cjs +2 -0
  203. package/dist/src/adapters/bootstrapLocator.cjs.map +1 -0
  204. package/dist/src/adapters/bootstrapLocator.d.cts +6 -0
  205. package/dist/src/adapters/bootstrapLocator.d.cts.map +1 -0
  206. package/dist/src/adapters/bootstrapLocator.d.mts +6 -0
  207. package/dist/src/adapters/bootstrapLocator.d.mts.map +1 -0
  208. package/dist/src/adapters/bootstrapLocator.mjs +2 -0
  209. package/dist/src/adapters/bootstrapLocator.mjs.map +1 -0
  210. package/dist/src/adapters/compatibility/antigravity.cjs +2 -0
  211. package/dist/src/adapters/compatibility/antigravity.cjs.map +1 -0
  212. package/dist/src/adapters/compatibility/antigravity.d.cts +10 -0
  213. package/dist/src/adapters/compatibility/antigravity.d.cts.map +1 -0
  214. package/dist/src/adapters/compatibility/antigravity.d.mts +10 -0
  215. package/dist/src/adapters/compatibility/antigravity.d.mts.map +1 -0
  216. package/dist/src/adapters/compatibility/antigravity.mjs +2 -0
  217. package/dist/src/adapters/compatibility/antigravity.mjs.map +1 -0
  218. package/dist/src/adapters/compatibility/codex.cjs +2 -0
  219. package/dist/src/adapters/compatibility/codex.cjs.map +1 -0
  220. package/dist/src/adapters/compatibility/codex.d.cts +18 -0
  221. package/dist/src/adapters/compatibility/codex.d.cts.map +1 -0
  222. package/dist/src/adapters/compatibility/codex.d.mts +18 -0
  223. package/dist/src/adapters/compatibility/codex.d.mts.map +1 -0
  224. package/dist/src/adapters/compatibility/codex.mjs +2 -0
  225. package/dist/src/adapters/compatibility/codex.mjs.map +1 -0
  226. package/dist/src/adapters/compatibility/index.cjs +2 -0
  227. package/dist/src/adapters/compatibility/index.cjs.map +1 -0
  228. package/dist/src/adapters/compatibility/index.d.cts +15 -0
  229. package/dist/src/adapters/compatibility/index.d.cts.map +1 -0
  230. package/dist/src/adapters/compatibility/index.d.mts +15 -0
  231. package/dist/src/adapters/compatibility/index.d.mts.map +1 -0
  232. package/dist/src/adapters/compatibility/index.mjs +2 -0
  233. package/dist/src/adapters/compatibility/index.mjs.map +1 -0
  234. package/dist/src/adapters/compatibility/process.cjs +2 -0
  235. package/dist/src/adapters/compatibility/process.cjs.map +1 -0
  236. package/dist/src/adapters/compatibility/process.d.cts +34 -0
  237. package/dist/src/adapters/compatibility/process.d.cts.map +1 -0
  238. package/dist/src/adapters/compatibility/process.d.mts +34 -0
  239. package/dist/src/adapters/compatibility/process.d.mts.map +1 -0
  240. package/dist/src/adapters/compatibility/process.mjs +2 -0
  241. package/dist/src/adapters/compatibility/process.mjs.map +1 -0
  242. package/dist/src/adapters/compatibility/shared.cjs +2 -0
  243. package/dist/src/adapters/compatibility/shared.cjs.map +1 -0
  244. package/dist/src/adapters/compatibility/shared.d.cts +32 -0
  245. package/dist/src/adapters/compatibility/shared.d.cts.map +1 -0
  246. package/dist/src/adapters/compatibility/shared.d.mts +32 -0
  247. package/dist/src/adapters/compatibility/shared.d.mts.map +1 -0
  248. package/dist/src/adapters/compatibility/shared.mjs +2 -0
  249. package/dist/src/adapters/compatibility/shared.mjs.map +1 -0
  250. package/dist/src/adapters/compatibilityContext.cjs +2 -0
  251. package/dist/src/adapters/compatibilityContext.cjs.map +1 -0
  252. package/dist/src/adapters/compatibilityContext.d.cts +23 -0
  253. package/dist/src/adapters/compatibilityContext.d.cts.map +1 -0
  254. package/dist/src/adapters/compatibilityContext.d.mts +23 -0
  255. package/dist/src/adapters/compatibilityContext.d.mts.map +1 -0
  256. package/dist/src/adapters/compatibilityContext.mjs +2 -0
  257. package/dist/src/adapters/compatibilityContext.mjs.map +1 -0
  258. package/dist/src/adapters/composer.cjs +2 -0
  259. package/dist/src/adapters/composer.cjs.map +1 -0
  260. package/dist/src/adapters/composer.d.cts +119 -0
  261. package/dist/src/adapters/composer.d.cts.map +1 -0
  262. package/dist/src/adapters/composer.d.mts +119 -0
  263. package/dist/src/adapters/composer.d.mts.map +1 -0
  264. package/dist/src/adapters/composer.mjs +2 -0
  265. package/dist/src/adapters/composer.mjs.map +1 -0
  266. package/dist/src/adapters/compositionState.cjs +2 -0
  267. package/dist/src/adapters/compositionState.cjs.map +1 -0
  268. package/dist/src/adapters/compositionState.d.cts +10 -0
  269. package/dist/src/adapters/compositionState.d.cts.map +1 -0
  270. package/dist/src/adapters/compositionState.d.mts +10 -0
  271. package/dist/src/adapters/compositionState.d.mts.map +1 -0
  272. package/dist/src/adapters/compositionState.mjs +2 -0
  273. package/dist/src/adapters/compositionState.mjs.map +1 -0
  274. package/dist/src/adapters/config/harnessState.cjs +2 -0
  275. package/dist/src/adapters/config/harnessState.cjs.map +1 -0
  276. package/dist/src/adapters/config/harnessState.d.cts +19 -0
  277. package/dist/src/adapters/config/harnessState.d.cts.map +1 -0
  278. package/dist/src/adapters/config/harnessState.d.mts +19 -0
  279. package/dist/src/adapters/config/harnessState.d.mts.map +1 -0
  280. package/dist/src/adapters/config/harnessState.mjs +2 -0
  281. package/dist/src/adapters/config/harnessState.mjs.map +1 -0
  282. package/dist/src/adapters/doomPackage.cjs +2 -0
  283. package/dist/src/adapters/doomPackage.cjs.map +1 -0
  284. package/dist/src/adapters/doomPackage.mjs +2 -0
  285. package/dist/src/adapters/doomPackage.mjs.map +1 -0
  286. package/dist/src/adapters/dpiRunner.cjs +3 -0
  287. package/dist/src/adapters/dpiRunner.cjs.map +1 -0
  288. package/dist/src/adapters/dpiRunner.mjs +3 -0
  289. package/dist/src/adapters/dpiRunner.mjs.map +1 -0
  290. package/dist/src/adapters/dpiSettings.cjs +2 -0
  291. package/dist/src/adapters/dpiSettings.cjs.map +1 -0
  292. package/dist/src/adapters/dpiSettings.mjs +2 -0
  293. package/dist/src/adapters/dpiSettings.mjs.map +1 -0
  294. package/dist/src/adapters/extensionCompiler.cjs +3 -0
  295. package/dist/src/adapters/extensionCompiler.cjs.map +1 -0
  296. package/dist/src/adapters/extensionCompiler.mjs +3 -0
  297. package/dist/src/adapters/extensionCompiler.mjs.map +1 -0
  298. package/dist/src/adapters/harnessContext.cjs +2 -0
  299. package/dist/src/adapters/harnessContext.cjs.map +1 -0
  300. package/dist/src/adapters/harnessContext.d.cts +52 -0
  301. package/dist/src/adapters/harnessContext.d.cts.map +1 -0
  302. package/dist/src/adapters/harnessContext.d.mts +52 -0
  303. package/dist/src/adapters/harnessContext.d.mts.map +1 -0
  304. package/dist/src/adapters/harnessContext.mjs +2 -0
  305. package/dist/src/adapters/harnessContext.mjs.map +1 -0
  306. package/dist/src/adapters/layerPackageInstaller.cjs +2 -0
  307. package/dist/src/adapters/layerPackageInstaller.cjs.map +1 -0
  308. package/dist/src/adapters/layerPackageInstaller.mjs +2 -0
  309. package/dist/src/adapters/layerPackageInstaller.mjs.map +1 -0
  310. package/dist/src/adapters/modules/moduleResolution.cjs +2 -0
  311. package/dist/src/adapters/modules/moduleResolution.cjs.map +1 -0
  312. package/dist/src/adapters/modules/moduleResolution.d.cts +74 -0
  313. package/dist/src/adapters/modules/moduleResolution.d.cts.map +1 -0
  314. package/dist/src/adapters/modules/moduleResolution.d.mts +74 -0
  315. package/dist/src/adapters/modules/moduleResolution.d.mts.map +1 -0
  316. package/dist/src/adapters/modules/moduleResolution.mjs +2 -0
  317. package/dist/src/adapters/modules/moduleResolution.mjs.map +1 -0
  318. package/dist/src/adapters/packageBootstrap.cjs +2 -0
  319. package/dist/src/adapters/packageBootstrap.cjs.map +1 -0
  320. package/dist/src/adapters/packageBootstrap.d.cts +7 -0
  321. package/dist/src/adapters/packageBootstrap.d.cts.map +1 -0
  322. package/dist/src/adapters/packageBootstrap.d.mts +7 -0
  323. package/dist/src/adapters/packageBootstrap.d.mts.map +1 -0
  324. package/dist/src/adapters/packageBootstrap.mjs +2 -0
  325. package/dist/src/adapters/packageBootstrap.mjs.map +1 -0
  326. package/dist/src/adapters/piExtensionAlias.cjs +2 -0
  327. package/dist/src/adapters/piExtensionAlias.cjs.map +1 -0
  328. package/dist/src/adapters/piExtensionAlias.mjs +2 -0
  329. package/dist/src/adapters/piExtensionAlias.mjs.map +1 -0
  330. package/dist/src/adapters/piSettings.cjs +2 -0
  331. package/dist/src/adapters/piSettings.cjs.map +1 -0
  332. package/dist/src/adapters/piSettings.d.cts +24 -0
  333. package/dist/src/adapters/piSettings.d.cts.map +1 -0
  334. package/dist/src/adapters/piSettings.d.mts +24 -0
  335. package/dist/src/adapters/piSettings.d.mts.map +1 -0
  336. package/dist/src/adapters/piSettings.mjs +2 -0
  337. package/dist/src/adapters/piSettings.mjs.map +1 -0
  338. package/dist/src/adapters/projectPiSettings.cjs +2 -0
  339. package/dist/src/adapters/projectPiSettings.cjs.map +1 -0
  340. package/dist/src/adapters/projectPiSettings.d.cts +28 -0
  341. package/dist/src/adapters/projectPiSettings.d.cts.map +1 -0
  342. package/dist/src/adapters/projectPiSettings.d.mts +28 -0
  343. package/dist/src/adapters/projectPiSettings.d.mts.map +1 -0
  344. package/dist/src/adapters/projectPiSettings.mjs +2 -0
  345. package/dist/src/adapters/projectPiSettings.mjs.map +1 -0
  346. package/dist/src/adapters/repository/repository.cjs +2 -0
  347. package/dist/src/adapters/repository/repository.cjs.map +1 -0
  348. package/dist/src/adapters/repository/repository.d.cts +21 -0
  349. package/dist/src/adapters/repository/repository.d.cts.map +1 -0
  350. package/dist/src/adapters/repository/repository.d.mts +21 -0
  351. package/dist/src/adapters/repository/repository.d.mts.map +1 -0
  352. package/dist/src/adapters/repository/repository.mjs +2 -0
  353. package/dist/src/adapters/repository/repository.mjs.map +1 -0
  354. package/dist/src/adapters/runtimeBundle.cjs +2 -0
  355. package/dist/src/adapters/runtimeBundle.cjs.map +1 -0
  356. package/dist/src/adapters/runtimeBundle.mjs +2 -0
  357. package/dist/src/adapters/runtimeBundle.mjs.map +1 -0
  358. package/dist/src/adapters/runtimeIdentity.cjs +2 -0
  359. package/dist/src/adapters/runtimeIdentity.cjs.map +1 -0
  360. package/dist/src/adapters/runtimeIdentity.d.cts +8 -0
  361. package/dist/src/adapters/runtimeIdentity.d.cts.map +1 -0
  362. package/dist/src/adapters/runtimeIdentity.d.mts +8 -0
  363. package/dist/src/adapters/runtimeIdentity.d.mts.map +1 -0
  364. package/dist/src/adapters/runtimeIdentity.mjs +2 -0
  365. package/dist/src/adapters/runtimeIdentity.mjs.map +1 -0
  366. package/dist/src/adapters/serialization/json.cjs +2 -0
  367. package/dist/src/adapters/serialization/json.cjs.map +1 -0
  368. package/dist/src/adapters/serialization/json.d.cts +23 -0
  369. package/dist/src/adapters/serialization/json.d.cts.map +1 -0
  370. package/dist/src/adapters/serialization/json.d.mts +23 -0
  371. package/dist/src/adapters/serialization/json.d.mts.map +1 -0
  372. package/dist/src/adapters/serialization/json.mjs +2 -0
  373. package/dist/src/adapters/serialization/json.mjs.map +1 -0
  374. package/dist/src/adapters/sharedBuildCache.cjs +2 -0
  375. package/dist/src/adapters/sharedBuildCache.cjs.map +1 -0
  376. package/dist/src/adapters/sharedBuildCache.mjs +2 -0
  377. package/dist/src/adapters/sharedBuildCache.mjs.map +1 -0
  378. package/dist/src/adapters/syncLocation.cjs +2 -0
  379. package/dist/src/adapters/syncLocation.cjs.map +1 -0
  380. package/dist/src/adapters/syncLocation.d.cts +19 -0
  381. package/dist/src/adapters/syncLocation.d.cts.map +1 -0
  382. package/dist/src/adapters/syncLocation.d.mts +19 -0
  383. package/dist/src/adapters/syncLocation.d.mts.map +1 -0
  384. package/dist/src/adapters/syncLocation.mjs +2 -0
  385. package/dist/src/adapters/syncLocation.mjs.map +1 -0
  386. package/dist/src/adapters/syncState.cjs +2 -0
  387. package/dist/src/adapters/syncState.cjs.map +1 -0
  388. package/dist/src/adapters/syncState.d.cts +155 -0
  389. package/dist/src/adapters/syncState.d.cts.map +1 -0
  390. package/dist/src/adapters/syncState.d.mts +155 -0
  391. package/dist/src/adapters/syncState.d.mts.map +1 -0
  392. package/dist/src/adapters/syncState.mjs +2 -0
  393. package/dist/src/adapters/syncState.mjs.map +1 -0
  394. package/dist/src/adapters/syncStateContract.cjs +2 -0
  395. package/dist/src/adapters/syncStateContract.cjs.map +1 -0
  396. package/dist/src/adapters/syncStateContract.d.cts +12 -0
  397. package/dist/src/adapters/syncStateContract.d.cts.map +1 -0
  398. package/dist/src/adapters/syncStateContract.d.mts +12 -0
  399. package/dist/src/adapters/syncStateContract.d.mts.map +1 -0
  400. package/dist/src/adapters/syncStateContract.mjs +2 -0
  401. package/dist/src/adapters/syncStateContract.mjs.map +1 -0
  402. package/dist/src/adapters/syncedRuntimeBuilder.cjs +2 -0
  403. package/dist/src/adapters/syncedRuntimeBuilder.cjs.map +1 -0
  404. package/dist/src/adapters/syncedRuntimeBuilder.d.cts +11 -0
  405. package/dist/src/adapters/syncedRuntimeBuilder.d.cts.map +1 -0
  406. package/dist/src/adapters/syncedRuntimeBuilder.d.mts +11 -0
  407. package/dist/src/adapters/syncedRuntimeBuilder.d.mts.map +1 -0
  408. package/dist/src/adapters/syncedRuntimeBuilder.mjs +2 -0
  409. package/dist/src/adapters/syncedRuntimeBuilder.mjs.map +1 -0
  410. package/dist/src/adapters/telemetry/logSinkTelemetry.cjs +2 -0
  411. package/dist/src/adapters/telemetry/logSinkTelemetry.cjs.map +1 -0
  412. package/dist/src/adapters/telemetry/logSinkTelemetry.d.cts +50 -0
  413. package/dist/src/adapters/telemetry/logSinkTelemetry.d.cts.map +1 -0
  414. package/dist/src/adapters/telemetry/logSinkTelemetry.d.mts +50 -0
  415. package/dist/src/adapters/telemetry/logSinkTelemetry.d.mts.map +1 -0
  416. package/dist/src/adapters/telemetry/logSinkTelemetry.mjs +2 -0
  417. package/dist/src/adapters/telemetry/logSinkTelemetry.mjs.map +1 -0
  418. package/dist/src/commands/baseCommand.cjs +2 -0
  419. package/dist/src/commands/baseCommand.cjs.map +1 -0
  420. package/dist/src/commands/baseCommand.d.cts +36 -0
  421. package/dist/src/commands/baseCommand.d.cts.map +1 -0
  422. package/dist/src/commands/baseCommand.d.mts +36 -0
  423. package/dist/src/commands/baseCommand.d.mts.map +1 -0
  424. package/dist/src/commands/baseCommand.mjs +2 -0
  425. package/dist/src/commands/baseCommand.mjs.map +1 -0
  426. package/dist/src/commands/buildCommand.cjs +3 -0
  427. package/dist/src/commands/buildCommand.cjs.map +1 -0
  428. package/dist/src/commands/buildCommand.mjs +3 -0
  429. package/dist/src/commands/buildCommand.mjs.map +1 -0
  430. package/dist/src/commands/cli/cliApp.cjs +2 -0
  431. package/dist/src/commands/cli/cliApp.cjs.map +1 -0
  432. package/dist/src/commands/cli/cliApp.d.cts +44 -0
  433. package/dist/src/commands/cli/cliApp.d.cts.map +1 -0
  434. package/dist/src/commands/cli/cliApp.d.mts +44 -0
  435. package/dist/src/commands/cli/cliApp.d.mts.map +1 -0
  436. package/dist/src/commands/cli/cliApp.mjs +2 -0
  437. package/dist/src/commands/cli/cliApp.mjs.map +1 -0
  438. package/dist/src/commands/cli/compatibilityOptions.cjs +2 -0
  439. package/dist/src/commands/cli/compatibilityOptions.cjs.map +1 -0
  440. package/dist/src/commands/cli/compatibilityOptions.d.cts +14 -0
  441. package/dist/src/commands/cli/compatibilityOptions.d.cts.map +1 -0
  442. package/dist/src/commands/cli/compatibilityOptions.d.mts +14 -0
  443. package/dist/src/commands/cli/compatibilityOptions.d.mts.map +1 -0
  444. package/dist/src/commands/cli/compatibilityOptions.mjs +2 -0
  445. package/dist/src/commands/cli/compatibilityOptions.mjs.map +1 -0
  446. package/dist/src/commands/cli/help.cjs +68 -0
  447. package/dist/src/commands/cli/help.cjs.map +1 -0
  448. package/dist/src/commands/cli/help.d.cts +6 -0
  449. package/dist/src/commands/cli/help.d.cts.map +1 -0
  450. package/dist/src/commands/cli/help.d.mts +6 -0
  451. package/dist/src/commands/cli/help.d.mts.map +1 -0
  452. package/dist/src/commands/cli/help.mjs +68 -0
  453. package/dist/src/commands/cli/help.mjs.map +1 -0
  454. package/dist/src/commands/cli/matrixOptions.cjs +2 -0
  455. package/dist/src/commands/cli/matrixOptions.cjs.map +1 -0
  456. package/dist/src/commands/cli/matrixOptions.d.cts +91 -0
  457. package/dist/src/commands/cli/matrixOptions.d.cts.map +1 -0
  458. package/dist/src/commands/cli/matrixOptions.d.mts +91 -0
  459. package/dist/src/commands/cli/matrixOptions.d.mts.map +1 -0
  460. package/dist/src/commands/cli/matrixOptions.mjs +2 -0
  461. package/dist/src/commands/cli/matrixOptions.mjs.map +1 -0
  462. package/dist/src/commands/cli/options.cjs +2 -0
  463. package/dist/src/commands/cli/options.cjs.map +1 -0
  464. package/dist/src/commands/cli/options.d.cts +6 -0
  465. package/dist/src/commands/cli/options.d.cts.map +1 -0
  466. package/dist/src/commands/cli/options.d.mts +6 -0
  467. package/dist/src/commands/cli/options.d.mts.map +1 -0
  468. package/dist/src/commands/cli/options.mjs +2 -0
  469. package/dist/src/commands/cli/options.mjs.map +1 -0
  470. package/dist/src/commands/compatibilityCommand.cjs +2 -0
  471. package/dist/src/commands/compatibilityCommand.cjs.map +1 -0
  472. package/dist/src/commands/compatibilityCommand.d.cts +13 -0
  473. package/dist/src/commands/compatibilityCommand.d.cts.map +1 -0
  474. package/dist/src/commands/compatibilityCommand.d.mts +13 -0
  475. package/dist/src/commands/compatibilityCommand.d.mts.map +1 -0
  476. package/dist/src/commands/compatibilityCommand.mjs +2 -0
  477. package/dist/src/commands/compatibilityCommand.mjs.map +1 -0
  478. package/dist/src/commands/emitMcpCommand.cjs +2 -0
  479. package/dist/src/commands/emitMcpCommand.cjs.map +1 -0
  480. package/dist/src/commands/emitMcpCommand.d.cts +18 -0
  481. package/dist/src/commands/emitMcpCommand.d.cts.map +1 -0
  482. package/dist/src/commands/emitMcpCommand.d.mts +18 -0
  483. package/dist/src/commands/emitMcpCommand.d.mts.map +1 -0
  484. package/dist/src/commands/emitMcpCommand.mjs +2 -0
  485. package/dist/src/commands/emitMcpCommand.mjs.map +1 -0
  486. package/dist/src/commands/explainCommand.cjs +21 -0
  487. package/dist/src/commands/explainCommand.cjs.map +1 -0
  488. package/dist/src/commands/explainCommand.d.cts +62 -0
  489. package/dist/src/commands/explainCommand.d.cts.map +1 -0
  490. package/dist/src/commands/explainCommand.d.mts +62 -0
  491. package/dist/src/commands/explainCommand.d.mts.map +1 -0
  492. package/dist/src/commands/explainCommand.mjs +21 -0
  493. package/dist/src/commands/explainCommand.mjs.map +1 -0
  494. package/dist/src/commands/initCommand.cjs +2 -0
  495. package/dist/src/commands/initCommand.cjs.map +1 -0
  496. package/dist/src/commands/initCommand.d.cts +11 -0
  497. package/dist/src/commands/initCommand.d.cts.map +1 -0
  498. package/dist/src/commands/initCommand.d.mts +11 -0
  499. package/dist/src/commands/initCommand.d.mts.map +1 -0
  500. package/dist/src/commands/initCommand.mjs +2 -0
  501. package/dist/src/commands/initCommand.mjs.map +1 -0
  502. package/dist/src/commands/initPresenter.cjs +3 -0
  503. package/dist/src/commands/initPresenter.cjs.map +1 -0
  504. package/dist/src/commands/initPresenter.d.cts +9 -0
  505. package/dist/src/commands/initPresenter.d.cts.map +1 -0
  506. package/dist/src/commands/initPresenter.d.mts +9 -0
  507. package/dist/src/commands/initPresenter.d.mts.map +1 -0
  508. package/dist/src/commands/initPresenter.mjs +3 -0
  509. package/dist/src/commands/initPresenter.mjs.map +1 -0
  510. package/dist/src/commands/launchCommand.cjs +2 -0
  511. package/dist/src/commands/launchCommand.cjs.map +1 -0
  512. package/dist/src/commands/launchCommand.d.cts +32 -0
  513. package/dist/src/commands/launchCommand.d.cts.map +1 -0
  514. package/dist/src/commands/launchCommand.d.mts +32 -0
  515. package/dist/src/commands/launchCommand.d.mts.map +1 -0
  516. package/dist/src/commands/launchCommand.mjs +2 -0
  517. package/dist/src/commands/launchCommand.mjs.map +1 -0
  518. package/dist/src/commands/syncCommand.cjs +7 -0
  519. package/dist/src/commands/syncCommand.cjs.map +1 -0
  520. package/dist/src/commands/syncCommand.d.cts +49 -0
  521. package/dist/src/commands/syncCommand.d.cts.map +1 -0
  522. package/dist/src/commands/syncCommand.d.mts +49 -0
  523. package/dist/src/commands/syncCommand.d.mts.map +1 -0
  524. package/dist/src/commands/syncCommand.mjs +7 -0
  525. package/dist/src/commands/syncCommand.mjs.map +1 -0
  526. package/dist/src/commands/syncPipeline.cjs +2 -0
  527. package/dist/src/commands/syncPipeline.cjs.map +1 -0
  528. package/dist/src/commands/syncPipeline.mjs +2 -0
  529. package/dist/src/commands/syncPipeline.mjs.map +1 -0
  530. package/dist/src/extensions/entries/cacheOptimizer.mjs +2 -0
  531. package/dist/src/extensions/entries/cacheOptimizer.mjs.map +1 -0
  532. package/dist/src/extensions/entries/cordisFinalizer.cjs +2 -0
  533. package/dist/src/extensions/entries/cordisFinalizer.cjs.map +1 -0
  534. package/dist/src/extensions/entries/cordisFinalizer.d.cts +7 -0
  535. package/dist/src/extensions/entries/cordisFinalizer.d.cts.map +1 -0
  536. package/dist/src/extensions/entries/cordisFinalizer.d.mts +7 -0
  537. package/dist/src/extensions/entries/cordisFinalizer.d.mts.map +1 -0
  538. package/dist/src/extensions/entries/cordisFinalizer.mjs +2 -0
  539. package/dist/src/extensions/entries/cordisFinalizer.mjs.map +1 -0
  540. package/dist/src/extensions/entries/cordisHost.cjs +2 -0
  541. package/dist/src/extensions/entries/cordisHost.cjs.map +1 -0
  542. package/dist/src/extensions/entries/cordisHost.d.cts +7 -0
  543. package/dist/src/extensions/entries/cordisHost.d.cts.map +1 -0
  544. package/dist/src/extensions/entries/cordisHost.d.mts +7 -0
  545. package/dist/src/extensions/entries/cordisHost.d.mts.map +1 -0
  546. package/dist/src/extensions/entries/cordisHost.mjs +2 -0
  547. package/dist/src/extensions/entries/cordisHost.mjs.map +1 -0
  548. package/dist/src/extensions/entries/doom.cjs +2 -0
  549. package/dist/src/extensions/entries/doom.cjs.map +1 -0
  550. package/dist/src/extensions/entries/doom.d.cts +13 -0
  551. package/dist/src/extensions/entries/doom.d.cts.map +1 -0
  552. package/dist/src/extensions/entries/doom.d.mts +13 -0
  553. package/dist/src/extensions/entries/doom.d.mts.map +1 -0
  554. package/dist/src/extensions/entries/doom.mjs +2 -0
  555. package/dist/src/extensions/entries/doom.mjs.map +1 -0
  556. package/dist/src/extensions/entries/effort.cjs +2 -0
  557. package/dist/src/extensions/entries/effort.cjs.map +1 -0
  558. package/dist/src/extensions/entries/effort.d.cts +9 -0
  559. package/dist/src/extensions/entries/effort.d.cts.map +1 -0
  560. package/dist/src/extensions/entries/effort.d.mts +9 -0
  561. package/dist/src/extensions/entries/effort.d.mts.map +1 -0
  562. package/dist/src/extensions/entries/effort.mjs +2 -0
  563. package/dist/{entries/effort.cjs.map → src/extensions/entries/effort.mjs.map} +1 -1
  564. package/dist/src/extensions/entries/modeCatalog.cjs +2 -0
  565. package/dist/src/extensions/entries/modeCatalog.cjs.map +1 -0
  566. package/dist/src/extensions/entries/modeCatalog.d.cts +6 -0
  567. package/dist/src/extensions/entries/modeCatalog.d.cts.map +1 -0
  568. package/dist/src/extensions/entries/modeCatalog.d.mts +6 -0
  569. package/dist/src/extensions/entries/modeCatalog.d.mts.map +1 -0
  570. package/dist/src/extensions/entries/modeCatalog.mjs +2 -0
  571. package/dist/src/extensions/entries/modeCatalog.mjs.map +1 -0
  572. package/dist/src/extensions/entries/ollamaProvider.cjs +2 -0
  573. package/dist/src/extensions/entries/ollamaProvider.cjs.map +1 -0
  574. package/dist/src/extensions/entries/ollamaProvider.d.cts +5 -0
  575. package/dist/src/extensions/entries/ollamaProvider.d.cts.map +1 -0
  576. package/dist/src/extensions/entries/ollamaProvider.d.mts +6 -0
  577. package/dist/src/extensions/entries/ollamaProvider.d.mts.map +1 -0
  578. package/dist/src/extensions/entries/ollamaProvider.mjs +2 -0
  579. package/dist/src/extensions/entries/ollamaProvider.mjs.map +1 -0
  580. package/dist/src/extensions/entries/styleSystem.cjs +4 -0
  581. package/dist/src/extensions/entries/styleSystem.cjs.map +1 -0
  582. package/dist/src/extensions/entries/styleSystem.d.cts +33 -0
  583. package/dist/src/extensions/entries/styleSystem.d.cts.map +1 -0
  584. package/dist/src/extensions/entries/styleSystem.d.mts +33 -0
  585. package/dist/src/extensions/entries/styleSystem.d.mts.map +1 -0
  586. package/dist/src/extensions/entries/styleSystem.mjs +4 -0
  587. package/dist/src/extensions/entries/styleSystem.mjs.map +1 -0
  588. package/dist/src/extensions/entries/transitionCoordinator.cjs +2 -0
  589. package/dist/src/extensions/entries/transitionCoordinator.cjs.map +1 -0
  590. package/dist/src/extensions/entries/transitionCoordinator.d.cts +8 -0
  591. package/dist/src/extensions/entries/transitionCoordinator.d.cts.map +1 -0
  592. package/dist/src/extensions/entries/transitionCoordinator.d.mts +8 -0
  593. package/dist/src/extensions/entries/transitionCoordinator.d.mts.map +1 -0
  594. package/dist/src/extensions/entries/transitionCoordinator.mjs +2 -0
  595. package/dist/src/extensions/entries/transitionCoordinator.mjs.map +1 -0
  596. package/dist/src/services/config/projectTrust.cjs +2 -0
  597. package/dist/src/services/config/projectTrust.cjs.map +1 -0
  598. package/dist/src/services/config/projectTrust.d.cts +13 -0
  599. package/dist/src/services/config/projectTrust.d.cts.map +1 -0
  600. package/dist/src/services/config/projectTrust.d.mts +13 -0
  601. package/dist/src/services/config/projectTrust.d.mts.map +1 -0
  602. package/dist/src/services/config/projectTrust.mjs +2 -0
  603. package/dist/src/services/config/projectTrust.mjs.map +1 -0
  604. package/dist/src/services/extensionAssembler.cjs +2 -0
  605. package/dist/src/services/extensionAssembler.cjs.map +1 -0
  606. package/dist/src/services/extensionAssembler.d.cts +96 -0
  607. package/dist/src/services/extensionAssembler.d.cts.map +1 -0
  608. package/dist/src/services/extensionAssembler.d.mts +96 -0
  609. package/dist/src/services/extensionAssembler.d.mts.map +1 -0
  610. package/dist/src/services/extensionAssembler.mjs +2 -0
  611. package/dist/src/services/extensionAssembler.mjs.map +1 -0
  612. package/dist/src/services/modeCatalog.cjs +2 -0
  613. package/dist/src/services/modeCatalog.cjs.map +1 -0
  614. package/dist/src/services/modeCatalog.d.cts +15 -0
  615. package/dist/src/services/modeCatalog.d.cts.map +1 -0
  616. package/dist/src/services/modeCatalog.d.mts +15 -0
  617. package/dist/src/services/modeCatalog.d.mts.map +1 -0
  618. package/dist/src/services/modeCatalog.mjs +2 -0
  619. package/dist/src/services/modeCatalog.mjs.map +1 -0
  620. package/dist/src/services/tools/toolNames.cjs +2 -0
  621. package/dist/src/services/tools/toolNames.cjs.map +1 -0
  622. package/dist/src/services/tools/toolNames.d.cts +25 -0
  623. package/dist/src/services/tools/toolNames.d.cts.map +1 -0
  624. package/dist/src/services/tools/toolNames.d.mts +25 -0
  625. package/dist/src/services/tools/toolNames.d.mts.map +1 -0
  626. package/dist/src/services/tools/toolNames.mjs +2 -0
  627. package/dist/src/services/tools/toolNames.mjs.map +1 -0
  628. package/dist/src/services/transitionClassifier.cjs +2 -0
  629. package/dist/src/services/transitionClassifier.cjs.map +1 -0
  630. package/dist/src/services/transitionClassifier.d.cts +8 -0
  631. package/dist/src/services/transitionClassifier.d.cts.map +1 -0
  632. package/dist/src/services/transitionClassifier.d.mts +8 -0
  633. package/dist/src/services/transitionClassifier.d.mts.map +1 -0
  634. package/dist/src/services/transitionClassifier.mjs +2 -0
  635. package/dist/src/services/transitionClassifier.mjs.map +1 -0
  636. package/dist/src/services/transitionCoordinator.cjs +2 -0
  637. package/dist/src/services/transitionCoordinator.cjs.map +1 -0
  638. package/dist/src/services/transitionCoordinator.mjs +2 -0
  639. package/dist/src/services/transitionCoordinator.mjs.map +1 -0
  640. package/dist/{interfaces → src/types/interfaces}/compatibility.d.cts +1 -1
  641. package/dist/src/types/interfaces/compatibility.d.cts.map +1 -0
  642. package/dist/{interfaces → src/types/interfaces}/compatibility.d.mts +1 -1
  643. package/dist/src/types/interfaces/compatibility.d.mts.map +1 -0
  644. package/dist/{interfaces → src/types/interfaces}/harness.d.cts +4 -40
  645. package/dist/src/types/interfaces/harness.d.cts.map +1 -0
  646. package/dist/{interfaces → src/types/interfaces}/harness.d.mts +4 -40
  647. package/dist/src/types/interfaces/harness.d.mts.map +1 -0
  648. package/dist/utils/index.cjs +1 -1
  649. package/dist/utils/index.d.cts +6 -5
  650. package/dist/utils/index.d.mts +6 -5
  651. package/dist/utils/index.mjs +1 -1
  652. package/dist/utils/json.cjs +1 -2
  653. package/dist/utils/json.d.cts +2 -23
  654. package/dist/utils/json.d.mts +2 -23
  655. package/dist/utils/json.mjs +1 -2
  656. package/dist/utils/moduleResolution.cjs +1 -2
  657. package/dist/utils/moduleResolution.d.cts +2 -56
  658. package/dist/utils/moduleResolution.d.mts +2 -56
  659. package/dist/utils/moduleResolution.mjs +1 -2
  660. package/dist/utils/repository.cjs +1 -2
  661. package/dist/utils/repository.d.cts +2 -21
  662. package/dist/utils/repository.d.mts +2 -21
  663. package/dist/utils/repository.mjs +1 -2
  664. package/dist/utils/toolNames.cjs +1 -2
  665. package/dist/utils/toolNames.d.cts +2 -25
  666. package/dist/utils/toolNames.d.mts +2 -25
  667. package/dist/utils/toolNames.mjs +1 -2
  668. package/llms.txt +12 -0
  669. package/package.json +77 -106
  670. package/src/prompts/doompi-author-extension/SKILL.md +32 -0
  671. package/src/prompts/doompi-author-extension/references/extension-contract.md +180 -0
  672. package/dist/cli/cliApp.cjs.map +0 -1
  673. package/dist/cli/cliApp.d.cts.map +0 -1
  674. package/dist/cli/cliApp.d.mts.map +0 -1
  675. package/dist/cli/cliApp.mjs.map +0 -1
  676. package/dist/cli/compatibilityOptions.cjs.map +0 -1
  677. package/dist/cli/compatibilityOptions.d.cts.map +0 -1
  678. package/dist/cli/compatibilityOptions.d.mts.map +0 -1
  679. package/dist/cli/compatibilityOptions.mjs.map +0 -1
  680. package/dist/cli/help.cjs.map +0 -1
  681. package/dist/cli/help.d.cts.map +0 -1
  682. package/dist/cli/help.d.mts.map +0 -1
  683. package/dist/cli/help.mjs.map +0 -1
  684. package/dist/cli/matrixOptions.cjs.map +0 -1
  685. package/dist/cli/matrixOptions.d.cts.map +0 -1
  686. package/dist/cli/matrixOptions.d.mts.map +0 -1
  687. package/dist/cli/matrixOptions.mjs.map +0 -1
  688. package/dist/cli/options.cjs.map +0 -1
  689. package/dist/cli/options.d.cts.map +0 -1
  690. package/dist/cli/options.d.mts.map +0 -1
  691. package/dist/cli/options.mjs.map +0 -1
  692. package/dist/commands/baseCommand.cjs.map +0 -1
  693. package/dist/commands/baseCommand.d.cts.map +0 -1
  694. package/dist/commands/baseCommand.d.mts.map +0 -1
  695. package/dist/commands/baseCommand.mjs.map +0 -1
  696. package/dist/commands/buildCommand.cjs +0 -3
  697. package/dist/commands/buildCommand.cjs.map +0 -1
  698. package/dist/commands/buildCommand.d.cts +0 -23
  699. package/dist/commands/buildCommand.d.cts.map +0 -1
  700. package/dist/commands/buildCommand.d.mts +0 -23
  701. package/dist/commands/buildCommand.d.mts.map +0 -1
  702. package/dist/commands/buildCommand.mjs +0 -3
  703. package/dist/commands/buildCommand.mjs.map +0 -1
  704. package/dist/commands/compatibilityCommand.cjs.map +0 -1
  705. package/dist/commands/compatibilityCommand.d.cts.map +0 -1
  706. package/dist/commands/compatibilityCommand.d.mts.map +0 -1
  707. package/dist/commands/compatibilityCommand.mjs.map +0 -1
  708. package/dist/commands/emitMcpCommand.cjs.map +0 -1
  709. package/dist/commands/emitMcpCommand.d.cts.map +0 -1
  710. package/dist/commands/emitMcpCommand.d.mts.map +0 -1
  711. package/dist/commands/emitMcpCommand.mjs.map +0 -1
  712. package/dist/commands/explainCommand.cjs.map +0 -1
  713. package/dist/commands/explainCommand.d.cts.map +0 -1
  714. package/dist/commands/explainCommand.d.mts.map +0 -1
  715. package/dist/commands/explainCommand.mjs.map +0 -1
  716. package/dist/commands/initCommand.cjs.map +0 -1
  717. package/dist/commands/initCommand.d.cts.map +0 -1
  718. package/dist/commands/initCommand.d.mts.map +0 -1
  719. package/dist/commands/initCommand.mjs.map +0 -1
  720. package/dist/commands/launchCommand.cjs.map +0 -1
  721. package/dist/commands/launchCommand.d.cts.map +0 -1
  722. package/dist/commands/launchCommand.d.mts.map +0 -1
  723. package/dist/commands/launchCommand.mjs.map +0 -1
  724. package/dist/commands/syncCommand.cjs.map +0 -1
  725. package/dist/commands/syncCommand.d.cts.map +0 -1
  726. package/dist/commands/syncCommand.d.mts.map +0 -1
  727. package/dist/commands/syncCommand.mjs.map +0 -1
  728. package/dist/config/harnessState.cjs.map +0 -1
  729. package/dist/config/harnessState.d.cts.map +0 -1
  730. package/dist/config/harnessState.d.mts.map +0 -1
  731. package/dist/config/harnessState.mjs.map +0 -1
  732. package/dist/config/projectTrust.cjs.map +0 -1
  733. package/dist/config/projectTrust.d.cts.map +0 -1
  734. package/dist/config/projectTrust.d.mts.map +0 -1
  735. package/dist/config/projectTrust.mjs.map +0 -1
  736. package/dist/entries/addDirCompatibility.cjs +0 -2
  737. package/dist/entries/addDirCompatibility.cjs.map +0 -1
  738. package/dist/entries/addDirCompatibility.d.cts +0 -13
  739. package/dist/entries/addDirCompatibility.d.cts.map +0 -1
  740. package/dist/entries/addDirCompatibility.d.mts +0 -14
  741. package/dist/entries/addDirCompatibility.d.mts.map +0 -1
  742. package/dist/entries/addDirCompatibility.mjs +0 -2
  743. package/dist/entries/addDirCompatibility.mjs.map +0 -1
  744. package/dist/entries/autoStop.cjs +0 -2
  745. package/dist/entries/autoStop.cjs.map +0 -1
  746. package/dist/entries/autoStop.d.cts +0 -6
  747. package/dist/entries/autoStop.d.cts.map +0 -1
  748. package/dist/entries/autoStop.d.mts +0 -7
  749. package/dist/entries/autoStop.d.mts.map +0 -1
  750. package/dist/entries/autoStop.mjs +0 -2
  751. package/dist/entries/autoStop.mjs.map +0 -1
  752. package/dist/entries/components/matrixPicker.cjs +0 -2
  753. package/dist/entries/components/matrixPicker.cjs.map +0 -1
  754. package/dist/entries/components/matrixPicker.d.cts +0 -55
  755. package/dist/entries/components/matrixPicker.d.cts.map +0 -1
  756. package/dist/entries/components/matrixPicker.d.mts +0 -55
  757. package/dist/entries/components/matrixPicker.d.mts.map +0 -1
  758. package/dist/entries/components/matrixPicker.mjs +0 -2
  759. package/dist/entries/components/matrixPicker.mjs.map +0 -1
  760. package/dist/entries/components/skillsOverlay.cjs +0 -4
  761. package/dist/entries/components/skillsOverlay.cjs.map +0 -1
  762. package/dist/entries/components/skillsOverlay.d.cts +0 -58
  763. package/dist/entries/components/skillsOverlay.d.cts.map +0 -1
  764. package/dist/entries/components/skillsOverlay.d.mts +0 -58
  765. package/dist/entries/components/skillsOverlay.d.mts.map +0 -1
  766. package/dist/entries/components/skillsOverlay.mjs +0 -4
  767. package/dist/entries/components/skillsOverlay.mjs.map +0 -1
  768. package/dist/entries/domains.cjs.map +0 -1
  769. package/dist/entries/domains.d.cts.map +0 -1
  770. package/dist/entries/domains.d.mts.map +0 -1
  771. package/dist/entries/domains.mjs.map +0 -1
  772. package/dist/entries/doom.cjs.map +0 -1
  773. package/dist/entries/doom.d.cts.map +0 -1
  774. package/dist/entries/doom.d.mts.map +0 -1
  775. package/dist/entries/doom.mjs.map +0 -1
  776. package/dist/entries/effort.d.cts.map +0 -1
  777. package/dist/entries/effort.d.mts.map +0 -1
  778. package/dist/entries/effort.mjs.map +0 -1
  779. package/dist/entries/majorMode.cjs +0 -6
  780. package/dist/entries/majorMode.cjs.map +0 -1
  781. package/dist/entries/majorMode.d.cts +0 -29
  782. package/dist/entries/majorMode.d.cts.map +0 -1
  783. package/dist/entries/majorMode.d.mts +0 -29
  784. package/dist/entries/majorMode.d.mts.map +0 -1
  785. package/dist/entries/majorMode.mjs +0 -6
  786. package/dist/entries/majorMode.mjs.map +0 -1
  787. package/dist/entries/notifications.cjs +0 -2
  788. package/dist/entries/notifications.cjs.map +0 -1
  789. package/dist/entries/notifications.d.cts +0 -13
  790. package/dist/entries/notifications.d.cts.map +0 -1
  791. package/dist/entries/notifications.d.mts +0 -13
  792. package/dist/entries/notifications.d.mts.map +0 -1
  793. package/dist/entries/notifications.mjs +0 -2
  794. package/dist/entries/notifications.mjs.map +0 -1
  795. package/dist/entries/ollamaProvider.cjs.map +0 -1
  796. package/dist/entries/ollamaProvider.d.cts.map +0 -1
  797. package/dist/entries/ollamaProvider.d.mts.map +0 -1
  798. package/dist/entries/ollamaProvider.mjs.map +0 -1
  799. package/dist/entries/persona.cjs +0 -2
  800. package/dist/entries/persona.cjs.map +0 -1
  801. package/dist/entries/persona.d.cts +0 -14
  802. package/dist/entries/persona.d.cts.map +0 -1
  803. package/dist/entries/persona.d.mts +0 -15
  804. package/dist/entries/persona.d.mts.map +0 -1
  805. package/dist/entries/persona.mjs +0 -2
  806. package/dist/entries/persona.mjs.map +0 -1
  807. package/dist/entries/profile.cjs +0 -3
  808. package/dist/entries/profile.cjs.map +0 -1
  809. package/dist/entries/profile.d.cts +0 -16
  810. package/dist/entries/profile.d.cts.map +0 -1
  811. package/dist/entries/profile.d.mts +0 -16
  812. package/dist/entries/profile.d.mts.map +0 -1
  813. package/dist/entries/profile.mjs +0 -3
  814. package/dist/entries/profile.mjs.map +0 -1
  815. package/dist/entries/repositoryHooks.cjs +0 -9
  816. package/dist/entries/repositoryHooks.cjs.map +0 -1
  817. package/dist/entries/repositoryHooks.d.cts +0 -7
  818. package/dist/entries/repositoryHooks.d.cts.map +0 -1
  819. package/dist/entries/repositoryHooks.d.mts +0 -8
  820. package/dist/entries/repositoryHooks.d.mts.map +0 -1
  821. package/dist/entries/repositoryHooks.mjs +0 -9
  822. package/dist/entries/repositoryHooks.mjs.map +0 -1
  823. package/dist/entries/skills.cjs +0 -2
  824. package/dist/entries/skills.cjs.map +0 -1
  825. package/dist/entries/skills.d.cts +0 -34
  826. package/dist/entries/skills.d.cts.map +0 -1
  827. package/dist/entries/skills.d.mts +0 -34
  828. package/dist/entries/skills.d.mts.map +0 -1
  829. package/dist/entries/skills.mjs +0 -2
  830. package/dist/entries/skills.mjs.map +0 -1
  831. package/dist/entries/styleSystem.cjs.map +0 -1
  832. package/dist/entries/styleSystem.d.cts.map +0 -1
  833. package/dist/entries/styleSystem.d.mts.map +0 -1
  834. package/dist/entries/styleSystem.mjs.map +0 -1
  835. package/dist/interfaces/compatibility.d.cts.map +0 -1
  836. package/dist/interfaces/compatibility.d.mts.map +0 -1
  837. package/dist/interfaces/harness.d.cts.map +0 -1
  838. package/dist/interfaces/harness.d.mts.map +0 -1
  839. package/dist/logSinkTelemetry.cjs.map +0 -1
  840. package/dist/logSinkTelemetry.d.cts.map +0 -1
  841. package/dist/logSinkTelemetry.d.mts.map +0 -1
  842. package/dist/logSinkTelemetry.mjs.map +0 -1
  843. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.cjs +0 -2
  844. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.cjs.map +0 -1
  845. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.mjs +0 -2
  846. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.mjs.map +0 -1
  847. package/dist/services/compatibility/antigravity.cjs.map +0 -1
  848. package/dist/services/compatibility/antigravity.d.cts.map +0 -1
  849. package/dist/services/compatibility/antigravity.d.mts.map +0 -1
  850. package/dist/services/compatibility/antigravity.mjs.map +0 -1
  851. package/dist/services/compatibility/codex.cjs.map +0 -1
  852. package/dist/services/compatibility/codex.d.cts.map +0 -1
  853. package/dist/services/compatibility/codex.d.mts.map +0 -1
  854. package/dist/services/compatibility/codex.mjs.map +0 -1
  855. package/dist/services/compatibility/index.cjs.map +0 -1
  856. package/dist/services/compatibility/index.d.cts.map +0 -1
  857. package/dist/services/compatibility/index.d.mts.map +0 -1
  858. package/dist/services/compatibility/index.mjs.map +0 -1
  859. package/dist/services/compatibility/process.cjs.map +0 -1
  860. package/dist/services/compatibility/process.d.cts.map +0 -1
  861. package/dist/services/compatibility/process.d.mts.map +0 -1
  862. package/dist/services/compatibility/process.mjs.map +0 -1
  863. package/dist/services/compatibility/shared.cjs.map +0 -1
  864. package/dist/services/compatibility/shared.d.cts.map +0 -1
  865. package/dist/services/compatibility/shared.d.mts.map +0 -1
  866. package/dist/services/compatibility/shared.mjs.map +0 -1
  867. package/dist/services/compatibilityContext.cjs.map +0 -1
  868. package/dist/services/compatibilityContext.d.cts.map +0 -1
  869. package/dist/services/compatibilityContext.d.mts.map +0 -1
  870. package/dist/services/compatibilityContext.mjs.map +0 -1
  871. package/dist/services/composer.cjs.map +0 -1
  872. package/dist/services/composer.d.cts.map +0 -1
  873. package/dist/services/composer.d.mts.map +0 -1
  874. package/dist/services/composer.mjs.map +0 -1
  875. package/dist/services/extensionAssembler.cjs +0 -2
  876. package/dist/services/extensionAssembler.cjs.map +0 -1
  877. package/dist/services/extensionAssembler.d.cts +0 -72
  878. package/dist/services/extensionAssembler.d.cts.map +0 -1
  879. package/dist/services/extensionAssembler.d.mts +0 -72
  880. package/dist/services/extensionAssembler.d.mts.map +0 -1
  881. package/dist/services/extensionAssembler.mjs +0 -2
  882. package/dist/services/extensionAssembler.mjs.map +0 -1
  883. package/dist/services/extensionCompiler.cjs +0 -3
  884. package/dist/services/extensionCompiler.cjs.map +0 -1
  885. package/dist/services/extensionCompiler.mjs +0 -3
  886. package/dist/services/extensionCompiler.mjs.map +0 -1
  887. package/dist/services/harnessContext.cjs.map +0 -1
  888. package/dist/services/harnessContext.d.cts.map +0 -1
  889. package/dist/services/harnessContext.d.mts.map +0 -1
  890. package/dist/services/harnessContext.mjs.map +0 -1
  891. package/dist/services/matrixSwitcher.cjs.map +0 -1
  892. package/dist/services/matrixSwitcher.d.cts.map +0 -1
  893. package/dist/services/matrixSwitcher.d.mts.map +0 -1
  894. package/dist/services/matrixSwitcher.mjs.map +0 -1
  895. package/dist/services/mcpFilter.cjs.map +0 -1
  896. package/dist/services/mcpFilter.d.cts.map +0 -1
  897. package/dist/services/mcpFilter.d.mts.map +0 -1
  898. package/dist/services/mcpFilter.mjs.map +0 -1
  899. package/dist/services/piSettings.cjs.map +0 -1
  900. package/dist/services/piSettings.d.cts.map +0 -1
  901. package/dist/services/piSettings.d.mts.map +0 -1
  902. package/dist/services/piSettings.mjs.map +0 -1
  903. package/dist/services/resourceCollector.cjs.map +0 -1
  904. package/dist/services/resourceCollector.d.cts.map +0 -1
  905. package/dist/services/resourceCollector.d.mts.map +0 -1
  906. package/dist/services/resourceCollector.mjs.map +0 -1
  907. package/dist/services/runtimeBundle.cjs +0 -2
  908. package/dist/services/runtimeBundle.cjs.map +0 -1
  909. package/dist/services/runtimeBundle.d.cts +0 -64
  910. package/dist/services/runtimeBundle.d.cts.map +0 -1
  911. package/dist/services/runtimeBundle.d.mts +0 -64
  912. package/dist/services/runtimeBundle.d.mts.map +0 -1
  913. package/dist/services/runtimeBundle.mjs +0 -2
  914. package/dist/services/runtimeBundle.mjs.map +0 -1
  915. package/dist/services/skillCatalog.cjs +0 -2
  916. package/dist/services/skillCatalog.cjs.map +0 -1
  917. package/dist/services/skillCatalog.d.cts +0 -56
  918. package/dist/services/skillCatalog.d.cts.map +0 -1
  919. package/dist/services/skillCatalog.d.mts +0 -56
  920. package/dist/services/skillCatalog.d.mts.map +0 -1
  921. package/dist/services/skillCatalog.mjs +0 -2
  922. package/dist/services/skillCatalog.mjs.map +0 -1
  923. package/dist/services/skillSources.cjs +0 -2
  924. package/dist/services/skillSources.cjs.map +0 -1
  925. package/dist/services/skillSources.d.cts +0 -24
  926. package/dist/services/skillSources.d.cts.map +0 -1
  927. package/dist/services/skillSources.d.mts +0 -24
  928. package/dist/services/skillSources.d.mts.map +0 -1
  929. package/dist/services/skillSources.mjs +0 -2
  930. package/dist/services/skillSources.mjs.map +0 -1
  931. package/dist/services/syncState.cjs.map +0 -1
  932. package/dist/services/syncState.d.cts.map +0 -1
  933. package/dist/services/syncState.d.mts.map +0 -1
  934. package/dist/services/syncState.mjs.map +0 -1
  935. package/dist/utils/json.cjs.map +0 -1
  936. package/dist/utils/json.d.cts.map +0 -1
  937. package/dist/utils/json.d.mts.map +0 -1
  938. package/dist/utils/json.mjs.map +0 -1
  939. package/dist/utils/moduleResolution.cjs.map +0 -1
  940. package/dist/utils/moduleResolution.d.cts.map +0 -1
  941. package/dist/utils/moduleResolution.d.mts.map +0 -1
  942. package/dist/utils/moduleResolution.mjs.map +0 -1
  943. package/dist/utils/repository.cjs.map +0 -1
  944. package/dist/utils/repository.d.cts.map +0 -1
  945. package/dist/utils/repository.d.mts.map +0 -1
  946. package/dist/utils/repository.mjs.map +0 -1
  947. package/dist/utils/toolNames.cjs.map +0 -1
  948. package/dist/utils/toolNames.d.cts.map +0 -1
  949. package/dist/utils/toolNames.d.mts.map +0 -1
  950. package/dist/utils/toolNames.mjs.map +0 -1
package/README.md CHANGED
@@ -1,581 +1,771 @@
1
- # Doompi
1
+ # DoomPi
2
2
 
3
3
  **A coding agent that loads only the skills and tools you name.**
4
4
 
5
- Plugin systems scope what an agent knows. Nothing scopes what it can reach. Claude Code
6
- gives you `enableAllProjectMcpServers` and a static denylist, both repository-wide, so
7
- every session pays for every MCP server's tool schemas whether the task is a database
8
- migration or a landing page.
5
+ > It begins with one useful MCP server. Then another. Soon the agent fixing a heading
6
+ > wakes up with database tools, browser controls, and their small novel of schemas. This
7
+ > is our config.
9
8
 
10
- Doompi makes both a declared input. Three YAML files decide what a session loads, and
11
- `--explain` prints the bill before you launch.
9
+ DoomPi is an opinionated, composable distribution of
10
+ [Pi](https://github.com/earendil-works/pi). It is closer in spirit to Spacemacs, Doom Emacs, or a
11
+ curated Neovim setup than to a single plugin. It is tailored for people whose agent has one MCP
12
+ server too many. It turns extensions, skills, MCP servers, and system prompts into config instead
13
+ of background noise.
12
14
 
13
- ## Install
15
+ ![DoomPi terminal interface showing tasks, Plan mode, and the Leader menu](https://cdn.jsdelivr.net/npm/@agimon-ai/doompi@latest/assets/doompi-tui.png)
14
16
 
15
- ```bash
16
- npm install -g @agimon-ai/doompi @earendil-works/pi-coding-agent
17
- ```
17
+ Plugin systems scope what an agent knows. They do less to scope which configured plugins and MCP
18
+ servers a particular session can load. Claude Code's `enableAllProjectMcpServers` and static
19
+ denylist are repository-wide. DoomPi draws that loading boundary around the session. Pick a major
20
+ mode and some domains; add a profile if you want one. Four YAML files decide what loads;
21
+ `doompi --explain` tells you what got in, why, and what it costs before launch.
18
22
 
19
- ## Quickstart
23
+ It borrows its shape from [Doom Emacs Core](https://github.com/doomemacs/core): quick to
24
+ start, close to Pi, opinionated where defaults help, and easy to pull apart when they do
25
+ not. Use it as-is, build your own config on top, or raid it for parts.
20
26
 
21
- ```bash
22
- doompi init # seed ~/.pi/.doom, once per machine
23
- mkdir .doom && cp ~/.pi/.doom/*.yaml .doom/ # the repository config Doompi reads
24
- doompi --explain # what would load, and why
25
- doompi # start a session
26
- ```
27
+ ## Contents
27
28
 
28
- `.doom/` is committed to git, so a checkout carries its own agent configuration. Edit a
29
- YAML file and the next launch picks it up.
29
+ [Install](#install) · [Try DoomPi](#try-doompi-without-replacing-your-pi-setup) ·
30
+ [Philosophy](#philosophy) · [What this buys you](#what-this-buys-you) · [Features](#features) ·
31
+ [Configuration](#configuration) · [Trust and data boundaries](#trust-and-data-boundaries) ·
32
+ [CLI reference](#cli-reference) · [Troubleshooting](#troubleshooting-and-direct-use) ·
33
+ [Architecture](#architecture) · [Development](#development)
34
+
35
+ ## Install
30
36
 
31
37
  ```bash
32
- doompi --major-mode dev --domains development
33
- doompi --domains marketing --profile marketing
34
- doompi --domains analytics --explain
38
+ npm install -g @agimon-ai/doompi
35
39
  ```
36
40
 
37
- ## The three axes
41
+ The package pins and installs the upstream Pi version used by `dpi`.
38
42
 
39
- Doompi wraps [Pi](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) and
40
- resolves a declared configuration into a session rather than asking you to wire one up.
41
- The three choices are independent: adding a domain requires no knowledge of major modes,
42
- and swapping a profile changes nothing about either.
43
+ The root package contains the fixed host foundation only. Feature packages are selected by
44
+ `.doom/modes.yaml` and installed into the consumer repository when they are first needed.
43
45
 
44
- | Choice | Decides | Declared in |
45
- | -------------- | ------------------------------------ | --------------------- |
46
- | **Major mode** | what the agent is wrapped in | `.doom/modes.yaml` |
47
- | **Domains** | what it knows, and what it can reach | `.doom/domains.yaml` |
48
- | **Profile** | who it speaks as | `.doom/profiles.yaml` |
46
+ ## Status and requirements
49
47
 
50
- A domain names plugins and an MCP allowlist together, so `--domains marketing` and
51
- `--domains development` are the same agent with different knowledge and a different reach,
52
- not two different agents. That is the lever for keeping context small, and
53
- [`--explain`](#minimal-context) prices it before you commit.
48
+ DoomPi is alpha software. Configuration and package boundaries may still change between alpha
49
+ releases.
54
50
 
55
- ## What is actually different
51
+ - Node.js 22.19.0 or newer
52
+ - macOS or Linux on arm64 or x64 for the bundled Runner backend
53
+ - Pi 0.84.2 and Pi TUI 0.84.2 for packages that declare them as peer requirements
56
54
 
57
- **Compaction reads state, it does not summarize prose.** When the context fills, Doompi
58
- does not guess at coordination state from the transcript. It reads the live plan, task
59
- graph, and team snapshot, and commits them next to the summary as authoritative. The agent
60
- comes out the other side knowing what it was doing, what is still running, and who is doing
61
- what. See [Long runs](#long-runs).
55
+ ## Try DoomPi without replacing your Pi setup
62
56
 
63
- **Spec-driven and meta-prompting systems change what the agent is told. Doompi changes what
64
- it loads.** The two compose fine. This one is about the context window, not the prompt.
57
+ `dpi` is the comparison runner. Use it to try DoomPi beside your current `pi` customization
58
+ before registering anything in Pi's settings:
65
59
 
66
- **One configuration serves two readers.** A human gets a keyboard surface that does not
67
- move; an autonomous agent gets a small tool surface and a context window that compacts
68
- itself.
60
+ ```bash
61
+ dpi init # create this repository's .doom configuration
62
+ dpi sync # resolve and synchronize the DoomPi experiment
63
+ dpi # run the DoomPi experiment
64
+ pi # run your existing Pi setup for comparison
65
+ ```
69
66
 
70
- ## Philosophy
67
+ `dpi init` creates `.doom/config.yaml`, `.doom/modes.yaml`, `.doom/domains.yaml`, and
68
+ `.doom/profiles.yaml` in the current repository. It preserves existing files unless you pass
69
+ `--force` and does not create or change `.pi/settings.json`.
71
70
 
72
- **Give the agent fewer things to choose between.** [Major modes, domains, and
73
- profiles](#major-modes-domains-profiles) decide what loads, so a session carries the skills
74
- and MCP servers its domains named and nothing else. Whatever still overflows [compacts in
75
- the background](#long-runs).
71
+ `dpi sync` installs missing configured feature packages, writes DoomPi's generated state,
72
+ package alias, and theme resource, but it does not register DoomPi in either normal Pi
73
+ settings file. It prepares every declared layer so switching modes does not depend on the
74
+ root package's dependency closure.
76
75
 
77
- **Shift the work onto deterministic workflows.** Autonomous runs are [GitHub Actions
78
- shaped](#workflows), with jobs, dependencies, steps, timeouts, and declared artifacts, so
79
- the same job resolves the same way every time.
76
+ ### Sync storage and worktrees
80
77
 
81
- **Keep the keyboard ergonomic.** `SPC` is the whole surface, Spacemacs and Doom Emacs
82
- style, and [it opens only when the draft is empty](#leader-space), so a half-written prompt
83
- is never a casualty.
78
+ DoomPi stores generated sync state under `~/.pi/.doom/sync`, outside the repository. Each
79
+ Git worktree gets isolated runtime state while immutable build artifacts may be shared.
84
80
 
85
- **Batteries included, without the bloat.** Plan mode, tasks, teams, a supervised runner,
86
- voice, and workflows ship in the box, but [core is not a
87
- layer](#core-is-not-a-layer) and every opinion waits behind a layer or a domain.
81
+ `dpi` preserves Pi's normal global and repository settings, then applies DoomPi's extension
82
+ and theme settings in memory. It never writes those values to `.pi/settings.json`.
88
83
 
89
- **One major mode, several minor modes.** A session runs under exactly one major mode, which
90
- is what selects its layers. [Plan, loop, and workflow](#minor-modes) are minor modes: you
91
- toggle them mid-session, they stack, and they report themselves on a shared status line.
84
+ Run `doompi sync --check` to detect stale or legacy state. Run `doompi sync` to rebuild it
85
+ in the current home-scoped layout.
92
86
 
93
- ## Two ways to run
87
+ When you are comfortable with DoomPi and no longer need the side-by-side experiment, register
88
+ it for normal Pi:
94
89
 
95
- The launcher resolves your three choices per run and spawns Pi with them. Skills, agents,
96
- MCP configs, and the persona prompt are assembled into a temporary directory that is
97
- deleted on exit. Nothing is written back into the repository, and every session pays the
98
- resolution cost.
90
+ ```bash
91
+ doompi init # seed ~/.pi/.doom and Pi integration resources
92
+ doompi sync # register DoomPi in normal Pi settings
93
+ pi # DoomPi now starts through the regular Pi command
94
+ ```
99
95
 
100
- `doompi sync` is the other way in, and the Doom Emacs one. Resolve once, write the
101
- result where Pi looks, then run `pi` yourself.
96
+ `doompi` remains available as an explicit harness when you want per-run matrix flags:
102
97
 
103
98
  ```bash
104
- doompi init # seed ~/.pi/.doom, once per machine
105
- doompi build # warm the selected launch bundle and skill cache
106
- doompi sync # resolve the selection into .pi/
107
- pi # the agent
108
-
109
- doompi sync --check # exit non-zero when the synced config is out of date
99
+ doompi --major-mode copilot --no-domains
100
+ doompi --major-mode minimal --no-domains
101
+ doompi --major-mode copilot --no-domains --explain
110
102
  ```
111
103
 
112
- A synced session takes `--major-mode`, `--domains`, `--profile`, and `--mute` the same way
113
- the launcher does, and `/major-mode`, `/domains`, and `/profile` all switch in place: the
114
- extension set is composed on every load rather than frozen at startup, so a reload is
115
- enough.
116
-
117
- Both paths compose the extension set from the same function, `assembleExtensions`, which
118
- owns load order. Two things differ. A synced session forces `--auto-stop` off, and it
119
- reads mute from `DOOMPI_MUTE` instead of an argument.
120
-
121
- `doompi build` is the launcher warm-up step, analogous to `doom build`: it resolves the
122
- selected matrix, compiles its exact extension graph into one `.pi/doom/dist` ESM file,
123
- and warms the persistent skill manifest without starting Pi or changing
124
- `.pi/settings.json`. A sidecar manifest retains every original extension and exact
125
- `SKILL.md` path, so resource discovery never depends on the bundle's location.
126
- Launch still builds on a cache miss, so the command is optional; run it after installing
127
- or upgrading Doom packages when first-input latency matters.
128
-
129
- Syncing does not disturb the launcher. Pi merges the extensions a project declares with
130
- the ones passed on the command line, so the synced entry stands down whenever it sees the
131
- composed set already there, which is what the launcher and every detached subagent pass.
132
-
133
- ## For humans
134
-
135
- ### Leader Space
136
-
137
- `@agimon-ai/doompi-ui` owns the leader state machine, rendering, conflict handling, and the
138
- core bindings.
139
-
140
- Space opens the leader **only when the draft is empty**. With text in the editor, space is
141
- a space. `ctrl+space` opens the leader either way, and the draft survives the sequence, so
142
- you never lose a half-written prompt to a keystroke. That is the space the human keeps.
143
-
144
- Inside a sequence: `escape` cancels, `backspace` pops one segment, and any key that
145
- matches nothing cancels. There is no partial state to get stuck in.
146
-
147
- Core groups. Every level of the map renders in leader-key alphabetical order, so the table
148
- below is the order you see:
149
-
150
- | Key | Group | Bindings |
151
- | --- | --------- | ---------------------------------------- |
152
- | `e` | extension | `e` external editor, `t` tools browser |
153
- | `h` | help | `h` hotkeys, `l` log metrics |
154
- | `m` | models | `m` select, `n` next, `t` thinking level |
155
- | `q` | quit | `q` exit |
156
- | `s` | sessions | `f` fork, `n` new, `r` resume, `t` tree |
157
-
158
- `t` is deliberately left out of core at the root and reserved for doom-task.
159
-
160
- Optional feature extensions own the bindings for their own commands. The UI never
161
- hardcodes a binding for a layer that may not be loaded, so a group appears only while its
162
- extension is loaded:
163
-
164
- | Chord | Source | Opens |
165
- | -------------------- | ----------------------------- | ------------------------------ |
166
- | `SPC a` | `@agimon-ai/doompi-team` | subagent fleet |
167
- | `SPC h l` | `@agimon-ai/doompi-log` | log metrics |
168
- | `SPC l s`, `SPC l l` | `@agimon-ai/doompi-loop` | start loops, list/stop loops |
169
- | `SPC p p/c/d/f` | `@agimon-ai/doompi-plan` | plan normal/cancel/debug/fable |
170
- | `SPC t t` | `@agimon-ai/doompi-task` | tasks |
171
- | `SPC r r` | `@agimon-ai/doompi-runner` | background processes |
172
- | `SPC v v` | `@agimon-ai/doompi-voice` | record or transcribe |
173
- | `SPC w w/l/r` | `@agimon-ai/doompi-workflow` | launch/manage/recover |
174
- | `SPC e f` | `@agimon-ai/doompi-file-edit` | session edits |
175
- | `SPC e s` | `@agimon-ai/doompi` | skills catalog |
176
- | `SPC e c` | `@agimon-ai/doompi-ui` | config panel (core binding) |
177
-
178
- Contributions go through the public `@agimon-ai/doompi-ui/leader` API:
179
-
180
- ```ts
181
- registerDoomLeaderContribution(pi, {
182
- source: '@agimon-ai/doompi-log',
183
- bindings: [
184
- {
185
- id: 'log.metrics',
186
- path: [
187
- { key: 'h', label: 'help', order: 70 },
188
- { key: 'l', label: 'logs', detail: 'telemetry' },
189
- ],
190
- command: { name: 'log-metrics' },
191
- },
192
- ],
193
- });
194
- ```
104
+ ## Philosophy
195
105
 
196
- A path excludes the leading `SPC`. The UI turns this into `SPC h l`, dispatches
197
- `/log-metrics` through the normal editor submission path, and preserves the draft. A
198
- binding carries either a `command` descriptor or an `action` name, never both. Commands
199
- stay owned by the extension that registered the slash command; actions route back to the
200
- contributor through `registerDoomLeaderActionHandlers`, which is what doom-plan uses.
201
-
202
- The map is deterministic because the registry is strict:
203
-
204
- - Keys are a single lowercase alphanumeric character, paths are at most four segments.
205
- - Shared group prefixes must agree on label, detail, and order, or the contribution is
206
- rejected.
207
- - Exact chord conflicts are rejected rather than silently overridden. A conflict in a core
208
- binding throws; a conflict from a contributor produces a diagnostic and a warning.
209
- - Re-registering the same `source` replaces that source's complete binding set. Registering
210
- an empty set removes it.
211
- - Rebuilds sort by source name then binding id, so load order does not affect the result.
212
- - Options render in leader-key alphabetical order at every level. A segment's `order` is
213
- group identity that shared prefixes must agree on, not a display position.
214
-
215
- Registration runs over Pi's shared extension event bus with a 250 ms timeout. A timeout is
216
- swallowed, so an extension loaded without the UI degrades quietly instead of failing.
217
-
218
- ### Major modes, domains, profiles
219
-
220
- Three choices, three files, committed to git. They are independent. Adding a domain
221
- requires no knowledge of major modes, and swapping a profile changes nothing about either.
222
-
223
- | Choice | Loads | Declared in |
224
- | --------------- | ------------------------------------- | --------------------- |
225
- | **Major modes** | a named set of layers | `.doom/modes.yaml` |
226
- | **Domains** | plugins, meaning skills and MCP | `.doom/domains.yaml` |
227
- | **Profiles** | a persona and the brand it speaks for | `.doom/profiles.yaml` |
228
-
229
- **Layers are protection and steering.** A layer is a set of Pi extensions plus a set of
230
- hook groups. The extensions add behavior the agent runs with; the hooks fire around its
231
- tool calls and can block it, warn it, or steer it back. You define the set you want, along
232
- the lines of `guardrails`, `lint`, `code-intel`, `team`, `plan-mode`, `runner`, and
233
- `ask-user`. The hooks themselves live in `.doom/hooks.yaml`, one registry shared by every
234
- frontend, where a group is either `core` and always loads, or is pulled in by whichever
235
- layer wants it.
236
-
237
- **A major mode is the one you actually pick.** You do not assemble layers one by one at the
238
- prompt. You select one named major mode with `--major-mode <name>`, and
239
- `.doom/modes.yaml` says which layers it contains. A session has exactly one, the way
240
- an Emacs buffer has exactly one major mode. The file can choose the fallback without
241
- renaming that mode:
106
+ An agent does not need every tool for every job. DoomPi separates the base session from
107
+ the things you switch on for a while: modes choose behavior, domains choose subject
108
+ matter, and profiles choose a point of view.
242
109
 
243
- ```yaml
244
- defaultMajorMode: minimal
245
- majorMode:
246
- minimal: [guardrails, team]
247
- copilot: [guardrails, team, plan-mode, runner]
248
- ```
110
+ ### Major and minor modes
111
+
112
+ A major mode is the base config. It names the extension layers for development, marketing,
113
+ or whatever else you do. Define as many as you like; only one is active at a time, and you
114
+ can switch it without leaving the session.
115
+
116
+ Minor modes are batteries-included switches inside that base. They start off, stack freely,
117
+ and keep their model tools and skills out of context until turned on. DoomPi ships six:
249
118
 
250
- An explicit `--major-mode` wins, then `DOOMPI_MAJOR_MODE`, then
251
- `defaultMajorMode`. Omitting the field preserves the compatible `copilot` fallback.
119
+ - **Help mode:** expose package-owned guidance only while you need it.
120
+ - **Plan mode:** remove Pi's file-editing tools while you agree on an approach.
121
+ - **Loop mode:** run a prompt now, then run it again on a schedule.
122
+ - **Goal mode:** keep one objective in view until it is done or dismissed.
123
+ - **Workflow mode:** run jobs with dependencies, timeouts, and artifacts.
124
+ - **Voice mode:** replace typing with local speech.
252
125
 
253
- The flag is `--major-mode` and not `--mode` because Pi already owns `--mode` for its output
254
- mode (`text`, `json`, `rpc`), and for any other value it consumes the argument and ignores
255
- it without a diagnostic. Use `--output-format` for Pi's output mode.
126
+ ### Domains
256
127
 
257
- **Domains are plugins, and a plugin is skills plus MCP.** Selecting a domain decides which
258
- plugins contribute their skills and subagents, which MCP servers the session can reach,
259
- and whether the always-on shared skills apply. A domain can take a whole plugin or a named
260
- subset of one. This is the choice that decides how much the agent can see, so it is also
261
- the lever for keeping context small. Defaults are plural because domains compose:
128
+ A domain is a named group of agent plugins. It carries the skills and MCP servers for one
129
+ kind of work, and `/domains` switches it while the session is running.
130
+
131
+ Plugins are cataloged once and domains refer to their names. A configured root may be a
132
+ Codex-compatible marketplace or a folder whose direct children are plugins, so a repository
133
+ with many plugins does not need one entry per directory:
262
134
 
263
135
  ```yaml
264
- defaultDomains: [development, qa]
136
+ plugins:
137
+ roots: [plugins]
138
+ entries:
139
+ remote-review:
140
+ source: url
141
+ url: '<REVIEW_PLUGIN_GIT_URL>'
142
+ ref: v1.2.0
143
+
265
144
  domains:
266
145
  development:
267
- plugins: [plugins/development]
268
- qa:
269
- plugins: [plugins/qa]
146
+ description: Implementation and code-review tools.
147
+ plugins: [pi-development, remote-review]
270
148
  ```
271
149
 
272
- Explicit `--domain` or `--domains` flags win, then `DOOMPI_DOMAINS`, then
273
- `defaultDomains`.
274
-
275
- **Profiles are a persona and a brand.** `.doom/profiles.yaml` points at a directory under
276
- `agents/<brand>/<person>/`, and doom concatenates that person's `profile.md`, `SOUL.md`,
277
- and `AGENTS.md` into the system prompt: identity and the brand it represents, then voice,
278
- then role and rules. A profile also carries environment defaults, and nothing else. It
279
- cannot select domains, major modes, models, presets, or policy, and an exported value
280
- always beats a profile default.
150
+ DoomPi also checks personal and repository Codex marketplace layouts. Marketplace IDs use
151
+ `plugin@marketplace`. Remote Git and npm sources are downloaded once into the persistent
152
+ `~/.pi/.doom/plugin-cache` directory. Cache entries are reused until their source descriptor
153
+ changes; use a Git SHA or exact npm version for reproducible installs. Home and repository
154
+ catalogs merge, and repository names replace matching home names.
281
155
 
282
- Switching is live. `/major-mode`, `/domains`, and `/profile` re-resolve into the running
283
- session and reload. A domain or profile switch always applies in place. A major mode switch
284
- applies in place too unless the new mode changes which extension packages load, since Pi
285
- freezes the `--extension` set at construction; the picker tells you when a relaunch is
286
- needed.
156
+ A blog is not one task. Research it, draft it, make the assets, then review it. Turn on the
157
+ `visual` domain while making assets; the other three steps have no reason to carry it.
287
158
 
288
- ### Minor modes
159
+ ### Profile
289
160
 
290
- A major mode is chosen once per session and selects layers. Minor modes are the opposite:
291
- you toggle them while the session runs, several can be on at once, and none of them changes
292
- which extensions are loaded.
161
+ An LLM has no house style until you give it one. A profile can supply a narrative, brand
162
+ rules, or a different voice. It is optional; no profile is a perfectly good profile.
293
163
 
294
- | Minor mode | Toggle | Owned by |
295
- | ---------- | -------------------- | ---------------------------- |
296
- | plan | `/plan`, `SPC p` | `@agimon-ai/doompi-plan` |
297
- | loop | `/loop`, `SPC l` | `@agimon-ai/doompi-loop` |
298
- | workflow | `/workflow`, `SPC w` | `@agimon-ai/doompi-workflow` |
164
+ Profile roots remove the need to list every persona folder. A root may itself contain the
165
+ persona files, or its direct-child folders become profiles named after those folders. DoomPi
166
+ recognizes `profile.md`, `SOUL.md`, and `AGENTS.md` and never searches deeper directories.
299
167
 
300
- Each one publishes a label to a shared `MODES` line rather than painting a row of its own,
301
- so three enabled modes cost one line rather than three. The registry is
302
- `@agimon-ai/doompi-extension-contracts/mode`.
168
+ ```yaml
169
+ profiles:
170
+ roots: [agents/acme]
171
+ entries:
172
+ editor:
173
+ persona: agents/special/editor
174
+ env:
175
+ EDITOR_MODE: strict
176
+ ```
303
177
 
304
- ## For autonomous agents
178
+ Roots from the home and repository files accumulate relative to their declaring config.
179
+ Repository discoveries replace same-named home discoveries. Explicit entries override
180
+ discovery and can add string environment defaults; repository entries replace matching home
181
+ entries. Select one at launch with `--profile editor` or switch with `/profile`.
305
182
 
306
- ### Minimal context
183
+ ## What this buys you
307
184
 
308
- Fewer options, better choices. Domains cut the skill list and the tool list together. A
309
- domain that names three plugins gives the agent those plugins' skills and nothing else,
310
- and one with an `mcp` allowlist reaches only the servers and proxy upstreams it names.
185
+ Every tool schema and skill name competes for the same context. Loading less has two
186
+ immediate effects:
311
187
 
312
- `--explain` prints what any combination costs before you launch it, and ends with the bill:
188
+ 1. You spend fewer tokens before the work begins.
189
+ 2. The model has fewer plausible-but-wrong tools and skills to choose from.
313
190
 
314
- ```
315
- $ doompi --domains development --explain
316
- ...
317
- skills: 24 (from 3 directories)
318
-
319
- context cost (tokens)
320
- skills prompt 3,772 always on
321
- persona 0 always on
322
- startup total 3,772
323
- skill bodies 54,145 read on demand
324
-
325
- Excludes MCP tool schemas, which the servers only report once connected,
326
- and skills contributed by extensions, which register after startup.
327
- ```
191
+ The savings get larger when each workflow job starts with its own config instead of
192
+ inheriting the last job's toolbox.
328
193
 
329
- Every figure comes from files on disk, so two runs of the same selection print the same
330
- numbers and you can reproduce them on your own repository rather than trusting these.
194
+ ### Copilot
331
195
 
332
- MCP tool schemas are the one cost this cannot price. They exist only after a server
333
- connects, and pricing them would mean spawning every configured server on a command meant
334
- to be instant. Scoping them is still a declared choice; the saving is just not counted here.
196
+ I got tired of remembering slash commands, so `SPC` is the map. It opens only when the
197
+ draft is empty; a space in the middle of a prompt remains a space. Press it, read the
198
+ choices, then press the next key.
335
199
 
336
- A domain without an `mcp` key admits everything, and one unscoped domain in the selection
337
- unfilters the rest. Scoping applies only when every selected domain declares it.
200
+ When the keyboard is the wrong tool, autonomous Voice mode keeps the conversation going.
201
+ You can talk to the agent while doing the chores instead of carrying a laptop around the
202
+ house, and the primary agent can speak its own opening, milestone, and final updates.
338
203
 
339
- A domain can also take a named subset of one plugin's skills, by name or glob.
204
+ ### Autopilot
340
205
 
341
- ### Workflows
206
+ Copilot helps while you are present. Loop and Workflow keep work moving when you are not.
207
+ Together they can dispatch structured jobs from one live session.
342
208
 
343
- Long autonomous work runs as workflows, in the shape a GitHub Actions user already knows:
344
- `on:`, `jobs:`, `needs:`, `steps:`, timeouts, and declared artifacts.
209
+ #### Workflows
345
210
 
346
- The payoff is that every step names the session it wants. A workflow is where
347
- `--major-mode`, `--domains`, and `--profile` stop being things you type and become part of
348
- the definition, so one run can hand each job exactly the context that job needs and nothing
349
- else:
211
+ GitHub Actions already has a decent vocabulary for long jobs, so DoomPi reuses it. Each job
212
+ declares the DoomPi session it wants. Here, implementation gets development tools; an
213
+ article waits for it and gets focused blog-writing context:
350
214
 
351
215
  ```yaml
216
+ on:
217
+ workflow_dispatch:
218
+
352
219
  jobs:
353
220
  implement:
354
- needs: intake
221
+ runs-on: ubuntu-latest
355
222
  steps:
356
- - name: Implement
223
+ - name: Build the feature
357
224
  timeout-minutes: 180
358
- artifacts: [implementation/report.md]
359
225
  interactiveRun:
360
226
  default: |
361
- doompi --major-mode dev --domains development --auto-stop \
227
+ doompi --major-mode examples --domains development --auto-stop \
362
228
  --cwd "$PWD" "$JOB_SYSTEM_PROMPT"
363
229
 
364
- announce:
230
+ article:
231
+ runs-on: ubuntu-latest
365
232
  needs: implement
366
233
  steps:
367
- - name: Draft the release note
234
+ - name: Write the article
368
235
  timeout-minutes: 30
369
- artifacts: [marketing/release-note.md]
370
236
  interactiveRun:
371
237
  default: |
372
- doompi --major-mode marketing --domains marketing \
373
- --profile brand-voice --auto-stop \
238
+ doompi --major-mode examples --domains blog --auto-stop \
374
239
  --cwd "$PWD" "$JOB_SYSTEM_PROMPT"
375
240
  ```
376
241
 
377
- Two jobs, two different agents. `implement` runs under a major mode carrying lint and code
378
- intelligence and a domain carrying coding skills. `announce` drops both, takes a domain
379
- scoped to a handful of MCP servers, and adds a profile, so the release note comes out in a
380
- named persona's voice rather than the agent's own. Neither job can drift into the other's
381
- context, and the same job resolves the same way on every run.
382
-
383
- The one real departure from GitHub Actions is `extends:`, which lets a job inherit shared
384
- setup from a named template rather than repeating it.
242
+ #### Native plugin and workflow examples
385
243
 
386
- The engine itself is not in this package. `@agimon-ai/doompi-workflow` provides the in-session
387
- surface on `SPC w`, and its dispatcher exposes `list_workflows` to any session but scopes
388
- `launch_workflow` to the root session, so a subagent can look but not spawn. The `workflow`
389
- hook group is `core`, so it loads in any major mode.
244
+ This source repository includes a complete, deliberately small example stack:
390
245
 
391
- ### Long runs
246
+ ```text
247
+ plugins/
248
+ development/ implementation skill and developer agent
249
+ testing/ testing and review skills, tester and reviewer agents
250
+ blog-writing/ research, outline, drafting, and editorial skills and agents
251
+ automations/workflows/
252
+ dev-feature.workflow.yml
253
+ dev-fix.workflow.yml
254
+ blog-writing.workflow.yml
255
+ ```
392
256
 
393
- Tasks, teams, runners, and compaction share one working state, so a long autonomous run
394
- does not lose its place.
257
+ Each plugin has both `.codex-plugin/plugin.json` and `.claude-plugin/plugin.json`, while its
258
+ `skills/` and `agents/` content is shared. `.doom/domains.yaml` exposes the `development`,
259
+ `testing`, and `blog` domains plus the `engineering` alias. `.doom/modes.yaml` mirrors the
260
+ standalone package set with workspace-local paths, keeps its canonical modes, and adds a layer-free
261
+ `examples` base mode for the tracked workflows. Inspect the exact session before launch:
395
262
 
396
- - **Tasks** (`SPC t`) are a file-backed graph with dependencies and delegation, not a
397
- scratch list.
398
- - **Teams** (`SPC a`) run named subagents asynchronously against that same board,
399
- sequentially or in parallel.
400
- - **Runners** (`SPC r`) replace the bash tool and detach long commands, then reconcile
401
- them afterwards.
402
- - **Compaction** runs on a three-pass ladder in a worker thread, so the session never
403
- blocks on it.
263
+ ```bash
264
+ doompi --major-mode examples --domains engineering --explain
265
+ doompi --major-mode examples --domains blog --explain
266
+ ```
404
267
 
405
- The integration is the point. When compaction summarizes, it does not guess at
406
- coordination state: it reads the live plan, tasks, and team snapshot, and commits them
407
- next to the summary as authoritative rather than leaving them to be reconstructed from
408
- prose. Detached runners reconcile themselves once the context has been rewritten. The
409
- agent comes out the other side knowing what it was doing, what is still running, and who
410
- is doing what.
268
+ The same bundles can be installed directly through either native marketplace:
411
269
 
412
- ## Core is not a layer
270
+ ```bash
271
+ # Codex
272
+ codex plugin marketplace add .
273
+ codex plugin add development@doompi-examples
413
274
 
414
- Telemetry, workflow orchestration, the dispatch loop, and editor plumbing ship
415
- unconditionally and are absent from `modes.yaml` on purpose. They are the reason the
416
- harness exists, so making them optional would only create broken configurations. Layers
417
- are for opinions, not foundations.
275
+ # Claude Code
276
+ claude plugin marketplace add ./ --scope user
277
+ claude plugin install development@doompi-examples --scope user
278
+ ```
418
279
 
419
- ## Who owns what
280
+ Substitute `testing` or `blog-writing` to install another bundle. No DoomPi-specific plugin
281
+ schema is involved.
420
282
 
421
- Doom Pi is a meta-package. It depends on the Doom closure (`@agimon-ai/doompi-*`) and composes
422
- it, and it depends on nothing that belongs to the repository consuming it. The Agiflow and
423
- Agent Hooks extensions are consumer-owned: the repository declares them in its own
424
- `.doom/modes.yaml` and installs them itself, and they load after the Doom packages.
283
+ List and dry-run the tracked workflows before spending a model call:
425
284
 
426
- That split decides where a specifier resolves. A package the repository declares resolves
427
- from the repository root, walking its module chain; anything that does not resolve there
428
- falls back to what ships with the installed meta-package. So a consumer can add a layer
429
- without Doom Pi knowing the package exists, and Doom Pi can ship its own closure without
430
- the consumer declaring it.
285
+ ```bash
286
+ pnpm exec workflow-mcp list-workflows automations/workflows
287
+ pnpm exec workflow-mcp run-workflow automations/workflows/dev-feature.workflow.yml \
288
+ --dry-run --skip-launch --prompt "Add a health check"
289
+ pnpm exec workflow-mcp run-workflow automations/workflows/blog-writing.workflow.yml \
290
+ --dry-run --skip-launch --prompt "Write a practical guide to scoped agent tooling"
291
+ ```
431
292
 
432
- Package resources follow the same rule: the UI theme is shipped by `@agimon-ai/doompi-ui`
433
- and the workflow-recovery skill by `@agimon-ai/doompi-workflow`, each declared in its own
434
- manifest, so an installed package is discoverable without this checkout. Every Doom package
435
- publishes through an explicit `files` allowlist, which keeps repository material such as
436
- `docs/ideas/` out of any tarball.
293
+ Real runs delegate to tmux by default and accept `WORKFLOW_LAUNCHER=cmux`. Development runs do
294
+ not create branches, commits, or pushes. Blog runs leave review-ready Markdown, sources, and a
295
+ publication checklist in the workflow run directory without writing into a site or calling a CMS.
296
+ These examples live in the source repository and are not part of the published npm tarball.
437
297
 
438
- A repository is recognised by a Doom or trusted Pi marker: a `.doom/` directory, or an
439
- existing `.pi/settings.json`. No Nx, pnpm workspace, or plugins profile is required, so a
440
- plain repository that installs the package can launch it.
298
+ #### Loop
441
299
 
442
- ## Lazy config
300
+ Workflow definitions are exposed like skills, so the agent can choose one for the job. A
301
+ loop can send a subagent to fetch the next task, then dispatch the workflow that matches
302
+ it. One session becomes the dispatcher instead of the place every job has to fit.
443
303
 
444
- Under the launcher, everything is resolved per run and nothing is written back into the
445
- repository. Editing a YAML file is the entire change.
304
+ ## Features
446
305
 
447
- `doompi sync` trades that for a pinned setup: the same resolution runs once and lands in
448
- `.pi/doom/`, and a Pi session reads it instead of recomputing it. Edit a YAML file and the
449
- next session says the config changed, the way doom emacs asks you to re-run `doom sync`.
306
+ DoomPi is a distribution, not one giant extension. Each package owns one job; shared TUI,
307
+ Cordis services, and session contracts make them behave like one. Use the generated
308
+ `default.packages` list together, remove packages you do not want, or replace its entries one
309
+ at a time. Selectable packages are not runtime dependencies of the root package or of one another.
450
310
 
451
- `doompi init` seeds `~/.pi/.doom` with all five file names, but only `config.yaml` from
452
- there is read at runtime. Major modes, domains, profiles, and hooks are always read from the
453
- repository `.doom/`, so the other four seeded files affect nothing beyond the inputs hash.
311
+ ### Foundation and interface
454
312
 
455
- Either way the hook registry compiles to the files other frontends read before any harness
456
- code runs, and `doompi sync` regenerates them.
313
+ #### Configuration and composition
457
314
 
458
- ## Other frontends
315
+ [`@agimon-ai/doompi`][pkg-doompi] is both an extension and the command-line config compiler.
316
+ `dpi init` creates repository config for an isolated experiment, while `doompi init` creates the
317
+ personal config and registers the permanent Pi integration. The sync commands resolve every major
318
+ mode and domain into a distribution Pi can load quickly.
459
319
 
460
- Pi is the primary frontend. Claude Code, Codex, and Antigravity run through
461
- `doompi compat <provider>` and share the same domain config as far as each can:
320
+ #### Supporting packages
462
321
 
463
- | | Pi | Claude Code | Codex | Antigravity |
464
- | ------------------- | ----------------- | ----------------------------- | ------------------------ | ------------------- |
465
- | domains to plugins | yes | yes | yes | yes |
466
- | hooks | from the registry | generated `settings.json` | generated `hooks.json` | copied `hooks.json` |
467
- | MCP servers | scoped | scoped | unscoped | scoped |
468
- | MCP proxy upstreams | scoped | scoped | scoped | scoped |
469
- | major mode | packages + hooks | shared hook groups | shared hook groups | shared hook groups |
470
- | personas | system prompt | `--append-system-prompt-file` | `developer_instructions` | no |
322
+ [`@agimon-ai/doompi-config`][pkg-doompi-config] resolves the four YAML files and exposes the
323
+ configuration API. [`@agimon-ai/doompi-domain`][pkg-doompi-domain] owns domain selection, plugin
324
+ materialization, resource staging, and MCP scoping.
325
+ [`@agimon-ai/doompi-extension-contracts`][pkg-doompi-extension-contracts] contains the shared
326
+ Cordis service and event contracts used by extension authors.
327
+ [`@agimon-ai/doompi-hashline`][pkg-doompi-hashline] provides the shared snapshot tags and line-anchor
328
+ protocol. [`@agimon-ai/doompi-read`][pkg-doompi-read] and [`@agimon-ai/doompi-grep`][pkg-doompi-grep]
329
+ produce editable anchors for writable files while preserving Pi's native output for non-writable files.
330
+ [`@agimon-ai/doompi-edit`][pkg-doompi-edit] replaces Pi's search-and-replace `edit` tool with
331
+ stale-safe ranges anchored to the file content the model read or searched.
332
+ [`@agimon-ai/doompi-file-edit`][pkg-doompi-file-edit] opens files in the configured editor and
333
+ keeps the edit timeline. [`@agimon-ai/doompi-log`][pkg-doompi-log] collects session events, while
334
+ [`@agimon-ai/doompi-telemetry`][pkg-doompi-telemetry] is the library-level telemetry adapter.
471
335
 
472
- Compatibility frontends use the selected major mode for shared hook state. Layer packages
473
- and Pi extensions are loaded only by Pi.
336
+ Runner selects one native artifact automatically; do not install these directly:
337
+ [`darwin-arm64`][pkg-rmux-darwin-arm64], [`darwin-x64`][pkg-rmux-darwin-x64],
338
+ [`linux-arm64`][pkg-rmux-linux-arm64], or [`linux-x64`][pkg-rmux-linux-x64].
474
339
 
475
- Antigravity is the odd one. It reads its configuration from the workspace and from the
476
- user's home directory rather than from arguments, so every selection is written to disk
477
- before launch and reverted when it is no longer selected. Everything the harness writes is
478
- tracked in a managed-state file, so a file you created by hand is never silently replaced.
479
- Its hooks are copied from `.antigravity-local/hooks.json`, which is maintained by hand
480
- rather than generated from the registry.
340
+ #### Leader key
481
341
 
482
- Where a concept has no equivalent, it is left out rather than approximated.
342
+ [`@agimon-ai/doompi-ui`][pkg-doompi-ui] turns `SPC` into a map of the available commands. It stays out of
343
+ the way when a draft is not empty, and other packages contribute bindings through one
344
+ leader API instead of hardcoding their own menus.
483
345
 
484
- ## Files
346
+ ### Coordinated work
485
347
 
486
- All Doompi configuration lives in `.doom/`, committed to git.
348
+ #### Agent team
487
349
 
488
- ```
489
- .doom/
490
- config.yaml projectTrust, plus the selection sync pins
491
- domains.yaml domains, plus aliases for shorthand bundles
492
- modes.yaml layer definitions and the named major modes built from them
493
- hooks.yaml canonical hooks for all three frontends
494
- profiles.yaml persona and environment profiles
495
-
496
- agents/<product>/<person>/ persona source, referenced never copied
497
- ```
350
+ [`@agimon-ai/doompi-team`][pkg-doompi-team] runs named subagents asynchronously. It owns agents,
351
+ runs, membership, intercom, and model policy; Task owns the persistent task graph used for
352
+ delegation. Agents can work in parallel and message one another. `SPC a l` lists available agents;
353
+ `SPC a r` opens current-session runs and their controls.
498
354
 
499
- `doompi sync` writes into `.pi/`:
355
+ #### Tasks
500
356
 
501
- ```
502
- .pi/settings.json committed; sync owns extensions, themes, and theme
503
- .pi/doom/ generated and gitignored
504
- state.json environment, resolved paths, and the inputs hash
505
- mcp.json mcp-extension.ts agents/ persona.md doom-pi-dark.json
506
- run/<pid>/ one session's live switches, never the baseline
507
- harness-state.json that session's own state, owned by its process
508
- ```
357
+ [`@agimon-ai/doompi-task`][pkg-doompi-task] keeps a task graph on disk, not a disposable checklist in the
358
+ transcript. Dependencies persist independently of transcript compaction, and work can be handed to
359
+ a subagent, including a smaller model when the job does not need the expensive one. Seeded
360
+ `minimal` and `copilot` modes select its `task` layer; omit that layer when a major mode
361
+ should not expose the task tool.
509
362
 
510
- ### One owner for the state
363
+ #### Runner
511
364
 
512
- The resolved matrix a session runs on is a file, not a set of variables.
513
- `DOOMPI_STATE` points at it, and everything else the harness exports is derived from
514
- it: a projection published for the readers that can only see an environment, which are bash
515
- hooks, the shell launchers, `agent-hooks`, and any process spawned by any of them. Two
516
- fields never appear there at all, because nothing outside `@agimon-ai/doompi-config` reads
517
- them and every hook spawn would otherwise copy them: the plugin hook list and the profile's
518
- environment defaults.
365
+ [`@agimon-ai/doompi-runner`][pkg-doompi-runner] replaces Pi's blocking `bash` tool with
366
+ supervised command execution. `doompi init` includes Runner in `default.packages`, so every
367
+ generated mode gets it. Short commands still return inline; commands that pass the configurable
368
+ threshold of 60 seconds by default move into the background with durable logs. Use
369
+ `background: true` for an immediate detached run or `interactive: true` when the command needs
370
+ terminal input. Runner IDs and durable logs remain available to the current session through
371
+ Runner Space at `SPC r r` or the `doom-runner` CLI. Platform-specific RMUX binaries are selected
372
+ automatically, with a fallback when RMUX is unavailable. Remove Runner from `default.packages`
373
+ to keep Pi's `bash`, or add it to a named layer when only selected modes should replace `bash`.
519
374
 
520
- Ownership is per process, and that is the point. Doom Team subagents run detached, from an
521
- environment snapshot, and can outlive the parent that spawned them. So a spawner writes the
522
- child a file of its own in that run's directory, and any process that finds a file it does
523
- not own copies it before its first write. A child can neither corrupt its parent's session
524
- nor lose its own when the parent cleans up.
375
+ #### Auto-compact
525
376
 
526
- It also regenerates the two hook files the other frontends read before any harness code
527
- runs, which live outside `.pi/`:
377
+ Ordinary compaction waits for one summary to save an overgrown session.
378
+ [`@agimon-ai/doompi-autocompact`][pkg-doompi-autocompact] leaves checkpoints instead:
528
379
 
529
- ```
530
- .claude/settings.json the "hooks" key only; every other key is preserved
531
- .codex-local/hooks.json the whole file
380
+ 1. At 50%, it writes the first compact summary.
381
+ 2. Later, it combines that summary with the messages since; the model decides whether the
382
+ result is ready to use.
383
+ 3. On the third pass, it combines them again and forces compaction.
384
+
385
+ The work runs off-thread and can make up to three additional summarization calls. The standard
386
+ adapter preserves staged conversation checkpoints; Task and Team keep their own state rather than
387
+ being embedded as special snapshots in the compact summary.
388
+
389
+ ### Context and access
390
+
391
+ #### Help mode
392
+
393
+ [`@agimon-ai/doompi-help`][pkg-doompi-help] keeps package guidance out of the default prompt. A
394
+ fresh parent session performs no Help retrieval and exposes no Help skills. Use `SPC h e`, or the
395
+ existing `minor_mode` client in headless sessions, to activate the package indexes; use the same
396
+ action to deactivate them before the next interaction. Help names state their intent: authoring
397
+ guides use `doompi-author-*`, while operational guides use `doompi-use-*`. Core authoring guidance
398
+ covers extensions, runtime config, major modes, domains, profiles, hooks, workflows, and skills.
399
+ Parent and detached-child sessions both include the Help runtime, while root and axis authoring
400
+ guides remain parent-owned and all guidance stays withdrawn until Help mode is activated.
401
+
402
+ #### MCP
403
+
404
+ [`@agimon-ai/doompi-mcp`][pkg-doompi-mcp] is the gate between a session and its servers. It reads
405
+ repository and legacy plugin `.mcp.json` plus Agent Plugins v1 `mcp.json`, then exposes only the
406
+ servers and proxy upstreams allowed by the selected domains. A domain switch persists an immutable
407
+ projection; after Pi replaces the factories, Config publishes it through the session Cordis
408
+ registry and MCP starts a fresh in-memory `mcp-proxy` container. No Hono server or localhost proxy
409
+ sits in this path.
410
+
411
+ #### Ask user question
412
+
413
+ [`@agimon-ai/doompi-user-feedback`][pkg-doompi-user-feedback] gives the agent a structured question
414
+ that actually waits for an answer. In autonomous Voice mode it skips the modal, narrates the
415
+ choices, and accepts the next spoken response as an ordinary user message.
416
+
417
+ #### Logging and telemetry
418
+
419
+ DoomPi logging records operational metadata such as counters, spans, session IDs, tool names, and
420
+ errors. Callers remain responsible for values they attach to telemetry. `SPC h l` opens current-session
421
+ metrics, and [`@agimon-ai/log-sink-mcp`][pkg-log-sink-mcp] provides historical lookup when a sink is
422
+ configured.
423
+
424
+ ### Modes and automation
425
+
426
+ #### Plan mode
427
+
428
+ A promise to "only plan" is not a permission boundary. [`@agimon-ai/doompi-plan`][pkg-doompi-plan]
429
+ removes Pi's `edit` and `write` tools while the agent explores, persists the plan, and hands it back
430
+ for approval. It does not sandbox Bash, external tools, or the operating system. Use `SPC p p` for
431
+ normal planning, `SPC p d` for debug planning, `SPC p f` for the Fable flow, and `SPC p e` to exit.
432
+ Turn it on when the approach should be settled before the files move.
433
+
434
+ #### Loop mode
435
+
436
+ [`@agimon-ai/doompi-loop`][pkg-doompi-loop] is an in-session scheduler. It runs a prompt immediately
437
+ and then repeats it on an interval; several loops can coexist. Use `SPC l s` to start one and
438
+ `SPC l l` to list or stop them. It is for recurring checks and prompts that belong to the current
439
+ session.
440
+
441
+ #### Goal mode
442
+
443
+ [`@agimon-ai/doompi-goal`][pkg-doompi-goal] pins one objective to the session until it completes or
444
+ you end it. Use `SPC g g` for status, `SPC g s` to start, `SPC g e` to end, and `SPC g p` for
445
+ history. Finished goals stop contributing active instructions and tools but remain in history when
446
+ you want to restart one.
447
+
448
+ #### Workflow mode
449
+
450
+ [`@agimon-ai/doompi-workflow`][pkg-doompi-workflow] runs GitHub Actions-style job graphs with
451
+ dependencies, timeouts, artifacts, and a separate DoomPi session for each step. Use `SPC w w` to
452
+ launch, `SPC w l` to manage, `SPC w r` to recover a failed run, and `SPC w e` to give the agent
453
+ workflow tools or take them back. It is for work that needs hard job boundaries and explicit
454
+ handoffs rather than one long conversation.
455
+
456
+ #### Voice mode
457
+
458
+ [`@agimon-ai/doompi-voice`][pkg-doompi-voice] captures PCM audio through the local platform helper
459
+ and can transcribe it locally. Transcript text, session state, and model requests may still cross
460
+ process or provider boundaries according to the configured engines. `SPC v v` is one-shot manual
461
+ dictation and never enables Voice tools. `SPC v a` toggles autonomous capture; only its exact-active
462
+ TUI session receives the two Voice façades plus the standalone `narrate` tool.
463
+
464
+ While `narrate` is available, the primary agent calls it before every user-facing final
465
+ response. One concise spoken answer is enough for a short conversation or clarification;
466
+ longer work also gets an opening and meaningful milestone calls. Each ready-to-speak
467
+ utterance is limited to 4,096 characters, waits for physical playback, and returns
468
+ `completed`, `interrupted`, `superseded`, or `failed`.
469
+
470
+ If the agent never attempts `narrate` during a run, exact-active Voice speaks one sanitized
471
+ turn-end fallback rather than leaving the final response silent. Finals of at most 320
472
+ characters use deterministic speech; longer finals use the configured
473
+ `voice.autoCapture.model` for one bounded summary, with deterministic degradation on
474
+ failure or timeout. Any `narrate` attempt suppresses this safety net, so it cannot duplicate
475
+ or retry direct speech. Voice does not generate automatic intent, plan, milestone, or tool
476
+ progress narration. External task, workflow, and user-feedback narration remains
477
+ available, and the same model continues to provide bounded command correction.
478
+
479
+ ## Configuration
480
+
481
+ DoomPi reads four configuration files:
482
+
483
+ - `config.yaml` defines runtime settings such as trust, editor, planning, and voice behavior.
484
+ - `modes.yaml` defines default packages, extension layers, and major modes.
485
+ - `domains.yaml` catalogs plugins and sets session access.
486
+ - `profiles.yaml` supplies persona files and environment defaults.
487
+
488
+ Each matrix file has two optional layers: personal defaults in `~/.pi/.doom/` and repository
489
+ overrides in `<repository>/.doom/`. DoomPi loads both. Unique named entries from either layer
490
+ remain available; a same-named repository entry replaces the complete personal entry. Plugin
491
+ and profile roots from both layers are retained. Relative paths in personal config resolve
492
+ from `~/.pi/.doom/`; relative paths in repository config resolve from the repository root.
493
+
494
+ ### `modes.yaml`: choose behavior
495
+
496
+ A layer is an ordered bundle of extension packages and hook groups. A major mode names the
497
+ layers that should run together. The top-level `default.packages` list is the ordered package
498
+ baseline for every major mode. `doompi init` and `dpi init` write the distribution's current
499
+ feature packages there so the baseline is visible and replaceable. If `default` is absent,
500
+ DoomPi adds no default feature packages. Use `default.packages: []` for an explicit empty
501
+ baseline. The fixed host core remains active independently of this setting, and named layers
502
+ keep their existing behavior.
503
+
504
+ Launch installs missing required packages from the defaults and selected layers. `doompi sync`
505
+ installs missing required packages from the defaults and every declared layer, then builds the
506
+ synchronized matrix. `doompi sync --check` reports missing packages without modifying the
507
+ repository. Optional packages and local paths are not installed automatically. Removing an
508
+ entry stops activating it but leaves Pi's package cache available for later reuse.
509
+
510
+ Packages in `default` and named layers may be bare strings, or mappings when the package accepts
511
+ configuration:
512
+
513
+ ```yaml
514
+ default:
515
+ packages:
516
+ - '@agimon-ai/doompi-help'
517
+ - '@agimon-ai/doompi-hook'
518
+ - '@agimon-ai/doompi-goal'
519
+ - '@agimon-ai/doompi-voice'
520
+ - '@agimon-ai/doompi-runner'
521
+ - '@agimon-ai/doompi-read'
522
+ - '@agimon-ai/doompi-grep'
523
+ - '@agimon-ai/doompi-edit'
524
+ - '@agimon-ai/doompi-file-edit'
525
+ - '@agimon-ai/doompi-autocompact'
526
+ - '@agimon-ai/doompi-loop'
527
+ - '@agimon-ai/doompi-plan'
528
+ - '@agimon-ai/doompi-workflow'
529
+ - '@agimon-ai/doompi-log'
530
+ - '@agimon-ai/doompi-mcp'
531
+
532
+ layers:
533
+ team:
534
+ packages:
535
+ - name: '@agimon-ai/doompi-team'
536
+ config:
537
+ models:
538
+ - model: provider/model-id
539
+ thinking: high
540
+ review:
541
+ packages:
542
+ - '@scope/review-extension'
543
+
544
+ defaultMajorMode: copilot
545
+ majorMode:
546
+ minimal:
547
+ description: Lean sessions with delegation and little else.
548
+ layers: [team]
549
+ copilot:
550
+ description: General coding with delegation and review tools.
551
+ layers: [team, review]
532
552
  ```
533
553
 
534
- Edit `hooks.yaml` and re-run `doompi sync` to regenerate both.
554
+ Order matters: DoomPi assembles `default.packages` first, then the selected layers and their
555
+ packages from left to right. Put settings under the package that consumes them; a layer is
556
+ composition, not a mystery bag of shared configuration. Home and repository `layers` and
557
+ `majorMode` records merge by name, with the repository definition winning a collision. If both
558
+ sources declare `default`, the repository block replaces the personal block as one whole package
559
+ list.
535
560
 
536
- ## Selection
561
+ Configurations created before the hashline tools were split may contain only `doompi-edit`.
562
+ Replace that entry with the ordered `doompi-read`, `doompi-grep`, and `doompi-edit` trio. Init
563
+ preserves existing configuration unless it is run with `--force`.
537
564
 
538
- Use singular `--profile <name>` for one persona and its environment defaults. Use
539
- `--domains <name[,name...]>` for plugin bundles. Both `--major-mode` and `--profile` take
540
- exactly one name, reject a comma, and can be given only once. The removed `--layer`,
541
- `--layers`, `--profiles`, and `--target` flags throw and point at the replacement, and so
542
- does the removed `DOOMPI_LAYER` variable: a stale export is worth an error rather than a
543
- session quietly starting on the default.
565
+ Choose a mode with `--major-mode copilot`, switch it with `/mode`, or change
566
+ `defaultMajorMode` when one mode should be the ordinary starting point.
544
567
 
545
- Defaults when you name nothing: `defaultMajorMode` from `.doom/modes.yaml` and the
546
- `defaultDomains` list from `.doom/domains.yaml`. Omitting those fields preserves the
547
- compatible fallbacks: major mode `copilot`, plus domain `marketing` for the legacy
548
- `marketing` mode or `default` for every other mode.
568
+ ### `domains.yaml`: choose content and access
549
569
 
550
- Environment equivalents are `DOOMPI_MAJOR_MODE`, `DOOMPI_DOMAINS`, and `DOOMPI_PROFILE`.
551
- `DOOMPI_PRESET` and `DOOMPI_ADDITIONAL_DIRS` work the same way for `--preset` and
552
- `--add-dir`. An empty `DOOMPI_DOMAINS` means no domains, not the default. No profile is
553
- selected unless one is named.
570
+ Plugins are cataloged once, then domains refer to their names. A root can be a marketplace,
571
+ a single plugin, or a container whose direct-child folders are plugins. Discovery is
572
+ intentionally nonrecursive: a tool buried five directories down should not load by accident.
554
573
 
555
- There is one variable per axis. A nested run inherits its launcher's choice because the
556
- launcher writes the resolved value into the child environment under the same name, so
557
- anything you exported yourself is what a top-level run uses and what a spawned run
558
- overrides. These used to be two variables, `DOOM_PI_*` for the selection and
559
- `AGENT_HARNESS_*` for the resolved projection, with the second outranking the first. Any
560
- surviving `AGENT_HARNESS_*` variable now throws and names its replacement, because a stale
561
- export in a shell profile is worth an error.
574
+ ```yaml
575
+ defaultDomains: [development]
576
+
577
+ plugins:
578
+ roots: [plugins]
579
+ entries:
580
+ remote-review:
581
+ source: url
582
+ url: '<REVIEW_PLUGIN_GIT_URL>'
583
+ ref: v1.2.0
584
+ published-research:
585
+ source: npm
586
+ package: '@acme/research-plugin'
587
+ version: 1.4.0
588
+
589
+ domains:
590
+ development:
591
+ description: Repository implementation tools.
592
+ plugins: [coding-tools]
593
+ review:
594
+ description: Focused review skills with a narrow MCP boundary.
595
+ plugins:
596
+ - name: remote-review
597
+ skills: [typescript]
598
+ agents: [reviewer]
599
+ hooks: false
600
+ mcp: true
601
+ mcp:
602
+ servers: [filesystem]
603
+ proxy: [github]
604
+
605
+ aliases:
606
+ work: [development, review]
607
+ ```
562
608
 
563
- `DOOMPI_LAYERS`, plural, is a different variable from `DOOMPI_LAYER`. It carries the
564
- resolved layer components rather than the mode that selected them.
609
+ Here, `coding-tools` is discovered from `plugins/coding-tools`; its manifest name, or its
610
+ folder name when no manifest name exists, becomes the catalog ID. Local roots and entries
611
+ resolve beside the declaring file. Git and npm entries are cached in
612
+ `~/.pi/.doom/plugin-cache`; pin a Git SHA or exact package version when reproducibility
613
+ matters. Domains may load an entire plugin or select only its skills, agents, hooks, and MCP
614
+ configuration. The optional `mcp` mapping is an allowlist, not a request to start every server
615
+ in the repository.
565
616
 
566
- A repository can also pin the full selection used by a bare `doompi sync` or
567
- `doompi build`. A flag still wins, then an exported variable, then the matching
568
- `selection` field, then `modes.yaml`'s `defaultMajorMode` or `domains.yaml`'s
569
- `defaultDomains`:
617
+ Select one or more domains with `--domains development,review`, use an alias such as
618
+ `--domains work`, or switch them with `/domains`. `--no-domains` is useful when the right
619
+ amount of repository context is none.
620
+
621
+ ### `profiles.yaml`: choose a point of view
622
+
623
+ A profile directory becomes discoverable when it directly contains `profile.md`, `SOUL.md`,
624
+ or `AGENTS.md`. A root may be one profile or a container of direct-child profiles. The folder
625
+ name becomes the profile name; DoomPi concatenates those three files in that order.
570
626
 
571
627
  ```yaml
572
- # .doom/config.yaml
573
- selection:
574
- majorMode: dev
575
- domains: [development]
576
- profile: house-voice
628
+ profiles:
629
+ roots: [personas]
630
+ entries:
631
+ release-writer:
632
+ persona: personas/release-writer
633
+ env:
634
+ BRAND: acme
635
+ TONE: concise
636
+ ```
637
+
638
+ With that config, `personas/release-writer/profile.md` is enough to discover
639
+ `release-writer`. The explicit entry is optional; use one when the profile needs another name,
640
+ an exact persona path, or string environment defaults. Explicit entries override discovered
641
+ folders. Already exported environment values win, so selecting a profile never quietly
642
+ replaces a value supplied by the caller.
643
+
644
+ Discovery never recurses. Persona paths must remain under `agents/` or a root declared in the
645
+ same file, and symlinks may not escape the persona boundary. Legacy profiles written directly
646
+ under `profiles` still load, but new configuration should use `roots` and `entries`.
647
+
648
+ Select a profile with `--profile release-writer` or switch it with `/profile`. Leaving the
649
+ catalog empty is valid; no profile remains a first-class choice.
650
+
651
+ ### Check the matrix before launch
652
+
653
+ The fastest configuration debugger is the one that does not start a model:
654
+
655
+ ```bash
656
+ doompi --major-mode copilot --domains work --profile release-writer --explain
657
+ dpi sync
658
+ doompi sync --check
659
+ ```
660
+
661
+ `--explain` prints the resolved mode, domains, profile, plugins, skills, agents, MCP boundary,
662
+ and estimated prompt cost. `dpi sync` resolves the repository configuration and synchronizes
663
+ DPI without registering it in normal Pi settings. `doompi sync --check` turns drift into a
664
+ non-zero exit code for CI. If the explanation is surprising, fix the YAML before paying a model
665
+ to be surprised with you.
666
+
667
+ ## Trust and data boundaries
668
+
669
+ DoomPi executes the extensions, remote Git/npm plugins, hooks, MCP stdio commands, workflows, and
670
+ shell commands you configure. Treat them as trusted executable code. Runner commands inherit the
671
+ process environment and operating-system privileges; their logs may contain command output and
672
+ secrets. MCP credentials may live in the system keyring or private configuration files.
673
+
674
+ Voice can keep PCM capture and transcription local when local engines are selected, but transcript
675
+ text and model requests follow the configured providers. Loop, Workflow, Plan, Autocompact, Team,
676
+ and autonomous Voice can make additional model calls. Telemetry is disabled or redirected through
677
+ its owning package's controls; values supplied by callers are not automatically scrubbed.
678
+
679
+ ## CLI reference
680
+
681
+ | Command or option | What it does |
682
+ | -------------------------------------------- | -------------------------------------------------------------------------------- |
683
+ | `dpi init`, `dpi sync`, `dpi` | Creates, synchronizes, and runs the repository-scoped comparison setup |
684
+ | `doompi init`, `doompi sync` | Seeds personal config, builds synchronized state, and registers DoomPi with Pi |
685
+ | `doompi sync --check` | Exits non-zero when synchronized state is stale or legacy state needs migration |
686
+ | `doompi compat <codex\|claude\|antigravity>` | Resolves the selected matrix and launches the compatibility adapter |
687
+ | `doom-runner` | Inspects and controls supervised Runner processes and logs |
688
+ | `--explain` | Prints the resolved matrix and estimated prompt cost without launching Pi |
689
+ | `--emit-mcp <dir>`, `--no-mcp` | Writes the resolved MCP config or disables MCP for one run |
690
+ | `--cwd <path>`, `--auto-stop` | Chooses the working directory or exits after an interactive agent settles |
691
+ | `--` and remaining arguments | Forwards provider or Pi arguments unchanged where the selected command allows it |
692
+
693
+ ## Troubleshooting and direct use
694
+
695
+ - Run `doompi sync --check` to detect drift or missing configured packages, and `doompi sync`
696
+ to install them and rebuild synchronized state.
697
+ - If RMUX is unavailable on a supported target, Runner reports the fallback it uses. Linux native
698
+ artifacts require a compatible loader and libc environment.
699
+ - Leader menus and overlays require Pi's interactive TUI. Commands and tools remain the interface
700
+ for JSON, RPC, and other headless sessions where the owning package supports them.
701
+ - Install a directly loaded Pi subsystem with `pi install npm:@agimon-ai/<package>`. Library consumers
702
+ use `npm install`; native RMUX artifacts are selected by Runner and should not be installed directly.
703
+ The root `doom-runner` command delegates to Runner from the active repository and asks you to add
704
+ Runner to `modes.yaml` when it is absent. The distribution remains the supported way to get the
705
+ coordinated defaults.
706
+
707
+ ## Architecture
708
+
709
+ See [Architecture](https://github.com/AgiFlow/doompi/blob/main/docs/architecture.md) for standard Pi
710
+ package composition, canonical fingerprints, transition classification, synchronized bundles,
711
+ shared-host Cordis lifecycle ownership, and parent/child isolation.
712
+
713
+ ## Development
714
+
715
+ ```bash
716
+ pnpm install
717
+ pnpm build
718
+ pnpm examples:check
719
+ pnpm nx build @agimon-ai/doompi
720
+ pnpm nx test @agimon-ai/doompi
721
+ pnpm nx typecheck @agimon-ai/doompi
722
+ pnpm nx lint @agimon-ai/doompi
577
723
  ```
578
724
 
579
- Pi asks once before it trusts a project and loads `.pi` resources, so a synced session
580
- prompts on first run regardless of `projectTrust`, which reaches Pi as a launcher flag.
581
- Answer yes, or run `/trust`.
725
+ DoomPi is maintained by [Agimon](https://agimon.ai/about).
726
+
727
+ ## License
728
+
729
+ MIT
730
+
731
+ ## Maintainer release order
732
+
733
+ Publish [`@agimon-ai/doompi-extension-contracts`][pkg-doompi-extension-contracts] and
734
+ [`@agimon-ai/doompi-hashline`][pkg-doompi-hashline] first, then
735
+ [`@agimon-ai/doompi-help`][pkg-doompi-help], and only then the
736
+ [`@agimon-ai/doompi`][pkg-doompi] runtime that consumes them. Generated changelogs remain owned
737
+ by the release tooling.
738
+
739
+ The deploy workflow blocks publishing unless the deterministic DoomPi architecture sweep and the
740
+ packed-install system tests both pass. This keeps the shared Cordis host contract and independently
741
+ loaded extension graph inside the same release boundary as the packages that consume them.
742
+
743
+ [pkg-doompi]: https://www.npmjs.com/package/@agimon-ai/doompi
744
+ [pkg-doompi-ui]: https://www.npmjs.com/package/@agimon-ai/doompi-ui
745
+ [pkg-doompi-config]: https://www.npmjs.com/package/@agimon-ai/doompi-config
746
+ [pkg-doompi-domain]: https://www.npmjs.com/package/@agimon-ai/doompi-domain
747
+ [pkg-doompi-hashline]: https://www.npmjs.com/package/@agimon-ai/doompi-hashline
748
+ [pkg-doompi-read]: https://www.npmjs.com/package/@agimon-ai/doompi-read
749
+ [pkg-doompi-grep]: https://www.npmjs.com/package/@agimon-ai/doompi-grep
750
+ [pkg-doompi-edit]: https://www.npmjs.com/package/@agimon-ai/doompi-edit
751
+ [pkg-doompi-file-edit]: https://www.npmjs.com/package/@agimon-ai/doompi-file-edit
752
+ [pkg-doompi-log]: https://www.npmjs.com/package/@agimon-ai/doompi-log
753
+ [pkg-doompi-telemetry]: https://www.npmjs.com/package/@agimon-ai/doompi-telemetry
754
+ [pkg-rmux-darwin-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-darwin-arm64
755
+ [pkg-rmux-darwin-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-darwin-x64
756
+ [pkg-rmux-linux-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-linux-arm64
757
+ [pkg-rmux-linux-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-linux-x64
758
+ [pkg-doompi-team]: https://www.npmjs.com/package/@agimon-ai/doompi-team
759
+ [pkg-doompi-task]: https://www.npmjs.com/package/@agimon-ai/doompi-task
760
+ [pkg-doompi-runner]: https://www.npmjs.com/package/@agimon-ai/doompi-runner
761
+ [pkg-doompi-autocompact]: https://www.npmjs.com/package/@agimon-ai/doompi-autocompact
762
+ [pkg-doompi-help]: https://www.npmjs.com/package/@agimon-ai/doompi-help
763
+ [pkg-doompi-mcp]: https://www.npmjs.com/package/@agimon-ai/doompi-mcp
764
+ [pkg-doompi-user-feedback]: https://www.npmjs.com/package/@agimon-ai/doompi-user-feedback
765
+ [pkg-log-sink-mcp]: https://www.npmjs.com/package/@agimon-ai/log-sink-mcp
766
+ [pkg-doompi-plan]: https://www.npmjs.com/package/@agimon-ai/doompi-plan
767
+ [pkg-doompi-loop]: https://www.npmjs.com/package/@agimon-ai/doompi-loop
768
+ [pkg-doompi-goal]: https://www.npmjs.com/package/@agimon-ai/doompi-goal
769
+ [pkg-doompi-workflow]: https://www.npmjs.com/package/@agimon-ai/doompi-workflow
770
+ [pkg-doompi-voice]: https://www.npmjs.com/package/@agimon-ai/doompi-voice
771
+ [pkg-doompi-extension-contracts]: https://www.npmjs.com/package/@agimon-ai/doompi-extension-contracts