@mmnto/cli 1.121.0 → 1.123.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 (73) hide show
  1. package/dist/artifact-vocabulary.d.ts +23 -0
  2. package/dist/artifact-vocabulary.d.ts.map +1 -0
  3. package/dist/artifact-vocabulary.js +23 -0
  4. package/dist/artifact-vocabulary.js.map +1 -0
  5. package/dist/commands/config-drift.test.js +89 -1
  6. package/dist/commands/config-drift.test.js.map +1 -1
  7. package/dist/commands/init-templates.d.ts +6 -6
  8. package/dist/commands/init-templates.d.ts.map +1 -1
  9. package/dist/commands/init-templates.js +8 -7
  10. package/dist/commands/init-templates.js.map +1 -1
  11. package/dist/commands/init.test.js +18 -5
  12. package/dist/commands/init.test.js.map +1 -1
  13. package/dist/commands/install-hooks.d.ts.map +1 -1
  14. package/dist/commands/install-hooks.js +241 -17
  15. package/dist/commands/install-hooks.js.map +1 -1
  16. package/dist/commands/install-hooks.test.js +1019 -23
  17. package/dist/commands/install-hooks.test.js.map +1 -1
  18. package/dist/commands/legs.d.ts +259 -0
  19. package/dist/commands/legs.d.ts.map +1 -0
  20. package/dist/commands/legs.js +623 -0
  21. package/dist/commands/legs.js.map +1 -0
  22. package/dist/commands/legs.test.d.ts +20 -0
  23. package/dist/commands/legs.test.d.ts.map +1 -0
  24. package/dist/commands/legs.test.js +1004 -0
  25. package/dist/commands/legs.test.js.map +1 -0
  26. package/dist/commands/pre-push-gate-matrix.test.js +14 -0
  27. package/dist/commands/pre-push-gate-matrix.test.js.map +1 -1
  28. package/dist/commands/review-fan.d.ts +40 -1
  29. package/dist/commands/review-fan.d.ts.map +1 -1
  30. package/dist/commands/review-fan.js +108 -3
  31. package/dist/commands/review-fan.js.map +1 -1
  32. package/dist/commands/review-fan.test.js +444 -6
  33. package/dist/commands/review-fan.test.js.map +1 -1
  34. package/dist/commands/shield-covariate.test.js +19 -2
  35. package/dist/commands/shield-covariate.test.js.map +1 -1
  36. package/dist/commands/shield-nonreview.test.js +140 -1
  37. package/dist/commands/shield-nonreview.test.js.map +1 -1
  38. package/dist/commands/shield.d.ts.map +1 -1
  39. package/dist/commands/shield.js +53 -1
  40. package/dist/commands/shield.js.map +1 -1
  41. package/dist/commands/spec-cli-wiring.test.d.ts +19 -0
  42. package/dist/commands/spec-cli-wiring.test.d.ts.map +1 -0
  43. package/dist/commands/spec-cli-wiring.test.js +90 -0
  44. package/dist/commands/spec-cli-wiring.test.js.map +1 -0
  45. package/dist/commands/spec-templates.d.ts +18 -0
  46. package/dist/commands/spec-templates.d.ts.map +1 -1
  47. package/dist/commands/spec-templates.js +21 -0
  48. package/dist/commands/spec-templates.js.map +1 -1
  49. package/dist/commands/spec.d.ts +168 -1
  50. package/dist/commands/spec.d.ts.map +1 -1
  51. package/dist/commands/spec.js +448 -7
  52. package/dist/commands/spec.js.map +1 -1
  53. package/dist/commands/spec.test.js +903 -20
  54. package/dist/commands/spec.test.js.map +1 -1
  55. package/dist/git.d.ts +19 -0
  56. package/dist/git.d.ts.map +1 -1
  57. package/dist/git.js +13 -4
  58. package/dist/git.js.map +1 -1
  59. package/dist/index.js +47 -2
  60. package/dist/index.js.map +1 -1
  61. package/dist/services/run-artifacts.d.ts +12 -1
  62. package/dist/services/run-artifacts.d.ts.map +1 -1
  63. package/dist/services/run-artifacts.js +48 -3
  64. package/dist/services/run-artifacts.js.map +1 -1
  65. package/dist/services/run-artifacts.test.js +97 -1
  66. package/dist/services/run-artifacts.test.js.map +1 -1
  67. package/dist/utils.d.ts +22 -3
  68. package/dist/utils.d.ts.map +1 -1
  69. package/dist/utils.js +4 -0
  70. package/dist/utils.js.map +1 -1
  71. package/dist/utils.test.js +65 -1
  72. package/dist/utils.test.js.map +1 -1
  73. package/package.json +2 -2
@@ -3041,11 +3041,24 @@ describe('Distributed skill constants match source-of-truth (mmnto-ai/totem#1890
3041
3041
  // + the do-not-alter marker into the canonical skill content. v1.1 added the
3042
3042
  // additive ADMISSION form under the mmnto-ai/totem#2473 design (operator-
3043
3043
  // approved 2026-08-14) — this pin fired on that amendment exactly as
3044
- // intended, and was updated WITH the spec amendment, never around it.
3045
- it('REVIEW_LOOP_SKILL_CONTENT carries the exact covariate line format v1.1 contract (both shapes)', () => {
3046
- expect(REVIEW_LOOP_SKILL_CONTENT).toContain('local-lane: <verdictHash8> round=<n> settled=<true|false> lanes=<completed>/<attempted>');
3047
- expect(REVIEW_LOOP_SKILL_CONTENT).toContain('local-lane: not-applicable (<reason>) recorded=<recordHash8> at=<createdAt>');
3048
- expect(REVIEW_LOOP_SKILL_CONTENT).toContain('covariate line format v1.1 do not alter without a spec amendment');
3044
+ // intended, and was updated WITH the spec amendment, never around it. v1.2
3045
+ // (mmnto-ai/totem#2698) appends the `leg:` field to BOTH shapes and adds the
3046
+ // `local-lane: none` head for a lineage with a leg deposit and no review
3047
+ // artifact; the same rule applied — the pin moved with the `.totem/specs/2473.md`
3048
+ // v1.2 clause, never around it.
3049
+ it('REVIEW_LOOP_SKILL_CONTENT carries the exact covariate line format v1.2 contract (all three shapes)', () => {
3050
+ // The full shapes INCLUDING the appended field: a pin on the v1.1 prefix
3051
+ // alone would still pass if the field were dropped from a shape.
3052
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('local-lane: <verdictHash8> round=<n> settled=<true|false> lanes=<completed>/<attempted> leg: <sha8> blocking=<n> material=<n> folded=<n>');
3053
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('local-lane: not-applicable (<reason>) recorded=<recordHash8> at=<createdAt> leg: <sha8> blocking=<n> material=<n> folded=<n>');
3054
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('local-lane: none leg: <sha8> blocking=<n> material=<n> folded=<n>');
3055
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('covariate line format v1.2 — do not alter without a spec amendment');
3056
+ // The absent-deposit spelling is contract too (the pilot ledger greps it).
3057
+ // The pin follows the sentence CodeRabbit narrowed on PR
3058
+ // mmnto-ai/totem#2745: `leg: none` is a FIRST-TWO-SHAPES statement, and the
3059
+ // deposit-only head is named in the same breath.
3060
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('`leg: none` replaces the field on the FIRST TWO shapes');
3061
+ expect(REVIEW_LOOP_SKILL_CONTENT).toContain('The third shape is the DEPOSIT-ONLY head');
3049
3062
  });
3050
3063
  // The crown-gate + S0 fold (strategy#488 R-table, operator-ruled 2026-08-13/14)
3051
3064
  // is load-bearing distributed procedure — pin its tokens + ordering the same