doukui 0.5.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -67
- package/bin/commands/help.js +0 -25
- package/bin/doukui.js +1 -3
- package/package.json +2 -3
- package/plugins/core/skill-agent-dispatcher/monitoring-reference.md +261 -0
- package/plugins/core/skill-agent-dispatcher/recovery-reference.md +91 -0
- package/plugins/core/skill-agent-dispatcher/skill.md +39 -299
- package/plugins/core/skill-agentic-loop/mirror-rules.md +82 -23
- package/plugins/core/skill-agentic-loop/plugin.json +2 -7
- package/plugins/core/skill-agentic-loop/skill.md +49 -77
- package/plugins/core/skill-completion-report/skill.md +7 -1
- package/plugins/core/skill-doukui-plan/skill.md +3 -0
- package/plugins/plugin-registry.json +0 -12
- package/plugins/runtime/plan-reader.js +33 -18
- package/plugins/runtime/text-tokenize.js +1 -2
- package/templates/harness-config.yaml +0 -99
- package/bin/commands/loop-server.js +0 -357
- package/bin/commands/loop.js +0 -1510
- package/plugins/contracts/checkresult-schema.json +0 -75
- package/plugins/core/provider-loop-engine/index.js +0 -1411
- package/plugins/core/provider-loop-engine/plugin.json +0 -15
- package/plugins/runtime/checkresult-validator.js +0 -131
- package/plugins/runtime/context-window.js +0 -81
- package/plugins/runtime/executor-claude.js +0 -604
- package/plugins/runtime/executor-default.js +0 -448
- package/plugins/runtime/executor-local.js +0 -178
- package/plugins/runtime/executor-sdk.js +0 -415
- package/plugins/runtime/loop-actuator.js +0 -292
- package/plugins/runtime/loop-coordinator.js +0 -347
- package/plugins/runtime/loop-defaults.js +0 -29
- package/plugins/runtime/loop-dispatch-batch.js +0 -247
- package/plugins/runtime/loop-executor.js +0 -120
- package/plugins/runtime/loop-report.js +0 -395
- package/plugins/runtime/loop-server-core.js +0 -750
- package/plugins/runtime/loop-snapshot.js +0 -581
- package/plugins/runtime/loop-trace.js +0 -242
- package/plugins/runtime/loop-worktree.js +0 -404
- package/plugins/runtime/multi-window-coordinator.js +0 -560
- package/plugins/runtime/objective-verifier.js +0 -136
- package/plugins/runtime/plan-lint.js +0 -106
- package/plugins/runtime/provider-failover.js +0 -114
- package/plugins/runtime/provider-resolver.js +0 -342
- package/plugins/runtime/reflection-evaluator.js +0 -545
- package/plugins/runtime/self-rescue-ladder.js +0 -51
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "doukui/checkresult-schema.json",
|
|
4
|
-
"title": "CheckResult Machine-Readable Block (Phase D-1)",
|
|
5
|
-
"description": "skill-checklist 产出的 json:machine-readable 围栏块契约(对齐 docs/design/agentic-loop-design.md §5.4.2/5.4.3)。validator 硬改判仅针对数值谎报(summary 不一致);结构瑕疵软告警。",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["wpId", "passed", "summary", "failedItems"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"wpId": { "type": "string", "minLength": 1 },
|
|
10
|
-
"checkedAt": { "type": "string" },
|
|
11
|
-
"passed": { "type": "boolean" },
|
|
12
|
-
"summary": {
|
|
13
|
-
"type": "object",
|
|
14
|
-
"required": ["total", "passed", "failed"],
|
|
15
|
-
"properties": {
|
|
16
|
-
"total": { "type": "integer", "minimum": 0 },
|
|
17
|
-
"passed": { "type": "integer", "minimum": 0 },
|
|
18
|
-
"failed": { "type": "integer", "minimum": 0 }
|
|
19
|
-
},
|
|
20
|
-
"additionalProperties": true
|
|
21
|
-
},
|
|
22
|
-
"categories": {
|
|
23
|
-
"type": "array",
|
|
24
|
-
"items": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"required": ["name", "passed", "items"],
|
|
27
|
-
"properties": {
|
|
28
|
-
"name": { "type": "string", "minLength": 1 },
|
|
29
|
-
"passed": { "type": "boolean" },
|
|
30
|
-
"items": {
|
|
31
|
-
"type": "array",
|
|
32
|
-
"items": {
|
|
33
|
-
"type": "object",
|
|
34
|
-
"required": ["id", "text", "passed"],
|
|
35
|
-
"properties": {
|
|
36
|
-
"id": { "type": "string", "minLength": 1 },
|
|
37
|
-
"text": { "type": "string" },
|
|
38
|
-
"passed": { "type": "boolean" },
|
|
39
|
-
"reason": { "type": "string" },
|
|
40
|
-
"verify": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"description": "Phase D-2 客观交叉验证声明:driver/executor 实跑 command,退出码不符 expectExit 则该项改判 fail(LLM 自报与客观结果冲突时以客观为准)",
|
|
43
|
-
"required": ["command"],
|
|
44
|
-
"properties": {
|
|
45
|
-
"command": { "type": "string", "minLength": 1 },
|
|
46
|
-
"expectExit": { "type": "integer", "minimum": 0, "default": 0 },
|
|
47
|
-
"timeoutMs": { "type": "integer", "minimum": 1000, "default": 120000 }
|
|
48
|
-
},
|
|
49
|
-
"additionalProperties": false
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"additionalProperties": true
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"additionalProperties": true
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"failedItems": {
|
|
60
|
-
"type": "array",
|
|
61
|
-
"items": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"properties": {
|
|
64
|
-
"id": { "type": "string" },
|
|
65
|
-
"category": { "type": "string" },
|
|
66
|
-
"text": { "type": "string" },
|
|
67
|
-
"reason": { "type": "string" },
|
|
68
|
-
"wpId": { "type": "string" }
|
|
69
|
-
},
|
|
70
|
-
"additionalProperties": true
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"additionalProperties": true
|
|
75
|
-
}
|