@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.
Files changed (53) hide show
  1. package/README.md +106 -10
  2. package/README.zh-CN.md +106 -10
  3. 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
  4. package/docs/loopx/memory/2026-06-09-stale-archive-hook-guidance.md +15 -0
  5. package/docs/loopx/memory/README.md +25 -0
  6. package/docs/loopx/plans/2026-06-08-finish-audit-change-window.md +933 -0
  7. package/docs/loopx/plans/2026-06-08-finish-learning-audit.md +410 -0
  8. package/docs/loopx/plans/2026-06-09-cli-onboarding-install-surface.md +1277 -0
  9. package/docs/loopx/specs/installation.md +33 -0
  10. package/package.json +18 -2
  11. package/plugins/loopx/.codex-plugin/plugin.json +1 -1
  12. package/plugins/loopx/skills/clarify/SKILL.md +1 -1
  13. package/plugins/loopx/skills/debug/SKILL.md +1 -1
  14. package/plugins/loopx/skills/doc-readability/SKILL.md +1 -1
  15. package/plugins/loopx/skills/exec/SKILL.md +11 -1
  16. package/plugins/loopx/skills/final-review/SKILL.md +1 -1
  17. package/plugins/loopx/skills/finish/SKILL.md +39 -7
  18. package/plugins/loopx/skills/fix-review/SKILL.md +1 -1
  19. package/plugins/loopx/skills/go-style/SKILL.md +1 -1
  20. package/plugins/loopx/skills/kratos/SKILL.md +1 -1
  21. package/plugins/loopx/skills/plan/SKILL.md +1 -1
  22. package/plugins/loopx/skills/refactor-plan/SKILL.md +1 -1
  23. package/plugins/loopx/skills/review/SKILL.md +1 -1
  24. package/plugins/loopx/skills/spec/SKILL.md +1 -1
  25. package/plugins/loopx/skills/subagent-exec/SKILL.md +13 -1
  26. package/plugins/loopx/skills/tdd/SKILL.md +1 -1
  27. package/plugins/loopx/skills/verify/SKILL.md +1 -1
  28. package/scripts/claude-workflow-hook.mjs +50 -1
  29. package/scripts/codex-workflow-hook.mjs +33 -12
  30. package/scripts/install-skills.mjs +58 -3
  31. package/scripts/verify-skills.mjs +83 -7
  32. package/skills/clarify/SKILL.md +1 -1
  33. package/skills/debug/SKILL.md +1 -1
  34. package/skills/doc-readability/SKILL.md +1 -1
  35. package/skills/exec/SKILL.md +11 -1
  36. package/skills/final-review/SKILL.md +1 -1
  37. package/skills/finish/SKILL.md +39 -7
  38. package/skills/fix-review/SKILL.md +1 -1
  39. package/skills/go-style/SKILL.md +1 -1
  40. package/skills/kratos/SKILL.md +1 -1
  41. package/skills/plan/SKILL.md +1 -1
  42. package/skills/refactor-plan/SKILL.md +1 -1
  43. package/skills/review/SKILL.md +1 -1
  44. package/skills/spec/SKILL.md +1 -1
  45. package/skills/subagent-exec/SKILL.md +13 -1
  46. package/skills/tdd/SKILL.md +1 -1
  47. package/skills/verify/SKILL.md +1 -1
  48. package/src/cli.mjs +473 -86
  49. package/src/finish-runtime.mjs +1184 -0
  50. package/src/install-discovery.mjs +37 -0
  51. package/src/next-skill.mjs +8 -10
  52. package/src/workflow.mjs +19 -26
  53. 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.