@rungs/cli 0.2.0 → 0.3.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 +28 -15
- package/dist/cli.js +411 -46
- package/dist/cli.js.map +4 -4
- package/modules/ci/files/{{workflow_path}} +9 -1
- package/modules/ci/module.toml +1 -1
- package/modules/concurrency/files/docs/concurrent-sessions.md +11 -5
- package/modules/concurrency/module.toml +1 -1
- package/modules/release/gates/release.toml +29 -4
- package/modules/release/module.toml +1 -1
- package/modules/release/skills/cut-release/SKILL.md +4 -4
- package/package.json +1 -1
- package/src/backlog.ts +17 -2
- package/src/check.ts +9 -2
- package/src/cli.ts +109 -0
- package/src/concurrency.ts +412 -0
- package/src/engines.ts +22 -3
- package/src/engines2.ts +42 -11
- package/src/engines3.ts +4 -3
- package/src/lifecycle.ts +9 -4
- package/src/selftest.ts +16 -0
package/README.md
CHANGED
|
@@ -138,6 +138,10 @@ reported as diverged and left alone.
|
|
|
138
138
|
| `rungs setup git [path]` | Install the merge drivers `.gitattributes` names |
|
|
139
139
|
| `rungs modules` | List the set and audit the manifests |
|
|
140
140
|
| `rungs backlog archive` | Move finished items to `archive/`, repointing every link that cites them |
|
|
141
|
+
| `rungs session start <branch>` | Cut a branch and worktree from the last **verified** merge, not the tip |
|
|
142
|
+
| `rungs preflight [path]` | Did the integration branch change files *you* changed? |
|
|
143
|
+
| `rungs land <branch>` | Merge → verify the merged tree → advance with a compare-and-swap, or refuse and park it |
|
|
144
|
+
| `rungs worktrees [path]` | Which worktrees are merged, prunable, or merged and still dirty |
|
|
141
145
|
|
|
142
146
|
| Option | Effect |
|
|
143
147
|
| --- | --- |
|
|
@@ -169,6 +173,10 @@ you when you are installing above your level.
|
|
|
169
173
|
| **4** docs that restate each other | `doc-authority` |
|
|
170
174
|
| **5** 5+ concurrent sessions | `concurrency` |
|
|
171
175
|
|
|
176
|
+
The last four commands are the `concurrency` loop. They drive git, which nothing else in rungs
|
|
177
|
+
does — [ADR-0009](docs/decisions/ADR-0009-rungs-drives-git.md) sets the rules they obey: verify
|
|
178
|
+
before you advance, never destroy (only refuse), and never hold the integration branch.
|
|
179
|
+
|
|
172
180
|
`concurrency` refuses to install without `--confirm-threshold`, because below
|
|
173
181
|
five simultaneous sessions every mechanism in it costs more than it returns.
|
|
174
182
|
Selling rung 5 to a rung-1 repo is the most likely way this tool does harm.
|
|
@@ -212,22 +220,27 @@ Four promises that shape everything else:
|
|
|
212
220
|
|
|
213
221
|
## Status
|
|
214
222
|
|
|
215
|
-
**
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
223
|
+
**Current release: v0.3.1** — that number is checked against [`package.json`](package.json) by the
|
|
224
|
+
`docs-version-claims` gate, so this sentence cannot drift from what ships — and the gate fails if
|
|
225
|
+
the sentence is reworded out of existence, because a claim nothing checks any more should not look
|
|
226
|
+
the same as a claim that passes.
|
|
227
|
+
|
|
228
|
+
It deliberately does **not** say "and it is on npm". Whether this version is tagged and published
|
|
229
|
+
is a fact about the registry, not about the manifest, and it was wrong here for two days once
|
|
230
|
+
already.
|
|
220
231
|
|
|
221
|
-
|
|
222
|
-
[the versions page](https://docs.rungscli.com/versions/)
|
|
223
|
-
|
|
224
|
-
|
|
232
|
+
Whether a release is **pending**, and what npm currently serves, live on
|
|
233
|
+
[the versions page](https://docs.rungscli.com/versions/) — the one place that tracks them. This
|
|
234
|
+
file and the roadmap both carried their own copy and both said `v0.1.2` for two days after v0.1.3
|
|
235
|
+
went to npm. Cutting the next one follows the [release runbook](docs/design/release-runbook.md).
|
|
225
236
|
|
|
226
|
-
rungs is installed in its own repo and its gates run on every change —
|
|
227
|
-
0 fail (`rungs check`, 2026-08-17). A clean consumer has
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
237
|
+
rungs is installed in its own repo and its 29 gates run on every change — 29 pass,
|
|
238
|
+
0 fail (`rungs check`, 2026-08-17). A clean consumer has installed from the **public
|
|
239
|
+
registry** and run the binary, and another completed the doctor → init → add → check →
|
|
240
|
+
render → upgrade/eject journey from a packed artifact. Detection is
|
|
241
|
+
[verified against all four source repos](docs/design/detection-verification.md).
|
|
242
|
+
Not yet done: a cross-platform release matrix — only Windows is verified — and writing
|
|
243
|
+
to a repo rungs did not scaffold.
|
|
231
244
|
|
|
232
245
|
Expect module *contents* to move. The command surface is settled.
|
|
233
246
|
|
|
@@ -248,7 +261,7 @@ nobody paid for does not ship.
|
|
|
248
261
|
| [`docs/design/`](docs/design/README.md) | Product brief, module catalogue, verification |
|
|
249
262
|
| [`docs/decisions/`](docs/decisions/README.md) | ADRs |
|
|
250
263
|
| [`modules/`](modules/README.md) | The fifteen modules |
|
|
251
|
-
| [`src/`](src/) | The CLI, ~
|
|
264
|
+
| [`src/`](src/) | The CLI, ~5,100 lines (`wc -l src/*.ts`, 2026-08-17; held within 10% by `docs-version-claims`) |
|
|
252
265
|
|
|
253
266
|
## Licence
|
|
254
267
|
|