kiokuko-dsh 0.2.7 → 0.2.9
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 +1 -1
- package/README.ja.md +38 -11
- package/README.ko.md +34 -3
- package/README.md +39 -13
- package/README.zh-CN.md +34 -3
- package/THIRD_PARTY_NOTICES.md +4 -0
- package/dist/db/transaction.d.ts +2 -1
- package/dist/db/transaction.d.ts.map +1 -1
- package/dist/db/transaction.js +44 -7
- package/dist/db/transaction.js.map +1 -1
- package/dist/deep-planning-config.d.ts +32 -0
- package/dist/deep-planning-config.d.ts.map +1 -0
- package/dist/deep-planning-config.js +20 -0
- package/dist/deep-planning-config.js.map +1 -0
- package/dist/deep-thinker/core/contracts.d.ts +1 -29
- package/dist/deep-thinker/core/contracts.d.ts.map +1 -1
- package/dist/deep-thinker/core/contracts.js +2 -17
- package/dist/deep-thinker/core/contracts.js.map +1 -1
- package/dist/deep-thinker/memory-finalizer.d.ts.map +1 -1
- package/dist/deep-thinker/memory-finalizer.js +1 -114
- package/dist/deep-thinker/memory-finalizer.js.map +1 -1
- package/dist/deep-thinker/native-executor.d.ts.map +1 -1
- package/dist/deep-thinker/native-executor.js +3 -4
- package/dist/deep-thinker/native-executor.js.map +1 -1
- package/dist/deep-thinker/store.js +1 -2
- package/dist/deep-thinker/store.js.map +1 -1
- package/dist/dsh/agenticreplay-event-mapper.d.ts +1 -1
- package/dist/dsh/agenticreplay-event-mapper.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-event-mapper.js +5 -1
- package/dist/dsh/agenticreplay-event-mapper.js.map +1 -1
- package/dist/dsh/agenticreplay-files.d.ts +1 -0
- package/dist/dsh/agenticreplay-files.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-files.js +19 -2
- package/dist/dsh/agenticreplay-files.js.map +1 -1
- package/dist/dsh/agenticreplay-host.js +3 -3
- package/dist/dsh/agenticreplay-host.js.map +1 -1
- package/dist/dsh/agenticreplay-read-service.d.ts +20 -0
- package/dist/dsh/agenticreplay-read-service.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-read-service.js +27 -0
- package/dist/dsh/agenticreplay-read-service.js.map +1 -1
- package/dist/dsh/agenticreplay-recorder.d.ts +18 -12
- package/dist/dsh/agenticreplay-recorder.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-recorder.js +43 -13
- package/dist/dsh/agenticreplay-recorder.js.map +1 -1
- package/dist/dsh/agenticreplay-security.d.ts +1 -0
- package/dist/dsh/agenticreplay-security.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-security.js +84 -3
- package/dist/dsh/agenticreplay-security.js.map +1 -1
- package/dist/dsh/answer-review/coordinator.js +2 -1
- package/dist/dsh/answer-review/coordinator.js.map +1 -1
- package/dist/dsh/auto-memory-review.d.ts.map +1 -1
- package/dist/dsh/auto-memory-review.js +10 -193
- package/dist/dsh/auto-memory-review.js.map +1 -1
- package/dist/dsh/coding-workflow/contracts.d.ts +2 -0
- package/dist/dsh/coding-workflow/contracts.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/contracts.js.map +1 -1
- package/dist/dsh/coding-workflow/intent.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/intent.js +12 -4
- package/dist/dsh/coding-workflow/intent.js.map +1 -1
- package/dist/dsh/coding-workflow/service.d.ts +10 -81
- package/dist/dsh/coding-workflow/service.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/service.js +52 -1
- package/dist/dsh/coding-workflow/service.js.map +1 -1
- package/dist/dsh/coding-workflow/store.d.ts +22 -0
- package/dist/dsh/coding-workflow/store.d.ts.map +1 -1
- package/dist/dsh/coding-workflow/store.js +51 -0
- package/dist/dsh/coding-workflow/store.js.map +1 -1
- package/dist/dsh/completion-verifiers.d.ts +6 -0
- package/dist/dsh/completion-verifiers.d.ts.map +1 -1
- package/dist/dsh/completion-verifiers.js.map +1 -1
- package/dist/dsh/composition.d.ts +2 -0
- package/dist/dsh/composition.d.ts.map +1 -1
- package/dist/dsh/composition.js +3 -0
- package/dist/dsh/composition.js.map +1 -1
- package/dist/dsh/config.d.ts +1 -1
- package/dist/dsh/config.d.ts.map +1 -1
- package/dist/dsh/config.js +3 -3
- package/dist/dsh/config.js.map +1 -1
- package/dist/dsh/core/host.d.ts.map +1 -1
- package/dist/dsh/core/host.js +159 -34
- package/dist/dsh/core/host.js.map +1 -1
- package/dist/dsh/core/tasks.d.ts +5 -2
- package/dist/dsh/core/tasks.d.ts.map +1 -1
- package/dist/dsh/core/tasks.js +124 -93
- package/dist/dsh/core/tasks.js.map +1 -1
- package/dist/dsh/decisions/request-intent.d.ts +114 -1
- package/dist/dsh/decisions/request-intent.d.ts.map +1 -1
- package/dist/dsh/decisions/request-intent.js +102 -18
- package/dist/dsh/decisions/request-intent.js.map +1 -1
- package/dist/dsh/execution-result.d.ts +1 -0
- package/dist/dsh/execution-result.d.ts.map +1 -1
- package/dist/dsh/execution-support.d.ts +2 -0
- package/dist/dsh/execution-support.d.ts.map +1 -1
- package/dist/dsh/execution-support.js +39 -4
- package/dist/dsh/execution-support.js.map +1 -1
- package/dist/dsh/existing-task-intake.d.ts +22 -0
- package/dist/dsh/existing-task-intake.d.ts.map +1 -0
- package/dist/dsh/existing-task-intake.js +46 -0
- package/dist/dsh/existing-task-intake.js.map +1 -0
- package/dist/dsh/finalization-request.d.ts +1 -1
- package/dist/dsh/finalization-request.d.ts.map +1 -1
- package/dist/dsh/finalization-request.js +1 -1
- package/dist/dsh/finalization-request.js.map +1 -1
- package/dist/dsh/guardrail/contracts.d.ts +85 -0
- package/dist/dsh/guardrail/contracts.d.ts.map +1 -0
- package/dist/dsh/guardrail/contracts.js +10 -0
- package/dist/dsh/guardrail/contracts.js.map +1 -0
- package/dist/dsh/guardrail/engine.d.ts +19 -0
- package/dist/dsh/guardrail/engine.d.ts.map +1 -0
- package/dist/dsh/guardrail/engine.js +178 -0
- package/dist/dsh/guardrail/engine.js.map +1 -0
- package/dist/dsh/guardrail/evidence.d.ts +16 -0
- package/dist/dsh/guardrail/evidence.d.ts.map +1 -0
- package/dist/dsh/guardrail/evidence.js +101 -0
- package/dist/dsh/guardrail/evidence.js.map +1 -0
- package/dist/dsh/guardrail/service.d.ts +27 -0
- package/dist/dsh/guardrail/service.d.ts.map +1 -0
- package/dist/dsh/guardrail/service.js +253 -0
- package/dist/dsh/guardrail/service.js.map +1 -0
- package/dist/dsh/host-adapter/admission.d.ts.map +1 -1
- package/dist/dsh/host-adapter/admission.js +143 -144
- package/dist/dsh/host-adapter/admission.js.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.d.ts +1 -0
- package/dist/dsh/host-adapter/lifecycle.d.ts.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.js +107 -77
- package/dist/dsh/host-adapter/lifecycle.js.map +1 -1
- package/dist/dsh/host-adapter/routing.d.ts.map +1 -1
- package/dist/dsh/host-adapter/routing.js +4 -4
- package/dist/dsh/host-adapter/routing.js.map +1 -1
- package/dist/dsh/host-adapter/turn-state.d.ts +4 -2
- package/dist/dsh/host-adapter/turn-state.d.ts.map +1 -1
- package/dist/dsh/host-adapter/turn-state.js +14 -7
- package/dist/dsh/host-adapter/turn-state.js.map +1 -1
- package/dist/dsh/host-adapter.d.ts.map +1 -1
- package/dist/dsh/host-adapter.js +125 -24
- package/dist/dsh/host-adapter.js.map +1 -1
- package/dist/dsh/intake-clarification.js +2 -2
- package/dist/dsh/intake-clarification.js.map +1 -1
- package/dist/dsh/intake-gate.js +6 -7
- package/dist/dsh/intake-gate.js.map +1 -1
- package/dist/dsh/legacy-session-codecs.d.ts +1 -0
- package/dist/dsh/legacy-session-codecs.d.ts.map +1 -1
- package/dist/dsh/legacy-session-codecs.js +831 -127
- package/dist/dsh/legacy-session-codecs.js.map +4 -4
- package/dist/dsh/lifecycle-memory.d.ts +66 -0
- package/dist/dsh/lifecycle-memory.d.ts.map +1 -0
- package/dist/dsh/lifecycle-memory.js +380 -0
- package/dist/dsh/lifecycle-memory.js.map +1 -0
- package/dist/dsh/lisp/candidate.d.ts +2 -2
- package/dist/dsh/lisp/ci.d.ts +2 -1
- package/dist/dsh/lisp/ci.d.ts.map +1 -1
- package/dist/dsh/lisp/ci.js +15 -2
- package/dist/dsh/lisp/ci.js.map +1 -1
- package/dist/dsh/lisp/contracts.d.ts +1 -18
- package/dist/dsh/lisp/contracts.d.ts.map +1 -1
- package/dist/dsh/lisp/contracts.js +1 -10
- package/dist/dsh/lisp/contracts.js.map +1 -1
- package/dist/dsh/lisp/files.d.ts +1 -1
- package/dist/dsh/lisp/files.d.ts.map +1 -1
- package/dist/dsh/lisp/files.js +17 -4
- package/dist/dsh/lisp/files.js.map +1 -1
- package/dist/dsh/lisp/hot-store.d.ts.map +1 -1
- package/dist/dsh/lisp/hot-store.js +4 -0
- package/dist/dsh/lisp/hot-store.js.map +1 -1
- package/dist/dsh/lisp/hot-tools.d.ts +2 -0
- package/dist/dsh/lisp/hot-tools.d.ts.map +1 -1
- package/dist/dsh/lisp/hot-tools.js +10 -0
- package/dist/dsh/lisp/hot-tools.js.map +1 -1
- package/dist/dsh/lisp/manager.d.ts +14 -1
- package/dist/dsh/lisp/manager.d.ts.map +1 -1
- package/dist/dsh/lisp/manager.js +238 -37
- package/dist/dsh/lisp/manager.js.map +1 -1
- package/dist/dsh/lisp/memory-verification.d.ts +5 -2
- package/dist/dsh/lisp/memory-verification.d.ts.map +1 -1
- package/dist/dsh/lisp/memory-verification.js +5 -1
- package/dist/dsh/lisp/memory-verification.js.map +1 -1
- package/dist/dsh/lisp/package-manager.d.ts +1 -1
- package/dist/dsh/lisp/package-manager.d.ts.map +1 -1
- package/dist/dsh/lisp/package-manager.js +10 -1
- package/dist/dsh/lisp/package-manager.js.map +1 -1
- package/dist/dsh/lisp/packages.d.ts +1 -1
- package/dist/dsh/lisp/packages.d.ts.map +1 -1
- package/dist/dsh/lisp/packages.js +15 -5
- package/dist/dsh/lisp/packages.js.map +1 -1
- package/dist/dsh/lisp/proposal-batch.d.ts +2 -0
- package/dist/dsh/lisp/proposal-batch.d.ts.map +1 -1
- package/dist/dsh/lisp/proposal-batch.js +17 -3
- package/dist/dsh/lisp/proposal-batch.js.map +1 -1
- package/dist/dsh/lisp/request-surface.d.ts +12 -0
- package/dist/dsh/lisp/request-surface.d.ts.map +1 -1
- package/dist/dsh/lisp/store.d.ts +2 -1
- package/dist/dsh/lisp/store.d.ts.map +1 -1
- package/dist/dsh/lisp/store.js +5 -1
- package/dist/dsh/lisp/store.js.map +1 -1
- package/dist/dsh/lisp/surface.d.ts.map +1 -1
- package/dist/dsh/lisp/surface.js +107 -13
- package/dist/dsh/lisp/surface.js.map +1 -1
- package/dist/dsh/lisp/task-authority.d.ts +29 -0
- package/dist/dsh/lisp/task-authority.d.ts.map +1 -0
- package/dist/dsh/lisp/task-authority.js +87 -0
- package/dist/dsh/lisp/task-authority.js.map +1 -0
- package/dist/dsh/lisp/worker.d.ts +3 -1
- package/dist/dsh/lisp/worker.d.ts.map +1 -1
- package/dist/dsh/lisp/worker.js +26 -4
- package/dist/dsh/lisp/worker.js.map +1 -1
- package/dist/dsh/lisp-config.d.ts +21 -0
- package/dist/dsh/lisp-config.d.ts.map +1 -0
- package/dist/dsh/lisp-config.js +13 -0
- package/dist/dsh/lisp-config.js.map +1 -0
- package/dist/dsh/memory-application.d.ts +3 -2
- package/dist/dsh/memory-application.d.ts.map +1 -1
- package/dist/dsh/memory-application.js +31 -22
- package/dist/dsh/memory-application.js.map +1 -1
- package/dist/dsh/model-handoff.d.ts.map +1 -1
- package/dist/dsh/model-handoff.js +2 -1
- package/dist/dsh/model-handoff.js.map +1 -1
- package/dist/dsh/models/service.d.ts.map +1 -1
- package/dist/dsh/models/service.js +13 -2
- package/dist/dsh/models/service.js.map +1 -1
- package/dist/dsh/models/vendor/opencode-codec.d.ts.map +1 -1
- package/dist/dsh/models/vendor/opencode-codec.js +71 -0
- package/dist/dsh/models/vendor/opencode-codec.js.map +1 -1
- package/dist/dsh/native-cancellation-observer.d.ts +13 -0
- package/dist/dsh/native-cancellation-observer.d.ts.map +1 -0
- package/dist/dsh/native-cancellation-observer.js +54 -0
- package/dist/dsh/native-cancellation-observer.js.map +1 -0
- package/dist/dsh/native-execution-ownership.d.ts +6 -0
- package/dist/dsh/native-execution-ownership.d.ts.map +1 -0
- package/dist/dsh/native-execution-ownership.js +34 -0
- package/dist/dsh/native-execution-ownership.js.map +1 -0
- package/dist/dsh/native-subagent.d.ts +2 -2
- package/dist/dsh/native-subagent.d.ts.map +1 -1
- package/dist/dsh/native-subagent.js +2 -3
- package/dist/dsh/native-subagent.js.map +1 -1
- package/dist/dsh/native-task-authority.d.ts +66 -0
- package/dist/dsh/native-task-authority.d.ts.map +1 -0
- package/dist/dsh/native-task-authority.js +220 -0
- package/dist/dsh/native-task-authority.js.map +1 -0
- package/dist/dsh/node-tap-summary.d.ts +1 -2
- package/dist/dsh/node-tap-summary.d.ts.map +1 -1
- package/dist/dsh/node-tap-summary.js +2 -24
- package/dist/dsh/node-tap-summary.js.map +1 -1
- package/dist/dsh/observation-pack/policy.d.ts +1 -0
- package/dist/dsh/observation-pack/policy.d.ts.map +1 -1
- package/dist/dsh/observation-pack/policy.js +3 -0
- package/dist/dsh/observation-pack/policy.js.map +1 -1
- package/dist/dsh/observation-pack/service.d.ts.map +1 -1
- package/dist/dsh/observation-pack/service.js +3 -1
- package/dist/dsh/observation-pack/service.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts +28 -1
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +171 -10
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/dsh/orchestration/execution-owner.js +1 -1
- package/dist/dsh/orchestration/execution-owner.js.map +1 -1
- package/dist/dsh/orchestration/managed-agent-executor.d.ts +12 -1
- package/dist/dsh/orchestration/managed-agent-executor.d.ts.map +1 -1
- package/dist/dsh/orchestration/managed-agent-executor.js +28 -2
- package/dist/dsh/orchestration/managed-agent-executor.js.map +1 -1
- package/dist/dsh/owned-completion-evidence.d.ts +11 -0
- package/dist/dsh/owned-completion-evidence.d.ts.map +1 -0
- package/dist/dsh/owned-completion-evidence.js +59 -0
- package/dist/dsh/owned-completion-evidence.js.map +1 -0
- package/dist/dsh/owned-execution.d.ts +28 -1
- package/dist/dsh/owned-execution.d.ts.map +1 -1
- package/dist/dsh/owned-execution.js +325 -101
- package/dist/dsh/owned-execution.js.map +1 -1
- package/dist/dsh/owned-read-owner.d.ts +6 -0
- package/dist/dsh/owned-read-owner.d.ts.map +1 -0
- package/dist/dsh/owned-read-owner.js +22 -0
- package/dist/dsh/owned-read-owner.js.map +1 -0
- package/dist/dsh/replay-memory-extract.d.ts +36 -0
- package/dist/dsh/replay-memory-extract.d.ts.map +1 -0
- package/dist/dsh/replay-memory-extract.js +192 -0
- package/dist/dsh/replay-memory-extract.js.map +1 -0
- package/dist/dsh/semantic-compaction/coordinator.d.ts.map +1 -1
- package/dist/dsh/semantic-compaction/coordinator.js +2 -1
- package/dist/dsh/semantic-compaction/coordinator.js.map +1 -1
- package/dist/dsh/session-bridge.d.ts +3 -0
- package/dist/dsh/session-bridge.d.ts.map +1 -1
- package/dist/dsh/session-bridge.js +22 -25
- package/dist/dsh/session-bridge.js.map +1 -1
- package/dist/dsh/session-history-compatibility.d.ts.map +1 -1
- package/dist/dsh/session-history-compatibility.js +15 -1
- package/dist/dsh/session-history-compatibility.js.map +1 -1
- package/dist/dsh/session-history-lookup.d.ts +1 -1
- package/dist/dsh/session-history-lookup.d.ts.map +1 -1
- package/dist/dsh/session-history-lookup.js +4 -3
- package/dist/dsh/session-history-lookup.js.map +1 -1
- package/dist/dsh/session-memory-finalizer.d.ts.map +1 -1
- package/dist/dsh/session-memory-finalizer.js +129 -117
- package/dist/dsh/session-memory-finalizer.js.map +1 -1
- package/dist/dsh/setup.d.ts +1 -1
- package/dist/dsh/setup.d.ts.map +1 -1
- package/dist/dsh/setup.js +1 -1
- package/dist/dsh/skill-prompts.json +1 -1
- package/dist/dsh/task-authority-context.d.ts +8 -0
- package/dist/dsh/task-authority-context.d.ts.map +1 -0
- package/dist/dsh/task-authority-context.js +28 -0
- package/dist/dsh/task-authority-context.js.map +1 -0
- package/dist/dsh/task-completion-host.d.ts +2 -1
- package/dist/dsh/task-completion-host.d.ts.map +1 -1
- package/dist/dsh/task-completion-host.js +17 -5
- package/dist/dsh/task-completion-host.js.map +1 -1
- package/dist/dsh/task-completion.d.ts +13 -0
- package/dist/dsh/task-completion.d.ts.map +1 -1
- package/dist/dsh/task-completion.js +23 -6
- package/dist/dsh/task-completion.js.map +1 -1
- package/dist/dsh/task-intake.d.ts.map +1 -1
- package/dist/dsh/task-intake.js +7 -16
- package/dist/dsh/task-intake.js.map +1 -1
- package/dist/dsh/task-source-history.d.ts +33 -0
- package/dist/dsh/task-source-history.d.ts.map +1 -0
- package/dist/dsh/task-source-history.js +62 -0
- package/dist/dsh/task-source-history.js.map +1 -0
- package/dist/dsh/task-state-host.d.ts +124 -0
- package/dist/dsh/task-state-host.d.ts.map +1 -0
- package/dist/dsh/task-state-host.js +403 -0
- package/dist/dsh/task-state-host.js.map +1 -0
- package/dist/dsh/task-state-surface.d.ts +8 -0
- package/dist/dsh/task-state-surface.d.ts.map +1 -0
- package/dist/dsh/task-state-surface.js +113 -0
- package/dist/dsh/task-state-surface.js.map +1 -0
- package/dist/dsh/task-state.d.ts +217 -0
- package/dist/dsh/task-state.d.ts.map +1 -0
- package/dist/dsh/task-state.js +315 -0
- package/dist/dsh/task-state.js.map +1 -0
- package/dist/dsh/tool-exposure-config.d.ts +12 -0
- package/dist/dsh/tool-exposure-config.d.ts.map +1 -0
- package/dist/dsh/tool-exposure-config.js +4 -0
- package/dist/dsh/tool-exposure-config.js.map +1 -0
- package/dist/dsh/tool-exposure.d.ts +2 -11
- package/dist/dsh/tool-exposure.d.ts.map +1 -1
- package/dist/dsh/tool-exposure.js +2 -2
- package/dist/dsh/tool-exposure.js.map +1 -1
- package/dist/dsh/tools.d.ts +2 -2
- package/dist/dsh/tools.d.ts.map +1 -1
- package/dist/dsh/tools.js +3 -2
- package/dist/dsh/tools.js.map +1 -1
- package/dist/enno-oduno/memory-verification.d.ts +2 -1
- package/dist/enno-oduno/memory-verification.d.ts.map +1 -1
- package/dist/enno-oduno/memory-verification.js +42 -30
- package/dist/enno-oduno/memory-verification.js.map +1 -1
- package/dist/enno-oduno/schemas.d.ts +1 -1
- package/dist/enno-oduno/store.d.ts +7 -0
- package/dist/enno-oduno/store.d.ts.map +1 -1
- package/dist/enno-oduno/store.js +42 -0
- package/dist/enno-oduno/store.js.map +1 -1
- package/dist/ledger/store.d.ts.map +1 -1
- package/dist/ledger/store.js +0 -5
- package/dist/ledger/store.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/application.js +1 -1
- package/dist/memory/application.js.map +1 -1
- package/dist/memory/auto-globalization.d.ts.map +1 -1
- package/dist/memory/auto-globalization.js +4 -82
- package/dist/memory/auto-globalization.js.map +1 -1
- package/dist/memory/evolution/contracts.d.ts +3 -1
- package/dist/memory/evolution/contracts.d.ts.map +1 -1
- package/dist/memory/evolution/contracts.js +1 -1
- package/dist/memory/evolution/contracts.js.map +1 -1
- package/dist/memory/evolution/store.d.ts +2 -1
- package/dist/memory/evolution/store.d.ts.map +1 -1
- package/dist/memory/evolution/store.js +75 -34
- package/dist/memory/evolution/store.js.map +1 -1
- package/dist/memory/evolution/worker.d.ts +1 -0
- package/dist/memory/evolution/worker.d.ts.map +1 -1
- package/dist/memory/evolution/worker.js +6 -18
- package/dist/memory/evolution/worker.js.map +1 -1
- package/dist/memory/explain.d.ts.map +1 -1
- package/dist/memory/explain.js +2 -2
- package/dist/memory/explain.js.map +1 -1
- package/dist/memory/forget.d.ts.map +1 -1
- package/dist/memory/forget.js +12 -3
- package/dist/memory/forget.js.map +1 -1
- package/dist/memory/hybrid-retrieval.d.ts.map +1 -1
- package/dist/memory/hybrid-retrieval.js +3 -0
- package/dist/memory/hybrid-retrieval.js.map +1 -1
- package/dist/memory/index-reasoning/service.d.ts.map +1 -1
- package/dist/memory/index-reasoning/service.js +5 -43
- package/dist/memory/index-reasoning/service.js.map +1 -1
- package/dist/memory/index-reasoning/worker.d.ts.map +1 -1
- package/dist/memory/index-reasoning/worker.js +1 -15
- package/dist/memory/index-reasoning/worker.js.map +1 -1
- package/dist/memory/lifecycle-cache.d.ts +12 -0
- package/dist/memory/lifecycle-cache.d.ts.map +1 -0
- package/dist/memory/lifecycle-cache.js +36 -0
- package/dist/memory/lifecycle-cache.js.map +1 -0
- package/dist/memory/lifecycle-database.d.ts +5 -0
- package/dist/memory/lifecycle-database.d.ts.map +1 -0
- package/dist/memory/lifecycle-database.js +32 -0
- package/dist/memory/lifecycle-database.js.map +1 -0
- package/dist/memory/lifecycle-global-state.d.ts +5 -0
- package/dist/memory/lifecycle-global-state.d.ts.map +1 -0
- package/dist/memory/lifecycle-global-state.js +23 -0
- package/dist/memory/lifecycle-global-state.js.map +1 -0
- package/dist/memory/lifecycle-global.d.ts +23 -0
- package/dist/memory/lifecycle-global.d.ts.map +1 -0
- package/dist/memory/lifecycle-global.js +56 -0
- package/dist/memory/lifecycle-global.js.map +1 -0
- package/dist/memory/lifecycle.d.ts +152 -0
- package/dist/memory/lifecycle.d.ts.map +1 -0
- package/dist/memory/lifecycle.js +152 -0
- package/dist/memory/lifecycle.js.map +1 -0
- package/dist/memory/replay-review.d.ts +90 -0
- package/dist/memory/replay-review.d.ts.map +1 -0
- package/dist/memory/replay-review.js +82 -0
- package/dist/memory/replay-review.js.map +1 -0
- package/dist/memory/replay-store.d.ts +14 -0
- package/dist/memory/replay-store.d.ts.map +1 -0
- package/dist/memory/replay-store.js +117 -0
- package/dist/memory/replay-store.js.map +1 -0
- package/dist/memory/review/adoption.d.ts.map +1 -1
- package/dist/memory/review/adoption.js +2 -106
- package/dist/memory/review/adoption.js.map +1 -1
- package/dist/memory/review/store.d.ts.map +1 -1
- package/dist/memory/review/store.js +9 -5
- package/dist/memory/review/store.js.map +1 -1
- package/dist/memory/review/worker.d.ts.map +1 -1
- package/dist/memory/review/worker.js +1 -7
- package/dist/memory/review/worker.js.map +1 -1
- package/dist/memory/scoped-memory.js +1 -1
- package/dist/memory/scoped-memory.js.map +1 -1
- package/dist/model-tools/contracts.d.ts +4 -4
- package/dist/model-tools/contracts.d.ts.map +1 -1
- package/dist/model-tools/contracts.js +1 -11
- package/dist/model-tools/contracts.js.map +1 -1
- package/dist/model-tools/names.d.ts +4 -0
- package/dist/model-tools/names.d.ts.map +1 -0
- package/dist/model-tools/names.js +13 -0
- package/dist/model-tools/names.js.map +1 -0
- package/docs/agenticreplay-recording.md +1 -1
- package/docs/code-intelligence.md +54 -119
- package/docs/dsh-plugin.md +86 -9
- package/docs/getting-started.md +10 -0
- package/docs/guardrail-licenses/Apache-2.0.txt +73 -0
- package/docs/guardrail-licenses/BSD-2-Clause.txt +9 -0
- package/docs/guardrail-licenses/COPYRIGHT-Rust.txt +34 -0
- package/docs/guardrail-licenses/COPYRIGHT-library.html +29357 -0
- package/docs/guardrail-licenses/ISC.txt +7 -0
- package/docs/guardrail-licenses/LICENSE-APACHE +176 -0
- package/docs/guardrail-licenses/LICENSE-MIT +25 -0
- package/docs/guardrail-licenses/LLVM-exception.txt +15 -0
- package/docs/guardrail-licenses/MIT.txt +9 -0
- package/docs/guardrail-licenses/NCSA.txt +29 -0
- package/docs/guardrail-licenses/README.md +7 -0
- package/docs/guardrail-licenses/Unicode-3.0.txt +39 -0
- package/docs/guardrail-licenses/libunwind-LICENSE.txt +311 -0
- package/docs/guardrail-licenses/manifest.json +71 -0
- package/docs/guardrail-licenses/musl-COPYRIGHT.txt +193 -0
- package/docs/guardrail.md +33 -0
- package/docs/lifecycle-memory.md +25 -0
- package/docs/lisp.md +33 -9
- package/docs/memory-evolution.md +6 -6
- package/docs/owned-execution.md +3 -3
- package/docs/replay-memory-review.md +26 -0
- package/docs/semantic-compaction.md +2 -0
- package/guardrail/aarch64-apple-darwin/kiokuko-guardrail +0 -0
- package/guardrail/aarch64-apple-darwin/manifest.json +71 -0
- package/guardrail/aarch64-unknown-linux-musl/kiokuko-guardrail +0 -0
- package/guardrail/aarch64-unknown-linux-musl/manifest.json +69 -0
- package/guardrail/manifest.json +204 -0
- package/guardrail/node-runner.mjs +37 -0
- package/guardrail/protocols/coding-routine.lisp +33 -0
- package/guardrail/x86_64-apple-darwin/kiokuko-guardrail +0 -0
- package/guardrail/x86_64-apple-darwin/manifest.json +71 -0
- package/guardrail/x86_64-unknown-linux-musl/kiokuko-guardrail +0 -0
- package/guardrail/x86_64-unknown-linux-musl/manifest.json +68 -0
- package/migrations/038_coding_admission.sql +19 -0
- package/migrations/039_memory_lifecycle.sql +336 -0
- package/migrations/040_task_state.sql +45 -0
- package/migrations/041_task_source_history.sql +88 -0
- package/migrations/042_evolution_source_epochs.sql +148 -0
- package/package.json +45 -27
- package/scripts/guardrail-artifacts.d.mts +13 -0
- package/scripts/guardrail-artifacts.mjs +136 -0
- package/skills/kiokuko-lisp/SKILL.md +1 -1
- package/skills/kiokuko-soul/SKILL.md +6 -6
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"scope": "Preserved upstream notices for bundled Rust standard library and conservative musl/libunwind supplements; toolchain archive hashes are in crates/guardrail-release/release-provenance.json in the repository.",
|
|
4
|
+
"files": {
|
|
5
|
+
"COPYRIGHT-library.html": {
|
|
6
|
+
"sha256": "5647be074c8edf7339fd863055923a8fc80bc5610a8d4661ec3b767b9d392c27",
|
|
7
|
+
"bytes": 1499465,
|
|
8
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
9
|
+
},
|
|
10
|
+
"COPYRIGHT-Rust.txt": {
|
|
11
|
+
"sha256": "172020dbfd5b53a226dfde77616190a48dcff519b0bc0e6deb91a8450782c4af",
|
|
12
|
+
"bytes": 1571,
|
|
13
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
14
|
+
},
|
|
15
|
+
"LICENSE-MIT": {
|
|
16
|
+
"sha256": "b71bd43a069ca0641a9ecfe585ca7b3c53b5cc1608f8b68321168698e28b5ea1",
|
|
17
|
+
"bytes": 1068,
|
|
18
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
19
|
+
},
|
|
20
|
+
"LICENSE-APACHE": {
|
|
21
|
+
"sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a",
|
|
22
|
+
"bytes": 9723,
|
|
23
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
24
|
+
},
|
|
25
|
+
"musl-COPYRIGHT.txt": {
|
|
26
|
+
"sha256": "f9bc4423732350eb0b3f7ed7e91d530298476f8fec0c6c427a1c04ade22655af",
|
|
27
|
+
"bytes": 6204,
|
|
28
|
+
"provenance": "Conservative supplemental upstream notice from official Zig 0.17.0 distribution; not evidence of exact Rust-linked library revision"
|
|
29
|
+
},
|
|
30
|
+
"libunwind-LICENSE.txt": {
|
|
31
|
+
"sha256": "b5efebcaca80879234098e52d1725e6d9eb8fb96a19fce625d39184b705f7b6d",
|
|
32
|
+
"bytes": 16706,
|
|
33
|
+
"provenance": "Conservative supplemental upstream notice from official Zig 0.17.0 distribution; not evidence of exact Rust-linked library revision"
|
|
34
|
+
},
|
|
35
|
+
"MIT.txt": {
|
|
36
|
+
"sha256": "b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0",
|
|
37
|
+
"bytes": 1078,
|
|
38
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
39
|
+
},
|
|
40
|
+
"Apache-2.0.txt": {
|
|
41
|
+
"sha256": "074e6e32c86a4c0ef8b3ed25b721ca23aca83df277cd88106ef7177c354615ff",
|
|
42
|
+
"bytes": 10280,
|
|
43
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
44
|
+
},
|
|
45
|
+
"LLVM-exception.txt": {
|
|
46
|
+
"sha256": "e34c58338bd89d43e709e226610d8f32b3e3c47f4ad9a99a8dc1d4ac7842488e",
|
|
47
|
+
"bytes": 919,
|
|
48
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
49
|
+
},
|
|
50
|
+
"NCSA.txt": {
|
|
51
|
+
"sha256": "39cb0234065c92b9e6cee3830cbb52b1aa289aa8fe9ba2e66730fec5cf05c630",
|
|
52
|
+
"bytes": 1676,
|
|
53
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
54
|
+
},
|
|
55
|
+
"Unicode-3.0.txt": {
|
|
56
|
+
"sha256": "f5062c9a188d81dfe66b56db4182dcf9e4b17c0d9b0d311a8e20b3a1b075c443",
|
|
57
|
+
"bytes": 1995,
|
|
58
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
59
|
+
},
|
|
60
|
+
"BSD-2-Clause.txt": {
|
|
61
|
+
"sha256": "f32fb3b417a194167cfad068223fc975ba96c5960513a10f66a3c28720aec1df",
|
|
62
|
+
"bytes": 1267,
|
|
63
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
64
|
+
},
|
|
65
|
+
"ISC.txt": {
|
|
66
|
+
"sha256": "0ff61769b238634e042ab759dddfd104a8e69d091e3600ae3410e401a6164381",
|
|
67
|
+
"bytes": 730,
|
|
68
|
+
"provenance": "Official Rust 1.99.0 distribution notice"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
musl as a whole is licensed under the following standard MIT license:
|
|
2
|
+
|
|
3
|
+
----------------------------------------------------------------------
|
|
4
|
+
Copyright © 2005-2020 Rich Felker, et al.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
7
|
+
a copy of this software and associated documentation files (the
|
|
8
|
+
"Software"), to deal in the Software without restriction, including
|
|
9
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
10
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
11
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
12
|
+
the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be
|
|
15
|
+
included in all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
20
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
21
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
22
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
23
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
----------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
Authors/contributors include:
|
|
27
|
+
|
|
28
|
+
A. Wilcox
|
|
29
|
+
Ada Worcester
|
|
30
|
+
Alex Dowad
|
|
31
|
+
Alex Suykov
|
|
32
|
+
Alexander Monakov
|
|
33
|
+
Andre McCurdy
|
|
34
|
+
Andrew Kelley
|
|
35
|
+
Anthony G. Basile
|
|
36
|
+
Aric Belsito
|
|
37
|
+
Arvid Picciani
|
|
38
|
+
Bartosz Brachaczek
|
|
39
|
+
Benjamin Peterson
|
|
40
|
+
Bobby Bingham
|
|
41
|
+
Boris Brezillon
|
|
42
|
+
Brent Cook
|
|
43
|
+
Chris Spiegel
|
|
44
|
+
Clément Vasseur
|
|
45
|
+
Daniel Micay
|
|
46
|
+
Daniel Sabogal
|
|
47
|
+
Daurnimator
|
|
48
|
+
David Carlier
|
|
49
|
+
David Edelsohn
|
|
50
|
+
Denys Vlasenko
|
|
51
|
+
Dmitry Ivanov
|
|
52
|
+
Dmitry V. Levin
|
|
53
|
+
Drew DeVault
|
|
54
|
+
Emil Renner Berthing
|
|
55
|
+
Fangrui Song
|
|
56
|
+
Felix Fietkau
|
|
57
|
+
Felix Janda
|
|
58
|
+
Gianluca Anzolin
|
|
59
|
+
Hauke Mehrtens
|
|
60
|
+
He X
|
|
61
|
+
Hiltjo Posthuma
|
|
62
|
+
Isaac Dunham
|
|
63
|
+
Jaydeep Patil
|
|
64
|
+
Jens Gustedt
|
|
65
|
+
Jeremy Huntwork
|
|
66
|
+
Jo-Philipp Wich
|
|
67
|
+
Joakim Sindholt
|
|
68
|
+
John Spencer
|
|
69
|
+
Julien Ramseier
|
|
70
|
+
Justin Cormack
|
|
71
|
+
Kaarle Ritvanen
|
|
72
|
+
Khem Raj
|
|
73
|
+
Kylie McClain
|
|
74
|
+
Leah Neukirchen
|
|
75
|
+
Luca Barbato
|
|
76
|
+
Luka Perkov
|
|
77
|
+
M Farkas-Dyck (Strake)
|
|
78
|
+
Mahesh Bodapati
|
|
79
|
+
Markus Wichmann
|
|
80
|
+
Masanori Ogino
|
|
81
|
+
Michael Clark
|
|
82
|
+
Michael Forney
|
|
83
|
+
Mikhail Kremnyov
|
|
84
|
+
Natanael Copa
|
|
85
|
+
Nicholas J. Kain
|
|
86
|
+
orc
|
|
87
|
+
Pascal Cuoq
|
|
88
|
+
Patrick Oppenlander
|
|
89
|
+
Petr Hosek
|
|
90
|
+
Petr Skocik
|
|
91
|
+
Pierre Carrier
|
|
92
|
+
Reini Urban
|
|
93
|
+
Rich Felker
|
|
94
|
+
Richard Pennington
|
|
95
|
+
Ryan Fairfax
|
|
96
|
+
Samuel Holland
|
|
97
|
+
Segev Finer
|
|
98
|
+
Shiz
|
|
99
|
+
sin
|
|
100
|
+
Solar Designer
|
|
101
|
+
Stefan Kristiansson
|
|
102
|
+
Stefan O'Rear
|
|
103
|
+
Szabolcs Nagy
|
|
104
|
+
Timo Teräs
|
|
105
|
+
Trutz Behn
|
|
106
|
+
Valentin Ochs
|
|
107
|
+
Will Dietz
|
|
108
|
+
William Haddon
|
|
109
|
+
William Pitcock
|
|
110
|
+
|
|
111
|
+
Portions of this software are derived from third-party works licensed
|
|
112
|
+
under terms compatible with the above MIT license:
|
|
113
|
+
|
|
114
|
+
The TRE regular expression implementation (src/regex/reg* and
|
|
115
|
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
|
116
|
+
under a 2-clause BSD license (license text in the source files). The
|
|
117
|
+
included version has been heavily modified by Rich Felker in 2012, in
|
|
118
|
+
the interests of size, simplicity, and namespace cleanliness.
|
|
119
|
+
|
|
120
|
+
Much of the math library code (src/math/* and src/complex/*) is
|
|
121
|
+
Copyright © 1993,2004 Sun Microsystems or
|
|
122
|
+
Copyright © 2003-2011 David Schultz or
|
|
123
|
+
Copyright © 2003-2009 Steven G. Kargl or
|
|
124
|
+
Copyright © 2003-2009 Bruce D. Evans or
|
|
125
|
+
Copyright © 2008 Stephen L. Moshier or
|
|
126
|
+
Copyright © 2017-2018 Arm Limited
|
|
127
|
+
and labelled as such in comments in the individual source files. All
|
|
128
|
+
have been licensed under extremely permissive terms.
|
|
129
|
+
|
|
130
|
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
|
131
|
+
The Android Open Source Project and is licensed under a two-clause BSD
|
|
132
|
+
license. It was taken from Bionic libc, used on Android.
|
|
133
|
+
|
|
134
|
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
|
135
|
+
Copyright © 1999-2019, Arm Limited.
|
|
136
|
+
|
|
137
|
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
|
138
|
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
|
139
|
+
|
|
140
|
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
|
141
|
+
originally written by Solar Designer and placed into the public
|
|
142
|
+
domain. The code also comes with a fallback permissive license for use
|
|
143
|
+
in jurisdictions that may not recognize the public domain.
|
|
144
|
+
|
|
145
|
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
|
146
|
+
Valentin Ochs and is licensed under an MIT-style license.
|
|
147
|
+
|
|
148
|
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
|
149
|
+
the standard MIT terms.
|
|
150
|
+
|
|
151
|
+
The mips and microblaze ports were originally written by Richard
|
|
152
|
+
Pennington for use in the ellcc project. The original code was adapted
|
|
153
|
+
by Rich Felker for build system and code conventions during upstream
|
|
154
|
+
integration. It is licensed under the standard MIT terms.
|
|
155
|
+
|
|
156
|
+
The mips64 port was contributed by Imagination Technologies and is
|
|
157
|
+
licensed under the standard MIT terms.
|
|
158
|
+
|
|
159
|
+
The powerpc port was also originally written by Richard Pennington,
|
|
160
|
+
and later supplemented and integrated by John Spencer. It is licensed
|
|
161
|
+
under the standard MIT terms.
|
|
162
|
+
|
|
163
|
+
All other files which have no copyright comments are original works
|
|
164
|
+
produced specifically for use as part of this library, written either
|
|
165
|
+
by Rich Felker, the main author of the library, or by one or more
|
|
166
|
+
contibutors listed above. Details on authorship of individual files
|
|
167
|
+
can be found in the git version control history of the project. The
|
|
168
|
+
omission of copyright and license comments in each file is in the
|
|
169
|
+
interest of source tree size.
|
|
170
|
+
|
|
171
|
+
In addition, permission is hereby granted for all public header files
|
|
172
|
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
|
173
|
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
|
174
|
+
the copyright notice and permission notice otherwise required by the
|
|
175
|
+
license, and to use these files without any requirement of
|
|
176
|
+
attribution. These files include substantial contributions from:
|
|
177
|
+
|
|
178
|
+
Bobby Bingham
|
|
179
|
+
John Spencer
|
|
180
|
+
Nicholas J. Kain
|
|
181
|
+
Rich Felker
|
|
182
|
+
Richard Pennington
|
|
183
|
+
Stefan Kristiansson
|
|
184
|
+
Szabolcs Nagy
|
|
185
|
+
|
|
186
|
+
all of whom have explicitly granted such permission.
|
|
187
|
+
|
|
188
|
+
This file previously contained text expressing a belief that most of
|
|
189
|
+
the files covered by the above exception were sufficiently trivial not
|
|
190
|
+
to be subject to copyright, resulting in confusion over whether it
|
|
191
|
+
negated the permissions granted in the license. In the spirit of
|
|
192
|
+
permissive licensing, and of not having licensing issues being an
|
|
193
|
+
obstacle to adoption, that text has been removed.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# kiokuko-dsh bundled Rust guardrail
|
|
2
|
+
|
|
3
|
+
The opt-in `bounded-tdd-v1` recipe restricts an existing kiokuko-dsh coding unit to write-tests → verify-red → implement → verify-green → report. Completion bindings follow the existing host approval policy, which may approve automatically; enrollment is not a new human-confirmation step or a grant of filesystem/task authority. A unit may span several files. One fresh RED opens its bounded implementation phase; GREEN requires a net source change and closes that phase. Tests stay frozen after RED. Broadening the unit requires the existing coding-scope amendment flow and fresh evidence.
|
|
4
|
+
|
|
5
|
+
The host binds receipts to the current task lease, recipe generation, completion binding, separate source/test manifests, exact selected command, Node/runner/supervisor/engine/protocol bytes, and a bounded environment. Tests receive fresh HOME/TMP/XDG directories and a fixed PATH/LANG/TZ, not inherited credentials or arbitrary environment variables. Node's private structured event channel supplies observations; stdout, JSON claims and a nonzero exit cannot issue receipts. Assertion-shaped events require structured assertion fields. Model-written tests can still fabricate assertion semantics or test the wrong behavior; this is not proof of semantic correctness or hostile same-user process attestation.
|
|
6
|
+
|
|
7
|
+
Each owned write and test launch receives final transactional lease reauthorization. Cancellation committed before that boundary prevents the effect; a later cancellation must stop an already-started process. File staging and replacement are synchronous within the checked write boundary. SQLite and filesystem effects are not one atomic transaction: a crash may leave changed files with a pending operation. Such operations remain blocked for inspection, stop confirmation, explicit task resume and fresh rebinding instead of automatic replay or rollback. A database retry cannot repeat an already-entered effect callback; an uncertain launch stays pending even when the caller changes its call ID.
|
|
8
|
+
|
|
9
|
+
Completion status exposes separate capability metadata for bounded protocol validation, lease-checked owned effects, process-only Node tests, and protected-required Lisp effects; rollback and heap restoration are false. Selected Node tests are ordinary JavaScript: the runner is not an OS sandbox against undeclared filesystem or network effects.
|
|
10
|
+
|
|
11
|
+
The bounded CL-like language is declarative, without arbitrary Common Lisp evaluation or heap restoration. Existing workflow metadata and task authority remain the only state authority. Enrolled Lisp effects require the protected owned-tool route; unrestricted development Lisp is unavailable while enrolled. The guardrail is not an OS sandbox or global permission system. Hashes identify inputs and ordinary integrity, not malicious same-user filesystem races. Non-enrolled work retains its existing behavior.
|
|
12
|
+
|
|
13
|
+
## Installation and checks
|
|
14
|
+
|
|
15
|
+
The full package and core module include precompiled artifacts, protocol, Node runner and resolver. Engine selection uses no Cargo, SBCL, download, PATH fallback or install-time compilation. The normal build, including Git-install prepare, verifies bundled assets.
|
|
16
|
+
|
|
17
|
+
- `npm run verify:guardrail`: verify all bundled hashes, modes, ELF/Mach-O structure and recorded native-execution status without running cross-built binaries.
|
|
18
|
+
- `npm run check:guardrail`: verify availability and integrity for the current host; missing or invalid assets fail closed.
|
|
19
|
+
|
|
20
|
+
`package.json` pins `guardrail/manifest.json`, which binds protocol bytes, each executable and its original release manifest. Manifests include source/build inputs and compiler/linker provenance. Product and engine versions are independently metadata-derived. The resolver rejects symlinks, non-regular/non-executable files, malformed or truncated executables, wrong architectures and identity mismatches.
|
|
21
|
+
|
|
22
|
+
## Target status
|
|
23
|
+
|
|
24
|
+
- Linux x64: static musl ELF; native CLI smoke and reproducible-build checks passed on Linux x64.
|
|
25
|
+
- Linux ARM64: static musl ELF, cloud cross-built; native execution not run.
|
|
26
|
+
- macOS Intel and Apple Silicon: cloud cross-built Mach-O, minimum macOS 13; native execution not run. ARM64 ad-hoc signature structure was checked.
|
|
27
|
+
- Other hosts: unsupported; no substitute architecture is selected.
|
|
28
|
+
|
|
29
|
+
Cross-build, format and hash checks do not establish native compatibility, arbitrary runtime behavior, notarization or developer signing. Package smoke execution applies only to its actual host. Linux musl binaries have no dynamic ELF interpreter.
|
|
30
|
+
|
|
31
|
+
## Repository source and maintenance
|
|
32
|
+
|
|
33
|
+
The repository includes the actual dependency-free Rust library/CLI at [crates/guardrail](../crates/guardrail/README.md), including the restricted-language/evidence-wire specification, protocol, Cargo lockfile and tests. [Build and release instructions](../crates/guardrail-release/BUILDING.md) accompany the pinned official-source toolchain inputs and portable offline recipe. This source/build layer is excluded from npm runtime tarballs; runtime [third-party notices](guardrail-licenses/README.md) remain included. Original recorded repeat-build evidence does not mean an adapted wrapper has reproduced every target.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Local lifecycle memory
|
|
2
|
+
|
|
3
|
+
Kiokuko DSH records bounded public observations in its existing configured SQLite database. No HTTP server, extra model call, credential, global installation or external scheduler is required.
|
|
4
|
+
|
|
5
|
+
Both full and core entry points observe explicit model selections, successful compaction summaries, committed task completion, human feedback and native message ratings. Private reasoning blocks and raw compaction output are excluded. Public text passes the existing secret and path redaction policy. Capture refusal prevents further capture and reference delivery for that session.
|
|
6
|
+
|
|
7
|
+
The native tools `memory_observe`, `memory_context` and `memory_improve` use the common memory contract. Supply the absolute repository `cwd`; `memory_context` also accepts `query`, `tags`, `sessionId` and `limit`. Requests outside the configured repository are rejected. Responses always allow work to continue. `recorded` describes persistence; it is separate from input acceptance. Failed recording is never reported as a saved observation.
|
|
8
|
+
|
|
9
|
+
Context includes project cautions, procedure candidates, bounded recent task history, same-session continuation, eligible Global principles/references, source references and diagnostics. Every project reference retains producer, event ID, source revision, content digest and verification provenance; Global references retain entry identity/revision and opaque evidence links. Context is untrusted data; it cannot grant permissions or override the current request, host or OS. The native pre-step re-reads current same-repository cautions and temporary session context on every step, including a new task. Durable candidate sources are checked beyond the recent 512-event window. Retrieval is bounded to 128 candidates and a 15 KB excerpt; it is not an unlimited history dump.
|
|
10
|
+
|
|
11
|
+
Every projected snapshot also tells the model to call `memory_context` with relevant keywords/tags when the procedure is unclear, while following normal task preparation and permission checks. Project candidates and Global references participate in that lookup; Global keyword searches use the existing hybrid retrieval lanes and eligibility gates.
|
|
12
|
+
|
|
13
|
+
Feedback replacements append a source revision. Deletions append a tombstone. Previous revisions remain auditable but no longer support new context. Native pre-steps check persistent memory revisions and reuse the existing snapshot when its data is unchanged and still present in the active context. They do not re-derive history or append duplicate snapshot audit records on unchanged steps. A changed or expired view replaces the previous snapshot; prior-turn memory lookup results are retired when their memory revisions change. A missing snapshot is delivered again after compaction/context loss. The original log remains intact.
|
|
14
|
+
|
|
15
|
+
Context caching is limited to 32 query views per SQLite connection, keyed by workspace, session, query, tags and limit. Observation, evaluation, source-policy and Global content/eligibility revisions invalidate the cache. Continuation expires at the earliest supporting observation's 24-hour deadline, even without a database write. The cache returns independent plain JSON values; model/tool output carries no private cache metadata. Ordinary ledger sequence, recorder and audit traffic does not invalidate memory revisions. A reattached host checks and reuses a matching existing native snapshot.
|
|
16
|
+
|
|
17
|
+
Routine candidates require independently sourced repeated completions. Only fresh host-bound completion evidence establishes verification. Human praise, ordinary task termination and silence do not prove success. Complaints and failed matching executions reduce confidence; withdrawn sources immediately invalidate old candidate projections. Observation boundaries improve candidates immediately. A shared, unreferenced host timer checks for pending source revisions every 60 seconds and stops when the last module owner releases it. A persistent processing watermark skips extraction when those revisions have already been handled; the bounded aggregation window is re-derived only when new input exists or a larger extraction limit is requested. Candidate/Global writes and the watermark commit together. A failed extraction leaves the revision pending for retry, including after a process restart. There is no paid-model improvement pass.
|
|
18
|
+
|
|
19
|
+
Improvement creates untrusted Global principle candidates in the same configured database. These contain fixed portable preventive/verification rules and opaque evidence hashes; project text, commands, paths, personal profiles and raw logs are not copied. They never become verified or adopted automatically. Current-source hashes, capture policy and ordinary memory eligibility gates govern their visibility, including ordinary Global search outside these lifecycle tools.
|
|
20
|
+
|
|
21
|
+
When praise refers to the current public answer or its completed run, the observer resolves exact repository/session/run links to AgenticReplay. With a bound full-host recorder, a completed trace supplies at most 64 events/64 KB of public result metadata; only tool names, result classification and trace event IDs are retained. Payloads, reasoning and blobs are excluded. Unbound, missing, incomplete or refused traces cannot justify verification. Core remains independent of the recorder and retains local public observations and available trace links.
|
|
22
|
+
|
|
23
|
+
Optional memory failure leaves coding available. Context reads have a 50 ms foreground bound; unavailable context is omitted. Optional SQLite operations fail immediately on a writer lock rather than borrowing the normal host's lock wait/retry budget; the host setting is restored before returning. After a terminal run and its pending finalization have committed, cache or worker notification failures cannot prevent owner release. The pending job remains available to the existing startup retry mechanism.
|
|
24
|
+
|
|
25
|
+
The connected surface is the native DSH lifecycle and three native tools. This change does not add a permanent HTTP API or a memory-management UI. It does not modify the running installation/configuration or require an external Kiokuko server.
|
package/docs/lisp.md
CHANGED
|
@@ -12,6 +12,29 @@ the existing permission and approval boundaries still apply.
|
|
|
12
12
|
|
|
13
13
|
The default is `lisp.executionMode: development`. Old `approvalMode` values remain readable. Set `executionMode: protected` explicitly to select the legacy worker/approval/fence behavior. See [owned execution and memory evidence](owned-execution.md).
|
|
14
14
|
|
|
15
|
+
## Task state at execution boundaries
|
|
16
|
+
|
|
17
|
+
Managed Lisp effects require the session's current `Working` task. The host pins
|
|
18
|
+
the task ID, session, repository, revision and execution generation when an
|
|
19
|
+
invocation starts. It checks that same identity again after approval, before
|
|
20
|
+
effects, and inside successful journal/evidence writes. Waiting, stopping,
|
|
21
|
+
ignoring or resuming a task invalidates old executions; resuming does not grant
|
|
22
|
+
an older background job new authority. Failed, cancelled and interrupted runs
|
|
23
|
+
retain their recorded outcomes and require explicit resume.
|
|
24
|
+
|
|
25
|
+
| Lisp path | Task-state behavior |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| Saved reads, status, cancellation, observe/stage/compare, pure eval and function calls | Remain available without a Working task; any managed effect reached inside a call is checked separately. |
|
|
28
|
+
| Proposals/apply/restore, CI verification, package updates, artifact publication, shared-function changes, reset/recover | Require a Working task at the actual effect boundary. An unavailable validator denies the effect. |
|
|
29
|
+
| `run`, `start-job`, owned-tool RPC and compiled `run_code` dispatch | Carry the host-pinned identity through native dispatch; old generations cannot publish a success receipt. `start-job` may outlive the evaluation's cancellation signal, but cannot acquire a newer task lease. |
|
|
30
|
+
| CI list and failed-log reads | Remain read-only and do not need task execution authority. |
|
|
31
|
+
|
|
32
|
+
These checks cover the managed host adapters. Development mode runs Common Lisp
|
|
33
|
+
with normal process permissions: arbitrary Common Lisp filesystem or process
|
|
34
|
+
calls can bypass those adapters. Task state is not an OS sandbox, and enabling it
|
|
35
|
+
does not change the user's permissions. Choose the existing protected mode when
|
|
36
|
+
its filesystem/process isolation is required.
|
|
37
|
+
|
|
15
38
|
## Compose task tools
|
|
16
39
|
|
|
17
40
|
Use the worker as a persistent programming environment. Before repeating primitive
|
|
@@ -383,12 +406,12 @@ The provider owns Tree-sitter, grammars, source snapshots, coordinates, and LSP
|
|
|
383
406
|
processes. Kiokuko does not install them or fall back to generic LSP tools.
|
|
384
407
|
Core alone has no code-intelligence runtime dependency.
|
|
385
408
|
|
|
386
|
-
The
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
409
|
+
The released `@askdkc/dsh-lsp-server` v0.1.14 provides V1. Follow the
|
|
410
|
+
[installation guide](code-intelligence.md); the local patch is only a historical
|
|
411
|
+
test fixture. `kiokuko-dsh` checks the service contract and capabilities at runtime,
|
|
412
|
+
not just the package version. Missing providers, grammars and unready language
|
|
413
|
+
servers return explicit outcomes without blocking ordinary Lisp APIs.
|
|
414
|
+
Node must satisfy `kiokuko-dsh`'s `>=24.16.0` requirement.
|
|
392
415
|
|
|
393
416
|
Start with `(kioku.code:capabilities)`. Its response includes `status`, `reason`
|
|
394
417
|
when relevant, `data.version`, `data.capabilities`, `data.languages`, distributed
|
|
@@ -459,9 +482,10 @@ reported independently from grammar and language-server readiness.
|
|
|
459
482
|
|
|
460
483
|
Development verification is `npm run test:code-intelligence` after preparing the
|
|
461
484
|
provider fixture. The source/native and packed paths are separate checks. The CI
|
|
462
|
-
matrix
|
|
463
|
-
|
|
464
|
-
is not evidence that the
|
|
485
|
+
matrix configures development checks on macOS, Ubuntu 26.04 and Arch, plus
|
|
486
|
+
protected checks on macOS. Linux protected acceptance is separate. A configured
|
|
487
|
+
job is not evidence that the current package passed; see the setup guide for
|
|
488
|
+
verification limits.
|
|
465
489
|
|
|
466
490
|
Clean installation and platform status: [code intelligence setup](code-intelligence.md).
|
|
467
491
|
|
package/docs/memory-evolution.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Episode / evolution
|
|
2
2
|
|
|
3
|
-
一つの Kiokuko run
|
|
3
|
+
一つの Kiokuko run の確定した実行区間を一つの経験(episode)として残し、条件が揃った経験から検索用の教訓候補を作ります。明示的な再開やセッション間の引き継ぎでは `source_epoch` で区間を区別し、過去の経験も保持します。既存の終了後要約に構造化抽出を加え、検索本文は従来の `entries` に保存します。
|
|
4
4
|
|
|
5
5
|
**初期設定の `active` では、根拠が有効な episode 概要・教訓・失敗回避策を検索と自動注入に使います。** 新しいセッションでも同じ workspace の候補を参照できます。全候補は未検証のまま扱い、独立した支持・証拠・revision の検査を満たす必要があります。実モデルでの改善率は未測定です。評価結果の有無によって設定を強制的に `observe` へ変換する処理はありません。
|
|
6
6
|
|
|
@@ -28,16 +28,16 @@ DSH の Kiokuko プラグイン設定に追加します。設定変更後は DSH
|
|
|
28
28
|
|
|
29
29
|
状態表示は、要求/実効モード、episode 数、生成ジョブの待機・処理中・完了・保留・失敗、見送り理由、追加呼び出し数、報告された token 使用量、生成時間を含みます。未報告の使用量はゼロ扱いしません。状態表示とジョブの失敗理由には候補本文・モデルのエラーメッセージ・秘密情報を出しません。
|
|
30
30
|
|
|
31
|
-
上限は引き下げ可能です。1 run あたり追加呼び出し1
|
|
31
|
+
上限は引き下げ可能です。1 run の1 source epoch あたり追加呼び出し1回、全世代を合算して UTC 日付単位で workspace あたり8回、入力6 episode / 32 KiB、出力2,048 tokens、60秒、ホスト内同時実行1件を超えません。モデルは終了後要約の provider / model を保持し、代替モデルへ切り替えません。コンテキスト容量が不明、または容量内で支持条件を満たせなければ保留します。
|
|
32
32
|
|
|
33
33
|
## 抽出と採用条件
|
|
34
34
|
|
|
35
|
-
-
|
|
35
|
+
- 対象は通常の `completed` / `failed` と、停止確認が保存された明示 wait / ignore、および明示再開・引き継ぎで閉じた source 区間です。native checkpoint 後の開始・終了 seq と所有セッションが確定した区間だけを扱います。完了・失敗・中止・中断の outcome を区間ごとに保持し、範囲が欠けるときは理由を残して見送ります。中止・中断を成功として記録しません。単に native run が `cancelled` になった全ケースを自動採用するものではありません。
|
|
36
36
|
- capsule v2 は通常記憶と episode を同じ要約呼び出しで返します。全体64 KiB、重要な出来事は最大6件です。既存の v1 ジョブは v1 のまま処理します。episode だけが不正なら、通常記憶の保存は続行します。
|
|
37
37
|
- 証拠は対象 run の native ログからホストが提示した seq のみに限定します。ツール結果は同じ範囲内の call ID と結び付けます。plugin 由来メッセージ、記憶・制御ツール、assistant の成功宣言を根拠にしません。
|
|
38
38
|
- 成功の判定には、操作後に観測されたツール結果の明示的な数値 `exitCode` / `exit_code = 0` が必要です。標準 bash のように表示本文へ終了コードを出さないツールでは、ホストが最終 `tools/result` の構造化値を読み、本文を含まない観測記録を Kiokuko の SQLite に保存します。独自イベントは native ログに追加しません。run・workspace・session・call seq・最終表示内容 hash を照合し、timeout / abort を成功扱いしません。汎用の自然言語出力だけのツールは成功未確認になります。ツールごとの結果形式を広げる場合は、その native 形式を固定したテストを追加してください。
|
|
39
39
|
- 永続化する証拠は seq・種類・結果区分・正規化内容 hash です。観測本文は抽出時だけ使い、別の詳細ログとして複製しません。構造化 episode と短い検索概要は残ります。
|
|
40
|
-
- signature は workspace とエラー・ツール・対象・バージョンの正規化値で決定します。`unknown` を含むものは教訓生成へ進めません。同じ run
|
|
40
|
+
- signature は workspace とエラー・ツール・対象・バージョンの正規化値で決定します。`unknown` を含むものは教訓生成へ進めません。同じ run の複数世代、同一 session の重複範囲、同じ正規化根拠は独立した支持に数えません。同じ run では有効な最新世代を使います。
|
|
41
41
|
- 通常の教訓には独立した3 episode と、うち2件以上の観測された成功が必要です。生成を予約した後は、新しい独立 episode がさらに3件増えるまで再生成しません。
|
|
42
42
|
- 失敗回避策には具体的な発生条件・避ける操作・観測済みの代替または診断手順・確認方法が必要です。具体的なユーザー訂正、または失敗→代替操作→再検証の順序が揃えば1 episode から採用可能です。それ以外は独立した失敗2件以上が必要です。
|
|
43
43
|
|
|
@@ -47,13 +47,13 @@ DSH の Kiokuko プラグイン設定に追加します。設定変更後は DSH
|
|
|
47
47
|
|
|
48
48
|
## 永続化・復旧・検索
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
episode、派生 revision の出典、生成ジョブ、呼び出し予算を既存 SQLite に保持します。migration 042 は既存の episode・関連 entry・ジョブ・呼び出し・見送り記録を source epoch 1 として保持し、後続世代と共存できる複合キーへ移行します。保存済み JSON・派生 manifest・呼び出し実績は書き換えず、既存データの一括再要約もしません。忘却した元記憶を含む世代の本文と staged 要約は消去し、その処理を再採用できないよう claim を失効させます。
|
|
51
51
|
|
|
52
52
|
派生 revision は、元 entry の revision / 内容 hash、episode、アルゴリズム版と結び付きます。元記憶や episode 概要の変更・削除・supersede、該当 revision の `stale` / `conflicting` feedback により、派生記憶は検索時に不適格になります。設定と適格性は context の状態 hash に含め、選択後の変更も注入前に検出します。
|
|
53
53
|
|
|
54
54
|
生成は通常の記憶保存がコミットした後に実行する別ジョブです。モデル呼び出しは transaction の外、予算予約と採用は transaction の中で行います。採用直前に claim token・attempt・有効期限・設定世代・根拠 revision を再確認します。
|
|
55
55
|
|
|
56
|
-
一つのジョブは最大2回 claim できますが、**既に送信したモデル要求は再送しません**。送信後のクラッシュや timeout では結果が不明になり得るため、1 run あたり1呼び出しという上限を優先して保留/失敗にします。未送信の期限切れ claim は再取得できます。応答が遅れて戻っても、期限切れや設定変更後に候補を保存しません。
|
|
56
|
+
一つのジョブは最大2回 claim できますが、**既に送信したモデル要求は再送しません**。送信後のクラッシュや timeout では結果が不明になり得るため、1 run の1 source epoch あたり1呼び出しという上限を優先して保留/失敗にします。未送信の期限切れ claim は再取得できます。応答が遅れて戻っても、期限切れや設定変更後に候補を保存しません。
|
|
57
57
|
|
|
58
58
|
字句検索・意味検索・連合検索・自動注入は同じ派生記憶の適格性判定を使います。検索時の追加 LLM 呼び出しはありません。自動注入は同じ episode 由来を原則2件までにし、空いた枠は他の経験で埋めます。同じ根拠の教訓と episode 概要が両方ヒットした場合は、教訓を残して概要の重複を省きます。概要が先に枠を埋めて教訓を排除しないための処理で、支持数による検索スコアの加点は行いません。完全一致の識別子検索と通常の明示検索にはこの件数制限を適用しません。
|
|
59
59
|
|
package/docs/owned-execution.md
CHANGED
|
@@ -51,8 +51,8 @@ be reconstructed from a model's success report. After restart, saved receipts re
|
|
|
51
51
|
Register conditions and source/test/configuration paths with `task_completion`
|
|
52
52
|
before running the check. Memory application reviews may specify a repository-relative `cwd`; omitted values retain the historical repository-root meaning. Actual directory, command, source digest, run and generation must match. Owned shell and Lisp process calls feed the existing
|
|
53
53
|
completion and memory-application records. Exit zero alone does not establish
|
|
54
|
-
test success: complete Node TAP
|
|
55
|
-
|
|
54
|
+
test success: complete Node TAP summaries distinguish passed, failed, cancelled,
|
|
55
|
+
skipped/todo and zero/incomplete test runs.
|
|
56
56
|
Include every relevant input in the registered source set.
|
|
57
57
|
|
|
58
58
|
Finalization receives structured observations and source-bound checks. Candidate
|
|
@@ -84,7 +84,7 @@ plan does not exit it.
|
|
|
84
84
|
```sh
|
|
85
85
|
npm run typecheck
|
|
86
86
|
KIOKUKO_REQUIRE_DSH_NATIVE=1 KIOKUKO_DSH_PACKAGE_ROOT="$PWD/tests/fixtures/dsh-runtime/node_modules" node scripts/run-tests.mjs tests/dsh/integration/owned-native-lifecycle.test.ts
|
|
87
|
-
|
|
87
|
+
node scripts/run-tests.mjs tests/dsh/integration/owned-execution.test.ts
|
|
88
88
|
KIOKUKO_REQUIRE_LISP_RUNTIME=1 KIOKUKO_DSH_PACKAGE_ROOT="$PWD/tests/fixtures/dsh-runtime/node_modules" npm run test:lisp
|
|
89
89
|
npm run build
|
|
90
90
|
npm run test:skill-delivery
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Optional replay memory review
|
|
2
|
+
|
|
3
|
+
Memory lookup and saving never authorize tools or block ordinary work or task completion. Native permissions, current task evidence, explicit Stop, and durable user holds remain authoritative. Ordinary native work does not need a Goal or a memory-preparation call.
|
|
4
|
+
|
|
5
|
+
## Save a completed experience
|
|
6
|
+
|
|
7
|
+
1. Finish the actual task. For unowned native work, the completed final response triggers a question asking whether the request is finished and whether to organize its experience. Failed owned tasks may also offer review; cancelled work does not.
|
|
8
|
+
2. Choose whether to organize. Declining performs no replay extraction and creates no derived memory.
|
|
9
|
+
3. Review the full, ephemeral JSON proposal, including request, languages, commands, results, key points, tags, keywords, source references and coverage gaps.
|
|
10
|
+
4. Approve the exact shown revision to save it. Comments create a revised preview requiring another approval. Declining saves nothing. A new request, native Stop, changed task generation or shutdown invalidates pending approval.
|
|
11
|
+
|
|
12
|
+
Recorded tool payloads/results are read with exact call identities and source hashes. Missing or truncated evidence remains unknown. A successful process exit is an observed command result, not proof that the overall task is correct. Secrets are redacted on a best-effort basis; uncaptured reasoning is not reconstructed. Replay capture must be available for source-backed organization.
|
|
13
|
+
|
|
14
|
+
## Recall and maintenance
|
|
15
|
+
|
|
16
|
+
`memory_context` searches approved SQLite memories with request-derived keywords and optional tags. Automatic contextual lookup is bounded and advisory. Stored content is untrusted reference data, never executable instructions or permission.
|
|
17
|
+
|
|
18
|
+
`memory_review_status` only reconciles uncertain saves whose exact approval remains in this process's bounded in-memory cache. It cannot approve or retry a write. Restart does not revive an unapproved draft or an unresolved save.
|
|
19
|
+
|
|
20
|
+
`/kioku-memory explain ENTRY_ID` inspects indexed evidence. `/kioku-memory forget ENTRY_ID --revision N` removes the approved memory and its replay projection, including dependent indexed content; original native logs, external copies and backups remain. These native commands use the current project without requiring Goal enrollment.
|
|
21
|
+
|
|
22
|
+
## Legacy compatibility
|
|
23
|
+
|
|
24
|
+
Automatic observation, finalization, evolution, semantic index derivation and globalization no longer create new memories. Old configuration flags do not re-enable them. Legacy model-facing review/checkpoint calls are non-writing compatibility responses. Existing memories and historical proof records remain available for inspection; their missing or stale application status cannot veto native execution or completion.
|
|
25
|
+
|
|
26
|
+
The full preview is transported through native user questions. Very large previews may be difficult to inspect in a particular browser or TUI; presentation at the maximum proposal size is not verified by the source-level and native transport tests.
|
|
@@ -31,6 +31,8 @@ semanticCompaction:
|
|
|
31
31
|
|
|
32
32
|
Successful native `read`, `glob`, `grep` and foreground `bash` results containing a single plain text block larger than 10 KiB remain full for two completed native model calls after their result event. Failed attempts and interrupted assistant messages do not count. Before a later request, packing replaces the display with its original byte count, digest, stable session-bound handle and complete head/tail lines totaling at most 1 KiB. The envelope adds metadata beyond that excerpt budget. ObservationPack makes no Jev call.
|
|
33
33
|
|
|
34
|
+
If no complete source line fits that excerpt, the result stays full: no new pack or automatic read-back is created. Existing v1 packs with empty excerpts remain readable and can still be restored. This preserves source material rather than promising savings for oversized single lines.
|
|
35
|
+
|
|
34
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.
|
|
35
37
|
|
|
36
38
|
The auxiliary native tool is separate from Enno business operations:
|
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"artifacts": {
|
|
3
|
+
"README.md": {
|
|
4
|
+
"bytes": 10748,
|
|
5
|
+
"sha256": "4b5d7c785121c865945f6379de31565c6aa9218f9d4333519ce3d450e85d0c55"
|
|
6
|
+
},
|
|
7
|
+
"bin/kiokuko-guardrail": {
|
|
8
|
+
"bytes": 384672,
|
|
9
|
+
"sha256": "c60cb16daa7a536d876017da01815fce3719bae16fc6cd42ea74df04f3e53af4"
|
|
10
|
+
},
|
|
11
|
+
"protocols/coding-routine.lisp": {
|
|
12
|
+
"bytes": 948,
|
|
13
|
+
"sha256": "82b56af81d12a8cab8352b0825c913f00f73708b2339a9b567cc6f4d4e52da49"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"build_inputs": {
|
|
17
|
+
"cargo_sha256": "e951141cc55a6cd7b9876d187bd30a3720e6086b99413af95e3b8de1cdd72f14",
|
|
18
|
+
"cargo_version": "cargo 1.99.0 (5f94df478 2026-08-27)",
|
|
19
|
+
"command": [
|
|
20
|
+
"env",
|
|
21
|
+
"SOURCE_DATE_EPOCH=0",
|
|
22
|
+
"MACOSX_DEPLOYMENT_TARGET=13.0",
|
|
23
|
+
"LD_LIBRARY_PATH=RUST_TOOLCHAIN/lib",
|
|
24
|
+
"RUSTFLAGS=--remap-path-prefix=SOURCE=kiokuko-guardrail --remap-path-prefix=TEMP=build",
|
|
25
|
+
"LINKER=zig-0.17.0-cc-strip-target-aarch64-macos.13.0.0",
|
|
26
|
+
"cargo",
|
|
27
|
+
"build",
|
|
28
|
+
"--manifest-path",
|
|
29
|
+
"Cargo.toml",
|
|
30
|
+
"--locked",
|
|
31
|
+
"--offline",
|
|
32
|
+
"--release",
|
|
33
|
+
"--target",
|
|
34
|
+
"aarch64-apple-darwin"
|
|
35
|
+
],
|
|
36
|
+
"rustc_sha256": "f3834d26669b03f6855fa54bd2381443123e860167bc0c7a8dd137e5cf6e5e4f",
|
|
37
|
+
"rustc_version": "rustc 1.99.0 (b940084d7 2026-09-28)\nbinary: rustc\ncommit-hash: b940084d7eb6a299eb4bfeb8e34901bc051e7ac4\ncommit-date: 2026-09-28\nhost: x86_64-unknown-linux-gnu\nrelease: 1.99.0\nLLVM version: 23.1.1",
|
|
38
|
+
"source_date_epoch": 0,
|
|
39
|
+
"target": "aarch64-apple-darwin"
|
|
40
|
+
},
|
|
41
|
+
"package": "kiokuko-guardrail",
|
|
42
|
+
"schema": 1,
|
|
43
|
+
"scope": "Declared source/compiler/build inputs and artifact identity. This is not a signature, sandbox, or a claim of deterministic model inference or identical binaries across target operating systems.",
|
|
44
|
+
"source_sha256": "c835782d88444f03f9bce01106b75b9c071fa18543d51e7fcb754f403ba6deab",
|
|
45
|
+
"sources": {
|
|
46
|
+
"BOOTSTRAP.md": "b9d0db4c38561d6173e2396bfca979743c66fe64dc15f8c10931d5ae02800a95",
|
|
47
|
+
"Cargo.lock": "16f51b3ffc20349a69b4b580ea59d2354c9d496911c7e530509492d9b46ecb3a",
|
|
48
|
+
"Cargo.toml": "1cc0b8df18413f925841e6acddfe14a49f7e8dd4236660eb9d822f1ccdcc9d4e",
|
|
49
|
+
"README.md": "4b5d7c785121c865945f6379de31565c6aa9218f9d4333519ce3d450e85d0c55",
|
|
50
|
+
"examples/coding-routine.lisp": "82b56af81d12a8cab8352b0825c913f00f73708b2339a9b567cc6f4d4e52da49",
|
|
51
|
+
"scripts/package.py": "159b8cdda58b422a60aee95554eb0febc3b520d7ef5d5a4bac1cdd046a514e16",
|
|
52
|
+
"scripts/test.py": "d8ed547d0943f8b23838b146c6e1d31ad9004c525868d19a2fffafef67e6b6c9",
|
|
53
|
+
"src/digest.rs": "a46aa8ac0ba3f8e29e268a495723b6d49a4741399bb595c34a3d021dc295c800",
|
|
54
|
+
"src/eval.rs": "7742caeeac426783647363242d93845369c018b00528312573f1cdc668c22ec3",
|
|
55
|
+
"src/host.rs": "de9f34ad6ce8246e6f80cbf3d4f56bb07ed8043b17232135755a5e3ee5602cf5",
|
|
56
|
+
"src/lib.rs": "2f591de0e7520a313da9668491da106d904bb19ef2384c717e87cd06bac665a3",
|
|
57
|
+
"src/main.rs": "16a3a42d8338ca20e66173648c0a407b24724eeb1a4b3710c8a3b90b5aade10f",
|
|
58
|
+
"src/protocol.rs": "d9009f5977707141f3547902a07f2f2c5455e4b9516b01a9ba4eb22a82af2a39",
|
|
59
|
+
"src/reader.rs": "7bc1ff7aece72fc44ac43d5a207a3c8f2fd009eae41cb4b4dadb4eb9436d15f3",
|
|
60
|
+
"tests/cli.rs": "22955ba315007b4a18409b31439345eb84ce0a62b88658cf440d513b10811357",
|
|
61
|
+
"tests/digest.rs": "63a3a1b4963ef03260cae4ff9bfeed3596a445dc8df74ecc91b5750d3a6fa28d",
|
|
62
|
+
"tests/edge_contract.rs": "4f9c7b068db44e9beceb811ceac4a5e8d6cf7cda51eee5a2449f29ab0fa6ade9",
|
|
63
|
+
"tests/evaluator.rs": "a09c811494615b01e19ccef78491b8bbfee07fede8dcbee59f384fe59e145401",
|
|
64
|
+
"tests/packaging.rs": "61ae1bfed0d4f31748ce2af58953387045f4231370d46cb809f26e93aea1e033",
|
|
65
|
+
"tests/protocol.rs": "8f6b7ad5842f5b596efe8da01bba84f39fcd8d6426fde6932cb2a5cbb44d589f",
|
|
66
|
+
"tests/reader.rs": "249092f56768a6511dbb15825be55f4cf0105269cb9dba1d6f8169ff66d44ab5",
|
|
67
|
+
"tests/robustness.rs": "464c26addcf5188128d2e6eedd97cccccdb82ada0bc94a0648b77c8043118ba9"
|
|
68
|
+
},
|
|
69
|
+
"target": "aarch64-apple-darwin",
|
|
70
|
+
"version": "0.1.0"
|
|
71
|
+
}
|
|
Binary file
|