@xiongxianfei/rigorloop 0.1.5 → 0.2.0
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 +107 -2
- package/dist/bin/rigorloop.js +564 -165
- package/dist/lib/adapters.js +50 -0
- package/dist/lib/lockfile.js +196 -29
- package/dist/metadata/adapter-artifacts-v0.2.0.json +30 -0
- package/dist/metadata/releases.json +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,110 @@
|
|
|
1
1
|
# @xiongxianfei/rigorloop
|
|
2
2
|
|
|
3
|
-
RigorLoop CLI.
|
|
3
|
+
RigorLoop CLI for repository-local AI-assisted software delivery.
|
|
4
4
|
|
|
5
|
-
This package exposes the `rigorloop` binary for approved CLI workflows such as
|
|
5
|
+
This package exposes the `rigorloop` binary for approved CLI workflows such as adapter initialization and change metadata scaffolding. Adapter archives remain verified GitHub release artifacts; they are not bundled into the npm package.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
Run directly with `npx`; no install step is required:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @xiongxianfei/rigorloop@latest --help
|
|
13
|
+
npx @xiongxianfei/rigorloop@latest version
|
|
14
|
+
npx @xiongxianfei/rigorloop@latest init --adapter codex
|
|
15
|
+
npx @xiongxianfei/rigorloop@latest init --adapter claude
|
|
16
|
+
npx @xiongxianfei/rigorloop@latest init --adapter opencode
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Use a pinned version when you want reproducible setup:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter codex
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Install as a project-local development dependency:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install --save-dev @xiongxianfei/rigorloop
|
|
29
|
+
npx rigorloop --help
|
|
30
|
+
npx rigorloop init --adapter codex
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Install globally only if you want a machine-wide `rigorloop` command:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install --global @xiongxianfei/rigorloop
|
|
37
|
+
rigorloop --help
|
|
38
|
+
rigorloop init --adapter codex
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Commands
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
rigorloop --help
|
|
45
|
+
rigorloop version
|
|
46
|
+
rigorloop init --adapter codex|claude|opencode [--from-archive <path>] [--dry-run] [--json]
|
|
47
|
+
rigorloop new-change <change-id> --title <title> [--dry-run] [--json]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Adapter Install
|
|
51
|
+
|
|
52
|
+
Initialize an adapter from the verified official release archive:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter codex --json
|
|
56
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter claude --json
|
|
57
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter opencode --json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Preview the write plan without mutating files:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter opencode --dry-run --json
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Use `--from-archive` when you already downloaded the matching official archive, or when Node `fetch()` cannot reach GitHub from your network:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter codex --from-archive ./rigorloop-adapter-codex-v0.1.5.zip --json
|
|
70
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter claude --from-archive ./rigorloop-adapter-claude-v0.1.5.zip --json
|
|
71
|
+
npx @xiongxianfei/rigorloop@0.1.5 init --adapter opencode --from-archive ./rigorloop-adapter-opencode-v0.1.5.zip --json
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The install command writes repository-local RigorLoop files, verifies the selected archive before extraction, and verifies the installed tree before reporting success. Runtime roots are adapter-specific:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
codex: .agents/skills
|
|
78
|
+
claude: .claude/skills
|
|
79
|
+
opencode: .opencode/skills and .opencode/commands when command aliases are declared
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Network installs use Node `fetch()`. If download fails in a proxied environment, JSON output reports bounded diagnostics such as adapter name, release version, trusted archive URL, detected proxy environment variable names, Node env-proxy status, and failure class. It does not print proxy credentials or raw proxy values. On Node versions that support env-proxy, enable it with `NODE_USE_ENV_PROXY=1`, `NODE_OPTIONS=--use-env-proxy`, or `node --use-env-proxy`; otherwise use the `--from-archive` fallback.
|
|
83
|
+
|
|
84
|
+
## Change Metadata Scaffold
|
|
85
|
+
|
|
86
|
+
Create a new change metadata scaffold:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
npx @xiongxianfei/rigorloop@0.1.5 new-change my-change --title "Describe the change" --json
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Preview the scaffold first:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
npx @xiongxianfei/rigorloop@0.1.5 new-change my-change --title "Describe the change" --dry-run --json
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
`new-change` creates `docs/changes/<change-id>/change.yaml`. It does not claim that proposal, spec, review, verification, or PR readiness is complete.
|
|
99
|
+
|
|
100
|
+
## Version Guidance
|
|
101
|
+
|
|
102
|
+
Use `@latest` for manual exploration. Use an explicit version such as `@0.1.5` for CI, onboarding docs, and repeatable agent setup.
|
|
103
|
+
|
|
104
|
+
## Source of Truth
|
|
105
|
+
|
|
106
|
+
npm is the CLI delivery channel. The canonical workflow sources, skills, specs, schemas, and release records live in the GitHub repository:
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
https://github.com/xiongxianfei/rigorloop
|
|
110
|
+
```
|