@ai-content-space/loopx 0.2.4 → 0.2.8
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 +108 -12
- package/README.zh-CN.md +109 -13
- package/docs/loopx/design/finish/345/255/246/344/271/240/345/256/241/350/256/241/351/234/200/346/261/202/350/256/276/350/256/241/346/226/207/346/241/243.md +707 -0
- package/docs/loopx/design/loopx-skill-suite-v1-design.md +4 -4
- package/docs/loopx/memory/2026-06-09-stale-archive-hook-guidance.md +15 -0
- package/docs/loopx/memory/README.md +25 -0
- package/docs/loopx/plans/2026-06-08-finish-audit-change-window.md +933 -0
- package/docs/loopx/plans/2026-06-08-finish-learning-audit.md +410 -0
- package/docs/loopx/plans/2026-06-09-cli-onboarding-install-surface.md +1277 -0
- package/docs/loopx/plans/loopx-skill-suite-v1-implementation.md +1 -1
- package/docs/loopx/specs/installation.md +33 -0
- package/package.json +18 -2
- package/plugins/loopx/.codex-plugin/plugin.json +1 -1
- package/plugins/loopx/skills/clarify/SKILL.md +3 -3
- package/plugins/loopx/skills/debug/SKILL.md +1 -1
- package/plugins/loopx/skills/doc-readability/SKILL.md +1 -1
- package/plugins/loopx/skills/exec/SKILL.md +12 -2
- package/plugins/loopx/skills/final-review/SKILL.md +1 -1
- package/plugins/loopx/skills/finish/SKILL.md +39 -7
- package/plugins/loopx/skills/fix-review/SKILL.md +1 -1
- package/plugins/loopx/skills/go-style/SKILL.md +1 -1
- package/plugins/loopx/skills/kratos/SKILL.md +1 -1
- package/plugins/loopx/skills/{plan → plan-to-exec}/SKILL.md +5 -5
- 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 +4 -4
- package/plugins/loopx/skills/subagent-exec/SKILL.md +14 -2
- package/plugins/loopx/skills/tdd/SKILL.md +1 -1
- package/plugins/loopx/skills/verify/SKILL.md +1 -1
- package/scripts/claude-workflow-hook.mjs +52 -3
- package/scripts/codex-workflow-hook.mjs +36 -15
- package/scripts/install-skills.mjs +58 -3
- package/scripts/verify-skills.mjs +83 -7
- package/skills/RESOLVER.md +4 -4
- package/skills/clarify/SKILL.md +3 -3
- package/skills/debug/SKILL.md +1 -1
- package/skills/doc-readability/SKILL.md +1 -1
- package/skills/exec/SKILL.md +12 -2
- package/skills/final-review/SKILL.md +1 -1
- package/skills/finish/SKILL.md +39 -7
- package/skills/fix-review/SKILL.md +1 -1
- package/skills/go-style/SKILL.md +1 -1
- package/skills/kratos/SKILL.md +1 -1
- package/skills/{plan → plan-to-exec}/SKILL.md +5 -5
- 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 +4 -4
- package/skills/subagent-exec/SKILL.md +14 -2
- package/skills/tdd/SKILL.md +1 -1
- package/skills/verify/SKILL.md +1 -1
- package/src/cli.mjs +473 -86
- package/src/finish-runtime.mjs +1184 -0
- package/src/install-discovery.mjs +38 -1
- package/src/next-skill.mjs +10 -12
- package/src/workflow.mjs +21 -28
- package/skills/deepsearch/SKILL.md +0 -38
|
@@ -10,7 +10,7 @@ The v1 product surface is the installed and governed bundled skill suite:
|
|
|
10
10
|
|
|
11
11
|
- `clarify`
|
|
12
12
|
- `spec`
|
|
13
|
-
- `plan`
|
|
13
|
+
- `plan-to-exec`
|
|
14
14
|
- `subagent-exec`
|
|
15
15
|
- `exec`
|
|
16
16
|
- `review`
|
|
@@ -33,12 +33,12 @@ The repository may retain auxiliary or compatibility skill source directories fo
|
|
|
33
33
|
Recommended flow:
|
|
34
34
|
|
|
35
35
|
```text
|
|
36
|
-
clarify -> spec? -> plan -> (subagent-exec | exec) -> final-review -> fix-review? -> finish
|
|
36
|
+
clarify -> spec? -> plan-to-exec -> (subagent-exec | exec) -> final-review -> fix-review? -> finish
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
`spec` is a conditional design gate. `clarify` may route directly to `plan` when the remaining questions are local implementation choices. It routes to `spec` when product behavior, APIs, state, data, permissions, migration, compatibility, or architecture decisions need to be fixed before implementation planning.
|
|
39
|
+
`spec` is a conditional design gate. `clarify` may route directly to `plan-to-exec` when the remaining questions are local implementation choices. It routes to `spec` when product behavior, APIs, state, data, permissions, migration, compatibility, or architecture decisions need to be fixed before implementation planning.
|
|
40
40
|
|
|
41
|
-
`plan` is the superpowers `writing-plans` workflow under the loopx name. It writes executable plans and offers two execution options: `subagent-exec` recommended, or `exec` inline.
|
|
41
|
+
`plan-to-exec` is the superpowers `writing-plans` workflow under the loopx name. It writes executable plans and offers two execution options: `subagent-exec` recommended, or `exec` inline.
|
|
42
42
|
|
|
43
43
|
`review` is the task or checkpoint code review workflow inside `subagent-exec` or `exec`. `final-review` is the top-level whole-feature runtime, integration, and test-gap review before completion. `fix-review` handles feedback from either review layer.
|
|
44
44
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Stale Archive Hook Guidance
|
|
2
|
+
|
|
3
|
+
Type: pitfall
|
|
4
|
+
Domain: workflow hooks
|
|
5
|
+
Date: 2026-06-09
|
|
6
|
+
|
|
7
|
+
When removing a public workflow command, update generated guidance and also filter persisted runtime guidance. Old `.loopx/workflows/*/state.json` files can keep `recommended_next_action` text that outlives the current product flow.
|
|
8
|
+
|
|
9
|
+
Evidence from `5285f99..1f11966`:
|
|
10
|
+
|
|
11
|
+
- `scripts/codex-workflow-hook.mjs` and `scripts/claude-workflow-hook.mjs` now suppress stale `loopx archive` and `$archive` recommendations.
|
|
12
|
+
- Done/archive/completed stale archive recommendations map to `$finish`.
|
|
13
|
+
- Approved review stale archive recommendations map to `loopx approve <slug> --from review --to done`.
|
|
14
|
+
- `test/trellis-hardening.test.mjs` covers both stale done and stale approved-review hook states.
|
|
15
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Shared Memory
|
|
2
|
+
|
|
3
|
+
`docs/loopx/memory/` is git-tracked shared memory for lightweight project knowledge that should follow a user across machines, but is not stable enough to become a spec.
|
|
4
|
+
|
|
5
|
+
Use shared memory for concise, evidence-backed notes such as:
|
|
6
|
+
|
|
7
|
+
- recurring project-specific pitfalls
|
|
8
|
+
- agent handoff details that remain useful across sessions
|
|
9
|
+
- personal or team working conventions that are not yet formal rules
|
|
10
|
+
- context that helps avoid repeated investigation
|
|
11
|
+
|
|
12
|
+
Do not use shared memory for:
|
|
13
|
+
|
|
14
|
+
- temporary runtime state
|
|
15
|
+
- raw conversation logs
|
|
16
|
+
- secrets, credentials, or machine-local paths
|
|
17
|
+
- stable workflow, API, migration, testing, or compatibility rules that belong in `docs/loopx/specs/`
|
|
18
|
+
|
|
19
|
+
Memory layers:
|
|
20
|
+
|
|
21
|
+
- `.loopx/memory/`: local memory, not tracked by git
|
|
22
|
+
- `docs/loopx/memory/`: shared memory, tracked by git
|
|
23
|
+
- `docs/loopx/specs/`: stable team rules, tracked by git
|
|
24
|
+
|
|
25
|
+
Promote shared memory to `docs/loopx/specs/` when it becomes a durable rule that planning or review should depend on.
|