@rungs/cli 0.3.1 → 0.4.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 +6 -6
- package/dist/cli.js +2184 -478
- package/dist/cli.js.map +4 -4
- package/modules/README.md +25 -3
- package/modules/adr/files/{{path}}/README.md +1 -1
- package/modules/adr/gates/adr.toml +1 -1
- package/modules/adr/module.toml +1 -1
- package/modules/audit/fragments/AGENTS.md +2 -2
- package/modules/audit/module.toml +1 -1
- package/modules/audit/skills/assess/SKILL.md +1 -1
- package/modules/backlog/files/docs/{{root}}/BACKLOG.md +1 -1
- package/modules/backlog/files/docs/{{root}}/README.md +2 -2
- package/modules/backlog/files/docs/{{root}}/archive/README.md +1 -1
- package/modules/backlog/files/docs/{{root}}/items/README.md +1 -1
- package/modules/backlog/fragments/AGENTS.md +2 -2
- package/modules/backlog/module.toml +1 -1
- package/modules/backlog/skills/work-item/SKILL.md +1 -1
- package/modules/ci/files/{{workflow_path}} +3 -3
- package/modules/ci/module.toml +1 -1
- package/modules/concurrency/files/docs/concurrent-sessions.md +66 -18
- package/modules/concurrency/fragments/AGENTS.md +5 -4
- package/modules/concurrency/fragments/gitattributes +2 -2
- package/modules/concurrency/gates/concurrency.toml +3 -3
- package/modules/concurrency/module.toml +1 -1
- package/modules/doc-authority/files/{{registry_path}} +1 -1
- package/modules/doc-authority/module.toml +1 -1
- package/modules/findings/files/docs/{{backlog.root}}/FINDINGS.md +1 -1
- package/modules/findings/gates/findings.toml +5 -0
- package/modules/findings/module.toml +1 -1
- package/modules/findings/skills/record-finding/SKILL.md +1 -1
- package/modules/gates/files/.ai/gates.toml +1 -1
- package/modules/gates/fragments/AGENTS.md +6 -5
- package/modules/gates/module.toml +1 -1
- package/modules/instructions/files/.ai/rules/README.md +2 -2
- package/modules/instructions/files/.ai/rungs.mjs +52 -0
- package/modules/instructions/files/AGENTS.md +4 -2
- package/modules/instructions/files/CLAUDE.md +1 -1
- package/modules/instructions/fragments/AGENTS.md +2 -2
- package/modules/instructions/gates/core.toml +2 -2
- package/modules/instructions/module.toml +1 -1
- package/modules/release/files/{{changelog_dir}}/CONSUMED_THROUGH +1 -0
- package/modules/release/gates/release.toml +169 -17
- package/modules/release/module.toml +9 -5
- package/modules/release/skills/cut-release/SKILL.md +43 -15
- package/modules/session/files/{{archive}}/README.md +1 -1
- package/modules/session/files/{{path}} +2 -2
- package/modules/session/module.toml +1 -1
- package/modules/specs/files/{{path}}/README.md +2 -2
- package/modules/specs/module.toml +1 -1
- package/modules/workflows/module.toml +1 -1
- package/modules/workflows/rules/planning-tiers.md +1 -1
- package/package.json +3 -2
- package/src/add.ts +204 -48
- package/src/backlog.ts +354 -48
- package/src/check.ts +54 -33
- package/src/cli.ts +196 -69
- package/src/concurrency.ts +628 -42
- package/src/detect.ts +11 -3
- package/src/emitted-path.ts +274 -0
- package/src/engine-table.ts +66 -0
- package/src/engines.ts +18 -29
- package/src/engines2.ts +403 -20
- package/src/engines3.ts +111 -20
- package/src/explain.ts +3 -7
- package/src/help.ts +43 -0
- package/src/lifecycle.ts +86 -27
- package/src/manifest.ts +41 -5
- package/src/render.ts +106 -21
- package/src/selftest.ts +87 -10
- package/src/storage-key.ts +20 -0
- package/src/substitute.ts +47 -5
- package/src/text.ts +11 -0
- package/src/types.ts +16 -3
- package/src/version-source.ts +144 -0
package/README.md
CHANGED
|
@@ -151,6 +151,7 @@ reported as diverged and left alone.
|
|
|
151
151
|
| `--set <module>.<param>=<value>` | `add` / `init`: override a module parameter. Repeatable, and `--set m.p=v` works too |
|
|
152
152
|
| `--confirm-threshold` | `add`: install a module whose rung is above this repo |
|
|
153
153
|
| `--confirm-paradigm` | `add`: install a module this repo already solves another way |
|
|
154
|
+
| `--confirm-conflict` | `add`: install a module that declares a conflict with one already there |
|
|
154
155
|
| `--apply` | `upgrade`: write the changes rather than preview them |
|
|
155
156
|
| `--fast` / `--full` | `check`: pick the gate tier, as the positional also does |
|
|
156
157
|
| `--copilot` | Also emit Copilot instruction files |
|
|
@@ -220,7 +221,7 @@ Four promises that shape everything else:
|
|
|
220
221
|
|
|
221
222
|
## Status
|
|
222
223
|
|
|
223
|
-
**Current release: v0.
|
|
224
|
+
**Current release: v0.4.0** — that number is checked against [`package.json`](package.json) by the
|
|
224
225
|
`docs-version-claims` gate, so this sentence cannot drift from what ships — and the gate fails if
|
|
225
226
|
the sentence is reworded out of existence, because a claim nothing checks any more should not look
|
|
226
227
|
the same as a claim that passes.
|
|
@@ -234,13 +235,12 @@ Whether a release is **pending**, and what npm currently serves, live on
|
|
|
234
235
|
file and the roadmap both carried their own copy and both said `v0.1.2` for two days after v0.1.3
|
|
235
236
|
went to npm. Cutting the next one follows the [release runbook](docs/design/release-runbook.md).
|
|
236
237
|
|
|
237
|
-
rungs is installed in its own repo and its
|
|
238
|
-
0 fail (`rungs check`, 2026-
|
|
238
|
+
rungs is installed in its own repo and its 30 gates run on every change — 30 pass,
|
|
239
|
+
0 fail (`rungs check`, 2026-09-05). A clean consumer has installed from the **public
|
|
239
240
|
registry** and run the binary, and another completed the doctor → init → add → check →
|
|
240
241
|
render → upgrade/eject journey from a packed artifact. Detection is
|
|
241
242
|
[verified against all four source repos](docs/design/detection-verification.md).
|
|
242
|
-
Not yet done:
|
|
243
|
-
to a repo rungs did not scaffold.
|
|
243
|
+
Not yet done: writing to a maintained repo rungs did not scaffold.
|
|
244
244
|
|
|
245
245
|
Expect module *contents* to move. The command surface is settled.
|
|
246
246
|
|
|
@@ -261,7 +261,7 @@ nobody paid for does not ship.
|
|
|
261
261
|
| [`docs/design/`](docs/design/README.md) | Product brief, module catalogue, verification |
|
|
262
262
|
| [`docs/decisions/`](docs/decisions/README.md) | ADRs |
|
|
263
263
|
| [`modules/`](modules/README.md) | The fifteen modules |
|
|
264
|
-
| [`src/`](src/) | The CLI, ~
|
|
264
|
+
| [`src/`](src/) | The CLI, ~7,847 lines (`wc -l src/*.ts`, 2026-09-05; held within 10% by `docs-version-claims`) |
|
|
265
265
|
|
|
266
266
|
## Licence
|
|
267
267
|
|