@ai-content-space/loopx 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/AGENTS.md +7 -8
- package/README.md +22 -10
- package/README.zh-CN.md +22 -10
- package/docs/loopx/design/loopx-skill-suite-v1-design.md +14 -7
- package/docs/loopx/plans/loopx-skill-suite-v1-implementation.md +7 -3
- package/package.json +3 -2
- package/plugins/loopx/.codex-plugin/plugin.json +1 -1
- package/plugins/loopx/skills/clarify/SKILL.md +4 -4
- package/plugins/loopx/skills/debug/SKILL.md +1 -1
- package/plugins/loopx/skills/exec/SKILL.md +1 -1
- package/plugins/loopx/skills/finish/SKILL.md +103 -8
- package/plugins/loopx/skills/fix-review/SKILL.md +1 -1
- package/plugins/loopx/skills/go-style/SKILL.md +2 -2
- package/plugins/loopx/skills/kratos/SKILL.md +1 -1
- package/plugins/loopx/skills/plan/SKILL.md +2 -2
- package/plugins/loopx/skills/refactor-plan/SKILL.md +1 -1
- package/plugins/loopx/skills/review/SKILL.md +1 -1
- package/plugins/loopx/skills/spec/DESIGN_SPEC_TEMPLATE.md +2 -2
- package/plugins/loopx/skills/spec/SKILL.md +2 -2
- package/plugins/loopx/skills/subagent-exec/SKILL.md +1 -1
- package/plugins/loopx/skills/tdd/SKILL.md +1 -1
- package/plugins/loopx/skills/verify/SKILL.md +1 -1
- package/scripts/verify-skills.mjs +2 -1
- package/skills/RESOLVER.md +0 -4
- package/skills/clarify/SKILL.md +4 -4
- package/skills/debug/SKILL.md +1 -1
- package/skills/exec/SKILL.md +1 -1
- package/skills/finish/SKILL.md +103 -8
- package/skills/fix-review/SKILL.md +1 -1
- package/skills/go-style/SKILL.md +2 -2
- package/skills/kratos/SKILL.md +1 -1
- package/skills/plan/SKILL.md +2 -2
- package/skills/refactor-plan/SKILL.md +1 -1
- package/skills/review/SKILL.md +1 -1
- package/skills/spec/DESIGN_SPEC_TEMPLATE.md +2 -2
- package/skills/spec/SKILL.md +2 -2
- package/skills/subagent-exec/SKILL.md +1 -1
- package/skills/tdd/SKILL.md +1 -1
- package/skills/verify/SKILL.md +1 -1
- package/src/cli.mjs +1 -2
- package/src/plan-runtime.mjs +0 -352
- package/src/workflow.mjs +5 -124
- package/plugins/loopx/scripts/plugin-install.test.mjs +0 -125
- package/skills/ai-slop-cleaner/SKILL.md +0 -114
- package/skills/autoresearch/SKILL.md +0 -68
- package/skills/deep-interview/SKILL.md +0 -461
- package/skills/ralph/SKILL.md +0 -271
- package/skills/ralplan/SKILL.md +0 -49
|
@@ -3,7 +3,7 @@ name: subagent-exec
|
|
|
3
3
|
description: "Executes approved loopx implementation plans with fresh subagents per independent task and staged review. Not for planning, unclear requirements, or tightly coupled edits."
|
|
4
4
|
when_to_use: "approved implementation plan, independent tasks, subagent execution, staged spec review, code quality review, parallel-capable execution"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Subagent Exec
|
|
@@ -3,7 +3,7 @@ name: tdd
|
|
|
3
3
|
description: "Guides feature and bugfix implementation through a failing test before production code and red-green-refactor discipline. Not for generated files or throwaway prototypes."
|
|
4
4
|
when_to_use: "tdd, failing test first, feature implementation, bugfix, regression test, red green refactor, 测试先行"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Test-Driven Development (TDD)
|
|
@@ -3,7 +3,7 @@ name: verify
|
|
|
3
3
|
description: "Requires fresh verification evidence before claiming work is complete, fixed, passing, review-ready, or ready to commit. Not for speculative confidence or stale results."
|
|
4
4
|
when_to_use: "verify, completion claim, fixed claim, tests pass, review-ready, commit, fresh evidence, 验证, 完成前检查"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Verification Before Completion
|
|
@@ -114,7 +114,6 @@ async function assertPublicDocsAligned() {
|
|
|
114
114
|
'loopx plan',
|
|
115
115
|
'loopx build',
|
|
116
116
|
'loopx review',
|
|
117
|
-
'loopx archive',
|
|
118
117
|
'loopx autopilot',
|
|
119
118
|
'loopx render',
|
|
120
119
|
'loopx status',
|
|
@@ -128,6 +127,8 @@ async function assertPublicDocsAligned() {
|
|
|
128
127
|
assertContains(readme, command, 'README.md');
|
|
129
128
|
assertContains(readmeZh, command, 'README.zh-CN.md');
|
|
130
129
|
}
|
|
130
|
+
assert.doesNotMatch(readme, /loopx archive/, 'README.md should not expose archive runtime command');
|
|
131
|
+
assert.doesNotMatch(readmeZh, /loopx archive/, 'README.zh-CN.md should not expose archive runtime command');
|
|
131
132
|
|
|
132
133
|
const releaseNotesRoot = join(repoRoot, 'docs', 'release-notes');
|
|
133
134
|
const releaseNotes = existsSync(releaseNotesRoot)
|
package/skills/RESOLVER.md
CHANGED
|
@@ -41,10 +41,6 @@ Read the selected skill file before acting. If multiple skills match, read every
|
|
|
41
41
|
9. Use `refactor-plan` for behavior-preserving refactor planning. If the refactor changes external behavior or contracts, route to `clarify` or `spec`.
|
|
42
42
|
10. Treat `tdd`, `debug`, `verify`, `go-style`, and `kratos` as support lenses unless the user explicitly invokes them directly.
|
|
43
43
|
|
|
44
|
-
## Legacy CLI Runtime
|
|
45
|
-
|
|
46
|
-
Legacy `.loopx/workflows/` commands may still exist in the CLI for compatibility. They are not the v1 bundled skill workflow.
|
|
47
|
-
|
|
48
44
|
## Deterministic Guard
|
|
49
45
|
|
|
50
46
|
Run this before release or when changing bundled skills:
|
package/skills/clarify/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: clarify
|
|
|
3
3
|
description: "Grills ambiguous loopx work until material questions are answered, then routes to spec or plan using a design gate. Not for clear implementation tasks, approved specs, or code changes."
|
|
4
4
|
when_to_use: "clarify, requirements, ambiguous request, unclear scope, non-goals, decision boundaries, acceptance criteria, 需求澄清, 范围不清"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# loopx Clarify
|
|
@@ -63,11 +63,11 @@ For `needs_spec`, immediately use the `spec` skill with the clarification contex
|
|
|
63
63
|
Then stop before implementation planning and report:
|
|
64
64
|
|
|
65
65
|
```text
|
|
66
|
-
$plan
|
|
66
|
+
$plan docs/loopx/design/<需求名>需求设计文档.md
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
For `direct_to_plan`,
|
|
69
|
+
For `direct_to_plan`, hand off to the `plan` skill with the clarification context bundle as the source. `plan` writes:
|
|
70
70
|
|
|
71
71
|
- `docs/loopx/plans/YYYY-MM-DD-<feature-name>.md`
|
|
72
72
|
|
|
73
|
-
Do not
|
|
73
|
+
Do not write implementation plans or start code changes inside `clarify`.
|
package/skills/debug/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: debug
|
|
|
3
3
|
description: "Finds root cause for bugs, failing tests, build failures, regressions, and unexpected behavior before fixes. Not for new feature planning or routine code review."
|
|
4
4
|
when_to_use: "debug, bug, test failure, build failure, regression, unexpected behavior, root cause, 报错, 失败, 回归, 排查"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Systematic Debugging
|
package/skills/exec/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: exec
|
|
|
3
3
|
description: "Executes a written loopx implementation plan sequentially with review checkpoints. Not for unclear plans, missing requirements, or subagent-first execution."
|
|
4
4
|
when_to_use: "written implementation plan, inline execution, sequential plan execution, review checkpoints, no subagent lane"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Exec
|
package/skills/finish/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: finish
|
|
|
3
3
|
description: "Finishes completed loopx development work after tests pass by presenting merge, PR, keep, or discard options. Not for unfinished work or failing verification."
|
|
4
4
|
when_to_use: "implementation complete, tests pass, finish branch, create pull request, merge locally, keep branch, discard work"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Finish
|
|
@@ -12,7 +12,7 @@ metadata:
|
|
|
12
12
|
|
|
13
13
|
Guide completion of development work by presenting clear options and handling chosen workflow.
|
|
14
14
|
|
|
15
|
-
**Core principle:** Verify tests →
|
|
15
|
+
**Core principle:** Verify tests → extract memory/spec learnings → Present options → Execute choice → Clean up.
|
|
16
16
|
|
|
17
17
|
**Announce at start:** "I'm using the finish skill to complete this work."
|
|
18
18
|
|
|
@@ -66,7 +66,83 @@ git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null
|
|
|
66
66
|
|
|
67
67
|
Or ask: "This branch split from main - is that correct?"
|
|
68
68
|
|
|
69
|
-
### Step 4:
|
|
69
|
+
### Step 4: Learning Extraction
|
|
70
|
+
|
|
71
|
+
Run learning extraction before presenting merge, PR, keep, or discard options.
|
|
72
|
+
|
|
73
|
+
Allowed inputs:
|
|
74
|
+
- current git diff
|
|
75
|
+
- executed verification output
|
|
76
|
+
- plan, spec, and review artifacts used in this task
|
|
77
|
+
- explicit user decisions in the current conversation
|
|
78
|
+
- existing `.loopx/memory/MEMORY.md` and `.loopx/memory/index.jsonl`
|
|
79
|
+
- existing `docs/loopx/specs/*.md`
|
|
80
|
+
|
|
81
|
+
Do not infer durable rules from agent intuition alone. Do not promote unverified implementation details.
|
|
82
|
+
|
|
83
|
+
#### Memory
|
|
84
|
+
|
|
85
|
+
Memory is local, agent-queryable project context. It is not repo-tracked by default.
|
|
86
|
+
|
|
87
|
+
Use:
|
|
88
|
+
|
|
89
|
+
```text
|
|
90
|
+
.loopx/memory/MEMORY.md
|
|
91
|
+
.loopx/memory/index.jsonl
|
|
92
|
+
.loopx/memory/entries/
|
|
93
|
+
.loopx/memory/archive/
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
`MEMORY.md` is the bounded curated summary an agent should read first. Keep it dense and useful.
|
|
97
|
+
|
|
98
|
+
`index.jsonl` is a curated active index, not an append-only history. It should point only to active memory cards worth querying.
|
|
99
|
+
|
|
100
|
+
Use memory only for facts that will help a future agent avoid rework, avoid mistakes, or preserve a decision. Do not record process negatives such as "no spec promotion".
|
|
101
|
+
|
|
102
|
+
One finish run may write 0-3 active memory cards. If more learnings appear, consolidate, promote to spec, archive stale cards, or skip low-signal items.
|
|
103
|
+
|
|
104
|
+
Memory entry index rows should use this shape:
|
|
105
|
+
|
|
106
|
+
```json
|
|
107
|
+
{"id":"2026-06-02-example","type":"decision","domain":"workflow","tags":["finish"],"summary":"finish writes local memory and repo-tracked spec candidates","path":"entries/2026-06-02-example.md","created_at":"2026-06-02T00:00:00Z"}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Allowed memory `type` values:
|
|
111
|
+
- `decision`
|
|
112
|
+
- `constraint`
|
|
113
|
+
- `pattern`
|
|
114
|
+
- `pitfall`
|
|
115
|
+
- `handoff`
|
|
116
|
+
|
|
117
|
+
Finish may automatically update `.loopx/memory/MEMORY.md`, `.loopx/memory/index.jsonl`, and active memory cards. The final response must list the memory changes.
|
|
118
|
+
|
|
119
|
+
#### Spec Candidates
|
|
120
|
+
|
|
121
|
+
Spec extraction is conditional. Run the audit every time, but write spec candidates only when the task produced stable, shared, reusable project rules.
|
|
122
|
+
|
|
123
|
+
Write repo-tracked candidates directly to:
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
docs/loopx/specs/<domain>.md
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
If the domain is unclear, use:
|
|
130
|
+
|
|
131
|
+
```text
|
|
132
|
+
docs/loopx/specs/inbox.md
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Recommended domains:
|
|
136
|
+
- `workflow`
|
|
137
|
+
- `skills`
|
|
138
|
+
- `installation`
|
|
139
|
+
- `memory`
|
|
140
|
+
- `testing`
|
|
141
|
+
- `inbox`
|
|
142
|
+
|
|
143
|
+
Spec candidates must be visible in the repo diff and reported in the final response. Do not silently change team specs.
|
|
144
|
+
|
|
145
|
+
### Step 5: Present Options
|
|
70
146
|
|
|
71
147
|
**Normal repo and named-branch worktree — present exactly these 4 options:**
|
|
72
148
|
|
|
@@ -95,7 +171,7 @@ Which option?
|
|
|
95
171
|
|
|
96
172
|
**Don't add explanation** - keep options concise.
|
|
97
173
|
|
|
98
|
-
### Step
|
|
174
|
+
### Step 6: Execute Choice
|
|
99
175
|
|
|
100
176
|
#### Option 1: Merge Locally
|
|
101
177
|
|
|
@@ -112,10 +188,10 @@ git merge <feature-branch>
|
|
|
112
188
|
# Verify tests on merged result
|
|
113
189
|
<test command>
|
|
114
190
|
|
|
115
|
-
# Only after merge succeeds: cleanup worktree (Step
|
|
191
|
+
# Only after merge succeeds: cleanup worktree (Step 7), then delete branch
|
|
116
192
|
```
|
|
117
193
|
|
|
118
|
-
Then: Cleanup worktree (Step
|
|
194
|
+
Then: Cleanup worktree (Step 7), then delete branch:
|
|
119
195
|
|
|
120
196
|
```bash
|
|
121
197
|
git branch -d <feature-branch>
|
|
@@ -166,12 +242,12 @@ MAIN_ROOT=$(git -C "$(git rev-parse --git-common-dir)/.." rev-parse --show-tople
|
|
|
166
242
|
cd "$MAIN_ROOT"
|
|
167
243
|
```
|
|
168
244
|
|
|
169
|
-
Then: Cleanup worktree (Step
|
|
245
|
+
Then: Cleanup worktree (Step 7), then force-delete branch:
|
|
170
246
|
```bash
|
|
171
247
|
git branch -D <feature-branch>
|
|
172
248
|
```
|
|
173
249
|
|
|
174
|
-
### Step
|
|
250
|
+
### Step 7: Cleanup Workspace
|
|
175
251
|
|
|
176
252
|
**Only runs for Options 1 and 4.** Options 2 and 3 always preserve the worktree.
|
|
177
253
|
|
|
@@ -203,6 +279,25 @@ git worktree prune # Self-healing: clean up any stale registrations
|
|
|
203
279
|
| 3. Keep as-is | - | - | yes | - |
|
|
204
280
|
| 4. Discard | - | - | - | yes (force) |
|
|
205
281
|
|
|
282
|
+
## Final Response Contract
|
|
283
|
+
|
|
284
|
+
Every finish response must include the verification result, chosen completion action, memory changes, and Spec candidates.
|
|
285
|
+
|
|
286
|
+
Use this shape:
|
|
287
|
+
|
|
288
|
+
```text
|
|
289
|
+
Memory:
|
|
290
|
+
- updated: .loopx/memory/MEMORY.md
|
|
291
|
+
- entries: <N> added, <N> archived
|
|
292
|
+
- summary:
|
|
293
|
+
- <high-signal memory change>
|
|
294
|
+
|
|
295
|
+
Spec candidates:
|
|
296
|
+
- docs/loopx/specs/<domain>.md: <candidate change>
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
If there are no memory changes or spec candidates, report `none`. Do not write `none` into memory.
|
|
300
|
+
|
|
206
301
|
## Common Mistakes
|
|
207
302
|
|
|
208
303
|
**Skipping test verification**
|
|
@@ -3,7 +3,7 @@ name: fix-review
|
|
|
3
3
|
description: "Handles received code review feedback with verification, technical evaluation, pushback, and one-item-at-a-time fixes. Not for requesting a new review or implementing unrelated changes."
|
|
4
4
|
when_to_use: "fix-review, received code review feedback, review comments, reviewer suggestions, requested changes, 处理评审意见"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Fix Review
|
package/skills/go-style/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: go-style
|
|
|
3
3
|
description: "Applies loopx Go coding style for .go edits, tests, errors, context, naming, and interface boundaries. Not for non-Go code or Kratos-specific architecture by itself."
|
|
4
4
|
when_to_use: "go-style, Go, golang, .go files, go tests, gofmt, idiomatic Go, Go style, Go 代码"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Go Style
|
|
@@ -12,7 +12,7 @@ metadata:
|
|
|
12
12
|
|
|
13
13
|
`go-style` is a lightweight Go coding discipline skill. It should guide edits to `.go` files without overriding the repository's established conventions.
|
|
14
14
|
|
|
15
|
-
Use it as a support skill from `
|
|
15
|
+
Use it as a support skill from `subagent-exec` or `exec` when Go files are created or modified, and directly when the user asks for Go style, idiomatic Go, or Go code cleanup.
|
|
16
16
|
|
|
17
17
|
## Core Rules
|
|
18
18
|
|
package/skills/kratos/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: kratos
|
|
|
3
3
|
description: "Supports Go-Kratos microservices, proto/buf APIs, service/biz/data layers, middleware, auth, config, and troubleshooting. Not for generic Go style alone."
|
|
4
4
|
when_to_use: "kratos, Go-Kratos, proto, buf, service layer, biz layer, data layer, middleware, auth, config, Kratos 微服务"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Kratos
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -3,8 +3,8 @@ name: plan
|
|
|
3
3
|
description: "Creates bite-sized implementation plans from approved requirements, clarify output, or design specs with exact files, tests, commands, expected output, and execution handoff. Not for unresolved requirements, design decisions, PRD generation, or code changes."
|
|
4
4
|
when_to_use: "plan, implementation plan, execution plan, task breakdown, approved requirements, approved design spec, docs/loopx/design, 实施计划, 执行计划, 任务拆分"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
7
|
-
argument-hint: "
|
|
6
|
+
version: "0.2.1"
|
|
7
|
+
argument-hint: "<design spec path or feature name>"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# loopx Plan
|
|
@@ -3,7 +3,7 @@ name: refactor-plan
|
|
|
3
3
|
description: "Creates a behavior-preserving refactor plan with user interview, repo evidence, tiny commits, scope boundaries, and testing decisions. Not for feature changes or immediate implementation."
|
|
4
4
|
when_to_use: "refactor-plan, refactor request, refactoring RFC, tiny commits, behavior-preserving cleanup, architecture cleanup, 重构计划"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
This skill will be invoked when the user wants to create a refactor request. You should go through the steps below. You may skip steps if you don't consider them necessary.
|
package/skills/review/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: review
|
|
|
3
3
|
description: "Dispatches a loopx code reviewer subagent against a concrete git range and requirements. Not for implementation, planning, or unresolved review scope."
|
|
4
4
|
when_to_use: "request code review, completed task review, major feature review, pre-merge review, subagent code quality check"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Review
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
- 推荐下一步:
|
|
306
306
|
|
|
307
307
|
```text
|
|
308
|
-
$plan
|
|
308
|
+
$plan docs/loopx/design/<需求名>需求设计文档.md
|
|
309
309
|
```
|
|
310
310
|
|
|
311
311
|
## 十一、QA
|
|
@@ -320,4 +320,4 @@ $plan --direct docs/loopx/design/<需求名>需求设计文档.md
|
|
|
320
320
|
|
|
321
321
|
| 问题 | 需要谁确认 | 阻塞阶段 | 推荐答案 | 状态 |
|
|
322
322
|
|---|---|---|---|---|
|
|
323
|
-
| <问题> | <角色> | clarify/spec/plan/
|
|
323
|
+
| <问题> | <角色> | clarify/spec/plan/subagent-exec/exec/review | <建议> | open/closed |
|
package/skills/spec/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: spec
|
|
|
3
3
|
description: "Writes software design specs from already-clarified requirements, including solution approach, architecture outline, detailed design, tradeoffs, verification design, and handoff context. Not for unresolved requirements, PRD generation, implementation task planning, or code changes."
|
|
4
4
|
when_to_use: "spec, design spec, technical design, design proposal, detailed design, architecture design, 设计方案, 概要设计, 详细设计, 技术方案"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# loopx Spec
|
|
@@ -70,7 +70,7 @@ The `十、排期与规划` section must include a `Planning Handoff` subsection
|
|
|
70
70
|
After the spec is complete, recommend:
|
|
71
71
|
|
|
72
72
|
```text
|
|
73
|
-
$plan
|
|
73
|
+
$plan docs/loopx/design/<需求名>需求设计文档.md
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
Use `plan` only after the design document is internally consistent and all material requirements questions are resolved.
|
|
@@ -3,7 +3,7 @@ name: subagent-exec
|
|
|
3
3
|
description: "Executes approved loopx implementation plans with fresh subagents per independent task and staged review. Not for planning, unclear requirements, or tightly coupled edits."
|
|
4
4
|
when_to_use: "approved implementation plan, independent tasks, subagent execution, staged spec review, code quality review, parallel-capable execution"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Subagent Exec
|
package/skills/tdd/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: tdd
|
|
|
3
3
|
description: "Guides feature and bugfix implementation through a failing test before production code and red-green-refactor discipline. Not for generated files or throwaway prototypes."
|
|
4
4
|
when_to_use: "tdd, failing test first, feature implementation, bugfix, regression test, red green refactor, 测试先行"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Test-Driven Development (TDD)
|
package/skills/verify/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: verify
|
|
|
3
3
|
description: "Requires fresh verification evidence before claiming work is complete, fixed, passing, review-ready, or ready to commit. Not for speculative confidence or stale results."
|
|
4
4
|
when_to_use: "verify, completion claim, fixed claim, tests pass, review-ready, commit, fresh evidence, 验证, 完成前检查"
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Verification Before Completion
|
package/src/cli.mjs
CHANGED
|
@@ -19,7 +19,7 @@ function usage() {
|
|
|
19
19
|
' loopx init [--slug <slug>] [--enable-agent-delegation] [--auto-agent-delegation] [--agent-delegation-threshold <local|critic-only|parallel-review>]',
|
|
20
20
|
' loopx clarify <slug> [--standard|--deep]',
|
|
21
21
|
' loopx approve <slug> --from <stage> --to <stage>',
|
|
22
|
-
' loopx plan [slug] [--
|
|
22
|
+
' loopx plan [slug] [--interactive] [--deliberate]',
|
|
23
23
|
' loopx build <slug> [--no-deslop]',
|
|
24
24
|
' loopx build --from-review <review-report-path> [--no-deslop]',
|
|
25
25
|
' loopx review <slug> [--reviewer <name>]',
|
|
@@ -242,7 +242,6 @@ async function main() {
|
|
|
242
242
|
}
|
|
243
243
|
case 'plan': {
|
|
244
244
|
const result = await planStage(process.cwd(), positionals[0], {
|
|
245
|
-
directSpecPath: options.get('--direct'),
|
|
246
245
|
interactive: Boolean(options.get('--interactive')),
|
|
247
246
|
deliberate: Boolean(options.get('--deliberate')),
|
|
248
247
|
});
|