kiokuko-dsh 0.1.0
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/LICENSE +21 -0
- package/README.ja.md +50 -0
- package/README.ko.md +50 -0
- package/README.md +53 -0
- package/README.zh-CN.md +50 -0
- package/dist/agent-file/atomic-write.d.ts +93 -0
- package/dist/agent-file/atomic-write.d.ts.map +1 -0
- package/dist/agent-file/atomic-write.js +1026 -0
- package/dist/agent-file/atomic-write.js.map +1 -0
- package/dist/agent-file/managed-block.d.ts +23 -0
- package/dist/agent-file/managed-block.d.ts.map +1 -0
- package/dist/agent-file/managed-block.js +101 -0
- package/dist/agent-file/managed-block.js.map +1 -0
- package/dist/agent-file/render.d.ts +14 -0
- package/dist/agent-file/render.d.ts.map +1 -0
- package/dist/agent-file/render.js +63 -0
- package/dist/agent-file/render.js.map +1 -0
- package/dist/akinator/agent-task.d.ts +72 -0
- package/dist/akinator/agent-task.d.ts.map +1 -0
- package/dist/akinator/agent-task.js +684 -0
- package/dist/akinator/agent-task.js.map +1 -0
- package/dist/akinator/capabilities.d.ts +92 -0
- package/dist/akinator/capabilities.d.ts.map +1 -0
- package/dist/akinator/capabilities.js +364 -0
- package/dist/akinator/capabilities.js.map +1 -0
- package/dist/akinator/capability-binding.d.ts +11 -0
- package/dist/akinator/capability-binding.d.ts.map +1 -0
- package/dist/akinator/capability-binding.js +71 -0
- package/dist/akinator/capability-binding.js.map +1 -0
- package/dist/akinator/domain.d.ts +25 -0
- package/dist/akinator/domain.d.ts.map +1 -0
- package/dist/akinator/domain.js +266 -0
- package/dist/akinator/domain.js.map +1 -0
- package/dist/akinator/knowledge-path.d.ts +33 -0
- package/dist/akinator/knowledge-path.d.ts.map +1 -0
- package/dist/akinator/knowledge-path.js +474 -0
- package/dist/akinator/knowledge-path.js.map +1 -0
- package/dist/akinator/orchestrator.d.ts +7 -0
- package/dist/akinator/orchestrator.d.ts.map +1 -0
- package/dist/akinator/orchestrator.js +8 -0
- package/dist/akinator/orchestrator.js.map +1 -0
- package/dist/akinator/reasoning.d.ts +8 -0
- package/dist/akinator/reasoning.d.ts.map +1 -0
- package/dist/akinator/reasoning.js +118 -0
- package/dist/akinator/reasoning.js.map +1 -0
- package/dist/akinator/service.d.ts +32 -0
- package/dist/akinator/service.d.ts.map +1 -0
- package/dist/akinator/service.js +294 -0
- package/dist/akinator/service.js.map +1 -0
- package/dist/akinator/skill-discovery-attempt.d.ts +26 -0
- package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -0
- package/dist/akinator/skill-discovery-attempt.js +469 -0
- package/dist/akinator/skill-discovery-attempt.js.map +1 -0
- package/dist/akinator/store.d.ts +96 -0
- package/dist/akinator/store.d.ts.map +1 -0
- package/dist/akinator/store.js +642 -0
- package/dist/akinator/store.js.map +1 -0
- package/dist/akinator/types.d.ts +70 -0
- package/dist/akinator/types.d.ts.map +1 -0
- package/dist/akinator/types.js +2 -0
- package/dist/akinator/types.js.map +1 -0
- package/dist/bin/kiokuko.d.ts +3 -0
- package/dist/bin/kiokuko.d.ts.map +1 -0
- package/dist/bin/kiokuko.js +13 -0
- package/dist/bin/kiokuko.js.map +1 -0
- package/dist/cli.d.ts +24 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +962 -0
- package/dist/cli.js.map +1 -0
- package/dist/client/server-client.d.ts +22 -0
- package/dist/client/server-client.d.ts.map +1 -0
- package/dist/client/server-client.js +729 -0
- package/dist/client/server-client.js.map +1 -0
- package/dist/commands/agent.d.ts +12 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +1138 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/backup.d.ts +6 -0
- package/dist/commands/backup.d.ts.map +1 -0
- package/dist/commands/backup.js +77 -0
- package/dist/commands/backup.js.map +1 -0
- package/dist/commands/curator.d.ts +25 -0
- package/dist/commands/curator.d.ts.map +1 -0
- package/dist/commands/curator.js +58 -0
- package/dist/commands/curator.js.map +1 -0
- package/dist/commands/doctor.d.ts +61 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +522 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/embeddings.d.ts +40 -0
- package/dist/commands/embeddings.d.ts.map +1 -0
- package/dist/commands/embeddings.js +317 -0
- package/dist/commands/embeddings.js.map +1 -0
- package/dist/commands/enno.d.ts +7 -0
- package/dist/commands/enno.d.ts.map +1 -0
- package/dist/commands/enno.js +76 -0
- package/dist/commands/enno.js.map +1 -0
- package/dist/commands/export.d.ts +17 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +233 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/import.d.ts +24 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +778 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/init.d.ts +34 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +637 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/ledger.d.ts +7 -0
- package/dist/commands/ledger.d.ts.map +1 -0
- package/dist/commands/ledger.js +66 -0
- package/dist/commands/ledger.js.map +1 -0
- package/dist/commands/purge.d.ts +10 -0
- package/dist/commands/purge.d.ts.map +1 -0
- package/dist/commands/purge.js +29 -0
- package/dist/commands/purge.js.map +1 -0
- package/dist/commands/serve.d.ts +34 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +120 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/commands/server-status.d.ts +20 -0
- package/dist/commands/server-status.d.ts.map +1 -0
- package/dist/commands/server-status.js +21 -0
- package/dist/commands/server-status.js.map +1 -0
- package/dist/commands/server.d.ts +13 -0
- package/dist/commands/server.d.ts.map +1 -0
- package/dist/commands/server.js +89 -0
- package/dist/commands/server.js.map +1 -0
- package/dist/commands/setup.d.ts +105 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +793 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/skills.d.ts +9 -0
- package/dist/commands/skills.d.ts.map +1 -0
- package/dist/commands/skills.js +317 -0
- package/dist/commands/skills.js.map +1 -0
- package/dist/commands/use.d.ts +40 -0
- package/dist/commands/use.d.ts.map +1 -0
- package/dist/commands/use.js +1090 -0
- package/dist/commands/use.js.map +1 -0
- package/dist/config/paths.d.ts +57 -0
- package/dist/config/paths.d.ts.map +1 -0
- package/dist/config/paths.js +352 -0
- package/dist/config/paths.js.map +1 -0
- package/dist/config/project-config.d.ts +11 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +97 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/context/broker.d.ts +99 -0
- package/dist/context/broker.d.ts.map +1 -0
- package/dist/context/broker.js +923 -0
- package/dist/context/broker.js.map +1 -0
- package/dist/context/delivery-migration.d.ts +40 -0
- package/dist/context/delivery-migration.d.ts.map +1 -0
- package/dist/context/delivery-migration.js +367 -0
- package/dist/context/delivery-migration.js.map +1 -0
- package/dist/context/delivery.d.ts +61 -0
- package/dist/context/delivery.d.ts.map +1 -0
- package/dist/context/delivery.js +886 -0
- package/dist/context/delivery.js.map +1 -0
- package/dist/context/feedback.d.ts +73 -0
- package/dist/context/feedback.d.ts.map +1 -0
- package/dist/context/feedback.js +993 -0
- package/dist/context/feedback.js.map +1 -0
- package/dist/context/nudge-store.d.ts +57 -0
- package/dist/context/nudge-store.d.ts.map +1 -0
- package/dist/context/nudge-store.js +227 -0
- package/dist/context/nudge-store.js.map +1 -0
- package/dist/context/nudge-validation.d.ts +26 -0
- package/dist/context/nudge-validation.d.ts.map +1 -0
- package/dist/context/nudge-validation.js +122 -0
- package/dist/context/nudge-validation.js.map +1 -0
- package/dist/context/nudges.d.ts +38 -0
- package/dist/context/nudges.d.ts.map +1 -0
- package/dist/context/nudges.js +131 -0
- package/dist/context/nudges.js.map +1 -0
- package/dist/context/origin.d.ts +9 -0
- package/dist/context/origin.d.ts.map +1 -0
- package/dist/context/origin.js +15 -0
- package/dist/context/origin.js.map +1 -0
- package/dist/context/ranking.d.ts +92 -0
- package/dist/context/ranking.d.ts.map +1 -0
- package/dist/context/ranking.js +560 -0
- package/dist/context/ranking.js.map +1 -0
- package/dist/context/recommendations.d.ts +80 -0
- package/dist/context/recommendations.d.ts.map +1 -0
- package/dist/context/recommendations.js +341 -0
- package/dist/context/recommendations.js.map +1 -0
- package/dist/context/run-state.d.ts +26 -0
- package/dist/context/run-state.d.ts.map +1 -0
- package/dist/context/run-state.js +399 -0
- package/dist/context/run-state.js.map +1 -0
- package/dist/context/scoped-broker.d.ts +77 -0
- package/dist/context/scoped-broker.d.ts.map +1 -0
- package/dist/context/scoped-broker.js +690 -0
- package/dist/context/scoped-broker.js.map +1 -0
- package/dist/context/selection-state.d.ts +32 -0
- package/dist/context/selection-state.d.ts.map +1 -0
- package/dist/context/selection-state.js +369 -0
- package/dist/context/selection-state.js.map +1 -0
- package/dist/db/adapter.d.ts +27 -0
- package/dist/db/adapter.d.ts.map +1 -0
- package/dist/db/adapter.js +41 -0
- package/dist/db/adapter.js.map +1 -0
- package/dist/db/capabilities.d.ts +21 -0
- package/dist/db/capabilities.d.ts.map +1 -0
- package/dist/db/capabilities.js +57 -0
- package/dist/db/capabilities.js.map +1 -0
- package/dist/db/connection.d.ts +21 -0
- package/dist/db/connection.d.ts.map +1 -0
- package/dist/db/connection.js +129 -0
- package/dist/db/connection.js.map +1 -0
- package/dist/db/migrate.d.ts +40 -0
- package/dist/db/migrate.d.ts.map +1 -0
- package/dist/db/migrate.js +216 -0
- package/dist/db/migrate.js.map +1 -0
- package/dist/db/sqlite-retry.d.ts +11 -0
- package/dist/db/sqlite-retry.d.ts.map +1 -0
- package/dist/db/sqlite-retry.js +70 -0
- package/dist/db/sqlite-retry.js.map +1 -0
- package/dist/db/transaction.d.ts +17 -0
- package/dist/db/transaction.d.ts.map +1 -0
- package/dist/db/transaction.js +68 -0
- package/dist/db/transaction.js.map +1 -0
- package/dist/db/upgrade-backup.d.ts +59 -0
- package/dist/db/upgrade-backup.d.ts.map +1 -0
- package/dist/db/upgrade-backup.js +773 -0
- package/dist/db/upgrade-backup.js.map +1 -0
- package/dist/dsh/advisory-runner.d.ts +32 -0
- package/dist/dsh/advisory-runner.d.ts.map +1 -0
- package/dist/dsh/advisory-runner.js +111 -0
- package/dist/dsh/advisory-runner.js.map +1 -0
- package/dist/dsh/agent-state.d.ts +49 -0
- package/dist/dsh/agent-state.d.ts.map +1 -0
- package/dist/dsh/agent-state.js +103 -0
- package/dist/dsh/agent-state.js.map +1 -0
- package/dist/dsh/capability-catalog.d.ts +24 -0
- package/dist/dsh/capability-catalog.d.ts.map +1 -0
- package/dist/dsh/capability-catalog.js +108 -0
- package/dist/dsh/capability-catalog.js.map +1 -0
- package/dist/dsh/commands.d.ts +43 -0
- package/dist/dsh/commands.d.ts.map +1 -0
- package/dist/dsh/commands.js +83 -0
- package/dist/dsh/commands.js.map +1 -0
- package/dist/dsh/composition.d.ts +64 -0
- package/dist/dsh/composition.d.ts.map +1 -0
- package/dist/dsh/composition.js +104 -0
- package/dist/dsh/composition.js.map +1 -0
- package/dist/dsh/config.d.ts +7 -0
- package/dist/dsh/config.d.ts.map +1 -0
- package/dist/dsh/config.js +6 -0
- package/dist/dsh/config.js.map +1 -0
- package/dist/dsh/context-injection.d.ts +24 -0
- package/dist/dsh/context-injection.d.ts.map +1 -0
- package/dist/dsh/context-injection.js +61 -0
- package/dist/dsh/context-injection.js.map +1 -0
- package/dist/dsh/enno-controller.d.ts +94 -0
- package/dist/dsh/enno-controller.d.ts.map +1 -0
- package/dist/dsh/enno-controller.js +137 -0
- package/dist/dsh/enno-controller.js.map +1 -0
- package/dist/dsh/index.d.ts +31 -0
- package/dist/dsh/index.d.ts.map +1 -0
- package/dist/dsh/index.js +52 -0
- package/dist/dsh/index.js.map +1 -0
- package/dist/dsh/intake-gate.d.ts +50 -0
- package/dist/dsh/intake-gate.d.ts.map +1 -0
- package/dist/dsh/intake-gate.js +77 -0
- package/dist/dsh/intake-gate.js.map +1 -0
- package/dist/dsh/intake-profile-resolver.d.ts +22 -0
- package/dist/dsh/intake-profile-resolver.d.ts.map +1 -0
- package/dist/dsh/intake-profile-resolver.js +44 -0
- package/dist/dsh/intake-profile-resolver.js.map +1 -0
- package/dist/dsh/message-sources.d.ts +28 -0
- package/dist/dsh/message-sources.d.ts.map +1 -0
- package/dist/dsh/message-sources.js +62 -0
- package/dist/dsh/message-sources.js.map +1 -0
- package/dist/dsh/parity.d.ts +18 -0
- package/dist/dsh/parity.d.ts.map +1 -0
- package/dist/dsh/parity.js +105 -0
- package/dist/dsh/parity.js.map +1 -0
- package/dist/dsh/prompt-policy.d.ts +18 -0
- package/dist/dsh/prompt-policy.d.ts.map +1 -0
- package/dist/dsh/prompt-policy.js +16 -0
- package/dist/dsh/prompt-policy.js.map +1 -0
- package/dist/dsh/runtime.d.ts +40 -0
- package/dist/dsh/runtime.d.ts.map +1 -0
- package/dist/dsh/runtime.js +237 -0
- package/dist/dsh/runtime.js.map +1 -0
- package/dist/dsh/session-bridge.d.ts +98 -0
- package/dist/dsh/session-bridge.d.ts.map +1 -0
- package/dist/dsh/session-bridge.js +202 -0
- package/dist/dsh/session-bridge.js.map +1 -0
- package/dist/dsh/standard-skill-provider.d.ts +50 -0
- package/dist/dsh/standard-skill-provider.d.ts.map +1 -0
- package/dist/dsh/standard-skill-provider.js +71 -0
- package/dist/dsh/standard-skill-provider.js.map +1 -0
- package/dist/dsh/tool-policy.d.ts +40 -0
- package/dist/dsh/tool-policy.d.ts.map +1 -0
- package/dist/dsh/tool-policy.js +125 -0
- package/dist/dsh/tool-policy.js.map +1 -0
- package/dist/dsh/tools.d.ts +85 -0
- package/dist/dsh/tools.d.ts.map +1 -0
- package/dist/dsh/tools.js +156 -0
- package/dist/dsh/tools.js.map +1 -0
- package/dist/dsh/user-interaction.d.ts +51 -0
- package/dist/dsh/user-interaction.d.ts.map +1 -0
- package/dist/dsh/user-interaction.js +92 -0
- package/dist/dsh/user-interaction.js.map +1 -0
- package/dist/embedding/backend.d.ts +27 -0
- package/dist/embedding/backend.d.ts.map +1 -0
- package/dist/embedding/backend.js +67 -0
- package/dist/embedding/backend.js.map +1 -0
- package/dist/embedding/config.d.ts +10 -0
- package/dist/embedding/config.d.ts.map +1 -0
- package/dist/embedding/config.js +142 -0
- package/dist/embedding/config.js.map +1 -0
- package/dist/embedding/diagnostics.d.ts +34 -0
- package/dist/embedding/diagnostics.d.ts.map +1 -0
- package/dist/embedding/diagnostics.js +274 -0
- package/dist/embedding/diagnostics.js.map +1 -0
- package/dist/embedding/document.d.ts +20 -0
- package/dist/embedding/document.d.ts.map +1 -0
- package/dist/embedding/document.js +122 -0
- package/dist/embedding/document.js.map +1 -0
- package/dist/embedding/javascript-backend.d.ts +11 -0
- package/dist/embedding/javascript-backend.d.ts.map +1 -0
- package/dist/embedding/javascript-backend.js +164 -0
- package/dist/embedding/javascript-backend.js.map +1 -0
- package/dist/embedding/jobs.d.ts +67 -0
- package/dist/embedding/jobs.d.ts.map +1 -0
- package/dist/embedding/jobs.js +259 -0
- package/dist/embedding/jobs.js.map +1 -0
- package/dist/embedding/local-model-loader.d.ts +24 -0
- package/dist/embedding/local-model-loader.d.ts.map +1 -0
- package/dist/embedding/local-model-loader.js +64 -0
- package/dist/embedding/local-model-loader.js.map +1 -0
- package/dist/embedding/local-transformers-provider.d.ts +17 -0
- package/dist/embedding/local-transformers-provider.d.ts.map +1 -0
- package/dist/embedding/local-transformers-provider.js +54 -0
- package/dist/embedding/local-transformers-provider.js.map +1 -0
- package/dist/embedding/model-download.d.ts +32 -0
- package/dist/embedding/model-download.d.ts.map +1 -0
- package/dist/embedding/model-download.js +41 -0
- package/dist/embedding/model-download.js.map +1 -0
- package/dist/embedding/model-installation.d.ts +17 -0
- package/dist/embedding/model-installation.d.ts.map +1 -0
- package/dist/embedding/model-installation.js +71 -0
- package/dist/embedding/model-installation.js.map +1 -0
- package/dist/embedding/model-manifest.d.ts +18 -0
- package/dist/embedding/model-manifest.d.ts.map +1 -0
- package/dist/embedding/model-manifest.js +86 -0
- package/dist/embedding/model-manifest.js.map +1 -0
- package/dist/embedding/openai-compatible-provider.d.ts +24 -0
- package/dist/embedding/openai-compatible-provider.d.ts.map +1 -0
- package/dist/embedding/openai-compatible-provider.js +330 -0
- package/dist/embedding/openai-compatible-provider.js.map +1 -0
- package/dist/embedding/presets/local-small.d.ts +8 -0
- package/dist/embedding/presets/local-small.d.ts.map +1 -0
- package/dist/embedding/presets/local-small.js +67 -0
- package/dist/embedding/presets/local-small.js.map +1 -0
- package/dist/embedding/presets/manifest.d.ts +27 -0
- package/dist/embedding/presets/manifest.d.ts.map +1 -0
- package/dist/embedding/presets/manifest.js +5 -0
- package/dist/embedding/presets/manifest.js.map +1 -0
- package/dist/embedding/profile.d.ts +10 -0
- package/dist/embedding/profile.d.ts.map +1 -0
- package/dist/embedding/profile.js +67 -0
- package/dist/embedding/profile.js.map +1 -0
- package/dist/embedding/provider.d.ts +13 -0
- package/dist/embedding/provider.d.ts.map +1 -0
- package/dist/embedding/provider.js +17 -0
- package/dist/embedding/provider.js.map +1 -0
- package/dist/embedding/query-cache.d.ts +45 -0
- package/dist/embedding/query-cache.d.ts.map +1 -0
- package/dist/embedding/query-cache.js +181 -0
- package/dist/embedding/query-cache.js.map +1 -0
- package/dist/embedding/runtime.d.ts +14 -0
- package/dist/embedding/runtime.d.ts.map +1 -0
- package/dist/embedding/runtime.js +407 -0
- package/dist/embedding/runtime.js.map +1 -0
- package/dist/embedding/settings.d.ts +6 -0
- package/dist/embedding/settings.d.ts.map +1 -0
- package/dist/embedding/settings.js +69 -0
- package/dist/embedding/settings.js.map +1 -0
- package/dist/embedding/setup-lock.d.ts +7 -0
- package/dist/embedding/setup-lock.d.ts.map +1 -0
- package/dist/embedding/setup-lock.js +35 -0
- package/dist/embedding/setup-lock.js.map +1 -0
- package/dist/embedding/setup-service.d.ts +53 -0
- package/dist/embedding/setup-service.d.ts.map +1 -0
- package/dist/embedding/setup-service.js +184 -0
- package/dist/embedding/setup-service.js.map +1 -0
- package/dist/embedding/sqlite-vec-backend.d.ts +9 -0
- package/dist/embedding/sqlite-vec-backend.d.ts.map +1 -0
- package/dist/embedding/sqlite-vec-backend.js +106 -0
- package/dist/embedding/sqlite-vec-backend.js.map +1 -0
- package/dist/embedding/sqlite-vec-loader.d.ts +17 -0
- package/dist/embedding/sqlite-vec-loader.d.ts.map +1 -0
- package/dist/embedding/sqlite-vec-loader.js +51 -0
- package/dist/embedding/sqlite-vec-loader.js.map +1 -0
- package/dist/embedding/store.d.ts +66 -0
- package/dist/embedding/store.d.ts.map +1 -0
- package/dist/embedding/store.js +490 -0
- package/dist/embedding/store.js.map +1 -0
- package/dist/embedding/types.d.ts +126 -0
- package/dist/embedding/types.d.ts.map +1 -0
- package/dist/embedding/types.js +2 -0
- package/dist/embedding/types.js.map +1 -0
- package/dist/embedding/vector.d.ts +9 -0
- package/dist/embedding/vector.d.ts.map +1 -0
- package/dist/embedding/vector.js +90 -0
- package/dist/embedding/vector.js.map +1 -0
- package/dist/embedding/worker.d.ts +23 -0
- package/dist/embedding/worker.d.ts.map +1 -0
- package/dist/embedding/worker.js +84 -0
- package/dist/embedding/worker.js.map +1 -0
- package/dist/enno-oduno/adapters.d.ts +21 -0
- package/dist/enno-oduno/adapters.d.ts.map +1 -0
- package/dist/enno-oduno/adapters.js +253 -0
- package/dist/enno-oduno/adapters.js.map +1 -0
- package/dist/enno-oduno/advisory-store.d.ts +31 -0
- package/dist/enno-oduno/advisory-store.d.ts.map +1 -0
- package/dist/enno-oduno/advisory-store.js +105 -0
- package/dist/enno-oduno/advisory-store.js.map +1 -0
- package/dist/enno-oduno/advisory.d.ts +18 -0
- package/dist/enno-oduno/advisory.d.ts.map +1 -0
- package/dist/enno-oduno/advisory.js +310 -0
- package/dist/enno-oduno/advisory.js.map +1 -0
- package/dist/enno-oduno/confirmation.d.ts +4 -0
- package/dist/enno-oduno/confirmation.d.ts.map +1 -0
- package/dist/enno-oduno/confirmation.js +127 -0
- package/dist/enno-oduno/confirmation.js.map +1 -0
- package/dist/enno-oduno/directives.d.ts +12 -0
- package/dist/enno-oduno/directives.d.ts.map +1 -0
- package/dist/enno-oduno/directives.js +276 -0
- package/dist/enno-oduno/directives.js.map +1 -0
- package/dist/enno-oduno/enno-oduno.d.mts +2 -0
- package/dist/enno-oduno/enno-oduno.d.mts.map +1 -0
- package/dist/enno-oduno/enno-oduno.mjs +3 -0
- package/dist/enno-oduno/enno-oduno.mjs.map +1 -0
- package/dist/enno-oduno/experts.d.ts +6 -0
- package/dist/enno-oduno/experts.d.ts.map +1 -0
- package/dist/enno-oduno/experts.js +32 -0
- package/dist/enno-oduno/experts.js.map +1 -0
- package/dist/enno-oduno/goki.d.mts +2 -0
- package/dist/enno-oduno/goki.d.mts.map +1 -0
- package/dist/enno-oduno/goki.mjs +3 -0
- package/dist/enno-oduno/goki.mjs.map +1 -0
- package/dist/enno-oduno/handoff.d.ts +4 -0
- package/dist/enno-oduno/handoff.d.ts.map +1 -0
- package/dist/enno-oduno/handoff.js +18 -0
- package/dist/enno-oduno/handoff.js.map +1 -0
- package/dist/enno-oduno/harness.d.ts +20 -0
- package/dist/enno-oduno/harness.d.ts.map +1 -0
- package/dist/enno-oduno/harness.js +66 -0
- package/dist/enno-oduno/harness.js.map +1 -0
- package/dist/enno-oduno/instructions.d.ts +9 -0
- package/dist/enno-oduno/instructions.d.ts.map +1 -0
- package/dist/enno-oduno/instructions.js +12 -0
- package/dist/enno-oduno/instructions.js.map +1 -0
- package/dist/enno-oduno/plan-recovery.d.ts +44 -0
- package/dist/enno-oduno/plan-recovery.d.ts.map +1 -0
- package/dist/enno-oduno/plan-recovery.js +160 -0
- package/dist/enno-oduno/plan-recovery.js.map +1 -0
- package/dist/enno-oduno/repository-state.d.ts +8 -0
- package/dist/enno-oduno/repository-state.d.ts.map +1 -0
- package/dist/enno-oduno/repository-state.js +139 -0
- package/dist/enno-oduno/repository-state.js.map +1 -0
- package/dist/enno-oduno/role-runner.d.ts +9 -0
- package/dist/enno-oduno/role-runner.d.ts.map +1 -0
- package/dist/enno-oduno/role-runner.js +219 -0
- package/dist/enno-oduno/role-runner.js.map +1 -0
- package/dist/enno-oduno/sanitize.d.ts +17 -0
- package/dist/enno-oduno/sanitize.d.ts.map +1 -0
- package/dist/enno-oduno/sanitize.js +88 -0
- package/dist/enno-oduno/sanitize.js.map +1 -0
- package/dist/enno-oduno/schemas.d.ts +962 -0
- package/dist/enno-oduno/schemas.d.ts.map +1 -0
- package/dist/enno-oduno/schemas.js +609 -0
- package/dist/enno-oduno/schemas.js.map +1 -0
- package/dist/enno-oduno/service.d.ts +57 -0
- package/dist/enno-oduno/service.d.ts.map +1 -0
- package/dist/enno-oduno/service.js +1379 -0
- package/dist/enno-oduno/service.js.map +1 -0
- package/dist/enno-oduno/skills.d.ts +22 -0
- package/dist/enno-oduno/skills.d.ts.map +1 -0
- package/dist/enno-oduno/skills.js +127 -0
- package/dist/enno-oduno/skills.js.map +1 -0
- package/dist/enno-oduno/store.d.ts +106 -0
- package/dist/enno-oduno/store.d.ts.map +1 -0
- package/dist/enno-oduno/store.js +712 -0
- package/dist/enno-oduno/store.js.map +1 -0
- package/dist/enno-oduno/types.d.ts +457 -0
- package/dist/enno-oduno/types.d.ts.map +1 -0
- package/dist/enno-oduno/types.js +66 -0
- package/dist/enno-oduno/types.js.map +1 -0
- package/dist/enno-oduno/validation-errors.d.ts +93 -0
- package/dist/enno-oduno/validation-errors.d.ts.map +1 -0
- package/dist/enno-oduno/validation-errors.js +152 -0
- package/dist/enno-oduno/validation-errors.js.map +1 -0
- package/dist/enno-oduno/verifier.d.ts +10 -0
- package/dist/enno-oduno/verifier.d.ts.map +1 -0
- package/dist/enno-oduno/verifier.js +214 -0
- package/dist/enno-oduno/verifier.js.map +1 -0
- package/dist/enno-oduno/zenki.d.mts +2 -0
- package/dist/enno-oduno/zenki.d.mts.map +1 -0
- package/dist/enno-oduno/zenki.mjs +3 -0
- package/dist/enno-oduno/zenki.mjs.map +1 -0
- package/dist/errors.d.ts +13 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +60 -0
- package/dist/errors.js.map +1 -0
- package/dist/gateway/agent-service.d.ts +72 -0
- package/dist/gateway/agent-service.d.ts.map +1 -0
- package/dist/gateway/agent-service.js +594 -0
- package/dist/gateway/agent-service.js.map +1 -0
- package/dist/gateway/checkpoint-mutation-service.d.ts +33 -0
- package/dist/gateway/checkpoint-mutation-service.d.ts.map +1 -0
- package/dist/gateway/checkpoint-mutation-service.js +513 -0
- package/dist/gateway/checkpoint-mutation-service.js.map +1 -0
- package/dist/gateway/checkpoint-service.d.ts +40 -0
- package/dist/gateway/checkpoint-service.d.ts.map +1 -0
- package/dist/gateway/checkpoint-service.js +149 -0
- package/dist/gateway/checkpoint-service.js.map +1 -0
- package/dist/gateway/nudge-delivery-service.d.ts +21 -0
- package/dist/gateway/nudge-delivery-service.d.ts.map +1 -0
- package/dist/gateway/nudge-delivery-service.js +67 -0
- package/dist/gateway/nudge-delivery-service.js.map +1 -0
- package/dist/ledger/archive.d.ts +48 -0
- package/dist/ledger/archive.d.ts.map +1 -0
- package/dist/ledger/archive.js +1261 -0
- package/dist/ledger/archive.js.map +1 -0
- package/dist/ledger/checkpoint-contract.d.ts +144 -0
- package/dist/ledger/checkpoint-contract.d.ts.map +1 -0
- package/dist/ledger/checkpoint-contract.js +91 -0
- package/dist/ledger/checkpoint-contract.js.map +1 -0
- package/dist/ledger/checkpoint-eligibility.d.ts +17 -0
- package/dist/ledger/checkpoint-eligibility.d.ts.map +1 -0
- package/dist/ledger/checkpoint-eligibility.js +19 -0
- package/dist/ledger/checkpoint-eligibility.js.map +1 -0
- package/dist/ledger/hash.d.ts +22 -0
- package/dist/ledger/hash.d.ts.map +1 -0
- package/dist/ledger/hash.js +25 -0
- package/dist/ledger/hash.js.map +1 -0
- package/dist/ledger/maintenance.d.ts +68 -0
- package/dist/ledger/maintenance.d.ts.map +1 -0
- package/dist/ledger/maintenance.js +767 -0
- package/dist/ledger/maintenance.js.map +1 -0
- package/dist/ledger/projection.d.ts +38 -0
- package/dist/ledger/projection.d.ts.map +1 -0
- package/dist/ledger/projection.js +315 -0
- package/dist/ledger/projection.js.map +1 -0
- package/dist/ledger/promotion.d.ts +19 -0
- package/dist/ledger/promotion.d.ts.map +1 -0
- package/dist/ledger/promotion.js +310 -0
- package/dist/ledger/promotion.js.map +1 -0
- package/dist/ledger/query.d.ts +41 -0
- package/dist/ledger/query.d.ts.map +1 -0
- package/dist/ledger/query.js +321 -0
- package/dist/ledger/query.js.map +1 -0
- package/dist/ledger/redaction.d.ts +8 -0
- package/dist/ledger/redaction.d.ts.map +1 -0
- package/dist/ledger/redaction.js +40 -0
- package/dist/ledger/redaction.js.map +1 -0
- package/dist/ledger/store.d.ts +45 -0
- package/dist/ledger/store.d.ts.map +1 -0
- package/dist/ledger/store.js +327 -0
- package/dist/ledger/store.js.map +1 -0
- package/dist/ledger/types.d.ts +115 -0
- package/dist/ledger/types.d.ts.map +1 -0
- package/dist/ledger/types.js +27 -0
- package/dist/ledger/types.js.map +1 -0
- package/dist/ledger/validate.d.ts +10 -0
- package/dist/ledger/validate.d.ts.map +1 -0
- package/dist/ledger/validate.js +178 -0
- package/dist/ledger/validate.js.map +1 -0
- package/dist/mcp/bounded-stdio-transport.d.ts +26 -0
- package/dist/mcp/bounded-stdio-transport.d.ts.map +1 -0
- package/dist/mcp/bounded-stdio-transport.js +121 -0
- package/dist/mcp/bounded-stdio-transport.js.map +1 -0
- package/dist/mcp/request-deadline.d.ts +51 -0
- package/dist/mcp/request-deadline.d.ts.map +1 -0
- package/dist/mcp/request-deadline.js +155 -0
- package/dist/mcp/request-deadline.js.map +1 -0
- package/dist/mcp/runtime-owner.d.ts +27 -0
- package/dist/mcp/runtime-owner.d.ts.map +1 -0
- package/dist/mcp/runtime-owner.js +129 -0
- package/dist/mcp/runtime-owner.js.map +1 -0
- package/dist/mcp/server.d.ts +24 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +502 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/memory/audit.d.ts +13 -0
- package/dist/memory/audit.d.ts.map +1 -0
- package/dist/memory/audit.js +15 -0
- package/dist/memory/audit.js.map +1 -0
- package/dist/memory/checkpoint-contract.d.ts +490 -0
- package/dist/memory/checkpoint-contract.d.ts.map +1 -0
- package/dist/memory/checkpoint-contract.js +106 -0
- package/dist/memory/checkpoint-contract.js.map +1 -0
- package/dist/memory/curator-trust.d.ts +15 -0
- package/dist/memory/curator-trust.d.ts.map +1 -0
- package/dist/memory/curator-trust.js +58 -0
- package/dist/memory/curator-trust.js.map +1 -0
- package/dist/memory/curator.d.ts +115 -0
- package/dist/memory/curator.d.ts.map +1 -0
- package/dist/memory/curator.js +706 -0
- package/dist/memory/curator.js.map +1 -0
- package/dist/memory/entries.d.ts +75 -0
- package/dist/memory/entries.d.ts.map +1 -0
- package/dist/memory/entries.js +355 -0
- package/dist/memory/entries.js.map +1 -0
- package/dist/memory/federated-retrieval.d.ts +79 -0
- package/dist/memory/federated-retrieval.d.ts.map +1 -0
- package/dist/memory/federated-retrieval.js +515 -0
- package/dist/memory/federated-retrieval.js.map +1 -0
- package/dist/memory/hybrid-retrieval.d.ts +33 -0
- package/dist/memory/hybrid-retrieval.d.ts.map +1 -0
- package/dist/memory/hybrid-retrieval.js +398 -0
- package/dist/memory/hybrid-retrieval.js.map +1 -0
- package/dist/memory/lifecycle.d.ts +29 -0
- package/dist/memory/lifecycle.d.ts.map +1 -0
- package/dist/memory/lifecycle.js +65 -0
- package/dist/memory/lifecycle.js.map +1 -0
- package/dist/memory/portability.d.ts +10 -0
- package/dist/memory/portability.d.ts.map +1 -0
- package/dist/memory/portability.js +44 -0
- package/dist/memory/portability.js.map +1 -0
- package/dist/memory/rebuild-search.d.ts +24 -0
- package/dist/memory/rebuild-search.d.ts.map +1 -0
- package/dist/memory/rebuild-search.js +167 -0
- package/dist/memory/rebuild-search.js.map +1 -0
- package/dist/memory/retrieval-query.d.ts +16 -0
- package/dist/memory/retrieval-query.d.ts.map +1 -0
- package/dist/memory/retrieval-query.js +161 -0
- package/dist/memory/retrieval-query.js.map +1 -0
- package/dist/memory/retrieval.d.ts +56 -0
- package/dist/memory/retrieval.d.ts.map +1 -0
- package/dist/memory/retrieval.js +101 -0
- package/dist/memory/retrieval.js.map +1 -0
- package/dist/memory/revisions.d.ts +123 -0
- package/dist/memory/revisions.d.ts.map +1 -0
- package/dist/memory/revisions.js +759 -0
- package/dist/memory/revisions.js.map +1 -0
- package/dist/memory/scoped-memory.d.ts +76 -0
- package/dist/memory/scoped-memory.d.ts.map +1 -0
- package/dist/memory/scoped-memory.js +539 -0
- package/dist/memory/scoped-memory.js.map +1 -0
- package/dist/memory/secrets.d.ts +8 -0
- package/dist/memory/secrets.d.ts.map +1 -0
- package/dist/memory/secrets.js +54 -0
- package/dist/memory/secrets.js.map +1 -0
- package/dist/memory/structured-memory.d.ts +60 -0
- package/dist/memory/structured-memory.d.ts.map +1 -0
- package/dist/memory/structured-memory.js +341 -0
- package/dist/memory/structured-memory.js.map +1 -0
- package/dist/memory/workspaces.d.ts +26 -0
- package/dist/memory/workspaces.d.ts.map +1 -0
- package/dist/memory/workspaces.js +159 -0
- package/dist/memory/workspaces.js.map +1 -0
- package/dist/model-tools/contracts.d.ts +1297 -0
- package/dist/model-tools/contracts.d.ts.map +1 -0
- package/dist/model-tools/contracts.js +104 -0
- package/dist/model-tools/contracts.js.map +1 -0
- package/dist/model-tools/registry.d.ts +8 -0
- package/dist/model-tools/registry.d.ts.map +1 -0
- package/dist/model-tools/registry.js +59 -0
- package/dist/model-tools/registry.js.map +1 -0
- package/dist/package-version.d.ts +2 -0
- package/dist/package-version.d.ts.map +1 -0
- package/dist/package-version.js +7 -0
- package/dist/package-version.js.map +1 -0
- package/dist/repository/binding.d.ts +32 -0
- package/dist/repository/binding.d.ts.map +1 -0
- package/dist/repository/binding.js +208 -0
- package/dist/repository/binding.js.map +1 -0
- package/dist/repository/cwd-schema.d.ts +4 -0
- package/dist/repository/cwd-schema.d.ts.map +1 -0
- package/dist/repository/cwd-schema.js +8 -0
- package/dist/repository/cwd-schema.js.map +1 -0
- package/dist/repository/detect-root.d.ts +13 -0
- package/dist/repository/detect-root.d.ts.map +1 -0
- package/dist/repository/detect-root.js +77 -0
- package/dist/repository/detect-root.js.map +1 -0
- package/dist/repository/framework-version.d.ts +8 -0
- package/dist/repository/framework-version.d.ts.map +1 -0
- package/dist/repository/framework-version.js +29 -0
- package/dist/repository/framework-version.js.map +1 -0
- package/dist/repository/git-origin.d.ts +2 -0
- package/dist/repository/git-origin.d.ts.map +1 -0
- package/dist/repository/git-origin.js +15 -0
- package/dist/repository/git-origin.js.map +1 -0
- package/dist/repository/gitignore.d.ts +8 -0
- package/dist/repository/gitignore.d.ts.map +1 -0
- package/dist/repository/gitignore.js +21 -0
- package/dist/repository/gitignore.js.map +1 -0
- package/dist/repository/identity-value.d.ts +4 -0
- package/dist/repository/identity-value.d.ts.map +1 -0
- package/dist/repository/identity-value.js +24 -0
- package/dist/repository/identity-value.js.map +1 -0
- package/dist/repository/identity.d.ts +19 -0
- package/dist/repository/identity.d.ts.map +1 -0
- package/dist/repository/identity.js +25 -0
- package/dist/repository/identity.js.map +1 -0
- package/dist/repository/project-fingerprint.d.ts +33 -0
- package/dist/repository/project-fingerprint.d.ts.map +1 -0
- package/dist/repository/project-fingerprint.js +429 -0
- package/dist/repository/project-fingerprint.js.map +1 -0
- package/dist/repository/remote-url.d.ts +3 -0
- package/dist/repository/remote-url.d.ts.map +1 -0
- package/dist/repository/remote-url.js +35 -0
- package/dist/repository/remote-url.js.map +1 -0
- package/dist/runtime-version.d.ts +6 -0
- package/dist/runtime-version.d.ts.map +1 -0
- package/dist/runtime-version.js +33 -0
- package/dist/runtime-version.js.map +1 -0
- package/dist/security/sanitize.d.ts +4 -0
- package/dist/security/sanitize.d.ts.map +1 -0
- package/dist/security/sanitize.js +174 -0
- package/dist/security/sanitize.js.map +1 -0
- package/dist/serialization/boundary-json.d.ts +20 -0
- package/dist/serialization/boundary-json.d.ts.map +1 -0
- package/dist/serialization/boundary-json.js +129 -0
- package/dist/serialization/boundary-json.js.map +1 -0
- package/dist/serialization/envelope.d.ts +20 -0
- package/dist/serialization/envelope.d.ts.map +1 -0
- package/dist/serialization/envelope.js +11 -0
- package/dist/serialization/envelope.js.map +1 -0
- package/dist/serialization/validate.d.ts +38 -0
- package/dist/serialization/validate.d.ts.map +1 -0
- package/dist/serialization/validate.js +233 -0
- package/dist/serialization/validate.js.map +1 -0
- package/dist/server/agent-application.d.ts +6 -0
- package/dist/server/agent-application.d.ts.map +1 -0
- package/dist/server/agent-application.js +74 -0
- package/dist/server/agent-application.js.map +1 -0
- package/dist/server/agent-checkpoint-use-case.d.ts +41 -0
- package/dist/server/agent-checkpoint-use-case.d.ts.map +1 -0
- package/dist/server/agent-checkpoint-use-case.js +159 -0
- package/dist/server/agent-checkpoint-use-case.js.map +1 -0
- package/dist/server/app.d.ts +5 -0
- package/dist/server/app.d.ts.map +1 -0
- package/dist/server/app.js +87 -0
- package/dist/server/app.js.map +1 -0
- package/dist/server/auth.d.ts +2 -0
- package/dist/server/auth.d.ts.map +1 -0
- package/dist/server/auth.js +22 -0
- package/dist/server/auth.js.map +1 -0
- package/dist/server/http.d.ts +86 -0
- package/dist/server/http.d.ts.map +1 -0
- package/dist/server/http.js +455 -0
- package/dist/server/http.js.map +1 -0
- package/dist/server/idempotency.d.ts +6 -0
- package/dist/server/idempotency.d.ts.map +1 -0
- package/dist/server/idempotency.js +210 -0
- package/dist/server/idempotency.js.map +1 -0
- package/dist/server/instance-lock.d.ts +17 -0
- package/dist/server/instance-lock.d.ts.map +1 -0
- package/dist/server/instance-lock.js +118 -0
- package/dist/server/instance-lock.js.map +1 -0
- package/dist/server/router.d.ts +29 -0
- package/dist/server/router.d.ts.map +1 -0
- package/dist/server/router.js +129 -0
- package/dist/server/router.js.map +1 -0
- package/dist/server/routes/agent-capability-gate.d.ts +43 -0
- package/dist/server/routes/agent-capability-gate.d.ts.map +1 -0
- package/dist/server/routes/agent-capability-gate.js +202 -0
- package/dist/server/routes/agent-capability-gate.js.map +1 -0
- package/dist/server/routes/agent-events.d.ts +5 -0
- package/dist/server/routes/agent-events.d.ts.map +1 -0
- package/dist/server/routes/agent-events.js +53 -0
- package/dist/server/routes/agent-events.js.map +1 -0
- package/dist/server/routes/agent-intake.d.ts +5 -0
- package/dist/server/routes/agent-intake.d.ts.map +1 -0
- package/dist/server/routes/agent-intake.js +50 -0
- package/dist/server/routes/agent-intake.js.map +1 -0
- package/dist/server/routes/agent-promotions.d.ts +5 -0
- package/dist/server/routes/agent-promotions.d.ts.map +1 -0
- package/dist/server/routes/agent-promotions.js +55 -0
- package/dist/server/routes/agent-promotions.js.map +1 -0
- package/dist/server/routes/agent-runs.d.ts +32 -0
- package/dist/server/routes/agent-runs.d.ts.map +1 -0
- package/dist/server/routes/agent-runs.js +165 -0
- package/dist/server/routes/agent-runs.js.map +1 -0
- package/dist/server/routes/request-binding.d.ts +5 -0
- package/dist/server/routes/request-binding.d.ts.map +1 -0
- package/dist/server/routes/request-binding.js +49 -0
- package/dist/server/routes/request-binding.js.map +1 -0
- package/dist/server/routes/task5-support.d.ts +4 -0
- package/dist/server/routes/task5-support.d.ts.map +1 -0
- package/dist/server/routes/task5-support.js +6 -0
- package/dist/server/routes/task5-support.js.map +1 -0
- package/dist/server/routes/task5.d.ts +5 -0
- package/dist/server/routes/task5.d.ts.map +1 -0
- package/dist/server/routes/task5.js +85 -0
- package/dist/server/routes/task5.js.map +1 -0
- package/dist/server/runtime-descriptor.d.ts +24 -0
- package/dist/server/runtime-descriptor.d.ts.map +1 -0
- package/dist/server/runtime-descriptor.js +156 -0
- package/dist/server/runtime-descriptor.js.map +1 -0
- package/dist/server/write-queue.d.ts +20 -0
- package/dist/server/write-queue.d.ts.map +1 -0
- package/dist/server/write-queue.js +83 -0
- package/dist/server/write-queue.js.map +1 -0
- package/dist/setup/claude-config.d.ts +8 -0
- package/dist/setup/claude-config.d.ts.map +1 -0
- package/dist/setup/claude-config.js +95 -0
- package/dist/setup/claude-config.js.map +1 -0
- package/dist/setup/client-detection.d.ts +13 -0
- package/dist/setup/client-detection.d.ts.map +1 -0
- package/dist/setup/client-detection.js +64 -0
- package/dist/setup/client-detection.js.map +1 -0
- package/dist/setup/enno-client-config.d.ts +9 -0
- package/dist/setup/enno-client-config.d.ts.map +1 -0
- package/dist/setup/enno-client-config.js +172 -0
- package/dist/setup/enno-client-config.js.map +1 -0
- package/dist/setup/hermes-config.d.ts +7 -0
- package/dist/setup/hermes-config.d.ts.map +1 -0
- package/dist/setup/hermes-config.js +145 -0
- package/dist/setup/hermes-config.js.map +1 -0
- package/dist/setup/legacy-client-cleanup.d.ts +6 -0
- package/dist/setup/legacy-client-cleanup.d.ts.map +1 -0
- package/dist/setup/legacy-client-cleanup.js +152 -0
- package/dist/setup/legacy-client-cleanup.js.map +1 -0
- package/dist/setup/managed-text.d.ts +6 -0
- package/dist/setup/managed-text.d.ts.map +1 -0
- package/dist/setup/managed-text.js +52 -0
- package/dist/setup/managed-text.js.map +1 -0
- package/dist/setup/mcp-conflict.d.ts +4 -0
- package/dist/setup/mcp-conflict.d.ts.map +1 -0
- package/dist/setup/mcp-conflict.js +15 -0
- package/dist/setup/mcp-conflict.js.map +1 -0
- package/dist/setup/opencode-config.d.ts +8 -0
- package/dist/setup/opencode-config.d.ts.map +1 -0
- package/dist/setup/opencode-config.js +98 -0
- package/dist/setup/opencode-config.js.map +1 -0
- package/dist/setup/project-agent-refresh.d.ts +41 -0
- package/dist/setup/project-agent-refresh.d.ts.map +1 -0
- package/dist/setup/project-agent-refresh.js +158 -0
- package/dist/setup/project-agent-refresh.js.map +1 -0
- package/dist/setup/render.d.ts +13 -0
- package/dist/setup/render.d.ts.map +1 -0
- package/dist/setup/render.js +334 -0
- package/dist/setup/render.js.map +1 -0
- package/dist/setup/standard-skills.d.ts +60 -0
- package/dist/setup/standard-skills.d.ts.map +1 -0
- package/dist/setup/standard-skills.js +133 -0
- package/dist/setup/standard-skills.js.map +1 -0
- package/dist/setup/strict-json.d.ts +7 -0
- package/dist/setup/strict-json.d.ts.map +1 -0
- package/dist/setup/strict-json.js +98 -0
- package/dist/setup/strict-json.js.map +1 -0
- package/dist/setup/strict-toml.d.ts +18 -0
- package/dist/setup/strict-toml.d.ts.map +1 -0
- package/dist/setup/strict-toml.js +491 -0
- package/dist/setup/strict-toml.js.map +1 -0
- package/dist/skills/cache.d.ts +15 -0
- package/dist/skills/cache.d.ts.map +1 -0
- package/dist/skills/cache.js +19 -0
- package/dist/skills/cache.js.map +1 -0
- package/dist/skills/candidate-ranking.d.ts +15 -0
- package/dist/skills/candidate-ranking.d.ts.map +1 -0
- package/dist/skills/candidate-ranking.js +52 -0
- package/dist/skills/candidate-ranking.js.map +1 -0
- package/dist/skills/chunking.d.ts +11 -0
- package/dist/skills/chunking.d.ts.map +1 -0
- package/dist/skills/chunking.js +291 -0
- package/dist/skills/chunking.js.map +1 -0
- package/dist/skills/config.d.ts +19 -0
- package/dist/skills/config.d.ts.map +1 -0
- package/dist/skills/config.js +103 -0
- package/dist/skills/config.js.map +1 -0
- package/dist/skills/discovery-service.d.ts +26 -0
- package/dist/skills/discovery-service.d.ts.map +1 -0
- package/dist/skills/discovery-service.js +929 -0
- package/dist/skills/discovery-service.js.map +1 -0
- package/dist/skills/external-transport.d.ts +2 -0
- package/dist/skills/external-transport.d.ts.map +1 -0
- package/dist/skills/external-transport.js +30 -0
- package/dist/skills/external-transport.js.map +1 -0
- package/dist/skills/find.d.ts +17 -0
- package/dist/skills/find.d.ts.map +1 -0
- package/dist/skills/find.js +59 -0
- package/dist/skills/find.js.map +1 -0
- package/dist/skills/gap-detection.d.ts +23 -0
- package/dist/skills/gap-detection.d.ts.map +1 -0
- package/dist/skills/gap-detection.js +62 -0
- package/dist/skills/gap-detection.js.map +1 -0
- package/dist/skills/import-preparation.d.ts +4 -0
- package/dist/skills/import-preparation.d.ts.map +1 -0
- package/dist/skills/import-preparation.js +20 -0
- package/dist/skills/import-preparation.js.map +1 -0
- package/dist/skills/materialization-authority.d.ts +11 -0
- package/dist/skills/materialization-authority.d.ts.map +1 -0
- package/dist/skills/materialization-authority.js +92 -0
- package/dist/skills/materialization-authority.js.map +1 -0
- package/dist/skills/materialization-service.d.ts +22 -0
- package/dist/skills/materialization-service.d.ts.map +1 -0
- package/dist/skills/materialization-service.js +101 -0
- package/dist/skills/materialization-service.js.map +1 -0
- package/dist/skills/official-catalog.d.ts +31 -0
- package/dist/skills/official-catalog.d.ts.map +1 -0
- package/dist/skills/official-catalog.js +110 -0
- package/dist/skills/official-catalog.js.map +1 -0
- package/dist/skills/providers/schema.d.ts +30 -0
- package/dist/skills/providers/schema.d.ts.map +1 -0
- package/dist/skills/providers/schema.js +354 -0
- package/dist/skills/providers/schema.js.map +1 -0
- package/dist/skills/providers/skills-sh-compat.d.ts +17 -0
- package/dist/skills/providers/skills-sh-compat.d.ts.map +1 -0
- package/dist/skills/providers/skills-sh-compat.js +73 -0
- package/dist/skills/providers/skills-sh-compat.js.map +1 -0
- package/dist/skills/providers/skills-sh-v1.d.ts +23 -0
- package/dist/skills/providers/skills-sh-v1.d.ts.map +1 -0
- package/dist/skills/providers/skills-sh-v1.js +152 -0
- package/dist/skills/providers/skills-sh-v1.js.map +1 -0
- package/dist/skills/query-builder.d.ts +18 -0
- package/dist/skills/query-builder.d.ts.map +1 -0
- package/dist/skills/query-builder.js +93 -0
- package/dist/skills/query-builder.js.map +1 -0
- package/dist/skills/source/errors.d.ts +9 -0
- package/dist/skills/source/errors.d.ts.map +1 -0
- package/dist/skills/source/errors.js +15 -0
- package/dist/skills/source/errors.js.map +1 -0
- package/dist/skills/source/frontmatter.d.ts +9 -0
- package/dist/skills/source/frontmatter.d.ts.map +1 -0
- package/dist/skills/source/frontmatter.js +77 -0
- package/dist/skills/source/frontmatter.js.map +1 -0
- package/dist/skills/source/github-fetcher.d.ts +20 -0
- package/dist/skills/source/github-fetcher.d.ts.map +1 -0
- package/dist/skills/source/github-fetcher.js +296 -0
- package/dist/skills/source/github-fetcher.js.map +1 -0
- package/dist/skills/source/snapshot-validator.d.ts +28 -0
- package/dist/skills/source/snapshot-validator.d.ts.map +1 -0
- package/dist/skills/source/snapshot-validator.js +186 -0
- package/dist/skills/source/snapshot-validator.js.map +1 -0
- package/dist/skills/store.d.ts +180 -0
- package/dist/skills/store.d.ts.map +1 -0
- package/dist/skills/store.js +1712 -0
- package/dist/skills/store.js.map +1 -0
- package/dist/skills/types.d.ts +171 -0
- package/dist/skills/types.d.ts.map +1 -0
- package/dist/skills/types.js +2 -0
- package/dist/skills/types.js.map +1 -0
- package/dist/web/i18n.d.ts +184 -0
- package/dist/web/i18n.d.ts.map +1 -0
- package/dist/web/i18n.js +733 -0
- package/dist/web/i18n.js.map +1 -0
- package/dist/web/server.d.ts +16 -0
- package/dist/web/server.d.ts.map +1 -0
- package/dist/web/server.js +862 -0
- package/dist/web/server.js.map +1 -0
- package/dist/web/ui.d.ts +6 -0
- package/dist/web/ui.d.ts.map +1 -0
- package/dist/web/ui.js +1328 -0
- package/dist/web/ui.js.map +1 -0
- package/docs/README.ja.md +14 -0
- package/docs/README.md +16 -0
- package/docs/agent-file.md +72 -0
- package/docs/agent-gateway.md +104 -0
- package/docs/architecture.md +12 -0
- package/docs/cli-contract.md +39 -0
- package/docs/client-compatibility.md +299 -0
- package/docs/concepts.ja.md +25 -0
- package/docs/concepts.md +33 -0
- package/docs/database.md +11 -0
- package/docs/dsh-plugin.md +108 -0
- package/docs/enno-oduno.ja.md +22 -0
- package/docs/enno-oduno.md +35 -0
- package/docs/execution-ledger.md +89 -0
- package/docs/getting-started.ja.md +88 -0
- package/docs/getting-started.md +99 -0
- package/docs/release-notes-0.1.18.md +103 -0
- package/docs/retrieval-evaluation.md +10 -0
- package/docs/security-and-trust.ja.md +29 -0
- package/docs/security-and-trust.md +39 -0
- package/docs/security.md +11 -0
- package/docs/semantic-retrieval.ja.md +18 -0
- package/docs/semantic-retrieval.md +26 -0
- package/docs/sqlite-driver-adr.md +8 -0
- package/dsh/cordis.patch.yml +7 -0
- package/migrations/001_initial.sql +123 -0
- package/migrations/002_fts.sql +22 -0
- package/migrations/003_akinator.sql +30 -0
- package/migrations/004_agent_gateway.sql +261 -0
- package/migrations/005_hybrid_search.sql +40 -0
- package/migrations/006_context_v2.sql +4 -0
- package/migrations/007_akinator_reasoning.sql +59 -0
- package/migrations/008_federated_memory.sql +46 -0
- package/migrations/009_external_skill_discovery.sql +126 -0
- package/migrations/010_nudge_deliveries.sql +50 -0
- package/migrations/011_nudge_integrity.sql +52 -0
- package/migrations/012_context_delivery_v4.sql +3 -0
- package/migrations/013_enno_oduno.sql +176 -0
- package/migrations/014_oduno_reflection_phases.sql +40 -0
- package/migrations/015_skill_discovery_attempt_digests.sql +90 -0
- package/migrations/016_enno_advisory_rounds.sql +67 -0
- package/migrations/017_enno_advisory_protocol_v2.sql +101 -0
- package/migrations/018_enno_repository_routing.sql +5 -0
- package/migrations/019_enno_execution_integrity.sql +149 -0
- package/migrations/020_cjk_fts.sql +80 -0
- package/migrations/021_semantic_embeddings.sql +122 -0
- package/migrations/022_embedding_setup_v2.sql +236 -0
- package/migrations/023_enno_dsh_client.sql +291 -0
- package/migrations/down/020_cjk_fts.sql +38 -0
- package/migrations/down/021_semantic_embeddings.sql +17 -0
- package/migrations/down/022_embedding_setup_v2.sql +133 -0
- package/package.json +101 -0
- package/skills/kiokuko-enno-oduno/SKILL.md +209 -0
- package/skills/kiokuko-enno-oduno/enno-oduno.png +0 -0
- package/skills/kiokuko-simple-work/SKILL.md +112 -0
- package/skills/kiokuko-single-purpose-functions/SKILL.md +82 -0
- package/skills/kiokuko-single-purpose-functions/references/boundaries-and-ownership.md +50 -0
- package/skills/kiokuko-single-purpose-functions/references/domain-and-types.md +48 -0
- package/skills/kiokuko-single-purpose-functions/references/effects-and-data.md +43 -0
- package/skills/kiokuko-single-purpose-functions/references/kiokuko-patterns.md +344 -0
- package/skills/kiokuko-single-purpose-functions/references/problem-shaping-and-language.md +84 -0
- package/skills/kiokuko-single-purpose-functions/references/protocols-and-idempotency.md +42 -0
- package/skills/kiokuko-single-purpose-functions/references/review-checklist.md +97 -0
- package/skills/kiokuko-single-purpose-functions/references/verification.md +41 -0
- package/skills/kiokuko-soul/SKILL.md +104 -0
- package/skills/kiokuko-ui-design-soul/SKILL.md +73 -0
- package/skills/kiokuko-ui-design-soul/references/accessibility-and-navigation.md +31 -0
- package/skills/kiokuko-ui-design-soul/references/async-recovery.md +49 -0
- package/skills/kiokuko-ui-design-soul/references/forms-and-controls.md +35 -0
- package/skills/kiokuko-ui-design-soul/references/interaction-feedback.md +34 -0
- package/skills/kiokuko-ui-design-soul/references/responsive-and-platform.md +38 -0
- package/skills/kiokuko-ui-design-soul/references/safety-and-review.md +39 -0
- package/skills/kiokuko-ui-design-soul/references/ui-checklist.md +71 -0
- package/skills/memory-reasoning/SKILL.md +52 -0
- package/templates/AGENTS.md +46 -0
package/docs/concepts.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Concepts
|
|
2
|
+
|
|
3
|
+
## RAG and memory lifecycle
|
|
4
|
+
|
|
5
|
+
Kiokuko uses retrieval-augmented generation (RAG): before work, the MCP server
|
|
6
|
+
searches stored entries and delivers only relevant context; after work, useful
|
|
7
|
+
decisions, results, and lessons can be checkpointed. Retrieval is advisory, so the
|
|
8
|
+
current repository and execution evidence always win.
|
|
9
|
+
|
|
10
|
+
Entries move through a lifecycle of capture, validation, retrieval, review, and
|
|
11
|
+
optional promotion. Secret-shaped content is rejected. A checkpoint is not proof
|
|
12
|
+
that a memory is correct; it is a candidate for later reuse.
|
|
13
|
+
|
|
14
|
+
## Scopes
|
|
15
|
+
|
|
16
|
+
- **Project**: knowledge for one repository.
|
|
17
|
+
- **Ecosystem**: knowledge reusable for matching language, framework, database, or runtime constraints.
|
|
18
|
+
- **Global**: explicitly generalized knowledge that does not depend on one project.
|
|
19
|
+
|
|
20
|
+
Tags alone do not leak Project memory into another project. Curator reviews a
|
|
21
|
+
candidate before Project knowledge can be promoted to Global.
|
|
22
|
+
|
|
23
|
+
## Akinator
|
|
24
|
+
|
|
25
|
+
Akinator is the intake gate. When a request is underspecified, it asks the smallest
|
|
26
|
+
question needed to distinguish plausible goals. While intake needs an answer, the
|
|
27
|
+
agent must not plan, edit, verify, or checkpoint. Once intake is ready or exhausted,
|
|
28
|
+
the normal route can continue and discovered Skills remain reference-only.
|
|
29
|
+
|
|
30
|
+
## Semantic retrieval
|
|
31
|
+
|
|
32
|
+
Lexical retrieval is the baseline. Optional local embeddings add semantic signals
|
|
33
|
+
without sending memory to a remote provider. See [Semantic retrieval](semantic-retrieval.md).
|
package/docs/database.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Embedding database changes
|
|
2
|
+
|
|
3
|
+
Migration 022 rebuilds the released semantic projection tables to allow both
|
|
4
|
+
v1 OpenAI-compatible history and v2 local profiles. It adds singleton settings,
|
|
5
|
+
model installation metadata, and durable setup runs. Migration SQL performs no
|
|
6
|
+
network access, model loading, or vector generation.
|
|
7
|
+
|
|
8
|
+
Old v1 profiles, vectors, jobs, and query cache rows remain available. An old
|
|
9
|
+
active profile is represented as requiring setup while runtime mode remains
|
|
10
|
+
off. The manual down migration requires a backup and refuses to silently
|
|
11
|
+
convert a local v2 profile.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# DeepSeek Harness Plugin
|
|
2
|
+
|
|
3
|
+
Kiokuko provides an out-of-tree DeepSeek Harness bundle at
|
|
4
|
+
`kiokuko-dsh/dsh`. It mounts the same Kiokuko core contracts used by the
|
|
5
|
+
MCP clients; it does not fork DeepSeek Harness or modify a repository's files.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
The Git dependency runs `prepare` to build its exported `dist/` files. pnpm
|
|
10
|
+
blocks that script until you explicitly allow this exact Git artifact. Run the
|
|
11
|
+
install once, copy the exact commit key printed by pnpm into
|
|
12
|
+
`~/.dsh/profiles/web/pnpm-workspace.yaml`, and set it to `true`:
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
allowBuilds:
|
|
16
|
+
"kiokuko-dsh@https://codeload.github.com/askdkc/kiokuko-dsh/tar.gz/<commit>": true
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Keep existing entries and replace `<commit>` with the value pnpm printed. Then,
|
|
20
|
+
from a DeepSeek Harness source checkout, run:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pnpm dsh plugin --profile web add github:askdkc/kiokuko-dsh
|
|
24
|
+
pnpm dsh --profile web --dump-config
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
With an installed dsh CLI, use the same commands without the `pnpm` launcher.
|
|
28
|
+
|
|
29
|
+
The package exposes the `./dsh` entrypoint and declares
|
|
30
|
+
`dsh/cordis.patch.yml` as its bundle patch. Use a profile when testing or when
|
|
31
|
+
you need an isolated configuration:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
dsh plugin --profile kiokuko-test add github:askdkc/kiokuko-dsh
|
|
35
|
+
dsh --profile kiokuko-test --dump-config
|
|
36
|
+
dsh plugin --profile kiokuko-test remove kiokuko-dsh
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`kiokuko-dsh` is the single named bundle row. Removal is exact and does not
|
|
40
|
+
rewrite unrelated plugins or settings. The plugin itself never runs `kiokuko
|
|
41
|
+
setup`, changes MCP configuration, or edits `AGENTS.md`.
|
|
42
|
+
|
|
43
|
+
## Runtime contract
|
|
44
|
+
|
|
45
|
+
The SQLite database remains the semantic authority for Akinator, memory,
|
|
46
|
+
Enno-Oduno, receipts, leases, and verifier evidence. DeepSeek `SessionEvent`
|
|
47
|
+
is the current-session ordered transcript and tool-evidence boundary. Events
|
|
48
|
+
are observed after the host commit, while session flush, model dispatch, tool
|
|
49
|
+
execution, and turn stopping are awaited durability or policy boundaries.
|
|
50
|
+
|
|
51
|
+
The dsh integration provides:
|
|
52
|
+
|
|
53
|
+
- the exact bundled `kiokuko-soul` system-prompt section and six standard Skill
|
|
54
|
+
providers;
|
|
55
|
+
- one current Akinator question at a time, with unresolved intake blocking the
|
|
56
|
+
model and tools;
|
|
57
|
+
- all fourteen Kiokuko operations, with only the seven model-facing operations
|
|
58
|
+
exposed as model tools and host identity injected after argument validation;
|
|
59
|
+
- revision, route, phase, lease, idempotency, confirmation, verifier, and
|
|
60
|
+
meditation gates through the Kiokuko core;
|
|
61
|
+
- ordered, idempotent SessionEvent bridging with a final flush before terminal
|
|
62
|
+
ledger close; and
|
|
63
|
+
- bounded turn continuation, exact run/session/workspace/route binding, and
|
|
64
|
+
in-memory plaintext continuation tokens.
|
|
65
|
+
|
|
66
|
+
`runId` is required for dsh resume. The plugin never selects a repository-wide
|
|
67
|
+
latest run. Ambiguous, stale, cancelled, aborted, lease-conflicting, or
|
|
68
|
+
unavailable states stop without converting the failure into a normal success.
|
|
69
|
+
|
|
70
|
+
## Verification
|
|
71
|
+
|
|
72
|
+
From the Kiokuko checkout:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm run test:e2e:dsh
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
This builds the package, runs the Cordis composition test with an in-memory
|
|
79
|
+
host adapter, validates model/tool/question/ledger/turn-end boundaries, and
|
|
80
|
+
then runs the pack/install/dump-config/remove flow when a `dsh` executable is
|
|
81
|
+
available. Without that executable the CLI portion is reported as
|
|
82
|
+
`unsupported`; it is not represented as a passing install result.
|
|
83
|
+
|
|
84
|
+
The current compatibility measurement is:
|
|
85
|
+
|
|
86
|
+
| Harness profile | Status |
|
|
87
|
+
|---|---|
|
|
88
|
+
| web | contract covered; DeepSeek CLI runtime not available in this checkout |
|
|
89
|
+
| headless | contract covered; DeepSeek CLI runtime not available in this checkout |
|
|
90
|
+
| sdk | unsupported until a real Loader/SDK host is supplied |
|
|
91
|
+
| acp | unsupported until a real Loader/ACP host is supplied |
|
|
92
|
+
| sdk-minimal | unsupported until a real Loader/SDK host is supplied |
|
|
93
|
+
|
|
94
|
+
The `web` and `headless` labels describe the intended host profiles. They are
|
|
95
|
+
not a claim that an external DeepSeek binary was executed in an environment
|
|
96
|
+
where it is absent.
|
|
97
|
+
|
|
98
|
+
## DSH acceptance boundary
|
|
99
|
+
|
|
100
|
+
DSH acceptance is limited to the DSH surface and the directly relevant
|
|
101
|
+
Kiokuko contracts listed by the DSH verifier set. The Core HTTP/Web/TCP suite
|
|
102
|
+
is not silently folded into that acceptance boundary: if the host forbids
|
|
103
|
+
loopback listeners (for example, with `listen EPERM`), that suite remains
|
|
104
|
+
explicitly unverified and is not converted into a skip or a passing result.
|
|
105
|
+
|
|
106
|
+
The DSH acceptance evidence is therefore reported separately from broader
|
|
107
|
+
Core-suite evidence. An unavailable DeepSeek CLI is likewise reported as
|
|
108
|
+
`unsupported`, never as a successful install or runtime execution.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# 役小角(enno-oduno)
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
build、debug、review、devopsでは、Enno-Odunoがrun-bound loopを管理します。
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
intake → ideal → plan → 確認 → WorkUnit実行 → 最終検証 → meditation
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
clientを特定し、Akinatorのintakeを解決し、理想の結果を保存してから、revision-bound planをZenkiへ渡します。
|
|
12
|
+
Zenkiは変更を責務と理由が1つのWorkUnitへ分割し、Gokiは承認済みunitだけを実行します。unitにはcode/ui/test/docs/operationsのローカルrouteがあります。
|
|
13
|
+
|
|
14
|
+
確認画面にはscope、除外、完了条件、Skill、expertise、command、timeoutを利用者の言語で表示します。内部IDやraw JSONは表示しません。
|
|
15
|
+
|
|
16
|
+
plan環境が欠落・変更した場合、discovery、plan保存、実装の前に停止し、continue/review/restart/cancelを選びます。継続は短命のroute-epoch-bound resume tokenと
|
|
17
|
+
単一ownerのexecution leaseを使い、期限切れleaseだけ安全に回収できます。曖昧なrunはrerouteしません。
|
|
18
|
+
|
|
19
|
+
Final Reviewはshell無効・repository相対pathでverifierを実行し、contract/mutation revision、verifier仕様、repository stateにevidenceを束縛します。
|
|
20
|
+
完全なpass evidenceだけを`enno_finish`が受理します。失敗時はGokiへ直接戻らず、Zenkiが新revisionで再計画します。受理後はread-only meditationで削除候補を記録するだけです。
|
|
21
|
+
|
|
22
|
+
ideal、planning、final-reviewでは、親hostが最大3つの隔離read-only Advisory Round slotを使えます。Kiokuko自身はadvisorを起動せず、隔離を確認できないslotはunavailableになります。
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 役小角(enno-oduno)
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
For build, debug, review, and devops work, Enno-Oduno keeps a run-bound loop:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
intake → ideal → plan → confirmation → WorkUnit execution → final verification → meditation
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The loop identifies the current client, resolves Akinator intake, derives and
|
|
12
|
+
persists an ideal outcome, and hands a revision-bound plan to Zenki. Zenki divides
|
|
13
|
+
changes into cohesive WorkUnits; Goki may execute only approved units. A WorkUnit
|
|
14
|
+
has one responsibility, one reason to change, focused checks, and local code/ui/test/
|
|
15
|
+
docs/operations routes.
|
|
16
|
+
|
|
17
|
+
Confirmation displays scope, exclusions, completion criteria, skills, expertise,
|
|
18
|
+
commands, and timeouts in user language. It never exposes internal IDs or raw JSON.
|
|
19
|
+
|
|
20
|
+
If the plan environment is missing or changed, recovery pauses before discovery,
|
|
21
|
+
plan persistence, or implementation. The user chooses continue, review, restart, or
|
|
22
|
+
cancel. Continuation uses a short-lived route-epoch-bound resume token and one-owner
|
|
23
|
+
execution lease; expired leases can be reclaimed safely. Ambiguous active runs are
|
|
24
|
+
not rerouted.
|
|
25
|
+
|
|
26
|
+
Final Review first runs approved verifiers with shell disabled and repository-relative
|
|
27
|
+
paths. Evidence is bound to the contract revision, mutation revision, verifier
|
|
28
|
+
specification, and repository state. `enno_finish` accepts only complete passing
|
|
29
|
+
evidence. A failed review returns to Zenki for a new revision; it never resumes Goki
|
|
30
|
+
directly. An accepted review enters read-only Oduno meditation, which records
|
|
31
|
+
evidence-backed obsolete test/function candidates without deleting them.
|
|
32
|
+
|
|
33
|
+
At ideal, planning, and final-review phases, the parent host may use three isolated
|
|
34
|
+
read-only Advisory Round slots. Kiokuko does not launch advisors; unverifiable slots
|
|
35
|
+
are reported unavailable and only the parent submits bounded, identity-free results.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Execution ledger
|
|
2
|
+
|
|
3
|
+
The execution ledger is an append-oriented audit of agent runs. It is separate from curated memory (`entries`, `entry_revisions`, `entry_revision_tags`, `entry_links`) and from memory mutation audit (`audit_events`). A ledger event never becomes verified memory automatically.
|
|
4
|
+
|
|
5
|
+
## Storage model
|
|
6
|
+
|
|
7
|
+
Migration `004_agent_gateway.sql` adds:
|
|
8
|
+
|
|
9
|
+
- `ledger_runs`: immutable workspace/client/protocol/capture/coverage identity and mutable lifecycle cursor/status.
|
|
10
|
+
- `run_intakes`: one-to-one link from a run to an existing Akinator session, including policy/schema versions, field sources, initial profile hash, and recommended tags.
|
|
11
|
+
- `intake_feedback`: question/profile feedback with XOR target and actor/idempotency uniqueness.
|
|
12
|
+
- `ledger_events`: contiguous local sequence, source identity, canonical/source types, bounded sanitized payload, redaction metadata, and hash-chain fields.
|
|
13
|
+
- `ledger_evidence`: bounded command/test/file/diff/URL/artifact locators and digests; never binary or unlimited output.
|
|
14
|
+
- `context_deliveries` and `context_delivery_entries`: exact cursor/profile/query/policy/budget and selected immutable entry revision/rank/score/reason. The child row has a composite foreign key to `entry_revisions`, so a delivery cannot reference a missing or silently substituted revision.
|
|
15
|
+
- `context_feedback` and `run_feedback`: explicit weak ranking signals and outcome/recommendation feedback.
|
|
16
|
+
- `ledger_memory_links`: provenance from run/event/delivery to promoted candidate memory.
|
|
17
|
+
- `ledger_purge_audit`: content-free tombstones after privacy purge.
|
|
18
|
+
|
|
19
|
+
Migration `010_nudge_deliveries.sql` adds:
|
|
20
|
+
|
|
21
|
+
- `nudge_deliveries`: presentation history for selected advisory nudges. It stores the run, policy version, checkpoint identity, logical occurrence, code, sequence, priority, and bounded evidence/reference ID snapshots, but not rendered message text.
|
|
22
|
+
|
|
23
|
+
Migration `011_nudge_integrity.sql` adds database guards for the supported nudge policy, code/priority pairs, and bounded JSON snapshots.
|
|
24
|
+
|
|
25
|
+
Enno client routing writes `enno.client_bound` for the first session route and
|
|
26
|
+
`enno.client_rebound` for later route changes. The payload records the previous
|
|
27
|
+
and current client kind, session ID, and version projection; a rebound clears
|
|
28
|
+
the old version. These events audit routing changes and do not confer ownership
|
|
29
|
+
or advance the Enno contract state.
|
|
30
|
+
|
|
31
|
+
The Enno execution ledger also uses database-backed ownership rows rather than
|
|
32
|
+
process memory. Resume tokens are stored only as hashes and bind a route epoch;
|
|
33
|
+
rerouting invalidates old epochs. A WorkUnit execution lease prevents two local
|
|
34
|
+
clients from reporting the same unit and blocks rerouting while current.
|
|
35
|
+
Operation receipts and verifier runs have `started`, `completed`, `failed`, and
|
|
36
|
+
`abandoned` states with bounded leases and owner nonces. Recovery atomically
|
|
37
|
+
abandons an expired owner before one new owner claims the exact operation; a
|
|
38
|
+
losing or stale nonce cannot complete it.
|
|
39
|
+
|
|
40
|
+
Final evidence binds contract revision, mutation revision, verifier
|
|
41
|
+
specification digest, and complete repository-state digests captured before and
|
|
42
|
+
after verifier execution. A verifier-caused repository mutation marks the run
|
|
43
|
+
unacceptable, and any later HEAD/index/worktree/untracked/symlink change makes
|
|
44
|
+
the evidence stale before `enno_finish` can commit.
|
|
45
|
+
|
|
46
|
+
## Invariants
|
|
47
|
+
|
|
48
|
+
1. A run belongs to one workspace for its lifetime.
|
|
49
|
+
2. One run links to one intake session, and one intake session links to one run; their workspaces must match.
|
|
50
|
+
3. `intake → active` is valid only after the linked session is `ready` or `exhausted`.
|
|
51
|
+
4. A run's coverage declaration is preserved rather than inferred upward.
|
|
52
|
+
5. `event_id` is globally unique; events also have unique `(run_id, sequence)` and unique `(run_id, source_event_id)` when present. Exact replay may identify an event by its explicit `eventId` or its run-scoped source identity; a different sanitized body conflicts.
|
|
53
|
+
6. A batch receives contiguous local sequence numbers in one `BEGIN IMMEDIATE` transaction or writes nothing.
|
|
54
|
+
7. Corrections and task-profile revisions are new events; prior event rows and finalized intake profiles are not rewritten.
|
|
55
|
+
8. Terminal runs reject new events except exact replay of an acknowledged idempotency/source identity.
|
|
56
|
+
9. Delivery rows reference entry revisions instead of copying memory bodies.
|
|
57
|
+
10. Feedback cannot mutate entry status/trust or an existing policy/session/profile.
|
|
58
|
+
11. Promotion is explicit, creates `candidate` memory only, and records provenance.
|
|
59
|
+
|
|
60
|
+
## Canonical event types
|
|
61
|
+
|
|
62
|
+
V1 recognizes intake/run/request/constraint/decision/step/approval/tool/command/file/test/verification/error/retry/cancellation/context/memory/task-profile/correction/source event families. Unknown client event names are retained only as `sourceType` behind the canonical `source.event` type; they are not invented or silently mapped.
|
|
63
|
+
|
|
64
|
+
## Integrity chain
|
|
65
|
+
|
|
66
|
+
Before storage, Kiokuko performs strict validation, creates an owned JSON snapshot, recursively sanitizes keys/values/URLs/paths/environment data, enforces byte limits, and canonicalizes JSON. Optional hash fields are represented explicitly as `null`, so the write-time preimage is identical after a SQLite round trip. The event hash commits to run ID, local sequence, canonical event data, sanitized payload, and previous hash. The first event uses the deterministic genesis hash. `doctor` checks contiguous sequence, run cursor, hash links, and orphans.
|
|
67
|
+
|
|
68
|
+
One sanitized event payload, task snapshot, profile-hints snapshot, intake-answer snapshot, or run-metadata snapshot is limited to 64 KiB. The limit is applied after sanitization and before hashing or opening a write transaction.
|
|
69
|
+
|
|
70
|
+
The chain is tamper-evident, not a signature or remote attestation. SQLite and same-user host security still define the local trust boundary.
|
|
71
|
+
|
|
72
|
+
## Projection and evidence freshness
|
|
73
|
+
|
|
74
|
+
Projection is deterministic through a committed local sequence. It derives current task profile from the immutable intake profile plus ordered `task_profile.revised` events, unresolved failures, unknown side effects, latest mutation, and latest passing verification. Evidence state is:
|
|
75
|
+
|
|
76
|
+
- `none`: no verification evidence;
|
|
77
|
+
- `failed`: latest relevant verification failed;
|
|
78
|
+
- `fresh`: passing verification is at or after the latest mutation;
|
|
79
|
+
- `stale`: a later mutation exists.
|
|
80
|
+
|
|
81
|
+
Minimum recommendation codes are `INTAKE_INCOMPLETE`, `VERIFY_AFTER_MUTATION`, `SIDE_EFFECT_OUTCOME_UNKNOWN`, `UNRESOLVED_FAILURE`, `CONTEXT_STALE`, `CONTRADICTORY_MEMORY`, `COVERAGE_INCOMPLETE`, and `PROMOTION_CANDIDATE`. Recommendations are stored data with evidence IDs, not commands.
|
|
82
|
+
|
|
83
|
+
Recommendations describe every currently applicable deterministic condition. A nudge is a separate presentation decision: at most one eligible advisory item selected from the v1 nudge subset (`SIDE_EFFECT_OUTCOME_UNKNOWN`, `UNRESOLVED_FAILURE`, and `VERIFY_AFTER_MUTATION`). `CONTRADICTORY_MEMORY` remains a recommendation but is not a nudge because the HTTP checkpoint broker does not currently expose its complete contradiction-pair state. Nudge candidates are derived from the committed projection and final capability-gated recommendations only; fixed messages and bounded evidence/reference IDs are returned, and rate limiting never removes the corresponding recommendation.
|
|
84
|
+
|
|
85
|
+
Nudge policy version `nudges.v1` shows one logical occurrence at most once per run, permits at most three deliveries per run, and requires at least three committed ledger sequence positions between deliveries of the same code. Eligibility uses occurrence identity and ledger sequence, not wall-clock time. `nudge_deliveries` is presentation history outside `ledger_events`, so delivering a nudge cannot change the execution projection.
|
|
86
|
+
|
|
87
|
+
## Archive, backup, purge
|
|
88
|
+
|
|
89
|
+
Existing memory export remains memory-only. Ledger export/import uses a separate deterministic manifest/checksum and includes nudge delivery history. Full SQLite backup contains memory, ledger, nudge deliveries, and feedback. Purge removes bounded content under explicit confirmation while preserving only a content-free tombstone and any promoted memory that has its own lifecycle.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# 導入ガイド
|
|
2
|
+
|
|
3
|
+
## インストールと設定
|
|
4
|
+
|
|
5
|
+
Node.js 24.16.0以上が必要です。`kiokuko-dsh`をnpmに公開するまでは、local checkoutから実行します。
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
cd /path/to/kiokuko-dsh
|
|
9
|
+
pnpm install --frozen-lockfile
|
|
10
|
+
pnpm run build
|
|
11
|
+
node dist/bin/kiokuko.js setup
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
npm公開後はglobal installも使えます。
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install --global kiokuko-dsh
|
|
18
|
+
kiokuko setup
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`--clients codex,opencode,claude,hermes`で対象を明示できます。省略時はインストール済みclientを検出します。
|
|
22
|
+
`--dry-run --json`は書き込みなしで計画を出力します。`--no-standard-skills`、`--skill-discovery off|official|community`、
|
|
23
|
+
`--enno-oduno on|off`も指定できます。
|
|
24
|
+
|
|
25
|
+
Codexでは次のmanaged blockを所有します。
|
|
26
|
+
|
|
27
|
+
```toml
|
|
28
|
+
[mcp_servers.kiokuko]
|
|
29
|
+
command = "kiokuko"
|
|
30
|
+
args = ["mcp"]
|
|
31
|
+
enabled = true
|
|
32
|
+
required = true
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`required`を含まない完全一致の旧managed blockだけを再実行時に更新します。値、順序、重複key、余分なfieldの変更や
|
|
36
|
+
`required = false`はuser-managed conflictとして無断上書きしません。対話実行では置換確認を行い、JSON・非対話・dry-runでは
|
|
37
|
+
`CONFLICT`を返して変更しません。他の対応clientも同じ規則です。
|
|
38
|
+
|
|
39
|
+
起動中のclientは設定後に再起動してください。Codex Stop hookを作成・更新した場合は`/hooks`で明示的にtrustします。
|
|
40
|
+
`kiokuko doctor --json`はruntime、DB、Codex MCPを読み取り専用で検査します。
|
|
41
|
+
|
|
42
|
+
## Embeddings
|
|
43
|
+
|
|
44
|
+
`kiokuko embeddings setup`は固定semantic runtimeを導入し、`kiokuko setup`と同じclient設定フロー(conflict確認、managed MCP更新、
|
|
45
|
+
登録済みプロジェクトのinstructions更新)を実行します。
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
kiokuko embeddings setup --clients codex
|
|
49
|
+
kiokuko embeddings setup --preset local-small --offline
|
|
50
|
+
kiokuko embeddings status --json
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`--replace`は別のembedding profileから切り替える指定です。`--dry-run`はdownloadと変更を行わず、`--json`は自動化向けで
|
|
54
|
+
unmanaged MCP identityをfail closedします。
|
|
55
|
+
|
|
56
|
+
## Web UIとclient
|
|
57
|
+
|
|
58
|
+
`kiokuko web`を実行し、`http://127.0.0.1:4173`を開きます。UIはローカル限定の管理画面で、model向けMCP呼び出しの代替ではありません。
|
|
59
|
+
Enno-Oduno有効時、Codex・OpenCode・Claude Codeには継続adapterがあり、Hermesはnative stdio MCPを使います。
|
|
60
|
+
|
|
61
|
+
## DeepSeek Harness Plugin
|
|
62
|
+
|
|
63
|
+
このパッケージはnpmに未公開です。Git dependencyは`prepare`で`dist/`を生成するため、pnpmの明示的な許可が必要です。
|
|
64
|
+
|
|
65
|
+
一度導入を実行し、pnpmが表示したcommit付きのexact keyを
|
|
66
|
+
`~/.dsh/profiles/web/pnpm-workspace.yaml`へ追加して`true`にします:
|
|
67
|
+
|
|
68
|
+
```yaml
|
|
69
|
+
allowBuilds:
|
|
70
|
+
"kiokuko-dsh@https://codeload.github.com/askdkc/kiokuko-dsh/tar.gz/<commit>": true
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
その後、次を実行します。
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
dsh plugin add github:askdkc/kiokuko-dsh
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
profileを分ける場合は次のようにします。
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
dsh plugin --profile kiokuko-test add github:askdkc/kiokuko-dsh
|
|
83
|
+
dsh --profile kiokuko-test --dump-config
|
|
84
|
+
dsh plugin --profile kiokuko-test remove kiokuko-dsh
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
install/remove、resume安全性、互換性、検証状況は
|
|
88
|
+
[DeepSeek Harness Plugin](dsh-plugin.md)を参照してください。
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Getting started
|
|
2
|
+
|
|
3
|
+
## Install and configure
|
|
4
|
+
|
|
5
|
+
Node.js 24.16.0 or newer is required. Until `kiokuko-dsh` is published to npm,
|
|
6
|
+
run the CLI from a local checkout:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
cd /path/to/kiokuko-dsh
|
|
10
|
+
pnpm install --frozen-lockfile
|
|
11
|
+
pnpm run build
|
|
12
|
+
node dist/bin/kiokuko.js setup
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
After npm publication, the equivalent global install is:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install --global kiokuko-dsh
|
|
19
|
+
kiokuko setup
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use `--clients codex,opencode,claude,hermes` to select clients explicitly. Without
|
|
23
|
+
it, setup detects installed clients. `--dry-run --json` validates and reports planned
|
|
24
|
+
changes without writing. `--no-standard-skills`, `--skill-discovery off|official|community`,
|
|
25
|
+
and `--enno-oduno on|off` control optional setup behavior.
|
|
26
|
+
|
|
27
|
+
For Codex, setup owns one exact managed block:
|
|
28
|
+
|
|
29
|
+
```toml
|
|
30
|
+
[mcp_servers.kiokuko]
|
|
31
|
+
command = "kiokuko"
|
|
32
|
+
args = ["mcp"]
|
|
33
|
+
enabled = true
|
|
34
|
+
required = true
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The discovery environment line is managed with that block. Rerunning setup upgrades
|
|
38
|
+
only the exact previous managed block that omitted `required`. Changed values,
|
|
39
|
+
ordering, duplicate keys, extra fields, or an explicit `required = false` are
|
|
40
|
+
user-managed conflicts and are never silently overwritten. Interactive setup asks
|
|
41
|
+
whether to replace a conflicting identity; JSON, non-interactive, and dry-run calls
|
|
42
|
+
return `CONFLICT` without mutation. The same rule applies to other supported clients.
|
|
43
|
+
|
|
44
|
+
Restart a running client after setup. If a Codex Stop hook is created or updated,
|
|
45
|
+
open `/hooks` and explicitly trust it. Use `kiokuko doctor --json` to inspect runtime,
|
|
46
|
+
database, and Codex MCP health; doctor is read-only.
|
|
47
|
+
|
|
48
|
+
## Embeddings setup
|
|
49
|
+
|
|
50
|
+
`kiokuko embeddings setup` installs the pinned local semantic runtime and runs the
|
|
51
|
+
same client configuration flow as `kiokuko setup`, including conflict confirmation,
|
|
52
|
+
managed MCP replacement, and registered-project instruction refresh.
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
kiokuko embeddings setup --clients codex
|
|
56
|
+
kiokuko embeddings setup --preset local-small --offline
|
|
57
|
+
kiokuko embeddings status --json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`--replace` switches from another active embedding profile. `--dry-run` performs no
|
|
61
|
+
download or mutation; `--json` is suitable for automation and fails closed on an
|
|
62
|
+
unmanaged MCP identity.
|
|
63
|
+
|
|
64
|
+
## Web UI and clients
|
|
65
|
+
|
|
66
|
+
Run `kiokuko web` and open `http://127.0.0.1:4173`. The UI is local-only and is a
|
|
67
|
+
human/operator management surface, not a substitute for model task-entry MCP calls.
|
|
68
|
+
Codex, OpenCode, and Claude Code have bounded continuation adapters when Enno-Oduno
|
|
69
|
+
is enabled; Hermes uses native stdio MCP and bundled Skills without an adapter.
|
|
70
|
+
|
|
71
|
+
## DeepSeek Harness plugin
|
|
72
|
+
|
|
73
|
+
The package is not published to npm. The Git dependency builds its `dist/`
|
|
74
|
+
files through `prepare`, so pnpm requires an explicit build approval.
|
|
75
|
+
|
|
76
|
+
Run the install once, copy the exact commit key printed by pnpm into
|
|
77
|
+
`~/.dsh/profiles/web/pnpm-workspace.yaml`, and set it to `true`:
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
allowBuilds:
|
|
81
|
+
"kiokuko-dsh@https://codeload.github.com/askdkc/kiokuko-dsh/tar.gz/<commit>": true
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Then run:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
dsh plugin add github:askdkc/kiokuko-dsh
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Use a profile for an isolated test:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
dsh plugin --profile kiokuko-test add github:askdkc/kiokuko-dsh
|
|
94
|
+
dsh --profile kiokuko-test --dump-config
|
|
95
|
+
dsh plugin --profile kiokuko-test remove kiokuko-dsh
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
See [DeepSeek Harness Plugin](dsh-plugin.md) for the lifecycle contract,
|
|
99
|
+
resume safety, compatibility status, and verification command.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Kiokuko 0.1.18
|
|
2
|
+
|
|
3
|
+
## External Skills
|
|
4
|
+
|
|
5
|
+
- Added bounded provider search, commit-pinned source validation, chunk limits, snapshot idempotency, and shared discovery single-flight.
|
|
6
|
+
- Added `kiokuko skills find|import|list|show|refresh|disable|enable|prune-cache`.
|
|
7
|
+
- Manual Skill import is now create-only and accepts only an exact locally
|
|
8
|
+
reviewed catalog identity. Re-importing an existing identity is a conflict;
|
|
9
|
+
use `skills refresh` for an existing managed Skill.
|
|
10
|
+
- Akinator discovery and `kiokuko skills find` now use one shared provider-backed search operation; the temporary capability-fallback response was removed.
|
|
11
|
+
- Akinator task preparation now defaults to reference-only `official` discovery; `off` remains available and `community` remains explicit opt-in.
|
|
12
|
+
- Interactive setup now asks before enabling audited community discovery and persists the selected mode in each managed MCP client configuration; batch setup uses `--skill-discovery`.
|
|
13
|
+
- Added authenticated local Web UI/API visibility for imported external skills.
|
|
14
|
+
- Disabled, stale, blocked, and unmanaged external references are excluded from retrieval and Curator globalization.
|
|
15
|
+
- Community-mode candidates fail closed without a successful provider audit.
|
|
16
|
+
- Unknown capability catalogs now force official-only discovery; imported Skill
|
|
17
|
+
reuse requires explicit applicability and mode-compatible provenance.
|
|
18
|
+
- Multiple relevant Skills can be imported from one repository, and lifecycle
|
|
19
|
+
CLI commands resolve both internal IDs and `owner/repository/skill` paths.
|
|
20
|
+
- Task preparation replay identity now includes the effective discovery mode
|
|
21
|
+
and a bounded normalized capability-catalog hash, so changed discovery input
|
|
22
|
+
cannot reuse an older context delivery.
|
|
23
|
+
- `task_prepare` now requires a bounded client-generated `requestId`. The same
|
|
24
|
+
ID and bound input replay one run; a changed bound request under that ID
|
|
25
|
+
conflicts, while a new ID opens a distinct run even for identical task text.
|
|
26
|
+
The raw ID is not stored and `client.sessionId` is not used as a turn ID. The
|
|
27
|
+
normalized context budget is bound and must match on `task_answer`.
|
|
28
|
+
- Generated agent/setup/MCP contracts now require an available local
|
|
29
|
+
`memory-reasoning` Skill to be read before code modification and recalled
|
|
30
|
+
claims to be converted into verified premises, invariants, counterexamples,
|
|
31
|
+
and regression tests; availability alone is not compliance.
|
|
32
|
+
- A v1 provider response with exact HTTP 401 authentication failure falls back
|
|
33
|
+
once per query to the Compatibility Provider, with provider-separated
|
|
34
|
+
negative and result caches. Other authentication and protocol failures stop.
|
|
35
|
+
- Removed legacy fixed-source sync and guessed-source fallback. Bounded exact
|
|
36
|
+
verification of reviewed catalog-pinned sources remains. The ungated
|
|
37
|
+
`guide context` compatibility command was removed; task-aware ContextBroker
|
|
38
|
+
output is capability-gated.
|
|
39
|
+
|
|
40
|
+
External skills remain untrusted candidate references. Kiokuko does not install,
|
|
41
|
+
execute, verify, globalize, or register fetched skill content automatically.
|
|
42
|
+
|
|
43
|
+
## Fail-closed storage and setup
|
|
44
|
+
|
|
45
|
+
- Fixed Windows OpenCode setup writing MCP configuration, global instructions,
|
|
46
|
+
and bundled skills under `%APPDATA%\opencode`; setup now follows OpenCode's
|
|
47
|
+
XDG global directory resolution.
|
|
48
|
+
- Setup now rejects duplicate or semantically colliding JSON/TOML configuration,
|
|
49
|
+
malformed UTF-8, symlink escapes, and concurrent target changes before it can
|
|
50
|
+
silently merge or overwrite them. Exact concurrent `use` results converge once;
|
|
51
|
+
incompatible state remains an explicit conflict.
|
|
52
|
+
- Migration and repository transactions now surface rollback failures, and
|
|
53
|
+
verified pre-migration backups complete before any schema mutation.
|
|
54
|
+
- Node.js 24.16 is now the minimum runtime. Manual and pre-migration SQLite
|
|
55
|
+
backups serialize the exact already-open connection and install a verified,
|
|
56
|
+
create-only artifact; the retired pathname-reopening backup subprocess and
|
|
57
|
+
overwrite behavior were removed. `kiokuko backup` no longer initializes or
|
|
58
|
+
migrates its source.
|
|
59
|
+
- Project binding rejects the reserved global identity. Forced rebinding now
|
|
60
|
+
requires a distinct repository/workspace pair and performs an exact database
|
|
61
|
+
location compare-and-swap or fails; it never mutates a repository workspace
|
|
62
|
+
in place or silently retains the old identity. Moving `agentFile` removes
|
|
63
|
+
only the old marked block, preserves human bytes and mode, and conditionally
|
|
64
|
+
restores all owned file mutations if a later step fails. Skipping an agent
|
|
65
|
+
write rejects any stale managed block at the prospective target.
|
|
66
|
+
- Repository binding/template versions are downgrade-protected across files and
|
|
67
|
+
SQLite metadata. Missing, malformed, corrupt, or future version metadata fails
|
|
68
|
+
explicitly. An indeterminate SQLite commit is surfaced as such and retains
|
|
69
|
+
the matching installed files instead of risking split-brain compensation.
|
|
70
|
+
- Stored revision chains, hashes, structured scope, projections, and context
|
|
71
|
+
replay state are validated from their exact persisted identities. Corruption
|
|
72
|
+
fails explicitly instead of being skipped or normalized into a new identity.
|
|
73
|
+
- Migration 012 validates the persisted structural identity of released
|
|
74
|
+
`context-ranking-v2` and `context-ranking-v3` scoped deliveries during setup.
|
|
75
|
+
Original delivery IDs, policy versions, character metadata, delivery items,
|
|
76
|
+
and all historical references are preserved. Legacy preview text was not
|
|
77
|
+
persisted and is not reconstructed during upgrade. Legacy deliveries remain
|
|
78
|
+
available for audit and feedback references but are never replayed as current
|
|
79
|
+
`context-ranking-v4` context; invalid persisted legacy structure aborts the
|
|
80
|
+
migration transaction. New scoped deliveries continue to use
|
|
81
|
+
`context-ranking-v4`.
|
|
82
|
+
- Migration 009 transactionally rewrites the one exact released locale-ordered
|
|
83
|
+
revision preimage to the canonical hash and scope. Forged preimages and
|
|
84
|
+
canonical collisions abort the upgrade; runtime compatibility hashing was
|
|
85
|
+
removed completely.
|
|
86
|
+
- Workspace archive v2 is intentionally limited to revision-1 current state.
|
|
87
|
+
Import/export use one strict canonical format, bounded input, complete secret
|
|
88
|
+
scanning, snapshot-consistent reads, and create-only output. Use a full SQLite
|
|
89
|
+
backup when immutable revision history must be preserved.
|
|
90
|
+
|
|
91
|
+
## Model task boundary
|
|
92
|
+
|
|
93
|
+
- Removed the direct model-facing `memory_recall` and
|
|
94
|
+
`claude_prompt_context` MCP tools. Task memory now enters through
|
|
95
|
+
`task_prepare` / `task_answer`; checkpoint and Curator tools remain lifecycle
|
|
96
|
+
operations.
|
|
97
|
+
- Removed generic JSON `call` operations that returned memory through `read`,
|
|
98
|
+
`search`, or scoped/unscoped `recall`. Direct CLI/Web inspection remains a
|
|
99
|
+
human/operator management surface.
|
|
100
|
+
- Setup no longer installs Claude prompt hooks or the OpenCode loop guard and
|
|
101
|
+
no longer accepts their CLI options. During upgrade it removes only the exact
|
|
102
|
+
retired managed hook/guard; modified or ambiguous legacy identities fail
|
|
103
|
+
explicitly and unrelated settings are preserved.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Retrieval evaluation
|
|
2
|
+
|
|
3
|
+
The existing evaluation keeps lexical and exact-signal lanes as baselines and
|
|
4
|
+
preserves weighted reciprocal-rank fusion. Local semantic evaluation covers
|
|
5
|
+
Japanese, English, Simplified Chinese, Korean, technical identifiers, stale
|
|
6
|
+
vectors, scope boundaries, and query-cache privacy.
|
|
7
|
+
|
|
8
|
+
Run the deterministic suite with `npm run test:evaluation`. Run the installed
|
|
9
|
+
model probe with `node scripts/run-local-embedding-smoke.mjs --offline` when a
|
|
10
|
+
verified local model directory is available.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Security and trust
|
|
2
|
+
|
|
3
|
+
## 記憶とsecret
|
|
4
|
+
|
|
5
|
+
パスワード、API key、token、秘密鍵などに似た内容は拒否し、会話全文は保存しません。記憶は参考情報であり、現在のコード、設定、実行結果を上書きしません。
|
|
6
|
+
|
|
7
|
+
## External Skills
|
|
8
|
+
|
|
9
|
+
外部Skill discoveryは参照専用です。source commitを検証し、boundedな内容をuntrusted candidateとして保存しますが、取得したSkillを自動install・実行・登録しません。
|
|
10
|
+
既定は`official`、`community`は明示opt-in、`off`で無効化します。
|
|
11
|
+
|
|
12
|
+
Skillの確認・管理:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
kiokuko skills find svelte --official-only --json
|
|
16
|
+
kiokuko skills list
|
|
17
|
+
kiokuko skills disable <skill-id>
|
|
18
|
+
kiokuko skills refresh <skill-id>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Web UIではmappingの確認・無効化だけを行い、install、script、MCP登録は行いません。
|
|
22
|
+
|
|
23
|
+
## MCP extensionと公開エラー
|
|
24
|
+
|
|
25
|
+
client extensionは成功・エラーMCP resultを検査・置換できるため、trusted computing baseの一部です。extensionが偽造できないoriginal-result identifierとmodified flagなしには、
|
|
26
|
+
end-to-end authenticityを主張できません。重要なresultを変更するextensionと併用しないでください。
|
|
27
|
+
|
|
28
|
+
通常の公開tool errorは`isError: true`、allowlist済みmessage、`structuredContent.code`、`structuredContent.retryable`だけを返します。`BACKPRESSURE`だけがboundedな`retryAfterSeconds`を追加できます。
|
|
29
|
+
stack、SQL、path、payload、secretはgeneric errorへコピーしません。
|