kiokuko-dsh 0.2.40 → 0.2.42
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.
- package/PERMISSIONS.md +2 -2
- package/README.ja.md +17 -5
- package/README.ko.md +17 -5
- package/README.md +18 -6
- package/README.zh-CN.md +17 -5
- package/dist/akinator/skill-discovery-attempt.d.ts +3 -1
- package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -1
- package/dist/akinator/skill-discovery-attempt.js +12 -11
- package/dist/akinator/skill-discovery-attempt.js.map +1 -1
- package/dist/client.cjs +26 -15
- package/dist/client.d.ts.map +1 -1
- package/dist/context/continuity-view.d.ts +0 -11
- package/dist/context/continuity-view.d.ts.map +1 -1
- package/dist/context/continuity-view.js +5 -9
- package/dist/context/continuity-view.js.map +1 -1
- package/dist/deep-thinker/controller.d.ts +4 -1
- package/dist/deep-thinker/controller.d.ts.map +1 -1
- package/dist/deep-thinker/controller.js +10 -0
- package/dist/deep-thinker/controller.js.map +1 -1
- package/dist/deep-thinker/core/contracts.d.ts +11 -11
- package/dist/deep-thinker/memory-finalizer.d.ts +1 -1
- package/dist/deep-thinker/native-executor.d.ts +1 -1
- package/dist/deep-thinker/native-executor.d.ts.map +1 -1
- package/dist/deep-thinker/prompts.js +1 -1
- package/dist/deep-thinker/prompts.js.map +1 -1
- package/dist/deep-thinker/quality-prompts.js +1 -1
- package/dist/deep-thinker/quality-prompts.js.map +1 -1
- package/dist/deep-thinker/report.d.ts +1 -1
- package/dist/deep-thinker/store.d.ts +1 -1
- package/dist/dsh/agenticreplay-hooks.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-hooks.js +13 -0
- package/dist/dsh/agenticreplay-hooks.js.map +1 -1
- package/dist/dsh/agenticreplay-recorder.d.ts +5 -0
- package/dist/dsh/agenticreplay-recorder.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-recorder.js +19 -0
- package/dist/dsh/agenticreplay-recorder.js.map +1 -1
- package/dist/dsh/coding-workflow/contracts.d.ts +2 -5
- package/dist/dsh/coding-workflow/contracts.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/contracts.js +1 -1
- package/dist/dsh/coding-workflow/contracts.js.map +1 -1
- package/dist/dsh/coding-workflow/host.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/host.js +1 -4
- package/dist/dsh/coding-workflow/host.js.map +1 -1
- package/dist/dsh/coding-workflow/intent.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/intent.js +0 -6
- package/dist/dsh/coding-workflow/intent.js.map +1 -1
- package/dist/dsh/coding-workflow/service.d.ts +4 -8
- package/dist/dsh/coding-workflow/service.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/service.js +5 -57
- package/dist/dsh/coding-workflow/service.js.map +1 -1
- package/dist/dsh/completion-report.d.ts +0 -31
- package/dist/dsh/completion-report.d.ts.map +1 -1
- package/dist/dsh/completion-report.js +16 -94
- package/dist/dsh/completion-report.js.map +1 -1
- package/dist/dsh/composition.d.ts +1 -3
- package/dist/dsh/composition.d.ts.map +1 -1
- package/dist/dsh/composition.js +13 -34
- package/dist/dsh/composition.js.map +1 -1
- package/dist/dsh/config.d.ts +1 -22
- package/dist/dsh/config.d.ts.map +1 -1
- package/dist/dsh/config.js +0 -8
- package/dist/dsh/config.js.map +1 -1
- package/dist/dsh/context-injection.d.ts +1 -11
- package/dist/dsh/context-injection.d.ts.map +1 -1
- package/dist/dsh/context-injection.js +3 -24
- package/dist/dsh/context-injection.js.map +1 -1
- package/dist/dsh/continuity-adapter.d.ts +0 -5
- package/dist/dsh/continuity-adapter.d.ts.map +1 -1
- package/dist/dsh/continuity-adapter.js +1 -39
- package/dist/dsh/continuity-adapter.js.map +1 -1
- package/dist/dsh/core/host.d.ts.map +1 -1
- package/dist/dsh/core/host.js +8 -6
- package/dist/dsh/core/host.js.map +1 -1
- package/dist/dsh/core/tasks.d.ts.map +1 -1
- package/dist/dsh/core/tasks.js +10 -2
- package/dist/dsh/core/tasks.js.map +1 -1
- package/dist/dsh/decisions/akinator-answers.d.ts +12 -0
- package/dist/dsh/decisions/akinator-answers.d.ts.map +1 -0
- package/dist/dsh/decisions/akinator-answers.js +30 -0
- package/dist/dsh/decisions/akinator-answers.js.map +1 -0
- package/dist/dsh/decisions/contracts.d.ts +0 -1
- package/dist/dsh/decisions/contracts.d.ts.map +1 -1
- package/dist/dsh/decisions/contracts.js +1 -1
- package/dist/dsh/decisions/contracts.js.map +1 -1
- package/dist/dsh/decisions/diagnostics.d.ts +8 -11
- package/dist/dsh/decisions/diagnostics.d.ts.map +1 -1
- package/dist/dsh/decisions/diagnostics.js +1 -9
- package/dist/dsh/decisions/diagnostics.js.map +1 -1
- package/dist/dsh/decisions/intent-assessment.d.ts +2 -5
- package/dist/dsh/decisions/intent-assessment.d.ts.map +1 -1
- package/dist/dsh/decisions/intent-assessment.js +17 -9
- package/dist/dsh/decisions/intent-assessment.js.map +1 -1
- package/dist/dsh/decisions/service.d.ts.map +1 -1
- package/dist/dsh/decisions/service.js +13 -1
- package/dist/dsh/decisions/service.js.map +1 -1
- package/dist/dsh/efficiency.d.ts +0 -3
- package/dist/dsh/efficiency.d.ts.map +1 -1
- package/dist/dsh/efficiency.js +1 -9
- package/dist/dsh/efficiency.js.map +1 -1
- package/dist/dsh/execution-selection.d.ts +6 -7
- package/dist/dsh/execution-selection.d.ts.map +1 -1
- package/dist/dsh/execution-selection.js +10 -15
- package/dist/dsh/execution-selection.js.map +1 -1
- package/dist/dsh/execution-support.d.ts +0 -4
- package/dist/dsh/execution-support.d.ts.map +1 -1
- package/dist/dsh/execution-support.js +3 -15
- package/dist/dsh/execution-support.js.map +1 -1
- package/dist/dsh/existing-task-intake.d.ts +3 -0
- package/dist/dsh/existing-task-intake.d.ts.map +1 -1
- package/dist/dsh/existing-task-intake.js +6 -2
- package/dist/dsh/existing-task-intake.js.map +1 -1
- package/dist/dsh/harness/factory.d.ts +110 -0
- package/dist/dsh/harness/factory.d.ts.map +1 -0
- package/dist/dsh/harness/factory.js +582 -0
- package/dist/dsh/harness/factory.js.map +1 -0
- package/dist/dsh/harness/inbox.d.ts +22 -0
- package/dist/dsh/harness/inbox.d.ts.map +1 -0
- package/dist/dsh/harness/inbox.js +61 -0
- package/dist/dsh/harness/inbox.js.map +1 -0
- package/dist/dsh/harness/index.d.ts +19 -0
- package/dist/dsh/harness/index.d.ts.map +1 -0
- package/dist/dsh/harness/index.js +26 -0
- package/dist/dsh/harness/index.js.map +1 -0
- package/dist/dsh/harness/lifecycle.d.ts +26 -0
- package/dist/dsh/harness/lifecycle.d.ts.map +1 -0
- package/dist/dsh/harness/lifecycle.js +21 -0
- package/dist/dsh/harness/lifecycle.js.map +1 -0
- package/dist/dsh/harness/projections.d.ts +16 -0
- package/dist/dsh/harness/projections.d.ts.map +1 -0
- package/dist/dsh/harness/projections.js +34 -0
- package/dist/dsh/harness/projections.js.map +1 -0
- package/dist/dsh/head-worker-configuration.d.ts +1 -2
- package/dist/dsh/head-worker-configuration.d.ts.map +1 -1
- package/dist/dsh/head-worker-configuration.js +0 -5
- package/dist/dsh/head-worker-configuration.js.map +1 -1
- package/dist/dsh/host-adapter/admission.d.ts +1 -8
- package/dist/dsh/host-adapter/admission.d.ts.map +1 -1
- package/dist/dsh/host-adapter/admission.js +51 -260
- package/dist/dsh/host-adapter/admission.js.map +1 -1
- package/dist/dsh/host-adapter/boundaries.d.ts +1 -28
- package/dist/dsh/host-adapter/boundaries.d.ts.map +1 -1
- package/dist/dsh/host-adapter/boundaries.js +27 -328
- package/dist/dsh/host-adapter/boundaries.js.map +1 -1
- package/dist/dsh/host-adapter/context.d.ts +1 -7
- package/dist/dsh/host-adapter/context.d.ts.map +1 -1
- package/dist/dsh/host-adapter/context.js +5 -28
- package/dist/dsh/host-adapter/context.js.map +1 -1
- package/dist/dsh/host-adapter/efficiency-host.d.ts +0 -2
- package/dist/dsh/host-adapter/efficiency-host.d.ts.map +1 -1
- package/dist/dsh/host-adapter/efficiency-host.js +2 -2
- package/dist/dsh/host-adapter/efficiency-host.js.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.d.ts +0 -7
- package/dist/dsh/host-adapter/lifecycle.d.ts.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.js +58 -71
- package/dist/dsh/host-adapter/lifecycle.js.map +1 -1
- package/dist/dsh/host-adapter/memory-application-host.d.ts +0 -2
- package/dist/dsh/host-adapter/memory-application-host.d.ts.map +1 -1
- package/dist/dsh/host-adapter/memory-application-host.js +2 -2
- package/dist/dsh/host-adapter/memory-application-host.js.map +1 -1
- package/dist/dsh/host-adapter/routing.d.ts +1 -5
- package/dist/dsh/host-adapter/routing.d.ts.map +1 -1
- package/dist/dsh/host-adapter/routing.js +21 -73
- package/dist/dsh/host-adapter/routing.js.map +1 -1
- package/dist/dsh/host-adapter/session-observation.d.ts +1 -8
- package/dist/dsh/host-adapter/session-observation.d.ts.map +1 -1
- package/dist/dsh/host-adapter/session-observation.js +2 -55
- package/dist/dsh/host-adapter/session-observation.js.map +1 -1
- package/dist/dsh/host-adapter/tool-host.d.ts +3 -41
- package/dist/dsh/host-adapter/tool-host.d.ts.map +1 -1
- package/dist/dsh/host-adapter/tool-host.js +14 -243
- package/dist/dsh/host-adapter/tool-host.js.map +1 -1
- package/dist/dsh/host-adapter/turn-state.d.ts +0 -4
- package/dist/dsh/host-adapter/turn-state.d.ts.map +1 -1
- package/dist/dsh/host-adapter/turn-state.js +16 -93
- package/dist/dsh/host-adapter/turn-state.js.map +1 -1
- package/dist/dsh/host-adapter.d.ts +0 -11
- package/dist/dsh/host-adapter.d.ts.map +1 -1
- package/dist/dsh/host-adapter.js +23 -181
- package/dist/dsh/host-adapter.js.map +1 -1
- package/dist/dsh/index.d.ts +3 -16
- package/dist/dsh/index.d.ts.map +1 -1
- package/dist/dsh/index.js +0 -6
- package/dist/dsh/index.js.map +1 -1
- package/dist/dsh/intake-gate.d.ts.map +1 -1
- package/dist/dsh/intake-gate.js +7 -2
- package/dist/dsh/intake-gate.js.map +1 -1
- package/dist/dsh/intake-profile-resolver.d.ts.map +1 -1
- package/dist/dsh/intake-profile-resolver.js +4 -9
- package/dist/dsh/intake-profile-resolver.js.map +1 -1
- package/dist/dsh/lifecycle-memory.d.ts +3 -0
- package/dist/dsh/lifecycle-memory.d.ts.map +1 -1
- package/dist/dsh/lifecycle-memory.js +67 -45
- package/dist/dsh/lifecycle-memory.js.map +1 -1
- package/dist/dsh/lisp/candidate.d.ts +2 -2
- package/dist/dsh/lisp/code-intelligence-contracts.d.ts +1 -1
- package/dist/dsh/lisp/compiled-cache.d.ts.map +1 -1
- package/dist/dsh/lisp/compiled-cache.js +4 -3
- package/dist/dsh/lisp/compiled-cache.js.map +1 -1
- package/dist/dsh/lisp/host-tool-dispatch.d.ts.map +1 -1
- package/dist/dsh/lisp/host-tool-dispatch.js +14 -5
- package/dist/dsh/lisp/host-tool-dispatch.js.map +1 -1
- package/dist/dsh/lisp/manager.d.ts +7 -4
- package/dist/dsh/lisp/manager.d.ts.map +1 -1
- package/dist/dsh/lisp/manager.js +132 -103
- package/dist/dsh/lisp/manager.js.map +1 -1
- package/dist/dsh/lisp/native-child-ownership.d.ts +31 -0
- package/dist/dsh/lisp/native-child-ownership.d.ts.map +1 -0
- package/dist/dsh/lisp/native-child-ownership.js +66 -0
- package/dist/dsh/lisp/native-child-ownership.js.map +1 -0
- package/dist/dsh/lisp/sandbox.d.ts.map +1 -1
- package/dist/dsh/lisp/sandbox.js +1 -5
- package/dist/dsh/lisp/sandbox.js.map +1 -1
- package/dist/dsh/lisp/supervision.d.ts +33 -0
- package/dist/dsh/lisp/supervision.d.ts.map +1 -0
- package/dist/dsh/lisp/supervision.js +89 -0
- package/dist/dsh/lisp/supervision.js.map +1 -0
- package/dist/dsh/lisp/surface.d.ts +2 -2
- package/dist/dsh/lisp/surface.d.ts.map +1 -1
- package/dist/dsh/lisp/surface.js +110 -11
- package/dist/dsh/lisp/surface.js.map +1 -1
- package/dist/dsh/lisp/worker.d.ts +2 -1
- package/dist/dsh/lisp/worker.d.ts.map +1 -1
- package/dist/dsh/lisp/worker.js +7 -1
- package/dist/dsh/lisp/worker.js.map +1 -1
- package/dist/dsh/loop-guard.d.ts +0 -8
- package/dist/dsh/loop-guard.d.ts.map +1 -1
- package/dist/dsh/loop-guard.js +0 -51
- package/dist/dsh/loop-guard.js.map +1 -1
- package/dist/dsh/memory-application.d.ts.map +1 -1
- package/dist/dsh/memory-application.js +0 -6
- package/dist/dsh/memory-application.js.map +1 -1
- package/dist/dsh/message-sources.d.ts +2 -12
- package/dist/dsh/message-sources.d.ts.map +1 -1
- package/dist/dsh/message-sources.js +20 -39
- package/dist/dsh/message-sources.js.map +1 -1
- package/dist/dsh/model-configuration.d.ts +6 -24
- package/dist/dsh/model-configuration.d.ts.map +1 -1
- package/dist/dsh/model-configuration.js +1 -78
- package/dist/dsh/model-configuration.js.map +1 -1
- package/dist/dsh/model-routing.d.ts +1 -3
- package/dist/dsh/model-routing.d.ts.map +1 -1
- package/dist/dsh/model-routing.js +8 -13
- package/dist/dsh/model-routing.js.map +1 -1
- package/dist/dsh/model-selection-ui.d.ts +1 -2
- package/dist/dsh/model-selection-ui.d.ts.map +1 -1
- package/dist/dsh/model-selection-ui.js +48 -309
- package/dist/dsh/model-selection-ui.js.map +1 -1
- package/dist/dsh/models/contracts.d.ts +2 -2
- package/dist/dsh/models/profiles.d.ts.map +1 -1
- package/dist/dsh/models/profiles.js +4 -1
- package/dist/dsh/models/profiles.js.map +1 -1
- package/dist/dsh/models/service.d.ts +9 -1
- package/dist/dsh/models/service.d.ts.map +1 -1
- package/dist/dsh/models/service.js +29 -5
- package/dist/dsh/models/service.js.map +1 -1
- package/dist/dsh/models/vendor/infron-listing.d.ts +17 -0
- package/dist/dsh/models/vendor/infron-listing.d.ts.map +1 -0
- package/dist/dsh/models/vendor/infron-listing.js +97 -0
- package/dist/dsh/models/vendor/infron-listing.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-adapter.d.ts.map +1 -1
- package/dist/dsh/models/vendor/opencode-adapter.js +6 -1
- package/dist/dsh/models/vendor/opencode-adapter.js.map +1 -1
- package/dist/dsh/modules/legacy-bindings.d.ts +3 -1
- package/dist/dsh/modules/legacy-bindings.d.ts.map +1 -1
- package/dist/dsh/modules/legacy-bindings.js +5 -5
- package/dist/dsh/modules/legacy-bindings.js.map +1 -1
- package/dist/dsh/modules/lisp.js +1 -1
- package/dist/dsh/modules/lisp.js.map +1 -1
- package/dist/dsh/native-execution-ownership.d.ts.map +1 -1
- package/dist/dsh/native-execution-ownership.js +0 -2
- package/dist/dsh/native-execution-ownership.js.map +1 -1
- package/dist/dsh/native-task-authority.js +1 -1
- package/dist/dsh/native-task-authority.js.map +1 -1
- package/dist/dsh/native-worker-routing.d.ts.map +1 -1
- package/dist/dsh/native-worker-routing.js +11 -4
- package/dist/dsh/native-worker-routing.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts +9 -2
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +56 -9
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/dsh/orchestration/execution-owner.d.ts +3 -1
- package/dist/dsh/orchestration/execution-owner.d.ts.map +1 -1
- package/dist/dsh/orchestration/execution-owner.js.map +1 -1
- package/dist/dsh/orchestration/managed-agent-executor.d.ts +14 -13
- package/dist/dsh/orchestration/managed-agent-executor.d.ts.map +1 -1
- package/dist/dsh/orchestration/managed-agent-executor.js +7 -2
- package/dist/dsh/orchestration/managed-agent-executor.js.map +1 -1
- package/dist/dsh/owned-execution.js +1 -1
- package/dist/dsh/owned-execution.js.map +1 -1
- package/dist/dsh/replay-memory-extract.d.ts.map +1 -1
- package/dist/dsh/replay-memory-extract.js +15 -1
- package/dist/dsh/replay-memory-extract.js.map +1 -1
- package/dist/dsh/repository-learning.d.ts +1 -0
- package/dist/dsh/repository-learning.d.ts.map +1 -1
- package/dist/dsh/repository-learning.js +73 -9
- package/dist/dsh/repository-learning.js.map +1 -1
- package/dist/dsh/runtime.d.ts +10 -2
- package/dist/dsh/runtime.d.ts.map +1 -1
- package/dist/dsh/runtime.js +22 -43
- package/dist/dsh/runtime.js.map +1 -1
- package/dist/dsh/semantic-compaction/policy.js +1 -1
- package/dist/dsh/semantic-compaction/policy.js.map +1 -1
- package/dist/dsh/session-bridge.d.ts +1 -1
- package/dist/dsh/session-bridge.d.ts.map +1 -1
- package/dist/dsh/session-bridge.js +1 -1
- package/dist/dsh/session-bridge.js.map +1 -1
- package/dist/dsh/session-memory-finalizer.js +1 -1
- package/dist/dsh/session-memory-finalizer.js.map +1 -1
- package/dist/dsh/session-review-context.d.ts.map +1 -1
- package/dist/dsh/session-review-context.js +3 -16
- package/dist/dsh/session-review-context.js.map +1 -1
- package/dist/dsh/setup.d.ts +1 -1
- package/dist/dsh/setup.d.ts.map +1 -1
- package/dist/dsh/skill-compiler.js +1 -1
- package/dist/dsh/skill-compiler.js.map +1 -1
- package/dist/dsh/skill-prompt-contracts.d.ts +2 -2
- package/dist/dsh/skill-prompt-contracts.js +1 -1
- package/dist/dsh/skill-prompts.json +1 -1
- package/dist/dsh/standard-skills.d.ts +1 -8
- package/dist/dsh/standard-skills.d.ts.map +1 -1
- package/dist/dsh/standard-skills.js +1 -8
- package/dist/dsh/standard-skills.js.map +1 -1
- package/dist/dsh/task-authority-context.d.ts +3 -0
- package/dist/dsh/task-authority-context.d.ts.map +1 -1
- package/dist/dsh/task-authority-context.js +3 -0
- package/dist/dsh/task-authority-context.js.map +1 -1
- package/dist/dsh/task-completion-guidance.d.ts +1 -5
- package/dist/dsh/task-completion-guidance.d.ts.map +1 -1
- package/dist/dsh/task-completion-guidance.js +4 -6
- package/dist/dsh/task-completion-guidance.js.map +1 -1
- package/dist/dsh/task-completion-host.js +4 -4
- package/dist/dsh/task-completion-host.js.map +1 -1
- package/dist/dsh/task-completion.d.ts +1 -13
- package/dist/dsh/task-completion.d.ts.map +1 -1
- package/dist/dsh/task-completion.js +9 -104
- package/dist/dsh/task-completion.js.map +1 -1
- package/dist/dsh/task-intake.d.ts +2 -3
- package/dist/dsh/task-intake.d.ts.map +1 -1
- package/dist/dsh/task-intake.js +90 -86
- package/dist/dsh/task-intake.js.map +1 -1
- package/dist/dsh/task-startup.d.ts.map +1 -1
- package/dist/dsh/task-startup.js +4 -7
- package/dist/dsh/task-startup.js.map +1 -1
- package/dist/dsh/task-state-host.d.ts +4 -0
- package/dist/dsh/task-state-host.d.ts.map +1 -1
- package/dist/dsh/task-state-host.js +20 -1
- package/dist/dsh/task-state-host.js.map +1 -1
- package/dist/dsh/task-state.d.ts.map +1 -1
- package/dist/dsh/task-state.js +0 -8
- package/dist/dsh/task-state.js.map +1 -1
- package/dist/dsh/tool-exposure.d.ts +1 -1
- package/dist/dsh/tool-exposure.d.ts.map +1 -1
- package/dist/dsh/tool-exposure.js +0 -2
- package/dist/dsh/tool-exposure.js.map +1 -1
- package/dist/dsh/tool-policy.d.ts +5 -8
- package/dist/dsh/tool-policy.d.ts.map +1 -1
- package/dist/dsh/tool-policy.js +3 -35
- package/dist/dsh/tool-policy.js.map +1 -1
- package/dist/dsh/tools.d.ts +2 -6
- package/dist/dsh/tools.d.ts.map +1 -1
- package/dist/dsh/tools.js +7 -63
- package/dist/dsh/tools.js.map +1 -1
- package/dist/dsh/turn-process.d.ts +0 -93
- package/dist/dsh/turn-process.d.ts.map +1 -1
- package/dist/dsh/turn-process.js +1 -307
- package/dist/dsh/turn-process.js.map +1 -1
- package/dist/dsh/user-interaction.d.ts +9 -16
- package/dist/dsh/user-interaction.d.ts.map +1 -1
- package/dist/dsh/user-interaction.js +19 -158
- package/dist/dsh/user-interaction.js.map +1 -1
- package/dist/index.js +2 -19
- package/dist/ledger/types.d.ts +1 -1
- package/dist/ledger/types.d.ts.map +1 -1
- package/dist/ledger/types.js +0 -7
- package/dist/ledger/types.js.map +1 -1
- package/dist/locale/en.json +1 -1
- package/dist/locale/ja.json +1 -1
- package/dist/locale/ko.json +1 -1
- package/dist/locale/zh-CN.json +1 -1
- package/dist/memory/correction-contract.d.ts +4 -4
- package/dist/memory/lifecycle.d.ts +1 -1
- package/dist/memory/review/evidence.js +1 -1
- package/dist/memory/review/evidence.js.map +1 -1
- package/dist/model-tools/contracts.d.ts +0 -437
- package/dist/model-tools/contracts.d.ts.map +1 -1
- package/dist/model-tools/contracts.js +0 -13
- package/dist/model-tools/contracts.js.map +1 -1
- package/dist/model-tools/names.d.ts +1 -1
- package/dist/model-tools/names.d.ts.map +1 -1
- package/dist/model-tools/names.js +0 -7
- package/dist/model-tools/names.js.map +1 -1
- package/dist/model-tools/registry.js +1 -1
- package/dist/model-tools/registry.js.map +1 -1
- package/dist/models-client.cjs +3 -2
- package/dist/models-client.js +2 -2
- package/dist/models-client.js.map +1 -1
- package/docs/README.ja.md +0 -1
- package/docs/README.md +0 -1
- package/docs/agenticreplay-recording.md +1 -1
- package/docs/agenticreplay-verification.md +1 -1
- package/docs/answer-review.md +2 -2
- package/docs/architecture.md +4 -7
- package/docs/auto-memory-review.md +3 -3
- package/docs/coding-workflow.md +1 -1
- package/docs/concepts.ja.md +3 -5
- package/docs/concepts.md +3 -5
- package/docs/core-modules.md +5 -16
- package/docs/database.md +5 -10
- package/docs/decision-diagnostics.md +1 -2
- package/docs/deep-planning.md +3 -3
- package/docs/dsh-plugin.md +42 -178
- package/docs/execution-ledger.md +1 -2
- package/docs/execution-support.md +6 -7
- package/docs/harness-map.md +1 -1
- package/docs/japanese-output.md +1 -1
- package/docs/keyboard-shortcuts.md +1 -1
- package/docs/kiokuko-harness.md +71 -0
- package/docs/kiokuko-models.md +12 -9
- package/docs/lisp-hot-tools.md +12 -7
- package/docs/lisp.md +44 -10
- package/docs/memory-application.md +5 -5
- package/docs/memory-delivery.md +1 -1
- package/docs/memory-reuse.md +1 -1
- package/docs/model-selection.ja.md +40 -123
- package/docs/model-selection.md +45 -114
- package/docs/on-demand-intake.md +5 -3
- package/docs/owned-execution.md +7 -7
- package/docs/pr72-ci-verification.md +2 -2
- package/docs/pstack-adaptation.json +0 -34
- package/docs/pstack-skills.md +1 -1
- package/docs/repository-learning.md +14 -37
- package/docs/semantic-compaction.md +2 -2
- package/docs/session-history-repair.md +2 -2
- package/docs/skill-compiler.md +2 -4
- package/docs/tool-exposure.md +1 -1
- package/docs/typed-decisions.md +4 -11
- package/docs/verification.md +11 -7
- package/dsh/cordis.legacy.patch.yml +7 -0
- package/dsh/cordis.patch.yml +6 -1
- package/lisp/supervisor.mjs +9 -6
- package/lisp/tools.lisp +1 -1
- package/migrations/051_drop_enno.sql +19 -0
- package/package.json +5 -14
- package/scripts/session-history-codec.mjs +1 -1
- package/skills/coding-ideal-routine-skill/SKILL.md +1 -1
- package/skills/kiokuko-lisp/SKILL.md +11 -5
- package/skills/kiokuko-single-purpose-functions/SKILL.md +1 -1
- package/skills/kiokuko-ui-design-soul/SKILL.md +2 -2
- package/skills/one-shot-software-completion/SKILL.md +4 -7
- package/skills/one-shot-software-completion/references/boundaries-and-lifecycle.md +3 -5
- package/dist/dsh/advisory-runner.d.ts +0 -32
- package/dist/dsh/advisory-runner.d.ts.map +0 -1
- package/dist/dsh/advisory-runner.js +0 -116
- package/dist/dsh/advisory-runner.js.map +0 -1
- package/dist/dsh/completion-verifiers.d.ts +0 -45
- package/dist/dsh/completion-verifiers.d.ts.map +0 -1
- package/dist/dsh/completion-verifiers.js +0 -9
- package/dist/dsh/completion-verifiers.js.map +0 -1
- package/dist/dsh/continuation.d.ts +0 -24
- package/dist/dsh/continuation.d.ts.map +0 -1
- package/dist/dsh/continuation.js +0 -215
- package/dist/dsh/continuation.js.map +0 -1
- package/dist/dsh/decisions/check-model.d.ts +0 -6
- package/dist/dsh/decisions/check-model.d.ts.map +0 -1
- package/dist/dsh/decisions/check-model.js +0 -36
- package/dist/dsh/decisions/check-model.js.map +0 -1
- package/dist/dsh/decisions/plan-review.d.ts +0 -17
- package/dist/dsh/decisions/plan-review.d.ts.map +0 -1
- package/dist/dsh/decisions/plan-review.js +0 -68
- package/dist/dsh/decisions/plan-review.js.map +0 -1
- package/dist/dsh/directive-projection.d.ts +0 -7
- package/dist/dsh/directive-projection.d.ts.map +0 -1
- package/dist/dsh/directive-projection.js +0 -32
- package/dist/dsh/directive-projection.js.map +0 -1
- package/dist/dsh/enno-controller.d.ts +0 -132
- package/dist/dsh/enno-controller.d.ts.map +0 -1
- package/dist/dsh/enno-controller.js +0 -368
- package/dist/dsh/enno-controller.js.map +0 -1
- package/dist/dsh/enno-delegation.d.ts +0 -36
- package/dist/dsh/enno-delegation.d.ts.map +0 -1
- package/dist/dsh/enno-delegation.js +0 -203
- package/dist/dsh/enno-delegation.js.map +0 -1
- package/dist/dsh/enno-memory-refresh-store.d.ts +0 -26
- package/dist/dsh/enno-memory-refresh-store.d.ts.map +0 -1
- package/dist/dsh/enno-memory-refresh-store.js +0 -45
- package/dist/dsh/enno-memory-refresh-store.js.map +0 -1
- package/dist/dsh/enno-memory-refresh.d.ts +0 -57
- package/dist/dsh/enno-memory-refresh.d.ts.map +0 -1
- package/dist/dsh/enno-memory-refresh.js +0 -280
- package/dist/dsh/enno-memory-refresh.js.map +0 -1
- package/dist/dsh/host-adapter/enno-memory-host.d.ts +0 -29
- package/dist/dsh/host-adapter/enno-memory-host.d.ts.map +0 -1
- package/dist/dsh/host-adapter/enno-memory-host.js +0 -49
- package/dist/dsh/host-adapter/enno-memory-host.js.map +0 -1
- package/dist/dsh/modules/enno.d.ts +0 -70
- package/dist/dsh/modules/enno.d.ts.map +0 -1
- package/dist/dsh/modules/enno.js +0 -22
- package/dist/dsh/modules/enno.js.map +0 -1
- package/dist/dsh/verification-identity.d.ts +0 -3
- package/dist/dsh/verification-identity.d.ts.map +0 -1
- package/dist/dsh/verification-identity.js +0 -15
- package/dist/dsh/verification-identity.js.map +0 -1
- package/dist/enno-oduno/advisory-store.d.ts +0 -31
- package/dist/enno-oduno/advisory-store.d.ts.map +0 -1
- package/dist/enno-oduno/advisory-store.js +0 -105
- package/dist/enno-oduno/advisory-store.js.map +0 -1
- package/dist/enno-oduno/advisory.d.ts +0 -18
- package/dist/enno-oduno/advisory.d.ts.map +0 -1
- package/dist/enno-oduno/advisory.js +0 -311
- package/dist/enno-oduno/advisory.js.map +0 -1
- package/dist/enno-oduno/coding-workflow.d.ts +0 -39
- package/dist/enno-oduno/coding-workflow.d.ts.map +0 -1
- package/dist/enno-oduno/coding-workflow.js +0 -33
- package/dist/enno-oduno/coding-workflow.js.map +0 -1
- package/dist/enno-oduno/confirmation.d.ts +0 -4
- package/dist/enno-oduno/confirmation.d.ts.map +0 -1
- package/dist/enno-oduno/confirmation.js +0 -146
- package/dist/enno-oduno/confirmation.js.map +0 -1
- package/dist/enno-oduno/directives.d.ts +0 -10
- package/dist/enno-oduno/directives.d.ts.map +0 -1
- package/dist/enno-oduno/directives.js +0 -294
- package/dist/enno-oduno/directives.js.map +0 -1
- package/dist/enno-oduno/experts.d.ts +0 -3
- package/dist/enno-oduno/experts.d.ts.map +0 -1
- package/dist/enno-oduno/experts.js +0 -28
- package/dist/enno-oduno/experts.js.map +0 -1
- package/dist/enno-oduno/handoff.d.ts +0 -4
- package/dist/enno-oduno/handoff.d.ts.map +0 -1
- package/dist/enno-oduno/handoff.js +0 -18
- package/dist/enno-oduno/handoff.js.map +0 -1
- package/dist/enno-oduno/language.d.ts +0 -4
- package/dist/enno-oduno/language.d.ts.map +0 -1
- package/dist/enno-oduno/language.js +0 -6
- package/dist/enno-oduno/language.js.map +0 -1
- package/dist/enno-oduno/memory-focus.d.ts +0 -32
- package/dist/enno-oduno/memory-focus.d.ts.map +0 -1
- package/dist/enno-oduno/memory-focus.js +0 -87
- package/dist/enno-oduno/memory-focus.js.map +0 -1
- package/dist/enno-oduno/memory-refresh-policy.d.ts +0 -17
- package/dist/enno-oduno/memory-refresh-policy.d.ts.map +0 -1
- package/dist/enno-oduno/memory-refresh-policy.js +0 -11
- package/dist/enno-oduno/memory-refresh-policy.js.map +0 -1
- package/dist/enno-oduno/memory-verification.d.ts +0 -7
- package/dist/enno-oduno/memory-verification.d.ts.map +0 -1
- package/dist/enno-oduno/memory-verification.js +0 -59
- package/dist/enno-oduno/memory-verification.js.map +0 -1
- package/dist/enno-oduno/plan-draft.d.ts +0 -15
- package/dist/enno-oduno/plan-draft.d.ts.map +0 -1
- package/dist/enno-oduno/plan-draft.js +0 -20
- package/dist/enno-oduno/plan-draft.js.map +0 -1
- package/dist/enno-oduno/plan-recovery.d.ts +0 -44
- package/dist/enno-oduno/plan-recovery.d.ts.map +0 -1
- package/dist/enno-oduno/plan-recovery.js +0 -160
- package/dist/enno-oduno/plan-recovery.js.map +0 -1
- package/dist/enno-oduno/repository-state.d.ts +0 -10
- package/dist/enno-oduno/repository-state.d.ts.map +0 -1
- package/dist/enno-oduno/repository-state.js +0 -146
- package/dist/enno-oduno/repository-state.js.map +0 -1
- package/dist/enno-oduno/sanitize.d.ts +0 -17
- package/dist/enno-oduno/sanitize.d.ts.map +0 -1
- package/dist/enno-oduno/sanitize.js +0 -88
- package/dist/enno-oduno/sanitize.js.map +0 -1
- package/dist/enno-oduno/schemas.d.ts +0 -968
- package/dist/enno-oduno/schemas.d.ts.map +0 -1
- package/dist/enno-oduno/schemas.js +0 -622
- package/dist/enno-oduno/schemas.js.map +0 -1
- package/dist/enno-oduno/service.d.ts +0 -62
- package/dist/enno-oduno/service.d.ts.map +0 -1
- package/dist/enno-oduno/service.js +0 -1505
- package/dist/enno-oduno/service.js.map +0 -1
- package/dist/enno-oduno/skills.d.ts +0 -22
- package/dist/enno-oduno/skills.d.ts.map +0 -1
- package/dist/enno-oduno/skills.js +0 -127
- package/dist/enno-oduno/skills.js.map +0 -1
- package/dist/enno-oduno/store.d.ts +0 -109
- package/dist/enno-oduno/store.d.ts.map +0 -1
- package/dist/enno-oduno/store.js +0 -833
- package/dist/enno-oduno/store.js.map +0 -1
- package/dist/enno-oduno/types.d.ts +0 -457
- package/dist/enno-oduno/types.d.ts.map +0 -1
- package/dist/enno-oduno/types.js +0 -66
- package/dist/enno-oduno/types.js.map +0 -1
- package/dist/enno-oduno/validation-errors.d.ts +0 -93
- package/dist/enno-oduno/validation-errors.d.ts.map +0 -1
- package/dist/enno-oduno/validation-errors.js +0 -159
- package/dist/enno-oduno/validation-errors.js.map +0 -1
- package/dist/enno-oduno/verifier.d.ts +0 -16
- package/dist/enno-oduno/verifier.d.ts.map +0 -1
- package/dist/enno-oduno/verifier.js +0 -271
- package/dist/enno-oduno/verifier.js.map +0 -1
- package/docs/enno-memory-benchmark.json +0 -761
- package/docs/enno-memory-evaluation.md +0 -137
- package/docs/enno-oduno.ja.md +0 -68
- package/docs/enno-oduno.md +0 -94
- package/skills/kiokuko-enno-oduno/SKILL.md +0 -64
- package/skills/kiokuko-enno-oduno/enno-oduno.png +0 -0
package/docs/lisp.md
CHANGED
|
@@ -10,7 +10,7 @@ For explicit semantic decisions and `/kioku-typesafe-key` setup, see
|
|
|
10
10
|
[TypeSafe from Lisp](typesafe.md). Answers can guide inspection and proposals;
|
|
11
11
|
the existing permission and approval boundaries still apply.
|
|
12
12
|
|
|
13
|
-
The default is `lisp.executionMode: development`. Old `approvalMode` values remain readable. Set `executionMode: protected` explicitly to select the
|
|
13
|
+
The default is `lisp.executionMode: development`. Old `approvalMode` values remain readable. Set `executionMode: protected` explicitly to select the additional approval and tool-fence policy. See [owned execution and memory evidence](owned-execution.md).
|
|
14
14
|
|
|
15
15
|
## Task state at execution boundaries
|
|
16
16
|
|
|
@@ -87,9 +87,43 @@ Session disposal also stops its workers. Normal suspension appears as `SUSPENDED
|
|
|
87
87
|
retains protection and resumes automatically on the next use; status polling never
|
|
88
88
|
starts a worker. Variables, definitions and references are lost on restart; the
|
|
89
89
|
agent receives the new generation and must rebuild helpers without replaying
|
|
90
|
-
completed effects.
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
completed effects. A clean host restart or an exited idle child resumes on the next
|
|
91
|
+
admitted request after confirmed process termination and journal reconciliation.
|
|
92
|
+
Fault replacements are limited to two per owner in 60 seconds. Explicit cancellation,
|
|
93
|
+
unresolved effects, unconfirmed termination and exhausted restart limits require recovery.
|
|
94
|
+
|
|
95
|
+
Kiokuko owns a local master–worker hierarchy: `LispManager` binds requests and their
|
|
96
|
+
existing operation journals; `LispSupervisor` owns shared capacity, compiled startup,
|
|
97
|
+
isolation probes and confirmed release for persistent and disposable children;
|
|
98
|
+
`LispWorker` owns one RPC evaluation slot and reports process failures immediately.
|
|
99
|
+
The external `supervisor.mjs` retains OS process ownership and stops descendants when
|
|
100
|
+
the host pipe closes. Local process events and bounded RPC deadlines provide liveness
|
|
101
|
+
signals; no network heartbeat, separate task router or recovery daemon is involved.
|
|
102
|
+
Restarting replaces a process generation, never a journaled operation. A worker whose
|
|
103
|
+
termination is uncertain continues to consume capacity.
|
|
104
|
+
|
|
105
|
+
This separates durable work from execution, as in the
|
|
106
|
+
[DeepSeek executor](https://github.com/deepseek-ai/dsh-superagent-prototype/blob/main/src/executor/dsh.ts),
|
|
107
|
+
and uses bounded, per-child recovery following
|
|
108
|
+
[OTP supervision](https://www.erlang.org/doc/system/sup_princ.html).
|
|
109
|
+
It preserves the existing Kiokuko execution loop and DSH Agent/SessionEvent contracts.
|
|
110
|
+
|
|
111
|
+
Routed child work sessions each own a persistent Lisp runtime, private heap,
|
|
112
|
+
scratch directory and owner-bound result journal. The router supplies the task
|
|
113
|
+
and receives the native child result; siblings do not inherit each other's
|
|
114
|
+
variables, object references or task authority. Repeated model steps reuse the
|
|
115
|
+
same worker generation. Completing/disposal of a child stops only its runtime.
|
|
116
|
+
The session worker starts before the first child model request; startup failure
|
|
117
|
+
prevents that request instead of silently selecting another execution route.
|
|
118
|
+
Existing disposable child sessions are promoted on their next admitted request,
|
|
119
|
+
and the saved session mode survives a host restart without replaying old code.
|
|
120
|
+
|
|
121
|
+
These workers compute in private scratch without taking a repository-wide lease.
|
|
122
|
+
Project reads, commands and changes still use the owning session's host adapters,
|
|
123
|
+
native tool restrictions, permission checks and operation journal. Shared project
|
|
124
|
+
files are not separate worktrees; callers must still coordinate conflicting edits.
|
|
125
|
+
|
|
126
|
+
A standalone repository runtime has one owner and one persistent supervisor/SBCL,
|
|
93
127
|
including across separate DSH databases and sessions. Git subdirectories and symlink
|
|
94
128
|
aliases resolve to the same repository; separate worktrees retain their own root.
|
|
95
129
|
The existing supervisor holds an OS-backed SQLite lease under the current user's
|
|
@@ -125,7 +159,7 @@ rejection and model abstention defer classification. Native adapters let the
|
|
|
125
159
|
ordinary model infer advisory intent or ask a concrete clarification; they do not
|
|
126
160
|
repeat the generic category dialog merely because the classifier abstained. Classification does not authorize implementation. For an explicit coding request the agent defines the Goal, implementation items and their observable criteria, then the host asks whether to use Lisp for that task. Both yes and no persist for the task and scope across restart. Conversation, review and plan-only requests do not trigger this prompt. Closing, free text without a clear choice or a disconnected question leaves implementation pending. Cancellation preserves the prepared work. A selected Lisp startup failure remains a recoverable blocker.
|
|
127
161
|
|
|
128
|
-
|
|
162
|
+
Execution-mode selection and Lisp choice are separate. The task question remains available when the Lisp module is disabled; no needs no Lisp runtime, while yes requires the enabled module and working SBCL. To explicitly change the current task's Lisp route or inspect its state, use these commands in the desired DSH session:
|
|
129
163
|
|
|
130
164
|
```text
|
|
131
165
|
/kioku-lisp enable
|
|
@@ -192,7 +226,7 @@ not the complete worker startup or the speed of an individual Lisp computation.
|
|
|
192
226
|
copied into the worker's read-only inputs. Files from other sessions and arbitrary
|
|
193
227
|
absolute paths are refused. The original attachment store stays inaccessible to
|
|
194
228
|
Lisp and its subprocesses. Limits: 64 MiB per file, 256 MiB per worker generation.
|
|
195
|
-
- Lisp/FFI
|
|
229
|
+
- Lisp/FFI runs inside OS isolation without workspace access or inherited credentials. Project file changes and external Python/shell commands cross the host tool boundary, which checks operation permissions and records the result.
|
|
196
230
|
- Project proposals freeze targets, preserve backups and reject duplicate targets. Writes/edits are authorized; source/data deletion requires concrete confirmation. Generated/temp/disposable artifacts are routine development.
|
|
197
231
|
- Refusal, skip, timeout, cancelled confirmation or unavailable UI means no change.
|
|
198
232
|
File identities/content are checked again after approval. Links, directories,
|
|
@@ -271,8 +305,8 @@ The host serializes conflicting target proposals and checks their captured hashe
|
|
|
271
305
|
|
|
272
306
|
## Stop and recover
|
|
273
307
|
|
|
274
|
-
The control beside the session input shows the Lisp state
|
|
275
|
-
|
|
308
|
+
The control beside the session input shows the Lisp state. Selecting it opens the
|
|
309
|
+
recovery view; failures do not repeatedly open a modal. It offers stop/recovery without needing a model response. The commands
|
|
276
310
|
remain available when the AI loop is stopped:
|
|
277
311
|
|
|
278
312
|
```text
|
|
@@ -366,7 +400,7 @@ subprocesses use the same output limit and parent-liveness supervisor as workers
|
|
|
366
400
|
Published bundles are limited to 256 MiB each. Concurrent first enables share one
|
|
367
401
|
serialized build under the host's existing exclusive data-directory lease.
|
|
368
402
|
|
|
369
|
-
Lisp workers
|
|
403
|
+
Lisp workers remain OS-isolated. Host processes launched through kioku.process run/start-job use the normal user environment and supervised process groups after the host permission check; directory defaults to the admitted workspace and may select a real subdirectory. Collect background results rather than rerunning commands.
|
|
370
404
|
`python`, `shell`, `run-lines`, `python-stdout` and `shell-stdout` also accept
|
|
371
405
|
`:directory`. The output-only helpers signal an error on process failure, so a
|
|
372
406
|
composed operation stops before its next step. Use `run` when the function needs
|
|
@@ -571,6 +605,6 @@ Clean installation and platform status: [code intelligence setup](code-intellige
|
|
|
571
605
|
## Coding task choice and recovery
|
|
572
606
|
|
|
573
607
|
For a new coding task, `coding_workflow` first defines and displays the Goal, implementation items and observable conditions. The host then asks whether to use Lisp. Configuration alone never implies yes; an explicit manual session ON is reused as the selected route.
|
|
574
|
-
`startupDefaults.lisp` (default `ask`) only preselects the Lisp answer on the task-startup card, which stays editable; a saved answer still wins. The default never enables the module or satisfies a yes: a missing runtime or failed startup remains the same recoverable blocker. Closing the question leaves it pending and `coding_workflow next` reopens the same question.
|
|
608
|
+
`startupDefaults.lisp` (default `ask`) only preselects the Lisp answer on the task-startup card, which stays editable; a saved answer still wins. The default never enables the module or satisfies a yes: a missing runtime or failed startup remains the same recoverable blocker. Closing the question leaves it pending and `coding_workflow next` reopens the same question. The combined startup card reuses the chat choice after restart and on ordinary follow-ups. A different chat or repository asks separately; explicit Lisp commands still override the inherited choice. A saved yes followed by startup failure remains a visible blocker; recover the runtime or explicitly change the task route with `/kioku-lisp disable`. No uses ordinary tools and still requires fresh item checks followed by a final user-entry Goal check. Lisp evaluation success alone is insufficient: bind `task_completion` and collect actual host process evidence. See [coding workflow](coding-workflow.md).
|
|
575
609
|
|
|
576
610
|
Live opt-in condition/restart recovery: see [bounded recovery](lisp-recovery.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 記憶の適用と検証
|
|
2
2
|
|
|
3
|
-
DSH
|
|
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
|
-
|
|
27
|
+
採用記憶があるコード変更では、検証コマンドも記録します。対応する証拠は、リポジトリ直下で実行したネイティブのフォアグラウンド `Bash` / `bash` です。新しい実行権限は付与しません。
|
|
28
28
|
|
|
29
29
|
計画・コードレビューだけの依頼には実装テストを要求しません。不適用や矛盾の理由はモデルの申告として保持します。正当な過去スキーマfixtureの固定番号は、それだけでは禁止しません。
|
|
30
30
|
|
|
31
31
|
## 完了と失効
|
|
32
32
|
|
|
33
|
-
採否が未処理でも、編集・実行の呼び出しは拒否しません。未処理の項目はrunを未完了のままに保ち、`task_memory_review` で解消するまで成功checkpoint
|
|
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
|
|
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
|
|
52
|
+
ソースの回帰テストでは次のmigration追加による失敗/成功、ネイティブツール境界、再起動、revision、競合、失敗・skip・古い証拠、停止を確認します。パッケージ検査、インストール先への反映、起動中DSHの画面・実モデルでの確認は別の検証です。
|
package/docs/memory-delivery.md
CHANGED
|
@@ -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
|
|
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
|
|
package/docs/memory-reuse.md
CHANGED
|
@@ -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
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
新しい実装・変更、デバッグ、レビュー、運用作業では、DSHの受付(Akinator)後に
|
|
4
|
+
「通常実行」で進めます。READMEの修正も同じ通常実行です。雑談や調査・文章作成は
|
|
5
|
+
通常流れです。継続・再試行・再計画は同じ論理作業として引き継ぎます。
|
|
6
|
+
取消・未回答では作業を保持し、再開の入力後に継続できます。
|
|
7
7
|
|
|
8
8
|
通常実行は現在のDSHモデルで進みます。Kiokukoの記憶、適用されるSkill、
|
|
9
|
-
DSH
|
|
10
|
-
|
|
11
|
-
取消・未回答では作業を保持します。再開の入力後に選択を続けられ、最初の依頼も復元します。
|
|
9
|
+
DSHの権限判定、必要な検証を維持します。別個の契約・WorkUnit・計画承認・
|
|
10
|
+
自動継続は作りません。
|
|
12
11
|
|
|
13
12
|
## 通常実行のモデル自動選択
|
|
14
13
|
|
|
15
|
-
Webプロファイルでは [Kiokuko Models](kiokuko-models.md) から接続を設定できます。DSH本体のModelsで設定する必要はありません。登録したモデルは、通常会話・
|
|
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` で確認した実モデルを区別します。初期候補は判定基準であり、品質・時間・利用枠の改善を保証しません。
|
|
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
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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の記録契約はこれまでどおりです。
|
package/docs/model-selection.md
CHANGED
|
@@ -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,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
12
|
-
plan approval or automatic
|
|
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
|
|
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.
|
|
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
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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.
|
|
165
|
-
|
|
95
|
+
limits or successful live provider responses. Memory finalization and
|
|
96
|
+
AgenticReplay behavior remain in place.
|