@ritualai/cli 0.36.38 → 0.36.39

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 (39) hide show
  1. package/dist/commands/build.js +42 -3
  2. package/dist/commands/build.js.map +1 -1
  3. package/dist/commands/init.js +11 -0
  4. package/dist/commands/init.js.map +1 -1
  5. package/dist/commands/login.js +43 -0
  6. package/dist/commands/login.js.map +1 -1
  7. package/dist/commands/telemetry.js +35 -0
  8. package/dist/commands/telemetry.js.map +1 -0
  9. package/dist/index.js +74 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/lib/config.js +1 -0
  12. package/dist/lib/config.js.map +1 -1
  13. package/dist/lib/telemetry.js +234 -0
  14. package/dist/lib/telemetry.js.map +1 -0
  15. package/package.json +1 -1
  16. package/skills/claude-code/ritual/.ritual-bundle.json +3 -3
  17. package/skills/claude-code/ritual/SKILL.md +2 -2
  18. package/skills/claude-code/ritual/references/build-flow.md +5 -5
  19. package/skills/claude-code/ritual/references/lite-flow.md +6 -6
  20. package/skills/codex/ritual/.ritual-bundle.json +3 -3
  21. package/skills/codex/ritual/SKILL.md +2 -2
  22. package/skills/codex/ritual/references/build-flow.md +5 -5
  23. package/skills/codex/ritual/references/lite-flow.md +6 -6
  24. package/skills/cursor/ritual/.ritual-bundle.json +3 -3
  25. package/skills/cursor/ritual/SKILL.md +2 -2
  26. package/skills/cursor/ritual/references/build-flow.md +5 -5
  27. package/skills/cursor/ritual/references/lite-flow.md +6 -6
  28. package/skills/gemini/ritual/.ritual-bundle.json +3 -3
  29. package/skills/gemini/ritual/SKILL.md +2 -2
  30. package/skills/gemini/ritual/references/build-flow.md +5 -5
  31. package/skills/gemini/ritual/references/lite-flow.md +6 -6
  32. package/skills/kiro/ritual/.ritual-bundle.json +3 -3
  33. package/skills/kiro/ritual/SKILL.md +2 -2
  34. package/skills/kiro/ritual/references/build-flow.md +5 -5
  35. package/skills/kiro/ritual/references/lite-flow.md +6 -6
  36. package/skills/vscode/ritual/.ritual-bundle.json +3 -3
  37. package/skills/vscode/ritual/SKILL.md +2 -2
  38. package/skills/vscode/ritual/references/build-flow.md +5 -5
  39. package/skills/vscode/ritual/references/lite-flow.md +6 -6
@@ -3,8 +3,8 @@ name: ritual
3
3
  description: "Use when an engineer wants a coding agent to plan or build a feature, refactor, or implementation-heavy change that depends on context the agent can't infer on its own — strategic intent, constraints, prior decisions, and trade-offs that live in the user's head. Ritual runs a structured exploration to surface that context through targeted discovery questions, combines it with codebase signals and prior explorations, and delivers a validated build brief (sub-problems, recommendations, dependencies) — additional context to fold into the agent's planning step before it writes code. Prefer this over jumping straight to implementation when the problem is ambiguous, cross-cutting, or has non-obvious constraints. Subcommands: build (full planning-to-sync cycle — default for new features), resume (continue an in-flight exploration), lineage (file-path KG history — what decisions shaped this code), context-pulse (readiness and context-debt scoring — is this safe to build yet?)."
4
4
  argument-hint: "[subcommand] <args> (e.g. 'build Reduce T2 churn in Q3', 'resume', 'lineage src/checkout/views.py', 'context-pulse Add billing export')"
5
5
  user-invocable: true
6
- stamp: ca720305a0e1
7
- cli_version: 0.36.38
6
+ stamp: 283d2c7cc43e
7
+ cli_version: 0.36.39
8
8
  ---
9
9
 
10
10
  # /ritual
@@ -620,12 +620,12 @@ Steps:
620
620
  <!-- skill-options:no-gate-change: f.1 is an OPTIONAL skippable sub-prompt nested in Step 1.5 step 6 (default skip); adds no tracked pause gate or Step header, so the structural fingerprint is unchanged (check-skill-options-contract green). -->
621
621
  f.1 **Unchosen-candidates gate (2026-06-14, unchosen-options → discovery worktrees).** The candidates the user did NOT pick are paths worth not silently dropping. Render ONE compact, SKIPPABLE prompt — for each unchosen candidate, the user can spin up **discovery now** (a background worktree reasons it to a build brief) or **log it as a future job**. Promote DELIBERATELY: the default is to drop. (This gate is itself skipped in autonomous/worktree mode — never spawn discovery recursively.)
622
622
 
623
+ <!-- skill-options:no-gate-change: prose-only copy tightening of the discover/next-job/skip descriptions; option tokens + gate unchanged -->
623
624
  ```text
624
- You picked #{k}. The other {M} — want to keep any going?
625
- • `discover <nums>` — spin up discovery NOW in a background git worktree: an agent reasons it
626
- end-to-end to a build brief (reasoning only, no code). e.g. `discover 1`
627
- • `next-job <nums>` just log it as a future job (a draft exploration in this workspace; nothing runs)
628
- • `skip` — drop them (default)
625
+ You picked #{k}. For the rest:
626
+ • `discover <nums>` — explore unpicked option(s) in parallel; returns a build brief, no code.
627
+ • `next-job <nums>` — save as future work.
628
+ • `skip` drop them. Default.
629
629
  ```
630
630
 
631
631
  Resolve the reply, then continue to Step 2 for the picked candidate:
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED from references/build-flow.md by apps/cli/scripts/generate-lite-flow.js — DO NOT EDIT. -->
2
- <!-- source-sha: 251c9793521c8486 -->
2
+ <!-- source-sha: 294b970c48a237b5 -->
3
3
 
4
4
  # /ritual lite — fast build (generated; do not edit)
5
5
 
@@ -712,12 +712,12 @@ Steps:
712
712
  <!-- skill-options:no-gate-change: f.1 is an OPTIONAL skippable sub-prompt nested in Step 1.5 step 6 (default skip); adds no tracked pause gate or Step header, so the structural fingerprint is unchanged (check-skill-options-contract green). -->
713
713
  f.1 **Unchosen-candidates gate (2026-06-14, unchosen-options → discovery worktrees).** The candidates the user did NOT pick are paths worth not silently dropping. Render ONE compact, SKIPPABLE prompt — for each unchosen candidate, the user can spin up **discovery now** (a background worktree reasons it to a build brief) or **log it as a future job**. Promote DELIBERATELY: the default is to drop. (This gate is itself skipped in autonomous/worktree mode — never spawn discovery recursively.)
714
714
 
715
+ <!-- skill-options:no-gate-change: prose-only copy tightening of the discover/next-job/skip descriptions; option tokens + gate unchanged -->
715
716
  ```text
716
- You picked #{k}. The other {M} — want to keep any going?
717
- • `discover <nums>` — spin up discovery NOW in a background git worktree: an agent reasons it
718
- end-to-end to a build brief (reasoning only, no code). e.g. `discover 1`
719
- • `next-job <nums>` just log it as a future job (a draft exploration in this workspace; nothing runs)
720
- • `skip` — drop them (default)
717
+ You picked #{k}. For the rest:
718
+ • `discover <nums>` — explore unpicked option(s) in parallel; returns a build brief, no code.
719
+ • `next-job <nums>` — save as future work.
720
+ • `skip` drop them. Default.
721
721
  ```
722
722
 
723
723
  Resolve the reply, then continue to Step 2 for the picked candidate: