kiokuko-dsh 0.2.22 → 0.2.24
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/README.ja.md +1 -1
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/deep-thinker/current-model.d.ts.map +1 -1
- package/dist/deep-thinker/current-model.js +4 -0
- package/dist/deep-thinker/current-model.js.map +1 -1
- package/dist/dsh/answer-review/contracts.d.ts +1 -0
- package/dist/dsh/answer-review/contracts.d.ts.map +1 -1
- package/dist/dsh/answer-review/coordinator.js +3 -3
- package/dist/dsh/answer-review/coordinator.js.map +1 -1
- package/dist/dsh/lisp/compiled-cache.d.ts.map +1 -1
- package/dist/dsh/lisp/compiled-cache.js +4 -3
- package/dist/dsh/lisp/compiled-cache.js.map +1 -1
- package/dist/dsh/lisp/host-tool-dispatch.d.ts +19 -0
- package/dist/dsh/lisp/host-tool-dispatch.d.ts.map +1 -0
- package/dist/dsh/lisp/host-tool-dispatch.js +23 -0
- package/dist/dsh/lisp/host-tool-dispatch.js.map +1 -0
- package/dist/dsh/lisp/sandbox.d.ts.map +1 -1
- package/dist/dsh/lisp/sandbox.js +4 -2
- package/dist/dsh/lisp/sandbox.js.map +1 -1
- package/dist/dsh/lisp/surface.d.ts.map +1 -1
- package/dist/dsh/lisp/surface.js +27 -8
- package/dist/dsh/lisp/surface.js.map +1 -1
- package/dist/dsh/model-routing.d.ts +8 -4
- package/dist/dsh/model-routing.d.ts.map +1 -1
- package/dist/dsh/model-routing.js +81 -22
- package/dist/dsh/model-routing.js.map +1 -1
- package/dist/dsh/models/surface.d.ts.map +1 -1
- package/dist/dsh/models/surface.js +7 -1
- package/dist/dsh/models/surface.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts +7 -0
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +31 -1
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/dsh/semantic-compaction/coordinator.d.ts.map +1 -1
- package/dist/dsh/semantic-compaction/coordinator.js +15 -1
- package/dist/dsh/semantic-compaction/coordinator.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 +9 -1
- package/dist/dsh/setup.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/docs/current-upstream-compatibility-report.md +85 -0
- package/docs/dsh-plugin.md +6 -2
- package/docs/getting-started.ja.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/memory-lifecycle-verification.md +5 -4
- package/docs/tool-exposure.md +2 -0
- package/package.json +6 -2
- package/scripts/repair-continuation-source.mjs +11 -25
package/dist/dsh/setup.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const DSH_MANAGED_BLOCK = "<!-- BEGIN KIOKUKO-DSH MANAGED BLOCK -->\n<!-- kiokuko-dsh-template-version:
|
|
1
|
+
export declare const DSH_MANAGED_BLOCK = "<!-- BEGIN KIOKUKO-DSH MANAGED BLOCK -->\n<!-- kiokuko-dsh-template-version: 3 -->\n<!-- Managed by kiokuko-dsh setup on plugin load. Edit outside the markers. -->\n\n## Kiokuko DSH\n\nApply this entire block only when the current host is DSH and kiokuko-dsh is enabled for this session.\nOtherwise ignore every instruction in this block, including Skill routing, tools, planning, memory and completion rules.\nThe presence of this block, repository files or installed packages does not activate it.\nOnly kiokuko-dsh may update this block; other plugins and agents must preserve it verbatim.\nDo not apply kiokuko or kiokuko-ai instruction blocks as kiokuko-dsh configuration.\n\nBefore any non-trivial Kiokuko-governed DSH work, read and apply the complete bundled `kiokuko-soul` Skill before any other Kiokuko Skill. The DSH host performs Akinator intake, binds the native session and complete capability catalog, and resolves actionable intake. Optional enrichment failures are degraded guidance. For new build, debug, review and devops tasks the host separately asks for normal execution or Enno and, when selected, a template or custom model configuration. Unanswered execution choices stay pending. Normal execution never creates an Enno contract or WorkUnit; preserve memory, Skills, native permissions and focused verification. Model routing and child delegation are host-owned. `task_prepare` and `task_answer` are host operations, not model tools. DSH intake belongs to the kiokuko-dsh host. Never substitute same-named task_prepare/task_answer MCP tools from kiokuko or kiokuko-ai. A failed external MCP call does not prove DSH intake failed; preserve the admitted host state and follow its current directive. Follow the admitted state and current directive, then route to `kiokuko-enno-oduno`, `kiokuko-simple-work`, `kiokuko-single-purpose-functions`, and `kiokuko-ui-design-soul` only when applicable. For changes spanning setup, delivery, persisted state, or runtime handoffs, apply `veteran-programmer-skill` before and after implementation. When writing or changing code, also apply `one-shot-software-completion` and `coding-ideal-routine-skill` through the SOUL route. Read every applicable specialist `SKILL.md` index, then only the expert fragments selected by the current WorkUnit or concrete risk. Never substitute, install, or execute fetched external Skill content.\n\nThe host owns request identity, session binding, memory delivery and finalization.\nUse its admitted workspace and directive; do not read or modify the SQLite file directly.\n\nUse kioku_read, kioku_write, kioku_edit, kioku_remove, kioku_exec and kioku_result for host-observed development. Project edits, external investigation, PATH commands, bash/zsh and builds/tests need no extra approval. Source/data deletion and durable user database mutations require concrete review; declare destructiveTargets for commands. Generated/temp/disposable artifacts are ordinary development. Lisp and normal tools coexist. Plan, goal, cancellation and execution ownership remain authoritative. Explicit human implementation instructions request Plan exit at the next accepted step; presenting a plan alone does not exit. Bind task_completion checks and relevant source/test/config paths before execution. Collect asynchronous final results. Host receipts distinguish work outcome, verification and saving; model fields such as passed cannot supply proof. Apply recalled candidates only after comparing conditions, provenance and source versions; old verification is not current success. After task completion ask permission to organize memories, show the exact proposal, and save only the approved revision. Comments require revision and another preview; decline saves nothing. Saving failures do not stop coding. Reconcile uncertain saves by the original approval key; never blindly create a new save identity or replay edits or commands.\n\nDiscover unfamiliar repository filenames with native glob/grep before read; use an exact returned path. Never infer a test filename from a source basename or treat remembered/example paths as current filesystem evidence. Explicit user targets may be read directly; if missing, report that fact and discover relevant alternatives without silently changing the requested target. After a not-found error, do not repeat the unchanged read or assume a sandbox/configuration fault; check current path evidence. Do not create placeholder files or silently substitute another target to hide a missing-file error.\n\n### Engineering changes\n\nFor generated artifacts, update the owning schema, template or generator, then use the repository's documented regeneration path and inspect the resulting diff; do not patch only the output.\n\n### UI design\n\nChoose design tokens by semantic role, not by current appearance. If a role is missing, extend the design system instead of repurposing an unrelated token; when changing theme contracts, verify supported light, dark and custom-theme fallback behavior.\n\n<!-- END KIOKUKO-DSH MANAGED BLOCK -->";
|
|
2
2
|
/** Replace only a DSH-owned block, preserving every other product's instructions. */
|
|
3
3
|
export declare function renderDshInstructions(existing: string): string;
|
|
4
4
|
/** Preflight both destinations before writing. A read-only check reports the same plan. */
|
package/dist/dsh/setup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/dsh/setup.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/dsh/setup.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB,88JA6BvB,CAAA;AAEP,qFAAqF;AACrF,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAqB9D;AAYD,2FAA2F;AAC3F,wBAAsB,QAAQ,CAAC,OAAO,GAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;GAoBrG;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAUpD"}
|
package/dist/dsh/setup.js
CHANGED
|
@@ -12,7 +12,7 @@ const LEGACY_END = '<!-- END KIOKUKO MANAGED BLOCK -->';
|
|
|
12
12
|
// A generic Kiokuko marker alone does not establish DSH ownership.
|
|
13
13
|
const LEGACY_DSH_START = /<!-- BEGIN KIOKUKO MANAGED BLOCK -->(?=\r?\n<!-- kiokuko-dsh-template-version: \d+ -->)/u;
|
|
14
14
|
export const DSH_MANAGED_BLOCK = `${BEGIN}
|
|
15
|
-
<!-- kiokuko-dsh-template-version:
|
|
15
|
+
<!-- kiokuko-dsh-template-version: 3 -->
|
|
16
16
|
<!-- Managed by kiokuko-dsh setup on plugin load. Edit outside the markers. -->
|
|
17
17
|
|
|
18
18
|
## Kiokuko DSH
|
|
@@ -32,6 +32,14 @@ Use kioku_read, kioku_write, kioku_edit, kioku_remove, kioku_exec and kioku_resu
|
|
|
32
32
|
|
|
33
33
|
Discover unfamiliar repository filenames with native glob/grep before read; use an exact returned path. Never infer a test filename from a source basename or treat remembered/example paths as current filesystem evidence. Explicit user targets may be read directly; if missing, report that fact and discover relevant alternatives without silently changing the requested target. After a not-found error, do not repeat the unchanged read or assume a sandbox/configuration fault; check current path evidence. Do not create placeholder files or silently substitute another target to hide a missing-file error.
|
|
34
34
|
|
|
35
|
+
### Engineering changes
|
|
36
|
+
|
|
37
|
+
For generated artifacts, update the owning schema, template or generator, then use the repository's documented regeneration path and inspect the resulting diff; do not patch only the output.
|
|
38
|
+
|
|
39
|
+
### UI design
|
|
40
|
+
|
|
41
|
+
Choose design tokens by semantic role, not by current appearance. If a role is missing, extend the design system instead of repurposing an unrelated token; when changing theme contracts, verify supported light, dark and custom-theme fallback behavior.
|
|
42
|
+
|
|
35
43
|
${END}`;
|
|
36
44
|
/** Replace only a DSH-owned block, preserving every other product's instructions. */
|
|
37
45
|
export function renderDshInstructions(existing) {
|
package/dist/dsh/setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/dsh/setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAg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AI,CAAC,sDAAsD,IAAI,iDAAiD,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,+HAA+H,CAAC,CAAA;IACxT,CAAC;AACH,CAAC"}
|
package/dist/locale/en.json
CHANGED
package/dist/locale/ja.json
CHANGED
package/dist/locale/ko.json
CHANGED
package/dist/locale/zh-CN.json
CHANGED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Current upstream compatibility verification
|
|
2
|
+
|
|
3
|
+
Verified in the authorized cloud workspace on 2026-10-24. No commit, push, user Mac change, or official DSH source change was made.
|
|
4
|
+
|
|
5
|
+
## Source and artifact identity
|
|
6
|
+
|
|
7
|
+
- Plugin base: `askdkc/kiokuko-dsh`, `8c69b4afe69d7baf1ad6d0178a5c4c0388a0fb29`, plus the accompanying uncommitted changes.
|
|
8
|
+
- Official upstream: `https://github.com/deepseek-ai/deepseek-harness.git`, master resolved to `22ddee3792402c3e70ec5f86a63c3e3e895a2f60` (0.2.1-rc.3). The official working tree remained clean. This is evidence, not a newly hardcoded compatibility target.
|
|
9
|
+
- Node: v24.19.0. The CI matrix was not executed remotely.
|
|
10
|
+
- Built package: `kiokuko-dsh-0.2.22.tgz`, SHA-256 `0ec0660e89e4064a580218dad3136c9c931dfa8683ff8a355b748989c7918743`.
|
|
11
|
+
- Core source SHA-256: `src/dsh/lisp/surface.ts` = `039ce216063b7441373419b30b9718d6b57ccf639d2f8ec1369e2dabbb968ab4`; `src/dsh/lisp/host-tool-dispatch.ts` = `afab866f7da91e535f23dab628bc228a266e2c7ffa579e43c69f6cf9a29f08ae`; `src/dsh/models/surface.ts` = `748bc51240434735209dbcab81a5d2c222b3f3d942b9ad14a2b9694c9271e39b`.
|
|
12
|
+
- The three corresponding current dist modules were byte-identical to the extracted tested package at final verification. The subsequent pinning re-audit also corrected the shipped repair catalog resolver; the final repack status is recorded below. The earlier archive remains separate evidence, not proof for the later package.
|
|
13
|
+
|
|
14
|
+
## Changes and boundaries
|
|
15
|
+
|
|
16
|
+
Current DSH owns executor selection. Lisp preserves native/PTC selection and the executor-owned request schema rather than calling removed `presentAs` or installing an irreversible executor override. Host-owned nested calls use the exported official execution pipeline, preserving parent/root identity, guards, cancellation and task authority. Current model selection uses `agent.model.select`; legacy behavior remains capability-selected.
|
|
17
|
+
|
|
18
|
+
Protected native execution retains the scoped restrictions and persistent guard, including unload/reload boundaries. Protected PTC `run_code` is explicitly rejected before interpreter dispatch, with an actionable native-executor requirement. This is not support for running protected Lisp programs through PTC. Tests use a sentinel PTC interpreter to prove transport preservation and zero execution on denial, not a real PTC process interpreter.
|
|
19
|
+
|
|
20
|
+
CI now resolves official master once, records its exact SHA, builds that source, and stages the same official graph in both fixture and root module resolution. Mismatched identities and stale fallback packages fail. The historical fixture manifest/lock and release evidence remain reproducibility data, not a fixed compatibility gate. Schema tests use actual schema/constructor exports rather than release prefixes.
|
|
21
|
+
|
|
22
|
+
## Executed checks
|
|
23
|
+
|
|
24
|
+
The reported original missing `presentAs` failure was reproduced before repair. Reverting current nested dispatch to the old single-call entry failed against actual batch execution; removing protected guards failed the denial/unload regressions. These were disposable test mutations and were restored.
|
|
25
|
+
|
|
26
|
+
Commands were run from the plugin checkout, with `TMPDIR` outside the checkout for production regressions. `KIOKUKO_DSH_PACKAGE_ROOT` pointed to `tests/fixtures/dsh-runtime/node_modules`, staged from the verified official checkout. `KIOKUKO_EXPECTED_DSH_SHA` was the resolved SHA above.
|
|
27
|
+
|
|
28
|
+
- `npm run typecheck`: passed against current official declarations, including final harness edits.
|
|
29
|
+
- `npm run build` and `npm pack --ignore-scripts`: passed. The official monolithic build had exceeded cloud memory; required official bundles/declarations were subsequently built selectively without source changes.
|
|
30
|
+
- `KIOKUKO_LISP_BUILT_ROOT=<extracted package>/dist node --import tsx --test tests/dsh/integration/lisp/current-executor.test.ts`: 8 passed, 0 failed, 0 skipped. Actual official native/PTC executors, nested pipeline policies/cancellation, protected boundaries, task authority, and actual new-session AgentLoop turns in development and protected modes.
|
|
31
|
+
- `node scripts/run-tests.mjs tests/dsh/unit/lisp tests/dsh/unit/native-execution-ownership.test.ts`: 267 passed, 0 failed, 0 skipped.
|
|
32
|
+
- `node --import tsx --test tests/dsh/unit/kiokuko-models-service.test.ts`: 25 passed, 0 failed, 0 skipped.
|
|
33
|
+
- `node --test scripts/verification-contract.test.mjs`: 64 passed (including seven optional current-source graph/configuration tests). Native CI runner tests: 8 passed. Staging tests: 2 passed, including stale-package removal and origin/revision identity checks. Deliberately stale source-selection/staging variants failed as expected.
|
|
34
|
+
- Ten Lisp integration files (`native-surface`, `hot-native-surface`, `guardrail-native-policy`, `p0-native-guard`, `attachment-surface`, `plan-surface`, `read-surface`, `owned-development`, `conversation-intake`, `code-intelligence-native`) with task-local SBCL: 24 tests, 19 passed, 3 failed, 2 skipped. The three protected-runtime failures all report `bwrap: NETLINK_ROUTE ... Operation not permitted`, including the hot compile failure payload. No sandbox restriction was weakened or test skipped to hide these failures. Conversation intake passed all five modes with actual native Bash approval/process dispatch. Two code-provider variants skipped because the separately built optional V1 provider fixture was absent.
|
|
35
|
+
- Both packed plugins were installed into a real official CLI host. Authenticated HTTP create/bind/commit, actual `enable-task`, an actual model-emitted `lisp_status` tool call with `isError:false` and `TASK_READY`, completion of that same model turn, and identity/history after restart passed. The LLM was scripted, not a paid external provider. Browser clicking was not validated: the cloud browser process was blocked by environment IPC restrictions.
|
|
36
|
+
- Harness evidence identity was checked against the actual staged graph: current installed version/SHA reported, deliberately wrong expected SHA rejected. This check does not claim execution of all harness scenarios.
|
|
37
|
+
- `git diff --check`: passed. Final source/artifact hashes were rechecked.
|
|
38
|
+
|
|
39
|
+
The main CI intentionally excludes the optional code-provider suite. The separate `code-intelligence.yml` workflow now resolves current official master using the same resolver, builds its exact SHA and stages the provider graph after dependency installation. Source tests, packed-profile installation, both packed consumers, and benchmark validate that selected source graph. Current packed installation does not reconstruct unpublished source from registry version labels or inject the historical vendor CLI. The independently reviewed provider protocol baseline is preserved. Seven synthetic/configuration regressions passed, including mismatched and same-version stale graph rejection. Actual optional-provider runtime acceptance remains unverified because its independently built fixture was not installed in this cloud run.
|
|
40
|
+
|
|
41
|
+
## Evidence and remaining gaps
|
|
42
|
+
|
|
43
|
+
Task-local logs and hash manifests are in `.artifacts/current-upstream-fix/` and `.artifacts/current-upstream-ci/`; the report above preserves meaningful results independently of those ignored temporary files. The sibling combined HTTP evidence is under `dsh-chat-current-fix-20261024/.test-tmp/dsh-regular-chat-integration-8fWVwM/http-chat-evidence.json` in the same cloud task.
|
|
44
|
+
|
|
45
|
+
Full GitHub/multiplatform CI, the optional built V1 provider integration, protected SBCL execution in an environment permitting its required bubblewrap isolation, and browser interaction remain unverified. History-format/semantic-compaction test changes were typechecked and source-reviewed, not claimed as full native-suite passes. No user installation or live deployment was changed. The workspace's optional evidence-guard executable was absent; no automated guard pass is claimed.
|
|
46
|
+
|
|
47
|
+
## Final pinning re-audit and local CI reproduction
|
|
48
|
+
|
|
49
|
+
The later full pinning audit found default command paths that still accepted the historical locked fixture when no expected SHA was supplied. These defaults now require a coherent staged official-source identity. Historical reproducibility is a separate explicit `KIOKUKO_DSH_RUNTIME_MODE=historical` mode and cannot masquerade as a current-SHA run. Shared preflight covers native CI, optional provider, standalone harness, lifecycle and browser commands. Multilingual installation instructions no longer describe old alpha release names as current compatibility requirements. Release evidence, language-engine minimums, schema/protocol versions and historical locks remain intact.
|
|
50
|
+
|
|
51
|
+
For a local current-runtime verification subset on an authorized local machine, use a separate **clean official checkout**, not an edited host checkout. These commands are instructions, not evidence that local execution occurred. Resolve master once and retain the returned SHA for the whole run:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
npm ci
|
|
55
|
+
npm ci --prefix tests/fixtures/dsh-runtime
|
|
56
|
+
export KIOKUKO_EXPECTED_DSH_SHA=$(node scripts/resolve-dsh-upstream.mjs)
|
|
57
|
+
# In a separate official checkout, check out that exact SHA, then run:
|
|
58
|
+
# pnpm install --frozen-lockfile
|
|
59
|
+
# pnpm run build:artifacts
|
|
60
|
+
node scripts/stage-dsh-upstream.mjs /absolute/path/to/clean-official-dsh tests/fixtures/dsh-runtime "$KIOKUKO_EXPECTED_DSH_SHA" .
|
|
61
|
+
node --test scripts/verification-contract.test.mjs
|
|
62
|
+
node --test scripts/stage-dsh-upstream.test.mjs
|
|
63
|
+
npm run typecheck
|
|
64
|
+
npm run build
|
|
65
|
+
npm run test:ci:unit
|
|
66
|
+
npm run test:ci:integration
|
|
67
|
+
npm run test:ci:lisp
|
|
68
|
+
npm run test:ci:e2e
|
|
69
|
+
npm run test:ci:metadata
|
|
70
|
+
git diff --check
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Do not set the historical runtime mode for a current compatibility run. Native Lisp requires SBCL and the operating system's supported isolation facilities; the cloud's bubblewrap failures cannot predict a local macOS result. Browser lanes additionally require the supported Playwright browser installation and a working browser process: `npm run test:ci:approval:web`, `npm run test:ci:coding:web`, and `npm run test:ci:shortcuts:web`. They are heavier than the narrow regressions above. These local commands are not the complete hosted CI selection, lane partition, microjudge targets, artifact aggregation or platform matrix; hosted CI cannot be claimed without executing its workflow.
|
|
74
|
+
|
|
75
|
+
Optional code-provider acceptance additionally prepares a separate reviewed provider checkout and dependencies. After staging current official DSH, use `node scripts/prepare-code-provider.mjs`, `npm run test:code-intelligence`, `npm run test:code-intelligence:packed`, and `npm run test:code-intelligence:benchmark`. These are optional heavy checks, not substitutes for ordinary plugin acceptance. No local or remote CI success is asserted until those commands actually complete.
|
|
76
|
+
|
|
77
|
+
### Re-audit execution status
|
|
78
|
+
|
|
79
|
+
The production repair resolver now treats an explicitly supplied missing or broken package root as an error and never silently falls back to the installed package or historical test fixture. With no override it resolves the installed production catalog, without requiring Git staging metadata. New catalog-selection regressions passed 3/3; the pre-fix resolver failed the explicit-root and implicit-fixture counterexamples (with only a test export added). The actual current catalog repair integration passed 8/8. The typesafe-command release-label branch was replaced by the actual credential writability contract.
|
|
80
|
+
|
|
81
|
+
Final independent re-audit found no remaining arbitrary DSH release predicate in the inspected current source/scripts/tests, and no remaining identified silent historical fallback in current-runtime entrypoints. This excludes intentionally retained historical locks, protocol/schema identities and synthetic evaluations. Independent selection/staging checks passed 12/12 with no skips; this is not proof of full native or hosted CI success.
|
|
82
|
+
|
|
83
|
+
The final repair-script change is **not covered by the earlier packed HTTP artifact**. A new build reached final output generation, but final repack was blocked by the environment's authorization review; the one evidence-based retry also produced no archive (its recorded npm failure was an unavailable default cache directory). No further packaging workaround was attempted. Therefore final source transfer may proceed independently, but latest-archive packed/HTTP acceptance remains pending. The earlier archive/hash and combined HTTP result above apply only to their earlier source state.
|
|
84
|
+
|
|
85
|
+
The last re-audit checks separately confirmed default-selection regressions 10/10, native planner 9/9 and actual-current typesafe command 1/1. The later full-contract run stopped without a terminal summary; its chained typecheck did not start. Earlier 64/64 and typecheck success above must not be relabeled as verification of these final re-audit edits. The catalog regression was subsequently included in the contract aggregator; that final aggregation has not run.
|
package/docs/dsh-plugin.md
CHANGED
|
@@ -11,7 +11,11 @@ not remove files or dependencies from an installed full package.
|
|
|
11
11
|
|
|
12
12
|
## Compatibility
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Compatibility depends on the native APIs exercised by the disposable-profile tests, not a package-version prefix. CI resolves official DSH master once, builds that exact revision and records it with the test evidence. Historical release records and locked fixtures remain reproducibility data, not proof of current-upstream support.
|
|
15
|
+
|
|
16
|
+
On hosts exposing the batch executor API, development Lisp preserves the Agent’s selected native or PTC executor. Host-owned nested calls use DSH’s exported invocation pipeline, retaining scoped policy, cancellation settlement and host-only task authority. They are not submitted as model batches.
|
|
17
|
+
|
|
18
|
+
Protected Lisp on current DSH retains the selected executor and enforces its scoped native-tool restrictions and monotonic guards. Native execution supports protected Lisp; the reserved PTC `run_code` transport is explicitly denied before its program runs. To use protected Lisp, select native execution in the DSH profile. Disabling or unloading Lisp never installs, replaces or disposes the selected executor, so it cannot leave a stale executor tombstone; the protected fence still survives plugin unload. Existing hosts that provide reversible `presentAs` retain the prior presentation behavior.
|
|
15
19
|
|
|
16
20
|
CI uses the canonical DSH fixture for native history, routing and packed Web lifecycle coverage. Historical source-repair CLI tests use the current catalog's historical codecs for v0/v3 fixtures. Local tests do not prove an npm `--latest` update or the user's running profile. The E2E runner defaults to the manifest's compatibility target; `KIOKUKO_EXPECTED_DSH_VERSION` selects an explicit fixture version. `KIOKUKO_DSH_CLI_ONLY=1` runs only the packed Web lifecycle and requires `KIOKUKO_REQUIRE_DSH_CLI=1`.
|
|
17
21
|
|
|
@@ -382,7 +386,7 @@ limit. The package is therefore not represented as a small, auto-approved
|
|
|
382
386
|
plugin.
|
|
383
387
|
|
|
384
388
|
The manifest declares MIT licensing, the canonical GitHub repository, Node.js
|
|
385
|
-
`>=24.16.0`, DSH
|
|
389
|
+
`>=24.16.0`, the DSH capabilities described above, and the `web` and `dsh-cli` profiles.
|
|
386
390
|
An untested release is not rejected merely for its version label. A matching
|
|
387
391
|
disposable-profile run supplies behavior evidence; `headless` remains unverified. The legacy `dsh-tui` profile declaration is retained for existing installations.
|
|
388
392
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## インストール
|
|
7
7
|
|
|
8
|
-
DeepSeek Harness
|
|
8
|
+
公式 DeepSeek Harness の現在のソースと Node.js 24.16.0 以上を使用します。DSH の版名による固定判定はせず、実際のホスト API と解決したソース revision に対する隔離試験で互換性を確認します。[検証範囲](current-upstream-compatibility-report.md)を参照してください。
|
|
9
9
|
|
|
10
10
|
DeepSeek Harnessのcheckoutから導入します:
|
|
11
11
|
|
package/docs/getting-started.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
8
|
-
DeepSeek Harness
|
|
8
|
+
Use current official DeepSeek Harness and Node.js 24.16.0 or newer. Compatibility is checked against actual host APIs and the resolved upstream source revision, not a fixed DSH release label. See [verified scope](current-upstream-compatibility-report.md).
|
|
9
9
|
|
|
10
10
|
From a DeepSeek Harness checkout:
|
|
11
11
|
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
|
|
9
9
|
## 再現手順
|
|
10
10
|
|
|
11
|
-
Node.js
|
|
11
|
+
Node.js と公式 DSH の現在のソースを用意する。`node scripts/resolve-dsh-upstream.mjs` で一度解決した SHA を公式 checkout に適用し、その checkout の frozen install と `pnpm run build:artifacts` を完了させる。以下のパスはその実体へ置き換える。SHA は互換対象の固定値ではなく、この実行で検証するソースの識別子である。
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
export
|
|
15
|
-
|
|
14
|
+
export KIOKUKO_EXPECTED_DSH_SHA=$(git -C /absolute/path/to/official-dsh rev-parse HEAD)
|
|
15
|
+
node scripts/stage-dsh-upstream.mjs /absolute/path/to/official-dsh tests/fixtures/dsh-runtime "$KIOKUKO_EXPECTED_DSH_SHA" .
|
|
16
|
+
export DSH_BIN="$PWD/tests/fixtures/dsh-runtime/node_modules/.bin/dsh"
|
|
17
|
+
export KIOKUKO_DSH_PACKAGE_ROOT="$PWD/tests/fixtures/dsh-runtime/node_modules"
|
|
16
18
|
export KIOKUKO_REQUIRE_DSH_NATIVE=1
|
|
17
19
|
export KIOKUKO_REQUIRE_DSH_CLI=1
|
|
18
|
-
export KIOKUKO_EXPECTED_DSH_VERSION=0.2.1-alpha.2
|
|
19
20
|
export KIOKUKO_REPEATED_REPORT_DIR=/tmp/kiokuko-lifecycle-results
|
|
20
21
|
export KIOKUKO_DSH_EVIDENCE_PATH=/tmp/kiokuko-package-lifecycle.json
|
|
21
22
|
|
package/docs/tool-exposure.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Automatic native tool exposure
|
|
2
2
|
|
|
3
|
+
On hosts where the executor supplies schemas after the prompt waterfall, Kiokuko preserves the provider's admitted tools and reports `unsupported_runtime` for presentation reduction. `phase`, `lean`, and `auto` do not claim tool or description savings on that API. Native permissions, task guards, and scoped protocol tools remain authoritative; no older runtime is selected.
|
|
4
|
+
|
|
3
5
|
`toolExposure.mode` controls only which Kiokuko-owned definitions appear in native model requests. The default is `auto`. On all DSH native provider connections, normal chat, research, analysis, writing and review omit the nine Kiokuko model tools. Normal build, debug and devops use lean descriptions with the current phase and `nextAction` policy. An active Enno selection takes precedence over task type and uses that same policy. Native and external tools remain available. Configure explicitly with:
|
|
4
6
|
|
|
5
7
|
```yaml
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kiokuko-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Kiokuko plugin for DeepSeek Harness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -290,7 +290,8 @@
|
|
|
290
290
|
"@deepseek-ai/dsh-llm-pi-ai": "*",
|
|
291
291
|
"@huggingface/hub": "^2.16.1",
|
|
292
292
|
"@huggingface/transformers": "^4.2.0",
|
|
293
|
-
"sqlite-vec": "^0.1.9"
|
|
293
|
+
"sqlite-vec": "^0.1.9",
|
|
294
|
+
"@deepseek-ai/dsh-tools": "*"
|
|
294
295
|
},
|
|
295
296
|
"peerDependenciesMeta": {
|
|
296
297
|
"@huggingface/hub": {
|
|
@@ -316,6 +317,9 @@
|
|
|
316
317
|
},
|
|
317
318
|
"@ai-sdk/provider": {
|
|
318
319
|
"optional": true
|
|
320
|
+
},
|
|
321
|
+
"@deepseek-ai/dsh-tools": {
|
|
322
|
+
"optional": true
|
|
319
323
|
}
|
|
320
324
|
},
|
|
321
325
|
"devDependencies": {
|
|
@@ -55,19 +55,15 @@ function catalogCandidates(configured) {
|
|
|
55
55
|
)
|
|
56
56
|
return [...new Set(candidates)]
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
if (packageRoot !== undefined) {
|
|
60
|
-
candidates.push(join(resolve(packageRoot), '@deepseek-ai/dsh-session-format-catalog/lib/index.js'))
|
|
61
|
-
}
|
|
62
|
-
const repositoryRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..')
|
|
63
|
-
candidates.push(resolve(repositoryRoot, 'tests/fixtures/dsh-runtime/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/index.js'))
|
|
64
|
-
return [...new Set(candidates)]
|
|
58
|
+
return []
|
|
65
59
|
}
|
|
66
60
|
|
|
67
|
-
async function loadCatalog(configured) {
|
|
68
|
-
const errors = []
|
|
61
|
+
export async function loadCatalog(configured) {
|
|
69
62
|
// An explicit catalog must not be silently replaced by another installation.
|
|
70
63
|
const explicit = configured ?? process.env.KIOKUKO_SESSION_FORMAT_CATALOG
|
|
64
|
+
?? (process.env.KIOKUKO_DSH_PACKAGE_ROOT !== undefined
|
|
65
|
+
? join(resolve(process.env.KIOKUKO_DSH_PACKAGE_ROOT), '@deepseek-ai/dsh-session-format-catalog/lib/index.js')
|
|
66
|
+
: undefined)
|
|
71
67
|
if (explicit !== undefined) {
|
|
72
68
|
const candidate = catalogCandidates(explicit).find(path => existsSync(path))
|
|
73
69
|
if (!candidate) throw new Error('configured session-format catalog does not exist')
|
|
@@ -75,25 +71,15 @@ async function loadCatalog(configured) {
|
|
|
75
71
|
if (!module.sessionFormatCatalog) throw new Error('catalog module has no sessionFormatCatalog export')
|
|
76
72
|
return { catalog: module.sessionFormatCatalog, createCatalogWithChildren: module.createSessionFormatCatalogWithChildren }
|
|
77
73
|
}
|
|
74
|
+
// Production repair resolves the installed host package only. A test fixture
|
|
75
|
+
// is never an implicit substitute for a missing or broken host installation.
|
|
78
76
|
try {
|
|
79
77
|
const module = await import('@deepseek-ai/dsh-session-format-catalog')
|
|
80
|
-
if (module.sessionFormatCatalog)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
try {
|
|
85
|
-
const module = await import(pathToFileURL(candidate).href)
|
|
86
|
-
if (module.sessionFormatCatalog !== undefined) return { catalog: module.sessionFormatCatalog, createCatalogWithChildren: module.createSessionFormatCatalogWithChildren }
|
|
87
|
-
errors.push(new Error(`catalog module has no sessionFormatCatalog export: ${candidate}`))
|
|
88
|
-
} catch (error) {
|
|
89
|
-
errors.push(error)
|
|
90
|
-
}
|
|
78
|
+
if (!module.sessionFormatCatalog) throw new Error('catalog module has no sessionFormatCatalog export')
|
|
79
|
+
return { catalog: module.sessionFormatCatalog, createCatalogWithChildren: module.createSessionFormatCatalogWithChildren }
|
|
80
|
+
} catch (cause) {
|
|
81
|
+
throw new Error('Unable to load installed @deepseek-ai/dsh-session-format-catalog; set KIOKUKO_SESSION_FORMAT_CATALOG or --catalog to the intended built catalog module', { cause })
|
|
91
82
|
}
|
|
92
|
-
const reason = errors.at(-1)
|
|
93
|
-
throw new Error(
|
|
94
|
-
'Unable to load @deepseek-ai/dsh-session-format-catalog; set KIOKUKO_SESSION_FORMAT_CATALOG or --catalog to a built catalog module',
|
|
95
|
-
{ cause: reason },
|
|
96
|
-
)
|
|
97
83
|
}
|
|
98
84
|
|
|
99
85
|
function requireRegularFile(path, label) {
|