kiokuko-dsh 0.2.39 → 0.2.41

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 (540) hide show
  1. package/PERMISSIONS.md +2 -2
  2. package/README.ja.md +17 -5
  3. package/README.ko.md +17 -5
  4. package/README.md +17 -5
  5. package/README.zh-CN.md +17 -5
  6. package/dist/akinator/skill-discovery-attempt.d.ts +3 -1
  7. package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -1
  8. package/dist/akinator/skill-discovery-attempt.js +12 -11
  9. package/dist/akinator/skill-discovery-attempt.js.map +1 -1
  10. package/dist/client.cjs +7 -10
  11. package/dist/client.d.ts.map +1 -1
  12. package/dist/context/continuity-view.d.ts +0 -11
  13. package/dist/context/continuity-view.d.ts.map +1 -1
  14. package/dist/context/continuity-view.js +5 -9
  15. package/dist/context/continuity-view.js.map +1 -1
  16. package/dist/deep-thinker/controller.d.ts +4 -1
  17. package/dist/deep-thinker/controller.d.ts.map +1 -1
  18. package/dist/deep-thinker/controller.js +10 -0
  19. package/dist/deep-thinker/controller.js.map +1 -1
  20. package/dist/deep-thinker/core/contracts.d.ts +11 -11
  21. package/dist/deep-thinker/memory-finalizer.d.ts +1 -1
  22. package/dist/deep-thinker/native-executor.d.ts +1 -1
  23. package/dist/deep-thinker/native-executor.d.ts.map +1 -1
  24. package/dist/deep-thinker/prompts.js +1 -1
  25. package/dist/deep-thinker/prompts.js.map +1 -1
  26. package/dist/deep-thinker/quality-prompts.js +1 -1
  27. package/dist/deep-thinker/quality-prompts.js.map +1 -1
  28. package/dist/deep-thinker/report.d.ts +1 -1
  29. package/dist/deep-thinker/store.d.ts +1 -1
  30. package/dist/dsh/agenticreplay-hooks.d.ts.map +1 -1
  31. package/dist/dsh/agenticreplay-hooks.js +13 -0
  32. package/dist/dsh/agenticreplay-hooks.js.map +1 -1
  33. package/dist/dsh/agenticreplay-recorder.d.ts +5 -0
  34. package/dist/dsh/agenticreplay-recorder.d.ts.map +1 -1
  35. package/dist/dsh/agenticreplay-recorder.js +19 -0
  36. package/dist/dsh/agenticreplay-recorder.js.map +1 -1
  37. package/dist/dsh/coding-workflow/contracts.d.ts +2 -5
  38. package/dist/dsh/coding-workflow/contracts.d.ts.map +1 -1
  39. package/dist/dsh/coding-workflow/contracts.js +1 -1
  40. package/dist/dsh/coding-workflow/contracts.js.map +1 -1
  41. package/dist/dsh/coding-workflow/host.d.ts.map +1 -1
  42. package/dist/dsh/coding-workflow/host.js +1 -4
  43. package/dist/dsh/coding-workflow/host.js.map +1 -1
  44. package/dist/dsh/coding-workflow/intent.d.ts.map +1 -1
  45. package/dist/dsh/coding-workflow/intent.js +0 -6
  46. package/dist/dsh/coding-workflow/intent.js.map +1 -1
  47. package/dist/dsh/coding-workflow/service.d.ts +4 -8
  48. package/dist/dsh/coding-workflow/service.d.ts.map +1 -1
  49. package/dist/dsh/coding-workflow/service.js +5 -57
  50. package/dist/dsh/coding-workflow/service.js.map +1 -1
  51. package/dist/dsh/completion-report.d.ts +0 -31
  52. package/dist/dsh/completion-report.d.ts.map +1 -1
  53. package/dist/dsh/completion-report.js +16 -94
  54. package/dist/dsh/completion-report.js.map +1 -1
  55. package/dist/dsh/composition.d.ts +1 -3
  56. package/dist/dsh/composition.d.ts.map +1 -1
  57. package/dist/dsh/composition.js +13 -34
  58. package/dist/dsh/composition.js.map +1 -1
  59. package/dist/dsh/config.d.ts +1 -22
  60. package/dist/dsh/config.d.ts.map +1 -1
  61. package/dist/dsh/config.js +0 -8
  62. package/dist/dsh/config.js.map +1 -1
  63. package/dist/dsh/context-injection.d.ts +1 -11
  64. package/dist/dsh/context-injection.d.ts.map +1 -1
  65. package/dist/dsh/context-injection.js +3 -24
  66. package/dist/dsh/context-injection.js.map +1 -1
  67. package/dist/dsh/continuity-adapter.d.ts +0 -5
  68. package/dist/dsh/continuity-adapter.d.ts.map +1 -1
  69. package/dist/dsh/continuity-adapter.js +1 -39
  70. package/dist/dsh/continuity-adapter.js.map +1 -1
  71. package/dist/dsh/decisions/contracts.d.ts +0 -1
  72. package/dist/dsh/decisions/contracts.d.ts.map +1 -1
  73. package/dist/dsh/decisions/contracts.js +1 -1
  74. package/dist/dsh/decisions/contracts.js.map +1 -1
  75. package/dist/dsh/decisions/diagnostics.d.ts +8 -11
  76. package/dist/dsh/decisions/diagnostics.d.ts.map +1 -1
  77. package/dist/dsh/decisions/diagnostics.js +1 -9
  78. package/dist/dsh/decisions/diagnostics.js.map +1 -1
  79. package/dist/dsh/decisions/intent-assessment.d.ts +2 -5
  80. package/dist/dsh/decisions/intent-assessment.d.ts.map +1 -1
  81. package/dist/dsh/decisions/intent-assessment.js +17 -9
  82. package/dist/dsh/decisions/intent-assessment.js.map +1 -1
  83. package/dist/dsh/efficiency.d.ts +0 -3
  84. package/dist/dsh/efficiency.d.ts.map +1 -1
  85. package/dist/dsh/efficiency.js +1 -9
  86. package/dist/dsh/efficiency.js.map +1 -1
  87. package/dist/dsh/execution-selection.d.ts +6 -7
  88. package/dist/dsh/execution-selection.d.ts.map +1 -1
  89. package/dist/dsh/execution-selection.js +10 -15
  90. package/dist/dsh/execution-selection.js.map +1 -1
  91. package/dist/dsh/execution-support.d.ts +0 -4
  92. package/dist/dsh/execution-support.d.ts.map +1 -1
  93. package/dist/dsh/execution-support.js +3 -15
  94. package/dist/dsh/execution-support.js.map +1 -1
  95. package/dist/dsh/harness/factory.d.ts +109 -0
  96. package/dist/dsh/harness/factory.d.ts.map +1 -0
  97. package/dist/dsh/harness/factory.js +566 -0
  98. package/dist/dsh/harness/factory.js.map +1 -0
  99. package/dist/dsh/harness/inbox.d.ts +22 -0
  100. package/dist/dsh/harness/inbox.d.ts.map +1 -0
  101. package/dist/dsh/harness/inbox.js +61 -0
  102. package/dist/dsh/harness/inbox.js.map +1 -0
  103. package/dist/dsh/harness/index.d.ts +19 -0
  104. package/dist/dsh/harness/index.d.ts.map +1 -0
  105. package/dist/dsh/harness/index.js +26 -0
  106. package/dist/dsh/harness/index.js.map +1 -0
  107. package/dist/dsh/harness/lifecycle.d.ts +26 -0
  108. package/dist/dsh/harness/lifecycle.d.ts.map +1 -0
  109. package/dist/dsh/harness/lifecycle.js +21 -0
  110. package/dist/dsh/harness/lifecycle.js.map +1 -0
  111. package/dist/dsh/harness/projections.d.ts +16 -0
  112. package/dist/dsh/harness/projections.d.ts.map +1 -0
  113. package/dist/dsh/harness/projections.js +34 -0
  114. package/dist/dsh/harness/projections.js.map +1 -0
  115. package/dist/dsh/head-worker-configuration.d.ts +1 -2
  116. package/dist/dsh/head-worker-configuration.d.ts.map +1 -1
  117. package/dist/dsh/head-worker-configuration.js +0 -5
  118. package/dist/dsh/head-worker-configuration.js.map +1 -1
  119. package/dist/dsh/host-adapter/admission.d.ts +1 -8
  120. package/dist/dsh/host-adapter/admission.d.ts.map +1 -1
  121. package/dist/dsh/host-adapter/admission.js +51 -260
  122. package/dist/dsh/host-adapter/admission.js.map +1 -1
  123. package/dist/dsh/host-adapter/boundaries.d.ts +1 -28
  124. package/dist/dsh/host-adapter/boundaries.d.ts.map +1 -1
  125. package/dist/dsh/host-adapter/boundaries.js +27 -328
  126. package/dist/dsh/host-adapter/boundaries.js.map +1 -1
  127. package/dist/dsh/host-adapter/context.d.ts +1 -7
  128. package/dist/dsh/host-adapter/context.d.ts.map +1 -1
  129. package/dist/dsh/host-adapter/context.js +5 -28
  130. package/dist/dsh/host-adapter/context.js.map +1 -1
  131. package/dist/dsh/host-adapter/efficiency-host.d.ts +0 -2
  132. package/dist/dsh/host-adapter/efficiency-host.d.ts.map +1 -1
  133. package/dist/dsh/host-adapter/efficiency-host.js +2 -2
  134. package/dist/dsh/host-adapter/efficiency-host.js.map +1 -1
  135. package/dist/dsh/host-adapter/lifecycle.d.ts +0 -7
  136. package/dist/dsh/host-adapter/lifecycle.d.ts.map +1 -1
  137. package/dist/dsh/host-adapter/lifecycle.js +58 -71
  138. package/dist/dsh/host-adapter/lifecycle.js.map +1 -1
  139. package/dist/dsh/host-adapter/memory-application-host.d.ts +0 -2
  140. package/dist/dsh/host-adapter/memory-application-host.d.ts.map +1 -1
  141. package/dist/dsh/host-adapter/memory-application-host.js +2 -2
  142. package/dist/dsh/host-adapter/memory-application-host.js.map +1 -1
  143. package/dist/dsh/host-adapter/routing.d.ts +1 -5
  144. package/dist/dsh/host-adapter/routing.d.ts.map +1 -1
  145. package/dist/dsh/host-adapter/routing.js +21 -73
  146. package/dist/dsh/host-adapter/routing.js.map +1 -1
  147. package/dist/dsh/host-adapter/session-observation.d.ts +1 -8
  148. package/dist/dsh/host-adapter/session-observation.d.ts.map +1 -1
  149. package/dist/dsh/host-adapter/session-observation.js +2 -55
  150. package/dist/dsh/host-adapter/session-observation.js.map +1 -1
  151. package/dist/dsh/host-adapter/tool-host.d.ts +3 -41
  152. package/dist/dsh/host-adapter/tool-host.d.ts.map +1 -1
  153. package/dist/dsh/host-adapter/tool-host.js +14 -243
  154. package/dist/dsh/host-adapter/tool-host.js.map +1 -1
  155. package/dist/dsh/host-adapter/turn-state.d.ts +0 -4
  156. package/dist/dsh/host-adapter/turn-state.d.ts.map +1 -1
  157. package/dist/dsh/host-adapter/turn-state.js +16 -93
  158. package/dist/dsh/host-adapter/turn-state.js.map +1 -1
  159. package/dist/dsh/host-adapter.d.ts +0 -11
  160. package/dist/dsh/host-adapter.d.ts.map +1 -1
  161. package/dist/dsh/host-adapter.js +17 -179
  162. package/dist/dsh/host-adapter.js.map +1 -1
  163. package/dist/dsh/index.d.ts +3 -16
  164. package/dist/dsh/index.d.ts.map +1 -1
  165. package/dist/dsh/index.js +0 -6
  166. package/dist/dsh/index.js.map +1 -1
  167. package/dist/dsh/lifecycle-memory.d.ts +3 -0
  168. package/dist/dsh/lifecycle-memory.d.ts.map +1 -1
  169. package/dist/dsh/lifecycle-memory.js +67 -45
  170. package/dist/dsh/lifecycle-memory.js.map +1 -1
  171. package/dist/dsh/lisp/candidate.d.ts +2 -2
  172. package/dist/dsh/lisp/code-intelligence-contracts.d.ts +1 -1
  173. package/dist/dsh/lisp/compiled-cache.d.ts.map +1 -1
  174. package/dist/dsh/lisp/compiled-cache.js +27 -6
  175. package/dist/dsh/lisp/compiled-cache.js.map +1 -1
  176. package/dist/dsh/lisp/host-tool-dispatch.d.ts.map +1 -1
  177. package/dist/dsh/lisp/host-tool-dispatch.js +14 -5
  178. package/dist/dsh/lisp/host-tool-dispatch.js.map +1 -1
  179. package/dist/dsh/lisp/manager.d.ts +7 -4
  180. package/dist/dsh/lisp/manager.d.ts.map +1 -1
  181. package/dist/dsh/lisp/manager.js +132 -103
  182. package/dist/dsh/lisp/manager.js.map +1 -1
  183. package/dist/dsh/lisp/sandbox.d.ts.map +1 -1
  184. package/dist/dsh/lisp/sandbox.js +1 -5
  185. package/dist/dsh/lisp/sandbox.js.map +1 -1
  186. package/dist/dsh/lisp/supervision.d.ts +33 -0
  187. package/dist/dsh/lisp/supervision.d.ts.map +1 -0
  188. package/dist/dsh/lisp/supervision.js +89 -0
  189. package/dist/dsh/lisp/supervision.js.map +1 -0
  190. package/dist/dsh/lisp/surface.d.ts +2 -2
  191. package/dist/dsh/lisp/surface.d.ts.map +1 -1
  192. package/dist/dsh/lisp/surface.js +105 -11
  193. package/dist/dsh/lisp/surface.js.map +1 -1
  194. package/dist/dsh/lisp/worker.d.ts +2 -1
  195. package/dist/dsh/lisp/worker.d.ts.map +1 -1
  196. package/dist/dsh/lisp/worker.js +7 -1
  197. package/dist/dsh/lisp/worker.js.map +1 -1
  198. package/dist/dsh/loop-guard.d.ts +0 -8
  199. package/dist/dsh/loop-guard.d.ts.map +1 -1
  200. package/dist/dsh/loop-guard.js +0 -51
  201. package/dist/dsh/loop-guard.js.map +1 -1
  202. package/dist/dsh/memory-application.d.ts.map +1 -1
  203. package/dist/dsh/memory-application.js +0 -6
  204. package/dist/dsh/memory-application.js.map +1 -1
  205. package/dist/dsh/message-sources.d.ts +2 -12
  206. package/dist/dsh/message-sources.d.ts.map +1 -1
  207. package/dist/dsh/message-sources.js +20 -39
  208. package/dist/dsh/message-sources.js.map +1 -1
  209. package/dist/dsh/model-configuration.d.ts +6 -24
  210. package/dist/dsh/model-configuration.d.ts.map +1 -1
  211. package/dist/dsh/model-configuration.js +1 -78
  212. package/dist/dsh/model-configuration.js.map +1 -1
  213. package/dist/dsh/model-routing.d.ts +1 -3
  214. package/dist/dsh/model-routing.d.ts.map +1 -1
  215. package/dist/dsh/model-routing.js +0 -11
  216. package/dist/dsh/model-routing.js.map +1 -1
  217. package/dist/dsh/model-selection-ui.d.ts +1 -2
  218. package/dist/dsh/model-selection-ui.d.ts.map +1 -1
  219. package/dist/dsh/model-selection-ui.js +48 -309
  220. package/dist/dsh/model-selection-ui.js.map +1 -1
  221. package/dist/dsh/models/contracts.d.ts +2 -2
  222. package/dist/dsh/models/service.d.ts +1 -1
  223. package/dist/dsh/modules/legacy-bindings.d.ts +3 -1
  224. package/dist/dsh/modules/legacy-bindings.d.ts.map +1 -1
  225. package/dist/dsh/modules/legacy-bindings.js +5 -5
  226. package/dist/dsh/modules/legacy-bindings.js.map +1 -1
  227. package/dist/dsh/modules/lisp.js +1 -1
  228. package/dist/dsh/modules/lisp.js.map +1 -1
  229. package/dist/dsh/native-execution-ownership.d.ts.map +1 -1
  230. package/dist/dsh/native-execution-ownership.js +0 -2
  231. package/dist/dsh/native-execution-ownership.js.map +1 -1
  232. package/dist/dsh/native-worker-routing.d.ts.map +1 -1
  233. package/dist/dsh/native-worker-routing.js +7 -2
  234. package/dist/dsh/native-worker-routing.js.map +1 -1
  235. package/dist/dsh/on-demand-intake.d.ts.map +1 -1
  236. package/dist/dsh/on-demand-intake.js +17 -8
  237. package/dist/dsh/on-demand-intake.js.map +1 -1
  238. package/dist/dsh/orchestration/execution-owner.d.ts +3 -1
  239. package/dist/dsh/orchestration/execution-owner.d.ts.map +1 -1
  240. package/dist/dsh/orchestration/execution-owner.js.map +1 -1
  241. package/dist/dsh/owned-execution.js +1 -1
  242. package/dist/dsh/owned-execution.js.map +1 -1
  243. package/dist/dsh/replay-memory-extract.d.ts.map +1 -1
  244. package/dist/dsh/replay-memory-extract.js +15 -1
  245. package/dist/dsh/replay-memory-extract.js.map +1 -1
  246. package/dist/dsh/repository-learning.d.ts.map +1 -1
  247. package/dist/dsh/repository-learning.js +3 -0
  248. package/dist/dsh/repository-learning.js.map +1 -1
  249. package/dist/dsh/runtime.d.ts +10 -2
  250. package/dist/dsh/runtime.d.ts.map +1 -1
  251. package/dist/dsh/runtime.js +22 -43
  252. package/dist/dsh/runtime.js.map +1 -1
  253. package/dist/dsh/semantic-compaction/policy.js +1 -1
  254. package/dist/dsh/semantic-compaction/policy.js.map +1 -1
  255. package/dist/dsh/session-bridge.d.ts +1 -1
  256. package/dist/dsh/session-bridge.d.ts.map +1 -1
  257. package/dist/dsh/session-bridge.js +1 -1
  258. package/dist/dsh/session-bridge.js.map +1 -1
  259. package/dist/dsh/session-memory-finalizer.js +1 -1
  260. package/dist/dsh/session-memory-finalizer.js.map +1 -1
  261. package/dist/dsh/session-review-context.d.ts.map +1 -1
  262. package/dist/dsh/session-review-context.js +3 -16
  263. package/dist/dsh/session-review-context.js.map +1 -1
  264. package/dist/dsh/setup.d.ts +1 -1
  265. package/dist/dsh/setup.d.ts.map +1 -1
  266. package/dist/dsh/skill-compiler.js +1 -1
  267. package/dist/dsh/skill-compiler.js.map +1 -1
  268. package/dist/dsh/skill-prompt-contracts.d.ts +2 -2
  269. package/dist/dsh/skill-prompt-contracts.js +1 -1
  270. package/dist/dsh/skill-prompts.json +1 -1
  271. package/dist/dsh/standard-skills.d.ts +1 -8
  272. package/dist/dsh/standard-skills.d.ts.map +1 -1
  273. package/dist/dsh/standard-skills.js +1 -8
  274. package/dist/dsh/standard-skills.js.map +1 -1
  275. package/dist/dsh/task-authority-context.d.ts +3 -0
  276. package/dist/dsh/task-authority-context.d.ts.map +1 -1
  277. package/dist/dsh/task-authority-context.js +3 -0
  278. package/dist/dsh/task-authority-context.js.map +1 -1
  279. package/dist/dsh/task-completion-guidance.d.ts +1 -5
  280. package/dist/dsh/task-completion-guidance.d.ts.map +1 -1
  281. package/dist/dsh/task-completion-guidance.js +4 -6
  282. package/dist/dsh/task-completion-guidance.js.map +1 -1
  283. package/dist/dsh/task-completion-host.js +4 -4
  284. package/dist/dsh/task-completion-host.js.map +1 -1
  285. package/dist/dsh/task-completion.d.ts +1 -13
  286. package/dist/dsh/task-completion.d.ts.map +1 -1
  287. package/dist/dsh/task-completion.js +9 -104
  288. package/dist/dsh/task-completion.js.map +1 -1
  289. package/dist/dsh/task-intake.d.ts +2 -3
  290. package/dist/dsh/task-intake.d.ts.map +1 -1
  291. package/dist/dsh/task-intake.js +90 -86
  292. package/dist/dsh/task-intake.js.map +1 -1
  293. package/dist/dsh/task-state.d.ts.map +1 -1
  294. package/dist/dsh/task-state.js +0 -8
  295. package/dist/dsh/task-state.js.map +1 -1
  296. package/dist/dsh/tool-exposure.d.ts +1 -1
  297. package/dist/dsh/tool-exposure.d.ts.map +1 -1
  298. package/dist/dsh/tool-exposure.js +0 -2
  299. package/dist/dsh/tool-exposure.js.map +1 -1
  300. package/dist/dsh/tool-policy.d.ts +5 -8
  301. package/dist/dsh/tool-policy.d.ts.map +1 -1
  302. package/dist/dsh/tool-policy.js +3 -35
  303. package/dist/dsh/tool-policy.js.map +1 -1
  304. package/dist/dsh/tools.d.ts +2 -6
  305. package/dist/dsh/tools.d.ts.map +1 -1
  306. package/dist/dsh/tools.js +7 -63
  307. package/dist/dsh/tools.js.map +1 -1
  308. package/dist/dsh/turn-process.d.ts +0 -93
  309. package/dist/dsh/turn-process.d.ts.map +1 -1
  310. package/dist/dsh/turn-process.js +1 -307
  311. package/dist/dsh/turn-process.js.map +1 -1
  312. package/dist/dsh/user-interaction.d.ts +9 -16
  313. package/dist/dsh/user-interaction.d.ts.map +1 -1
  314. package/dist/dsh/user-interaction.js +19 -158
  315. package/dist/dsh/user-interaction.js.map +1 -1
  316. package/dist/index.js +2 -19
  317. package/dist/ledger/types.d.ts +1 -1
  318. package/dist/ledger/types.d.ts.map +1 -1
  319. package/dist/ledger/types.js +0 -7
  320. package/dist/ledger/types.js.map +1 -1
  321. package/dist/locale/en.json +1 -1
  322. package/dist/locale/ja.json +1 -1
  323. package/dist/locale/ko.json +1 -1
  324. package/dist/locale/zh-CN.json +1 -1
  325. package/dist/memory/correction-contract.d.ts +4 -4
  326. package/dist/memory/lifecycle.d.ts +1 -1
  327. package/dist/memory/review/evidence.js +1 -1
  328. package/dist/memory/review/evidence.js.map +1 -1
  329. package/dist/model-tools/contracts.d.ts +0 -437
  330. package/dist/model-tools/contracts.d.ts.map +1 -1
  331. package/dist/model-tools/contracts.js +0 -13
  332. package/dist/model-tools/contracts.js.map +1 -1
  333. package/dist/model-tools/names.d.ts +1 -1
  334. package/dist/model-tools/names.d.ts.map +1 -1
  335. package/dist/model-tools/names.js +0 -7
  336. package/dist/model-tools/names.js.map +1 -1
  337. package/dist/model-tools/registry.js +1 -1
  338. package/dist/model-tools/registry.js.map +1 -1
  339. package/dist/models-client.cjs +2 -2
  340. package/dist/models-client.js +2 -2
  341. package/dist/models-client.js.map +1 -1
  342. package/docs/README.ja.md +0 -1
  343. package/docs/README.md +0 -1
  344. package/docs/agenticreplay-recording.md +1 -1
  345. package/docs/agenticreplay-verification.md +1 -1
  346. package/docs/answer-review.md +2 -2
  347. package/docs/architecture.md +4 -7
  348. package/docs/auto-memory-review.md +3 -3
  349. package/docs/coding-workflow.md +1 -1
  350. package/docs/concepts.ja.md +3 -5
  351. package/docs/concepts.md +3 -5
  352. package/docs/core-modules.md +5 -16
  353. package/docs/database.md +5 -10
  354. package/docs/decision-diagnostics.md +1 -2
  355. package/docs/deep-planning.md +3 -3
  356. package/docs/dsh-plugin.md +42 -178
  357. package/docs/execution-ledger.md +1 -2
  358. package/docs/execution-support.md +6 -7
  359. package/docs/harness-map.md +1 -1
  360. package/docs/japanese-output.md +1 -1
  361. package/docs/keyboard-shortcuts.md +1 -1
  362. package/docs/kiokuko-harness.md +71 -0
  363. package/docs/kiokuko-models.md +4 -9
  364. package/docs/lisp-hot-tools.md +12 -7
  365. package/docs/lisp.md +43 -9
  366. package/docs/memory-application.md +5 -5
  367. package/docs/memory-delivery.md +1 -1
  368. package/docs/memory-reuse.md +1 -1
  369. package/docs/model-selection.ja.md +40 -123
  370. package/docs/model-selection.md +45 -114
  371. package/docs/on-demand-intake.md +2 -2
  372. package/docs/owned-execution.md +7 -7
  373. package/docs/pr72-ci-verification.md +2 -2
  374. package/docs/pstack-adaptation.json +0 -34
  375. package/docs/pstack-skills.md +1 -1
  376. package/docs/semantic-compaction.md +2 -2
  377. package/docs/session-history-repair.md +2 -2
  378. package/docs/skill-compiler.md +2 -4
  379. package/docs/tool-exposure.md +1 -1
  380. package/docs/typed-decisions.md +1 -9
  381. package/docs/verification.md +11 -7
  382. package/dsh/cordis.legacy.patch.yml +7 -0
  383. package/dsh/cordis.patch.yml +6 -1
  384. package/lisp/supervisor.mjs +16 -7
  385. package/lisp/tools.lisp +1 -1
  386. package/migrations/051_drop_enno.sql +19 -0
  387. package/package.json +5 -14
  388. package/scripts/session-history-codec.mjs +1 -1
  389. package/skills/coding-ideal-routine-skill/SKILL.md +1 -1
  390. package/skills/kiokuko-lisp/SKILL.md +11 -5
  391. package/skills/kiokuko-single-purpose-functions/SKILL.md +1 -1
  392. package/skills/kiokuko-ui-design-soul/SKILL.md +2 -2
  393. package/skills/one-shot-software-completion/SKILL.md +4 -7
  394. package/skills/one-shot-software-completion/references/boundaries-and-lifecycle.md +3 -5
  395. package/dist/dsh/advisory-runner.d.ts +0 -32
  396. package/dist/dsh/advisory-runner.d.ts.map +0 -1
  397. package/dist/dsh/advisory-runner.js +0 -116
  398. package/dist/dsh/advisory-runner.js.map +0 -1
  399. package/dist/dsh/completion-verifiers.d.ts +0 -45
  400. package/dist/dsh/completion-verifiers.d.ts.map +0 -1
  401. package/dist/dsh/completion-verifiers.js +0 -9
  402. package/dist/dsh/completion-verifiers.js.map +0 -1
  403. package/dist/dsh/continuation.d.ts +0 -24
  404. package/dist/dsh/continuation.d.ts.map +0 -1
  405. package/dist/dsh/continuation.js +0 -215
  406. package/dist/dsh/continuation.js.map +0 -1
  407. package/dist/dsh/decisions/check-model.d.ts +0 -6
  408. package/dist/dsh/decisions/check-model.d.ts.map +0 -1
  409. package/dist/dsh/decisions/check-model.js +0 -36
  410. package/dist/dsh/decisions/check-model.js.map +0 -1
  411. package/dist/dsh/decisions/plan-review.d.ts +0 -17
  412. package/dist/dsh/decisions/plan-review.d.ts.map +0 -1
  413. package/dist/dsh/decisions/plan-review.js +0 -68
  414. package/dist/dsh/decisions/plan-review.js.map +0 -1
  415. package/dist/dsh/directive-projection.d.ts +0 -7
  416. package/dist/dsh/directive-projection.d.ts.map +0 -1
  417. package/dist/dsh/directive-projection.js +0 -32
  418. package/dist/dsh/directive-projection.js.map +0 -1
  419. package/dist/dsh/enno-controller.d.ts +0 -132
  420. package/dist/dsh/enno-controller.d.ts.map +0 -1
  421. package/dist/dsh/enno-controller.js +0 -368
  422. package/dist/dsh/enno-controller.js.map +0 -1
  423. package/dist/dsh/enno-delegation.d.ts +0 -36
  424. package/dist/dsh/enno-delegation.d.ts.map +0 -1
  425. package/dist/dsh/enno-delegation.js +0 -203
  426. package/dist/dsh/enno-delegation.js.map +0 -1
  427. package/dist/dsh/enno-memory-refresh-store.d.ts +0 -26
  428. package/dist/dsh/enno-memory-refresh-store.d.ts.map +0 -1
  429. package/dist/dsh/enno-memory-refresh-store.js +0 -45
  430. package/dist/dsh/enno-memory-refresh-store.js.map +0 -1
  431. package/dist/dsh/enno-memory-refresh.d.ts +0 -57
  432. package/dist/dsh/enno-memory-refresh.d.ts.map +0 -1
  433. package/dist/dsh/enno-memory-refresh.js +0 -280
  434. package/dist/dsh/enno-memory-refresh.js.map +0 -1
  435. package/dist/dsh/host-adapter/enno-memory-host.d.ts +0 -29
  436. package/dist/dsh/host-adapter/enno-memory-host.d.ts.map +0 -1
  437. package/dist/dsh/host-adapter/enno-memory-host.js +0 -49
  438. package/dist/dsh/host-adapter/enno-memory-host.js.map +0 -1
  439. package/dist/dsh/modules/enno.d.ts +0 -70
  440. package/dist/dsh/modules/enno.d.ts.map +0 -1
  441. package/dist/dsh/modules/enno.js +0 -22
  442. package/dist/dsh/modules/enno.js.map +0 -1
  443. package/dist/dsh/verification-identity.d.ts +0 -3
  444. package/dist/dsh/verification-identity.d.ts.map +0 -1
  445. package/dist/dsh/verification-identity.js +0 -15
  446. package/dist/dsh/verification-identity.js.map +0 -1
  447. package/dist/enno-oduno/advisory-store.d.ts +0 -31
  448. package/dist/enno-oduno/advisory-store.d.ts.map +0 -1
  449. package/dist/enno-oduno/advisory-store.js +0 -105
  450. package/dist/enno-oduno/advisory-store.js.map +0 -1
  451. package/dist/enno-oduno/advisory.d.ts +0 -18
  452. package/dist/enno-oduno/advisory.d.ts.map +0 -1
  453. package/dist/enno-oduno/advisory.js +0 -311
  454. package/dist/enno-oduno/advisory.js.map +0 -1
  455. package/dist/enno-oduno/coding-workflow.d.ts +0 -39
  456. package/dist/enno-oduno/coding-workflow.d.ts.map +0 -1
  457. package/dist/enno-oduno/coding-workflow.js +0 -33
  458. package/dist/enno-oduno/coding-workflow.js.map +0 -1
  459. package/dist/enno-oduno/confirmation.d.ts +0 -4
  460. package/dist/enno-oduno/confirmation.d.ts.map +0 -1
  461. package/dist/enno-oduno/confirmation.js +0 -146
  462. package/dist/enno-oduno/confirmation.js.map +0 -1
  463. package/dist/enno-oduno/directives.d.ts +0 -10
  464. package/dist/enno-oduno/directives.d.ts.map +0 -1
  465. package/dist/enno-oduno/directives.js +0 -294
  466. package/dist/enno-oduno/directives.js.map +0 -1
  467. package/dist/enno-oduno/experts.d.ts +0 -3
  468. package/dist/enno-oduno/experts.d.ts.map +0 -1
  469. package/dist/enno-oduno/experts.js +0 -28
  470. package/dist/enno-oduno/experts.js.map +0 -1
  471. package/dist/enno-oduno/handoff.d.ts +0 -4
  472. package/dist/enno-oduno/handoff.d.ts.map +0 -1
  473. package/dist/enno-oduno/handoff.js +0 -18
  474. package/dist/enno-oduno/handoff.js.map +0 -1
  475. package/dist/enno-oduno/language.d.ts +0 -4
  476. package/dist/enno-oduno/language.d.ts.map +0 -1
  477. package/dist/enno-oduno/language.js +0 -6
  478. package/dist/enno-oduno/language.js.map +0 -1
  479. package/dist/enno-oduno/memory-focus.d.ts +0 -32
  480. package/dist/enno-oduno/memory-focus.d.ts.map +0 -1
  481. package/dist/enno-oduno/memory-focus.js +0 -87
  482. package/dist/enno-oduno/memory-focus.js.map +0 -1
  483. package/dist/enno-oduno/memory-refresh-policy.d.ts +0 -17
  484. package/dist/enno-oduno/memory-refresh-policy.d.ts.map +0 -1
  485. package/dist/enno-oduno/memory-refresh-policy.js +0 -11
  486. package/dist/enno-oduno/memory-refresh-policy.js.map +0 -1
  487. package/dist/enno-oduno/memory-verification.d.ts +0 -7
  488. package/dist/enno-oduno/memory-verification.d.ts.map +0 -1
  489. package/dist/enno-oduno/memory-verification.js +0 -59
  490. package/dist/enno-oduno/memory-verification.js.map +0 -1
  491. package/dist/enno-oduno/plan-draft.d.ts +0 -15
  492. package/dist/enno-oduno/plan-draft.d.ts.map +0 -1
  493. package/dist/enno-oduno/plan-draft.js +0 -20
  494. package/dist/enno-oduno/plan-draft.js.map +0 -1
  495. package/dist/enno-oduno/plan-recovery.d.ts +0 -44
  496. package/dist/enno-oduno/plan-recovery.d.ts.map +0 -1
  497. package/dist/enno-oduno/plan-recovery.js +0 -160
  498. package/dist/enno-oduno/plan-recovery.js.map +0 -1
  499. package/dist/enno-oduno/repository-state.d.ts +0 -10
  500. package/dist/enno-oduno/repository-state.d.ts.map +0 -1
  501. package/dist/enno-oduno/repository-state.js +0 -146
  502. package/dist/enno-oduno/repository-state.js.map +0 -1
  503. package/dist/enno-oduno/sanitize.d.ts +0 -17
  504. package/dist/enno-oduno/sanitize.d.ts.map +0 -1
  505. package/dist/enno-oduno/sanitize.js +0 -88
  506. package/dist/enno-oduno/sanitize.js.map +0 -1
  507. package/dist/enno-oduno/schemas.d.ts +0 -968
  508. package/dist/enno-oduno/schemas.d.ts.map +0 -1
  509. package/dist/enno-oduno/schemas.js +0 -622
  510. package/dist/enno-oduno/schemas.js.map +0 -1
  511. package/dist/enno-oduno/service.d.ts +0 -62
  512. package/dist/enno-oduno/service.d.ts.map +0 -1
  513. package/dist/enno-oduno/service.js +0 -1505
  514. package/dist/enno-oduno/service.js.map +0 -1
  515. package/dist/enno-oduno/skills.d.ts +0 -22
  516. package/dist/enno-oduno/skills.d.ts.map +0 -1
  517. package/dist/enno-oduno/skills.js +0 -127
  518. package/dist/enno-oduno/skills.js.map +0 -1
  519. package/dist/enno-oduno/store.d.ts +0 -109
  520. package/dist/enno-oduno/store.d.ts.map +0 -1
  521. package/dist/enno-oduno/store.js +0 -833
  522. package/dist/enno-oduno/store.js.map +0 -1
  523. package/dist/enno-oduno/types.d.ts +0 -457
  524. package/dist/enno-oduno/types.d.ts.map +0 -1
  525. package/dist/enno-oduno/types.js +0 -66
  526. package/dist/enno-oduno/types.js.map +0 -1
  527. package/dist/enno-oduno/validation-errors.d.ts +0 -93
  528. package/dist/enno-oduno/validation-errors.d.ts.map +0 -1
  529. package/dist/enno-oduno/validation-errors.js +0 -159
  530. package/dist/enno-oduno/validation-errors.js.map +0 -1
  531. package/dist/enno-oduno/verifier.d.ts +0 -16
  532. package/dist/enno-oduno/verifier.d.ts.map +0 -1
  533. package/dist/enno-oduno/verifier.js +0 -271
  534. package/dist/enno-oduno/verifier.js.map +0 -1
  535. package/docs/enno-memory-benchmark.json +0 -761
  536. package/docs/enno-memory-evaluation.md +0 -137
  537. package/docs/enno-oduno.ja.md +0 -68
  538. package/docs/enno-oduno.md +0 -94
  539. package/skills/kiokuko-enno-oduno/SKILL.md +0 -64
  540. package/skills/kiokuko-enno-oduno/enno-oduno.png +0 -0
@@ -1,6 +1,6 @@
1
1
  # 記憶の適用と検証
2
2
 
3
- DSHの通常実行とEnnoでは、配信した記憶のうち、検索理由から今回に関係すると判断された記憶について、採否と検証を追跡します。記憶取得は既存のホスト側intakeを使います。Codex用フックや別のAkinatorは追加しません。
3
+ DSHの通常実行では、配信した記憶のうち、検索理由から今回に関係すると判断された記憶について、採否と検証を追跡します。記憶取得は既存のホスト側intakeを使います。Codex用フックや別のAkinatorは追加しません。
4
4
 
5
5
  ## 確認
6
6
 
@@ -24,19 +24,19 @@ DSHの通常実行とEnnoでは、配信した記憶のうち、検索理由か
24
24
  - `action: "review_batch"`:独立した採否を最大32件、1回で記録する。1件でも無効なら全件を取り消す。未処理が複数ある場合は、`status` で確認してからまとめて送る。
25
25
  - `action: "refresh"`:具体的なエラーや変更対象を使い、同じrunで検索を更新。既存のスコープ、能力判定、配信処理を通す。Coreのプロジェクト限定検索は限定したままにする。
26
26
 
27
- 採用記憶があるコード変更では、検証コマンドも記録します。対応する証拠は、ネイティブのフォアグラウンド `Bash` / `bash`、またはEnnoの既存承認済みverifierです。Ennoでは、空白やシェル構文を含まない引数について、executableとargsを空白で結んだコマンドを使います。複雑な引数のverifierは実行できますが、この経路の証拠としては未対応です。どちらも作業開始ディレクトリがリポジトリルートである場合だけ対応します。新しい実行権限は付与しません。
27
+ 採用記憶があるコード変更では、検証コマンドも記録します。対応する証拠は、リポジトリ直下で実行したネイティブのフォアグラウンド `Bash` / `bash` です。新しい実行権限は付与しません。
28
28
 
29
29
  計画・コードレビューだけの依頼には実装テストを要求しません。不適用や矛盾の理由はモデルの申告として保持します。正当な過去スキーマfixtureの固定番号は、それだけでは禁止しません。
30
30
 
31
31
  ## 完了と失効
32
32
 
33
- 採否が未処理でも、編集・実行の呼び出しは拒否しません。未処理の項目はrunを未完了のままに保ち、`task_memory_review` で解消するまで成功checkpointとEnnoの完了を拒否します。未処理のまま実行した呼び出しは、以前の実行証拠を失効させます。準備用の既知の読み取りツールと記憶操作は利用できます。シェル文字列を見て任意のコマンドを読み取り専用とは認定しません。
33
+ 採否が未処理でも、編集・実行の呼び出しは拒否しません。未処理の項目はrunを未完了のままに保ち、`task_memory_review` で解消するまで成功checkpointを拒否します。未処理のまま実行した呼び出しは、以前の実行証拠を失効させます。準備用の既知の読み取りツールと記憶操作は利用できます。シェル文字列を見て任意のコマンドを読み取り専用とは認定しません。
34
34
 
35
35
  採否・証拠はrun、配信世代、entry revision、review revisionに結び付けます。コマンドと結果はハッシュ、終了状態、対象ファイルの状態で保存し、完全な出力は保存しません。失敗、観測できたskip、background、結果不明、実行中、対象状態の変化は成功証拠になりません。同じコマンドの過去の成功で最新の失敗を隠しません。別runの証拠は利用できません。
36
36
 
37
37
  同じrunへの再配信で対象entryのrevisionと適用モードが変わらなければ、採否を維持します。新しいentryには採否が必要です。entryの改訂または適用モードの変更では採否の世代が進み、対象全件を再確認します。配信が変わると実行証拠は失効します。検索を狭めても、既に配信した記憶への対応は消えません。申告された関連パスの内容、追加・削除、別の変更操作も確認します。`paths: []` の不適用判断はファイル変更では失効せず、entryの改訂では失効します。パスの走査は申告された対象に限定し、最大2,048項目・16 MiBです。範囲外、symlink、上限超過は検証不能になります。
38
38
 
39
- 未処理のまま成功checkpointやEnnoの完了を要求すると拒否します。通常実行のネイティブターンが終了した場合は `interrupted`、互換アダプターの成功終了は `failed` として記録し、自動継続は要求しません。失敗・中断・キャンセルは終了できます。
39
+ 未処理のまま成功checkpointを要求すると拒否します。通常実行のネイティブターンが終了した場合は `interrupted`、互換アダプターの成功終了は `failed` として記録し、自動継続は要求しません。失敗・中断・キャンセルは終了できます。
40
40
 
41
41
  migration 023を追加し、既存の記憶・配信・履歴を保持します。新しいネイティブadmissionから適用し、過去のrunを観測済みへ昇格させません。能力一覧は識別情報と説明文の予算を分離し、201件以上でも全識別情報が収まれば受理します。新しいcatalog digestはversion 3です。旧versionとの不一致は検出します。
42
42
 
@@ -49,4 +49,4 @@ migration 023を追加し、既存の記憶・配信・履歴を保持します
49
49
  - 未対応ホスト、無効化・未起動のプラグイン、intake以前に連携を通らない操作には制限をかけたとは表示しません。既に出力された完了文を取り消すこともできません。
50
50
  - プラグインの通常の登録・解除でツール、診断コマンド、イベントハンドラーを追加・解除します。外部のフック設定やユーザー設定は変更しません。訂正保存・候補承認は既存の記憶保存方針に従います。
51
51
 
52
- ソースの回帰テストでは次のmigration追加による失敗/成功、ネイティブツール境界、Enno verifier、再起動、revision、競合、失敗・skip・古い証拠、停止を確認します。パッケージ検査、インストール先への反映、起動中DSHの画面・実モデルでの確認は別の検証です。
52
+ ソースの回帰テストでは次のmigration追加による失敗/成功、ネイティブツール境界、再起動、revision、競合、失敗・skip・古い証拠、停止を確認します。パッケージ検査、インストール先への反映、起動中DSHの画面・実モデルでの確認は別の検証です。
@@ -1,6 +1,6 @@
1
1
  # Memory delivery budgets and relations
2
2
 
3
- The default memory body budget is **16,000 Unicode code points**, not tokens or UTF-16 code units. Existing explicit character budgets take precedence, including continued requests and Enno refresh. Selection and ranking are unchanged. The title, summary and body projection consumes the body budget; JSON identity wrappers and relation metadata are separate. Each model-visible item carries `workspace` and `entryId`.
3
+ The default memory body budget is **16,000 Unicode code points**, not tokens or UTF-16 code units. Existing explicit character budgets take precedence, including continued requests. Selection and ranking are unchanged. The title, summary and body projection consumes the body budget; JSON identity wrappers and relation metadata are separate. Each model-visible item carries `workspace` and `entryId`.
4
4
 
5
5
  `relationDelivery` describes stored `entry_links` among the final provided items. Its default budget is **8,000 Unicode code points of compact `JSON.stringify({relationDelivery})`**, including the outer property key and braces, and **128 edges**. Explicit `relationCharacterBudget` / `relationEdgeCap` options take precedence over `KIOKUKO_RELATION_CHARACTER_BUDGET` / `KIOKUKO_RELATION_EDGE_CAP`, then the defaults. Character limits must be integers from 1 to 100,000; edge caps from 1 to 1,024. A limit too small even for an omission frame is an explicit validation error.
6
6
 
@@ -74,7 +74,7 @@ scope・適用条件・秘密情報の検査と、判定前の候補集合に対
74
74
 
75
75
  TypeSafe は最大8候補、Nimble は1候補ずつ送ります。Noul でも候補ごとの3問を同じ part に収めます。同じ判定サービスを使う依頼間で、疎通確認を含め最大2要求を並行実行します。Nimble の token 上限はサーバーの判定に従い、バイト数を token 数とみなしません。個別の入力超過は未判定、通信・認証・形式エラーと全体期限切れは選別全体を既存検索に戻します。自動再試行は行わず、親タスクの取消を伝播します。権限・revision・整合性の不一致では停止します。
76
76
 
77
- 通常の開始・継続、Core、共通 intake を使う Deep/Enno 開始に適用します。Enno 途中の記憶更新には追加せず、`remoteCalls: 0` を維持します。API 待機中に DB transaction を保持しません。除外候補を含めた検索状態を待機後に再検証します。
77
+ 通常の開始・継続、Core、共通 intake を使う Deep 開始に適用します。API 待機中に DB transaction を保持しません。除外候補を含めた検索状態を待機後に再検証します。
78
78
 
79
79
  同じ依頼・同じ入力の判定は保存済み履歴から再利用します。疎通確認の期限切れだけでは再課金しません。キー変更だけで同一入力を自動再試行することもありません。判定は元の記憶、信頼度、適用範囲を変更しません。新規の選別は `context-ranking-v9`、意味判定による除外は `semantic_not_applicable` として記録し、旧配信は従来どおり読めます。
80
80
 
@@ -1,18 +1,17 @@
1
1
  # 実行方式とモデル構成
2
2
 
3
- 新しい実装・変更、デバッグ、レビュー、運用作業では、DSHの質問画面で
4
- 「通常実行」か「役小角を使う」を選びます。READMEの修正でも通常実行を
5
- 選択できます。「役小角を使わずREADMEを修正」のように明示すると、利用選択を
6
- 重ねて質問しません。雑談と、既存の役小角対象外の調査・文章作成では質問しません。
3
+ 新しい実装・変更、デバッグ、レビュー、運用作業では、DSHの受付(Akinator)後に
4
+ 「通常実行」で進めます。READMEの修正も同じ通常実行です。雑談や調査・文章作成は
5
+ 通常流れです。継続・再試行・再計画は同じ論理作業として引き継ぎます。
6
+ 取消・未回答では作業を保持し、再開の入力後に継続できます。
7
7
 
8
8
  通常実行は現在のDSHモデルで進みます。Kiokukoの記憶、適用されるSkill、
9
- DSHの権限判定、必要な検証を維持し、役小角の契約・WorkUnit・計画承認・
10
- 自動継続を作りません。継続・再試行・再計画は同じ論理作業の選択を引き継ぎます。
11
- 取消・未回答では作業を保持します。再開の入力後に選択を続けられ、最初の依頼も復元します。
9
+ DSHの権限判定、必要な検証を維持します。別個の契約・WorkUnit・計画承認・
10
+ 自動継続は作りません。
12
11
 
13
12
  ## 通常実行のモデル自動選択
14
13
 
15
- Webプロファイルでは [Kiokuko Models](kiokuko-models.md) から接続を設定できます。DSH本体のModelsで設定する必要はありません。登録したモデルは、通常会話・Enno・Deepでネイティブ接続と併用できます。
14
+ Webプロファイルでは [Kiokuko Models](kiokuko-models.md) から接続を設定できます。DSH本体のModelsで設定する必要はありません。登録したモデルは、通常会話・Deepでネイティブ接続と併用できます。
16
15
 
17
16
  通常版・modular coreとも `modelAutoMode.mode: off` が既定です。同じDSHプロファイルでKiokuko Modelsまたはdsh-codexからCodexを認証し、Jev・Laya・[OpenAI](typed-decisions.md#openai-credentials)のいずれかの判定を準備したうえで、まず `observe` で選択案を確認します。
18
17
 
@@ -36,7 +35,7 @@ modelAutoMode:
36
35
 
37
36
  新しい受付済みの通常タスクでは、現在の依頼文、タスク種別、添付の種類、経路IDと判定基準を選択中のJev・Laya・OpenAIへ送ります。この判定のために添付の内容、全履歴、リポジトリ全体は送信しません。Choice 1問の結果をrunに保存し、継続では同じ経路を使います。再起動時に判定結果が不明なら再送せず元のモデルを維持します。`observe`、棄権、probe失敗、metadata不足、非対応effort、timeout、入力超過でも元のモデルを維持します。取消、セッション同一性の不一致、保存の整合性エラーでは要求を止めます。認証・利用枠・モデル利用不可によるdispatch失敗を別モデルへ自動再送しません。
38
37
 
39
- 状態表示では、設定・準備状態・選択案・適用したbindingと、nativeの `request/header` で確認した実モデルを区別します。初期候補は判定基準であり、品質・時間・利用枠の改善を保証しません。Enno、Deep、子、雑談、回答の再検討、保護されたLisp実行は既存の経路を使います。実装失敗後の自動昇格は初期版に含めません。
38
+ 状態表示では、設定・準備状態・選択案・適用したbindingと、nativeの `request/header` で確認した実モデルを区別します。初期候補は判定基準であり、品質・時間・利用枠の改善を保証しません。Deep、子、雑談、回答の再検討、保護されたLisp実行は既存の経路を使います。実装失敗後の自動昇格は初期版に含めません。
40
39
 
41
40
  ### モデル選択の評価と判定キャッシュ
42
41
 
@@ -55,123 +54,41 @@ npm run test:evaluation:model-routing -- --live --provider laya --config PATH
55
54
 
56
55
  `PATH` には `typedDecisions` と同じ形式のJSON設定ファイルを指定します。Jevには版を固定した `typesafe.model` と `TYPESAFE_API_KEY` が必要です。Layaは起動済みのworkerを使います。live実行は準備状態のprobeを含む判定リクエストを送りますが、生成タスクの開始や現在のセッションのモデル変更はしません。`--repetitions 1..10`(既定1)、`--seed UINT32`(既定0)、`--output PATH` で反復とJSON出力を指定できます。offlineの結果は評価経路の確認だけを表し、`quality: null` と表示します。liveの結果も固定ケースと現在の判定基準との一致を測るもので、実作業の品質、費用、providerのキャッシュ節約を証明しません。Laya v1では入力が完全に処理されたか確認できません。
57
56
 
58
- 共有の判定サービスは、保存データから再取得できる完了済みの要求設定と結果を、それぞれ最大256件だけメモリに保持します。保存済みの判定は削除しません。通常実行、Ennoのレビュー、Lispの `kioku.decisions:*` が使う判定に適用されます。モデル自動選択とこの評価は通常実行が対象です。
57
+ 共有の判定サービスは、保存データから再取得できる完了済みの要求設定と結果を、それぞれ最大256件だけメモリに保持します。保存済みの判定は削除しません。通常実行とLispの `kioku.decisions:*` が使う判定に適用されます。モデル自動選択とこの評価は通常実行が対象です。
59
58
 
60
59
  選択カードでは数字キーで選び、Enterで送信できます。10番以上は数字を続けて入力します
61
60
  (例:`1`→`2`→`Enter`で12番)。Backspaceで番号を訂正できます。
62
61
  検索欄に入力中の数字は検索語として扱い、Enterで検索します。IME変換中のEnterや
63
62
  キーの長押しでは選択・送信しません。
64
63
 
65
- ## おすすめテンプレート
66
-
67
- | グループ/テンプレート | enno-ideal・Zenki | Gokiヘッド | 子 | enno-check・振り返り |
68
- | --- | --- | --- | --- | --- |
69
- | OpenAI | `gpt-6-astra` | `gpt-6-sol` | `gpt-6-luna` | `gpt-6-astra` |
70
- | OpenAI Codex・推奨(dsh-codex) | `gpt-6-astra` | `gpt-6-sol` | `gpt-6-luna` | `gpt-6-astra` |
71
- | DeepSeek・V4.1 Flash | `deepseek-flash` | `deepseek-flash` | `deepseek-flash` | `deepseek-flash` |
72
- | OpenCode Go・DeepSeek V4.1 Flash | `deepseek-v4.1-flash` | `deepseek-v4.1-flash` | `deepseek-v4.1-flash` | `deepseek-v4.1-flash` |
73
- | OpenCode Go・GLM | `glm-5.3` | `glm-5.3` | `glm-5.3-flash` | `glm-5.3` |
74
- | OpenCode Go・Qwen | `qwen3.8-max` | `qwen3.8-max` | `qwen3.8-flash` | `qwen3.8-max` |
75
- | OpenCode Zen | `glm-5.3` | `glm-5.3` | `glm-5.3-flash` | `glm-5.3` |
76
- | OpenRouter・DeepSeek V4.1 Flash | `deepseek/deepseek-v4.1-flash` | `deepseek/deepseek-v4.1-flash` | `deepseek/deepseek-v4.1-flash` | `deepseek/deepseek-v4.1-flash` |
77
- | OpenRouter・GLM | `z-ai/glm-5.3` | `z-ai/glm-5.3` | `z-ai/glm-5.3-flash` | `z-ai/glm-5.3` |
78
- | OpenRouter・Qwen | `qwen/qwen3.8-max-0902` | `qwen/qwen3.8-max-0902` | `qwen/qwen3.8-flash` | `qwen/qwen3.8-max-0902` |
79
- | Ollama・ローカル標準 | `qwen3-coder:30b` | `qwen3-coder:30b` | `qwen3-coder:30b` | `qwen3-coder:30b` |
80
-
81
- これらは版1の構成候補です。適用時にDSHの登録モデルと正確なIDで照合します。
82
- 表示名の部分一致による代用はありません。全テンプレートを表示し、適用可能、
83
- 接続未設定、接続設定が不一致、一覧取得失敗、モデル不足、互換性の確認が必要、を区別します。
84
-
85
- DeepSeek系の推奨は全5役を **V4.1 Flash** に統一しています。IDは提供元ごとに、
86
- [DeepSeek公式API](https://www.deepseek.com/en/news/deepseek-v4-1-flash/)、
87
- [OpenCode Go](https://opencode.ai/docs/go/)、
88
- [OpenRouter](https://openrouter.ai/deepseek/deepseek-v4.1-flash)で確認しています。
89
- 公式APIの専用テンプレートはDSHの`deepseek-official`接続を使います。
90
- V4.1 Flashが未登録の場合、V4 Proや旧FlashのIDには置き換えません。
91
- 2026-09-11に[OpenCodeのモデル一覧](https://models.opencode.ai/api.json)も確認しています。
92
- `opencode-go`にはV4.1 Flashが掲載されていますが、Zenに相当する`opencode`にはありません。
93
- Zen・Ollamaで推奨テンプレートにないモデルを使う場合は、以下の登録済みモデル選択を使います。
94
-
95
- Kiokuko Modelsで追加したOpenCode接続はプラグイン所有の通信経路を使います。公式Zen/Goエンドポイントへのカスタム接続も、Chat Completions・Responses・Messagesのいずれでも会話ごとのルーティングを保ちます。DSH標準のprovider設定は変更しません。この経路を使う場合はKiokuko Modelsの接続を選択してください。
96
-
97
- [dsh-codex](https://github.com/askdkc/dsh-codex)を使う場合は、
98
- 「おすすめテンプレートから選ぶ」→「OpenAI Codex・推奨(dsh-codex)」→
99
- 「この構成で開始」の順に選びます。理想・計画・最終確認をAstra、実装の統括をSol、
100
- 分担した実装をLunaに割り当て、判断の品質と実装量を配分する構成です。
101
- [OpenAIのモデルガイド](https://developers.openai.com/api/docs/models)を基にした推奨で、
102
- タスク別の速度・利用枠消費を実測して最適化したものではありません。
103
-
104
- このテンプレートはKiokuko ModelsのCodex接続にも対応し、Codex由来とResponses方式を確認して、安定した `kiokuko-…` 登録IDを保存します。ネイティブ接続は [dsh-codexの登録・接続実装](https://github.com/askdkc/dsh-codex/blob/e2e61b6d8f3b511cf2dac99688e97b8728cb122c/src/index.ts)
105
- に合わせて`openai-codex` / `codex` / `responses`を使用します。接続先や通信方式を
106
- 重ねて質問せず、選択した構成に保存します。DSH本体のモデル検証を優先し、
107
- 旧`modelRoutes`の値を再入力させません。プラグイン設定ファイルは変更しません。モデルはDSH経由の現在の登録一覧に存在する正確なIDだけを割り当て、
108
- 開始直前にも再照合します。推奨モデルが不足している場合は自動代替せず、未設定の役割を表示します。
109
-
110
- テンプレートを選び、実際のDSH接続へ結び付け、役割別の構成を確認して開始します。
111
- 汎用テンプレートは接続IDを固定しません。同名の接続やモデルもIDを併記して区別します。
112
- OpenAI APIとCodex認証、OpenCode GoとZenは別の接続として扱います。
113
- モデルを選ぶと、そのまま役割の構成確認に戻ります。接続先の種類・認証・通信方式は
114
- DSHの設定を使い、重ねて質問しません。Kiokukoは認証情報を取得・変更しません。
115
-
116
- モデル名から選ぶ場合は、**「DSHに設定済みのモデルから選ぶ」→役割を変更→接続を選択→
117
- モデル名で検索・選択→構成を確認して開始**と進みます。
118
- **OpenCode Go、OpenCode Zen、OpenRouter、Ollama**の登録済み接続を選べます。
119
- 一覧は現在のDSHプロファイルから取得し、接続名・モデル名と正確なIDを表示します。
120
- 接続が表示されない場合はDSHに登録し、「一覧を再取得」で更新してください。
121
- 公開モデル一覧は推奨IDの参照元で、DSHへのモデル登録は行いません。
122
- 公開一覧の`ollama-cloud`と、ローカルOllamaのインストール済みモデルは別の一覧です。
123
- 自由入力による検索、ページ送り、他の役割からのコピーを使えます。
124
- テンプレート採用後の変更は「カスタム」と表示し、元テンプレートの
125
- IDと版を保持します。戻る・取消でも設定途中の構成は保持されます。
126
- 未設定の役割ではenno-idealの接続を引き継ぎ、モデル選択から始まります。
127
- 設定済みの役割ではその役割の接続を使います。別の接続を使う場合はモデル画面の
128
- 「接続を変更」を選びます。引き継ぐ接続が未設定・登録解除済みなら接続選択を表示します。
129
- 検索結果が空なら「検索をクリア」、一覧の取得に失敗したら「一覧を再取得」で復帰できます。
130
- 数字の自由入力も検索語として扱います。戻る・取消の後も、確定済みのモデルを保持します。
131
-
132
- DeepとEnnoの選択肢には、macOSでは **Cmd+1〜9**、Windows/Linuxでは **Ctrl+1〜9**
133
- を表示します。選択後、Enterで確定します。カード内では数字だけでも選べ、
134
- 10番以降は数字を続けて入力します。検索欄や予算欄に入力した数字は、そのままの値を使います。
135
-
136
- reasoningはモデルの既定値です。Ollamaを含む構成は子の同時実行数を1に制限し、
137
- モデルのダウンロードは行いません。カタログ登録は契約や利用枠の保証ではありません。
138
- 認証・利用上限・モデル利用不可のエラーでは自動代替せず、次の要求に使う構成を
139
- 再選択します。既に完了した編集やツール呼び出しは再実行しません。
140
-
141
- ## 接続設定と互換性
142
-
143
- プロバイダー・モデルの正確なIDをDSHに渡し、DSH本体のアダプターで設定を検証します。
144
- テンプレートの対応付けとローカル接続の同時実行制限には、DSHの接続設定一覧を使います。
145
- 追加の接続情報が取得できないプロバイダーでも、登録済みモデルの選択後に再質問しません。
146
-
147
- 旧`modelRoutes`は、接続情報を公開しないプロバイダープラグインや旧ホスト向けの
148
- 任意設定として引き続き読み込めます。現在のDSH接続情報を優先し、実際の認証・通信方式を
149
- 上書きしません。DSH本体のモデル検証機能がない旧ホストでは、既存のAstra/Go設定に
150
- 対する互換性確認を維持します。ローカル検証の成功は、契約・認証・実サービスへの
151
- 通信成功を保証するものではありません。
152
-
153
- ## 実行と復旧
154
-
155
- 選択方式・構成・元テンプレートの版・通常会話モデルを論理作業に保存します。
156
- テンプレートの更新は進行中の構成を変更しません。親は公開されたエージェント単位の
157
- プロンプト組み立て/要求フックを使い、一つの要求で同じ構成を使います。
158
- Webの既定モデルを保存する `selectModel()` は使用しません。終了後は通常モデルへ戻します。
159
-
160
- Gokiは `enno_delegate` に `instruction` を渡せます。ホストが現在の承認済み
161
- WorkUnit・lease・構成を検証し、DSH内の `spawn` を使います。子は初回要求前に
162
- 委譲と結び付けられ、子で役小角を開始したり孫を作ったりできません。
163
- 初期版の子はWorkUnit内の変更をファイル操作で行い、コマンドと検証器の実行は
164
- Gokiヘッドが担当します。子の完了はWorkUnitの受理を意味しません。
165
- Gokiが結果を確認し、既存の `enno_work_report` で報告します。
166
- 中断された委譲は不確定として保持し、同じ呼び出しを自動で再実行しません。
167
- 子の同時実行数は保存済み状態から判定し、再起動で制限をリセットしません。
168
- 子の要求とファイル操作の直前にも現在のleaseを検証します。プロセスの強制終了で
169
- 委譲が実行中のまま残った場合は、その子の記録を確認するまで新たな委譲を制限します。
170
-
171
- 既存の助言枠、最終検証、記憶確定、AgenticReplayの記録契約を維持します。
172
- 実アカウントでの課金・契約・利用枠の試験は行っていません。
173
- native試験は親子のモデルIDと接続経路を検証し、プロバイダーでの実利用成功を保証しません。
174
-
175
- DSHの実装根拠は対応版の
176
- [モデル選択フック](https://github.com/deepseek-ai/deepseek-harness/blob/a66e4702047846cdaa10c66c9d3df3951f5ea70d/packages/core/agent/src/model-selection.ts)、
177
- [要求ループ](https://github.com/deepseek-ai/deepseek-harness/blob/a66e4702047846cdaa10c66c9d3df3951f5ea70d/packages/core/agent-loop/src/agent.ts)です。
64
+ ## ヘッド/ワーカー構成
65
+
66
+ 実行方式の質問では、現在のDSHモデル(`通常実行`)か、固定の
67
+ **GPT-6.1-Sol ヘッド + DeepSeek V4.1 Flash サブエージェント**のペアを選べます。
68
+ ペアは両方の正確なモデルIDを実登録一覧で検証した後に採用し、モデルの自動代替は行いません。
69
+ ペアは論理作業ごと、またはセッションごとに保存され、実行中の構成を書き換えません。
70
+ エージェント単位の組み立て/要求フックが一つの要求で同じ構成を使い、
71
+ 終了後は通常モデルへ戻します。
72
+
73
+ OpenAIの割り当ては [OpenAIのモデルガイド](https://developers.openai.com/api/docs/models) に基づく
74
+ **gpt-6.1-sol**(ヘッド)と **gpt-6.1-luna**/DeepSeek **V4.1 Flash**(サブエージェント)です。
75
+ Codex接続では dsh-codex の登録IDを用います。プロバイダー・モデルの正確なIDを
76
+ DSHに渡し、表示名の部分一致による代用はありません。
77
+
78
+ DSHがプロバイダーの認証・通信・モデル検証を所有します。認証・利用枠・
79
+ モデル利用不可のエラーでは自動代替せず、次の要求に使う構成を再選択します。
80
+
81
+ ## 保存と復旧
82
+
83
+ 選択方式・通常の接続・元テンプレートの版・通常会話モデルを論理作業に保存します。
84
+ テンプレートの更新は進行中の構成を変更しません。Webの既定モデルを保存する
85
+ `selectModel()` は使用しません。終了後は通常モデルへ戻します。
86
+
87
+ 実行所有権は1つの `mode` に固定され、別の実行系が同じセッションの所有権を
88
+ 奪う構成では競合として扱います。現行仕様に合わない保存済みの選択は、
89
+ 静かに読み替えず明示的な再選択を求めます。
90
+
91
+ native試験は依頼の実行、取消・再読み込み、入力復元、独立セッション、
92
+ ルーティング復帰、実際のアダプター経路を検証します。記録アダプターは
93
+ プロバイダーでの実利用・課金・利用枠を保証しません。記憶確定と
94
+ AgenticReplayの記録契約はこれまでどおりです。
@@ -1,19 +1,18 @@
1
1
  # Execution and model selection
2
2
 
3
- For each new build, debug, review or devops task, including README edits, choose
4
- **normal execution** or **役小角(enno-oduno)** in the native DSH question cards.
5
- An explicit instruction such as “without enno-oduno” avoids a duplicate mode
6
- question. Chat and existing non-Enno research/writing tasks keep their ordinary
7
- flow. Continuations, retries and replanning retain the logical task's choice.
8
- Cancel or skip preserves the request and draft configuration for resumption.
3
+ For each new build, debug, review or devops task, including README edits, the host
4
+ performs Akinator intake and runs normal execution. Chat and research/writing
5
+ tasks keep their ordinary flow. Continuations, retries and replanning retain the
6
+ logical task's identity. Cancel or skip preserves the request and any draft
7
+ configuration for resumption.
9
8
 
10
9
  Normal execution uses the current DSH model, memory, applicable Skills, native
11
- permissions and focused verification. It creates no Enno contract, WorkUnit,
12
- plan approval or automatic Enno continuation.
10
+ permissions and focused verification. It creates no separate contract, work-unit
11
+ plan, plan approval or automatic continuation.
13
12
 
14
13
  ## Automatic model selection
15
14
 
16
- In Web profiles, [Kiokuko Models](kiokuko-models.md) manages connections without requiring DSH's Models settings. Its registered models are available to ordinary chat, Enno and Deep alongside native connections.
15
+ In Web profiles, [Kiokuko Models](kiokuko-models.md) manages connections without requiring DSH's Models settings. Its registered models are available to ordinary chat and Deep alongside native connections.
17
16
 
18
17
  `modelAutoMode` is off by default in both the full plugin and modular core. To try it, authenticate Codex through Kiokuko Models or dsh-codex in the same DSH profile, configure a Jev, Laya or [OpenAI typed-decision backend](typed-decisions.md#openai-credentials), then use `observe` before enabling automatic routing:
19
18
 
@@ -28,16 +27,13 @@ modelAutoMode:
28
27
  /kioku-model-auto observe
29
28
  /kioku-model-auto status
30
29
  /kioku-model-auto on
31
- /kioku-model-auto off
32
30
  ```
33
31
 
34
- The command changes only the current native session. `on` also clears its manual model pin; a model selected in DSH's picker pins that session until `on` is run again. Changes apply at the next new task boundary, without changing a request already sent. `/kioku-decisions status` includes the same session projection. To reset session overrides after a configuration change, restart DSH; changing `modelAutoMode.mode` to `off` and restarting disables routing.
35
-
36
32
  The initial preset offers `gpt-6-luna` at low, medium and high effort, plus `gpt-6-sol` at high effort. Up to four exact route bindings can be configured under `modelAutoMode.routes`; each has an `id` from `luna-low`, `luna-medium`, `luna-high`, `sol-high`, and a `binding` with `provider`, `model`, and `reasoningEffort`. These are route labels, so a registered Astra or other GPT model may be assigned explicitly. No new model ID is guessed or substituted. A candidate must have a validated Codex origin and Responses protocol, live model context and modality metadata, supported efforts, call-config validation and token meter. Both native `openai-codex` and Kiokuko-owned Codex routes qualify; an arbitrary provider name or OpenAI API connection does not. Fewer than two valid bindings skips classification.
37
33
 
38
34
  For a new admitted normal task, Kiokuko sends the current task text, task type, attachment kinds, route IDs and rubric to the selected Jev, Laya or OpenAI backend. It does not send attachment bytes, full history or repository contents for this classification. One Choice result selects a route or abstains. The route is stored against the exact run and reused for continuations; an unknown in-flight decision after restart is retained without another classifier call. `observe` records a proposal but keeps the current model. A failed probe, missing metadata, unsupported effort, timeout, oversized input or abstention also keeps the current model. Cancellation, stale session identity and storage integrity failures stop the request. Dispatch authentication, quota and unavailable-model errors remain ordinary failures; no alternate model is retried automatically.
39
35
 
40
- The status distinguishes the configured mode, readiness, proposal and selected binding from the model observed in a native `request/header`. The initial preset is a rubric, not a claim that it improves quality, elapsed time or subscription usage. Enno, Deep, children, chat, review continuation and protected Lisp execution retain their existing owners. Automatic escalation after a failed implementation pass is not enabled.
36
+ The status distinguishes the configured mode, readiness, proposal and selected binding from the model observed in a native `request/header`. The initial preset is a rubric, not a claim that it improves quality, elapsed time or subscription usage. Deep, children, chat, review continuation and protected Lisp execution retain their existing owners. Automatic escalation after a failed implementation pass is not enabled.
41
37
 
42
38
  ### Routing evaluation and decision cache
43
39
 
@@ -56,110 +52,45 @@ npm run test:evaluation:model-routing -- --live --provider laya --config PATH
56
52
 
57
53
  `PATH` is a JSON file in the `typedDecisions` configuration shape. Jev requires a versioned `typesafe.model` and `TYPESAFE_API_KEY`; Laya uses an already running worker. Live evaluation makes classifier requests, including a readiness probe, but never starts a generation turn or changes the active session model. Optional `--repetitions 1..10` (default 1), `--seed UINT32` (default 0), and `--output PATH` control repeatable JSON reporting. Offline output checks the evaluation pipeline and reports `quality: null`. Live results compare fixed cases with the current rubric; they do not establish model capability, real-work quality, cost, or provider cache savings. Laya v1 input completeness remains unverified.
58
54
 
59
- The shared decision service keeps at most 256 completed request bindings and 256 completed results in memory when it can reload them from persistent storage. It does not delete stored decisions. This applies to decisions used by normal execution, Enno review, and Lisp `kioku.decisions:*`; automatic model routing and this evaluation remain specific to normal execution.
60
-
61
- On Enno and Deep selection cards, use the displayed **Cmd+1–9** shortcuts on macOS
62
- or **Ctrl+1–9** on Windows/Linux, then press Enter to confirm. With the card
63
- focused, you can also type an option number and press Enter to submit. For options
64
- above nine, type consecutive digits (`1`, `2`, Enter selects option 12); Backspace
65
- corrects the number. Digits typed in the search field remain search text, and Enter
66
- submits the search. IME composition and repeated key events do not select or submit.
67
-
68
- Enno offers eleven versioned templates across **OpenAI, DeepSeek, OpenCode Go,
69
- OpenCode Zen, OpenRouter and Ollama**, plus a custom configured-model selector. The complete
70
- [template table and configuration reference](model-selection.ja.md) lists exact
71
- model IDs. OpenAI assigns Astra to ideal/Zenki/check, Sol to the Goki head and
72
- Luna to workers. Go and OpenRouter provide GLM and Qwen variants; Zen uses GLM.
73
- Ollama uses `qwen3-coder:30b` for every role, limits children to one, and never
74
- downloads models. Reasoning uses model defaults; reflection uses the check model.
75
-
76
- All DeepSeek recommendations use **V4.1 Flash for all five roles**. Exact IDs differ:
77
- `deepseek-flash` on [DeepSeek's API](https://www.deepseek.com/en/news/deepseek-v4-1-flash/),
78
- `deepseek-v4.1-flash` on [OpenCode Go](https://opencode.ai/docs/go/), and
79
- `deepseek/deepseek-v4.1-flash` on [OpenRouter](https://openrouter.ai/deepseek/deepseek-v4.1-flash).
80
- The direct DeepSeek template uses DSH's `deepseek-official` connection. These templates
81
- never substitute V4 Pro or an older Flash ID when V4.1 Flash is unavailable.
82
- The [OpenCode model registry](https://models.opencode.ai/api.json) was also checked
83
- on 2026-09-11. Its `opencode-go` entry includes V4.1 Flash; its Zen entry (`opencode`)
84
- does not. Registry entries can lag provider changes. Zen and Ollama
85
- use the configured-model selector for models without a verified template ID.
86
-
87
- OpenCode connections added in Kiokuko Models use the plugin's own transport. Custom connections to the official Zen/Go endpoints also retain conversation routing across Chat Completions, Responses and Messages. Native DSH provider profiles remain owned by DSH; select the Kiokuko Models connection to use this transport.
88
-
89
- For [dsh-codex](https://github.com/askdkc/dsh-codex), choose **OpenAI Codex・推奨(dsh-codex)**
90
- from the template menu, then confirm the configuration. It assigns Astra to
91
- ideal/planning/check, Sol to the Goki head and Luna to workers, following the
92
- [OpenAI model guide](https://developers.openai.com/api/docs/models). This is a
93
- quality/workload recommendation, not a measured per-task latency or quota optimum.
94
- The template also accepts a Kiokuko Models Codex connection with verified origin
95
- and Responses metadata, storing its stable `kiokuko-…` registration ID. The native
96
- route retains the `openai-codex` / `codex` / `responses` contract from
97
- [dsh-codex's implementation](https://github.com/askdkc/dsh-codex/blob/e2e61b6d8f3b511cf2dac99688e97b8728cb122c/src/index.ts)
98
- without asking for the connection again. Native DSH model validation takes
99
- precedence over legacy `modelRoutes` declarations; the plugin configuration file
100
- remains untouched. Recommended models must exist in the current DSH catalog;
101
- missing models leave roles unset and prevent starting. The catalog is rechecked
102
- immediately before adoption.
103
-
104
- Bind generic templates to actual configured DSH providers; route IDs are not assumed.
105
- Distinguish OpenAI API from Codex authentication and Go from Zen. The selector
106
- supports provider/model search, pagination, copying roles, editing, back and
107
- cancel. Exact IDs or declared aliases resolve models; similar display names
108
- never authorize substitutions. Edited templates are custom but retain their
109
- original template ID/version. Configuration confirmation shows every role's
110
- provider and model. Provider-catalog failure, missing routes/models and required
111
- compatibility verification have distinct presentations.
112
- Unset roles start with enno-ideal's provider and go straight to model selection;
113
- editing an assigned role keeps its own provider. Use “接続を変更” (change connection)
114
- on the model card to choose another provider. If the preferred provider is unset
115
- or no longer registered, the selector opens the provider list.
116
- Use “検索をクリア” to clear an empty search and “一覧を再取得” to retry a failed list.
117
- Free-text digits remain search terms. Selecting a model returns directly to role
118
- review. Provider family, authentication and protocol are taken from DSH rather
119
- than requested again. Back and cancel retain confirmed model assignments.
120
-
121
- To choose by model name, select **DSHに設定済みのモデルから選ぶ**, edit a role,
122
- select its connection, then search or select a model name and confirm the configuration.
123
- This works with configured **OpenCode Go, OpenCode Zen, OpenRouter and Ollama**
124
- connections. Every entry displays its name and exact ID; the same model on OpenRouter
125
- Each connection remains a distinct binding. Lists come from the current DSH profile.
126
- Register a missing connection in DSH and select **一覧を再取得** to refresh it.
127
- The public registry is a recommendation reference; it does not register models in
128
- DSH. Its `ollama-cloud` catalog is separate from a local Ollama installation.
129
-
130
- DSH owns provider authentication, transport and model validation. Kiokuko passes
131
- exact provider/model IDs to the native adapter and uses DSH's configurable-provider
132
- directory for template matching and local concurrency. Unknown provider metadata
133
- is not a reason to ask for connection details again. Authentication, quota and
134
- unavailable-model failures retain completed work and require reselection rather
135
- than automatic fallback.
136
-
137
- Optional legacy `modelRoutes` entries remain readable for older hosts and provider
138
- plugins without directory metadata. Current native metadata takes precedence;
139
- these entries never override DSH's wire settings. On hosts without native model
140
- validation, existing Astra/Go declarations retain their compatibility checks.
141
- Local validation and recording-adapter tests do not prove paid account access
142
- or provider acceptance of a request.
55
+ The shared decision service keeps at most 256 completed request bindings and 256 completed results in memory when it can reload them from persistent storage. It does not delete stored decisions. This applies to decisions used by normal execution and Lisp `kioku.decisions:*`; automatic model routing and this evaluation remain specific to normal execution.
56
+
57
+ Option question cards accept **Cmd+1–9** shortcuts on macOS or **Ctrl+1–9** on
58
+ Windows/Linux, then Enter to confirm. With the card focused, typing an option
59
+ number and pressing Enter also submits. For options above nine, type consecutive
60
+ digits (`1`, `2`, Enter selects option 12); Backspace corrects the number. Digits
61
+ typed into a search field remain search text, and Enter submits the search. IME
62
+ composition and repeated key events do not select or submit.
63
+
64
+ ## Head/worker model pairs
65
+
66
+ The native selection card offers the current DSH model (`通常実行`) or a fixed
67
+ **GPT-6.1-Sol head + DeepSeek V4.1 Flash subagent** pair for the task. The pair is
68
+ adopted only after live catalog validation of both exact model IDs; there is no
69
+ automatic replacement. A pair is stored per logical run or per session and never
70
+ rewrites an active task's resolved configuration. Agent-scoped assembly/request
71
+ hooks freeze one selection per request and restore ordinary routing at
72
+ completion.
73
+
74
+ OpenAI assignments follow the [OpenAI model guide](https://developers.openai.com/api/docs/models):
75
+ **gpt-6.1-sol** as the head and **gpt-6.1-luna**/DeepSeek **V4.1 Flash** as the
76
+ worker, matching dsh-codex registration IDs when using a Codex connection. Exact
77
+ provider/model IDs are passed to the native adapter; display names never
78
+ authorize substitutions.
79
+
80
+ DSH owns provider authentication, transport and model validation. Authentication,
81
+ quota and unavailable-model failures retain completed work and require reselection
82
+ rather than automatic fallback.
83
+
84
+ ## Persisted selection and recovery
143
85
 
144
86
  Resolved configuration and the ordinary model are persisted per logical run.
145
- Template updates do not rewrite active tasks. Agent-scoped assembly/request hooks
146
- freeze one selection per request and restore ordinary routing at completion;
147
- the Web `selectModel()` command and deployment defaults are not changed.
148
-
149
- `enno_delegate` accepts an `instruction` for the current approved WorkUnit. The
150
- host validates the lease, chooses the approved worker model and uses native
151
- in-process `spawn`. Children are bound before their first request and cannot
152
- restart intake, delegate or report parent acceptance. Initially workers use
153
- scoped file tools; Goki runs commands and focused verifiers and then reports with
154
- `enno_work_report`. Child completion is evidence, not WorkUnit acceptance.
155
- Interrupted delegations remain uncertain rather than being automatically replayed.
156
- Child concurrency is counted from durable state across restarts. Each child request
157
- and file operation rechecks the current lease. A hard process exit can leave a
158
- delegation marked as running; inspect its native child evidence before additional
159
- delegation. Restarting does not erase that reservation.
87
+ The configured execution owner binds run ownership to one `mode` and rejects
88
+ conflicting ownership rather than allowing a second task lane. A persisted
89
+ selection that no longer matches current policy degrades to an explicit reselect
90
+ prompt instead of being silently reinterpreted.
160
91
 
161
92
  Native tests cover request model IDs, ordinary README completion, cancel/reload,
162
93
  input recovery, independent sessions, routing restoration and actual adapter
163
94
  transport. Recording adapters do not verify paid account access, subscription
164
- limits or successful live provider responses. Existing advisors, leases, final
165
- verification, memory finalization and AgenticReplay behavior remain in place.
95
+ limits or successful live provider responses. Memory finalization and
96
+ AgenticReplay behavior remain in place.
@@ -1,6 +1,6 @@
1
1
  # Conversation-first intake (default)
2
2
 
3
- Conversation-first, on-demand intake is the default. No activation setting is needed for the bundled native host, `createDshHostAdapter`, or `mountCore`; a modular Enno host inherits the core setting. Existing saved configurations that omit `intakeMode` receive this default when loaded. The packaged bundle intentionally needs no new field.
3
+ Conversation-first, on-demand intake is the default. No activation setting is needed for the bundled native host, `createDshHostAdapter`, or `mountCore`; a modular host inherits the core setting. Existing saved configurations that omit `intakeMode` receive this default when loaded. The packaged bundle intentionally needs no new field.
4
4
 
5
5
  ```ts
6
6
  await mountCore(context, {
@@ -15,7 +15,7 @@ A separately supplied custom execution host can use the exported `createDshHostA
15
15
 
16
16
  ## Conversation before execution
17
17
 
18
- The native model receives the complete original user messages and may answer or ask a concrete clarification without opening Akinator's generic purpose question. The initial answer path does not fabricate a chat profile, ready intake, active ledger run, or completed task. Laya's result is provisional intent only; an abstention does not prevent conversation. A queued human request after a normal turn is classified independently rather than inheriting that stale turn's execution readiness. Existing Enno continuations retain their owner and original execution path.
18
+ The native model receives the complete original user messages and may answer or ask a concrete clarification without opening Akinator's generic purpose question. The initial answer path does not fabricate a chat profile, ready intake, active ledger run, or completed task. Laya's result is provisional intent only; an abstention does not prevent conversation. A queued human request after a normal turn is classified independently rather than inheriting that stale turn's execution readiness.
19
19
 
20
20
  Research, writing and action requests remain work requests. The host guidance tells the assistant to prepare requested tool-backed work rather than silently substitute a text answer or claim unperformed work.
21
21
 
@@ -4,7 +4,7 @@ Kiokuko registers native `kioku_read`, `kioku_write`, `kioku_edit`,
4
4
  `kioku_remove`, `kioku_exec`, and `kioku_result` tools. They use Node filesystem
5
5
  and process services directly; stock DSH filesystem/shell sandbox settings do
6
6
  not control this executor. Native presentation and PTC transport both remain
7
- supported. Plan, goal, cancellation, admitted identity, and Enno delegation
7
+ supported. Plan, goal, cancellation, admitted identity, and execution owner
8
8
  scope still apply.
9
9
 
10
10
  Ordinary project reads, edits, builds, tests, PATH commands and investigation
@@ -69,12 +69,12 @@ Unrelated generated files and ordinary reads do not invalidate declared source c
69
69
  omits it or has `approvalMode:ask`. Ordinary tools and Lisp coexist. Process RPC
70
70
  and workspace proposals use the owned executor; helper toolsets still compile
71
71
  and validate their schemas/examples. Worker failures leave ordinary tools
72
- available. `executionMode:protected` explicitly selects the legacy isolated
73
- worker/approval/fence behavior for compatibility; it is not the default.
74
-
75
- Lisp source can directly call filesystem/FFI APIs in development mode. Such
76
- effects are not independent process/test proof. Prefer `kioku.tools:call-tool`
77
- and `kioku.process` for observed results. Plan blocks effectful owned/Lisp
72
+ available. Every Lisp worker uses OS isolation: direct filesystem/FFI calls
73
+ cannot access the workspace or inherited credentials. Project effects pass
74
+ through `kioku.tools:call-tool`, `kioku.process` or workspace proposals, where
75
+ the host checks current ownership, permissions and cancellation before acting.
76
+ `executionMode:protected` retains its additional tool fence and proposal policy;
77
+ it is not the default. Plan blocks effectful owned/Lisp
78
78
  operations. An explicit human implementation instruction or plan approval
79
79
  requests Plan exit at the next accepted native boundary; merely presenting a
80
80
  plan does not exit it.
@@ -7,8 +7,8 @@ input and `prepare_requested_work`, then retain native permissions, memory
7
7
  review, and execution guards.
8
8
 
9
9
  Native fixtures now prepare each new work request, including human resume
10
- after unload/reload. The persisted Enno fixture creates the same session
11
- ownership receipt as production; it does not replace the default with eager
10
+ after unload/reload. The persisted fixtures use the same session
11
+ ownership receipt as production; they do not replace the default with eager
12
12
  intake. Eager compatibility tests remain explicitly identified.
13
13
 
14
14
  The fixed harness retains all original eleven scenario names and assertions.
@@ -108,20 +108,6 @@
108
108
  "changed": "Check commands and examples against current evidence. Separate tested behavior from suggestions. Match requested depth; a plain-language rewrite must not erase important failure modes. Report only the artifact unless explanation is useful.",
109
109
  "verification": "tests/dsh/unit/pstack-catalog.test.ts"
110
110
  },
111
- {
112
- "upstream": "pstack/skills/arena/SKILL.md",
113
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
114
- "idea": "Compare candidates and partition ownership",
115
- "changed": "Host-admitted execution only; no model fallback or automatic fanout",
116
- "verification": "tests/dsh/unit/pstack-catalog.test.ts"
117
- },
118
- {
119
- "upstream": "pstack/skills/swarm/SKILL.md",
120
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
121
- "idea": "Compare candidates and partition ownership",
122
- "changed": "Host-admitted execution only; no model fallback or automatic fanout",
123
- "verification": "tests/dsh/unit/pstack-catalog.test.ts"
124
- },
125
111
  {
126
112
  "upstream": "pstack/skills/poteto-mode/SKILL.md",
127
113
  "destination": "skills/kiokuko-soul/SKILL.md",
@@ -358,16 +344,6 @@
358
344
  "destination": "skills/one-shot-software-completion/SKILL.md",
359
345
  "disposition": "Adapt method only; host owns execution, resume and permissions. PR, shipping and cleanup require explicit authorization."
360
346
  },
361
- {
362
- "upstream": "pstack/skills/poteto-mode/playbooks/autopilot-full.md",
363
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
364
- "disposition": "Independent coverage only when host admitted; no automatic merging."
365
- },
366
- {
367
- "upstream": "pstack/skills/poteto-mode/playbooks/autopilot-stack.md",
368
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
369
- "disposition": "Respect unit dependencies and verify each accepted increment; no inferred Git authority."
370
- },
371
347
  {
372
348
  "upstream": "pstack/skills/poteto-mode/playbooks/babysit.md",
373
349
  "destination": "skills/one-shot-software-completion/SKILL.md",
@@ -408,16 +384,6 @@
408
384
  "destination": "skills/one-shot-software-completion/SKILL.md",
409
385
  "disposition": "Adapt method only; host owns execution, resume and permissions. PR, shipping and cleanup require explicit authorization."
410
386
  },
411
- {
412
- "upstream": "pstack/skills/poteto-mode/playbooks/orchestrate.md",
413
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
414
- "disposition": "Only host-admitted WorkUnits; disjoint ownership and evidence-backed synthesis."
415
- },
416
- {
417
- "upstream": "pstack/skills/poteto-mode/playbooks/pause-safely.md",
418
- "destination": "skills/kiokuko-enno-oduno/SKILL.md",
419
- "disposition": "Preserve completed effects and return through the host pause/recovery contract."
420
- },
421
387
  {
422
388
  "upstream": "pstack/skills/poteto-mode/playbooks/perf-issue.md",
423
389
  "destination": "skills/kiokuko-benchmark/SKILL.md",
@@ -1,6 +1,6 @@
1
1
  # Focused Kiokuko skills
2
2
 
3
- Seven specialists add investigation, architecture, review, benchmarking, verification recipes, skill authoring and technical writing. SOUL selects them only for relevant tasks. Existing code/UI/Enno/memory contracts remain authoritative. See [the adaptation ledger](pstack-adaptation.json) for all 49 upstream skills and 23 playbooks, pinned to the recorded commit. Upstream code is not installed or executed.
3
+ Seven specialists add investigation, architecture, review, benchmarking, verification recipes, skill authoring and technical writing. SOUL selects them only for relevant tasks. Existing code/UI/memory contracts remain authoritative. See [the adaptation ledger](pstack-adaptation.json) for the upstream skills and playbooks, pinned to the recorded commit. Upstream code is not installed or executed.
4
4
 
5
5
  The common guidance targets GPT-6 Astra and GPT-6.1 Sol without selecting either model or forcing a reasoning budget. Outcomes, constraints and evidence take precedence over ritual steps. Model quality remains **unmeasured** until both actual models are evaluated; local content and delivery tests do not establish model improvement.
6
6