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