@rpamis/comet 0.4.0-beta.12 → 0.4.0-beta.13

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 (428) hide show
  1. package/assets/manifest.json +15 -1
  2. package/assets/skills/comet/SKILL.md +5 -11
  3. package/assets/skills/comet/reference/comet-yaml-fields.md +1 -1
  4. package/assets/skills/comet/reference/context-recovery.md +3 -3
  5. package/assets/skills/comet/reference/decision-point.md +4 -5
  6. package/assets/skills/comet/reference/scripts.md +17 -47
  7. package/assets/skills/comet/reference/subagent-dispatch.md +8 -8
  8. package/assets/skills/comet/rules/comet-phase-guard.en.md +2 -2
  9. package/assets/skills/comet/rules/comet-phase-guard.md +2 -2
  10. package/assets/skills/comet/scripts/comet-archive.mjs +165 -2
  11. package/assets/skills/comet/scripts/comet-entry-runtime.mjs +146 -8071
  12. package/assets/skills/comet/scripts/comet-guard.mjs +207 -2
  13. package/assets/skills/comet/scripts/comet-handoff.mjs +165 -2
  14. package/assets/skills/comet/scripts/comet-hook-guard.mjs +151 -2
  15. package/assets/skills/comet/scripts/comet-hook-router.mjs +155 -12101
  16. package/assets/skills/comet/scripts/comet-intent.mjs +10 -2
  17. package/assets/skills/comet/scripts/comet-resume-probe.mjs +148 -2
  18. package/assets/skills/comet/scripts/comet-runtime.mjs +286 -19170
  19. package/assets/skills/comet/scripts/comet-state.mjs +164 -2
  20. package/assets/skills/comet/scripts/comet-yaml-validate.mjs +149 -2
  21. package/assets/skills/comet-archive/SKILL.md +1 -1
  22. package/assets/skills/comet-build/SKILL.md +13 -14
  23. package/assets/skills/comet-classic/SKILL.md +9 -9
  24. package/assets/skills/comet-design/SKILL.md +4 -4
  25. package/assets/skills/comet-hotfix/SKILL.md +2 -2
  26. package/assets/skills/comet-native/SKILL.md +17 -2
  27. package/assets/skills/comet-native/reference/commands.md +12 -0
  28. package/assets/skills/comet-native/reference/recovery.md +2 -0
  29. package/assets/skills/comet-native/scripts/comet-native-archive.mjs +178 -0
  30. package/assets/skills/comet-native/scripts/comet-native-check.mjs +173 -0
  31. package/assets/skills/comet-native/scripts/comet-native-checkpoint.mjs +179 -0
  32. package/assets/skills/comet-native/scripts/comet-native-doctor.mjs +207 -0
  33. package/assets/skills/comet-native/scripts/comet-native-evidence.mjs +151 -0
  34. package/assets/skills/comet-native/scripts/comet-native-hook-guard.mjs +150 -2
  35. package/assets/skills/comet-native/scripts/comet-native-init.mjs +171 -0
  36. package/assets/skills/comet-native/scripts/comet-native-new.mjs +200 -0
  37. package/assets/skills/comet-native/scripts/comet-native-next.mjs +182 -0
  38. package/assets/skills/comet-native/scripts/comet-native-receipt.mjs +179 -0
  39. package/assets/skills/comet-native/scripts/comet-native-root.mjs +185 -0
  40. package/assets/skills/comet-native/scripts/comet-native-runtime.mjs +227 -31299
  41. package/assets/skills/comet-native/scripts/comet-native-select.mjs +178 -0
  42. package/assets/skills/comet-native/scripts/comet-native-show.mjs +151 -0
  43. package/assets/skills/comet-native/scripts/comet-native-spec.mjs +181 -0
  44. package/assets/skills/comet-native/scripts/comet-native-status.mjs +175 -0
  45. package/assets/skills/comet-tweak/SKILL.md +2 -2
  46. package/assets/skills/comet-verify/SKILL.md +3 -3
  47. package/assets/skills-zh/comet/SKILL.md +5 -11
  48. package/assets/skills-zh/comet/reference/comet-yaml-fields.md +1 -1
  49. package/assets/skills-zh/comet/reference/context-recovery.md +3 -3
  50. package/assets/skills-zh/comet/reference/decision-point.md +4 -5
  51. package/assets/skills-zh/comet/reference/scripts.md +9 -39
  52. package/assets/skills-zh/comet/reference/subagent-dispatch.md +8 -8
  53. package/assets/skills-zh/comet-archive/SKILL.md +1 -1
  54. package/assets/skills-zh/comet-build/SKILL.md +13 -14
  55. package/assets/skills-zh/comet-classic/SKILL.md +7 -7
  56. package/assets/skills-zh/comet-design/SKILL.md +5 -5
  57. package/assets/skills-zh/comet-hotfix/SKILL.md +2 -2
  58. package/assets/skills-zh/comet-native/SKILL.md +17 -2
  59. package/assets/skills-zh/comet-native/reference/commands.md +12 -0
  60. package/assets/skills-zh/comet-native/reference/recovery.md +2 -0
  61. package/assets/skills-zh/comet-tweak/SKILL.md +2 -2
  62. package/assets/skills-zh/comet-verify/SKILL.md +3 -3
  63. package/bin/comet.js +5 -1
  64. package/bin/fast-runtime-router.js +82 -0
  65. package/dist/app/cli/index.js +57 -18
  66. package/dist/app/cli/index.js.map +1 -1
  67. package/dist/app/commands/dashboard.js +2 -2
  68. package/dist/app/commands/dashboard.js.map +1 -1
  69. package/dist/app/commands/i18n.d.ts +1 -1
  70. package/dist/app/commands/i18n.d.ts.map +1 -1
  71. package/dist/app/commands/i18n.js +10 -0
  72. package/dist/app/commands/i18n.js.map +1 -1
  73. package/dist/app/commands/init.d.ts.map +1 -1
  74. package/dist/app/commands/init.js +9 -5
  75. package/dist/app/commands/init.js.map +1 -1
  76. package/dist/app/commands/uninstall.d.ts.map +1 -1
  77. package/dist/app/commands/uninstall.js +150 -8
  78. package/dist/app/commands/uninstall.js.map +1 -1
  79. package/dist/app/commands/update.d.ts +1 -0
  80. package/dist/app/commands/update.d.ts.map +1 -1
  81. package/dist/app/commands/update.js +166 -24
  82. package/dist/app/commands/update.js.map +1 -1
  83. package/dist/config/repository-layout.json +33 -3
  84. package/dist/domains/comet-classic/classic-archive-entry.js +1 -1
  85. package/dist/domains/comet-classic/classic-archive-entry.js.map +1 -1
  86. package/dist/domains/comet-classic/classic-branch-binding.d.ts.map +1 -1
  87. package/dist/domains/comet-classic/classic-branch-binding.js +8 -2
  88. package/dist/domains/comet-classic/classic-branch-binding.js.map +1 -1
  89. package/dist/domains/comet-classic/classic-current-change.d.ts.map +1 -1
  90. package/dist/domains/comet-classic/classic-current-change.js +6 -1
  91. package/dist/domains/comet-classic/classic-current-change.js.map +1 -1
  92. package/dist/domains/comet-classic/classic-guard-entry.js +1 -1
  93. package/dist/domains/comet-classic/classic-guard-entry.js.map +1 -1
  94. package/dist/domains/comet-classic/classic-guard.js +1 -1
  95. package/dist/domains/comet-classic/classic-guard.js.map +1 -1
  96. package/dist/domains/comet-classic/classic-handoff-entry.js +1 -1
  97. package/dist/domains/comet-classic/classic-handoff-entry.js.map +1 -1
  98. package/dist/domains/comet-classic/classic-hook-guard-entry.js +1 -1
  99. package/dist/domains/comet-classic/classic-hook-guard-entry.js.map +1 -1
  100. package/dist/domains/comet-classic/classic-hook-guard.d.ts.map +1 -1
  101. package/dist/domains/comet-classic/classic-hook-guard.js +7 -4
  102. package/dist/domains/comet-classic/classic-hook-guard.js.map +1 -1
  103. package/dist/domains/comet-classic/classic-intent-entry.js +1 -1
  104. package/dist/domains/comet-classic/classic-intent-entry.js.map +1 -1
  105. package/dist/domains/comet-classic/classic-layout-initialization.d.ts.map +1 -1
  106. package/dist/domains/comet-classic/classic-layout-initialization.js +18 -11
  107. package/dist/domains/comet-classic/classic-layout-initialization.js.map +1 -1
  108. package/dist/domains/comet-classic/classic-layout.d.ts +7 -4
  109. package/dist/domains/comet-classic/classic-layout.d.ts.map +1 -1
  110. package/dist/domains/comet-classic/classic-layout.js +9 -9
  111. package/dist/domains/comet-classic/classic-layout.js.map +1 -1
  112. package/dist/domains/comet-classic/classic-resume-probe-entry.js +1 -1
  113. package/dist/domains/comet-classic/classic-resume-probe-entry.js.map +1 -1
  114. package/dist/domains/comet-classic/classic-script-entry.d.ts +2 -2
  115. package/dist/domains/comet-classic/classic-script-entry.d.ts.map +1 -1
  116. package/dist/domains/comet-classic/classic-script-entry.js +4 -3
  117. package/dist/domains/comet-classic/classic-script-entry.js.map +1 -1
  118. package/dist/domains/comet-classic/classic-state-command.js +6 -6
  119. package/dist/domains/comet-classic/classic-state-command.js.map +1 -1
  120. package/dist/domains/comet-classic/classic-state-entry.js +1 -1
  121. package/dist/domains/comet-classic/classic-state-entry.js.map +1 -1
  122. package/dist/domains/comet-classic/classic-validate-entry.js +1 -1
  123. package/dist/domains/comet-classic/classic-validate-entry.js.map +1 -1
  124. package/dist/domains/comet-entry/entry-reads.d.ts +17 -0
  125. package/dist/domains/comet-entry/entry-reads.d.ts.map +1 -0
  126. package/dist/domains/comet-entry/entry-reads.js +20 -0
  127. package/dist/domains/comet-entry/entry-reads.js.map +1 -0
  128. package/dist/domains/comet-entry/hook-router-entry.d.ts.map +1 -1
  129. package/dist/domains/comet-entry/hook-router-entry.js +3 -1
  130. package/dist/domains/comet-entry/hook-router-entry.js.map +1 -1
  131. package/dist/domains/comet-entry/hook-router.d.ts.map +1 -1
  132. package/dist/domains/comet-entry/hook-router.js +8 -3
  133. package/dist/domains/comet-entry/hook-router.js.map +1 -1
  134. package/dist/domains/comet-entry/init-workflow.d.ts.map +1 -1
  135. package/dist/domains/comet-entry/init-workflow.js +7 -8
  136. package/dist/domains/comet-entry/init-workflow.js.map +1 -1
  137. package/dist/domains/comet-entry/resolve-entry.d.ts.map +1 -1
  138. package/dist/domains/comet-entry/resolve-entry.js +3 -4
  139. package/dist/domains/comet-entry/resolve-entry.js.map +1 -1
  140. package/dist/domains/comet-entry/resume-probe.d.ts.map +1 -1
  141. package/dist/domains/comet-entry/resume-probe.js +16 -5
  142. package/dist/domains/comet-entry/resume-probe.js.map +1 -1
  143. package/dist/domains/comet-native/native-archive-command.d.ts +3 -0
  144. package/dist/domains/comet-native/native-archive-command.d.ts.map +1 -0
  145. package/dist/domains/comet-native/native-archive-command.js +49 -0
  146. package/dist/domains/comet-native/native-archive-command.js.map +1 -0
  147. package/dist/domains/comet-native/native-archive-entry.d.ts +2 -0
  148. package/dist/domains/comet-native/native-archive-entry.d.ts.map +1 -0
  149. package/dist/domains/comet-native/native-archive-entry.js +4 -0
  150. package/dist/domains/comet-native/native-archive-entry.js.map +1 -0
  151. package/dist/domains/comet-native/native-check-command.d.ts +3 -0
  152. package/dist/domains/comet-native/native-check-command.d.ts.map +1 -0
  153. package/dist/domains/comet-native/native-check-command.js +30 -0
  154. package/dist/domains/comet-native/native-check-command.js.map +1 -0
  155. package/dist/domains/comet-native/native-check-entry.d.ts +2 -0
  156. package/dist/domains/comet-native/native-check-entry.d.ts.map +1 -0
  157. package/dist/domains/comet-native/native-check-entry.js +4 -0
  158. package/dist/domains/comet-native/native-check-entry.js.map +1 -0
  159. package/dist/domains/comet-native/native-checkpoint-command.d.ts +3 -0
  160. package/dist/domains/comet-native/native-checkpoint-command.d.ts.map +1 -0
  161. package/dist/domains/comet-native/native-checkpoint-command.js +39 -0
  162. package/dist/domains/comet-native/native-checkpoint-command.js.map +1 -0
  163. package/dist/domains/comet-native/native-checkpoint-entry.d.ts +2 -0
  164. package/dist/domains/comet-native/native-checkpoint-entry.d.ts.map +1 -0
  165. package/dist/domains/comet-native/native-checkpoint-entry.js +4 -0
  166. package/dist/domains/comet-native/native-checkpoint-entry.js.map +1 -0
  167. package/dist/domains/comet-native/native-cli-shared.d.ts +40 -0
  168. package/dist/domains/comet-native/native-cli-shared.d.ts.map +1 -0
  169. package/dist/domains/comet-native/native-cli-shared.js +272 -0
  170. package/dist/domains/comet-native/native-cli-shared.js.map +1 -0
  171. package/dist/domains/comet-native/native-cli.d.ts +2 -5
  172. package/dist/domains/comet-native/native-cli.d.ts.map +1 -1
  173. package/dist/domains/comet-native/native-cli.js +37 -785
  174. package/dist/domains/comet-native/native-cli.js.map +1 -1
  175. package/dist/domains/comet-native/native-continuation.d.ts.map +1 -1
  176. package/dist/domains/comet-native/native-continuation.js +16 -0
  177. package/dist/domains/comet-native/native-continuation.js.map +1 -1
  178. package/dist/domains/comet-native/native-doctor-command.d.ts +3 -0
  179. package/dist/domains/comet-native/native-doctor-command.d.ts.map +1 -0
  180. package/dist/domains/comet-native/native-doctor-command.js +29 -0
  181. package/dist/domains/comet-native/native-doctor-command.js.map +1 -0
  182. package/dist/domains/comet-native/native-doctor-entry.d.ts +2 -0
  183. package/dist/domains/comet-native/native-doctor-entry.d.ts.map +1 -0
  184. package/dist/domains/comet-native/native-doctor-entry.js +4 -0
  185. package/dist/domains/comet-native/native-doctor-entry.js.map +1 -0
  186. package/dist/domains/comet-native/native-evidence-command.d.ts +3 -0
  187. package/dist/domains/comet-native/native-evidence-command.d.ts.map +1 -0
  188. package/dist/domains/comet-native/native-evidence-command.js +35 -0
  189. package/dist/domains/comet-native/native-evidence-command.js.map +1 -0
  190. package/dist/domains/comet-native/native-evidence-entry.d.ts +2 -0
  191. package/dist/domains/comet-native/native-evidence-entry.d.ts.map +1 -0
  192. package/dist/domains/comet-native/native-evidence-entry.js +4 -0
  193. package/dist/domains/comet-native/native-evidence-entry.js.map +1 -0
  194. package/dist/domains/comet-native/native-evidence-storage.d.ts +17 -6
  195. package/dist/domains/comet-native/native-evidence-storage.d.ts.map +1 -1
  196. package/dist/domains/comet-native/native-evidence-storage.js +89 -23
  197. package/dist/domains/comet-native/native-evidence-storage.js.map +1 -1
  198. package/dist/domains/comet-native/native-findings.d.ts.map +1 -1
  199. package/dist/domains/comet-native/native-findings.js +18 -0
  200. package/dist/domains/comet-native/native-findings.js.map +1 -1
  201. package/dist/domains/comet-native/native-hook-guard-command.d.ts +3 -0
  202. package/dist/domains/comet-native/native-hook-guard-command.d.ts.map +1 -0
  203. package/dist/domains/comet-native/native-hook-guard-command.js +32 -0
  204. package/dist/domains/comet-native/native-hook-guard-command.js.map +1 -0
  205. package/dist/domains/comet-native/native-hook-guard-entry.d.ts +2 -0
  206. package/dist/domains/comet-native/native-hook-guard-entry.d.ts.map +1 -0
  207. package/dist/domains/comet-native/native-hook-guard-entry.js +4 -0
  208. package/dist/domains/comet-native/native-hook-guard-entry.js.map +1 -0
  209. package/dist/domains/comet-native/native-hook-guard.d.ts.map +1 -1
  210. package/dist/domains/comet-native/native-hook-guard.js +7 -1
  211. package/dist/domains/comet-native/native-hook-guard.js.map +1 -1
  212. package/dist/domains/comet-native/native-init-command.d.ts +3 -0
  213. package/dist/domains/comet-native/native-init-command.d.ts.map +1 -0
  214. package/dist/domains/comet-native/native-init-command.js +29 -0
  215. package/dist/domains/comet-native/native-init-command.js.map +1 -0
  216. package/dist/domains/comet-native/native-init-entry.d.ts +2 -0
  217. package/dist/domains/comet-native/native-init-entry.d.ts.map +1 -0
  218. package/dist/domains/comet-native/native-init-entry.js +4 -0
  219. package/dist/domains/comet-native/native-init-entry.js.map +1 -0
  220. package/dist/domains/comet-native/native-new-command.d.ts +3 -0
  221. package/dist/domains/comet-native/native-new-command.d.ts.map +1 -0
  222. package/dist/domains/comet-native/native-new-command.js +35 -0
  223. package/dist/domains/comet-native/native-new-command.js.map +1 -0
  224. package/dist/domains/comet-native/native-new-entry.d.ts +2 -0
  225. package/dist/domains/comet-native/native-new-entry.d.ts.map +1 -0
  226. package/dist/domains/comet-native/native-new-entry.js +4 -0
  227. package/dist/domains/comet-native/native-new-entry.js.map +1 -0
  228. package/dist/domains/comet-native/native-next-command.d.ts +3 -0
  229. package/dist/domains/comet-native/native-next-command.d.ts.map +1 -0
  230. package/dist/domains/comet-native/native-next-command.js +82 -0
  231. package/dist/domains/comet-native/native-next-command.js.map +1 -0
  232. package/dist/domains/comet-native/native-next-entry.d.ts +2 -0
  233. package/dist/domains/comet-native/native-next-entry.d.ts.map +1 -0
  234. package/dist/domains/comet-native/native-next-entry.js +4 -0
  235. package/dist/domains/comet-native/native-next-entry.js.map +1 -0
  236. package/dist/domains/comet-native/native-receipt-command.d.ts +3 -0
  237. package/dist/domains/comet-native/native-receipt-command.d.ts.map +1 -0
  238. package/dist/domains/comet-native/native-receipt-command.js +107 -0
  239. package/dist/domains/comet-native/native-receipt-command.js.map +1 -0
  240. package/dist/domains/comet-native/native-receipt-entry.d.ts +2 -0
  241. package/dist/domains/comet-native/native-receipt-entry.d.ts.map +1 -0
  242. package/dist/domains/comet-native/native-receipt-entry.js +4 -0
  243. package/dist/domains/comet-native/native-receipt-entry.js.map +1 -0
  244. package/dist/domains/comet-native/native-receipt-refresh.d.ts +86 -0
  245. package/dist/domains/comet-native/native-receipt-refresh.d.ts.map +1 -0
  246. package/dist/domains/comet-native/native-receipt-refresh.js +232 -0
  247. package/dist/domains/comet-native/native-receipt-refresh.js.map +1 -0
  248. package/dist/domains/comet-native/native-root-command.d.ts +3 -0
  249. package/dist/domains/comet-native/native-root-command.d.ts.map +1 -0
  250. package/dist/domains/comet-native/native-root-command.js +29 -0
  251. package/dist/domains/comet-native/native-root-command.js.map +1 -0
  252. package/dist/domains/comet-native/native-root-entry.d.ts +2 -0
  253. package/dist/domains/comet-native/native-root-entry.d.ts.map +1 -0
  254. package/dist/domains/comet-native/native-root-entry.js +4 -0
  255. package/dist/domains/comet-native/native-root-entry.js.map +1 -0
  256. package/dist/domains/comet-native/native-script-entry.d.ts +12 -0
  257. package/dist/domains/comet-native/native-script-entry.d.ts.map +1 -0
  258. package/dist/domains/comet-native/native-script-entry.js +44 -0
  259. package/dist/domains/comet-native/native-script-entry.js.map +1 -0
  260. package/dist/domains/comet-native/native-select-command.d.ts +3 -0
  261. package/dist/domains/comet-native/native-select-command.d.ts.map +1 -0
  262. package/dist/domains/comet-native/native-select-command.js +15 -0
  263. package/dist/domains/comet-native/native-select-command.js.map +1 -0
  264. package/dist/domains/comet-native/native-select-entry.d.ts +2 -0
  265. package/dist/domains/comet-native/native-select-entry.d.ts.map +1 -0
  266. package/dist/domains/comet-native/native-select-entry.js +4 -0
  267. package/dist/domains/comet-native/native-select-entry.js.map +1 -0
  268. package/dist/domains/comet-native/native-show-command.d.ts +3 -0
  269. package/dist/domains/comet-native/native-show-command.d.ts.map +1 -0
  270. package/dist/domains/comet-native/native-show-command.js +41 -0
  271. package/dist/domains/comet-native/native-show-command.js.map +1 -0
  272. package/dist/domains/comet-native/native-show-entry.d.ts +2 -0
  273. package/dist/domains/comet-native/native-show-entry.d.ts.map +1 -0
  274. package/dist/domains/comet-native/native-show-entry.js +4 -0
  275. package/dist/domains/comet-native/native-show-entry.js.map +1 -0
  276. package/dist/domains/comet-native/native-snapshot.d.ts +9 -0
  277. package/dist/domains/comet-native/native-snapshot.d.ts.map +1 -1
  278. package/dist/domains/comet-native/native-snapshot.js +141 -5
  279. package/dist/domains/comet-native/native-snapshot.js.map +1 -1
  280. package/dist/domains/comet-native/native-spec-command.d.ts +3 -0
  281. package/dist/domains/comet-native/native-spec-command.d.ts.map +1 -0
  282. package/dist/domains/comet-native/native-spec-command.js +34 -0
  283. package/dist/domains/comet-native/native-spec-command.js.map +1 -0
  284. package/dist/domains/comet-native/native-spec-entry.d.ts +2 -0
  285. package/dist/domains/comet-native/native-spec-entry.d.ts.map +1 -0
  286. package/dist/domains/comet-native/native-spec-entry.js +4 -0
  287. package/dist/domains/comet-native/native-spec-entry.js.map +1 -0
  288. package/dist/domains/comet-native/native-status-command.d.ts +3 -0
  289. package/dist/domains/comet-native/native-status-command.d.ts.map +1 -0
  290. package/dist/domains/comet-native/native-status-command.js +36 -0
  291. package/dist/domains/comet-native/native-status-command.js.map +1 -0
  292. package/dist/domains/comet-native/native-status-entry.d.ts +2 -0
  293. package/dist/domains/comet-native/native-status-entry.d.ts.map +1 -0
  294. package/dist/domains/comet-native/native-status-entry.js +4 -0
  295. package/dist/domains/comet-native/native-status-entry.js.map +1 -0
  296. package/dist/domains/comet-native/native-transitions.d.ts +4 -0
  297. package/dist/domains/comet-native/native-transitions.d.ts.map +1 -1
  298. package/dist/domains/comet-native/native-transitions.js +28 -4
  299. package/dist/domains/comet-native/native-transitions.js.map +1 -1
  300. package/dist/domains/comet-native/native-types.d.ts +8 -0
  301. package/dist/domains/comet-native/native-types.d.ts.map +1 -1
  302. package/dist/domains/comet-native/native-verification-receipt-runtime.d.ts +14 -0
  303. package/dist/domains/comet-native/native-verification-receipt-runtime.d.ts.map +1 -1
  304. package/dist/domains/comet-native/native-verification-receipt-runtime.js +29 -1
  305. package/dist/domains/comet-native/native-verification-receipt-runtime.js.map +1 -1
  306. package/dist/domains/comet-native/native-verification-runtime.d.ts +28 -1
  307. package/dist/domains/comet-native/native-verification-runtime.d.ts.map +1 -1
  308. package/dist/domains/comet-native/native-verification-runtime.js +92 -14
  309. package/dist/domains/comet-native/native-verification-runtime.js.map +1 -1
  310. package/dist/domains/dashboard/collector.d.ts.map +1 -1
  311. package/dist/domains/dashboard/collector.js +53 -41
  312. package/dist/domains/dashboard/collector.js.map +1 -1
  313. package/dist/domains/dashboard/native-collector.d.ts.map +1 -1
  314. package/dist/domains/dashboard/native-collector.js +13 -3
  315. package/dist/domains/dashboard/native-collector.js.map +1 -1
  316. package/dist/domains/dashboard/project-directory.d.ts +20 -0
  317. package/dist/domains/dashboard/project-directory.d.ts.map +1 -0
  318. package/dist/domains/dashboard/project-directory.js +87 -0
  319. package/dist/domains/dashboard/project-directory.js.map +1 -0
  320. package/dist/domains/dashboard/project-root.d.ts +8 -0
  321. package/dist/domains/dashboard/project-root.d.ts.map +1 -0
  322. package/dist/domains/dashboard/project-root.js +68 -0
  323. package/dist/domains/dashboard/project-root.js.map +1 -0
  324. package/dist/domains/dashboard/server.d.ts +1 -0
  325. package/dist/domains/dashboard/server.d.ts.map +1 -1
  326. package/dist/domains/dashboard/server.js +50 -10
  327. package/dist/domains/dashboard/server.js.map +1 -1
  328. package/dist/domains/dashboard/web/assets/{arc-BXDAG6Qx.js → arc-mNt_SS1l.js} +1 -1
  329. package/dist/domains/dashboard/web/assets/architectureDiagram-3BPJPVTR-Bc5akVD6.js +36 -0
  330. package/dist/domains/dashboard/web/assets/{blockDiagram-GPEHLZMM-STNPWdDl.js → blockDiagram-GPEHLZMM-C43zhVBe.js} +2 -2
  331. package/dist/domains/dashboard/web/assets/{c4Diagram-AAUBKEIU-Bh-rUIcJ.js → c4Diagram-AAUBKEIU-dToETarK.js} +2 -2
  332. package/dist/domains/dashboard/web/assets/channel-b2wWDG4F.js +1 -0
  333. package/dist/domains/dashboard/web/assets/{chunk-2J33WTMH-BRhFNAFH.js → chunk-2J33WTMH-C0oO137R.js} +1 -1
  334. package/dist/domains/dashboard/web/assets/{chunk-4BX2VUAB-CwA3zkFS.js → chunk-4BX2VUAB-CGms1fgI.js} +1 -1
  335. package/dist/domains/dashboard/web/assets/{chunk-55IACEB6-C1tqAl_E.js → chunk-55IACEB6-Bugl8v6f.js} +1 -1
  336. package/dist/domains/dashboard/web/assets/{chunk-727SXJPM-DDefBoUS.js → chunk-727SXJPM-8ATNMlBG.js} +1 -1
  337. package/dist/domains/dashboard/web/assets/{chunk-AQP2D5EJ-Dq-0Yi9D.js → chunk-AQP2D5EJ-BNYjSSqU.js} +1 -1
  338. package/dist/domains/dashboard/web/assets/{chunk-FMBD7UC4-DC-MVNgk.js → chunk-FMBD7UC4-_nJAqSbe.js} +1 -1
  339. package/dist/domains/dashboard/web/assets/{chunk-ND2GUHAM-BLWZ8zWd.js → chunk-ND2GUHAM-lyxYm5NX.js} +1 -1
  340. package/dist/domains/dashboard/web/assets/{chunk-QZHKN3VN-DaK5rvZu.js → chunk-QZHKN3VN-PUMVeWpd.js} +1 -1
  341. package/dist/domains/dashboard/web/assets/classDiagram-4FO5ZUOK-B9SWZywo.js +1 -0
  342. package/dist/domains/dashboard/web/assets/classDiagram-v2-Q7XG4LA2-B9SWZywo.js +1 -0
  343. package/dist/domains/dashboard/web/assets/cose-bilkent-S5V4N54A-DzMqjexn.js +1 -0
  344. package/dist/domains/dashboard/web/assets/{cynefin-VYW2F7L2-CBaY4KFj.js → cynefin-VYW2F7L2-B67ET0eq.js} +1 -1
  345. package/dist/domains/dashboard/web/assets/dagre-BM42HDAG-CQPMvRLK.js +4 -0
  346. package/dist/domains/dashboard/web/assets/diagram-2AECGRRQ-BRpLrFHM.js +43 -0
  347. package/dist/domains/dashboard/web/assets/diagram-5GNKFQAL-CPGWuGrE.js +10 -0
  348. package/dist/domains/dashboard/web/assets/{diagram-KO2AKTUF-BZcengGf.js → diagram-KO2AKTUF-D2wpX2iO.js} +2 -2
  349. package/dist/domains/dashboard/web/assets/diagram-LMA3HP47-D54mAbDu.js +24 -0
  350. package/dist/domains/dashboard/web/assets/diagram-OG6HWLK6-ZGQDpSs_.js +24 -0
  351. package/dist/domains/dashboard/web/assets/{erDiagram-TEJ5UH35-BBrwULhs.js → erDiagram-TEJ5UH35-C3qDo7sd.js} +2 -2
  352. package/dist/domains/dashboard/web/assets/{flowDiagram-I6XJVG4X-DiNn0Yzp.js → flowDiagram-I6XJVG4X-B7hStPd9.js} +2 -2
  353. package/dist/domains/dashboard/web/assets/ganttDiagram-6RSMTGT7-IqcLFbTK.js +292 -0
  354. package/dist/domains/dashboard/web/assets/gitGraphDiagram-PVQCEYII-YrMZpzUu.js +106 -0
  355. package/dist/domains/dashboard/web/assets/index-DhtBssCt.js +257 -0
  356. package/dist/domains/dashboard/web/assets/{index-QO0z6F4w.js → index-icxk8_BP.js} +1 -1
  357. package/dist/domains/dashboard/web/assets/index-pr3axVDI.css +1 -0
  358. package/dist/domains/dashboard/web/assets/infoDiagram-5YYISTIA-CcIgGK_7.js +2 -0
  359. package/dist/domains/dashboard/web/assets/{ishikawaDiagram-YF4QCWOH-DCPPspol.js → ishikawaDiagram-YF4QCWOH-1x3rNjGP.js} +2 -2
  360. package/dist/domains/dashboard/web/assets/{journeyDiagram-JHISSGLW-C_v8b1Os.js → journeyDiagram-JHISSGLW-B2XiqMNP.js} +2 -2
  361. package/dist/domains/dashboard/web/assets/{kanban-definition-UN3LZRKU-CgpE9lG7.js → kanban-definition-UN3LZRKU-x46cGuo3.js} +2 -2
  362. package/dist/domains/dashboard/web/assets/{linear-jSddcREx.js → linear-DFLqGZWl.js} +1 -1
  363. package/dist/domains/dashboard/web/assets/{mermaid.core-5Ibr28Ig.js → mermaid.core-g3J6BACc.js} +69 -69
  364. package/dist/domains/dashboard/web/assets/{mindmap-definition-RKZ34NQL-XPCohX0x.js → mindmap-definition-RKZ34NQL-CTdeKmcX.js} +2 -2
  365. package/dist/domains/dashboard/web/assets/{pieDiagram-4H26LBE5-DvhxgQWl.js → pieDiagram-4H26LBE5-C_obwjIf.js} +2 -2
  366. package/dist/domains/dashboard/web/assets/{quadrantDiagram-W4KKPZXB-CCUxdF-S.js → quadrantDiagram-W4KKPZXB-B6Gnfz9M.js} +4 -4
  367. package/dist/domains/dashboard/web/assets/{requirementDiagram-4Y6WPE33-FS3TCmdX.js → requirementDiagram-4Y6WPE33-nX4PObnB.js} +2 -2
  368. package/dist/domains/dashboard/web/assets/{sankeyDiagram-5OEKKPKP-r129rscN.js → sankeyDiagram-5OEKKPKP-QjDwwHgl.js} +2 -2
  369. package/dist/domains/dashboard/web/assets/{sequenceDiagram-3UESZ5HK--DCY0bvU.js → sequenceDiagram-3UESZ5HK-BEEe0j6B.js} +2 -2
  370. package/dist/domains/dashboard/web/assets/stateDiagram-AJRCARHV-CXfAaBgM.js +1 -0
  371. package/dist/domains/dashboard/web/assets/stateDiagram-v2-BHNVJYJU-CD3nS4cC.js +1 -0
  372. package/dist/domains/dashboard/web/assets/{timeline-definition-PNZ67QCA-NlqCuFuo.js → timeline-definition-PNZ67QCA-BOzX2EnD.js} +2 -2
  373. package/dist/domains/dashboard/web/assets/{vennDiagram-CIIHVFJN-B4W_d1Nq.js → vennDiagram-CIIHVFJN-C40vhXRq.js} +2 -2
  374. package/dist/domains/dashboard/web/assets/{wardleyDiagram-YWT4CUSO-Bex-_jWd.js → wardleyDiagram-YWT4CUSO-B1rm89JH.js} +2 -2
  375. package/dist/domains/dashboard/web/assets/{xychartDiagram-2RQKCTM6-CmxeVM2Z.js → xychartDiagram-2RQKCTM6-BlMr59qK.js} +2 -2
  376. package/dist/domains/dashboard/web/index.html +2 -2
  377. package/dist/domains/integrations/openspec.d.ts +1 -0
  378. package/dist/domains/integrations/openspec.d.ts.map +1 -1
  379. package/dist/domains/integrations/openspec.js +6 -0
  380. package/dist/domains/integrations/openspec.js.map +1 -1
  381. package/dist/domains/skill/platform-install.d.ts.map +1 -1
  382. package/dist/domains/skill/platform-install.js +4 -6
  383. package/dist/domains/skill/platform-install.js.map +1 -1
  384. package/dist/domains/skill/uninstall.d.ts +6 -2
  385. package/dist/domains/skill/uninstall.d.ts.map +1 -1
  386. package/dist/domains/skill/uninstall.js +128 -19
  387. package/dist/domains/skill/uninstall.js.map +1 -1
  388. package/dist/domains/workflow-contract/project-config.d.ts +1 -0
  389. package/dist/domains/workflow-contract/project-config.d.ts.map +1 -1
  390. package/dist/domains/workflow-contract/project-config.js +45 -1
  391. package/dist/domains/workflow-contract/project-config.js.map +1 -1
  392. package/dist/platform/install/detect.d.ts +1 -0
  393. package/dist/platform/install/detect.d.ts.map +1 -1
  394. package/dist/platform/install/detect.js +2 -0
  395. package/dist/platform/install/detect.js.map +1 -1
  396. package/dist/platform/process/hook-read-cache.d.ts +45 -0
  397. package/dist/platform/process/hook-read-cache.d.ts.map +1 -0
  398. package/dist/platform/process/hook-read-cache.js +102 -0
  399. package/dist/platform/process/hook-read-cache.js.map +1 -0
  400. package/dist/platform/version/version.d.ts.map +1 -1
  401. package/dist/platform/version/version.js +9 -2
  402. package/dist/platform/version/version.js.map +1 -1
  403. package/eval/local/tasks/comet-classic-layout-lifecycle/environment/current-comet-package.json +2 -0
  404. package/eval/local/tasks/comet-native-wave-f-dashboard-readonly/environment/current-comet-package.json +2 -0
  405. package/eval/local/tasks/comet-native-workflow/instruction.md +3 -3
  406. package/eval/local/tasks/comet-native-workflow/task.toml +4 -2
  407. package/eval/local/tasks/comet-native-workflow/validation/test_native_workflow.py +212 -75
  408. package/eval/local/tests/scaffold/test_native_wave_evaluations.py +114 -39
  409. package/eval/local/tests/scaffold/test_tasks.py +5 -1
  410. package/package.json +7 -3
  411. package/dist/domains/dashboard/web/assets/_commonjsHelpers-CqkleIqs.js +0 -1
  412. package/dist/domains/dashboard/web/assets/architectureDiagram-3BPJPVTR-R2JyCv0i.js +0 -36
  413. package/dist/domains/dashboard/web/assets/channel-XR_5gd6D.js +0 -1
  414. package/dist/domains/dashboard/web/assets/classDiagram-4FO5ZUOK-CG_TnucZ.js +0 -1
  415. package/dist/domains/dashboard/web/assets/classDiagram-v2-Q7XG4LA2-CG_TnucZ.js +0 -1
  416. package/dist/domains/dashboard/web/assets/cose-bilkent-S5V4N54A-DCPgAyMU.js +0 -1
  417. package/dist/domains/dashboard/web/assets/dagre-BM42HDAG-CLKQ6BQM.js +0 -4
  418. package/dist/domains/dashboard/web/assets/diagram-2AECGRRQ-DCup336F.js +0 -43
  419. package/dist/domains/dashboard/web/assets/diagram-5GNKFQAL-DgpDOFTE.js +0 -10
  420. package/dist/domains/dashboard/web/assets/diagram-LMA3HP47-DSECilBo.js +0 -24
  421. package/dist/domains/dashboard/web/assets/diagram-OG6HWLK6-3FuzANXW.js +0 -24
  422. package/dist/domains/dashboard/web/assets/ganttDiagram-6RSMTGT7-DcvbTHnu.js +0 -292
  423. package/dist/domains/dashboard/web/assets/gitGraphDiagram-PVQCEYII-CgCY3MJo.js +0 -106
  424. package/dist/domains/dashboard/web/assets/index-BR3wUr2k.css +0 -1
  425. package/dist/domains/dashboard/web/assets/index-CovQUq5W.js +0 -24
  426. package/dist/domains/dashboard/web/assets/infoDiagram-5YYISTIA-hzBGAEue.js +0 -2
  427. package/dist/domains/dashboard/web/assets/stateDiagram-AJRCARHV-yHkUByrT.js +0 -1
  428. package/dist/domains/dashboard/web/assets/stateDiagram-v2-BHNVJYJU-XHzDdqcm.js +0 -1
@@ -63,7 +63,7 @@ git rev-parse HEAD
63
63
 
64
64
  Write the plan to file, then return the file path.
65
65
 
66
- **Execute subagent**: Use the current platform's subagent dispatch mechanism to send the above task.
66
+ **Execute subagent**: Dispatch the above task to a subagent.
67
67
 
68
68
  After the subagent completes:
69
69
  - If a valid file path is returned and the file exists, record it as the plan
@@ -79,9 +79,9 @@ comet state set <name> plan docs/superpowers/plans/YYYY-MM-DD-feature.md
79
79
 
80
80
  No manual phase update needed — guard auto-transitions when exit conditions are met.
81
81
 
82
- Check current platform capabilities before presenting the joint decision: verify whether `using-git-worktrees` is available, whether a real background subagent/Task/multi-agent dispatcher exists, and whether the repository can safely create a branch. Show only isolation and execution options that are currently executable. If a field has only one valid value, explain why and apply it without manufacturing another pause.
82
+ When presenting the joint decision, provide every workspace-isolation and execution choice supported by this workflow. Do not preflight, infer, or filter whether another Skill, branch, worktree, subagent dispatch, or model selection can be used. After the user chooses, run the corresponding action; if it fails, stop and report the original error. If a field has only one workflow-valid value, explain why and apply it without manufacturing another pause.
83
83
 
84
- After recording the plan, provide exactly **one joint decision point** that collects whether to continue now, available workspace isolation, available execution method, TDD mode, and code review mode. The branch name must be confirmed in the same Step 2 joint decision when `branch` is selected. Do not ask continue/pause first and then create another configuration or naming blocker.
84
+ After recording the plan, provide exactly **one joint decision point** that collects whether to continue now, workspace isolation, execution method, TDD mode, and code review mode. The branch name must be confirmed in the same Step 2 joint decision when `branch` is selected. Do not ask continue/pause first and then create another configuration or naming blocker.
85
85
 
86
86
  | Option | Behavior | Description |
87
87
  |--------|----------|-------------|
@@ -141,7 +141,7 @@ The plan is on the current branch. These settings are all part of the single Ste
141
141
  - Task count ≤ 2 and no cross-module dependencies → Recommend B
142
142
  - From hotfix path → Recommend B
143
143
 
144
- These tables are part of the Step 2 joint decision and do not create another pause. First remove options that capability preflight found unavailable. When multiple valid options remain, do not choose `current`, `branch`, or `worktree`, execution method, TDD mode, or review mode from recommendations. Recommendations explain a preference; they never replace user confirmation.
144
+ These tables are part of the Step 2 joint decision and do not create another pause. Always show the isolation and execution options supported by this workflow; do not remove an option by predicting that an action will fail. When multiple valid options remain, do not choose `current`, `branch`, or `worktree`, execution method, TDD mode, or review mode from recommendations. Recommendations explain a preference; they never replace user confirmation.
145
145
 
146
146
  After user selection, update `isolation`, execution method, TDD mode, and code review mode fields:
147
147
 
@@ -150,8 +150,7 @@ comet state set <name> isolation <current|branch|worktree>
150
150
  ```
151
151
 
152
152
  - If the user chooses `executing-plans`: run `comet state set <name> subagent_dispatch null`, then run `comet state set <name> build_mode executing-plans`
153
- - If the user chooses `subagent-driven-development`: first confirm the current platform has real background subagent / Task / multi-agent dispatch capability; after confirming, run `comet state set <name> subagent_dispatch confirmed`, then run `comet state set <name> build_mode subagent-driven-development`
154
- - If real background dispatch capability cannot be confirmed, do not show or write `build_mode: subagent-driven-development`. If recovered state already records that mode but capability is unavailable, return to the same Step 2 joint decision with only executable modes; do not create a separate "switch to executing-plans" pause
153
+ - If the user chooses `subagent-driven-development`: run `comet state set <name> subagent_dispatch confirmed` to record the selected subagent execution, then run `comet state set <name> build_mode subagent-driven-development`
155
154
 
156
155
  **TDD Mode**:
157
156
 
@@ -174,7 +173,7 @@ Run `comet state set <name> review_mode <off|standard|thorough>`
174
173
 
175
174
  `isolation` is a script-enforced hard constraint. Full workflow init may temporarily leave it as `null`, but only before this step. If it remains `null`, both the `build → verify` guard and `comet state transition build-complete` will fail. Full workflow allows `current`, `branch`, or `worktree`, but `current` must be written only after the user explicitly selects it in Step 2; never make it a silent default.
176
175
 
177
- `subagent_dispatch` is a script-enforced hard constraint. `build_mode: subagent-driven-development` requires `subagent_dispatch: confirmed` before leaving the build phase, otherwise both `comet guard build --apply` and `comet state transition build-complete` will fail.
176
+ `subagent_dispatch` is a script-enforced hard constraint that records the user's selected subagent execution. `build_mode: subagent-driven-development` requires `subagent_dispatch: confirmed` before leaving the build phase, otherwise both `comet guard build --apply` and `comet state transition build-complete` will fail; it is not a capability check.
178
177
 
179
178
  `tdd_mode` is a script-enforced hard constraint. Full workflow must have `tdd_mode` selected as `tdd` or `direct` before leaving the build phase, otherwise both `comet guard build --apply` and `comet state transition build-complete` will fail.
180
179
 
@@ -206,7 +205,7 @@ Without `direct_override: true`, `build_mode=direct` in full workflow is blocked
206
205
 
207
206
  Immediately after Step 2 confirms the branch name, run `git checkout -b <branch-name>`, then run `comet state set <name> isolation branch` to write the new branch to `bound_branch`. Continue on the new branch.
208
207
 
209
- - **worktree**: Must use the Skill tool to load the Superpowers `using-git-worktrees` skill to create isolated workspace. Do not bypass this skill with plain shell commands or native tools; if the skill is unavailable, stop the process and prompt to install or enable Superpowers skills.
208
+ - **worktree**: **Immediately execute:** Use the Skill tool to load the Superpowers `using-git-worktrees` skill to create an isolated workspace. Do not bypass this skill with plain shell commands or native tools. If loading it fails because it is unavailable, stop and report that error.
210
209
 
211
210
  After creating isolation, confirm plan file is accessible (naturally accessible with branch method; for worktree method, confirm plan has been committed). If the plan file has not been committed under worktree mode, commit it first before creating the worktree:
212
211
 
@@ -225,9 +224,9 @@ Do not begin source writes until this binding succeeds.
225
224
 
226
225
  **Execute plan**: Must handle execution according to the actual runtime of `build_mode`.
227
226
 
228
- - `build_mode: executing-plans`: **Immediately execute:** Use the Skill tool to load the Superpowers `executing-plans` skill. Skipping this step is prohibited. If the skill is unavailable, stop the process and prompt to install or enable the corresponding skill; do not substitute with normal conversation. After the skill loads, ARGUMENTS must include the same Language constraint as Step 1: `Language: Use the configured Comet artifact language from comet state get <name> language`. Execute according to plan.
229
- - `build_mode: subagent-driven-development`: The main session only coordinates and must not write implementation code directly. **Immediately execute:** Use the Skill tool to load the Superpowers `subagent-driven-development` skill. After the skill loads, read `comet/reference/subagent-dispatch.md` for Comet-specific extensions (real background dispatch, task isolation, checkoff verification, TDD constraints, continuous execution, context recovery) and apply them alongside the skill's workflow. If they conflict, the more specific Comet extensions take precedence.
230
- - If the execution preflight finds that background dispatch capability has disappeared, do not execute directly in the main window and do not create a new second decision. Return to the same Step 2 joint decision with the unavailable mode removed. After the user selects main-window execution there, run `comet state set <name> build_mode executing-plans`, then continue through that branch.
227
+ - `build_mode: executing-plans`: **Immediately execute:** Use the Skill tool to load the Superpowers `executing-plans` skill. Skipping this step is prohibited. If loading fails, stop and report the error; do not substitute with normal conversation. After the skill loads, ARGUMENTS must include the same Language constraint as Step 1: `Language: Use the configured Comet artifact language from comet state get <name> language`. Execute according to plan.
228
+ - `build_mode: subagent-driven-development`: The main session only coordinates and must not write implementation code directly. **Immediately execute:** Use the Skill tool to load the Superpowers `subagent-driven-development` skill. After the skill loads, read `comet/reference/subagent-dispatch.md` for Comet-specific extensions (subagent dispatch, task isolation, checkoff verification, TDD constraints, continuous execution, context recovery) and apply them alongside the skill's workflow. If they conflict, the more specific Comet extensions take precedence.
229
+ - If subagent dispatch fails, follow `comet/reference/subagent-dispatch.md` to record the current task as `BLOCKED` with the failure reason; the main session must not take over implementation.
231
230
 
232
231
  **TDD Mode Execution Constraints**:
233
232
 
@@ -247,7 +246,7 @@ Under `executing-plans`, the main session executes tasks directly (no isolated i
247
246
 
248
247
  Requirements (apply to `standard` and `thorough`):
249
248
  - the `requesting-code-review` skill must be loaded before `comet guard <change-name> build --apply`
250
- - if `requesting-code-review` is unavailable under `standard` or `thorough`, stop and ask the user to install/enable it and retry, or explicitly switch to `review_mode: off` with a recorded reason; never skip the gate or continue guard before that explicit switch
249
+ - if loading `requesting-code-review` fails under `standard` or `thorough`, stop and ask the user to resolve the error and retry, or explicitly switch to `review_mode: off` with a recorded reason; never skip the gate or continue guard before that explicit switch
251
250
  - CRITICAL review findings (security vulnerabilities, data loss risk, build/test failures) must be fixed first and must not be carried into verify
252
251
  - if non-CRITICAL review findings are accepted, record the acceptance reason and impact scope in tasks.md, the commit body, a verification report draft, or another durable artifact
253
252
 
@@ -264,8 +263,8 @@ When the initial spec is found incomplete during implementation, handle by scale
264
263
  | Scale | Trigger Conditions | Approach |
265
264
  |------|-------------------|----------|
266
265
  | Small | Missing acceptance scenarios, edge cases | Directly edit delta spec + design.md, append tasks.md tasks |
267
- | Medium | Interface changes, new components, data flow changes | **Must use the current platform's available user input/confirmation mechanism to pause and wait for the user to explicitly confirm**, then must use Skill tool to load the Superpowers `brainstorming` skill to update Design Doc + delta spec |
268
- | Large | Brand-new capability requirements | **Must use the current platform's available user input/confirmation mechanism to pause and wait for the user to explicitly confirm the split**; after user confirms, create independent change through `/comet-open` |
266
+ | Medium | Interface changes, new components, data flow changes | **Pause, present the choice, and wait for the user to explicitly confirm**, then must use Skill tool to load the Superpowers `brainstorming` skill to update Design Doc + delta spec |
267
+ | Large | Brand-new capability requirements | **Pause, present the split choice, and wait for the user to explicitly confirm**; after user confirms, create independent change through `/comet-open` |
269
268
 
270
269
  **50% Threshold Determination**: Using initial task count in tasks.md as baseline, if new tasks exceed half of that total, it's considered outside original plan scope, **must follow the `comet/reference/decision-point.md` protocol to pause and wait for the user to decide whether to split into a new change**.
271
270
 
@@ -30,10 +30,10 @@ Use the configured Comet artifact language as the output language for every Open
30
30
 
31
31
  **Step 0: Active Change Discovery and Intent Resolution**
32
32
 
33
- 1. First load script locations through `comet/reference/scripts.md` and ensure `$COMET_INTENT` is available.
33
+ 1. First follow `comet/reference/scripts.md` and run the public `comet` CLI command directly.
34
34
  2. Run `comet classic openspec -- list --json` to collect active changes.
35
35
  3. Fill a `CometIntentFrame` from the user request, active change list, and necessary repository state.
36
- 4. Prefer `node "$COMET_INTENT" route --stdin` to pass the frame JSON and get the runtime-normalized route. `CometIntentFrame + runtime scorer` is the source of truth; this prose is only for intent recognition slot extraction.
36
+ 4. Prefer `comet classic intent route --stdin` to pass the frame JSON and get the runtime-normalized route. `CometIntentFrame + runtime scorer` is the source of truth; this prose is only for intent recognition slot extraction.
37
37
  5. Handle the runtime route:
38
38
  - `hotfix` → invoke `/comet-hotfix`
39
39
  - `tweak` → invoke `/comet-tweak`
@@ -55,7 +55,7 @@ When multiple active changes exist and the user has not selected one, do not bin
55
55
  When the user did not explicitly invoke `/comet-classic`, but this repository may already have an active Comet change, run the read-only probe before starting work that may need code changes or investigation:
56
56
 
57
57
  ```bash
58
- node "$COMET_RESUME_PROBE" probe --stdin
58
+ comet resume-probe . --stdin --json
59
59
  ```
60
60
 
61
61
  The probe only reads repository state. Follow the returned action:
@@ -184,7 +184,7 @@ A single `/comet-classic` invocation starts from the detected phase and advances
184
184
 
185
185
  Flow chain: open → design → build → verify → archive
186
186
 
187
- **Continuous execution requirement**: starting from the detected phase, the agent automatically continues through all later phases. But **auto-advancing only applies at transition points without user decisions**. When encountering user decision points, **must use the current platform's available user input/confirmation mechanism to pause and wait for the user's explicit response**. Must not use recommendation rules, defaults, or historical preferences to substitute for user confirmation, and must not just output a text prompt and then continue executing.
187
+ **Continuous execution requirement**: starting from the detected phase, the agent automatically continues through all later phases. But **auto-advancing only applies at transition points without user decisions**. When encountering user decision points, pause, present clear options, and wait for the user's explicit response. Must not use recommendation rules, defaults, or historical preferences to substitute for user confirmation, and must not just output a text prompt and then continue executing.
188
188
 
189
189
  **Distinguish phase advancement vs automatic handoff**: each sub-skill runs phase guard `--apply` before exit to advance the `.comet.yaml` `phase` field. This step **always happens** and is not controlled by `auto_transition`. After that, the sub-skill runs `comet state next <name>` to resolve the next action: when `auto_transition` is not `false`, output is `NEXT: auto` (auto-invoke next skill); when `auto_transition` is `false`, output is `NEXT: manual` (do not invoke next skill; return control with `HINT`). `NEXT: manual` is not a user decision point and must not ask whether to continue. Therefore `auto_transition` **only controls next skill invocation, not phase advancement**. Regardless of `auto_transition`, genuine user decision points below remain blocking.
190
190
 
@@ -194,7 +194,7 @@ Nodes requiring user participation (pause only at these nodes):
194
194
  1. Workflow target selection: multiple active changes, continue an existing change versus create a new one, or choose which completed batch item starts first
195
195
  2. Open-phase final proposal/design/tasks review, including the change name and scope; clear requests have no pre-artifact summary/name confirmation
196
196
  3. Confirm the design approach during brainstorming
197
- 4. One joint build decision: plan-ready pause or all available workflow settings (workspace isolation + execution method + TDD mode + code review mode, plus branch name when branch is selected)
197
+ 4. One joint build decision: plan-ready pause or all workflow settings (workspace isolation + execution method + TDD mode + code review mode, plus branch name when branch is selected)
198
198
  5. Verify-phase acceptance of WARNING/SUGGESTION deviations, Spec drift handling, or continue/stop after the 4th failure; the first 3 clearly repairable failures close automatically
199
199
  6. Archive phase final confirmation before running the archive script
200
200
  7. Choose finishing-branch handling after exact archive changes are committed
@@ -202,13 +202,13 @@ Nodes requiring user participation (pause only at these nodes):
202
202
  9. Build phase scope expansion requiring redesign or new change split
203
203
  10. Open phase large PRD split confirmation
204
204
 
205
- Agents should not skip these decision points; other unambiguous phase transitions must proceed automatically, must not exit midway. At decision points, **must not skip user confirmation or choose automatically — must explicitly obtain the user's choice through the current platform's available user input/confirmation mechanism before continuing**.
205
+ Agents should not skip these decision points; other unambiguous phase transitions must proceed automatically, must not exit midway. At decision points, **must not skip user confirmation or choose automatically — ask clear options and wait for the user's explicit choice before continuing**.
206
206
 
207
207
  **Red Flags** — when these thoughts appear, STOP and check:
208
208
 
209
209
  | Agent Thought | Actual Risk |
210
210
  |--------------|-------------|
211
- | "The user would probably agree with this approach" | Cannot decide for the user — use the current platform's user input/confirmation mechanism |
211
+ | "The user would probably agree with this approach" | Cannot decide for the user — present the choice and wait for the reply |
212
212
  | "This is a small change, confirmation isn't needed" | Decision points have no size exception — blocking points must wait |
213
213
  | "The user chose A last time, so A again" | Historical preference cannot substitute for current confirmation |
214
214
  | "I explained the plan and the user didn't object" | No objection ≠ consent — must use tool to get explicit choice |
@@ -283,9 +283,9 @@ See `comet/reference/decision-point.md` for the complete user decision point pro
283
283
 
284
284
  See `comet/reference/debug-gate.md` for the complete debug gate protocol.
285
285
 
286
- ### Script Location
286
+ ### Public CLI
287
287
 
288
- Use the stable `comet` CLI for workflow state, guards, handoff, and archive. Locate internal launchers through `comet/reference/scripts.md` only for intent/resume probes that do not yet have a public subcommand. Key entry points:
288
+ Follow `comet/reference/scripts.md` once per session and use only the public `comet` CLI. Do not search for or invoke internal bundles. Key entry points:
289
289
 
290
290
  ```bash
291
291
  comet guard <change-name> <phase> --apply # phase guard + state update
@@ -148,7 +148,7 @@ Only after the user explicitly confirms, proceed to Step 2. If the user requests
148
148
 
149
149
  After the user confirms the design proposal, before creating the Design Doc, create or update the incrementally maintained checkpoint file and finalize it as the confirmed design summary:
150
150
 
151
- Use the current platform's file API to ensure `<classic-change-dir>/.comet/handoff/` exists; do not rely on a POSIX-only directory command.
151
+ Use the file tool to ensure `<classic-change-dir>/.comet/handoff/` exists; do not rely on a POSIX-only directory command.
152
152
 
153
153
  `<classic-change-dir>/.comet/handoff/brainstorm-summary.md` structure:
154
154
 
@@ -224,9 +224,9 @@ If there are no delta spec changes, skip the handoff regeneration step. The stat
224
224
 
225
225
  Consider active compaction only **after the Design Doc and state evidence are persisted** and before Build. First confirm `design_doc`, the latest handoff, `handoff_hash`, and the design guard are durable so recovery never depends on an unwritten design judgment.
226
226
 
227
- - If the host exposes a programmatically callable native compaction mechanism and the context window is under pressure, invoke it once and include the change, next step, Design Doc, and handoff files in the resume prompt
228
- - If only the user can trigger compaction, give one non-blocking suggestion and continue; it **must not block when programmatic compaction is unavailable** and must not create another confirmation point
229
- - Never fake host compaction with a shell command or an agent summary
227
+ - When a programmatically callable compaction mechanism is present and the context window is under pressure, invoke it once and include the change, next step, Design Doc, and handoff files in the resume prompt
228
+ - If compaction requires user action, give one non-blocking suggestion and continue; it **must not block** and must not create another confirmation point
229
+ - Never fake compaction with a shell command or an agent summary
230
230
 
231
231
  ## Exit Conditions
232
232
 
@@ -26,7 +26,7 @@ Streamlined OpenSpec artifacts must use the configured Comet artifact language.
26
26
 
27
27
  Execution chain: open → build → root cause check → verify → archive. Hotfix provides default decisions for each phase: streamlined open, direct build, root cause confirmation, scale-based verification, and final archive confirmation after verification passes.
28
28
 
29
- Before starting, locate Comet scripts via `comet/reference/scripts.md`. When resuming from any entry point, first use `comet/reference/context-recovery.md` to confirm phase/workflow.
29
+ Before starting, use `comet/reference/scripts.md` to run the public Comet CLI command. When resuming from any entry point, first use `comet/reference/context-recovery.md` to check phase/workflow.
30
30
 
31
31
  When resuming an existing hotfix change, the first state operation must be `comet state select <change-name>`. For a new change, run the command immediately after `.comet.yaml` initialization and before source writes.
32
32
 
@@ -161,7 +161,7 @@ Exception: when `.comet.yaml` has `auto_transition: false`, end the current invo
161
161
 
162
162
  The following genuine user decisions still pause:
163
163
 
164
- 1. Encountering an upgrade-assessment signal (see "Upgrade Assessment" section). **Must use the current platform's available user input/confirmation mechanism to pause and wait for the user to explicitly choose**: continue the hotfix flow, or upgrade to the full `/comet-classic` workflow
164
+ 1. Encountering an upgrade-assessment signal (see "Upgrade Assessment" section). **Pause, present the choices, and wait for the user to explicitly choose**: continue the hotfix flow, or upgrade to the full `/comet-classic` workflow
165
165
  2. Verify-phase acceptance of WARNING/SUGGESTION deviations, Spec drift handling, or strategy after the automatic repair limit; the first 3 clearly repairable failures close automatically
166
166
  3. Final archive confirmation and the branch-handling decision after the archive commit
167
167
 
@@ -19,10 +19,25 @@ Config, selection, change state, and formal artifacts on disk take precedence ov
19
19
 
20
20
  The Native main workflow does not depend on any external Skill.
21
21
 
22
+ ## CLI bootstrap
23
+
24
+ The Native Skill uses only the public `comet native <cmd>` CLI on PATH. Packaged command bundles are internal installation and Runtime assets; the Skill does not search for or invoke them directly. If a command returns `command not found`, `executable not found`, or `ENOENT`, stop and explain that the Comet CLI installation is incomplete. Do not search for Skill files, enumerate platform directories, or invoke an internal bundle directly.
25
+
26
+ Common commands:
27
+
28
+ ```bash
29
+ comet native status [--json]
30
+ comet native show <change-name>
31
+ comet native select <change-name>
32
+ comet native new <change-name> [--language en|zh-CN]
33
+ comet native next <change-name> --summary <text> [--confirmed]
34
+ comet native archive <change-name> --dry-run
35
+ ```
36
+
22
37
  ## Start or resume
23
38
 
24
39
  1. Run `comet native status` to identify the current change and phase.
25
- 2. Run `comet native show <change-name>` for the target. In Verify, Archive, or Build after a failure, also run `status <change-name> --details`.
40
+ 2. Run `comet native show <change-name>` for the target. In Verify, Archive, or Build after a failure, also run the status command with `--details`.
26
41
  3. When more acceptance items are needed, follow `acceptancePage.nextCursor`. If findings are truncated, handle the returned findings and then read details again.
27
42
  4. After confirming the target, run `comet native select <change-name>`.
28
43
 
@@ -79,7 +94,7 @@ If no code changed or the Runtime cannot prove complete scope, read the command
79
94
 
80
95
  After entering Build, converge through this loop:
81
96
 
82
- 1. Run `status <change-name> --details` and read the currently required acceptance pages. After a Verify failure, prioritize failed or missing acceptance items and failed checks.
97
+ 1. Run `comet native status <change-name> --details` and read the currently required acceptance pages. After a Verify failure, prioritize failed or missing acceptance items and failed checks.
83
98
  2. Complete one related batch of real repairs. You may write a checkpoint before interruption, but a checkpoint is not completion evidence.
84
99
  3. When a candidate implementation exists, reread the brief, complete specifications, and every acceptance item, then perform one complete review.
85
100
  4. Run real validation and submit the Verify result.
@@ -120,6 +120,18 @@ comet native receipt manual <change-name> \
120
120
 
121
121
  Create receipts only for commands or manual observations that actually occurred. Failed, skipped, blocked, or timed-out results cannot support pass.
122
122
 
123
+ Refresh stale receipts in bulk:
124
+
125
+ ```text
126
+ comet native receipt refresh <change-name> [--apply]
127
+ ```
128
+
129
+ A receipt is bound to the revision, contract, scope, snapshot, and artifacts in effect when it was issued. Any state write (checkpoint, spec refresh, phase advance) bumps the revision, which invalidates receipts issued before that bump. `next --result` then fails with `verification-receipt-binding-mismatch`, listing each stale receipt and the diverging field.
130
+
131
+ Without `--apply` (default) it is a preview: it reports which manual receipts are stale, which automated receipts must be re-run, and which required-check receipts must be regenerated via `comet native check`, without touching any file.
132
+
133
+ With `--apply`: it re-issues only stale manual receipts whose binding mismatch is limited to `sourceRevision`, and writes the canonical evidence block back into the `# Acceptance evidence` section of verification.md. Contract, scope, snapshot, or artifact mismatches remain manual verification blockers. Automated receipts are never silently re-issued (they attest to a real command execution); refresh only reports the commands you must re-run via `receipt automated`.
134
+
123
135
  ## Phase progression
124
136
 
125
137
  ```text
@@ -39,6 +39,8 @@ The only safe options are:
39
39
 
40
40
  Changes to the brief, specifications, implementation, report, or receipts may stale the old scope or Verify pass. Follow the continuation back to Build, reconfirm changed user-visible behavior, generate a new scope, and verify again. Do not reuse an old pass or preflight.
41
41
 
42
+ Receipts are bound to revision: every state write (checkpoint, spec refresh, phase advance) bumps the revision, which invalidates receipts issued before that bump. When `next --result` reports `verification-receipt-binding-mismatch`, the finding lists each stale receipt and the diverging field (e.g. `sourceRevision: expected 6, got 5`) and gives the recovery command. Only a source-revision-only mismatch on manual evidence can be refreshed without returning to Verify; run `comet native receipt refresh <change> --apply` to re-issue it at the current revision and rewrite verification.md. Contract, scope, snapshot, or artifact mismatches require fresh verification. Automated receipts must be re-executed with `receipt automated` and are never silently re-issued.
43
+
42
44
  ## Verify fail and repair stop
43
45
 
44
46
  After Verify fail returns to Build: