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/on-demand-intake.md
CHANGED
|
@@ -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
|
|
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, {
|
|
@@ -9,13 +9,15 @@ await mountCore(context, {
|
|
|
9
9
|
})
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
An explicit `intakeMode: 'eager'` retains upfront preparation for known intent. Native
|
|
12
|
+
An explicit `intakeMode: 'eager'` retains upfront preparation for known intent. Native Akinator first asks the configured decision provider to answer each missing intake question. A decision below 51% certainty, abstention, failure or rejected input sends that question to the human through the native question UI. The original request is retained; explicitly prepared and owned effects still require their preparation and existing host checks. Ordinary native Bash remains on its native permission path, independently of optional preparation. Disabling typed decisions defers interpretation to the main model using the same source-bound contract. Unknown mode values are rejected.
|
|
13
13
|
|
|
14
14
|
A separately supplied custom execution host can use the exported `createDshHostAdapter`, or must implement the same native `onDemandIntake` ownership contract; it cannot be safely synthesized from a tool list. Unsupported custom execution hosts fail with an actionable error rather than silently reverting to upfront questions. They may be updated or deliberately configured with the legacy eager opt-out. Prompt/Skill-only custom hosts own no execution ingress and remain supported.
|
|
15
15
|
|
|
16
16
|
## Conversation before execution
|
|
17
17
|
|
|
18
|
-
The native model receives the complete original user messages and
|
|
18
|
+
The native model receives the complete original user messages. Akinator resolves purpose, target and success criteria through decisions first. Answers at or above 51% certainty are accepted; lower certainty, abstention or unavailable decisions ask the human the unresolved question. Probability-based providers use the selected answer's probability; TypeSafe uses its confidence. This threshold applies only to Akinator and does not change execution or permission decisions. Target and success answers must select actual request or current task evidence; the working directory and a generic completion promise are not substitutes. Human and decision answers are labelled separately alongside the unchanged request.
|
|
19
|
+
|
|
20
|
+
When decisions are explicitly OFF, ordinary conversation proceeds normally, while unresolved action references such as “Fix it” still ask for missing target and success criteria. Prepared task intake likewise leaves missing fields unanswered. Clarification creates no execution authority, active ledger run or completed task. A queued human request after a normal turn is classified independently rather than inheriting that stale turn's execution readiness.
|
|
19
21
|
|
|
20
22
|
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
23
|
|
package/docs/owned-execution.md
CHANGED
|
@@ -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
|
|
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.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
|
11
|
-
ownership receipt as production;
|
|
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",
|
package/docs/pstack-skills.md
CHANGED
|
@@ -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/
|
|
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
|
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
# Continuous repository learning
|
|
2
2
|
|
|
3
|
-
Kiokuko
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
unknown turns are retained as those lifecycle observations, never as verified task
|
|
7
|
-
success.
|
|
3
|
+
Kiokuko offers review after each completed or failed **native conversation turn**, including answers without tools. First it asks whether to organize the turn. It then shows the exact proposed summary, lessons and sources and asks whether to save them. Neither a completed turn nor model output authorizes persistence.
|
|
4
|
+
|
|
5
|
+
Decline, dismissal, missing question UI, Stop, a new turn and plugin reload save no pending proposal. Cancelled and unknown turns do not open review or create memories. Existing stored memories are preserved.
|
|
8
6
|
|
|
9
7
|
## Normal startup and data flow
|
|
10
8
|
|
|
11
9
|
The public plugin's lifecycle memory mounts the repository-learning coordinator.
|
|
12
10
|
At a turn boundary it freezes bounded, redacted native user/tool/result/assistant
|
|
13
|
-
observations, the native session/turn identity and the current model route.
|
|
11
|
+
observations, the native session/turn identity and the current model route. After the human chooses to organize, it uses
|
|
14
12
|
the host's actual `llm.prepareCall` / `llm.stream` API on that route, with no tools,
|
|
15
13
|
to propose up to four source-cited hypotheses. An externally registered
|
|
16
14
|
`kiokukoReplayReflector` service is **not required** for this path.
|
|
17
15
|
|
|
18
16
|
The reflector receives the previous repository compact and this turn's evidence.
|
|
19
|
-
It can refine previous hypotheses in light of new evidence. SQLite appends the
|
|
17
|
+
It can refine previous hypotheses in light of new evidence. After approval of the displayed proposal, SQLite appends the
|
|
20
18
|
turn and atomically updates a bounded projection: recent observations and compact
|
|
21
19
|
hypotheses, including provenance, uncertainty, repeated occurrence counts and
|
|
22
20
|
repository tags. A correction may name existing hypothesis IDs in `supersedes`, supply a
|
|
@@ -27,8 +25,7 @@ model-proposed corrections, not established truth. Distinct remaining hypotheses
|
|
|
27
25
|
retain an unresolved-compatibility assessment. History remains in SQLite while the
|
|
28
26
|
model-visible projection has a whole-point budget; omitted points are counted.
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
learning and reads that repository's projection directly. **Keyword overlap is not
|
|
28
|
+
A new turn cancels any pending review, then reads the repository's approved projection. **Keyword overlap is not
|
|
32
29
|
required**. A new session in the same canonical repository gets the accumulated
|
|
33
30
|
compact; another repository does not. Root identity comes from trusted host cwd
|
|
34
31
|
and repository resolution, not model-supplied tags. The injected section is
|
|
@@ -42,20 +39,17 @@ on the active prompt surface.
|
|
|
42
39
|
Migration `048_repository_learning.sql` adds the append-only turn ledger and
|
|
43
40
|
bounded repository projection. Idempotent session/turn identities prevent duplicate
|
|
44
41
|
records. Updates use an immediate SQLite transaction and capture-policy revision
|
|
45
|
-
checks. At plugin reload
|
|
46
|
-
session events (excluding inherited fork history); already saved turns are not
|
|
47
|
-
reflected again. Earlier unsaved turns beyond this bounded recovery window are not
|
|
48
|
-
claimed recovered.
|
|
42
|
+
checks. At plugin reload, up to 512 session events reconstruct an active turn, excluding inherited history. Historical terminal events do not reopen review or repeat reflection. Approval closures do not survive reload.
|
|
49
43
|
|
|
50
44
|
Ignorable session plugin records named `plugin:kiokuko-dsh/repository-learning`
|
|
51
45
|
(and live host events `kiokuko/repository-learning`) report capture and retrieval:
|
|
52
46
|
|
|
53
|
-
- capture: saved, duplicate, excluded or unavailable; revision and reflection status;
|
|
47
|
+
- capture: saved, duplicate, declined, review_unavailable, discarded, excluded or unavailable; revision and reflection status;
|
|
54
48
|
- retrieval: injected, empty or unavailable; injected and omitted point counts.
|
|
55
49
|
|
|
56
50
|
A missing model route, malformed/ungrounded result or 15-second model deadline
|
|
57
51
|
produces an explicit unavailable/invalid reflection status. The observed turn can
|
|
58
|
-
still be
|
|
52
|
+
still be proposed without invented model lessons, but requires approval before saving. Database/capture failures are
|
|
59
53
|
reported as unavailable, not silently described as successful saving. This feature
|
|
60
54
|
never launches DSH, changes repository source, runs learned commands or grants tool
|
|
61
55
|
permissions.
|
|
@@ -85,25 +79,8 @@ process.
|
|
|
85
79
|
|
|
86
80
|
## Interrupted saves and recovery
|
|
87
81
|
|
|
88
|
-
Reflection has a bounded deadline and no automatic network retry. A
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
| Boundary | Durable result and recovery |
|
|
95
|
-
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
96
|
-
| Before/during/after the model response | Save observations only if reflection fails; the next turn remains usable. |
|
|
97
|
-
| Failure inside the save transaction | Roll back turn and projection together. Capture diagnostics report `saveState: not_saved`; reload the plugin to retry the latest retained native turn, or use `/kioku-memory learning reset` to discard it. |
|
|
98
|
-
| Commit succeeded but acknowledgement was lost | Re-read the exact repository/session/turn. Report `saved` when found, `unknown` if storage cannot be read. Do not assume rollback or repeat tools. Reload reconciles the stored identity before any new reflection. |
|
|
99
|
-
| Process exits before/after commit | SQLite rollback or committed turn survives reopening. The exact identity prevents a second save. Recovery remains limited to the latest 512 retained native events. |
|
|
100
|
-
| Explicit native Stop or agent/workspace ownership loss | Discard unsaved in-flight reflection, retain only a payload-free retired identity, and reject its late result after reload. Already committed observations are not undone. |
|
|
101
|
-
| Plugin reload | Abort the old coordinator; reconstruct the latest retained turn. A saved turn is a duplicate, an unsaved turn can be retried. No raw reflection response is persisted for retry. |
|
|
102
|
-
| New instruction or next turn | Completed earlier turns append in order to the current projection; they do not replace a newer snapshot with an old snapshot. Stop can cancel outstanding reflection so the next instruction can proceed. |
|
|
103
|
-
| Reset/forget | Existing admission epochs and tombstones reject pre-reset results. Reset also clears current-repository pending admissions; new turns remain enabled. |
|
|
104
|
-
|
|
105
|
-
Capture diagnostics retain only safe identities/counts, `saveState`, and a
|
|
106
|
-
`reload_or_reset` recovery hint when a save is absent or uncertain. There is no
|
|
107
|
-
background retry queue or indefinite lease on a model request. A model timeout,
|
|
108
|
-
unknown save outcome or exhausted SQLite retry is not claimed automatically
|
|
109
|
-
recovered. Reset does not erase native logs or user data.
|
|
82
|
+
Reflection has a bounded deadline and no automatic network retry. A failed model call may produce a summary-only proposal; it never permits an automatic save. Foreground work remains usable.
|
|
83
|
+
|
|
84
|
+
SQLite retries recognized lock contention under its finite backoff policy only while the same approval remains active. An uncertain commit is reconciled against the exact repository/session/turn identity. A failed save is reported as absent or unknown; reload never recreates its approval or retries the old proposal. A new completed turn offers a new review.
|
|
85
|
+
|
|
86
|
+
Reset, forgetting, native Stop, owner changes and capture exclusions retain their existing fences. Already saved records are not undone by cancelling a later proposal. Native conversation logs are separate from reusable memory and are not erased by declining a save.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Model and reasoning handoff
|
|
4
4
|
|
|
5
|
-
When a user changes the DSH model or reasoning effort, Kiokuko can shorten eligible older tool results with the selected Jev or Laya decision provider and ask DSH's configured summarizer to create one native checkpoint. The checkpoint replaces older model-visible conversation; the original events remain in the append-only session history. The last two completed model steps, pending input, and latest user message remain verbatim. Automatic
|
|
5
|
+
When a user changes the DSH model or reasoning effort, Kiokuko can shorten eligible older tool results with the selected Jev or Laya decision provider and ask DSH's configured summarizer to create one native checkpoint. The checkpoint replaces older model-visible conversation; the original events remain in the append-only session history. The last two completed model steps, pending input, and latest user message remain verbatim. Automatic Deep routing and delegated children do not trigger a handoff.
|
|
6
6
|
|
|
7
7
|
```yaml
|
|
8
8
|
modelHandoff:
|
|
@@ -35,7 +35,7 @@ If no complete source line fits that excerpt, the result stays full: no new pack
|
|
|
35
35
|
|
|
36
36
|
Failures, unknown success, background execution, Lisp and execution-control results are excluded. Bash additionally requires a captured structured foreground exit status of zero, without interruption or sandbox failure, and an exact match to the logged presentation. `isError: false` alone is insufficient. After reload, Bash results without that live proof remain untouched.
|
|
37
37
|
|
|
38
|
-
The auxiliary native tool is separate from
|
|
38
|
+
The auxiliary native tool is separate from business operations:
|
|
39
39
|
|
|
40
40
|
```ts
|
|
41
41
|
observation_read({ handle, offset: 2000, limit: 2000 })
|
|
@@ -41,9 +41,9 @@ hooks do not provide those running services.
|
|
|
41
41
|
For historical v0 logs, the checker also normalizes Kiokuko's old
|
|
42
42
|
`continuation` / `loop-recovery` message sources and serialized diagnostic
|
|
43
43
|
stacks in supported abort causes. The exact old cancellation text
|
|
44
|
-
`kiokuko dsh
|
|
44
|
+
`kiokuko dsh continuation stopped: continuation_limit` becomes a
|
|
45
45
|
`hook` cause retaining that text; other string causes remain unsupported.
|
|
46
|
-
Native
|
|
46
|
+
Native cancellations also use structured `hook` causes for new records.
|
|
47
47
|
It runs the complete native migration in
|
|
48
48
|
isolation, validates the resulting v3 history, then publishes that new
|
|
49
49
|
generation under DSH's write lease. The original v0 file remains unchanged,
|
package/docs/skill-compiler.md
CHANGED
|
@@ -18,9 +18,8 @@ Reload the plugin to change modes. `full` is also the rollback setting. Neither
|
|
|
18
18
|
mode changes native permissions, tool schemas, task selection or the original
|
|
19
19
|
user message. The ordinary Skill catalog is not a claim that every listed Skill
|
|
20
20
|
was loaded. SOUL is automatic; Japanese guidance follows the routed model family;
|
|
21
|
-
Lisp guidance follows explicit enable;
|
|
22
|
-
|
|
23
|
-
Skill tool. Complete supplied runtime guidance needs no full-file reread.
|
|
21
|
+
Lisp guidance follows explicit enable; ordinary additional Skills remain
|
|
22
|
+
available through the native Skill tool. Complete supplied runtime guidance needs no full-file reread.
|
|
24
23
|
|
|
25
24
|
## One source, two representations
|
|
26
25
|
|
|
@@ -77,7 +76,6 @@ it never installs into the user's live profile.
|
|
|
77
76
|
| --- | --- |
|
|
78
77
|
| SOUL, native/explicit/prompt-only entrypoints | Compiled body in adapter-observed request |
|
|
79
78
|
| All nine native Skill lookups | Native tool execution, result rendering, next request |
|
|
80
|
-
| Enno role Skills and selected expert | Real admitted role transitions, retry and persisted resume |
|
|
81
79
|
| Deep Japanese guidance | Every worker's request and budget accounting |
|
|
82
80
|
| Lisp enable and lisp_describe | Real protected SBCL, six-tool surface, next request body |
|
|
83
81
|
| DeepSeek wire serializer | Actual provider serializer; fetch boundary captured before network |
|
package/docs/tool-exposure.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
On hosts where the executor supplies schemas after the prompt waterfall, Kiokuko preserves the provider's admitted tools and reports `unsupported_runtime` for presentation reduction. `phase`, `lean`, and `auto` do not claim tool or description savings on that API. Native permissions, task guards, and scoped protocol tools remain authoritative; no older runtime is selected.
|
|
4
4
|
|
|
5
|
-
`toolExposure.mode` controls only which Kiokuko-owned definitions appear in native model requests. The default is `auto`. On all DSH native provider connections, normal chat, research, analysis, writing and review omit the
|
|
5
|
+
`toolExposure.mode` controls only which Kiokuko-owned definitions appear in native model requests. The default is `auto`. On all DSH native provider connections, normal chat, research, analysis, writing and review omit the Kiokuko model tools entirely. Normal build, debug and devops requests use full definitions without lean descriptions. Native and external tools remain available. Configure explicitly with:
|
|
6
6
|
|
|
7
7
|
```yaml
|
|
8
8
|
config:
|
package/docs/typed-decisions.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Typed AI decisions
|
|
2
2
|
|
|
3
3
|
Kiokuko uses one host-owned decision service for provisional Akinator task types,
|
|
4
|
-
installed Skill relevance, past memory reuse,
|
|
4
|
+
installed Skill relevance, past memory reuse, [post-display answer review](answer-review.md), and semantic decisions inside Lisp.
|
|
5
5
|
The selected adapter owns its transport protocol and uncertainty policy. Domain
|
|
6
6
|
workflows consume `selected` or `abstained`; they do not depend on model names.
|
|
7
7
|
|
|
@@ -145,8 +145,9 @@ shown in the card; selection does not prove authentication or successful inferen
|
|
|
145
145
|
options as the preset; the native question UI preselects a label ending in
|
|
146
146
|
` (Recommended)`, so the card still opens editable. A preset grants no authority.
|
|
147
147
|
Immutable existing decision bindings also retain the task choice, without granting
|
|
148
|
-
tool or file authority.
|
|
149
|
-
|
|
148
|
+
tool or file authority. Later turns in the same chat and repository reuse the accepted
|
|
149
|
+
choice, including new tasks and session reloads. Cancel/Skip starts no task and is not
|
|
150
|
+
inherited by a later turn. Headless operation with `ask` keeps the
|
|
150
151
|
configured decision mode and explicit manual Lisp preference; `on`/`off` supply that
|
|
151
152
|
answer instead. An explicit
|
|
152
153
|
`typedDecisions.startup: { decision: true, lisp: true }` config selects both and
|
|
@@ -286,14 +287,6 @@ missing configuration, uncertainty and service failures use the existing workflo
|
|
|
286
287
|
fallback. Identity, revision, permission and integrity failures never authorize
|
|
287
288
|
fallback execution.
|
|
288
289
|
|
|
289
|
-
Zenki calls `enno_plan_review` with the complete candidate. All atomic checks must
|
|
290
|
-
be answered; otherwise the exact persisted `roles.check` model reviews the full
|
|
291
|
-
candidate in a no-tool stream. Both paths share a 30-second review budget. All
|
|
292
|
-
three contribution slots need dispositions. `enno_plan_submit` accepts only the
|
|
293
|
-
identical reviewed candidate with the same catalog and revisions. A changed draft
|
|
294
|
-
requires review again. If neither reviewer completes, the draft remains
|
|
295
|
-
unsubmitted. Existing confirmation and Goki lease checks still apply. Already
|
|
296
|
-
accepted plans continue normally; old pre-draft advice cannot satisfy review.
|
|
297
290
|
|
|
298
291
|
In Lisp:
|
|
299
292
|
|
package/docs/verification.md
CHANGED
|
@@ -17,14 +17,21 @@ fixtures remain `prerequisite-missing` for checks that require them.
|
|
|
17
17
|
|
|
18
18
|
CI schedules **Linux x64** and **macOS ARM64**. Full selection has 21 jobs:
|
|
19
19
|
selection, two native micro-judge builds, 17 verification lanes and the aggregate.
|
|
20
|
+
Every CI run resolves the latest official DSH `master` before selecting coverage.
|
|
21
|
+
That SHA is an independent input to the plan and its digest: repository-only
|
|
22
|
+
diffs, including prose-only changes, cannot reduce GitHub compatibility coverage.
|
|
23
|
+
All lanes build that run's resolved SHA; the next run resolves upstream again.
|
|
24
|
+
Resolution failure fails the run rather than falling back to a locked fixture.
|
|
25
|
+
A daily GitHub run at 03:17 UTC also checks upstream-only changes. Depot keeps its
|
|
26
|
+
Linux-only coverage, but likewise resolves latest DSH and never skips it for prose.
|
|
20
27
|
Linux ARM64 is not scheduled or claimed as CI coverage. Its runtime/build support
|
|
21
28
|
remains in the native target registry; this workflow does not produce its binary.
|
|
22
29
|
|
|
23
30
|
The required `verify` aggregate consumes `select`, `micro-judge-native` and `checks`.
|
|
24
31
|
Every selected lane and native artifact must be present, successful, fresh and
|
|
25
32
|
bound to the same selected plan and source. Failure, cancellation, a missing
|
|
26
|
-
selected report, an extra target or an altered artifact fails acceptance.
|
|
27
|
-
|
|
33
|
+
selected report, an extra target or an altered artifact fails acceptance. Local
|
|
34
|
+
diff-only plans without an upstream input may skip prose-only work; CI may not. The
|
|
28
35
|
remaining Linux x64/macOS ARM64 check inventories and their deadlines are unchanged.
|
|
29
36
|
The CI review bundle contains exactly its selected targets; standalone native
|
|
30
37
|
bundle verification still requires the complete supported-target inventory.
|
|
@@ -82,7 +89,6 @@ arbitrary stdout or a successful no-op process is insufficient.
|
|
|
82
89
|
| skill-delivery | main, lisp | `node scripts/run-skill-delivery.mjs` | explicit completion receipt |
|
|
83
90
|
| consumer-npm | main, runtime | `node scripts/verify-agenticreplay-consumer.mjs` | explicit completion receipt |
|
|
84
91
|
| consumer-pnpm | main, runtime | `node scripts/verify-agenticreplay-consumer.mjs --pnpm` | explicit completion receipt |
|
|
85
|
-
| dsh-lifecycle | main, runtime | `node scripts/run-enno-dsh-e2e.mjs` | explicit completion receipt |
|
|
86
92
|
| sqlite-vec | main, semantic | `npm run test:sqlite-vec` | explicit completion receipt |
|
|
87
93
|
| code-provider | code-provider | `node scripts/run-ci-native.mjs code-provider` | Explicit selected native fixture; nonempty official lifecycle without skipped required cases. |
|
|
88
94
|
| p0 | p0 | `node scripts/run-ci-native.mjs p0` | Explicit selected native fixture; nonempty official lifecycle without skipped required cases. |
|
|
@@ -112,10 +118,6 @@ Node/ABI or native dependency is reused across platforms.
|
|
|
112
118
|
Import-only convenience entrypoints remain usable explicitly. Recursive discovery
|
|
113
119
|
excludes these aliases and executes each declared leaf exactly once:
|
|
114
120
|
|
|
115
|
-
- `tests/dsh/integration/capability.test.ts`: `tests/dsh/integration/akinator-gate.test.ts`, `tests/dsh/integration/pre-step/gate.test.ts`, `tests/dsh/unit/capability-catalog.test.ts`.
|
|
116
|
-
- `tests/dsh/integration/close-resume.test.ts`: `tests/dsh/integration/run-close.test.ts`, `tests/dsh/integration/run-resume.test.ts`, `tests/dsh/integration/run-resume/exact-route.test.ts`.
|
|
117
|
-
- `tests/dsh/integration/enno-turn-stopping.test.ts`: `tests/dsh/integration/turn-stopping-gate.test.ts`, `tests/dsh/integration/enno-role-loop.test.ts`.
|
|
118
|
-
- `tests/dsh/integration/provider.test.ts`: `tests/dsh/integration/skill-provider.test.ts`.
|
|
119
121
|
|
|
120
122
|
## Explicit optional lanes
|
|
121
123
|
|
|
@@ -143,3 +145,5 @@ Native Lisp integration requires `protected-python3`: a real sandbox subprocess
|
|
|
143
145
|
probe. An Apple launcher that only reports its version outside the sandbox does
|
|
144
146
|
not satisfy this capability. Local/CI environment preparation must select a real
|
|
145
147
|
installed Python interpreter; the repository never changes the global PATH.
|
|
148
|
+
|
|
149
|
+
`full` runs unit/integration/e2e through the existing CI ownership split when the protected Lisp lane is required. Lisp and explicitly owned package/Skill cases run in their dedicated checks once. Standalone `main` remains complete. The import-only aliases and manual duplicate suite launchers have been removed; use the canonical check plan.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Apply after the Kiokuko bundle only when validating the original plugin mode.
|
|
2
|
+
- id: kiokuko-harness
|
|
3
|
+
disabled: true
|
|
4
|
+
- id: agent-loop
|
|
5
|
+
disabled: false
|
|
6
|
+
- id: kiokuko-dsh
|
|
7
|
+
inject: [skills, systemPrompt, tools, commands, userQuestions, sessions, sessionQuery, sessionPersistence, llm, agents, attachments, subagents, subprocess]
|
package/dsh/cordis.patch.yml
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
# the stock row automatically.
|
|
4
4
|
- id: session-log-download
|
|
5
5
|
disabled: true
|
|
6
|
+
- id: agent-loop
|
|
7
|
+
disabled: true
|
|
6
8
|
- insert:
|
|
7
9
|
# Saved model providers must survive a failure of the execution plugin.
|
|
8
10
|
- id: kiokuko-models
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
inject: [llm, commands]
|
|
11
13
|
- id: kiokuko-dsh
|
|
12
14
|
name: 'kiokuko-dsh'
|
|
13
|
-
inject: [skills, systemPrompt, tools, commands, userQuestions, sessions, sessionQuery, sessionPersistence, llm, agents, attachments, subagents, subprocess]
|
|
15
|
+
inject: [kiokukoHarness, skills, systemPrompt, tools, commands, userQuestions, sessions, sessionQuery, sessionPersistence, llm, agents, attachments, subagents, subprocess]
|
|
14
16
|
config:
|
|
15
17
|
enabled: true
|
|
16
18
|
agenticReplay:
|
|
@@ -21,3 +23,6 @@
|
|
|
21
23
|
capture:
|
|
22
24
|
content: redacted
|
|
23
25
|
reasoning: false
|
|
26
|
+
- id: kiokuko-harness
|
|
27
|
+
name: 'kiokuko-dsh/harness'
|
|
28
|
+
inject: [agents, sessions, llm, systemPrompt, tools, sessionProjections, sessionPersistence]
|
package/lisp/supervisor.mjs
CHANGED
|
@@ -38,12 +38,15 @@ const finish = () => {
|
|
|
38
38
|
if (!terminal) return
|
|
39
39
|
if (launch.namespaceInfo) {
|
|
40
40
|
if (!namespace) return // Missing ownership evidence never confirms Stop.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
let stopped = false
|
|
42
|
+
try { stopped = !sameProcess(namespace.pid, namespace.identity) }
|
|
43
|
+
catch (error) { unconfirmed(`cannot confirm sandbox child termination (${error.code ?? 'UNKNOWN'})`) }
|
|
44
|
+
// Observation can race /proc teardown. Keep ownership until a later positive
|
|
45
|
+
// confirmation; one failed lookup must not disable the existing polling.
|
|
46
|
+
if (!stopped) {
|
|
47
|
+
finishTimer ??= setTimeout(() => { finishTimer = undefined; finish() }, 10)
|
|
48
|
+
return
|
|
49
|
+
}
|
|
47
50
|
}
|
|
48
51
|
clearTimeout(finishTimer)
|
|
49
52
|
clearInterval(namespaceLifetime)
|
package/lisp/tools.lisp
CHANGED
|
@@ -322,7 +322,7 @@ CHOICES contains 1-8 (restart-name description) pairs. No expression replay or a
|
|
|
322
322
|
(unless (member restart (compute-restarts condition)) (error "RECOVERY_STALE"))
|
|
323
323
|
(invoke-restart restart)))))
|
|
324
324
|
(in-package :kioku.environment)
|
|
325
|
-
(defun status () (kioku.internal:object "generation" kioku.internal:*generation* "sbcl" (lisp-implementation-version) "os" (software-type) "architecture" (machine-type) "scratch" (namestring (kioku.files:scratch)) "executionMode" (or (uiop:getenv "KIOKU_EXECUTION_MODE") "protected") "network"
|
|
325
|
+
(defun status () (kioku.internal:object "generation" kioku.internal:*generation* "sbcl" (lisp-implementation-version) "os" (software-type) "architecture" (machine-type) "scratch" (namestring (kioku.files:scratch)) "executionMode" (or (uiop:getenv "KIOKU_EXECUTION_MODE") "protected") "network" yason:false "hostWrites" (if (equal (uiop:getenv "KIOKU_EXECUTION_MODE") "development") "host tools and proposals; operation permissions apply" "proposals only") "libraries" #("yason" "cl-ppcre" "cl-csv")))
|
|
326
326
|
(in-package :kioku.tools)
|
|
327
327
|
(defun available-tools () (kioku.internal:rpc "tools-list" (kioku.internal:object)))
|
|
328
328
|
(defun call-tool (name &optional (arguments (kioku.internal:object)))
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
-- 051_drop_enno.sql
|
|
2
|
+
-- The Enno (役小角 / enno-oduno) orchestration feature was removed from the
|
|
3
|
+
-- codebase. Its durable tables are dropped here, children first, so existing
|
|
4
|
+
-- databases stay valid and openable after this forward-only migration.
|
|
5
|
+
-- Shared DSH machinery (ledger_runs, dsh_turn_receipts, dsh_boundary_jobs,
|
|
6
|
+
-- dsh_continuation_outbox, dsh_loop_guard_*) is deliberately retained.
|
|
7
|
+
|
|
8
|
+
DROP TABLE IF EXISTS enno_advisory_contributions;
|
|
9
|
+
DROP TABLE IF EXISTS enno_advisory_rounds;
|
|
10
|
+
DROP TABLE IF EXISTS enno_execution_leases;
|
|
11
|
+
DROP TABLE IF EXISTS enno_resume_tokens;
|
|
12
|
+
DROP TABLE IF EXISTS enno_dsh_continuations;
|
|
13
|
+
DROP TABLE IF EXISTS enno_operation_receipts;
|
|
14
|
+
DROP TABLE IF EXISTS enno_verifier_runs;
|
|
15
|
+
DROP TABLE IF EXISTS enno_work_units;
|
|
16
|
+
DROP TABLE IF EXISTS enno_plan_drafts;
|
|
17
|
+
DROP TABLE IF EXISTS dsh_enno_delegations;
|
|
18
|
+
DROP TABLE IF EXISTS dsh_enno_memory_refresh;
|
|
19
|
+
DROP TABLE IF EXISTS enno_contracts;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kiokuko-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.42",
|
|
4
4
|
"description": "Kiokuko plugin for DeepSeek Harness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist/",
|
|
23
23
|
"migrations/",
|
|
24
24
|
"skills/",
|
|
25
|
-
"dsh/
|
|
25
|
+
"dsh/",
|
|
26
26
|
"docs/",
|
|
27
27
|
"scripts/prepare-build.mjs",
|
|
28
28
|
"scripts/backfill-akinator-memory.mjs",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"types": "./dist/dsh/core/index.d.ts",
|
|
71
71
|
"default": "./dist/dsh/core/index.js"
|
|
72
72
|
},
|
|
73
|
-
"./
|
|
74
|
-
"types": "./dist/dsh/
|
|
75
|
-
"default": "./dist/dsh/
|
|
73
|
+
"./harness": {
|
|
74
|
+
"types": "./dist/dsh/harness/index.d.ts",
|
|
75
|
+
"default": "./dist/dsh/harness/index.js"
|
|
76
76
|
},
|
|
77
77
|
"./modules/lisp": {
|
|
78
78
|
"types": "./dist/dsh/modules/lisp.d.ts",
|
|
@@ -187,14 +187,12 @@
|
|
|
187
187
|
"test:evaluation:memory-reuse": "node --import tsx scripts/run-memory-reuse-evaluation.mjs",
|
|
188
188
|
"probe:lisp:p0": "node --import tsx scripts/probe-lisp-p0.ts",
|
|
189
189
|
"test:integration": "node scripts/run-tests.mjs tests/dsh/integration",
|
|
190
|
-
"test:memory:admission": "node scripts/run-tests.mjs tests/dsh/integration/memory-application.test.ts tests/dsh/integration/on-demand-native.test.ts tests/dsh/unit/on-demand-review-regressions.test.ts",
|
|
191
190
|
"test:integration:tool-exposure": "node scripts/run-tests.mjs tests/dsh/integration/tool-exposure-native.test.ts",
|
|
192
191
|
"test:sqlite-vec": "node --import tsx tests/ci/sqlite-vec-package-smoke.ts",
|
|
193
192
|
"test:evaluation": "npm run build && node scripts/run-retrieval-evaluation.mjs",
|
|
194
193
|
"test:benchmark": "npm run build && node scripts/run-retrieval-benchmark.mjs",
|
|
195
194
|
"test:benchmark:dsh-log": "npm run build && node scripts/run-dsh-million-event-benchmark.mjs",
|
|
196
195
|
"test:efficiency": "node --import tsx scripts/run-token-efficiency-evaluation.mjs",
|
|
197
|
-
"test:e2e:dsh": "npm run build && node scripts/run-enno-dsh-e2e.mjs",
|
|
198
196
|
"test:cli-profile": "node scripts/verify-cli-profile.mjs",
|
|
199
197
|
"verify:prepare": "node scripts/verify-prepare-reproducibility.mjs",
|
|
200
198
|
"sampledb:generate": "node --import tsx tests/fixtures/sample-database.ts tests/sampledb/kiokuko-dsh.sqlite3",
|
|
@@ -214,9 +212,6 @@
|
|
|
214
212
|
"test:benchmark:akinator": "npm run build && node scripts/run-akinator-memory-benchmark.mjs",
|
|
215
213
|
"test:continuity": "node scripts/run-tests.mjs tests/dsh/unit/continuity tests/dsh/integration/continuity",
|
|
216
214
|
"test:evaluation:continuity": "node --import tsx scripts/run-continuity-evaluation.mjs",
|
|
217
|
-
"test:enno-memory": "node scripts/run-tests.mjs tests/dsh/unit/enno-memory tests/dsh/integration/enno-memory",
|
|
218
|
-
"test:benchmark:enno-memory": "node --import tsx scripts/run-enno-memory-benchmark.ts",
|
|
219
|
-
"test:evaluation:enno-memory": "node scripts/run-enno-memory-evaluation.mjs",
|
|
220
215
|
"verify:lisp:vendor": "node scripts/verify-lisp-vendor.mjs",
|
|
221
216
|
"test:packages:live": "KIOKUKO_REQUIRE_LISP_RUNTIME=1 KIOKUKO_PACKAGE_LIVE=1 node scripts/run-tests.mjs tests/dsh/integration/lisp/packages-live.test.ts",
|
|
222
217
|
"test:packages": "KIOKUKO_REQUIRE_LISP_RUNTIME=1 node scripts/run-tests.mjs tests/dsh/unit/lisp/packages.test.ts tests/dsh/integration/lisp/packages-runtime.test.ts tests/dsh/integration/lisp/packages-update.test.ts",
|
|
@@ -251,13 +246,9 @@
|
|
|
251
246
|
"test:ci:e2e": "node scripts/run-ci-native.mjs e2e",
|
|
252
247
|
"test:ci:metadata": "npm run publint",
|
|
253
248
|
"test:ci:e2e:core": "node scripts/run-ci-native.mjs e2e-core",
|
|
254
|
-
"test:ci:e2e:agent": "node scripts/run-ci-native.mjs e2e-agent",
|
|
255
249
|
"test:ci:e2e:repeated": "node scripts/run-ci-native.mjs e2e-repeated",
|
|
256
250
|
"test:ci:repeated:deep": "node scripts/run-ci-native.mjs e2e-repeated-deep",
|
|
257
251
|
"test:ci:repeated:normal": "node scripts/run-ci-native.mjs e2e-repeated-normal",
|
|
258
|
-
"test:ci:repeated:enno": "node scripts/run-ci-native.mjs e2e-repeated-enno",
|
|
259
|
-
"test:ci:repeated:enno:prefix": "node scripts/run-ci-native.mjs e2e-repeated-enno-prefix",
|
|
260
|
-
"test:ci:repeated:enno:bounded": "node scripts/run-ci-native.mjs e2e-repeated-enno-bounded",
|
|
261
252
|
"test:ci:lisp": "node scripts/run-ci-native.mjs lisp",
|
|
262
253
|
"test:ci:prepare": "npm run verify:prepare",
|
|
263
254
|
"test:ci:embedding": "node scripts/run-local-embedding-smoke.mjs --offline",
|
|
@@ -156,7 +156,7 @@ function repairLegacyAbortRecord(value) {
|
|
|
156
156
|
const record = objectRecord(value), data = objectRecord(record?.data)
|
|
157
157
|
const reason = objectRecord(data?.reason)
|
|
158
158
|
if (record?.type !== 'turn/end' || reason?.kind !== 'aborted') return value
|
|
159
|
-
if (reason.reason === 'kiokuko dsh
|
|
159
|
+
if (reason.reason === 'kiokuko dsh continuation stopped: continuation_limit') {
|
|
160
160
|
return { ...record, data: { ...data, reason: { ...reason, reason: { kind: 'hook', reason: reason.reason } } } }
|
|
161
161
|
}
|
|
162
162
|
const cause = objectRecord(reason.reason)
|
|
@@ -45,7 +45,7 @@ description: コードを書く、変更するすべての依頼で使用する
|
|
|
45
45
|
|
|
46
46
|
## 2. 部品ではなく、つながった利用経路を見る
|
|
47
47
|
|
|
48
|
-
DSH の実装タスクで明示的な coding workflow を使う場合は、初回の変更前に `coding_workflow status` を読む。`applicable:false` は通常チャットに workflow がないという観測であり、エラーや通常操作の禁止ではない。準備済みのタスクでは、`propose` で Goal・依存関係付きの全項目・各項目の観測可能な条件・別の最終 Goal
|
|
48
|
+
DSH の実装タスクで明示的な coding workflow を使う場合は、初回の変更前に `coding_workflow status` を読む。`applicable:false` は通常チャットに workflow がないという観測であり、エラーや通常操作の禁止ではない。準備済みのタスクでは、`propose` で Goal・依存関係付きの全項目・各項目の観測可能な条件・別の最終 Goal 条件を原子的に登録する。先に必要な読取調査を行ってよい。元依頼の権限と対象を広げない。既に登録された Goal と検証条件があれば再利用する。
|
|
49
49
|
|
|
50
50
|
通常 native 実装依頼ではモデル要求前に Lisp を提案し、ON 済みならその経路を使う。Goal 準備は同じ依頼の人間の回答を再利用する。全ての goal.criterionIds を、実装を担当する少なくとも1つの items[].goalCriterionIds に対応付ける。未対応 ID の診断では該当 item を自分で選んで修正し、最終条件を消したり対応を捏造しない。
|
|
51
51
|
|