@ai-content-space/loopx 0.2.4 → 0.2.7
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 +106 -10
- package/README.zh-CN.md +106 -10
- 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/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/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 +1 -1
- 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 +11 -1
- 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/SKILL.md +1 -1
- package/plugins/loopx/skills/refactor-plan/SKILL.md +1 -1
- package/plugins/loopx/skills/review/SKILL.md +1 -1
- package/plugins/loopx/skills/spec/SKILL.md +1 -1
- package/plugins/loopx/skills/subagent-exec/SKILL.md +13 -1
- package/plugins/loopx/skills/tdd/SKILL.md +1 -1
- package/plugins/loopx/skills/verify/SKILL.md +1 -1
- package/scripts/claude-workflow-hook.mjs +50 -1
- package/scripts/codex-workflow-hook.mjs +33 -12
- package/scripts/install-skills.mjs +58 -3
- package/scripts/verify-skills.mjs +83 -7
- package/skills/clarify/SKILL.md +1 -1
- package/skills/debug/SKILL.md +1 -1
- package/skills/doc-readability/SKILL.md +1 -1
- package/skills/exec/SKILL.md +11 -1
- 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/SKILL.md +1 -1
- package/skills/refactor-plan/SKILL.md +1 -1
- package/skills/review/SKILL.md +1 -1
- package/skills/spec/SKILL.md +1 -1
- package/skills/subagent-exec/SKILL.md +13 -1
- 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 +37 -0
- package/src/next-skill.mjs +8 -10
- package/src/workflow.mjs +19 -26
- package/skills/deepsearch/SKILL.md +0 -38
|
@@ -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.
|