@christang/keel 5.81.0 → 5.82.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/assets/bootstrap/AGENTS.md +1 -1
- 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 -1
- package/plugins/keel/skills/keel-align-expectations/SKILL.md +2 -2
- package/scripts/validate_plugin.py +61 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christang/keel",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.82.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@christang/keel",
|
|
9
|
-
"version": "5.
|
|
9
|
+
"version": "5.82.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@fission-ai/openspec": "^1.4.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keel",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.82.0",
|
|
4
4
|
"description": "Keel OpenSpec execution discipline: stateless continuity, task capsules, deterministic gates, and expectation alignment for Codex and Claude Code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TanglmChris",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keel",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.82.0",
|
|
4
4
|
"description": "Keel OpenSpec execution discipline: stateless continuity, task capsules, deterministic gates, and expectation alignment for Codex and Claude Code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TanglmChris",
|
|
@@ -7,7 +7,7 @@ description: Align explicit requirements, implicit expectations, non-goals, obse
|
|
|
7
7
|
|
|
8
8
|
## Purpose
|
|
9
9
|
|
|
10
|
-
Turn user intent and repository facts into durable OpenSpec authority before specs and executable tasks harden. Alignment is risk-scaled: clear, complete, low-risk requests pass through a compact quick path; material ambiguity switches to a focused deep path. This skill owns materiality routing, acceptance authority, and write-back ownership;
|
|
10
|
+
Turn user intent and repository facts into durable OpenSpec authority before specs and executable tasks harden. Alignment is risk-scaled: clear, complete, low-risk requests pass through a compact quick path; material ambiguity switches to a focused deep path. This skill owns materiality routing, acceptance authority, and write-back ownership; which surface a host offers for asking is the host's, and it does not replace `/opsx:apply`, review, or OpenSpec artifact mechanics.
|
|
11
11
|
|
|
12
12
|
## Routing
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ State the extracted goals, non-goals, observable Acceptance, constraints, and ev
|
|
|
21
21
|
|
|
22
22
|
## Deep path
|
|
23
23
|
|
|
24
|
-
Pause spec/task finalization and ask one material decision at a time. Each question explains in plain terms why the decision matters and provides a recommended answer. Continue only until executable authority is clear; do not run a broad brainstorming session. A material choice that stays unresolved becomes a Q<n> with an owner or resolution gate, and no affected task becomes executable until it is accepted, verified, durably owned, or explicitly discarded.
|
|
24
|
+
Pause spec/task finalization and ask one material decision at a time. Each question explains in plain terms why the decision matters and provides a recommended answer. When the host offers a structured-choice surface, ask a decision whose answers can be enumerated through it, with the recommended option first and marked; keep prose for open questions and for hosts with no such surface. Continue only until executable authority is clear; do not run a broad brainstorming session. A material choice that stays unresolved becomes a Q<n> with an owner or resolution gate, and no affected task becomes executable until it is accepted, verified, durably owned, or explicitly discarded.
|
|
25
25
|
|
|
26
26
|
## Implicit expectations are proposals
|
|
27
27
|
|
|
@@ -38,8 +38,8 @@ REQUIRED_SCRIPTS = [
|
|
|
38
38
|
"scripts/validate_plugin.py",
|
|
39
39
|
]
|
|
40
40
|
|
|
41
|
-
PACKAGE_VERSION = "5.
|
|
42
|
-
PROTOCOL_VERSION = "5.
|
|
41
|
+
PACKAGE_VERSION = "5.82.0"
|
|
42
|
+
PROTOCOL_VERSION = "5.82.0"
|
|
43
43
|
LEGACY_MANAGED_START = "<!-- keel:start version=2.1 -->"
|
|
44
44
|
OPENSPEC_SCHEMA_NAME = "keel-spec-driven"
|
|
45
45
|
# Mirrors KEEL_PACKAGE_NAME in scripts/install_to_repo.py, one of the two
|
|
@@ -2115,6 +2115,61 @@ def validate_unlinked_critical_covers_scenario() -> int:
|
|
|
2115
2115
|
return 0
|
|
2116
2116
|
|
|
2117
2117
|
|
|
2118
|
+
def validate_decisions_are_selectable_scenario() -> int:
|
|
2119
|
+
"""Issue #174: an enumerable decision is offered as selectable options.
|
|
2120
|
+
|
|
2121
|
+
The owner asked (2026-09-28) that a decision be something the user can
|
|
2122
|
+
pick, not type, wherever the host offers a structured choice. No gate can
|
|
2123
|
+
observe presentation, so this checks only that both carriers say so — the
|
|
2124
|
+
resident protocol and the alignment skill's deep path, in source and in
|
|
2125
|
+
the shipped copy — and that the portable skill names no host tool.
|
|
2126
|
+
"""
|
|
2127
|
+
label = "decisions-are-selectable:"
|
|
2128
|
+
|
|
2129
|
+
def section(text: str, heading: str) -> str:
|
|
2130
|
+
start = text.find(heading)
|
|
2131
|
+
if start < 0:
|
|
2132
|
+
return ""
|
|
2133
|
+
rest = text[start + len(heading):]
|
|
2134
|
+
end = rest.find("\n## ")
|
|
2135
|
+
return rest if end < 0 else rest[:end]
|
|
2136
|
+
|
|
2137
|
+
def offers_choices(text: str) -> bool:
|
|
2138
|
+
lowered = " ".join(text.lower().split())
|
|
2139
|
+
return (
|
|
2140
|
+
"structured-choice surface" in lowered
|
|
2141
|
+
and "recommend" in lowered
|
|
2142
|
+
and "first" in lowered
|
|
2143
|
+
and "open question" in lowered
|
|
2144
|
+
and "prose" in lowered
|
|
2145
|
+
)
|
|
2146
|
+
|
|
2147
|
+
block = extract_managed_block((ROOT / "AGENTS.md").read_text(encoding="utf-8")) or ""
|
|
2148
|
+
if not offers_choices(section(block, "## User-facing communication")):
|
|
2149
|
+
report(
|
|
2150
|
+
f"{label} AGENTS.md User-facing communication does not offer "
|
|
2151
|
+
"decisions as selectable options."
|
|
2152
|
+
)
|
|
2153
|
+
return 1
|
|
2154
|
+
for root in ("src/skills", f"{PLUGIN_ROOT}/skills"):
|
|
2155
|
+
path = ROOT / root / "keel-align-expectations" / "SKILL.md"
|
|
2156
|
+
text = path.read_text(encoding="utf-8")
|
|
2157
|
+
if not offers_choices(section(text, "## Deep path")):
|
|
2158
|
+
report(
|
|
2159
|
+
f"{label} {root} keel-align-expectations Deep path does not "
|
|
2160
|
+
"offer decisions as selectable options."
|
|
2161
|
+
)
|
|
2162
|
+
return 1
|
|
2163
|
+
if "AskUserQuestion" in text:
|
|
2164
|
+
report(f"{label} {root} keel-align-expectations names a host tool.")
|
|
2165
|
+
return 1
|
|
2166
|
+
if "decisions-are-selectable" not in {name for name, _ in SCENARIOS}:
|
|
2167
|
+
report(f"{label} scenario is not registered.")
|
|
2168
|
+
return 1
|
|
2169
|
+
report("decisions-are-selectable scenario passed.")
|
|
2170
|
+
return 0
|
|
2171
|
+
|
|
2172
|
+
|
|
2118
2173
|
def validate_covers_annotation_entry_scenario() -> int:
|
|
2119
2174
|
"""Issue #49 Section 1's fail-open half, owner-decided 2026-08-17: a Covers
|
|
2120
2175
|
entry that opens with a critical-statement identifier and a dash
|
|
@@ -31845,6 +31900,10 @@ SCENARIOS: tuple = (
|
|
|
31845
31900
|
"unlinked-critical-covers",
|
|
31846
31901
|
validate_unlinked_critical_covers_scenario,
|
|
31847
31902
|
),
|
|
31903
|
+
(
|
|
31904
|
+
"decisions-are-selectable",
|
|
31905
|
+
validate_decisions_are_selectable_scenario,
|
|
31906
|
+
),
|
|
31848
31907
|
(
|
|
31849
31908
|
"covers-annotation-entry",
|
|
31850
31909
|
validate_covers_annotation_entry_scenario,
|