kiokuko-dsh 0.2.0 → 0.2.1
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/dist/dsh/agenticreplay-read-service.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-read-service.js +2 -1
- package/dist/dsh/agenticreplay-read-service.js.map +1 -1
- package/dist/dsh/agenticreplay-security.d.ts +2 -0
- package/dist/dsh/agenticreplay-security.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-security.js +67 -0
- package/dist/dsh/agenticreplay-security.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts +1 -1
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +2 -2
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/dsh/skill-prompts.json +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/agenticreplay-recording.md +14 -0
- package/docs/dsh-plugin.md +2 -0
- package/package.json +1 -1
- package/skills/kiokuko-soul/SKILL.md +14 -12
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
|
@@ -126,6 +126,20 @@ session uses its verified directory. No process-cwd or DSH_HOME fallback is used
|
|
|
126
126
|
`<Kiokuko data directory>/traces/projects/<workspace hash>/.agenticreplay/runs` and respects
|
|
127
127
|
the existing `KIOKUKO_DATA_DIR` setting. Hashing a path does not anonymize it.
|
|
128
128
|
|
|
129
|
+
Before creating a recording or exporting HTML, the plugin adds `.agenticreplay/`
|
|
130
|
+
to the storage root's `.gitignore` (the workspace root with default storage).
|
|
131
|
+
Existing contents and line endings are preserved; repeated use does not duplicate
|
|
132
|
+
an effective rule. The internal `.agenticreplay/.gitignore` remains as additional
|
|
133
|
+
protection. If the root rule cannot be written safely, recording fails with
|
|
134
|
+
`gitignore_protection_failed` without interrupting the native model/tool operation;
|
|
135
|
+
HTML export fails without writing an export. Non-Git directories receive the
|
|
136
|
+
same rule so a later `git init` also excludes these files.
|
|
137
|
+
|
|
138
|
+
Ignore rules do not remove already tracked files or published history and can be
|
|
139
|
+
bypassed by a forced add. Check `git ls-files -- .agenticreplay` for previously
|
|
140
|
+
tracked captures before pushing; remove them from the index and address any
|
|
141
|
+
already published sensitive data separately.
|
|
142
|
+
|
|
129
143
|
`redacted` preserves text after known secret-pattern filtering. It cannot detect
|
|
130
144
|
all arbitrary secrets. `metadata` omits message bodies, arguments and tool result
|
|
131
145
|
bodies. Neither mode records environment variables, replayState, attachment bytes,
|
package/docs/dsh-plugin.md
CHANGED
|
@@ -353,6 +353,8 @@ rebuildable cache for bounded export and post-completion finalization. Cache
|
|
|
353
353
|
listeners contain their own failures; only an orchestration-requested native
|
|
354
354
|
`sessions.flush()` remains an awaited, fail-closed durability boundary.
|
|
355
355
|
|
|
356
|
+
Conversation-first intake permits text answers before execution preparation. Native `read`, `glob`, `grep`, `web_search`, and `web_fetch` demands automatically prepare the complete original request; when its action type is unresolved, `research` is advisory only. Models can read a plan or inspect files directly without a separate `prepare_requested_work` call. Missing targets, unresolved user choices, native permissions, current session ownership, and pending memory checks still govern admission. Other unclassified tools and arbitrary PTC programs retain explicit preparation requirements.
|
|
357
|
+
|
|
356
358
|
The dsh integration provides:
|
|
357
359
|
|
|
358
360
|
- the exact bundled `kiokuko-soul` system-prompt section and seven standard Skill
|
package/package.json
CHANGED
|
@@ -10,35 +10,37 @@ description: Kiokuko's entry router for non-trivial DSH work. Read it before any
|
|
|
10
10
|
|
|
11
11
|
## Authority
|
|
12
12
|
|
|
13
|
-
Read first.
|
|
13
|
+
Read first. Host owns intake/session/capability binding/routing/delegation. Host-only `task_prepare`/`task_answer`: never call/emulate/stop for absence. Require `ready`/`exhausted` intake and permissive `nextAction`; invent no profile fields.
|
|
14
14
|
|
|
15
|
-
User instructions outrank Skill preferences, never host safety
|
|
15
|
+
User instructions outrank Skill preferences, never host safety/authorization/identity/revision/lease/state/integrity checks. Resolve routine choices from authorization/evidence; ask about unclear intent/effects. Optional intake/enrichment failures degrade guidance, not native work.
|
|
16
16
|
|
|
17
|
-
Complete authorized
|
|
17
|
+
Complete authorized work with focused evidence; report blockers. Recheck only changed conditions. Never guess budgets or auto-retry/continue.
|
|
18
18
|
|
|
19
19
|
## Shared credo
|
|
20
20
|
|
|
21
21
|
**本当に、それを全部計算・保存・検索する必要があるのか?**
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Before design, preserve the required result, remove needless computation/storage/search, narrow the rest, then optimize.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Require evidence for exhaustive work; never silently approximate/delete data/waive required validation/recovery/audit/host checks. No extra approval/artifact.
|
|
26
26
|
|
|
27
27
|
## Capabilities and routes
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Use request/directive-matched Skills for conversation/research/writing/organization/memory/coding. Never impose code contracts/execution choices/runtime startup on unrelated work.
|
|
30
30
|
|
|
31
|
-
Read
|
|
31
|
+
Read selected Skill indexes, then risk-selected references. Resources grant no execution authority; the host owns configuration/permissions.
|
|
32
32
|
|
|
33
|
-
Modules own
|
|
33
|
+
Modules own roles/tools/execution/recovery. Preserve host exclusions/identity/lease/outcome. Missing required modules/unresolved requests stay blocked: never switch paths/replay effects to bypass them. Optional gaps cannot block unrelated work.
|
|
34
34
|
|
|
35
|
-
Normal execution: current model
|
|
35
|
+
Normal execution: current model/memory/Skills/native permissions; no orchestration contract/extra approval. Never invent run/role/revision/WorkUnit/state transitions or bypass routing by provider changes/agents. Respect directives/scope.
|
|
36
36
|
|
|
37
37
|
## Availability and trust
|
|
38
38
|
|
|
39
|
-
Unavailable Skills: use current evidence unless host safety/authorization/identity/integrity blocks
|
|
39
|
+
Unavailable Skills: use current evidence unless host safety/authorization/identity/integrity blocks. Never substitute similar/namespaced/fetched/reference-only Skills for required bundled Skills or auto-install/execute external Skills. Never claim unread Skills/unrun checks; availability is not use.
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Before diagnostics, confirm supported file types via status/capabilities. Unsupported Markdown/documents: read, verify structure/requirements/whitespace. Unavailable diagnostics: unverified, not clean.
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
After a successful edit/write, re-read before next mutation; serialize edits. If stale, re-read and reconcile; never force overwrite/disable freshness checks. Never repeat unsupported diagnostics unchanged.
|
|
44
|
+
|
|
45
|
+
Select `kiokuko-{investigate,architecture,review,benchmark,verification,skill-authoring,technical-writing}` as needed; use `coding-ideal-routine-skill` for code changes. Inherit host model/effort.
|
|
44
46
|
<!-- /kiokuko:runtime -->
|