@christang/keel 5.171.0 → 5.173.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/.claude-plugin/plugin.json +1 -4
- package/README.md +16 -21
- package/README.zh-CN.md +7 -11
- package/assets/bootstrap/AGENTS.md +3 -3
- package/assets/openspec/schemas/keel-spec-driven/schema.yaml +5 -6
- package/assets/openspec/schemas/keel-spec-driven/templates/tasks.md +5 -5
- package/bin/keel.js +24 -201
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/plugins/keel/.claude-plugin/plugin.json +1 -1
- package/plugins/keel/.codex-plugin/plugin.json +1 -2
- package/plugins/keel/scripts/pretooluse-guard.js +3 -4
- package/plugins/keel/skills/keel-align-expectations/SKILL.md +1 -1
- package/plugins/keel/skills/keel-debug-failure/SKILL.md +8 -8
- package/plugins/keel/skills/keel-handoff/SKILL.md +1 -1
- package/plugins/keel/skills/keel-review-checklist/SKILL.md +1 -1
- package/plugins/keel/skills/keel-tdd-or-test-first/SKILL.md +1 -1
- package/scripts/validate_plugin.py +222 -2496
- package/src/core/agents.js +57 -12
- package/src/core/capabilities.js +0 -53
- package/src/core/config.js +4 -37
- package/src/core/projection.js +42 -149
- package/src/core/task-contract.js +3 -30
- package/plugins/keel/agents/keel-single-task-goal-claude.md +0 -17
- package/plugins/keel/agents/keel-single-task-goal-codex.md +0 -16
- package/plugins/keel/skills/keel-run-single-task-goal/SKILL.md +0 -64
- package/plugins/keel/skills/keel-run-single-task-goal/guidance.md +0 -30
- package/src/core/goal.js +0 -242
- package/src/core/helper.js +0 -345
- package/src/core/tasksview.js +0 -123
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: keel-debug-failure
|
|
3
|
-
description: Debug Keel agent command or validation failures under Keel's selected OpenSpec task contract. Use when `/opsx:apply` or a selected task reports failed commands, failing tests, validation errors,
|
|
3
|
+
description: Debug Keel agent command or validation failures under Keel's selected OpenSpec task contract. Use when `/opsx:apply` or a selected task reports failed commands, failing tests, validation errors, stop decisions, or needs an evidence-bound failure report.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# keel-debug-failure
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
9
|
-
Use this skill when a command or validation path fails. Keep the investigation tied to the selected OpenSpec task. This skill owns
|
|
9
|
+
Use this skill when a command or validation path fails. Keep the investigation tied to the selected OpenSpec task. This skill owns when to stop, the task-contract binding, checkout preservation, and the failure-report shape; generic diagnosis mechanics (how to reproduce, minimise, or instrument) belong to the host runtime and are not restated here.
|
|
10
10
|
|
|
11
11
|
## Context to read
|
|
12
12
|
|
|
@@ -14,15 +14,15 @@ Read the selected OpenSpec task's Commands, Acceptance, Coupling, Candidate Boun
|
|
|
14
14
|
|
|
15
15
|
## Domain lenses
|
|
16
16
|
|
|
17
|
-
When the change's artifacts or the failing surface signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before locking a root-cause hypothesis
|
|
17
|
+
When the change's artifacts or the failing surface signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before locking a root-cause hypothesis. When no lens matches, load nothing.
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Stopping
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
There is no fixed attempt count: keep going while each attempt adds evidence, and stop when one does not. When you stop, report the original key error plus what changed during each attempt.
|
|
22
22
|
|
|
23
|
-
For `Coupling: required`, an allowed provisional failure inside a candidate
|
|
24
|
-
not
|
|
25
|
-
|
|
23
|
+
For `Coupling: required`, an allowed provisional failure inside a candidate is
|
|
24
|
+
not a failed attempt; what counts is the same final assertion failing at the
|
|
25
|
+
candidate completion gate. Follow the task's immediate task-stop
|
|
26
26
|
rules for scope breach, missing design authority, non-reproducible evidence,
|
|
27
27
|
or a baseline or acceptance change during a candidate.
|
|
28
28
|
|
|
@@ -11,7 +11,7 @@ Use this skill only when `keel context` is ambiguous or blocked because human in
|
|
|
11
11
|
|
|
12
12
|
## Context to read
|
|
13
13
|
|
|
14
|
-
Run `keel context --json`, then read
|
|
14
|
+
Run `keel context --json`, then read the returned paths and the intended durable OpenSpec owner under `openspec/changes/<change>/`.
|
|
15
15
|
|
|
16
16
|
## Override contract
|
|
17
17
|
|
|
@@ -53,7 +53,7 @@ The Review remains in tasks.md. A user-facing Report summarizes delivery but is
|
|
|
53
53
|
|
|
54
54
|
## Domain lenses
|
|
55
55
|
|
|
56
|
-
When the change's artifacts or Touch extensions signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before concluding the review
|
|
56
|
+
When the change's artifacts or Touch extensions signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before concluding the review. When no lens matches, load nothing.
|
|
57
57
|
|
|
58
58
|
## Expectation and follow-up ownership
|
|
59
59
|
|
|
@@ -37,7 +37,7 @@ A check's Evidence may read `artifact <path> sha256:<digest>` instead of retelli
|
|
|
37
37
|
|
|
38
38
|
## Domain lenses
|
|
39
39
|
|
|
40
|
-
When the change's proposal/design/specs or the task's Touch extensions signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before finalizing the strategy and the first check
|
|
40
|
+
When the change's proposal/design/specs or the task's Touch extensions signal a domain, consult the matching lens's `Execution and review checks` section from `keel/lenses/` — the lens whose `Applies when:` header matches — before finalizing the strategy and the first check. When no lens matches, load nothing.
|
|
41
41
|
|
|
42
42
|
## Coupled-task preflight
|
|
43
43
|
|