@wemuda/launchrail 1.13.0 → 1.15.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.
Files changed (62) hide show
  1. package/README.md +3 -3
  2. package/assets/agents-docs/domain.md +2 -2
  3. package/assets/agents-docs/issue-tracker-github.md +1 -1
  4. package/assets/agents-docs/issue-tracker-linear.md +1 -1
  5. package/assets/ralph.workflow.js +635 -276
  6. package/assets/skills/NOTICE.md +4 -0
  7. package/assets/skills/launchrail/launch/SKILL.md +6 -6
  8. package/assets/skills/launchrail/launch/workflow.md +4 -3
  9. package/assets/skills/launchrail/launch-browser-smoke/SKILL.md +36 -40
  10. package/assets/skills/launchrail/launch-code-review/SKILL.md +1 -1
  11. package/assets/skills/launchrail/launch-design-handoff/SKILL.md +1 -1
  12. package/assets/skills/launchrail/launch-design-validation/SKILL.md +2 -2
  13. package/assets/skills/launchrail/launch-discovery/SKILL.md +2 -2
  14. package/assets/skills/launchrail/launch-grill/SKILL.md +8 -2
  15. package/assets/skills/launchrail/launch-grill/domain-modeling.md +3 -1
  16. package/assets/skills/launchrail/launch-implement/SKILL.md +11 -11
  17. package/assets/skills/launchrail/launch-loop-readiness/SKILL.md +79 -0
  18. package/assets/skills/launchrail/launch-project-alignment/SKILL.md +2 -2
  19. package/assets/skills/launchrail/launch-ralph/SKILL.md +79 -60
  20. package/assets/skills/launchrail/launch-ralph-implement/SKILL.md +9 -8
  21. package/assets/skills/launchrail/launch-resolving-merge-conflicts/SKILL.md +1 -1
  22. package/assets/skills/launchrail/launch-spec/SKILL.md +3 -3
  23. package/assets/skills/launchrail/launch-tickets/SKILL.md +6 -7
  24. package/assets/skills/launchrail/launch-wayfinder/SKILL.md +6 -6
  25. package/dist/commands/add.js +7 -10
  26. package/dist/commands/add.js.map +1 -1
  27. package/dist/commands/doctor.js +84 -8
  28. package/dist/commands/doctor.js.map +1 -1
  29. package/dist/commands/init.js +2 -2
  30. package/dist/commands/init.js.map +1 -1
  31. package/dist/commands/verify.d.ts +13 -3
  32. package/dist/commands/verify.js +24 -8
  33. package/dist/commands/verify.js.map +1 -1
  34. package/dist/index.js +3 -15
  35. package/dist/index.js.map +1 -1
  36. package/dist/lib/adr.d.ts +27 -0
  37. package/dist/lib/adr.js +87 -0
  38. package/dist/lib/adr.js.map +1 -0
  39. package/dist/lib/browser-testing.d.ts +20 -3
  40. package/dist/lib/browser-testing.js +79 -79
  41. package/dist/lib/browser-testing.js.map +1 -1
  42. package/dist/lib/detect.d.ts +2 -0
  43. package/dist/lib/detect.js +3 -0
  44. package/dist/lib/detect.js.map +1 -1
  45. package/dist/lib/manifest.d.ts +12 -1
  46. package/dist/lib/manifest.js +24 -5
  47. package/dist/lib/manifest.js.map +1 -1
  48. package/dist/lib/migrations.js +76 -1
  49. package/dist/lib/migrations.js.map +1 -1
  50. package/dist/lib/project.d.ts +2 -0
  51. package/dist/lib/project.js +2 -1
  52. package/dist/lib/project.js.map +1 -1
  53. package/dist/lib/readiness.d.ts +57 -0
  54. package/dist/lib/readiness.js +129 -0
  55. package/dist/lib/readiness.js.map +1 -0
  56. package/dist/lib/seeds.d.ts +2 -0
  57. package/dist/lib/seeds.js +20 -11
  58. package/dist/lib/seeds.js.map +1 -1
  59. package/package.json +1 -1
  60. package/dist/commands/smoke.d.ts +0 -21
  61. package/dist/commands/smoke.js +0 -171
  62. package/dist/commands/smoke.js.map +0 -1
package/README.md CHANGED
@@ -60,9 +60,10 @@ From there, the day-to-day driver is not the CLI — it's the **`launch` skill**
60
60
  - **`launch-design-handoff`** — the design→code on-ramp: drop a Claude Design export (a zip, a folder, artboards) and it becomes a committed handoff package under `docs/design/` — read against the code and design system, gaps recorded as the grill's agenda — then sized into the loop ([ADR-0024](https://github.com/wemuda/launchrail/blob/master/docs/adr/0024-design-handoff-onramp.md))
61
61
  - **`launch-vision-creation`**, **`launch-discovery`**, **`launch-grill`**, **`launch-research`** — vision, then the divergent landscape scan, the grill (the convergent interview that runs both as the foundation's complexity grill and per-feature before speccing, keeping the glossary and ADRs honest as it goes), and primary-source research
62
62
  - **`launch-wayfinder`**, **`launch-spec`**, **`launch-tickets`**, **`launch-design-validation`** — break big work into decision maps, synthesize the spec, validate it visually, and cut tracer-bullet tickets with blocking edges
63
- - **`launch-browser-smoke`** — drives a real browser journey and leaves a traceable evidence bundle (with the browser-testing module)
63
+ - **`launch-browser-smoke`** — drives the running app in a real browser to see a just-built change working — one-off, from the shell with `agent-browser`, no test suite and no evidence bundle ([ADR-0034](https://github.com/wemuda/launchrail/blob/master/docs/adr/0034-browser-smoke-one-off-driving.md); with the browser-testing module)
64
64
  - **`launch-implement`** — the one door to building: `/launch-implement` drives ready tickets to verified merges through the Ralph loop (a ticket number builds just that one; "the next 5 of spec #2" scopes and caps a run)
65
65
  - **`launch-ralph`**, **`launch-ralph-implement`**, **`launch-code-review`**, **`launch-resolving-merge-conflicts`** — the verification-gated loop engine behind that door, installed by `init`
66
+ - **`launch-loop-readiness`** — checks and tunes a repo for the loop: measures the gates, sets the fast per-land gate, parallelizes the e2e specs, shares caches for parallel builders, narrows CI triggers, creates the tracker labels, adds hosted-session setup ([ADR-0033](https://github.com/wemuda/launchrail/blob/master/docs/adr/0033-loop-readiness.md)); `doctor` shows the same findings as warn-only readiness lines
66
67
 
67
68
  The CLI is the maintenance surface you return to between sessions:
68
69
 
@@ -73,7 +74,6 @@ npx @wemuda/launchrail sync # apply managed updates + run migra
73
74
  npx @wemuda/launchrail add browser-testing # enable a module
74
75
  npx @wemuda/launchrail doctor # repository and environment checks
75
76
  npx @wemuda/launchrail verify # deterministic verification gate
76
- npx @wemuda/launchrail smoke # scaffold a browser-smoke evidence bundle
77
77
  npx @wemuda/launchrail eject <module|file> # opt out of management (vendor mode: --all)
78
78
  ```
79
79
 
@@ -147,7 +147,7 @@ The toolchain is stable and versioned. The full surface — `init`/`doctor`, the
147
147
  See [CONTRIBUTING.md](https://github.com/wemuda/launchrail/blob/master/CONTRIBUTING.md). The short version:
148
148
 
149
149
  - Commits follow [Conventional Commits](https://www.conventionalcommits.org/) (`type(scope): summary`); see [ADR-0002](https://github.com/wemuda/launchrail/blob/master/docs/adr/0002-conventional-commits.md). Releases and the changelog are generated from them ([docs/releasing.md](https://github.com/wemuda/launchrail/blob/master/docs/releasing.md)).
150
- - Meaningful decisions are recorded as ADRs in [docs/adr/](https://github.com/wemuda/launchrail/tree/master/docs/adr/).
150
+ - Meaningful decisions are recorded as ADRs in [docs/adr/](https://github.com/wemuda/launchrail/tree/master/docs/adr/); the registry index [docs/adr/README.md](https://github.com/wemuda/launchrail/blob/master/docs/adr/README.md) says which are live.
151
151
  - The agent operating contract lives in [AGENTS.md](https://github.com/wemuda/launchrail/blob/master/AGENTS.md).
152
152
  - Security issues go through [SECURITY.md](https://github.com/wemuda/launchrail/blob/master/SECURITY.md), not public issues.
153
153
 
@@ -11,7 +11,7 @@ How the workflow skills should consume this repo's domain documentation when exp
11
11
 
12
12
  - **`CONTEXT.md`** at the repo root, or
13
13
  - **`CONTEXT-MAP.md`** at the repo root if it exists — it points at one `CONTEXT.md` per context. Read each one relevant to the topic.
14
- - **`docs/adr/`** — read ADRs that touch the area you're about to work in. In multi-context repos, also check `src/<context>/docs/adr/` for context-scoped decisions.
14
+ - **`docs/adr/README.md`** — the decision registry. Read its index first, then open only the ADRs that touch the area you're about to work in. An ADR records a decision, not the current system — never take one as evidence that a component exists or still works as described; verify against the code. In multi-context repos, also check `src/<context>/docs/adr/` for context-scoped decisions.
15
15
 
16
16
  If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `launch-grill` skill's domain-modeling discipline creates them lazily when terms or decisions actually get resolved.
17
17
 
@@ -44,7 +44,7 @@ Multi-context repo (presence of `CONTEXT-MAP.md` at the root):
44
44
  └── docs/adr/
45
45
  ```
46
46
 
47
- ADRs use the project's own format — copy `docs/adr/0000-template.md` and number sequentially (`NNNN-short-slug.md`).
47
+ ADRs use the project's own format — copy `docs/adr/0000-template.md`, take the next free number (`NNNN-short-slug.md`), and add the record's row to the registry index (`docs/adr/README.md`) in the same commit.
48
48
 
49
49
  ## Use the glossary's vocabulary
50
50
 
@@ -28,7 +28,7 @@ The Launchrail workflow's label vocabulary — the skills quote these exact stri
28
28
  - **`ready-for-agent`** — an implementable ticket the implementation loop may pick up. Only tickets wear it; the loop's frontier is computed from this label alone and cannot tell prose from work.
29
29
  - **`needs-info`** — a parked ticket, carrying its failure history; a human unblocks it.
30
30
  - **`spec`** — a spec or research note published to the tracker. Never `ready-for-agent`.
31
- - **`ralph:building`** — claimed by an implementer; removed when its PR merges.
31
+ - **`ralph:building`** — claimed by an implementer; removed when the loop lands it.
32
32
  - **`wayfinder:map`** / **`wayfinder:<type>`** — a wayfinder map and its decision tickets (see below).
33
33
 
34
34
  ## Relationships — native, not prose
@@ -29,7 +29,7 @@ The Launchrail workflow's label vocabulary — the skills quote these exact stri
29
29
  - **`ready-for-agent`** — an implementable ticket the implementation loop may pick up. Only tickets wear it; the loop's frontier is computed from this label alone and cannot tell prose from work.
30
30
  - **`needs-info`** — a parked ticket, carrying its failure history; a human unblocks it.
31
31
  - **`spec`** — a spec or research note published to the tracker. Never `ready-for-agent`.
32
- - **`ralph:building`** — claimed by an implementer; removed when its PR merges.
32
+ - **`ralph:building`** — claimed by an implementer; removed when the loop lands it.
33
33
  - **`wayfinder:map`** / **`wayfinder:<type>`** — a wayfinder map and its decision tickets (see below).
34
34
 
35
35
  ## When a skill says "publish to the issue tracker"