@ai-content-space/loopx 0.1.0 → 0.1.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/README.md +26 -26
- package/package.json +6 -2
- package/plugins/loopx/.codex-plugin/plugin.json +6 -6
- package/plugins/loopx/scripts/plugin-install.test.mjs +25 -8
- package/plugins/loopx/skills/autopilot/SKILL.md +90 -0
- package/plugins/loopx/skills/build/SKILL.md +118 -0
- package/plugins/loopx/skills/clarify/SKILL.md +219 -0
- package/plugins/loopx/skills/plan/SKILL.md +238 -0
- package/plugins/loopx/skills/{loopx-review → review}/SKILL.md +9 -4
- package/skills/ai-slop-cleaner/SKILL.md +114 -0
- package/skills/autopilot/SKILL.md +90 -0
- package/skills/autoresearch/SKILL.md +68 -0
- package/skills/build/SKILL.md +118 -0
- package/skills/clarify/SKILL.md +219 -0
- package/skills/deep-interview/SKILL.md +461 -0
- package/skills/deepsearch/SKILL.md +38 -0
- package/skills/plan/SKILL.md +238 -0
- package/skills/ralph/SKILL.md +271 -0
- package/skills/ralplan/SKILL.md +49 -0
- package/skills/{loopx-review → review}/SKILL.md +9 -4
- package/src/autopilot-runtime.mjs +152 -0
- package/src/build-runtime.mjs +146 -0
- package/src/cli.mjs +43 -7
- package/src/codex-exec-runtime.mjs +97 -0
- package/src/install-discovery.mjs +7 -7
- package/src/plan-runtime.mjs +456 -0
- package/src/runtime-maintenance.mjs +36 -8
- package/src/workflow.mjs +825 -123
- package/templates/architecture.md +3 -3
- package/templates/development-plan.md +1 -1
- package/templates/execution-record.md +1 -1
- package/templates/plan.md +4 -4
- package/templates/review-report.md +1 -1
- package/templates/spec.md +38 -2
- package/templates/test-plan.md +1 -1
- package/plugins/loopx/skills/loopx-autopilot/SKILL.md +0 -30
- package/plugins/loopx/skills/loopx-build/SKILL.md +0 -25
- package/plugins/loopx/skills/loopx-clarify/SKILL.md +0 -25
- package/plugins/loopx/skills/loopx-plan/SKILL.md +0 -25
- package/skills/loopx-autopilot/SKILL.md +0 -30
- package/skills/loopx-build/SKILL.md +0 -25
- package/skills/loopx-clarify/SKILL.md +0 -25
- package/skills/loopx-plan/SKILL.md +0 -25
|
@@ -6,11 +6,11 @@ decision_id: loopx-v1
|
|
|
6
6
|
chosen_option: skill-first-runtime-substrate
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# loopx Architecture: <task name>
|
|
10
10
|
|
|
11
11
|
## Intent
|
|
12
12
|
|
|
13
|
-
- keep
|
|
13
|
+
- keep loopx skill-first while reusing the deterministic runtime/debug substrate
|
|
14
14
|
|
|
15
15
|
## Boundaries
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ chosen_option: skill-first-runtime-substrate
|
|
|
21
21
|
|
|
22
22
|
## Chosen Design
|
|
23
23
|
|
|
24
|
-
- canonical
|
|
24
|
+
- canonical loopx artifacts under `.loopx/`
|
|
25
25
|
- single build lane, no public `team`
|
|
26
26
|
- bounded `autopilot` composition over clarify/plan/build/review
|
|
27
27
|
|
package/templates/plan.md
CHANGED
|
@@ -6,15 +6,15 @@ source_spec_path: spec.md
|
|
|
6
6
|
stage_owner: plan
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# loopx Plan: <task name>
|
|
10
10
|
|
|
11
11
|
## Requirements Summary
|
|
12
12
|
|
|
13
|
-
- translate the approved
|
|
13
|
+
- translate the approved loopx spec into an execution-ready package
|
|
14
14
|
|
|
15
15
|
## Deliverables
|
|
16
16
|
|
|
17
|
-
1. produce the
|
|
17
|
+
1. produce the loopx plan package
|
|
18
18
|
2. keep approvals explicit
|
|
19
19
|
3. define verification that can prove the run is ready for build
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ stage_owner: plan
|
|
|
26
26
|
|
|
27
27
|
## Risks
|
|
28
28
|
|
|
29
|
-
- skipping approval or verification would break the
|
|
29
|
+
- skipping approval or verification would break the loopx contract
|
|
30
30
|
|
|
31
31
|
## Verification
|
|
32
32
|
|
package/templates/spec.md
CHANGED
|
@@ -2,11 +2,27 @@
|
|
|
2
2
|
schema_version: 1
|
|
3
3
|
workflow_id: <workflow id>
|
|
4
4
|
stage: clarify
|
|
5
|
+
profile: <profile>
|
|
6
|
+
target_ambiguity_threshold: <target ambiguity threshold>
|
|
7
|
+
max_rounds: <max rounds>
|
|
8
|
+
current_round: 0
|
|
9
|
+
ambiguity_score: 1
|
|
10
|
+
non_goals_resolved: false
|
|
11
|
+
decision_boundaries_resolved: false
|
|
12
|
+
pressure_pass_complete: false
|
|
5
13
|
approval_status: requested
|
|
6
14
|
unresolved_ambiguity_count: 1
|
|
7
15
|
---
|
|
8
16
|
|
|
9
|
-
#
|
|
17
|
+
# loopx Spec: <task name>
|
|
18
|
+
|
|
19
|
+
## Intent
|
|
20
|
+
|
|
21
|
+
- TODO: capture why this work matters.
|
|
22
|
+
|
|
23
|
+
## Desired Outcome
|
|
24
|
+
|
|
25
|
+
- TODO: describe the end state the user actually wants.
|
|
10
26
|
|
|
11
27
|
## Ambiguity List
|
|
12
28
|
|
|
@@ -18,7 +34,7 @@ unresolved_ambiguity_count: 1
|
|
|
18
34
|
|
|
19
35
|
## In Scope
|
|
20
36
|
|
|
21
|
-
- TODO: record the work that belongs in this
|
|
37
|
+
- TODO: record the work that belongs in this loopx run.
|
|
22
38
|
|
|
23
39
|
## Non-Goals
|
|
24
40
|
|
|
@@ -28,6 +44,26 @@ unresolved_ambiguity_count: 1
|
|
|
28
44
|
|
|
29
45
|
- Human approval is required before `clarify -> plan`.
|
|
30
46
|
|
|
47
|
+
## Constraints
|
|
48
|
+
|
|
49
|
+
- TODO: record technical, business, or sequencing constraints.
|
|
50
|
+
|
|
31
51
|
## Success Criteria
|
|
32
52
|
|
|
33
53
|
- TODO: record what makes the run plan-ready.
|
|
54
|
+
|
|
55
|
+
## Assumptions Exposed
|
|
56
|
+
|
|
57
|
+
- TODO: list assumptions that were surfaced and how they were resolved.
|
|
58
|
+
|
|
59
|
+
## Brownfield Evidence vs Inference
|
|
60
|
+
|
|
61
|
+
- TODO: separate what was observed in code/docs from what is still inferred.
|
|
62
|
+
|
|
63
|
+
## Design Direction
|
|
64
|
+
|
|
65
|
+
- TODO: record the preferred shape or option if the task needed design guidance.
|
|
66
|
+
|
|
67
|
+
## Next Handoff Recommendation
|
|
68
|
+
|
|
69
|
+
- default: `plan`
|
package/templates/test-plan.md
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# LoopX Autopilot
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local bounded composition surface for LoopX. Use it when one owner wants the workflow to run end-to-end through clarify, plan, build, and review with the same stage gates still enforced.
|
|
6
|
-
|
|
7
|
-
## Composition
|
|
8
|
-
|
|
9
|
-
`loopx-autopilot` is a wrapper over:
|
|
10
|
-
|
|
11
|
-
- `loopx-clarify`
|
|
12
|
-
- `loopx-plan`
|
|
13
|
-
- `loopx-build`
|
|
14
|
-
- `loopx-review`
|
|
15
|
-
|
|
16
|
-
## Decision Boundary
|
|
17
|
-
|
|
18
|
-
- Use this when the task should stay on the repo-local LoopX path from ambiguity reduction through acceptance.
|
|
19
|
-
- Stop at the first blocked stage. `loopx-autopilot` does not bypass approvals or continue past failed verification.
|
|
20
|
-
|
|
21
|
-
## Must Not Decide Automatically
|
|
22
|
-
|
|
23
|
-
- skipping a stage gate because the downstream task looks obvious
|
|
24
|
-
- switching into a `team` lane or any parallel multi-agent dependency
|
|
25
|
-
- treating CLI helpers as the primary product surface
|
|
26
|
-
|
|
27
|
-
## Notes
|
|
28
|
-
|
|
29
|
-
- `loopx-autopilot` is intentionally bounded. It documents composition over the four repo-local LoopX stages only.
|
|
30
|
-
- The CLI remains supporting runtime and debug tooling, not the main release surface.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Build
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local execution surface for LoopX. Use it to implement an approved plan and capture fresh verification evidence for the current run.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- execution artifacts for the active LoopX run
|
|
10
|
-
- verification evidence tied to the implementation run
|
|
11
|
-
- stage status that shows readiness or blockers for review
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this only after planning is complete and approved.
|
|
16
|
-
- Stop here if execution or verification is incomplete. `loopx-build` can recommend follow-up work, but it does not self-approve review.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- review approval
|
|
21
|
-
- rollback or completion decisions
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- `loopx-build` is the active release execution surface. There is no public `team` execution lane in this repo-local skill set.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Clarify
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local clarify surface for LoopX. Use it to turn a vague request into an execution-ready spec before planning or build work starts.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- a clarify spec under the LoopX workspace
|
|
10
|
-
- an explicit ambiguity list with unresolved items called out
|
|
11
|
-
- stage status that makes the next action visible
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this first when scope, acceptance, constraints, or verification are still unclear.
|
|
16
|
-
- Stop here if unresolved ambiguity remains. `loopx-clarify` does not advance into planning on its own.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- approval to move from clarify into plan
|
|
21
|
-
- implementation details that were not established in the clarify output
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- This is a skill-first surface. Any CLI entrypoints are supporting runtime or debug helpers, not the primary product surface.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Plan
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local planning surface for LoopX. Use it to turn an approved clarify result into a concrete execution package.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- a plan package under the LoopX workspace
|
|
10
|
-
- explicit architecture, execution, and verification guidance
|
|
11
|
-
- stage status that shows whether build is unblocked
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this only after clarify has produced a usable spec.
|
|
16
|
-
- Stop here if the plan package is incomplete or still awaiting approval. `loopx-plan` does not start execution on its own.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- whether to skip straight to implementation without a complete plan
|
|
21
|
-
- whether execution is approved
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- Keep the output artifact-bound and implementation-grounded. The plan should feed `loopx-build` or `loopx-autopilot`, not invent a separate workflow surface.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# LoopX Autopilot
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local bounded composition surface for LoopX. Use it when one owner wants the workflow to run end-to-end through clarify, plan, build, and review with the same stage gates still enforced.
|
|
6
|
-
|
|
7
|
-
## Composition
|
|
8
|
-
|
|
9
|
-
`loopx-autopilot` is a wrapper over:
|
|
10
|
-
|
|
11
|
-
- `loopx-clarify`
|
|
12
|
-
- `loopx-plan`
|
|
13
|
-
- `loopx-build`
|
|
14
|
-
- `loopx-review`
|
|
15
|
-
|
|
16
|
-
## Decision Boundary
|
|
17
|
-
|
|
18
|
-
- Use this when the task should stay on the repo-local LoopX path from ambiguity reduction through acceptance.
|
|
19
|
-
- Stop at the first blocked stage. `loopx-autopilot` does not bypass approvals or continue past failed verification.
|
|
20
|
-
|
|
21
|
-
## Must Not Decide Automatically
|
|
22
|
-
|
|
23
|
-
- skipping a stage gate because the downstream task looks obvious
|
|
24
|
-
- switching into a `team` lane or any parallel multi-agent dependency
|
|
25
|
-
- treating CLI helpers as the primary product surface
|
|
26
|
-
|
|
27
|
-
## Notes
|
|
28
|
-
|
|
29
|
-
- `loopx-autopilot` is intentionally bounded. It documents composition over the four repo-local LoopX stages only.
|
|
30
|
-
- The CLI remains supporting runtime and debug tooling, not the main release surface.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Build
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local execution surface for LoopX. Use it to implement an approved plan and capture fresh verification evidence for the current run.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- execution artifacts for the active LoopX run
|
|
10
|
-
- verification evidence tied to the implementation run
|
|
11
|
-
- stage status that shows readiness or blockers for review
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this only after planning is complete and approved.
|
|
16
|
-
- Stop here if execution or verification is incomplete. `loopx-build` can recommend follow-up work, but it does not self-approve review.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- review approval
|
|
21
|
-
- rollback or completion decisions
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- `loopx-build` is the active release execution surface. There is no public `team` execution lane in this repo-local skill set.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Clarify
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local clarify surface for LoopX. Use it to turn a vague request into an execution-ready spec before planning or build work starts.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- a clarify spec under the LoopX workspace
|
|
10
|
-
- an explicit ambiguity list with unresolved items called out
|
|
11
|
-
- stage status that makes the next action visible
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this first when scope, acceptance, constraints, or verification are still unclear.
|
|
16
|
-
- Stop here if unresolved ambiguity remains. `loopx-clarify` does not advance into planning on its own.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- approval to move from clarify into plan
|
|
21
|
-
- implementation details that were not established in the clarify output
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- This is a skill-first surface. Any CLI entrypoints are supporting runtime or debug helpers, not the primary product surface.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LoopX Plan
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Repo-local planning surface for LoopX. Use it to turn an approved clarify result into a concrete execution package.
|
|
6
|
-
|
|
7
|
-
## Expected Outputs
|
|
8
|
-
|
|
9
|
-
- a plan package under the LoopX workspace
|
|
10
|
-
- explicit architecture, execution, and verification guidance
|
|
11
|
-
- stage status that shows whether build is unblocked
|
|
12
|
-
|
|
13
|
-
## Decision Boundary
|
|
14
|
-
|
|
15
|
-
- Use this only after clarify has produced a usable spec.
|
|
16
|
-
- Stop here if the plan package is incomplete or still awaiting approval. `loopx-plan` does not start execution on its own.
|
|
17
|
-
|
|
18
|
-
## Must Not Decide Automatically
|
|
19
|
-
|
|
20
|
-
- whether to skip straight to implementation without a complete plan
|
|
21
|
-
- whether execution is approved
|
|
22
|
-
|
|
23
|
-
## Notes
|
|
24
|
-
|
|
25
|
-
- Keep the output artifact-bound and implementation-grounded. The plan should feed `loopx-build` or `loopx-autopilot`, not invent a separate workflow surface.
|